Simulink Discrete Time Integration vs Delay
17 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
The discrete time integrator block can perform forward Euler Integration. Is there a reason why the diagram below does not produce the same output?
1 commentaire
Aquatris
le 3 Déc 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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Subsystems dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!