Skip to content

foodinsect/Mechatronics

Repository files navigation

⚙ Mechatronics

This repository contains the coursework and projects completed for the Mechatronics class. The projects focus on the control and operation of various types of motors and the control of an inverted pendulum. The following components are included:

Overview

1. DC Motor Control

  • Description: Implementation of control algorithms to operate a DC motor.
  • Key Concepts: PWM control, PID control, speed and position regulation.
  • Files: 01_MeTR_PWM/
  • Files: 02_MeTR_Encoder/
  • Files: 03_MeTR_Timer/
  • Files: 04_MeTR_Trapezodial_Trajectory_Tracking/

2. Stepper Motor Control

  • Description: Programming and controlling a stepper motor for precise movement.
  • Key Concepts: Stepper motor driver, stepper motor indexing.
  • Files: 05_MeTR_Stepper/

3. BLDC Motor Control

  • Description: Controlling a Brushless DC (BLDC) motor using sensor feedback.
  • Key Concepts: Commutation, Hall effect sensors, sensorless control, FOC (Field-Oriented Control).
  • Files: 06_MeTR_BLDC/

4. Inverted Pendulum Control

  • Description: Design and implementation of a control system for an inverted pendulum.
  • Key Concepts: PID Balancing control and Swing Up.
  • Files: 07_MeTR_Inverted_Pendulum/
  • Swing Up by Bang-Bang Control and PID Balancing control
  • Energy Based Swing Up and PID Balancing control
  • PID Balancing control