Skip to content

PID regulation using STM32 controller with first order inertial thermal object (ceramic resistor)

Notifications You must be signed in to change notification settings

xalpol12/pid-controller-with-resistor-heating

Repository files navigation

Pid controller with resistor heating using STM32 microcontroller

End of semester project for Microprocessor Systems

Measurement and regulation of the temperature of the 39 ohm ceramic resistor using BMP280 sensor

Completed project assumptions:

  • error < 1%
  • setting the desired temperature using serial port
  • displaying current temperature using serial port
  • dedicated script for logging error, desired and measured signal
  • visualization in Python

General Information

The main goal of this project is to identify the object in open loop, create a theoretical model, simulate a circuit in Simulink, create a two-position controller and implement it using physical object. Then create a theoretical PID simulation in Simulink with specific kp, ki, kd gains and implement the same circuit using physical object.

Technologies Used

  • STM32 F7 series Microcontroller
  • C language for hardware-side implementation
  • Python for connecting via serial port with microcontroller, logging and displaying measurements
  • Matlab with Simulink for plotting, creating theoretical model, selecting optimal PID parameters

Video

Working example

Screenshots

image pid_real_object real_scheme

Project Status

Project is: complete

Room for Improvement

Room for improvement:

  • Fine-tune PID parameters for optimal control

About

PID regulation using STM32 controller with first order inertial thermal object (ceramic resistor)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages