Questions tagged [simulink]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
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 ...
2
votes
0answers
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 ...
-2
votes
1answer
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 ...
0
votes
0answers
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 ...
5
votes
1answer
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 (...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
1
vote
1answer
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 ...
0
votes
3answers
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 ...
0
votes
1answer
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$ (...
1
vote
0answers
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 ...
0
votes
1answer
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.
0
votes
1answer
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 ...
2
votes
1answer
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?
4
votes
1answer
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? ...
2
votes
1answer
191 views

Problem with process controls/simulink?

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 ...
3
votes
0answers
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 ...
3
votes
1answer
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 ...
2
votes
0answers
449 views

Export simulink sdi dataset from MATLAB 2015b

I have used the Simulation Data Inspector in Simulink to log a dataset of two time varying signals. The only option I see concerning exporting is to .mat or to workspace, which basically produce the ...
7
votes
0answers
487 views

BER peroformance of MPSK and MQAM in Rayleigh fading channel

I have a question regarding bit error rate (BER) performance over the Rayleigh channel. I observed BER performance over the AWGN channel using Simulink in MATLAB. I used to change the "SNR" parameter ...