4 votes
Accepted

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

Your results are correct. I have solved the differential equations in Octave using the ode solver and I get the same results: ...
  • 1,816
4 votes

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

As you mention, PID control is for Single Input, Single Output (SISO) control. If you want Multi Input, Single Output (MISO) or Multi Input, Multi Output (MIMO) control, you need to look at other ...
  • 3,535
2 votes
Accepted

Problem with process controls/simulink?

Time Constant and systems A second order LTI system in Laplace domain: $\hspace{2.5em}$ $H(s) = \frac{{\omega_{n}}^{2}}{s^{2}+\zeta\omega s+{\omega_{n}}^{2}}$ The solution is: $\hspace{2.5em}$ $h(t) = ...
2 votes

Using a controller for a simple heating system

You shouldn't use a proportional control. The type of controller you describe (switching from 0 to full load and back to 0 almost instantaneously) is called a bang-bang controller. This controller is ...
2 votes

Why we use GPIO for embedded systems?

GPIO stands for General Purpose Input Output. Lets assume you want to generate a pulse at pin 39 as in the below image. So when you wire the pulse to pin 39 the underline software will generate the ...
1 vote

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

This post is a little dated but thought someone might benefit from another angle. @Solar Mike is correct. The reason you overflow frequently is because your exit valve is undersized for in inlet ...
  • 11
1 vote

Implementing a linearized differential equation in a simulink control loop

By including $x_0$ as feedback (making $x_0 = x(t)$) you are not linearizing this system. Instead you've created a Linear Parameter-Varying (LPV) system (more specifically a quasi-LPV system since ...
1 vote

Reject Negative Input Simulink

You can use the saturation block. Set the upper limit to "Inf" (thanks @Petrus1904) and the lower limit to 0. The output of the saturation block should accordingly be only the positive ...
1 vote

Modeling Vehicle Acceleration - Simulink

I solved the issue with a switch function block, it not the best solution but it works for my basic simulation. Thanks again
  • 43
1 vote
Accepted

Modeling Vehicle Acceleration - Simulink

If this is the case, the equation either needs a domain readjustment(so, valid from t∈[0.7,∞]) or an equation redefinition. Using a piecewise function would look like: $$ M \frac{dv}{dt} = F_t -(\...
  • 136
1 vote

How to input amplitude on a second order transfer function?

It sounds like you have some experimental data, and from that you would like to be able to estimate the transfer function of your system so that you could use it for control system design purposes. ...
  • 1,816
1 vote

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

ode solvers are all different. I've recently compared several fixed-time-step and variable-time-step ode solvers, with the same initial conditions, with the same model. Summary: They all give ...

Only top scored, non community-wiki answers of a minimum length are eligible