TSC-LAB

Citation Author(s):
Víctor
Asanza
Escuela Superior Politécnica del Litoral, ESPOL
Kevin
Chica-Orellana
Escuela Superior Politécnica del Litoral, ESPOL
Jonathan
Cagua
Escuela Superior Politécnica del Litoral, ESPOL
Diego Hernan
Peluffo-Ordóñez
Université Mohammed VI Polytechnique
Submitted by:
Victor Asanza
Last updated:
Thu, 07/15/2021 - 22:35
DOI:
10.21227/pxtr-0a07
Data Format:
Links:
License:
0
0 ratings - Please login to submit your rating.

Abstract 

The Temperature and Speed Control Lab (TSC-Lab) is an application of feedback control with an ESP32, an LED, two heaters, two temperature sensors, one direct current motor and an optical encoder as a revolution per minute (rpm) meter. The heater power output is adjusted to maintain the desired temperature setpoint. Thermal energy from the heater is transferred by conduction, convection, and radiation to the temperature sensor. Heat is also transferred away from the device to the surroundings. On the other hand, the motor speed is adjusted using a motor driver and with PWM signals, allowing the reference speed to be reached using the rpm meter.

The practice guides that were used in the data acquisition process are detailed in the following blog:

The codes used are in the following repository:

Open Hardware Certification:

References:

 

Instructions: 

The files must be downloaded and placed in the same folder so that they can be compiled in MATLAB, remember that these data were obtained in open loop for their respective identification of this system.

Temperature plant data:

  • In any data "dato.csv" the first column represents the temperature acquired by sensor 1, the second column the temperature acquired by sensor 2, third and fourth column represent the state of activation (1) or deactivation (0) of transistor 1 and 2, respectively.

DC motor speed plant data:

  • The motor speed control plant allows the engine RPM to be measured with the help of an optical echoder. The speed and direction of the motor is controlled through a motodriver.