Simulink Discrete Time Integration vs Delay
18 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentario
Aquatris
el 3 de Dic. de 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.
Respuestas (0)
Ver también
Categorías
Más información sobre Subsystems en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!