Why there is a sudden jump from 0 to 2pi and from 2pi to 0 in position of DC motor in my Design in simulink? And why are the continuous simulations occurring in my design

4 visualizaciones (últimos 30 días)
Here is a sudden jump from 0 to 2pi and from 2pi to 0 in position of DC motor in my Design in simulink. I want to know why this is happening.
And also the oscillations are also continuous, so how can we remove the continuously occuring oscillations.
PFA for the Reference design.

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 28 de Mzo. de 2020
Editada: Ameer Hamza el 28 de Mzo. de 2020
The quadrature shaft decoder outputs the current angle of motor's shaft, which can only vary between [0, 2*pi]. To convert it into a continuous signal, attach the unwarp block: https://www.mathworks.com/help/dsp/ref/unwrap.html after the position output of the decoder.
  5 comentarios
Ameer Hamza
Ameer Hamza el 29 de Mzo. de 2020
It can surely be possible to tune the controller parameters to remove the oscillations, but which parameter to tune will require the background knowledge about the problem. I am not sure whether merely increasing the P or D can remove the oscillations.

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by