TVOC sensor detection method, device, air conditioner and storage medium
By calibrating the oxide's baseline resistance value and drift ratio and optimizing the detection method based on the number of TVOC detections, the problem of decreased detection accuracy of TVOC sensors under high temperature conditions is solved, achieving higher detection accuracy and a wider range of applications.
Patent Information
- Application Number
- CN202211026737.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2042-08-25
AI Technical Summary
The existing TVOC sensor has a reduced detection accuracy due to the drift of oxide electrical parameters under high temperature conditions, and the existing technology cannot effectively solve this problem using adaptive detection methods.
The reference resistance value and drift ratio are calibrated by detecting the static resistance value of the oxide. The calibration is combined with the number of TVOC detections to optimize the detection method to improve accuracy.
Significantly improve TVOC detection accuracy, avoid frequent system calibration, and expand the scope of application.
Smart Images

Figure CN115236142B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of quality control of detection equipment, and in particular to a detection method, device, air conditioner and storage medium for a TVOC sensor. Background Art
[0002] Currently, people have increasingly high expectations for indoor air quality. The harmful gases emitted from new homes and furniture are not only long-lasting but also harmful to the human body, and are therefore attracting increasing attention. Most fresh air air conditioners now integrate TVOC gas detection with their fresh air systems. Currently, mature TVOC product solutions on the market all utilize the metal oxide semiconductor (MOS) detection principle. However, under high temperature conditions, the metal oxide (MOx) surface absorbs negatively charged O- in the air. The H+ in the TVOC gas reacts with the O-, causing changes in the oxide's electrical parameters.
[0003] However, after a period of time, the initial value of the internal resistance of the oxide will drift over time, causing the deviation of the detection value to increase over time, resulting in inaccurate detection. To address this issue, existing technologies all adopt adaptive detection methods, which are similar to learning detection algorithms. They mainly detect the change in TVOC in a unified detection environment, which is expressed as relative detection. Summary of the Invention
[0004] In view of this, the present invention aims to propose a detection method, device, air conditioner and storage medium for a TVOC sensor to solve the problem in the prior art that the electrical parameters of oxides change, affecting the TVOC detection accuracy.
[0005] To achieve the above object, the technical solution of the present invention is achieved as follows:
[0006] A method for detecting a TVOC sensor comprises the following steps:
[0007] S01: Detect the first static resistance value R0 of the oxide, initialize the reference resistance R, and initialize the first drift ratio P0;
[0008] S02: Detect the dynamic resistance R1 of the oxide, calculate the TVOC value based on R, R1 and P0, count the calculation result of TVOC in a cycle, and when the number of cycles reaches the set value, detect the second static resistance R2 of the oxide, calculate the second drift ratio P1 based on R and R2, and calibrate the reference value resistance R and the first drift ratio P0 based on R, R2 and P1.
[0009] The TVOC sensor detection method proposed in the present invention can, on the one hand, calibrate the oxide's reference resistance value and drift ratio by detecting the oxide's resistance value under static conditions, thereby significantly improving TVOC detection accuracy. On the other hand, the oxide's reference resistance value and drift ratio are calibrated according to the number of TVOC detections. This calibration method can, on the one hand, avoid frequent system calibration, and on the other hand, change the TVOC detection accuracy by adjusting the number of calibrations, thereby expanding its scope of application.
[0010] Furthermore, step S01 includes:
[0011] A1: Power on, detect the first static resistance R0 of the oxide, and enter A2;
[0012] A2: Initialize the reference resistance value R=R0 and initialize the first drift ratio P0=1.
[0013] By detecting the first static resistance R0 of the oxide and initializing the reference resistance value R and the first drift ratio P0, errors in the reference resistance value R and the first drift ratio P0 can be eliminated, thereby improving the detection accuracy of the TVOC value.
[0014] Furthermore, step S02 includes:
[0015] B1: After the reference resistor R and the first drift ratio P0 are set, enter B2;
[0016] B2: Turn on the heating plate to heat the oxide and proceed to B3;
[0017] B3: Detect and judge the heating plate temperature H≥H EO Is it true? If so, execute B4; if not, execute B2;
[0018] B4: After waiting for T1, enter B5;
[0019] B5: Detect the oxide dynamic resistance R1 and enter B6;
[0020] B6: Calculate the TVOC value using the formula X0 = K*P0*(R-R1);
[0021] Where X0 is the concentration of TVOC, H E0 is the first set temperature, and K is the conversion constant.
[0022] In step B4, the temperature of the heating plate is kept at a level greater than or equal to the first set temperature H by waiting for T1 time. E0 , so that the temperature of the oxide is stabilized, the detected dynamic resistance R1 of the oxide is more accurate, and the measurement accuracy of TVOC is improved.
[0023] Furthermore, step S02 includes:
[0024] C1: TVOC value calculation is completed, enter C2;
[0025] C2: After waiting for T2 time, turn off the heating plate and enter C3;
[0026] C3: Detect the temperature H of the heating plate and enter C4;
[0027] C4: Detect and judge the heating plate temperature H≤H E1 Is it true? If not, execute C3; if yes, execute C5;
[0028] C5: After waiting for T3 time, enter C6;
[0029] C6: detects the second static resistance value R2 of the oxide and enters C7;
[0030] C7: Calculate the second drift ratio P1 according to the formula P1 = R / R2 and proceed to B2;
[0031] Among them, H E1 The second set temperature.
[0032] In step C2, waiting for time T2 can keep the system stable and improve detection accuracy.
[0033] In step C5, wait for T3 time to keep the temperature of the heating plate less than or equal to the second set temperature H E1 , improving the detection accuracy of the second static resistance value R2 of the oxide, and then improving the calculation accuracy of the second drift ratio P1, so as to achieve the purpose of improving the TVOC detection accuracy.
[0034] Furthermore, step S01 also includes:
[0035] D1: Initialize the reference resistance value R and the first drift ratio P0, and enter D2;
[0036] D2: Detect and determine whether it is the first power-on. If not, reset the reference resistance value R=R2, reset the first drift ratio P0=P1, reset the flag bit to 1, and enter D3; if yes, enter D3;
[0037] D3: After waiting for T0 time, enter B2.
[0038] Waiting for T0 time can keep the system stable and improve detection accuracy.
[0039] Furthermore, step S02 includes:
[0040] E1: After the second drift ratio P1 is calculated, enter E2;
[0041] E2: Detect and determine whether it is the first power-on. If not, reset the reference resistance value R=R2, reset the first drift ratio P0=P1, reset the flag bit to 1, and enter E3; if yes, enter E3;
[0042] E3: After waiting for T0 time, enter B2.
[0043] Waiting for T0 time can keep the system stable and improve detection accuracy.
[0044] Furthermore, step S02 includes:
[0045] F1: After the TVOC value calculation is completed, enter F2;
[0046] F2: Count the number of TVOC calculations and enter F3;
[0047] F3: Check and determine whether the number of loops M ≥ N is true. If so, execute C2; if not, execute B4.
[0048] Wherein, N is the preset number of cycles.
[0049] The number of TVOC measurements is counted cyclically. When the number of TVOC measurements reaches the set value, the reference resistance value R and the first drift ratio P0 are calibrated. This calibration method can avoid frequent system calibration on the one hand, and on the other hand, it can change the TVOC detection accuracy by adjusting the calibration number, thereby expanding its scope of application.
[0050] A TVOC detection device for an air conditioner operates according to the detection method of the TVOC sensor.
[0051] An air conditioner further includes a computer-readable storage medium storing a computer program and a processor. When the computer program is read and executed by the processor, the above-mentioned TVOC sensor detection method is implemented.
[0052] A computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the above-mentioned TVOC sensor detection method is implemented.
[0053] The present invention provides a detection method, device, air conditioner and storage medium for a TVOC sensor. On the one hand, the base resistance value and drift ratio of the oxide are calibrated by detecting the oxide resistance value in a static state, thereby significantly improving the detection accuracy of TVOC. On the other hand, the base resistance value and drift ratio of the oxide are calibrated according to the number of TVOC detections. This calibration method can avoid frequent system calibration on the one hand, and can change the TVOC detection accuracy by adjusting the number of calibrations, thereby expanding its scope of application. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 This is a flow chart of the TVOC sensor detection method of the present invention;
[0055] Figure 2 This is a flow chart of another embodiment of the TVOC sensor detection method of the present invention. DETAILED DESCRIPTION
[0056] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0057] Example 1
[0058] like Figures 1-2 As shown, a detection method of a TVOC sensor includes the following steps:
[0059] S01: Detect the first static resistance value R0 of the oxide, initialize the reference resistance R, and initialize the first drift ratio P0;
[0060] S02: Detect the dynamic resistance R1 of the oxide, calculate the TVOC value based on R, R1 and P0, count the calculation result of TVOC in a cycle, and when the number of cycles reaches the set value, detect the second static resistance R2 of the oxide, calculate the second drift ratio P1 based on R and R2, and calibrate the reference value resistance R and the first drift ratio P0 based on R, R2 and P1.
[0061] The TVOC sensor detection method proposed in the present invention can, on the one hand, calibrate the oxide's reference resistance value and drift ratio by detecting the oxide's resistance value under static conditions, thereby significantly improving TVOC detection accuracy. On the other hand, the oxide's reference resistance value and drift ratio are calibrated according to the number of TVOC detections. This calibration method can, on the one hand, avoid frequent system calibration, and on the other hand, change the TVOC detection accuracy by adjusting the number of calibrations, thereby expanding its scope of application.
[0062] Furthermore, step S01 includes:
[0063] A1: Power on, detect the first static resistance R0 of the oxide, and enter A2;
[0064] A2: Initialize the reference resistance value R=R0 and initialize the first drift ratio P0=1.
[0065] By detecting the first static resistance R0 of the oxide and initializing the reference resistance value R and the first drift ratio P0, errors in the reference resistance value R and the first drift ratio P0 can be eliminated, thereby improving the detection accuracy of the TVOC value.
[0066] Furthermore, step S02 includes:
[0067] B1: After the reference resistor R and the first drift ratio P0 are set, enter B2;
[0068] B2: Turn on the heating plate to heat the oxide and proceed to B3;
[0069] B3: Detect and judge the heating plate temperature H≥H EO Is it true? If so, execute B4; if not, execute B2;
[0070] B4: After waiting for T1, enter B5;
[0071] B5: Detect the oxide dynamic resistance R1 and enter B6;
[0072] B6: Calculate the TVOC value using the formula X0 = K*P0*(R-R1);
[0073] Where X0 is the concentration of TVOC, H E0 is the first set temperature, and K is the conversion constant.
[0074] In step B4, the temperature of the heating plate is kept at a level greater than or equal to the first set temperature H by waiting for T1 time. E0 , so that the temperature of the oxide is stabilized, the detected dynamic resistance R1 of the oxide is more accurate, and the measurement accuracy of TVOC is improved.
[0075] Furthermore, step S02 includes:
[0076] C1: TVOC value calculation is completed, enter C2;
[0077] C2: After waiting for T2 time, turn off the heating plate and enter C3;
[0078] C3: Detect the temperature H of the heating plate and enter C4;
[0079] C4: Detect and judge the heating plate temperature H≤H E1 Is it true? If not, execute C3; if yes, execute C5;
[0080] C5: After waiting for T3 time, enter C6;
[0081] C6: detects the second static resistance value R2 of the oxide and enters C7;
[0082] C7: Calculate the second drift ratio P1 according to the formula P1 = R / R2 and proceed to B2;
[0083] Among them, H E1 The second set temperature.
[0084] In step C2, waiting for time T2 can keep the system stable and improve detection accuracy.
[0085] In step C5, wait for T3 time to keep the temperature of the heating plate less than or equal to the second set temperature H E1 , improving the detection accuracy of the second static resistance value R2 of the oxide, and then improving the calculation accuracy of the second drift ratio P1, so as to achieve the purpose of improving the TVOC detection accuracy.
[0086] Furthermore, step S01 also includes:
[0087] D1: Initialize the reference resistance value R and the first drift ratio P0, and enter D2;
[0088] D2: Detect and determine whether it is the first power-on. If not, reset the reference resistance value R=R2, reset the first drift ratio P0=P1, reset the flag bit to 1, and enter D3; if yes, enter D3;
[0089] D3: After waiting for T0 time, enter B2.
[0090] Waiting for T0 time can keep the system stable and improve detection accuracy.
[0091] Furthermore, step S02 includes:
[0092] E1: After the second drift ratio P1 is calculated, enter E2;
[0093] E2: Detect and determine whether it is the first power-on. If not, reset the reference resistance value R=R2, reset the first drift ratio P0=P1, reset the flag bit to 1, and enter E3; if yes, enter E3;
[0094] E3: After waiting for T0 time, enter B2.
[0095] Waiting for T0 time can keep the system stable and improve detection accuracy.
[0096] Furthermore, step S02 includes:
[0097] F1: After the TVOC value calculation is completed, enter F2;
[0098] F2: Count the number of TVOC calculations and enter F3;
[0099] F3: Check and determine whether the number of loops M ≥ N is true. If so, execute C2; if not, execute B4.
[0100] Wherein, N is the preset number of cycles.
[0101] The number of TVOC measurements is counted cyclically. When the number of TVOC measurements reaches the set value, the reference resistance value R and the first drift ratio P0 are calibrated. This calibration method can avoid frequent system calibration on the one hand, and on the other hand, it can change the TVOC detection accuracy by adjusting the calibration number, thereby expanding its scope of application.
[0102] In addition, the present application also provides a TVOC detection device for an air conditioner, which operates according to the above-mentioned detection method, and includes:
[0103] The detection unit includes a TVOC sensor, which can detect the TVOC value of harmful gases; the detection unit also includes a temperature sensor for detecting the temperature H of the heating plate. EO and H E1 ; The detection unit also includes a resistance detection device for detecting the static resistance and dynamic resistance of the oxide;
[0104] The storage unit stores the above-mentioned various pre-stored values, such as the preset first temperature value H EO and the second temperature value H E1 , preset conversion constant K, preset time values T0, T1, T2, T3, preset number of cycles value N, etc.;
[0105] The determination unit can perform corresponding determination actions according to the detection method of the TVOC sensor, such as determining whether it is the first time to power on, determining whether the heating plate temperature H≥H E0 Is it true? Check whether the number of cycles M≥N is true. Check whether the heating plate temperature H≤H E1 Whether it is established, etc.
[0106] A control unit is provided, wherein the control unit can control the air conditioner to operate according to the detection method of the TVOC sensor based on the information transmitted by the detection unit, the storage unit and the determination unit.
[0107] Furthermore, the present application also provides an air conditioner, which includes an indoor unit and an outdoor unit, the indoor unit includes an indoor heat exchanger, an internal motor, a TVOC sensor, etc., the outdoor unit includes a compressor, an external motor and an outdoor heat exchanger, etc., the air conditioner also includes a computer-readable storage medium and a processor storing a computer program, and when the computer program is read and run by the processor, the above-mentioned TVOC sensor detection method is implemented.
[0108] The present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is read and executed by a processor, the above-mentioned TVOC sensor detection method is implemented.
[0109] In summary, the detection method, device, air conditioner and storage medium of the TVOC sensor described in the present application, on the one hand, calibrate the base resistance value and drift ratio of the oxide by detecting the oxide resistance value in a static state, which can greatly improve the detection accuracy of TVOC; on the other hand, the base resistance value and drift ratio of the oxide are calibrated according to the number of TVOC detections. This calibration method can, on the one hand, avoid frequent calibration of the system; on the other hand, it can change the detection accuracy of TVOC by adjusting the number of calibrations, thereby expanding its scope of application.
[0110] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention should be based on the scope defined by the claims.
Claims
1. A detection method for a TVOC sensor, characterized in that: Including steps: S01: Detect the first static resistance value R0 of the oxide, initialize the reference resistance R, and initialize the first drift ratio P0; S02: Detect the dynamic resistance R1 of the oxide, calculate the TVOC value according to R, R1 and P0, count the calculation result of TVOC, and when the number of cycles reaches the set value, detect the second static resistance R2 of the oxide, calculate the second drift ratio P1 according to R and R2, and calibrate the reference resistance R and the first drift ratio P according to R, R2 and P1. 0; Step S01 includes: A1: Power on, detect the first static resistance R0 of the oxide, and enter A2; A2: Initialize the reference resistance value R=R0 and the first drift ratio P0=1; Step S02 includes: B1: After the reference resistor R and the first drift ratio P0 are set, enter B2; B2: Turn on the heating plate to heat the oxide and proceed to B3; B3: Detect and judge the heating plate temperature H≥H EO Is it true? If so, execute B4; if not, execute B2; B4: After waiting for T1, enter B5; B5: Detect the oxide dynamic resistance R1 and enter B6; B6: Calculate the TVOC value using the formula X0=K*P0*(R-R1); Where X0 is the concentration of TVOC, H E0 is the first set temperature, K is the conversion constant; Step S02 also includes: C1: TVOC value calculation is completed, enter C2; C2: After waiting for T2 time, turn off the heating plate and enter C3; C3: Detect the temperature H of the heating plate and enter C4; C4: Detect and judge the heating plate temperature H≤H E1 Is it true? If not, execute C3; if yes, execute C5; C5: After waiting for T3 time, enter C6; C6: detects the second static resistance value R2 of the oxide and enters C7; C7: Calculate the second drift ratio P1 according to the formula P1=R / R2 and proceed to B2; Among them, H E1 The second set temperature.
2. The detection method of the TVOC sensor according to claim 1, characterized in that: Step S01 also includes: D1: Initialize the reference resistance value R and the first drift ratio P0, and enter D2; D2: Detect and determine whether it is the first power-on. If not, reset the reference resistance value R=R2, reset the first drift ratio P0=P1, reset the flag bit to 1, and enter D3; if yes, enter D3; D3: After waiting for T0 time, enter B2.
3. The detection method of the TVOC sensor according to claim 1, characterized in that: Step S02 includes: E1: After the second drift ratio P1 is calculated, enter E2; E2: Detect and determine whether it is the first power-on. If not, reset the reference resistance value R=R2, reset the first drift ratio P0=P1, reset the flag bit to 1, and enter E3; if yes, enter E3; E3: After waiting for T0 time, enter B2.
4. The detection method of the TVOC sensor according to claim 1, characterized in that: Step S02 includes: F1: After the TVOC value calculation is completed, enter F2; F2: Count the number of TVOC calculations and enter F3; F3: Check and determine whether the number of loops M ≥ N is true. If so, execute C2; if not, execute B4. Wherein, N is the preset number of cycles.
5. A TVOC detection device for an air conditioner, characterized in that: The TVOC detection device includes a detection unit, a storage unit, a determination unit, and a control unit. The detection unit is used to detect the TVOC value of harmful gases, the temperature of the heating plate, and the static resistance and dynamic resistance of the oxide. The storage unit is used to pre-store preset temperatures and times. The determination unit is used to perform corresponding determination actions according to the detection method of the TVOC sensor. The control unit is used to control the air conditioner to operate according to the detection method of the TVOC sensor based on the information transmitted by the detection unit, the storage unit, and the determination unit, thereby implementing the detection method of the TVOC sensor according to any one of claims 1 to 4.
6. An air conditioner, characterized in that: The air conditioner includes a computer-readable storage medium storing a computer program and a processor. When the computer program is read and executed by the processor, the detection method of the TVOC sensor according to any one of claims 1 to 4 is implemented.
7. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and when the computer program is read and executed by a processor, the detection method of the TVOC sensor according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Compensating circuit and method for concentration and temperature drift of VOC gas sensor
CN106093178A
Method and device for monitoring and purifying indoor TVOC in real time and air conditioner
CN113375268A