A method and apparatus for updating a zero voltage value of a voc sensor

By updating the zero-point voltage value of the VOC sensor and controlling the fan operation according to the air quality level, the detection error caused by oil contamination was solved, and accurate gas concentration detection was achieved even under oil contamination conditions.

CN117091181BActive Publication Date: 2026-04-24VATTI CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
VATTI CORP LTD
Filing Date
2023-07-20
Publication Date
2026-04-24

AI Technical Summary

Technical Problem

The volatile organic compound (VOC) sensor in the range hood becomes heavily soiled with oil after prolonged use, resulting in a large error in detecting the concentration of oil fumes. Existing technology cannot effectively update the zero-point voltage value to correct the error.

Method used

By acquiring the voltage value corresponding to the current ambient gas concentration detected by the VOC sensor, the air quality level is determined based on the voltage difference, the fan speed and running time are controlled, and the zero-point voltage value is updated when the air quality level remains at the threshold, or reset to the factory zero-point voltage value after multiple follow-ups.

Benefits of technology

Even with oil residue, it can accurately detect the concentration of gases in the air, reducing detection errors and improving the accuracy of gas concentration detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117091181B_ABST
    Figure CN117091181B_ABST
Patent Text Reader

Abstract

The application belongs to the range hood field, and discloses a method for updating a zero voltage value of a VOC sensor. The method comprises the following steps: obtaining a first voltage value corresponding to a gas concentration in a current environment collected by the sensor; determining a first air quality level corresponding to the current environment according to the first voltage value and a zero voltage value of the sensor; determining a fan rotating speed and a fan running time of the range hood according to the first air quality level; controlling the fan to run according to the fan rotating speed and the fan running time, and accumulating a continuous time length during which the current environment is in the first air quality level; if the continuous time length is greater than a first preset time threshold corresponding to the first air quality level, updating the zero voltage value to the first voltage value; otherwise, repeating the step of obtaining the first voltage value corresponding to the gas concentration in the current environment collected by the sensor. By using the application, the gas concentration in the air can be accurately detected under the condition that the range hood is attached with oil stains, and the detection accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of range hood technology, and in particular to a method and apparatus for updating the zero-point voltage value of a VOC sensor. Background Technology

[0002] Currently, most range hoods on the market are equipped with VOC (volatile organic compounds) sensors. In clean air, the VOC sensor outputs a voltage value. Technicians set this voltage value to the factory zero-point value. The VOC sensor outputs different voltage values ​​at different gas concentrations. By comparing the voltage values ​​at different concentrations with the factory zero-point value, the concentrations of various gases, such as cigarette smoke, cooking fumes, carbon monoxide, or ethanol, can be determined. When the gas concentration is high, the fan is activated to draw in air and reduce the concentration, thus controlling air quality.

[0003] However, with prolonged use, grease accumulates on the range hood. The voltage value corresponding to the grease concentration detected by the VOC sensor is actually the voltage value corresponding to both the grease on the range hood and the grease in the air. If the gas concentration is still determined based on the factory-set zero-point voltage value, the range hood will interpret the detected airborne grease concentration as high, leading to a significant error in the grease concentration detection. Therefore, a method to update the zero-point voltage value of the VOC sensor is urgently needed. Summary of the Invention

[0004] Therefore, it is necessary to provide a method and apparatus for updating the zero-point voltage value of a VOC sensor to address the aforementioned technical problems.

[0005] In a first aspect, a method for updating the zero-point voltage value of a VOC sensor is provided, the method comprising:

[0006] Obtain the first voltage value corresponding to the gas concentration in the current environment collected by the volatile organic compound (VOC) sensor;

[0007] Based on the first voltage value and the zero-point voltage value of the VOC sensor, the first air quality level corresponding to the current environment is determined;

[0008] Based on the first air quality level, determine the fan speed and fan running time of the range hood;

[0009] The operation of the fan is controlled according to the fan speed and the fan running time, and the duration of the current environment being at the first air quality level is accumulated.

[0010] If the duration of the current environment being at the first air quality level is greater than the first preset duration threshold corresponding to the first air quality level, then the zero-point voltage value is updated to the first voltage value; otherwise, the step of obtaining the first voltage value corresponding to the gas concentration in the current environment collected by the VOC sensor is repeated.

[0011] As an optional implementation, determining the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor includes:

[0012] In the pre-stored correspondence between voltage range and air quality level, the first air quality level corresponding to the current environment is found to be the first voltage range in which the first voltage difference between the first voltage value and the zero-point voltage value of the VOC sensor is located.

[0013] As an optional implementation, determining the fan speed and fan operating time of the range hood based on the first air quality level includes:

[0014] In the pre-stored correspondence between air quality level, fan speed and fan running time, query the fan speed and fan running time of the range hood corresponding to the first air quality level.

[0015] As an optional implementation, after updating the zero-point voltage value to the first voltage value, the method further includes:

[0016] Obtain the update count of the zero-point voltage value;

[0017] If the first air quality level is the optimal air quality level, then the update count is incremented by 1; otherwise, the update count is reset to zero.

[0018] If the number of updates exceeds a preset update threshold, the zero-point voltage value is updated to the pre-stored factory zero-point voltage value.

[0019] As an optional implementation, after obtaining the first voltage value corresponding to the gas concentration in the current environment collected by the VOC sensor, the method further includes:

[0020] If the first voltage value is less than the preset maximum voltage value, then the step of determining the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor is executed.

[0021] If the first voltage value is greater than or equal to the preset maximum voltage value, then the fan is controlled to run for the preset maximum fan speed for the longest preset fan running time.

[0022] Secondly, an apparatus for updating the zero-point voltage value of a VOC sensor is provided, characterized in that the apparatus comprises:

[0023] The first acquisition module is used to acquire the first voltage value corresponding to the gas concentration in the current environment collected by the volatile organic compound (VOC) sensor.

[0024] The first determining module is used to determine the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor.

[0025] The second determining module is used to determine the fan speed and fan running time of the range hood based on the first air quality level.

[0026] The first control module is used to control the operation of the fan according to the fan speed and the fan running time, and to accumulate the duration of the current environment being at the first air quality level.

[0027] The first update module is configured to update the zero-point voltage value to the first voltage value if the duration of the current environment being at the first air quality level is greater than the first preset duration threshold corresponding to the first air quality level; otherwise, the step of obtaining the first voltage value corresponding to the gas concentration in the current environment collected by the VOC sensor is repeated.

[0028] As an optional implementation, the first determining module is specifically used for:

[0029] In the pre-stored correspondence between voltage range and air quality level, the first air quality level corresponding to the current environment is found to be the first voltage range in which the first voltage difference between the first voltage value and the zero-point voltage value of the VOC sensor is located.

[0030] As an optional implementation, the second determining module is specifically used for:

[0031] In the pre-stored correspondence between air quality level, fan speed and fan running time, query the fan speed and fan running time of the range hood corresponding to the first air quality level.

[0032] As an optional implementation, the device further includes:

[0033] The second acquisition module is used to acquire the number of times the zero-point voltage value is updated.

[0034] The second update module is used to increment the update count by 1 if the first air quality level is the optimal air quality level, and otherwise reset the update count to zero.

[0035] The third update module is used to update the zero-point voltage value to the pre-stored factory zero-point voltage value if the number of updates is greater than a preset update number threshold.

[0036] As an optional implementation, the device further includes:

[0037] An execution module is configured to, if the first voltage value is less than a preset maximum voltage value, execute the step of determining the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor;

[0038] The second control module is used to control the fan to run for a preset maximum operating time according to the preset maximum fan speed if the first voltage value is greater than or equal to the preset maximum voltage value.

[0039] Thirdly, a system for updating the zero-point voltage value of a VOC sensor is provided, the system comprising: a method for updating the zero-point voltage value of a VOC sensor as described in the first aspect and an apparatus for updating the zero-point voltage value of a VOC sensor as described in the second aspect.

[0040] Fourthly, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program executable on the processor, and the processor executes the computer program to implement the steps of the method described in the first aspect.

[0041] Fifthly, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.

[0042] This application provides a method and apparatus for updating the zero-point voltage value of a VOC sensor. The technical solution provided by the embodiments of this application brings at least the following beneficial effects: A first voltage value corresponding to the concentration of gas or cooking fumes in the air is detected by the VOC sensor. The current air quality level is obtained based on the difference between the first voltage value and the zero-point voltage value of the VOC sensor, and then the operation of the fan is controlled according to the air quality level. If the duration of the current environment being at the first air quality level is greater than a first preset duration threshold corresponding to the first air quality level, it indicates that there is already a large amount of oil residue adhering to the range hood, and the subsequent detection of the gas concentration in the air will have a large error. In order to maintain relatively accurate detection of the air gas concentration, the zero-point voltage value of the VOC sensor needs to be zero-point followed, and the current first voltage value is used as the updated zero-point voltage value. This ensures that even with oil residue adhering to the range hood, the gas concentration in the air can still be detected relatively accurately. In this way, even when the range hood is covered with oil residue, the gas concentration in the air can still be accurately detected, further improving the accuracy of gas concentration detection.

[0043] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 A schematic diagram of a system for updating the zero-point voltage value of a VOC sensor provided in this application embodiment;

[0046] Figure 2 A flowchart illustrating a method for updating the zero-point voltage value of a VOC sensor, provided in an embodiment of this application;

[0047] Figure 3 A schematic diagram of a device for updating the zero-point voltage value of a VOC sensor provided in an embodiment of this application;

[0048] Figure 4 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0049] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0050] The method for updating the zero-point voltage value of a VOC sensor provided in this application embodiment can be applied to a system for updating the zero-point voltage value of a VOC sensor. For example... Figure 1 As shown, the system for updating the zero-point voltage value of the VOC sensor includes a controller 101, a VOC sensor 102, and a fan 103.

[0051] The controller 101 is used to acquire a first voltage value corresponding to the gas concentration in the current environment collected by the volatile organic compound (VOC) sensor 102. Based on the first voltage value and the zero-point voltage value of the VOC sensor 102, a first air quality level corresponding to the current environment is determined. Based on the first air quality level, the fan speed and fan operating time of the range hood are determined. The fan 103 is controlled to operate according to the fan speed and fan operating time, and the duration of the current environment being at the first air quality level is accumulated. If the duration of the current environment being at the first air quality level is greater than a first preset duration threshold corresponding to the first air quality level, the zero-point voltage value is updated to the first voltage value; otherwise, the step of acquiring the first voltage value corresponding to the gas concentration in the current environment collected by the VOC sensor 102 is repeated.

[0052] The VOC sensor 102 is used to collect the first voltage value corresponding to the gas concentration in the current environment and send the first voltage value to the controller 101.

[0053] The fan 103 is used to receive instructions from the controller 101 and operate the fan for a specified duration according to the fan speed.

[0054] The following will describe in detail a method for updating the zero-point voltage value of a VOC sensor provided in this application, with reference to specific embodiments. Figure 2 A flowchart illustrating a method for updating the zero-point voltage value of a VOC sensor, as provided in this application embodiment, is shown below. Figure 2 As shown, the specific steps are as follows:

[0055] Step 201: Obtain the first voltage value corresponding to the gas concentration in the current environment collected by the volatile organic compound (VOC) sensor.

[0056] In practice, under clean air conditions, the VOC sensor outputs a voltage value. Technicians set this voltage value to the factory zero-point value. The VOC sensor outputs different voltage values ​​depending on the gas concentration. Therefore, to determine the current gas concentration in the environment, the VOC sensor can be used to collect this concentration, and it outputs a first voltage value corresponding to this concentration. Thus, the first voltage value corresponding to the current gas concentration in the environment, collected by the VOC sensor, can be obtained.

[0057] Furthermore, after obtaining the first voltage value corresponding to the current gas concentration in the environment, it is also necessary to judge the first voltage value output by the VOC sensor. If the first voltage value is too high, it indicates that the current gas concentration is too high and the current environment is already quite harsh. In this case, it is necessary to turn on the fan to extract air and reduce the gas concentration. The specifics are as follows.

[0058] Step A: If the first voltage value is less than the preset maximum voltage value, then the step of determining the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor is executed.

[0059] During implementation, the first voltage value is compared with the preset maximum voltage value. If the first voltage value is less than the preset maximum voltage value, it indicates that the current environment is not severe and is still within a controllable range. Different air quality levels can be defined based on different gas concentrations in the air. Different gas concentrations result in different voltage values ​​output by the VOC sensor. Therefore, the first air quality level corresponding to the current environment can be determined based on the first voltage value and the zero-point voltage value of the VOC sensor. This allows subsequent steps to adjust the fan speed and operating time according to the different air quality levels.

[0060] Step B: If the first voltage value is greater than or equal to the preset maximum voltage value, then the fan is controlled to run for the preset maximum fan speed for the preset longest fan running time.

[0061] During implementation, the first voltage value is compared with the preset maximum voltage value. If the first voltage value is greater than or equal to the preset maximum voltage value, it indicates that the current gas concentration is too high and the current environment is already quite harsh. In this case, the fan needs to be turned on to extract air and reduce the gas concentration. The range hood controls the fan to run for the preset maximum fan speed for the preset maximum fan running time.

[0062] Step 202: Determine the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor.

[0063] In practice, under clean air conditions, the VOC sensor outputs a voltage value. Technicians set this voltage value under clean air to the factory zero-point voltage value. The VOC sensor outputs different voltage values ​​at different gas concentrations. By comparing the voltage values ​​at different concentrations with the factory zero-point voltage value, the concentrations of various gases can be determined. Therefore, based on the first voltage value and the VOC sensor's zero-point voltage value, the gas concentration in the current environment can be determined. Different air quality levels can be defined based on different gas concentrations in the air. However, since the first voltage value and the VOC sensor's zero-point voltage value determine the gas concentration in the current environment, the corresponding first air quality level can be determined based on these values.

[0064] Specifically, the steps for determining the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor are as follows.

[0065] In the pre-stored correspondence between voltage range and air quality level, the first air quality level corresponding to the current environment is found to be within the first voltage range where the first voltage difference between the first voltage value and the zero-point voltage value of the VOC sensor is located.

[0066] In implementation, the gas concentration in the current environment can be determined based on the first voltage value and the zero-point voltage value of the VOC sensor. Furthermore, different air quality levels can be assigned based on different gas concentrations in the air. In other words, the air quality level of the current environment can be determined based on the voltage difference between the first voltage value and the zero-point voltage value of the VOC sensor, and the air quality level is defined by voltage range. Therefore, technicians pre-define different air quality levels corresponding to different voltage ranges of the VOC sensor. The range hood then stores the correspondence between voltage ranges and air quality levels. Based on the first voltage value and the zero-point voltage value of the VOC sensor, the range hood queries the first voltage range containing the first voltage difference between the first voltage value and the zero-point voltage value of the VOC sensor, within the aforementioned correspondence, to find the first air quality level corresponding to the current environment.

[0067] For example, under clean air conditions, the voltage value of the VOC sensor is recorded as Y0. At different concentrations (according to gas concentrations C1, C2, C3, etc.), the corresponding voltage output values ​​of the VOC sensor are recorded as Y1, Y2, Y3, etc., and their differences are recorded as Z1 = Y1 - Y0, Z2 = Y2 - Y0, etc. As shown in Table 1, these differences are divided into four levels: excellent, good, medium, and poor. The voltage range Z1 to Z2 corresponds to excellent air quality, Z2 to Z3 to good air quality, Z3 to Z4 to medium air quality, and Z4 and above to poor air quality. Optionally, the air quality can be divided into multiple levels, not just four. This establishes the correspondence between voltage ranges and air quality levels.

[0068] excellent good middle Difference Z1~Z2 Z2~Z3 Z3~Z4 Z4 and above

[0069] If the VOC sensor outputs a current detected voltage value of X0, the air quality level is the air quality level corresponding to that voltage range, based on the voltage range in which X0 is located.

[0070] Step 203: Determine the fan speed and fan running time of the range hood based on the first air quality level.

[0071] In practice, when a range hood contains a certain concentration of gas in the air, it can control the operation of its fan to extract air, reducing the concentration of the gas and thus controlling air quality. The range hood can be configured with different fan speeds and operating times for different air quality levels. These different fan speed and operating times are designed to ensure that the gas concentration is reduced without further increasing. Therefore, the fan speed and operating time of the range hood can be determined based on the first air quality level.

[0072] Specifically, the steps for determining the fan speed and operating time of the range hood based on the first air quality level are as follows.

[0073] Based on the pre-stored correspondence between air quality level, fan speed, and fan running time, query the fan speed and fan running time of the range hood corresponding to the first air quality level.

[0074] During implementation, technicians pre-determine the appropriate fan speed and operating time for different air quality levels. When the corresponding fan operating time is reached, the gas concentration in the air will significantly decrease. The range hood then stores the correspondence between air quality level, fan speed, and fan operating time. Based on the first air quality level, the range hood queries the corresponding fan speed and operating time for that air quality level from the aforementioned correspondence.

[0075] For example, as shown in Table 2, air quality is categorized into four levels: excellent, good, medium, and poor, based on voltage difference. When the air quality is excellent, the corresponding fan speed is S1 and the corresponding fan operating time is L1; when the air quality is good, the corresponding fan speed is S2 and the corresponding fan operating time is L2; ​​when the air quality is medium, the corresponding fan speed is S3 and the corresponding fan operating time is L3; and when the air quality is poor, the corresponding fan speed is S4 and the corresponding fan operating time is L4. This establishes the correspondence between air quality level, fan speed, and fan operating time.

[0076] excellent good middle Difference S1 S2 S3 S4 L1 L2 L3 L4

[0077] In this way, the fan speed and fan duration of the range hood corresponding to the first air quality level can be queried from the pre-stored correspondence between air quality level, fan speed and fan duration.

[0078] Step 204: Control the operation of the fan according to the fan speed and the fan running time, and accumulate the duration of the current environment being at the first air quality level.

[0079] In practice, under clean air conditions, the VOC sensor outputs a voltage value. Technicians set this voltage value under clean air as the factory zero-point voltage value. The VOC sensor outputs different voltage values ​​for different gas concentrations. The concentration of various gases can be determined by the voltage difference between the VOC sensor's voltage values ​​at different concentrations and the factory zero-point voltage value. However, with prolonged use of the range hood, grease will adhere to it. The voltage value corresponding to the grease concentration detected by the VOC sensor is actually the voltage value corresponding to both the grease on the range hood and the grease in the air. If the gas concentration is still determined based on the factory zero-point voltage value, the range hood will interpret the detected airborne grease concentration as high, leading to a large error in the grease concentration detection. Therefore, to avoid large errors in gas concentration detection, the zero-point voltage value of the VOC sensor can be updated. This zero-point update ensures accurate detection of airborne gas concentrations even with grease adhering to the range hood. The trigger condition for updating the zero-point voltage value of the VOC sensor is the cumulative duration of the environment being at a certain air quality level, exceeding a preset duration threshold corresponding to that air quality level. In this case, it means that controlling the fan operation according to the fan speed and running time has not reduced the gas concentration, so the gas concentration detected by the VOC sensor mostly comes from the grease adhering to the range hood. Therefore, the zero-point voltage value of the VOC sensor can be zero-point followed by the environment. Thus, to avoid large errors in the detected gas concentration, the execution of the zero-point voltage value following the environment function of the VOC sensor needs to accumulate the continuous duration of the current environment being at the first air quality level. This will prevent large errors in the detected gas concentration and improve the accuracy of gas concentration detection.

[0080] Step 205: If the duration of the current environment being at the first air quality level is greater than the first preset duration threshold corresponding to the first air quality level, then update the zero-point voltage value to the first voltage value; otherwise, repeat the step of obtaining the first voltage value corresponding to the gas concentration in the current environment collected by the VOC sensor.

[0081] In implementation, to avoid large errors in the detected gas concentration, the zero-point voltage value of the VOC sensor needs to be used to perform the function of zero-point following the environment. This requires accumulating the duration of the current environment being at the first air quality level. Then, the duration of the first air quality level is compared with a first preset time threshold corresponding to that level. If the duration of the current environment being at the first air quality level is greater than the first preset time threshold, it indicates that controlling the fan operation according to the fan speed and running time has not reduced the gas concentration. Therefore, most of the gas concentration detected by the VOC sensor comes from the grease adhering to the range hood. In this case, the zero-point voltage value can be updated to the first voltage value. If the duration of the current environment being at the first air quality level is less than or equal to the first preset time threshold, it indicates that controlling the fan operation according to the fan speed and running time can reduce the gas concentration in the air, and the grease adhering to the range hood is still relatively small. Therefore, the zero-point voltage value of the VOC sensor does not need to perform the function of zero-point following the environment in this case. While the range hood is on, the process of acquiring the first voltage value corresponding to the current ambient gas concentration collected by the VOC sensor is repeated, continuously reducing the gas concentration in the air. This ensures that even with grease buildup on the range hood, the gas concentration in the air can be detected relatively accurately.

[0082] For example, as shown in Table 3, when the air quality level is excellent, the corresponding voltage range is Z1 to Z2, and the corresponding preset duration threshold is T1; when the air quality level is good, the corresponding voltage range is Z2 to Z3, and the corresponding preset duration threshold is T2; when the air quality level is moderate, the corresponding voltage range is Z3 to Z4, and the corresponding preset duration threshold is T3; when the air quality level is poor, the corresponding voltage range is above Z4, and the corresponding preset duration threshold is T4.

[0083] excellent good middle Difference Z1~Z2 Z2~Z3 Z3~Z4 Z4 and above T1 T2 T3 T4

[0084] The duration of a certain air quality level detected by the VOC sensor is T0. The difference between the current detected voltage value X0 and the zero-point voltage value N0 output by the VOC sensor is Z0. If Z0 is in the Z1-Z2 range and the duration T0 exceeds T1, the zero-point voltage value is updated to X0; if the duration T0 does not exceed T1, the VOC sensor continues to detect gas concentration. If Z0 is in the Z2-Z3 range and the duration T0 exceeds T2, the zero-point voltage value is updated to X0; if the duration T0 does not exceed T2, the VOC sensor continues to detect gas concentration. If Z0 is in the Z3-Z4 range and the duration T0 exceeds T3, the zero-point voltage value is updated to X0; if the duration T0 does not exceed T3, the VOC sensor continues to detect gas concentration. If Z0 is above Z4 and the duration T0 exceeds T4, the zero-point voltage value is updated to X0; if the duration T0 does not exceed T4, the VOC sensor continues to detect gas concentration.

[0085] Furthermore, if the gas in the current environment is emitted from the slow decay of indoor fruits or vegetables, and the concentration of this gas gradually increases over time, then using the above method, if the duration of the current environment at the first air quality level exceeds the first preset duration threshold corresponding to that first air quality level, the VOC sensor's zero-point environmental tracking function will be executed. If the decaying fruits or vegetables remain untreated, the decaying gas will persist indoors for a long time, causing the VOC sensor's zero-point voltage to repeatedly track the environment. Each zero-point environmental tracking is based on the previously detected voltage value, so after multiple zero-point environmental trackings, the detected air quality level is considered the optimal air quality level. However, after a long period, the actual environment may become very harsh (with a high concentration of decaying gas), but because the range hood is constantly updating its zero-point voltage, it may assume the current environment remains at the optimal air quality level. This will result in a significant error in the detected gas concentration. Therefore, to avoid large errors in the detected gas concentration, after updating the zero-point voltage value to the first voltage value after execution, it is also necessary to determine the number of times the zero point has followed the environment and the current air quality level. Based on the number of times the zero point has followed the environment and the current air quality level, it is determined whether a zero-point reset is needed. The specific process is as follows.

[0086] Step 1: Obtain the number of times the zero-point voltage value has been updated.

[0087] In practice, after the zero-point voltage value is zero-point followed by the environment, the air quality level of the current environment is continuously detected, resulting in multiple updates to the zero-point voltage value. For gas concentrations that persist for a long time and increase slowly, the VOC sensor's zero-point voltage will undergo multiple zero-point environmental tracking. Each zero-point environmental tracking is based on the previously detected voltage value, so after multiple zero-point environmental trackings, the detected air quality level is the optimal air quality level. Over a long period, the actual environment may become very harsh (with a high concentration of decaying gases indoors), but because the range hood is constantly updating its zero-point voltage value, it may assume that the current environment remains at the optimal air quality level, leading to a large error in the detected gas concentration. To avoid this error, the VOC sensor's zero-point voltage value needs to be reset after multiple zero-point environmental trackings and when the air quality level remains at the optimal level. Therefore, before resetting the zero-point voltage, the number of zero-point voltage value updates needs to be obtained.

[0088] Step 2: If the first air quality level is the optimal air quality level, increment the update count by 1; otherwise, reset the update count to zero.

[0089] In practice, because each zero-point environmental tracking is based on the previously detected voltage value, the detected air quality level after multiple zero-point environmental tracking iterations is considered the optimal air quality level. Over a long period, the actual environment may become very harsh (high concentration of decaying gases indoors), but because the range hood is constantly updating its zero-point voltage, it may assume the current environment remains at the optimal air quality level. This leads to significant errors in the detected gas concentration. Therefore, if the first air quality level is the optimal air quality level, the update count is incremented by 1. This indicates that the current air quality is already very poor, but because the VOC sensor's zero-point voltage is constantly tracking the environment, the range hood still considers the current air quality to be at the optimal level. Since zero-point reset requires multiple zero-point environmental tracking iterations and a consistently optimal air quality level, if the first air quality level is not the optimal level, the zero-point reset requirement is not met, and the update count is reset to zero.

[0090] Step 3: If the number of updates exceeds the preset update threshold, the zero-point voltage value will be updated to the pre-stored factory zero-point voltage value.

[0091] In implementation, the number of updates is compared with a preset update threshold. If the number of updates exceeds the preset threshold, it indicates that multiple zero-point environmental tracking operations have been performed, and the air quality level is optimal, meeting the requirements for zero-point reset. Therefore, the zero-point voltage value is updated to the pre-stored factory zero-point voltage value. The factory zero-point voltage value is the voltage output by the VOC sensor in a clean air environment. Updating the zero-point voltage value to the pre-stored factory zero-point voltage value ensures that for gases that have been present for a long time and are slowly increasing, the gas concentration corresponding to the voltage value output by the VOC sensor is the actual gas concentration in the air. The preset update threshold can be set by the user according to actual conditions and is not limited here. This avoids the problem of inaccurate detection caused by continuously tracking the zero-point environment for gases that have been present for a long time and are slowly increasing, thus improving detection accuracy.

[0092] Furthermore, users can also access the VOC sensor zero-point voltage reset function by long-pressing the zero-point reset button, resetting the zero-point voltage value to the pre-stored factory zero-point voltage value. The long press is to prevent accidental triggering by the user.

[0093] Furthermore, a VOC sensor can be replaced by a VOC module, which includes a VOC sensor and a storage chip. The module's storage chip has a zero-point tracking function, while the range hood's control chip has a zero-point reset function. The two chips communicate via a single-wire connection, with the reset command sent from the range hood's control chip to the VOC module's storage chip. This solution allows for modularization of the VOC module program, making program maintenance easier, and also allows for compatibility with more types of range hoods.

[0094] Furthermore, a user-operable function to follow the current environmental zero point can be added. In some households, VOC sensors are frequently used in environments with poor air quality to detect sudden changes in air quality. Therefore, a method could be provided to allow the VOC sensor to function normally in such scenarios, thus enabling faster detection of sudden worsening air quality levels.

[0095] This application provides a method for updating the zero-point voltage value of a VOC sensor. The method involves using a VOC sensor to detect a first voltage value corresponding to the concentration of gases or cooking fumes in the air. The current air quality level is obtained based on the difference between the first voltage value and the zero-point voltage value of the VOC sensor. The operation of a fan is then controlled according to the air quality level. If the duration of the current environment being at the first air quality level exceeds a first preset duration threshold corresponding to the first air quality level, it indicates that a significant amount of oil has adhered to the range hood, resulting in a large error in the subsequent detection of the air gas concentration. To maintain relatively accurate detection of air gas concentration, the zero-point voltage value of the VOC sensor needs to be zero-point followed, using the current first voltage value as the updated zero-point voltage value. This ensures accurate detection of air gas concentration even when oil adheres to the range hood. Thus, even with oil on the range hood, accurate detection of air gas concentration can still be achieved, further improving the accuracy of gas concentration detection.

[0096] It should be understood that, although Figure 2 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2 At least some of the steps in the process may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but may be executed at different times. The execution order of these steps or stages is not necessarily sequential, but may be executed in turn or alternately with other steps or at least some of the steps or stages in other steps.

[0097] It is understood that the same / similar parts between the various embodiments of the methods described above in this specification can be referred to each other. Each embodiment focuses on the differences from other embodiments, and relevant parts can be referred to the description of other method embodiments.

[0098] This application also provides a device for updating the zero-point voltage value of a VOC sensor, such as... Figure 3 As shown, the device includes:

[0099] The first acquisition module 301 is used to acquire the first voltage value corresponding to the gas concentration in the current environment collected by the volatile organic compound (VOC) sensor.

[0100] The first determining module 302 is used to determine the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor.

[0101] The second determining module 303 is used to determine the fan speed and fan running time of the range hood based on the first air quality level.

[0102] The first control module 304 is used to control the operation of the fan according to the fan speed and the fan running time, and to accumulate the duration of the current environment being at the first air quality level.

[0103] The first update module 305 is used to update the zero-point voltage value to the first voltage value if the duration of the current environment being at the first air quality level is greater than the first preset duration threshold corresponding to the first air quality level; otherwise, the step of obtaining the first voltage value corresponding to the gas concentration in the current environment collected by the VOC sensor is repeated.

[0104] As an optional implementation, the first determining module 302 is specifically used for:

[0105] In the pre-stored correspondence between voltage range and air quality level, the first air quality level corresponding to the current environment is found to be the first voltage range in which the first voltage difference between the first voltage value and the zero-point voltage value of the VOC sensor is located.

[0106] As an optional implementation, the second determining module 303 is specifically used for:

[0107] In the pre-stored correspondence between air quality level, fan speed and fan running time, query the fan speed and fan running time of the range hood corresponding to the first air quality level.

[0108] As an optional implementation, the device further includes:

[0109] The second acquisition module is used to acquire the number of times the zero-point voltage value is updated.

[0110] The second update module is used to increment the update count by 1 if the first air quality level is the optimal air quality level, and otherwise reset the update count to zero.

[0111] The third update module is used to update the zero-point voltage value to the pre-stored factory zero-point voltage value if the number of updates is greater than a preset update number threshold.

[0112] As an optional implementation, the device further includes:

[0113] An execution module is configured to, if the first voltage value is less than a preset maximum voltage value, execute the step of determining the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor;

[0114] The second control module is used to control the fan to run for a preset maximum operating time according to the preset maximum fan speed if the first voltage value is greater than or equal to the preset maximum voltage value.

[0115] This application provides a device for updating the zero-point voltage value of a VOC sensor. The VOC sensor detects a first voltage value corresponding to the concentration of gases or cooking fumes in the air. The current air quality level is obtained based on the difference between the first voltage value and the zero-point voltage value of the VOC sensor, and the fan operation is then controlled according to the air quality level. If the duration of the current environment being at the first air quality level exceeds a first preset duration threshold corresponding to the first air quality level, it indicates that a significant amount of oil has adhered to the range hood, resulting in a large error in the subsequent detection of air gas concentration. To maintain relatively accurate detection of air gas concentration, the zero-point voltage value of the VOC sensor needs to be zero-point followed, using the current first voltage value as the updated zero-point voltage value. This ensures accurate detection of air gas concentration even when oil adheres to the range hood. Thus, even with oil on the range hood, accurate detection of air gas concentration can still be achieved, further improving the accuracy of gas concentration detection.

[0116] Specific limitations regarding the device for updating the zero-point voltage value of the VOC sensor can be found in the limitations of the method for updating the zero-point voltage value of the VOC sensor described above, and will not be repeated here. Each module in the aforementioned device for updating the zero-point voltage value of the VOC sensor can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independently of the processor in a computer device, or stored in software in the memory of a computer device, so that the processor can call and execute the corresponding operations of each module.

[0117] In one embodiment, a computer device is provided, such as Figure 4 As shown, it includes a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the above-described method steps for updating the zero-point voltage value of the VOC sensor.

[0118] In one embodiment, a computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the method for updating the zero-point voltage value of a VOC sensor described above.

[0119] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0120] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0121] It should also be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for display, data used for analysis, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0122] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0123] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0124] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for updating the zero-point voltage value of a VOC sensor, characterized in that, The method includes: Obtain the first voltage value corresponding to the gas concentration in the current environment collected by the volatile organic compound (VOC) sensor; Based on the first voltage value and the zero-point voltage value of the VOC sensor, the first air quality level corresponding to the current environment is determined; Based on the first air quality level, determine the fan speed and fan running time of the range hood; The operation of the fan is controlled according to the fan speed and the fan running time, and the duration of the current environment being at the first air quality level is accumulated. If the duration of the current environment at the first air quality level is greater than the first preset duration threshold corresponding to the first air quality level, then the zero-point voltage value is updated to the first voltage value, and the update count of the zero-point voltage value is obtained; if the first air quality level is the optimal air quality level, then the update count is incremented by 1, otherwise the update count is cleared to zero; if the update count is greater than the preset update count threshold, then the zero-point voltage value is updated to the pre-stored factory zero-point voltage value; otherwise, the step of obtaining the first voltage value corresponding to the gas concentration in the current environment collected by the VOC sensor is repeated.

2. The method according to claim 1, characterized in that, Determining the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor includes: In the pre-stored correspondence between voltage range and air quality level, the first air quality level corresponding to the current environment is found to be the first voltage range in which the first voltage difference between the first voltage value and the zero-point voltage value of the VOC sensor is located.

3. The method according to claim 1, characterized in that, The step of determining the fan speed and fan operating time of the range hood based on the first air quality level includes: In the pre-stored correspondence between air quality level, fan speed and fan running time, query the fan speed and fan running time of the range hood corresponding to the first air quality level.

4. The method according to claim 1, characterized in that, After obtaining the first voltage value corresponding to the gas concentration in the current environment collected by the VOC sensor, the method further includes: If the first voltage value is less than the preset maximum voltage value, then the step of determining the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor is executed. If the first voltage value is greater than or equal to the preset maximum voltage value, then the fan is controlled to run for the preset maximum fan speed for the longest preset fan running time.

5. A device for updating the zero-point voltage value of a VOC sensor, characterized in that, The device includes: The first acquisition module is used to acquire the first voltage value corresponding to the gas concentration in the current environment collected by the volatile organic compound (VOC) sensor. The first determining module is used to determine the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor. The second determining module is used to determine the fan speed and fan running time of the range hood based on the first air quality level. The first control module is used to control the operation of the fan according to the fan speed and the fan running time, and to accumulate the duration of the current environment being at the first air quality level. The first update module is used to update the zero-point voltage value to the first voltage value if the duration of the current environment being at the first air quality level is greater than the first preset duration threshold corresponding to the first air quality level; otherwise, the step of obtaining the first voltage value corresponding to the gas concentration in the current environment collected by the VOC sensor is repeated. The second acquisition module is used to acquire the number of times the zero-point voltage value is updated. The second update module is used to increment the update count by 1 if the first air quality level is the optimal air quality level, and otherwise reset the update count to zero. The third update module is used to update the zero-point voltage value to the pre-stored factory zero-point voltage value if the number of updates is greater than a preset update number threshold.

6. The apparatus according to claim 5, characterized in that, The first determining module is specifically used for: In the pre-stored correspondence between voltage range and air quality level, the first air quality level corresponding to the current environment is found to be the first voltage range in which the first voltage difference between the first voltage value and the zero-point voltage value of the VOC sensor is located.

7. The apparatus according to claim 5, characterized in that, The second determining module is specifically used for: In the pre-stored correspondence between air quality level, fan speed and fan running time, query the fan speed and fan running time of the range hood corresponding to the first air quality level.

8. The apparatus according to claim 5, characterized in that, The device further includes: An execution module is configured to, if the first voltage value is less than a preset maximum voltage value, execute the step of determining the first air quality level corresponding to the current environment based on the first voltage value and the zero-point voltage value of the VOC sensor; The second control module is used to control the fan to run for a preset maximum operating time according to the preset maximum fan speed if the first voltage value is greater than or equal to the preset maximum voltage value.

Citation Information

Patent Citations

  • Automatic wind speed adjustment method of smoke ventilator

    CN104006431A

  • Range hood and control method

    CN115751407A