Respondida
solution of coupled differential equation
Hi @asim asrar The second-order coupled system looks like a boundary value problem, where you need to find the initial values o...

casi 4 años hace | 1

Respondida
Construct reference model for adaptive controller.
Hi @Nour Akmal Perhaps you can describe how the system state should behave according to the desired reference in your mind. Yo...

casi 4 años hace | 2

| aceptada

Respondida
I want to draw this step function by script code.
Hi @Sol Elec, I'll show you the basic concept of how to construct this 5-sec delayed square wave. t = linspace(0, 6, 601); ...

casi 4 años hace | 0

Respondida
I dont understand the error
Hi @shir hartman Edit: After understanding what you really want in your latest clarification. There is a simpler and intuitive ...

casi 4 años hace | 1

| aceptada

Respondida
second order to first order
Hi @Cesar Cardenas I suspect that your 2nd-order ODE was incorrectly written. Please check. If it is a linear damped spring sys...

casi 4 años hace | 1

| aceptada

Respondida
How to create a state space equation from three differential equations where input(u) is multiplied by state (x1)?
Hi @Gaston Gabriël This is a nonlinear system, which cannot be expressed in the standard linear state-space model unless...

casi 4 años hace | 0

Respondida
Replace linear predictive drivers with PID controllers
Hi @Waseem Shatto I guess you can select the "Driver-input-to-the-vehicle" Block, by moving your mouse cursor over the block an...

casi 4 años hace | 0

Respondida
Second order diffrential equation solve using ode 45
Hi @Abhik Saha The code is fixed below. This is a 2nd-order system, and so there are two state variables and two initial values...

casi 4 años hace | 1

| aceptada

Respondida
How to find the integer values of the following system of equations
Hi @Wallace Positive integer solutions for Equations 1, 2, 3 are given below. You can populate them to include the negative int...

casi 4 años hace | 1

Respondida
Finding the H infinity norm of a system
Hi @Kashish Pilyal Perhaps try using hinfnorm() to compute the H∞ norm of a dynamic system. Edit 1: Looking at your code, it s...

casi 4 años hace | 0

Respondida
in this I apply a loop so that I will have different value of Y(:,11) for the different value of initial condition for Y(:,11), what is correct algorithm for this??
Hi @SAHIL SAHOO Your k vector is assigned incorrectly. Try if this code works for you. ti = 0; tf = 1E-3; tspan = [ti ...

casi 4 años hace | 1

| aceptada

Respondida
First order PID controller
Hi @John Rogers Just some additional info. The plant is a 1st-order Type-0 system. num = [85]; den = [42 1]; Gp = minreal(t...

casi 4 años hace | 0

Respondida
pid for dynamic malaria
Hi @af af Not sure what are PID controllers for the Malaria dynamics. However, by the mathematical manipulation, you can probab...

casi 4 años hace | 0

Respondida
How to implement PID anti-windup in my m-file (i.e., without using Simulink)
Hi @Ali Not sure if you are still interested. If the output of is within the range of the actuator, then the anti-windup is pr...

casi 4 años hace | 0

Respondida
How to; For loop of angle in projectile motion
Hi @Aston g = 9.82; % gravity v0 = 100; % inital velocity theta0 = pi/6; ...

casi 4 años hace | 0

Respondida
How to find the value of PID using ziggler 2 method
Hi @Raka Adhwa Unsure if you are still interested in the problem. But if the model is available, then the analysis can be perfo...

casi 4 años hace | 0

Respondida
Density Control in Tank (TL) - Simscape
Hi @Keshav Arora, thanks for the density equation. I'm don't know how density works in the Simscape watertank. However, you ca...

alrededor de 4 años hace | 0

Respondida
Design PI regulator with constrictions
Hi @Alejandro Fernández Proposal #1: Linear compesator If the restriction on the output of the compensator can be relaxed a l...

alrededor de 4 años hace | 0

Respondida
PID controller optimization in simulink using parallel simulations in objective function
Hi @Irfan Khan I'm unfamiliar with the Simulink approach, but in MATLAB, the script to find the PID gains subject to ITAE crite...

alrededor de 4 años hace | 0

Respondida
System Modelling of mechanical diesel propulsion vessel
Hi @Sharul Baggio Taking this introductory tutorial on Simulink Onramp should be helpful to get things started. https://www.ma...

alrededor de 4 años hace | 1

Respondida
Implement PID in ode45 code
Hi @Kashish Pilyal If the error is defined as then P part is I part is D part is and you can arrange then in the stat...

alrededor de 4 años hace | 1

| aceptada

Respondida
state estimation error observer design
If the error dynamics is described by a linear model Esys, then n2 = norm(Esys, 2) computes the root-mean-squares of the impul...

alrededor de 4 años hace | 0

Respondida
how can add PI to ode45?
Hi @karim_karimo Here are the mathematical preliminaries for constructing the PI in ODE form. [t, x] = ode45(@system, [0...

alrededor de 4 años hace | 1

| aceptada

Respondida
How to solve 3 non-linear equations with 3 unknowns?
Hi @Stefan Krieg, You can use vpasolve(). q = 1.60218e-19; %electron discharge V_oc = 4*44.8; %Open c...

alrededor de 4 años hace | 0

Respondida
how to DESIGN ADAPTIVE NEURO-FUZZY INFERENCE SYSTEM (ANFIS)
Hi @welesh beyene Have already recommended you to use ode45() function. Links and Examples were given previously. https://www....

alrededor de 4 años hace | 1

Respondida
how to extract data from sys=ss(A,B,C,D) that is , inputs and outputs
Hi @welesh beyene, Let's try this simple state-space model and generate the data using ode45() function (click on the link): ...

alrededor de 4 años hace | 1

Respondida
Obtain transfer function from (noisy) measurement data and use this transfer function for control in simulink
Hi @tiessen Do you want to estimate the frequency response the Transfer Function or a real mathematical function-type of the Tr...

alrededor de 4 años hace | 0

Respondida
how to extract data from sys=ss(A,B,C,D) that is , inputs and outputs
Hi @welesh beyene A = [-300 0 0 0 0 0; 0 -300 0 0 0 0; 0 0 0 0 1 0; 0 0 0 0 0 1; 10.7206 -9.5648 10.7206 -9.5648 0 0; -9.5648 1...

alrededor de 4 años hace | 1

| aceptada

Respondida
Division by zero error and Singularity error in my simulink model
Hi @BISMARK Can you insert a picture of the Block Diagram under the Mechanical model mask? If Simulink throws this kind of 'is...

alrededor de 4 años hace | 0

Respondida
Is it possible to switch between multiple adaptive MPC controller?
Hi @Artem Wendler I'm not sure how complicated is your problem. If the ON/OFF switching is triggered by a simple event that dep...

alrededor de 4 años hace | 0

Cargar más