Temperature control system circuit design based on ATmega16L microcontroller

Publisher:雅致人生Latest update time:2020-03-05 Source: eefocusKeywords:ATmega16L Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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.

Keywords:ATmega16L Reference address:Temperature control system circuit design based on ATmega16L microcontroller

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

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

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号