Real time motor control using Simscape and Arduino

10 visualizaciones (últimos 30 días)
Darry Taylor
Darry Taylor el 27 de Mzo. de 2023
Comentada: Ashutosh el 21 de Jun. de 2024
Hi,
I have a DC motor using an L298N motor controller and an Arduino Uno. I am trying to make the motor run a standard duty cycle (WLTP)
This has specific speeds at specific times. Is there anything special I need to do to make sure that the Simscape contro
system is executing in real time, not a simulation time?
  1 comentario
Ashutosh
Ashutosh el 21 de Jun. de 2024
Can I make Arduino circuit diagram using MATLAB Simulink and Simscape ? and can i also control it using sensors? please reply.

Iniciar sesión para comentar.

Respuestas (1)

Adit Kirtani
Adit Kirtani el 21 de Abr. de 2023
Hi Darry,
Here are a few handy links for preparing your model for real-time simulation:
Both include steps on how to prepare your model for real-time simulation.
I hope this helps,
Adit Kirtani.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by