Simulink Discrete Time Integration vs Delay
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
The discrete time integrator block can perform forward Euler Integration. Is there a reason why the diagram below does not produce the same output?
![temp.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/252026/temp.png)
1 Kommentar
Aquatris
am 3 Dez. 2019
The answer is written on the blocks. The forward euler integral transfer function is Ts/(z-1). So if you want to create your own integrator, you should have the same transfer function.
The lower part in your picture has the transfer function (neglecting saturation);
-0.12*K*Ts/(z-1)
The upper part in the picture has the transfer function (neglecting saturation);
-0.12*z/(z+0.12)
First you are forgetting about the time step, Ts. Second what does 0.12 do inside the loop in the upper part? Second, you might be thinking of backward euler integration since you have the delay in the feedback not feedforward part.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Subsystems finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!