How can I control the direction of the servo motor in simulink?

2 visualizaciones (últimos 30 días)
Jackie Cobb
Jackie Cobb el 18 de Sept. de 2013
Respondida: Bhuvnesh Rathor el 17 de Ag. de 2020
To help understand my question, my assignment is to create a car that goes around cones. In sumulink, I'm creating my simulation with three proximity sensors that are connected to my Matlab function. My matlab function is connected to a DC motor and a servo motor.
I know that when using a servo, you can turn so many degrees in one direction and then turn so many degrees in the opposite direction. How can I simulate this. Right now, I'm connecting my function to the Tr terminal on my servo motor. I'm sending values of 90/-90 degrees. However, this is not working.

Respuestas (2)

John Petersen
John Petersen el 18 de Sept. de 2013
Make a model of the car, motor, servo, sensors, whatever. First try running open loop -- without any feedback. Once that is working, provide feedback with the proper gains from the sensors. Then you can add in a control law to make it stable.

Bhuvnesh Rathor
Bhuvnesh Rathor el 17 de Ag. de 2020
Servo Motor are likewise called Control motors and utilized in feedback control systems as yield actuators. Its newer use for continuous energy transmission or conversion. The standard of the Servo motor is like that of the other electromagnetic motor, yet the development and the activity are extraordinary.

Comunidades de usuarios

Más respuestas en  Power Electronics Control

Categorías

Más información sobre Arduino Hardware en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by