introduction A key technology of the household electric hot water circulation heating bath introduced in this article is the nano material far infrared thin film electric heating tube. More than 20 materials such as tin chloride, silver carbonate, ferric chloride, aluminum oxide, zinc oxide, titanium oxide, silicon dioxide, citric acid, ethanol, polyethylene glycol, xylene, ammonia, ultrafine pure silicon powder, tin powder, etc. are used to chemically configure nano gel with tin dioxide as the main content. High-strength quartz glass tube is selected as the backing, and high-temperature spraying and pulling drying are carried out at high temperature. A film layer with a thickness of about 6μm is instantly formed on the outer wall of the tube to make a nano tin dioxide electric excitation far infrared thin film liquid heating tube. The tube has a diameter of 20mm, a length of 15cm, and a wall thickness of 2mm. It can withstand high temperatures of 860℃, withstand a water pressure of 0.5MPa, a far infrared wavelength of 150-250μm, and a power of 800W (220V); multiple heating tubes are connected in parallel and in series to form a heating body with a total power of 0.8kW to 12kW. Under the excitation of electricity, the electrons inside the atoms of nanomaterials produce violent oscillations, and the energy of the oscillations is radiated in the form of far-infrared rays. Water is a good absorber of far-infrared rays. Under the action of far-infrared rays, the free charges of water molecules and atoms move violently and irregularly. Due to friction, heat is generated, causing the temperature of the water to rise rapidly. Compared with the use of air conditioners and electric heaters for heating, the electric hot water circulation heating bather has small heating temperature fluctuations, small one-time investment, large heating area, and electricity saving; compared with the use of oil burners and gas burners, it is safe, convenient, labor-saving, clean, pollution-free, and does not consume oxygen; compared with collective heating, it has the characteristics of low cost, flexibility and convenience. At the same time, the system has the function of bathing with water supplied by a separate pipeline, without the traditional large-capacity water tank, and it heats quickly. After 3-10 seconds, hot water can be used for washing or showering. One machine can be used for multiple purposes to avoid repeated investment. 2 Composition of water circulation system of heating bath The water circulation system of a household electric hot water circulation heating bath is shown in Figure 1. The tap water is controlled within an appropriate range through a pressure reducing valve and enters the heating and bathing systems through independent pipes. In order to make the water circulation system work well, a small water distribution tank, a water collection tank, and an expansion tank are added. The power of the heating body needs to be calculated according to the total area of the heating room, and different types of heating bodies are selected. 3. Composition of heating bath control system The composition of the heating bath control system is shown in Figure 2. The entire system is based on the AT89C51 single-chip microcomputer, which performs intelligent detection of parameters such as water temperature, water level, and room temperature. After calculation and comparison, it controls the corresponding actuators to turn on and off the power, perform over-temperature, water shortage, leakage and other protections, and issue corresponding sound alarms to ensure the reliability of the system.
Figure 1 Block diagram of the water circulation system of a heating bath
|
3.1 Data Collection
The DS18B20 chip is used to detect room temperature, heating water temperature, and bathing water temperature signals. DS18B20 is a one-line digital temperature sensor produced by DALLAS, with a 3-pin TO-92 small package; the temperature measurement range is -55℃~+125℃, and it can be programmed to 9-12 bit A/D conversion accuracy, and the temperature measurement resolution can reach 0.0625℃; multiple DS18B20 can be connected in parallel to 3 or 2 lines, and the CPU only needs one port line to communicate with many DS18B20, occupying fewer ports of the microprocessor, which can save a lot of leads and logic circuits, and is more suitable for the system to measure temperature.
The detection of water level uses three probe points in the expansion tank: high, middle and low. The lowest probe point is connected to the working power supply, the middle is the low water level probe point, and the top is the high water level probe point. In order to prevent the probe points from forming scale due to the ionization adsorption of water, in addition to the selection of special materials, the working power supply is powered by AC signals. The detection of the heating and bathing water pressure switch signal uses a switch sensor. When there is no water flowing through the water pressure switch, a high level signal is output; when there is water flowing through the water pressure switch, a low level signal is output.
3.2 Executive Agency
The actuators are all controlled by relays. The execution signals sent by the single-chip microcomputer are amplified by photoelectric isolation and transistor drive to control the current of the relay coil, so that the relay contacts can be actuated to connect or disconnect the power supply of the circulation pump, solenoid valve and each heating body. The sound alarm circuit is composed of a transistor amplifier and a buzzer, and is controlled by the P1 port of the single-chip microcomputer. In order to protect the single-chip microcomputer system and reduce external signal interference, photoelectric couplers are used for signal isolation between each switch sensor, actuator and single-chip microcomputer.
3.3 Keyboard and display circuit
The keyboard circuit has two functions, one is to set the heating system, and the other is to select the bathing water temperature. The setting of the heating system includes setting the system time, working mode, and customizing the heating temperature value of each time period. Setting the system time mainly calls the initialization program of DS12887 again to make the system time consistent with the current calendar. The heating system has five working modes: continuous operation at a constant temperature all day, operation at a user-defined temperature for each time period, operation at the system default temperature for each time period, anti-freeze operation when on a business trip, and heating function stop. The choice of bathing water temperature mainly uses the keyboard to set the power of the bathing heating body to participate in heating to control the outlet water temperature. When taking a shower, you can choose different shower water temperatures according to your personal feeling. The display circuit uses TN-LCD pen segment liquid crystal, and the display screen is pre-customized. The LCD display can display calendar information, temperature information, working mode information, over-temperature, water shortage, leakage and other fault information. The display module integrates the driver, display RAM, oscillator, etc., and uses the serial port for data communication, which is easy to interface with the single-chip computer.
3.4 Other circuits
The time calendar chip uses DS12887/DS12C887 produced by DALLAS, which has complete clock, alarm and calendar functions until 2100, and has 114 bytes of low-power RAM for power-off protection. The chip encapsulates the crystal oscillator, oscillation circuit, charging circuit and rechargeable lithium battery on the top of the chip to form a thickened integrated circuit module.
DS12887/DS12C887 has a dedicated interface circuit inside, which makes the timing requirements of the external circuit very simple. No peripheral circuit components are required when using it, and the interface with the microcontroller is greatly simplified. In the heating and bathing control system, in addition to providing calendar information and second interrupt signals, the RAM and lithium battery of DS12887/DS12C887 can well protect the user's customized settings.
4 System control software design
The main software design flow charts of the system are shown in Figures 3 and 4.
The second interrupt of DS12887 is connected to the external interrupt 0 of the microcontroller, and the main control function of the system is completed in the interrupt service program of INT0. In order to ensure that the user's power load is not too large, the heating and bathing functions are controlled by interlocking, and bathing is given priority. When the system detects that the bathing water pressure switch is turned on, the heating body is turned off, and only the original working state of the circulation pump is retained; the water outlet temperature is selected by the panel keyboard, and the maximum water temperature is controlled at 65℃ in the bathing function. Only when the bathing water pressure switch is turned off, the bathing heating body is powered off, and the heating body can be powered on. When the heating function is working, the water level is first detected. When the water level is too low, the solenoid valve is opened to supply water; after reaching the high water level, the solenoid valve is closed and the circulation pump is turned on. If it is found that the heating water pressure switch is not turned on, it means that the water circulation system is faulty. After the water level and water circulation are normal, the water temperature and room temperature are detected. According to the working mode setting and the current clock, the saved heating temperature setting value is read, compared with the measured room temperature value, and the corresponding control signal is given; when the room temperature is 2°C lower than the set temperature, the three groups of heating bodies are heated at the same time, until the room temperature is 2°C higher than the set temperature, only one group of heating bodies is left for insulation heating; the three groups of heating bodies are rotated as insulation heating bodies to extend the service life of the heating bodies. In the heating function, the maximum heating water temperature is controlled at 85°C, and heating is stopped and an alarm is issued when the temperature exceeds the set temperature.
The author's innovation points:
The nanometer material far infrared thin film electric heating tube is used, which is small in size and high in thermal efficiency. The single chip microcomputer is used to detect parameters such as water temperature, water level, and room temperature, and it has protections such as over-temperature, water shortage, and leakage, which improves the reliability and practicality of the system. After debugging and inspection, the whole system has the characteristics of low investment, strong functions, and high efficiency, and has broad application prospects.
Previous article:Design of on-site power-free electronic password lock based on single chip microcomputer
Next article:Design of Computer Monitor Based on EM78P468 Single Chip Microcomputer
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
- MSP430 library hardware multiplier usage
- Questions about SYS/BIOS projects created in CCS
- Are there any hardware development videos worth recommending? Please help recommend them. Thank you everyone
- 【BG22-EK4108A Bluetooth Development Kit】 1. Environment Construction + Lighting
- How to efficiently decode and play audio files in embedded systems
- Code compression technologies for several mainstream embedded architectures
- 7.4V battery boost charging chip?
- How FRAM and LED lighting can illuminate stadiums
- EEWORLD University Hall ---- Comments on the 2020 EDA Elite Competition New Thinking Competition Questions
- Complete hardware design process