Skip to content

Control de sistema ball and beam mediante simulink-arduino

Notifications You must be signed in to change notification settings

HenarB/controldedistanciapelota

Repository files navigation

##-- Ball & Beam control using Simulink-Arduino --##

This files are intended to be used for educational purpuse.

  • Arduino code for the IR distance sensor
  • Simulink blocks for modeling:
    • S-function model
    • Predefined blocks model
  • 3D STL files
  • Drawings

The goal of this project is to stabilize a ball on a beam at the desired distance by implementing a discrete PID controller to the system. This will be tested with two models:

  • Model with a custom S-function builder block
  • Model with predefined blocks

Arduino code is implemented in a Simulink model by using a custom s-function builder block.

    ##-- Requirements --##

To run this model, you'll need:

  • Arduino, v. 1.8.5 or higher

  • MATLAB v. 2018a or higher, the Arduino toolbox add-on needs to be installed

  • 3D printer

      ##-- Credits --##
    
  • Project author: Henar Brenlla

  • EIB (UPV/EHU)

      ##-- Renders --##
    

KS®4852419561 15

KS®4852419561 17

KS®4852419561 16

    ##-- Operational diagram of the system --##

diagrama_completo

    ##-- How does the system run in Arduino-Simulink? --##

modo de trabajo (4)