已回答
Control System Tuner always selects maximum value
Hi @Cedric The algorithm in Control System Tuner will find the best combination of PI gains that produces the smallest steady-s...

3 months 前 | 0

已回答
How I Design Adaptive Cascade Sliding mode Observer for Wind Turbine ?
Hi @ahmad nouri I can understand the frustration that can come with manually designing an observer, as it often requires comple...

3 months 前 | 0

已回答
how to solve coding issue
Hi @Radwan, It's good to hear that you're making progress. If you encounter any issues with plotting other types of charts, fe...

3 months 前 | 0

已回答
Fit Multiple gaussian curve on data with flat tops
Hi @AMIT For a double-hump data with plateaux, you can try fitting it using two Exponential Power distribution functions. Let's...

3 months 前 | 0

已回答
Discret time LQR R matrix must be symmetric positive definite with as many columns as B error
Hi @Andrei Rotaru Fixing the code as shown will eliminate the error message. R = eye(size(B, 2)); K_d = dlqr(Ad, Bd, Q, R, ...

3 months 前 | 0

| 已接受

已回答
PID model for MIMO system
Hi @Andrei Rotaru Since the Cubli system is underactuated and you seek to use only a PID Controller, you must select which outp...

3 months 前 | 0

| 已接受

已回答
Can we change the Constraints in MPC ?
Hi @Kripanshu If you wish to define the bounds on the manipulated variable, , such that , can you accept the following workarou...

3 months 前 | 0

已回答
PID controller, difference when graphing step function with PID control block in matlab and simulink
Hi @hoang Both responses look similar if you implement them correctly as shown. s = tf('s'); Gp = 1.883e5/(s^2 + 4466*s + ...

3 months 前 | 1

| 已接受

已回答
Why step respose don't work for first input of a MIMO? And how to use correctly feedback function for pole placement?
Hi @Andrei Rotaru You defined the system with 3 outputs; thus you need to feedback 3 outputs as well, not 1 output. %% Model p...

3 months 前 | 0

| 已接受

已回答
Can't stabilize system with PID
Hi @Andrei Rotaru Here is the alternative control solution for finding the gains using LQR approach. %% Parameters l = 0.08...

3 months 前 | 0

已回答
Facing problem in printing real pole of transfer function of a system(Control System)
Hi @Arya The following is what you wish to "print" out in the title in Integer format. However, please note that the title it...

3 months 前 | 0

已回答
150Hz Sine wave in MATLAB simulink
Hi @Manuprabha Ravikumar In short, your sinusoidal signal is undersampled. There are only 5 samples in one cycle. ts = 1/600 ...

3 months 前 | 1

| 已接受

已回答
Integrator does not accept input
Hi @Andrei Rotaru The error is caused the mismatched matrix dimension. Do the following as shown in the graphics below should f...

3 months 前 | 0

| 已接受

已回答
Not Enough Input Arguments
Hi @Sue Xin, There is no error in my simulation below: [V, F] = ode45(@etOH_prod, [0 10], ones(4, 1)); plot(V, F), grid on, ...

3 months 前 | 0

已回答
Simulink - How to create a conditional "if" block
Hi @Ahmad Al-Issa Firstly, could you determine the rate of change of speed (referred to as "acceleration" in physics)? This inf...

3 months 前 | 0

已回答
Design service for LQR controller for unknown system based on available Multiple Inputs and Multiple Output data
Hi @Hao Do you have some free time to spare for some Prerequisite Courses so that you are ready to advance to the next level of...

3 months 前 | 0

已回答
Solving a system of ODEs whose coefficients are piecewise functions
Hi @Dehua Kang The red curve in your image is and the green curve is . Below is another demo, with the data from the piecewise...

3 months 前 | 0

已回答
Multiple PID tuning in order to control all four states in the inverted pendulum model
Hi @Claudio Muzi Your new question in this comment is related to optimal control. I'm not sure if this topic is covered in your...

4 months 前 | 0

已回答
Multiple PID tuning in order to control all four states in the inverted pendulum model
Hi @Claudio Muzi Given that the initial angle is less than from the equilibrium inverted position, the sine of the angle () ca...

4 months 前 | 0

已回答
Find Transfer Function from Laplace transformation
The differential equation has a dependent variable with nonlinearity u(t)³. Since nonlinear systems cannot be analyzed by Laplac...

4 months 前 | 1

已回答
Cannot solve algebraic loop involving 'Mo_phong_xe/Equation1_ddgama1/MATLAB Function5' because it consists of blocks that cannot be assigned algebraic variables, such as block
Hi @Viet Dung It looks like the root cause of the issue have been identified. Let me walk through the details: The second-orde...

4 months 前 | 0

已回答
If & elseif to determine temperature essentially
Hi @Zachary The following code allows you to extract both the numeric value and the character representation of the temperature...

4 months 前 | 0

已回答
Ode45 Quarter car model spring variation
Hi @Federico Fortini It seems like you're looking to plot the acceleration of the first spring-mass system. If that's the case,...

4 months 前 | 0

已回答
How to Solve nonlinear equations in simulink
Code for the MATLAB Function block: function dx = fcn(x) ks = 29114; kt = 233350; cs = 925.8; mw = 56.9...

4 months 前 | 1

| 已接受

已回答
Inverse model for feedforward control
Hi @Martin In my previous Answer, I used to Transfer Function (frequency version) to describe the process plant. I have revisit...

4 months 前 | 0

| 已接受

已回答
Inverse model for feedforward control
Hi @Martin Thanks for your feedback in the comment. The provided first-order ODE: , suggests that the "pure" feedforward cont...

4 months 前 | 0

已回答
how can I get the transfer function of this equation using Matlab: dy/dx + K*sqrt(y)-C =0
Hi @Reuel The square root is a nonlinear term in the system, making the Coupled Tank System nonlinear. Consequently, the transf...

4 months 前 | 0

| 已接受

已回答
Inverse model for feedforward control
Hi @Martin As the target trajectory contains frequency components, a factor of 600, rather than 6, must be employed in this sec...

4 months 前 | 0

已回答
Simulink model doesn't oscillate
Hi @Andrei Rotaru According to the principle of Occam's Razor, the most likely explanation for the lack of oscillation in the a...

4 months 前 | 1

| 已接受

已回答
Cannot solve algebraic loop involving
% Derivative of state '1' in block 'NAM_Mo_phong_xe/Equation1_ddgama1/Integrator' at time % 0.0030900000000000003 is not finit...

4 months 前 | 0

加载更多