Answered
How Approximate Model FOPDT
Hi @LORIS IACOBAN Considering that the open-loop model lacks the characteristic S-shaped process reaction curve and exhibits os...

1 month ago | 0

Answered
I need help finding PM and GM for this system.
Hi @marko rois If you know the dynamic system 'sys', which is commonly described using modeling commands like as tf(), zpk(), a...

1 month ago | 0

| accepted

Answered
Why do I Receive this error: Error using odearguments ODES_LIN must return a column vector.
Hi @Maureen It seems that you intend to generate the exogenous disturbance and noise signals as the sum of sine waves. Specific...

1 month ago | 0

Answered
a nonlinear system and its control input in simulink
Hi @controlEE While I cannot evaluate the MATLAB code from the image, it seems that in Equation (6) represents a definite inte...

1 month ago | 1

| accepted

Answered
How do I sort the issue of infinite derivative of a state in a PI controller?
Hi @K. Amrit When solving differential equations in Simulink, it's important to prevent the state from going haywire. Consider ...

1 month ago | 0

Answered
İ wrote a code but idk if its correct can u check it
Hi @Bünyamin Bora The formulas are generally correct. However, there is a technical issue worth considering. Have you ever wond...

1 month ago | 0

Answered
Optimisation PID Using Sliding mode script
Hi @Tarek Are you still working on this? I revisited this control problem and discovered that a PID controller can be tuned to ...

1 month ago | 0

Answered
Fuzzy Logic controller as a switch
Hi @Maria Theresa Typically, generating discrete '1' / '0' values using a Mamdani FIS can be challenging due to the intricate d...

1 month ago | 1

| accepted

Answered
Trying to adjust weighting on PART of a sigmoid fit
Hi @ROBERTA The data points do not exhibit a symmetrical sigmoidal trend, suggesting that the commonly used logistic function m...

1 month ago | 0

Answered
Unable to tune a pitch-damper autopilot gains with looptune
Hi @Leonardo Molino, Ogata's formula for the design of the Prefilter is effective, but it only applies when the Compensator i...

1 month ago | 1

| accepted

Answered
Unable to tune a pitch-damper autopilot gains with looptune
Hi @Leonardo Molino If you can tolerate a slightly slower response, the unconventional PID controller can still achieve a relat...

1 month ago | 1

Answered
Evaluate Settling Time,Constant Time of my System
Hi @Gianluca Di pietro To observe the state responses, you can manually adjust the design values for the state and input-weight...

1 month ago | 1

| accepted

Answered
How to simulate a non linear system
Hi @Gianluca Di pietro, You have the option to explore and experiment with it on your own. In this case, I used a straightforw...

1 month ago | 0

Answered
Unable to tune a pitch-damper autopilot gains with looptune
Hi @Leonardo Molino The transfer function of your aircraft appears to be a 5th-order system. Given its complexity, it's not sur...

1 month ago | 1

Answered
Simulation of control system with only matlab script withou simulink
Hi @Kamal Below, you will notice a slight perceptible difference in the results between the Ideal PID controller and the PID Co...

1 month ago | 0

Answered
ANFIS Model, tips about improving performance.
Hi @Jocelyn Matus Ancavil ANFIS typically performs optimally with continuous datasets. However, your dataset seems to consist o...

1 month ago | 1

| accepted

Answered
Simulation of control system with only matlab script withou simulink
Hi @Kamal I've developed a custom function called 'pidController()' to mimic the PID controller based on the control equation p...

1 month ago | 0

Answered
one of the terms "Rho_net" on the RHS of an set is varying with time over the tspan. How do I implement the set of the ODEs such that the term updates at every time step?
Hi @Daniel The majority of your code remains unchanged. I simply relocated your ODEs into a function named 'dYdt' and incorpora...

1 month ago | 0

Answered
Newton Raphson gives answers divided by 0
Hi @Jean-Paul During the computation of M, certain elements involve divisions by . In the line 'dx = subs(M, xV, x)', an attemp...

1 month ago | 0

| accepted

Answered
Can I use one fuzzy's output to be one of the input of second fuzzy system?
Hi @Ko Ko It is indeed possible to connect the output of fis1 to the first input of fis2, as demonstrated in this example. This...

1 month ago | 0

Answered
How to simulate a non linear system
Hi @Gianluca Di pietro You should be able to compare the linear and nonlinear systems in the code provided by @Walter Roberson ...

1 month ago | 0

| accepted

Answered
designing a PID for a rotating shaft
Hi @Samuel Adshead Based on your non-specific descriptions or the control problem above, you generally need to get from here ...

1 month ago | 0

Answered
Why am I receiving an error for "odeToVectorField" when I am trying to convert second order differential equations to 1st order differential equations?
Hi @Akekaphop Kesavadhana Previously, theta1 and theta2 were created as scalar variables when they should be functions of time....

1 month ago | 0

| accepted

Answered
Find a controller for a feedback-loop
Hi @Davide Sometimes, it can be time-consuming to find a suitable controller that stabilizes unstable non-minimum phase systems...

1 month ago | 1

| accepted

Answered
Circular shifting or rotating structure of array elements
Hi @NALLARASU KRISH Me, first time using circshift(). So, I'm not entirely sure about your intention. Are you suggesting to swa...

2 months ago | 1

Answered
Simulation of control system with only matlab script withou simulink
Hi @Kamal, The Reactor system seems to exhibit stability even without any control inputs (u1 = u4 = 0). I'm curious about what ...

2 months ago | 0

| accepted

Answered
How to solve a system of ODEs using ode23s with multiple inputs.
Hi @Ron_S I simply wanted to ensure that the code was functioning correctly with the given external inputs. Therefore, I didn't...

2 months ago | 1

Answered
plotting a simple constant
Hi @Robert Before I discovered other special non-math functions like ones() and yline(), I used to rely on certain math tricks,...

2 months ago | 0

Answered
How to find transfer function to a second order ODE having a constant term?
Hi @PONNADA This type of differential equation is commonly encountered in examples involving an ideal undamped mass-spring syst...

2 months ago | 0

| accepted

Load more