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.
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
- Popular Resources
- Popular amplifiers
- DC microgrid technology: system architecture, AC grid interface, grounding scheme, power quality, communication network, application and standardization aspects
- P87LPC764 MCU I2C bus display circuit.doc
- MK_P87LPC764 MCU I2C bus display circuit.pdf
- Selection of Microcontroller Application Technology 10
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
- Learning is polite, sharing is polite! Follow Xiaomei and learn about Intel SoC FPGA!
- Effects of Differential Input Clamping on Operational Amplifiers
- High-speed and high-precision motion controller using DSP+FPGADSP+FPGA
- About Passive Filtering
- [Perf-V Review] Flowing Light & Verilog Basic Syntax
- Using half-bridge resonance as wireless charging transmitter topology
- How much do you know about TCP/UDP data transmission protocols?
- Double 12 Download Center Data Promotion! 4G data can be downloaded in one click, valid for three days!
- Sugar gliders, first experience with RSL10-SENSE-GEVK, brightness sensor error, help
- I would like to ask, how is the power accuracy of BQ4050 as a high current protection board (40A-80A)? Is there any power jump?