Central air conditioning energy efficiency management system based on single chip microcomputer

Publisher:平稳心绪Latest update time:2011-12-17 Keywords:P87LPC764 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

l Introduction
The central air conditioning system is mainly composed of a refrigerator, a cooling water circulation system, a chilled water circulation system, a fan coil system and a cooling water tower. The refrigerator compresses the refrigerant into a liquid through a compressor and then sends it to the evaporator for heat exchange with the chilled water to cool the chilled water. The chilled water pump sends the chilled water to the cooling coils of each fan outlet, and the fan blows cold air to achieve the purpose of cooling. In the system, the cold pump, cooling pump, and water tower fan inverter adopt open-loop control, which is adjusted by maintenance personnel according to different seasons and load changes. Heat exchangers and circulating fans are installed in each room. The size of the heat exchange amount is changed by controlling the speed of the fan to achieve the purpose of adjusting the room temperature.
The common control method is to control according to the "high, medium, low, and off" grade mode. The disadvantage is that the room temperature needs to be adjusted manually, and changes in various environmental factors often make people feel uncomfortable. The fan speed control scheme uses inverter speed control to effectively solve the above problems, achieve the purpose of automatic indoor temperature adjustment, and greatly save energy.


2 Principle of overall control parameters of central air conditioning energy efficiency management system The
indoor temperature required to be controlled is set to Tsv, the air box outlet temperature is Tw, the current indoor ambient temperature measurement value is Tpv, the outdoor temperature is T0, the indoor heat dissipation (absorption) coefficient is Kv, the specific heat capacity is C, the air flow rate generated by the fan rotation is q, its specific heat capacity is Cp, the flow rate q is proportional to the fan speed n, and its proportional coefficient is Kc. According to the principle of dynamic energy balance, it can be obtained:

From formula (1), we can see that the main factors affecting the indoor temperature are the wind box outlet temperature Tw, the indoor ambient temperature Tpv, the indoor heat dissipation (absorption) coefficient Kv, and the speed of the circulating fan n. Kv is determined by the indoor ambient temperature, the outdoor temperature and the sealing and insulation conditions of the room. Therefore, choosing the speed of the circulating fan as the control parameter is the best parameter to adjust the room temperature and achieve energy saving.


3 Performance characteristics of central air conditioning energy efficiency management system
The central air conditioning energy efficiency management system has the following main characteristics:
(1) The power supply is 220 VAC, and the power consumption is less than 5 W;
(2) Indoor temperature LCD display, temperature range -5 ~ 30 ℃; accuracy ± 1 ℃, LCD 8-10 digits display real-time temperature value;
(3) Control voltage output function, voltage output resolution is 10 bits, output voltage range is 0 ~ 5 V, PID control cycle is 5 min;
(4) Running time accumulation function, LCD 1-4 digits display hours, 5, 6 digits display minutes, automatic storage once per hour, each stop time is automatically stored in E2PROM, each start automatically reads the last stored time value from E2PROM and sends it to LCD display;
(5) On-site programming function, on-site random setting of indoor target temperature, control cycle and adjustment range;
(6) Human-machine interface function, 10-digit LCD digital display, 5 operation keys are MOD, UP, DOWN, ENTER, SLT/END. Sound reminder function: the buzzer will sound once when the key is valid, twice when the input setting data is valid, three times when the input setting data is wrong, and five times when the equipment fault alarm is sounded.


4 System hardware principle and design
The hardware structure of the central air conditioning energy efficiency management system is shown in Figure 1. The temperature sensor with linear voltage output of TCl047A is selected, and its output signal (temperature measurement signal) is sent to the analog/digital converter TLC0834 for A/D sampling through the integrated operational amplifier LM358. The digital signal after the analog signal is changed by A/D is sent to the single-chip microcomputer through the bus for processing. After processing, the output control signal is sent to the digital/analog converter TLC5615 to realize the control of the inverter power, which greatly saves energy. The display data is sent to LCD621 through the bus, the keyboard uses the keyboard interrupt method for interrupt processing, the relay controls the start and stop of the fan by pulling in and out, and the E2PROM 24C02 is used to store the temperature setting value and PID parameters. It can be seen that compared with similar products, the hardware of this product is simple, realizes human-machine exchange, requires fewer devices, and can be realized at a very low cost.

4.1 Temperature detection link
4.1.1 Overview of TCl047A
TCl047A is a temperature sensor with linear voltage output, and its output voltage is proportional to the measured temperature. It can accurately measure the temperature in the range of -40 to +125°C. At the same time, the operating voltage range of TCl047A is 2.5 to 5.5 V. The typical output voltage values ​​of this type of temperature sensor are: 100 mV at -40°C, 500 mV at 0°C, 750 mV at +25°C and 1.75 V at +125°C. The output voltage slope of 10 mV/°C can accurately measure the temperature in a wide temperature range. TCl047A provides a 3-pin SOT-23B package, which is suitable for temperature measurement applications with strict space requirements.
4.1.2 Overview of TLC0834 [page]

TLC0834 is an 8-bit successive approximation analog/digital converter produced by TI. It has a multi-channel multiplexer with configurable input and a serial input/output mode. Its multiplexer can be configured by software as single-ended or differential input, or as pseudo-differential input. In addition, its input reference voltage can be adjusted. At full 8-bit resolution, it allows arbitrarily small analog voltage encoding intervals. Since TLC0834 uses a serial input structure, its package size is small, which can save 51 series microcontroller I/O resources and is relatively affordable. Its main features are as follows: 8-bit resolution; easy to interface with a microprocessor or use independently; can work at full scale; can use address logic multiplexer to select 4 input channels; single 5 V power supply, input range is 0~5 V; when the input and output are compatible with TTL, CMOS levels, the clock frequency is 250 kHz, its conversion time is 32μs; it can be replaced with ADC0834 and ADC0838 of National Semiconductor, but it does not have a Zener regulator network inside; the total adjustment error is ±1 LSB.
4.2 Signal Processing Unit P87LPC764 8-bit 0TP MCU
P87LPC764 series MCU is a chip developed by Philips to meet low-cost and high-integration occasions. The chip adopts accelerated 51 core. At the same clock frequency, its speed is twice that of standard 51. It contains A/D, UART serial port, built-in oscillator, I2C bus interface, etc., which can meet many performance requirements.
P87LPC764 includes central processing unit, 128 B internal data memory RAM, 4 kB OTP program memory, 15 I/O ports and 1 input port, 2 16-bit independent timer/counters with overflow trigger function, 8 keyboard interrupt inputs and two external interrupt inputs. In addition, P87LPC764 also has power-on reset, idle power-down mode, and low-level interrupt wake-up functions. In power-down mode, the current is only 1μA. If the on-chip oscillator is selected, no external components are required, just connect the positive power supply and ground wire. Independent watchdog oscillator circuit, so it can detect the working status of the clock source. 32 B user code area can be used to store sequence code and set parameters, 4 interrupt priority levels.


5 System software design
The main program flow chart is shown in Figure 2. It adopts a humanized design, and the user does not need to do any operation, and it runs intelligently. After powering on, the system enters the initialization program and initializes the microcontroller P87LPC764, LCD, and E2PROM respectively. The indoor temperature is collected and displayed in real time, and then the microcontroller enters the sleep state, waiting for the external interrupt generated by the square wave generator or the occurrence of the keyboard interrupt.

When the square wave generator generates an interrupt to wake up the microcontroller every 0.5 s, the main program calls the cumulative time processing subroutine to accumulate the system running time and automatically store the time data in the E2PROM once every hour.
After the keyboard interrupt, the program enters the key interrupt service program, executes the key operation function, and completes the setting of the working mode, control cycle and adjustment amplitude. After the interrupt program is executed, the system measures the real-time temperature and displays the temperature. The system has a total of 5 temperature control states. After the square wave generator generates an external interrupt every 0.5 s, the system queries the system temperature control state once and makes corresponding adjustments according to the corresponding state.
State 0 is the unstarted state, indicating that the host has just started running, and the indoor temperature may be quite different from the target temperature. At this time, the system runs at full power for 5 minutes to make the indoor temperature reach the target temperature in the shortest time. State
1 is the start state. At this time, it is necessary to judge the relationship between the sampled indoor temperature and the user-set temperature value. When the indoor sampled temperature is greater than the user-set temperature, the system enters the state 2 speed-up state to increase the output voltage of the digital/analog converter, thereby increasing the motor power and accelerating the cooling. When the indoor sample temperature is lower than the user-set temperature, the system enters state 3, the deceleration state, and reduces the output voltage of the digital/analog converter, thereby achieving the purpose of reducing the motor power. When the indoor sample temperature is equal to the user's setting, the system enters the equilibrium state and keeps the motor power unchanged. Thus, the room temperature is maintained at the constant temperature expected by the user, making people feel comfortable and satisfied. More importantly, its energy saving effect is as high as more than 30%.


6 Conclusion
After debugging, the program has a good effect in actual application. In the actual test, there are two points worth noting:
(1) Industrial acquisition requires sensitivity on the basis of accuracy, but these two points are sometimes conflicting. In actual applications, generally 64 acquisitions can fully guarantee accuracy and sensitivity.
(2) Since the compared parameters can be stored through E2PROM, as long as the circuit is slightly modified, it can be applied to other occasions and industrial and mining requirements. Therefore, this low-cost, high-precision temperature control and energy-saving device has stronger competitiveness and is beneficial to both buyers and sellers.
This system is controlled by P87LPC764 single-chip microcomputer, with fewer peripheral circuits, stable system, strong functions, convenient operation, low cost, and worth promoting.

Keywords:P87LPC764 Reference address:Central air conditioning energy efficiency management system based on single chip microcomputer

Previous article:Development of a medical sterilizer control system based on single chip microcomputer
Next article:Application of Serial Interface Keyboard Controller in Single Chip Microcomputer System

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号