1. Structure of environmental laboratory temperature and humidity monitoring system
The temperature and humidity monitoring and control mechanism of the environmental laboratory is shown in Figure 1. The signals measured by the temperature and humidity sensors are conditioned and input into the fuzzy control algorithm module to generate decision signals to control the drive components (heater, refrigerator, humidifier, dehumidifier) to keep the temperature and humidity of the environmental laboratory constant at the set value.
2 Fuzzy control mechanism of control system
Typical fuzzy logic control consists of three parts: fuzzification, fuzzy reasoning and clarification. The following is a specific explanation using temperature control as an example. Based on the traditional fuzzy control model, the principle of the temperature fuzzy control system in this design is shown in Figure 2.
The fuzzy controller uses a dual-input single-output control method, with temperature error e and error change rate ec as input variables and u as output variable. The fuzzy subset is E=EC=U={NB, NM, NS, ZE, PS, PM, PB}={negative large, negative medium, negative small, zero, positive small, positive medium, positive large), and its domain is: e=ec=u=[-3, 3]={-3, -2, -1, 0, 1, 2, 3}. The membership function uses a triangular distribution function, as shown in Figure 3.
According to the input/output characteristics of the control system, the control rules are formulated with the elimination of temperature deviation as the control target as shown in Table 1.
Reasoning from fuzzy rules can derive the input-output relationship of the fuzzy controller language rules, and the relationship is a nonlinear relationship surface. When the deviation is large, the change of the control quantity should try to reduce the deviation quickly; when the deviation is small, in addition to eliminating the deviation, the stability of the system should also be considered to prevent the system from overshooting and even causing system oscillation. The control query table can be obtained by using the Mamdani reasoning method and the area centroid method to clarify the membership function and the rule table.
The actual meaning of the corresponding output quantity U is shown in Table 3.
Note: √ means start; × means not start
Working mechanism: According to the two-dimensional constant array established by the fuzzy control query table, the input deviation E and the deviation change rate EC are quantified to its basic variable domain, and the query table is retrieved in real time as the rows and columns of the array to obtain the real-time output U. According to the actual meaning of the output U, the heater or refrigerator is controlled, thereby driving the temperature to stabilize at the set value.
3 Control system programming
The program is designed in ST language, including the main program, fuzzy control algorithm, interrupt service program, operation command and alarm program. The flow chart of the fuzzy control algorithm program is shown in Figure 4.
4 Application Effect
The external environment temperature dropped from 16℃ to -20℃. The application effect is shown in Figure 5. It took 510 s from the beginning to the basic stability (±1℃ difference from the set value). After the system stabilized, the fluctuation range was within ±0.8℃. The convergence speed and system stability are related to the quantization factor and the proportional factor. The quantization factor and the proportional factor are reasonably selected to achieve a balance between the convergence speed and stability.
5 Conclusion
This design adopts a control strategy based on fuzzy control theory to achieve reliable measurement and control of temperature and humidity in the environmental laboratory. It has the advantages of high precision, good stability, and fast convergence speed. Compared with the traditional switch control system, it has the advantages of precision, speed, and stability; compared with the prediction-based fuzzy control method, double fuzzy control strategy, and parameter self-learning fuzzy control strategy, it reduces the computational complexity. For environments with obvious coupling effects between temperature and humidity, the temperature and humidity can be decoupled and then controlled separately.
Previous article:Design and implementation of data acquisition and remote monitoring in NetX system-on-chip
Next article:Design of grain depot temperature sensor network based on CC2430 and DS18B20
- Molex leverages SAP solutions to drive smart supply chain collaboration
- Pickering Launches New Future-Proof PXIe Single-Slot Controller for High-Performance Test and Measurement Applications
- CGD and Qorvo to jointly revolutionize motor control solutions
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Nidec Intelligent Motion is the first to launch an electric clutch ECU for two-wheeled vehicles
- Bosch and Tsinghua University renew cooperation agreement on artificial intelligence research to jointly promote the development of artificial intelligence in the industrial field
- GigaDevice unveils new MCU products, deeply unlocking industrial application scenarios with diversified products and solutions
- Advantech: Investing in Edge AI Innovation to Drive an Intelligent Future
- CGD and QORVO will revolutionize motor control solutions
- 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
- Share DSP281x read and write EEPROM 24C02 routines
- TouchGFX Design + Make a Rubik's Cube (5)
- [Summary] Let's get our hands dirty and do a "labor" transformation of old things
- [GD32L233C-START Review] 9. IAP program upgrade - based on YMODEM protocol
- What is it like to ask programmers to write code by hand with pen and paper after a power outage?
- [Sipeed LicheeRV 86 Panel Review] III. Building a cross-compilation environment: success and failure
- I need help from a master, diesel engine electronic throttle pedal signal synchronization failure
- In three minutes, let me show you what load is.
- Data Structures in Embedded System Software Design (Full Version)
- When BLE meets MEMS——Introduction to HID Report Descriptor