Ingeniería eléctrica
Utilice System Modeler para construir y estudiar circuitos eléctricos, electrónica de potencia y maquinaria eléctrica. Combine componentes eléctricos y mecánicos para crear modelos de sistemas completos. Realice tareas de análisis y mida el rendimiento.
Ball and Beam: Deploy Controller to Hardware
Para ejecutar este ejemplo necesitará
Las versiones más recientes de System Modeler y Mathematica.
Por favor haga una selección:
Obtener unaprueba gratuita Continuar
con la descarga
The Model
The ball and beam arrangement is modeled in SystemModeler to get a linearized state-space representation of the relationship between the position of the ball and the beam angle. This relationship is then used to auto-tune the parameters of the PID controller in the Wolfram Language.
Model the system in SystemModeler
Model the ball and beam arrangement.

Calibrate Components
The various hardware components are calibrated, and their transfer function is obtained. Subsequently, these transfer functions are connected, and a feedback model with the PID controller is designed.
Calibrate your components
Use the ModelPlug library to calibrate the servo, IR sensor and potentiometers.

Deploy to Hardware
Define your machine-specific settings to communicate with the Arduino UNO board and set up the servo library and connections to pins on the Arduino. Finally, define a sampling period and deploy the controller into the Arduino UNO board.
Deploy controller to hardware in the Wolfram Language
Use the Microcontroller Kit to deploy the controller to hardware.
Wolfram System Modeler
Probar
Comprar
System Modeler está disponible en inglés
y japonés
para Windows, macOS y Linux »
¿Preguntas? ¿Comentarios? Contacte a un experto de Wolfram »