With the popularity of household refrigerators, people have higher and higher requirements on the control functions of refrigerators, which puts forward
1 Working principle and control requirements of refrigerators
The control principle of refrigerators is to control the start and stop of the refrigeration compressor according to the temperature of the evaporator, so that the temperature inside the refrigerator is maintained at the set temperature.
The main functions and requirements of a refrigerator controlled by a single-chip microcomputer:
(1) Set 3 temperature measurement points, with a measurement range of -26 to +26 °C and an accuracy of ±0.5 °C.
(2) Use function keys to control temperature settings, quick freezing settings, and refrigerator and freezer temperature settings.
(3) Use digital tubes to display the freezer and refrigerator temperatures, compressor start/stop, quick freezing, and alarm status.
(4) The refrigeration compressor will automatically delay for 3 minutes after stopping before it can be restarted.
(5) The refrigerator has an automatic defrosting function, and it will automatically defrost when the frost thickness reaches 3 mm.
(6) If the door opening delay exceeds 2 minutes, an audible alarm will sound.
(7) The continuous quick freezing time setting range is 1 to 8 hours.
(8) The working voltage is 180 to 240 V. When undervoltage or overvoltage occurs, the compressor is prohibited from starting and the indicator light will be used to indicate it.
2 Hardware circuit design of refrigerator control system
2.1 Host circuit
The host circuit uses
AT89C51 single-chip microcomputer and an A/D conversion chip ADC0809 to form the basic system. In addition, function keys and LE
2.2 A/D conversion circuit and function
The A/D conversion circuit uses the successive approximation 8-bit ADC0809 chip. 0809 has 8 analog input channels. This system only uses
2.3 Function keys and display circuit
The function keys and
LED display circuit use 6 function keys to control the freezer, refrigerator and quick freezing temperature settings, and 4-digit LED digital tube negative
2.4 Defrost circuit
Rt
temperature sensor, choose MF531 thermistor, which has negative temperature coefficient and high sensitivity.
2.5 Refrigeration compressor and defrosting heating wire start and stop control circuit
Working principle:
The control signal of the AT89C51 single-chip microcomputer is output through the P1.3 and P1.4 ports, and is locked in 7 under the control of P1.7
3 Refrigerator odor elimination circuit
The refrigerator odor eliminator circuit using TWH9221 is shown in Figure 2. A2 is a solid-state integrated circuit TWH9221 dedicated to the ozone
generator
Normally, the refrigerator door is closed, light cannot shine
on the photosensitive tube BG, A2 does not work, and there is no pulse output at pins 5 and 6. Open the refrigerator door
4 Refrigerator control system software design
The refrigerator control program mainly consists of
three parts: main program, timer T0 interrupt service program and timer T1 interrupt service program
(1) Main program
The main program is the overall control program of the entire refrigerator, such as controlling the initialization of each unit, controlling interrupts, timing, display, keyboard programming,
etc.
(2) T0 interrupt service program
The T0 interrupt service program mainly completes power undervoltage, overvoltage processing, door opening status inspection and processing, etc. Its block diagram is shown in Figure 4
T1 interrupt service program
T1 works in counting mode and achieves the purpose of 3 minutes delay by counting. T1 interrupt service program mainly completes the 3 minutes timing
Its block diagram
is shown in Figure 5.
References
[
1] Shu Huailin. Principles of Single Chip Microcomputer and Interface Technology[M]. Wuhan: Huazhong University of Science and Technology Press, 2001
[
2] Fang Xiaocui. Single-chip microcomputer practical system design technology [M]. Beijing: National Defense Industry Press, 1999.
Previous article:Parallel expansion of I2C interface of 8051 microcontroller
Next article:Various methods of accurate timing programming of single chip microcomputer timing interrupt
Recommended ReadingLatest update time:2024-11-16 16:31
- Popular Resources
- Popular amplifiers
- 西门子S7-12001500 PLC SCL语言编程从入门到精通 (北岛李工)
- Siemens Motion Control Technology and Engineering Applications (Tongxue, edited by Wu Xiaojun)
- MCU C language programming and Proteus simulation technology (Xu Aijun)
- 100 Examples of Microcontroller C Language Applications (with CD-ROM, 3rd Edition) (Wang Huiliang, Wang Dongfeng, Dong Guanqiang)
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
- Classic: MSP430 microcontroller enters low power mode program code
- X-NUCLEO-IKS01A3 sensor test based on STM32F401RE development board 3D acceleration LIS2DW12 sensor test...
- ARM Embedded Learning Resource Sharing——"ARM Embedded Architecture and Interface Technology".pdf
- I would like to ask if the 8255A chip can only select one port at a time. After defining the address for the port, such as Q8255A XBYTE...
- Power supplies with digital control
- Please advise, brothers.
- One year's work equals three years' work? TSMC engineer shows off 2.5 million yuan bonus
- Evaluation summary: Mil based on NXP's first NPU kit MYC-JX8MPQ
- How to choose a suitable water level sensor?
- Can someone help me think of a microcontroller project?