Azzera filtri
Azzera filtri

Simulink Discrete Time Integration vs Delay

17 visualizzazioni (ultimi 30 giorni)
Meena Farag
Meena Farag il 2 Dic 2019
Commentato: Aquatris il 3 Dic 2019
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
  1 Commento
Aquatris
Aquatris il 3 Dic 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Subsystems in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by