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

Publisher:Xiaoxue666Latest update time:2011-10-26 Keywords:P87LPC764 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

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

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 liquid through the compressor and 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 cooling 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 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 the room temperature in "high, medium, low, off" 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 solution 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 wind box outlet temperature is Tw, the current indoor ambient temperature is measured to be 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:

formula

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 features:

(1) The power supply is 220 VAC and the power consumption is less than 5 W;

(2) Indoor temperature LCD display, temperature measurement 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, automatically store once every hour, each time the running time is automatically stored in E2PROM, each time the running time is automatically read from E2PROM, and sent to LCD display;

(5) On-site programming function, which can randomly set the indoor target temperature, control cycle and adjustment range on-site;

(6) Human-machine interface function, 10-digit LCD digital display, 5 operation keys are MOD, UP, DOWN, ENTER, SLT/END. Sound prompt function, the buzzer sounds once when the key is valid, the buzzer sounds twice when the input setting data is valid, the buzzer sounds three times when the input setting data is wrong, and the equipment failure alarm buzzer sounds five times.

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 closing and disconnecting, 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.

Hardware structure of central air conditioning energy efficiency management system

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 is available in a 3-pin SOT-23B package, suitable for temperature measurement applications with strict space requirements.

4.1.2 TLC0834 Overview

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 a single-ended or differential input, or as a 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, the package size is small, which can save 51 series microcontroller I/O resources and the price is also moderate. Its main features are as follows: 8-bit resolution; easy to interface with a microprocessor or use independently; can operate at full scale; 4 input channels can be selected using an address logic multiplexer; single 5 V power supply, input range is 0~5 V; when the input and output are compatible with TTL, CMOS levels and the clock frequency is 250 kHz, its conversion time is 32μs; can be replaced with National Semiconductor's ADC0834 and ADC0838, but it does not have an internal Zener regulator network; the total adjustment error is ±1 LSB.

4.2 Signal Processing Unit P87LPC764 8-bit 0TP MCU

The P87LPC764 series of microcontrollers are chips developed by Philips to meet low-cost, high-integration applications. The chip uses an accelerated 51 core. At the same clock frequency, its speed is twice that of the standard 51. It contains A/D, UART serial port, built-in oscillator, I2C bus interface, etc., which can meet many performance requirements.

P87LPC764 includes a 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. The 32 B user code area can be used to store sequence codes and set parameters, 4 interrupt priorities.

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 single-chip microcomputer P87LPC764, LCD, and E2PROM respectively. The indoor temperature is collected and displayed in real time, and then the single-chip microcomputer enters the sleep state, waiting for the external interrupt generated by the square wave generator or the occurrence of the keyboard interrupt.

Main program flow chart

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 into the E2PROM once an 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 range. 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, which means that the host has just started running, and the difference between the indoor temperature and the target temperature may be large. 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 startup state. At this time, the relationship between the sampled indoor temperature and the user-set temperature value must be determined. When the indoor sampled temperature is greater than the user-set temperature, the system enters state 2, the acceleration state, to increase the output voltage of the digital/analog converter, thereby increasing the motor power and accelerating the refrigeration. When the indoor sampled temperature is less than the user-set temperature, the system enters state 3, the deceleration state, to reduce the output voltage of the digital/analog converter, thereby achieving the purpose of reducing the motor power. When the indoor sampled temperature is equal to the user 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 good results in actual application. In the actual test, there are two points worth noting:

(1) Industrial data collection requires both accuracy and sensitivity, but these two points are sometimes in conflict with each other. In practical applications, 64 acquisitions are generally sufficient to ensure accuracy and sensitivity.

(2) Since the compared parameters can be stored in E2PROM, it can be applied to other occasions and industrial and mining requirements with only a slight modification of the circuit. 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 few peripheral circuits, stable system, powerful functions, convenient operation, low cost, and worthy of promotion.

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

Previous article:Application of Single Chip Microcomputer in Frequency Conversion Speed ​​Regulation System
Next article:Central air conditioning intelligent management system using P87LPC764 single chip microcomputer

Recommended ReadingLatest update time:2024-11-16 16:46

Expanding LCD Display in P87LPC764 MCU I2C Bus System
1 Introduction The I2C bus is an inter-chip serial transmission bus introduced by Philips. It uses only two lines, the serial data line (SDA) and the serial clock line (SCL), to achieve perfect full-duplex synchronous data transmission, and can easily form a multi-machine system and peripheral device expansion s
[Industrial Control]
Expanding LCD Display in P87LPC764 MCU I2C Bus 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号