A humidity detection device and its fault detection method
By designing a humidity detection device containing a microprocessing module and combining a humidity sensor with high-precision resistors and capacitors, both humidity detection and fault detection are achieved, which solves the problem of error-prone humidity detection results in the existing technology and improves detection efficiency. accuracy and efficiency of results.
Patent Information
- Application Number
- CN202010792376.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-09
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-08-09
AI Technical Summary
Existing humidity detection devices cannot take into account both humidity detection and fault detection of the detection structure itself, resulting in error-prone detection results, single function, complex structure or high cost.
A humidity detection device including a humidity display module, a temperature and humidity sensor interface module, a temperature sensor, a humidity sensor and a microprocessor module is designed. The microprocessor reads the sampling signal and compares the data to realize the display and fault of the humidity value. For detection, a light-emitting diode digital tube is used to display humidity information, and high-precision resistors and capacitors are used to form the temperature and humidity sampling voltage divider. The microprocessor is composed of an 8-bit C51 core microcontroller chip, and specific GPIO output levels and electrical signal sampling timing are used. Humidity and fault detection.
It achieves both humidity detection and structural fault detection, improves the accuracy and efficiency of detection results, solves the problem of error-prone detection results in the existing technology, and has the characteristics of both functions and accuracy.
Smart Images

Figure CN111912461B
Abstract
Description
Technical Field
[0001] The present invention discloses a humidity detection device and a fault detection method thereof, which are applicable to household electrical appliances with refrigeration and dehumidification functions such as air conditioners, dehumidifiers and air purifiers using humidity sensors, and belong to the technical field of household electrical appliances. Background Art
[0002] Humidity means the degree of dryness and wetness of the air, and is often expressed by physical quantities such as absolute humidity, relative humidity, comparative humidity, mixing ratio, saturation difference, and dew point. According to the measurement principle, it can be divided into resistive humidity sensors, capacitive humidity sensors, and photoelectric humidity sensors. The resistive humidity sensor is the most traditional, simple to control, low-cost, and most commonly used. The humidity sensor is a device or device that converts humidity into an electrical signal that is easy to measure and process. In household appliances, humidity is often used to detect the humidity of the use environment, so as to achieve a comfortable humidity environment in order to monitor and adjust the ambient humidity.
[0003] In the prior art, conventional humidity detection devices are either complex in structure and high in cost, or have incomplete circuit functions. They have problems such as being unable to take into account both humidity detection and detection of faults in the detection structure itself, having a single function, and being prone to errors in detection results (when the humidity detection structure itself fails, the detection result is wrong or inaccurate). Summary of the invention
[0004] One of the purposes of the present invention is to solve the problems of the humidity detection structure in the prior art, such as the inability to take into account both humidity detection and detection of the detection structure itself, single function, and easy error in detection results, and to provide a humidity detection device. It has outstanding substantial characteristics and significant technical progress, such as being able to take into account both humidity detection and detection of the detection structure itself, having both functions, and accurate detection results.
[0005] The second purpose of the present invention is to provide a fault detection method for a humidity detection device, which has outstanding substantial characteristics and significant technical progress such as convenient detection, high efficiency and high accuracy.
[0006] One of the purposes of the present invention can be achieved by adopting the following technical solution:
[0007] A humidity detection device, the structural features of which are: comprising a humidity display module, a temperature and humidity sensor interface module, a temperature sensor, a humidity sensor and a microprocessor module, wherein the humidity display module is connected to a COM terminal and a SEG terminal of the microprocessor module to display humidity information or humidity fault information; the temperature and humidity sensor interface module has a plurality of I / O ports, wherein the I / O ports are respectively connected to the temperature sensor, the humidity sensor and the microprocessor module to convert the sampling signals input by the temperature sensor and the humidity sensor into electrical signals required by the microprocessor; the microprocessor has a central processing unit, a storage unit and a plurality of I / O ports, wherein the I / O ports are respectively connected to the humidity display module and the temperature and humidity sensor interface module to read the sampling electrical signals of the temperature sensor and the sampling electrical signals of the humidity sensor, and the humidity value is determined by comparing the sampling electrical signals with the data in the microprocessor memory and displayed through the display module, and the humidity sensor fault detection is performed at the same time.
[0008] One of the purposes of the present invention can also be achieved by adopting the following technical solution:
[0009] Furthermore, the humidity display module is composed of a double 8 common cathode digital tube composed of light emitting diodes.
[0010] Furthermore, the temperature and humidity sensor interface module is composed of a resistor-resistor and a four-pin socket, wherein the A end of the resistor is connected to the GPIO (AN_TEMP) of the microcontroller, and the B end of the resistor is connected to the C end of the four-pin socket (1026) to form a current limiting protection GPIO; the A end of the resistor is connected to the GPIO (AN_HUM) of the microcontroller, and the B end of the resistor is respectively connected to the A end of the resistor and the B end of the four-pin socket to form a current limiting protection GPIO; the A end of the resistor is respectively connected to the B end of the resistor and the B end of the four-pin socket; the B end of the resistor is connected to the GPIO (HUM_H_IO) of the microprocessor to form a humidity sampling voltage divider (using a high-precision resistor); the A end of the resistor is connected to the device system ground GND, and the B end of the resistor is respectively connected to The B end of the resistor is connected to the C end of the four-pin socket and the A end of the capacitor to form a temperature sampling voltage divider (using a high-precision resistor); the A end of the capacitor is respectively connected to the B end of the resistor and the B end of the resistor and the C end of the four-pin socket, and the B end of the capacitor is connected to the positive pole of the power supply 5V to form a temperature sampling signal filtering loop to obtain a stable temperature sampling signal; the A end of the four-pin socket is connected to the GPIO (HUM_L_IO) of the microprocessor; the B end of the four-pin socket is respectively connected to the B end of the resistor and the A end of the resistor; the C end of the four-pin socket is respectively connected to the B end of the resistor, the B end of the resistor, and the A end of the capacitor; the D end of the four-pin socket is respectively connected to the positive pole of the power supply at the B end of the capacitor to connect the temperature sensor and the humidity sensor.
[0011] Furthermore, the temperature sensor adopts a thermistor element with negative temperature characteristics and parameters of R25=5.0KΩ±1%, B25 / 50=3470K±1%; the humidity sensor is composed of a humidity sensor of model HIS-06 (HIS-06, Hokuriku, Japan).
[0012] Furthermore, the microprocessor is composed of an 8-bit C51 core single-chip microcomputer chip, which reads the electrical signals sampled by the temperature sensor and the humidity sensor from the I / O port. The GPIO (HUM_IO_L) output level and the GPIO (HUM_IO_H) output level of the microprocessor are complementary high and low levels with a period of ms, which constitutes a necessary condition for the humidity detection method and the fault detection method.
[0013] The second object of the present invention can be achieved by adopting the following technical solution:
[0014] A fault detection method for a humidity detection device, characterized in that:
[0015] 1) Detecting the timing when the GPIO (HUM_IO_L) of the microprocessor outputs a high level and the GPIO (HUM_IO_H) outputs a low level;
[0016] 2) The start time of the conversion value of the electrical signal sampling voltage of the humidity sampling resistor is processed at the midpoint of the high level output of the GPIO (HUM_IO_L) of the microprocessor;
[0017] 3) Detecting the timing when the GPIO (HUM_IO_L) of the microprocessor outputs a low level and the GPIO (HUM_IO_H) outputs a high level;
[0018] 4) The start time of the conversion of the electrical signal sampling voltage of the humidity sampling resistor is processed at the midpoint of the high level output of the microprocessor's GPIO (HUM_IO_L).
[0019] The second object of the present invention can also be achieved by adopting the following technical solution:
[0020] Furthermore, humidity detection is performed at the middle point of the high level output of the GPIO (HUM_IO_L) of the microprocessor module, the GPIO (AN_HUM) reads the AD value of the current humidity sampling resistor, and the GPIO (AN_TEMP) reads the AD value of the current temperature sampling resistor, and the humidity value is obtained through the temperature and humidity table of the microprocessor itself and displayed through the display module (101).
[0021] Furthermore, humidity fault detection is performed at the midpoint of the high level output of the GPIO (HUM_IO_H) of the microprocessor module, that is, the humidity sensor is used as a sampling medium. When the body is in a short circuit or open circuit fault condition, the AD value detected by GPIO (AN_HUM) must be accurately detected.
[0022] The present invention has the following outstanding substantive features and significant technical advances:
[0023] 1. The humidity detection device of the present invention has the following structural features: it comprises a humidity display module, a temperature and humidity sensor interface module, a temperature sensor, a humidity sensor and a microprocessor module, the humidity display module is connected to the COM terminal and the SEG terminal of the microprocessor module to display humidity information or humidity fault information; the temperature and humidity sensor interface module has a plurality of I / O ports, the I / O ports are respectively connected to the temperature sensor, the humidity sensor and the microprocessor module to convert the sampling signals input by the temperature sensor and the humidity sensor into the electrical signals required by the microprocessor; the microprocessor has a central processing unit, a storage unit and a plurality of I / O terminals. The I / O port is connected to the humidity display module and the temperature and humidity sensor interface module respectively to read the temperature sensor sampling electrical signal and the humidity sensor sampling electrical signal, and the humidity value is determined by comparing the sampling electrical signal with the data in the microprocessor memory and displayed through the display module, and the humidity sensor fault detection is performed at the same time; therefore, it can solve the problems of the humidity detection structure in the prior art that cannot take into account both humidity detection and detection of faults of the detection structure itself, has a single function, and is prone to errors in detection results, and has outstanding substantive characteristics and significant technical progress such as taking into account both humidity detection and detection of faults of the detection structure itself, having both functions, and accurate detection results.
[0024] 2. The fault detection method of the humidity detection device of the present invention is characterized by: 1) detecting the timing when the GPIO (HUM_IO_L) of the microprocessor outputs a high level and the GPIO (HUM_IO_H) outputs a low level; 2) detecting the starting time of the conversion value of the electrical signal sampling voltage of the humidity sampling resistor and processing it at the middle point of the high level output of the microprocessor GPIO (HUM_IO_L); 3) detecting the timing when the GPIO (HUM_IO_L) of the microprocessor outputs a low level and the GPIO (HUM_IO_H) outputs a high level; 4) detecting the starting time of the conversion value of the electrical signal sampling voltage of the humidity sampling resistor and processing it at the middle point of the high level output of the microprocessor GPIO (HUM_IO_L). Therefore, it can solve the problems that the humidity detection structure of the prior art cannot take into account both humidity detection and fault detection of the detection structure itself, has a single function, and is prone to errors in the detection results. It has outstanding substantive characteristics and significant technical progress such as being able to take into account both humidity detection and fault detection of the detection structure itself, having both functions, and accurate detection results. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a circuit structure block diagram of an embodiment of a humidity detection device.
[0026] Figure 2 It is the structural block diagram of the temperature and humidity sensor interface module.
[0027] Figure 3 It is the structural block diagram of the humidity display module.
[0028] Figure 4 is a circuit diagram of an embodiment of a temperature and humidity sensor interface module.
[0029] Figure 5 is a circuit diagram of one embodiment of a microprocessing module.
[0030] Figure 6 Humidity sensor humidity detection flow chart.
[0031] Figure 7 Humidity sensor fault detection flow chart.
[0032] Figure 8-Figure 10 It is the detection principle diagram of the present invention. DETAILED DESCRIPTION Specific embodiment 1:
[0034] Reference Figure 1The humidity detection device involved in this embodiment includes a humidity display module 101, a temperature and humidity sensor interface module 102, a temperature sensor 103, a humidity sensor 104 and a microprocessor module 105. The humidity display module 101 is connected to the COM end and the SEG end of the microprocessor module 105 to display humidity information or humidity fault information; the temperature and humidity sensor interface module 102 has a plurality of I / O ports, and the I / O ports are respectively connected to the temperature sensor 103, the humidity sensor 104 and the microprocessor module 105 to convert the sampling signals input by the temperature sensor 103 and the humidity sensor 104 into electrical signals required by the microprocessor; the microprocessor 105 has a central processing unit, a storage unit and a plurality of I / O ports, and the I / O ports are respectively connected to the humidity display module 101 and the temperature and humidity sensor interface module 102 to read the temperature sensor sampling electrical signal and the humidity sensor sampling electrical signal, and the humidity value is determined by comparing the sampling electrical signal with the data in the microprocessor memory and displayed through the display module 101, and the humidity sensor fault detection is performed at the same time.
[0035] In this embodiment:
[0036] Reference Figure 3 The humidity display module 101 is composed of a double 8 common cathode digital tube composed of light emitting diodes.
[0037] Reference Figure 2 and Figure 4The temperature and humidity sensor interface module 102 is composed of a resistor 1021-resistor 102 and a four-pin socket 1026. The A end of the resistor 1021 is connected to the GPIO (AN_TEMP) of the microcontroller (105), and the B end of the resistor 1021 is connected to the C end of the four-pin socket 1026 to form a current limiting protection GPIO; the A end of the resistor 1022 is connected to the GPIO (AN_HUM) of the microcontroller 105, and the B end of the resistor 1022 is connected to the resistor 102 The A end of the resistor 1023 is connected to the B end of the resistor 1022 and the B end of the four-pin socket 1026 to form a current limiting protection GPIO; the A end of the resistor 1023 is connected to the B end of the resistor 1022 and the B end of the four-pin socket 1026 respectively; the B end of the resistor 1023 is connected to the microprocessor 105GPIO (HUM_H_IO) to form a humidity sampling voltage divider (Note: use a high-precision resistor); the A end of the resistor 1024 is connected to the device system ground GND, and the B end of the resistor 1024 is connected to the resistor 10 The B end of the capacitor 1021 is connected to the C end of the four-pin socket 1026 and the A end of the capacitor 1025 to form a temperature sampling voltage divider (Note: use a high-precision resistor); the A end of the capacitor 1025 is respectively connected to the B end of the resistor 1021 and the B end of the resistor 1024 and the C end of the four-pin socket 1026, and the B end of the capacitor 1025 is connected to the positive pole of the power supply 5V to form a temperature sampling signal filtering circuit to obtain a stable temperature sampling signal; the four-pin socket 10 The A end of the four-pin socket 1026 is connected to the GPIO (HUM_L_IO) of the microprocessor 105; the B end of the four-pin socket 1026 is respectively connected to the B end of the resistor 1022 and the A end of the resistor 1023; the C end of the four-pin socket 1026 is respectively connected to the B end of the resistor 1021, the B end of the resistor 1024, and the A end of the capacitor 1025; the D end of the four-pin socket 1026 is respectively connected to the positive pole of the power supply of the B end of the capacitor 1025 to connect the temperature sensor and the humidity sensor.
[0038] The temperature sensor 103 uses a thermistor element with negative temperature characteristics and parameters of R25=5.0KΩ±1%, B25 / 50=3470K±1%; the humidity sensor (104 is composed of a humidity sensor of model HIS-06 (Japan Hokuriku HIS-06).
[0039] Reference Figure 5 The microprocessor 105 is composed of an 8-bit C51 core single-chip microcomputer chip, which reads the electrical signals sampled by the temperature sensor and the humidity sensor from the I / O port. The GPIO (HUM_IO_L) output level and the GPIO (HUM_IO_H) output level of the microprocessor 105 are complementary high and low levels with a period of ms, which constitutes a necessary condition for the humidity detection method and the fault detection method.
[0040] Reference Figure 6-Figure 7 The fault detection method of the humidity detection device involved in this embodiment is characterized by:
[0041] 1) Detecting the timing when the GPIO (HUM_IO_L) of the microprocessor 105 outputs a high level and the GPIO (HUM_IO_H) outputs a low level;
[0042] 2) Detecting the start time of the conversion value of the electrical signal sampling voltage of the humidity sampling resistor 1023 is processed at the midpoint between the high level output of the GPIO (HUM_IO_L) of the microprocessor 105;
[0043] 3) Detecting the timing when the GPIO (HUM_IO_L) of the microprocessor 105 outputs a low level and the GPIO (HUM_IO_H) outputs a high level;
[0044] 4) The start time of the conversion of the electrical signal sampling voltage of the humidity sampling resistor 1023 is detected and processed at the midpoint between the GPIO (HUM_IO_L) of the microprocessor 105 outputting a high level.
[0045] Furthermore, humidity detection is performed at the midpoint of the high level output of the GPIO (HUM_IO_L) of the microprocessor module 105, GPIO (AN_HUM) reads the AD value of the current humidity sampling resistor 1023, and combines with GPIO (AN_TEMP) to read the AD value of the current temperature sampling resistor 1024, and obtains the humidity value through the microprocessor's own temperature and humidity table and displays the humidity value through the display module 101.
[0046] Furthermore, humidity fault detection is performed at the midpoint of the high level output of the GPIO (HUM_IO_H) of the microprocessor module 105, that is, the humidity sensor 104 is used as a sampling medium. When the body is in a short circuit or open circuit fault condition, the AD value detected by the GPIO (AN_HUM) must be accurately detected.
[0047] It can be seen from the explanation of the attached figure in the specification that a pin A of the humidity sensor is connected to the microprocessor HUM_L_IO, a pin B of the humidity sensor is connected to the humidity sampling resistor 1023, and the humidity sampling resistor 1023 is connected to the HUM_H_IO of the microprocessor module 105. The humidity detection method is that the HUM_L_IO of the microprocessor module outputs a pair of complementary levels, and the flip cycle is 1ms (ms level). The humidity detection timing is when the HUM_L_IO is high and the HUM_H_IO is low, and the electrical signal of the humidity sampling resistor (1023) is read at the midpoint of the HUM_L_IO level, and the current temperature is combined to query the microprocessor humidity table to convert it into a humidity value. The humidity sensor fault detection method is to read the electrical signal of the humidity sensor body when the HUM_L_IO of the microprocessor module is low and the HUM_H_IO is high, and the midpoint of the HUM_H_IO level is read, and the size of the electrical signal of the humidity sensor body is judged to determine whether the humidity sensor is faulty (open circuit or short circuit);
[0048] Reference Figure 8-Figure 10 , the detection principle of this embodiment is as follows:
[0049] A total of four wires outputted from the temperature sensor 103 and the humidity sensor 104 are connected to a 5V power supply through a four-pin socket 1026, to AN_TEMP through a resistor R1021, to AN_HUM through a resistor 1022, and to HUM_H_IO and HUM_L_IO through a resistor 1023.
[0050] The AD value (for 8 bits) is to divide 0-5V into 255 parts. If the AD value is 1, the voltage is 5 / 255*1=0.02V. If the sensor body is short-circuited, the voltage is close to 0, and AD<2 can be judged as a short-circuit fault. If the sensor body is open-circuited, considering that the voltage of other impedances exceeds 4.5V, then AD>230 can be judged as an open-circuit fault.
[0051] In this embodiment:
[0052] Display circuit module 101 (digital tube / LED / LCD), the main control chip of microprocessor module 105 is 89C51 single chip microcomputer chip;
[0053] QA_SP4: Separate testing.
[0054] QA_SP5: When detecting humidity, HUM_L_IO outputs a high level for 500us, and HUM_H_IO outputs a low level for 500us, forming a 1kHz flip waveform. The timing for detecting humidity and reading the humidity electrical signal is when HUM_L_IO outputs 250us, which is the midpoint of the level.
[0055] QA_SP6: It means reading relatively stable electrical signals.
[0056] QA_SP7: A common GPIO of a microprocessor microcontroller, named HUM_L_IO to distinguish it from other GPIOs
[0057] QA_SP8: Complementary levels mean that when HUM_L_IO outputs a high level, then HUM_H_IO outputs a low level. Conversely, when HUM_L_IO outputs a low level, then HUM_H_IO outputs a high level.
Claims
1. A fault detection method for a humidity detection device, characterized in that: The humidity detection device comprises a humidity display module (101), a temperature and humidity sensor interface module (102), a temperature sensor (103), a humidity sensor (104) and a microprocessor module (105); the humidity display module (101) is connected to a COM terminal and a SEG terminal of the microprocessor module (105) to display humidity information or humidity fault information; the temperature and humidity sensor interface module (102) has a plurality of I / O ports, the I / O ports are respectively connected to the temperature sensor (103), the humidity sensor (104) and the microprocessor module (105) to convert sampling signals input by the temperature sensor (103) and the humidity sensor (104) into electrical signals required by the microprocessor; The microprocessor module (105) comprises a central processing unit, a storage unit and a plurality of I / O ports, wherein the I / O ports are respectively connected to the humidity display module (101) and the temperature and humidity sensor interface module (102) to read the temperature sensor sampling electrical signal and the humidity sensor sampling electrical signal, and the humidity value is determined by comparing the sampling electrical signal with the data in the microprocessor memory and displayed through the humidity display module (101), and the humidity sensor fault detection is performed at the same time; the temperature and humidity sensor interface module (102) is composed of a resistor (1021) and a four-pin socket (1026), the A end of the resistor (1021) is connected to the GPIO (AN_TEMP) of the microprocessor module (105), and the electrical The B end of the resistor (1021) is connected to the C end of the four-pin socket (1026) to form a current limiting protection GPIO; the A end of the resistor (1022) is connected to the GPIO (AN_HUM) of the microprocessing module (105), and the B end of the resistor (1022) is respectively connected to the A end of the resistor (1023) and the B end of the four-pin socket (1026) to form a current limiting protection GPIO; the A end of the resistor (1023) is respectively connected to the B end of the resistor (1022) and the B end of the four-pin socket (1026); the B end of the resistor (1023) is connected to the GPIO (HUM_H_IO) of the microprocessing module (105) to form a humidity sampling voltage divider; the A end of the resistor (1024) is connected to the B end of the resistor (1022) and the B end of the four-pin socket (1026) to form a humidity sampling voltage divider; The A end is connected to the device system ground GND, the B end of the resistor (1024) is respectively connected to the B end of the resistor (1021) and the C end of the four-pin socket (1026), and is connected to the A end of the capacitor (1025), forming a temperature sampling voltage divider; the A end of the capacitor (1025) is respectively connected to the B end of the resistor (1021) and the B end of the resistor (1024), and is connected to the C end of the four-pin socket (1026), and the B end of the capacitor (1025) is connected to the positive electrode of the power supply 5V, forming a temperature sampling signal filtering loop to obtain a stable temperature sampling signal; the A end of the four-pin socket (1026) is connected to the GPIO (HUM_L_IO) of the microprocessor module (105);The B end of the four-pin socket (1026) is respectively connected to the B end of the resistor (1022) and the A end of the resistor (1023); the C end of the four-pin socket (1026) is respectively connected to the B end of the resistor (1021), the B end of the resistor (1024), and the A end of the capacitor (1025); the D end of the four-pin socket (1026) is respectively connected to the positive electrode of the power supply of the B end of the capacitor (1025) to connect the temperature sensor and the humidity sensor; 1) Detection starts, selecting the timing when the port GPIO (HUM_IO_L) of the microprocessor module (105) outputs a high level and the port GPIO (HUM_IO_H) outputs a low level; 2) Detecting the start time of the conversion value of the electrical signal sampling voltage of the humidity sampling resistor (1023) is processed at the midpoint between the microprocessing module (105) GPIO (HUM_IO_L) outputting a high level; 3) Detecting the timing when the GPIO (HUM_IO_L) of the microprocessor module (105) outputs a low level and the GPIO (HUM_IO_H) outputs a high level; 4) Detecting the start time of the conversion value of the electrical signal sampling voltage of the humidity sampling resistor (1023) is processed at the midpoint between the microprocessor (105) GPIO (HUM_IO_L) outputting a high level; 5) The humidity sensor fault detection method is to read the humidity sensor body electrical signal at the midpoint of the HUM_H_IO level when the HUM_L_IO low level of the microprocessor module changes to the HUM_H_IO high level, and determine whether the humidity sensor is faulty by judging the size of the humidity sensor body electrical signal, that is, open circuit or short circuit fault; the AD value is to divide 0-5V into 255 parts, the AD value is 1, that is, the voltage is 5 / 255*1=0.02V, the sensor body short circuit fault, the voltage is close to 0, then AD is close to 0, AD<2 is determined as a short circuit fault; the sensor body open circuit fault, considering that other impedance voltages exceed 4.5V, then AD>230 is determined as an open circuit fault.
2. A fault detection method for a humidity detection device according to claim 1, characterized in that: Humidity detection is performed at the middle point of the high level output of the microprocessor module (105) GPIO (HUM_IO_L), GPIO (AN_HUM) reads the current AD value of the humidity sampling resistor (1023), combined with GPIO (AN_TEMP) to read the current AD value of the temperature sampling resistor (1024), and the humidity value is obtained through the microprocessor's own temperature and humidity table (1901) and displayed through the humidity display module (101) (101).
3. The fault detection method of a humidity detection device according to claim 1, characterized in that: Humidity fault detection is performed at the middle point of the high level output of the microprocessor module (105) GPIO (HUM_IO_H), that is, the humidity sensor body is used as a sampling medium. When the body is in a short circuit or open circuit fault condition, the AD value detected by the GPIO (AN_HUM) must be accurately detected.
4. A fault detection method for a humidity detection device according to claim 3, characterized in that: The humidity display module (101) is composed of a double 8-common cathode digital tube composed of light emitting diodes.
5. A fault detection method for a humidity detection device according to claim 4, characterized in that: The temperature sensor (103) adopts a thermistor element with negative temperature characteristics and parameters of R25=5.0KΩ±1%, B25 / 50=3470K±1%; the humidity sensor (104) is composed of a humidity sensor of model HIS-06.
6. A fault detection method for a humidity detection device according to claim 4, characterized in that: The microprocessing module (105) is composed of an 8-bit C51 core single-chip microcomputer chip, which reads the electrical signals sampled by the temperature sensor and the humidity sensor from the I / O port. The GPIO (HUM_IO_L) output level and the GPIO (HUM_IO_H) output level of the microprocessing module (105) are mutually complementary high and low levels, with a period of ms, which constitutes a necessary condition for a humidity detection method and a fault detection method.
