张三叔

Signal acquisition and control

 
Overview
  1. Project description: The working power supply of this project is 24V, four temperature signal acquisition interfaces (three K-type thermocouple interfaces, one PT100 interface), K-type sampling resolution is 0.25 degrees Celsius, and PT100 sampling resolution is 0.1 degrees. Three 24V output controllable interfaces, capable of driving a load of 1A. Two solid-state relay control interfaces, isolated from IO optocoupler.
  2. Interface description: SPI2 (shared bus between max31855 and max31865), USART1 (serial screen, UI), TIM3 (CH1, CH3, CH3 frequency 100Hz), TIM5 (CH1 frequency 1KHz), general IO
  3. Function description: Mainly solves the problem of precise temperature control, control algorithm incremental PID. ΔU=Kp*(E k -E k-1 )+Ki*E k+ Kd*(E k *E k-1 +E k- 2 ) Kp proportional coefficient, Ki integral coefficient, Kp differential coefficient, E k current error, E k-1 last error, E k-2 last error.
  4. Interface debugging: Ensure that the voltage output of each section is normal DC-DC (24vto12v, 24to5v), LDO (5Vto3.3v), test the general IO output is normal, the SPI2 test clock pin waveform is output, the USART debugging assistant prints, TIM3 and TIM5 are normal Output PWM waveform.
  5. Functional debugging: Obtain the temperature data of each temperature sensor, serial port screen communication and real-time display of data. PWM controls the power load. Adjust Kp, Ki, Kd, ​​and sampling period parameters to debug the control accuracy to meet system design requirements.
  6. Project Summary: Mainly learning the PID control algorithm and gaining an in-depth understanding of the tuning skills of each parameter of the PID algorithm.
  7. Physical picture and PWM waveform diagram

  8. Debugging UI interface
  9. Debug video connection https://www.bilibili.com/video/BV1yz4y127um/
  10. Application UI

 

          

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-07-01 05:13:37

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号