Introduction: Design a temperature control system based on ATmega16L microcontroller, and explain the hardware design of the system. Adopt modular design method and use incremental PID algorithm to make the temperature value of the controlled object tend to the given value.
main controller
The main controller of the system adopts ATmega16L, which is a high-performance, low-power 8-bit AVR microprocessor with advanced RISC structure, large-capacity ROM, RAM, Flash and EEPROM, integrated 4-channel PWM, SPI serial peripheral interface, and 8-way 10-bit A/D converter. For the data acquisition system, no separate A/D converter is required, which can save costs. In addition, the microcontroller provides a JTAG debugging interface, and a self-made simple JTAG emulator can be used for program debugging.
Temperature acquisition circuit
The figure shows the temperature acquisition circuit. The circuit is mainly composed of the temperature sensor AD590 and the differential operational amplifier AD524. The temperature sensor AD590 is a new type of two-terminal constant current device. The excitation voltage range is 4 to 30 V, and the temperature measurement range is -55 to +150°C. When the current of AD590 flows through a 5 kΩ resistor, the temperature rises by 1 K, and the voltage on the resistor increases by 5 mV, which is converted to 5 mV/K. Therefore, when the temperature changes between 0 and 100°C, the resistor voltage changes between 1.365 and 1.865 V. The operational amplifier AD524 is used to convert absolute temperature into Celsius temperature.
Temperature control circuit
The circuit is mainly composed of a photocoupler and a thyristor, as shown in the figure. The control signal (PWM) sent by the microcontroller controls the working state of the photocoupler after passing through the driver. When the photocoupler works, the trigger pole of the bidirectional thyristor is at a high level, and the thyristor is in the on state, thereby controlling the operation of the heating rod.
Previous article:Design of intelligent socket based on power line carrier
Next article:Design scheme of protection circuit based on lithium battery pack of electric vehicle
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- Qorvo is such a strong company, it’s more than just RF!
- [GD32L233C-START Review] Getting to know the development board
- Packaging form and packaging process of RFID electronic tags
- Robot? Toy? Toy robot?
- MAX40026 280ps High-Speed Comparator
- A novice asks for advice on the MSP430 interrupt flag PxIFG
- ST MEMS sensor official Chinese technical documentation summary (continuously updated)
- What is 5G Super Uplink?
- Outsourcing of small brushless sensor driver
- Single-ended forward converter