The tag has no usage guidance.

20 questions
Filter by
Sorted by
Tagged with
16 views

### Regressor-passivity robot control. Help with simulation (Simulink/Matlab)

I'm trying to simulate a 2DOF planar pendulum with a regresor-passivity control, the thing is I've been having some issues with my simulation, I'm using Simulink, but in theory I know my control law ...
22 views

### How to measure / calculate Tait-Bryan angles of a moving platform in SimMechanics

I exported a model of the mechanism created in SolidWorks to SimMechanics in order to explore the possibilities of control. To solve the problem, i need to know the angular position of the mobile ...
43 views

### Limiting PID controller's output making the plant unstable and untunable

I am using the PID block in Simulink and limiting the output to (+/-)5. The plant becomes unstable and untunable after putting these limits. The plant is stable and tuneable otherwise if no limits are ...
26 views

### Tool to simulate sensor data

Say I have a light source at a distance of 1Km from a light detector (photo detector). Right in front of the sensor, I keep a rotating reticle with some sort of pattern. To better appreciate the ...
126 views

### I have a problem with my representation of roll in Simulink

I am currently an engineering student and a member of the aerospace club of my engineering school (ESILV) which is called LéoFly. We’re a team of 12 students and are building a Fusex (...
41 views

### How to input amplitude on a second order transfer function?

Please, I have a question that I believe it's simple to solve. I have some samples of readings from an accelerometer (unit: g) and I did a FFT (on MATLAB) on the vector generated from these samples ...
35 views

### Solving Hertz Impact ODE with Simulink

I have a question about modelling a nonlinear 2nd order ODE for an impact of a sphere on a thin plate in Simulink. Depending on the solver and solver options, my results in Matlab vary a lot. Some are ...
79 views

### Strange simulink error. Professor & TA don't know. Any Ideas?

I am currently working on developing a simulation for a restricted UAV, and I’m having some issues with Simulink while doing this. I have my mathematical equations which have been approved by my ...
108 views

### How to find the balance position of valve downstream a tank?

We have a tank which has a constant inflow of water (Qi). The level (h) of water in tank is controlled by opening/ closing (l) a valve downstream of the tank. Overflow height of the tank is 4 meter. I ...
58 views

### Implementing a linearized differential equation in a simulink control loop

I have the following differential equation. $$\ddot{x} = \frac{q}{m}\cdot I^2 - k_s (x+l)$$ I want to linearize it around an (unknown) point $x_0$. I know I can calculate $I_0$ by inputting $x_0$ (...
34 views

### Simulink analysis of data parallel to generation

I would like to simulate the following scenario with Simulink/Matlab(/Stateflow): A random number generator is running. Every 10 seconds the numbers that were generated during the last 10 seconds are ...
72 views

### dSpace overrun issue

I'd like to ask you if a C mex s-function model in Simulink can get the dSpace execution time lower, rather than having a model with blocks and functions.
54 views

### Using a controller for a simple heating system

I am new to control modeling. Given the following problem: I want to control the heating of a house. Therefore, a top unit should be switched on (nominal load, no ramp up) as soon as the production of ...
264 views

### Why we use GPIO for embedded systems? [closed]

I'm using an F2802x microcontroller and I saw in Embedded Coder in Simulink that I have Digital output block. When I use this block, how does it work?
458 views

### Is it normal to get different solutions with different ODE methods in MATLAB simulink?

I made a block diagram using simulink. When I solve it with ode45 and ode23 it gives me different graphs. Is it normal? Should I use the proper one? ...
191 views

I have an issue with simulink, basically it's to do with a second order system, well two first order systems in series. As I understand it as you increase the damping factor (above 1), the system ...
228 views

### Single-phase fully-controlled thyristor converter simulation using simulink

I am trying to implement a simple single-phase fully-controlled thyristor converter using Simulink. As load I have placed just an inductor, the firing angle is set to a=60 deg., f=50 Hz and the rms ...
1k views

### Speed Control of Quadcopter along with Position Control Using PID with Simulink

Within MATLAB Community, I found an example of a simple quadcopter model control built with Simulik and SimMechanics, The controllers handle position and orientation control. I want to extend this ...