Answered
Non linear plant equation and design the PID controller
Hi @Jay Sutariya The motion dynamics of your Z-axis robot can be expressed through the following equation: Here, the combine...

2 years ago | 0

Answered
Conversion to double from pid2 is not possible-optimization app
Hi @Ihsan Ullah Khalil I ran your code using the ga() tool, and it produced a set of PID gains that enable the controller to tr...

2 years ago | 0

Answered
Second order ordinary differential equation
Hi @Abdul I believe that 'explicit solution not found' is more of a notification than an error message. Upon closer inspection,...

2 years ago | 0

Answered
Error in Error in 'HPW/HPW/VSC1 Control/Current Regulator/Fuzzy Logic Controller with Ruleviewer/Fuzzy Logic Controller': Failed to evaluate mask initialization commands. Ca
Hi @Anirudh Kumar You haven't provided the FIS file for testing. Nonetheless, I generated a dummy FIS file named 'ig.fis' and s...

2 years ago | 0

Answered
How to get the plot from ODE
Hi @Kartik Lanjewar, There are over 50 equations in the PDF, and the ODEs appear in various places. Most forum users don't hav...

2 years ago | 0

| accepted

Answered
Find the solution of the coupled system of equations
Hi @Arad If you set a specific value for the variable d00, the system of 6 nonlinear equations can be solved using the fsolve()...

2 years ago | 0

| accepted

Answered
Tuning a PID controller to desired Overshoot, settling time and rise time
Hi @Muhammad I'm revisiting a control problem we encountered a year ago. Previously, we utilized the systune() method to establ...

2 years ago | 0

| accepted

Answered
Subplot with 2 stacked plots but bottom is split in 3 vertically
@HC98, Do you mean to plot them side-by-side horizontally? clearvars x = -10:0.01:10; y = cos(x); figure(1) subplot(2, 3...

2 years ago | 0

Answered
PID Tuning via Ziegler Nichols Method
Hi @Tom Regarding your original issue, you can improve the display of the waveform from the Simulink Scope by reducing the maxi...

2 years ago | 1

Answered
PID Tuning via Ziegler Nichols Method
Hi @Tom If my recollection serves me right, the Ziegler–Nichols method requires the process plant to be open-loop stable. Howev...

2 years ago | 1

| accepted

Answered
Temperature varying input for outdoor temperature in refrigeration cycle
Yes, technically it can be done using the From Workspace block: This block can read data from the Workspace and into into a S...

2 years ago | 0

Answered
How to illustrate the dynamic system output for a PID controller system?
Hi @Halil Ibrahim It appears that a simple PI controller can regulate the output to the desired reference signal. global cume ...

2 years ago | 0

Answered
how can in make this transfer fnunction block in simulink ?
Hi @sajad Tarverdian If your LPF has a strictly proper transfer function, you can incorporate 's*Cv' into the LPF transfer func...

2 years ago | 1

| accepted

Answered
Getting complex solution with Matlab ode45
Hi @Kaiwei As noted by other users, the complex-valued solution is caused by the square root term 'sqrt(B*y)' when the output y...

2 years ago | 0

Answered
How a varying PI parameter output by Reinforcement Learning Agent help to tune the static PI controller
Hi @轩 I believe it is scientifically logical that, when the difference between the actual level and the reference level (error)...

2 years ago | 0

| accepted

Answered
Matlab script to find the range of a parameter that makes the transfer function asymptotically stable?
Hi @Morgan James Sansonetti With the brute force concept, you can determine if the transfer function is stable using isstable(...

2 years ago | 0

Answered
I wonder how to make the lines thicker in rlocus graph
Hi @jaejin kim You can try this approach to make the lines of your loci thicker. num = [1]; den = [1 4 5 0]; K = 0:0.01:10...

2 years ago | 1

| accepted

Answered
Inconsistencies between using cftool and plot
Oh, I see. The reason for the inconsistency in the plot is due to the fact that the cftool app only displays 5 digits of precisi...

2 years ago | 1

| accepted

Answered
Problem in solving matrix diiferential equation using ode45?
Hi @Mehdi Since you already have the nicely-defined matrices, you might as well put the ODEs in the State-Space model and solve...

2 years ago | 1

| accepted

Answered
How to add add a disturbance term (du) within the architecture section of sisotool
Hi @John Bach I believe you cannot "add" a specific input disturbance (du) into the control system, just like you cannot "add" ...

2 years ago | 0

| accepted

Answered
ode45 error-time-dependent parameter
Hi @Elahe S You may not fully understand some of the MATLAB error messages if you are not a programmer or if you haven't encoun...

2 years ago | 0

| accepted

Answered
How to design MPC with custom estimator and optimizer
Hi @Kamal If you can design a generic state feedback controller for a plant using a custom optimization technique and a custom ...

2 years ago | 0

| accepted

Answered
Matlab script to find the range of a parameter that makes the transfer function asymptotically stable?
Hi @Morgan James Sansonetti Can you please write out the mathematical procedure to determine whether a transfer function is asy...

2 years ago | 0

| accepted

Answered
I have created a code to solve three coupled ODE but unable to plot its nature on the graph as one of the curve is imaginary .
Hi @Yogesh You can plot the real part and the imaginary part separately to verify if this meets your requirements. alpha=3.55*...

2 years ago | 0

| accepted

Answered
Undefined function 'dksyn' for input arguments of type 'ss'. Error in Report8 (line 41) [k, cl, bnd] = dksyn ( G, 1, 1)
Hi @shahin, I'm unfamiliar with the MU controller. Perhaps you are referring to the synthesis technique used to determine the ...

2 years ago | 0

Answered
I am trying to solve this coupled ODE from the past few days using ode45 but there's an error at ode45 function which I am unable to understand .
Hi @Yogesh The first issue is that the free parameter "f" must be defined before its inclusion in the ODEs. All constants and p...

2 years ago | 0

| accepted

Answered
Differential Equation Problem using ODE45
Hi @NURUL AINA SYAHIRAH First things first, check the values computed by the differential equations. All differential states re...

2 years ago | 0

| accepted

Answered
Issues tuning pid using simulink
Hi @Paolo Your question on the control problem went unnoticed for more than 1 month. The plant system has a zero (s = 0.1) in t...

2 years ago | 0

Answered
Rules formation method using fuzzy c means clustering method.
Hi @Mamta Here is an example to demonstrate how to change the names of the membership functions to 'low,' 'med,' and 'high' for...

2 years ago | 1

Answered
I need to find the transfer function of the close loop with the two variables gains using Simulink and math formulation
Hi @ahmad salahat This is not a complete solution but rather guidance to assist in finding the closed-loop transfer function of...

2 years ago | 0

Load more