Gas detection sensor ultra-low power consumption control method and system based on artificial intelligence

By setting the optimized heating time and heating method in the semiconductor gas sensor and combining it with voltage function screening and fitting, the contradiction between low power consumption and effective detection of the semiconductor gas sensor during intermittent heating is solved, and a balance between low power consumption and efficient detection is achieved.

CN120741577AActive Publication Date: 2025-10-03SHENZHEN EMPAER TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511261116.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-05
Publication Date
2025-10-03
Estimated Expiration
2045-09-05

AI Technical Summary

Technical Problem

In the prior art, semiconductor gas sensors cannot simultaneously achieve low power consumption and effective gas detection during intermittent heating, resulting in a contradiction between power consumption and detection effectiveness.

Method used

By obtaining the optimal temperature and time threshold based on the method, the first-stage heating time, heating time interval and second-stage heating time are set, low-power heating method is used for gas detection, and the normal voltage function and abnormal voltage function are used to screen the data, accurately fit the voltage change law, and optimize the heating time.

Benefits of technology

The effectiveness of gas detection is maintained while reducing power consumption, thereby improving the accuracy and precision of gas detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120741577A_ABST
    Figure CN120741577A_ABST
Patent Text Reader

Abstract

The invention discloses an ultra-low power consumption control method and system for a gas detection sensor based on artificial intelligence, and relates to the technical field of gas detection, and the method comprises the following steps: obtaining the heating time of a first stage based on an optimal temperature and time threshold obtaining method; based on the normal voltage function, the abnormal voltage function and a time threshold obtaining method, obtaining a heating time interval and second-stage heating time; setting a heating mode based on the first-stage heating time, the heating time interval and the second-stage heating time, and marking the heating mode as a low-power-consumption heating mode; gas detection is carried out in a low-power-consumption heating mode; the method is used for solving the problem that reduction of power consumption and retention of detection effectiveness cannot be achieved at the same time due to the fact that intermittent heating time cannot be set based on a sensor and gas detection can be carried out in real time during intermittent heating in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of gas detection technology, and in particular to an ultra-low power consumption control method and system for a gas detection sensor based on artificial intelligence. Background Art

[0002] With the development of gas detection sensors, there are many types of gas sensors, including semiconductor gas sensors. When semiconductor gas sensors work, they need to heat the resistor, which will generate a lot of power consumption. Reducing the heating of the resistors in the semiconductor gas sensor can reduce the corresponding power consumption accordingly, but it will affect the normal operation of the conventional semiconductor gas sensor. Intermittent heating can also be set, but the setting of the interval time of intermittent heating is relatively subjective. At the same time, gas detection cannot be performed when there is no heating, and the best time to detect the gas is missed. For example, in the patent application with application publication number CN119827723A, an ultra-low power consumption wireless transmission gas detector is disclosed. This solution fails to set the intermittent heating time based on the sensor itself and to perform gas detection in real time during intermittent heating. The existing technology fails to set the intermittent heating time based on the sensor itself and to perform gas detection in real time during intermittent heating, resulting in the inability to simultaneously achieve the goal of reducing power consumption and retaining detection effectiveness. Summary of the Invention

[0003] The present invention aims to solve at least one of the technical problems in the prior art to a certain extent, by obtaining the first-stage heating time based on the optimal temperature and time threshold acquisition method, obtaining the heating time interval and the second-stage heating time based on the normal voltage function, the abnormal voltage function and the time threshold acquisition method, setting the heating mode based on the first-stage heating time, the heating time interval and the second-stage heating time, marking it as a low-power heating mode, and performing gas detection in the low-power heating mode to solve the problem in the prior art that the intermittent heating time cannot be set based on the sensor itself and gas detection cannot be performed in real time during intermittent heating, resulting in the inability to simultaneously achieve the goals of reducing power consumption and retaining detection effectiveness.

[0004] To achieve the above objectives, the present application provides an ultra-low power consumption control method for a gas detection sensor based on artificial intelligence, comprising the following steps: Get the optimal detection temperature of the resistance when the sensor is working, and mark it as the optimal temperature; Obtain the first stage heating time based on the optimal temperature and time threshold acquisition method; When there is no detection gas, obtain the relationship function between the voltage across the resistor and time after heating is stopped after the optimal temperature is reached, and mark it as the normal voltage function; When the test gas is present, obtain the relationship function between the voltage across the resistor and time after heating is stopped after the resistor is heated to the optimal temperature, and mark it as the abnormal voltage function; Obtaining a heating time interval and a second-stage heating time based on a normal voltage function, an abnormal voltage function, and a time threshold acquisition method; The heating mode is set based on the first stage heating time, the heating time interval and the second stage heating time, and marked as a low power heating mode; Gas detection with low power heating.

[0005] Furthermore, obtaining the first stage heating time based on the optimal temperature and time threshold acquisition method includes the following sub-steps: Obtain the heating time for the resistor to heat to the optimal temperature in the current environment, marked as the first heating time; The first heating time is used as the experimental time to obtain the time threshold using the time threshold acquisition method, and is marked as the first stage heating time; Methods for obtaining time thresholds include: Obtaining a first amount of experimental time; Sort the experimental time from small to large and mark them as Hs1 to Hs i ; The smaller position ratio is obtained as follows: Ji=a1*S1, where Ji is the smaller position ratio, a1 is the smaller coefficient, the range of a1 is: (0, 0.5), and S1 is the first quantity; If the smaller position ratio is an integer, Hs (Ji) Mark as the smaller position value; if the smaller position ratio is not an integer, get the integers on the left and right sides of Ji, mark them as Jiz and Jiy respectively, and calculate Hs (Jiz) With Hs (Jiy) The mean of , marked as the smaller position value; Determine whether 0.5*S1 is an integer. If so, set Hs (0.5*S1) Mark it as the middle position value; if not, get the integers on the left and right sides of 0.5*S1, mark them as Jzz and Jzy respectively, and calculate Hs (Jzz) With Hs (Jzz) The mean of , marked as the middle position value; The larger coefficient is: a2=[(1 / a1)-1]*a1; where a2 is the larger coefficient; The larger position ratio is obtained as: Jx=a2*S1, where Jx is the smaller position ratio; If the larger position ratio is an integer, Hs (Jx) Mark as the larger position value; if the larger position ratio is not an integer, get the integers on the left and right sides of Jx, mark them as Jxz and Jxy respectively, and calculate Hs (Jxz) With Hs (Jxy)The mean of , marked as the smaller position value; The time threshold is obtained as follows: Sy=Wz+b1*(Wx-Wi) / 2; where Sy is the time threshold, Wx is the larger position value, Wi is the smaller position value, Wz is the middle position value, and b1 is the threshold adjustment coefficient.

[0006] Furthermore, when there is no detection gas, obtaining a function of the voltage change over time between the two ends of the resistor after heating to the optimal temperature and stopping heating, which is marked as a normal voltage function, includes the following sub-steps: Obtain the second number of times when heating is stopped at the optimal temperature and start timing, mark the timing time at this time as the first timing time, and obtain the voltage across the resistor at each interval of time T, and mark it as the normal voltage; Mark the normal voltage at each identical interval as the normal interval voltage; Divide the normal interval voltage range into c1 equal range intervals, marked as normal voltage division intervals; Count the frequency of each normal voltage division interval and mark it as normal division frequency; A histogram is drawn with the normal interval voltage as the X-axis, the normal division frequency as the Y-axis, and the normal voltage division interval as the histogram interval, and is marked as the normal voltage histogram; Label the second quantity S2; The first smaller frequency threshold is calculated as: F1=d1*S2 / c1; where F1 is the first divided frequency threshold, and d1 is the first smaller frequency ratio; Marking the normal division frequency that is less than or equal to the first smaller frequency threshold as the first smaller frequency; Mark the normal division frequencies on the leftmost and rightmost sides of the normal power consumption histogram as normal side frequencies; Determine whether the normal side frequency is the first smaller frequency. If so, delete the image portion of the normal voltage histogram where the normal side frequency is the first smaller frequency. Repeat the above operation for the deleted normal voltage histogram until it is not the first smaller frequency. Mark the normal voltage histogram after the stop as the filtered normal voltage histogram. The maximum value and the minimum value of the horizontal axis of the power consumption frequency of the normal division in the normal voltage histogram are obtained and marked as the first screening threshold and the second screening threshold respectively.

[0007] Furthermore, when there is no detection gas, obtaining a function of the voltage change over time between the two ends of the resistor after heating to the optimal temperature and stopping heating, which is marked as a normal voltage function, further includes the following sub-steps: Calculating an average of the normal interval voltages between the first screening threshold and the second screening threshold, and marking the average as the proposed normal interval voltage; obtaining proposed normal interval voltages of all normal interval voltages; With time as the X-axis data and voltage as the Y-axis data, a plane rectangular coordinate system is established and marked as the voltage coordinate system; Each proposed normal interval voltage and the corresponding first time are used as the ordinate and abscissa of the normal voltage coordinate point, and all normal voltage coordinate points are plotted in the normal voltage coordinate system; Perform polynomial fitting on all normal voltage coordinate points to obtain the normal voltage function.

[0008] Furthermore, when the test gas is present, obtaining a function of the voltage change over time between the two ends of the resistor after heating to the optimal temperature and stopping heating, which is marked as an abnormal voltage function, includes the following sub-steps: Obtaining the third number of times when heating is stopped and timing is started at the optimal temperature, marking the timing at this time as the second timing time, releasing the test gas at different second timing times, obtaining the voltage across the resistor at this time, and marking it as an abnormal voltage; Marking the abnormal voltage at each second timing time as an abnormal interval voltage; Divide the range of abnormal interval voltage into c2 equal range intervals, marked as abnormal voltage division intervals; Count the frequency of each abnormal voltage division interval and mark it as abnormal division frequency; A histogram is drawn with the abnormal interval voltage as the X-axis, the abnormal division frequency as the Y-axis, and the abnormal voltage division interval as the histogram interval, and is marked as the abnormal voltage histogram; Label the third quantity S3; The second smallest frequency threshold is calculated as: F2=d2*S3 / c2; where F2 is the second division frequency threshold, and d2 is the second smallest frequency ratio; Marking the abnormal division frequency that is less than or equal to the second smaller frequency threshold as the second smaller frequency; Mark the abnormal division frequencies on the far left and far right of the abnormal power consumption histogram as abnormal side frequencies; Determine whether the abnormal side frequency is the second smallest frequency. If so, delete the image portion of the abnormal voltage histogram where the abnormal side frequency is the second smallest frequency. Repeat the above operation for the deleted abnormal voltage histogram until it is not the second smallest frequency. Mark the abnormal voltage histogram after the stop as the screened abnormal voltage histogram. The maximum value and the minimum value of the abscissa of the frequency of abnormal divided power consumption in the abnormal voltage screening histogram are obtained and marked as the third screening threshold and the fourth screening threshold respectively.

[0009] Furthermore, when the test gas is present, obtaining a function of the voltage change over time between the two ends of the resistor after heating to the optimal temperature and stopping heating, which is marked as an abnormal voltage function, further includes the following sub-steps: Calculating an average of the abnormal interval voltages between the third screening threshold and the fourth screening threshold, and marking the average as the proposed abnormal interval voltage; obtaining proposed abnormal interval voltages of all abnormal interval voltages; Each proposed abnormal interval voltage and the corresponding second timing time are used as the ordinate and abscissa of the abnormal voltage coordinate point, and all abnormal voltage coordinate points are plotted in the voltage coordinate system; All abnormal voltage coordinate points are fitted with polynomials to obtain the abnormal voltage function.

[0010] Furthermore, obtaining the heating time interval and the second-stage heating time based on the normal voltage function, the abnormal voltage function, and the time threshold acquisition method includes the following sub-steps: Calculate the difference between all the first screening thresholds and the second screening thresholds, and mark them as threshold differences; Get the mean of the absolute values ​​of the threshold differences and mark it as the range difference threshold; Half of the range difference threshold is labeled as the discrimination threshold; In the voltage coordinate system, the difference between the ordinate value of the abnormal voltage function and the ordinate value of the normal voltage function at the same time is marked as the abnormal difference; When the abnormal difference is equal to the resolution difference, it corresponds to the minimum value of the horizontal axis in the voltage coordinate system, which is marked as the heating time interval; The heating time for heating the resistor to the optimal temperature after the heating time interval is marked as the second heating time; The second heating time is used as the experimental time and the time threshold is obtained using the time threshold acquisition method, which is marked as the second stage heating time.

[0011] Furthermore, setting a heating mode based on the first stage heating time, the heating time interval, and the second stage heating time, and marking it as a low power consumption heating mode, includes the following sub-steps: The gas detection sensor is set to start heating the resistor when working, stop heating after the first stage heating time, start heating after the heating time interval, stop heating after the second stage heating time, and then repeat starting heating after the heating time interval and stopping heating after the second stage heating time.

[0012] Furthermore, gas detection using a low-power heating method includes the following steps: In the case of low power heating mode and no detection gas, the voltage on both sides of the resistor is marked as the detection voltage; the timing time starting from the low power heating mode is marked as the working time; With the working time as the X-axis data and the detection voltage as the Y-axis data, a plane rectangular coordinate system is established and marked as the detection coordinate system; The detection voltage and the corresponding working time are used as the vertical coordinate and horizontal coordinate of the detection coordinate point respectively, and all the detection coordinate points are plotted in the detection coordinate system; Perform polynomial fitting on all detection coordinate points to obtain the detection voltage function; Obtain the working time and detection voltage of the gas detection sensor when it is working, and mark them as real-time time and real-time voltage respectively; Substituting the real time into the detection voltage function, the detection voltage obtained is marked as the predicted normal voltage; Calculate the difference between the real-time voltage and the predicted normal voltage, and mark it as the detection difference; If the detection difference is greater than the resolution threshold, a gas detection signal is issued.

[0013] The present application also provides an ultra-low power consumption control system for a gas detection sensor based on artificial intelligence, comprising: a temperature acquisition module, a time acquisition module, a first function acquisition module, a second function acquisition module, a heating interval acquisition module, a heating setting module, and a gas detection module; The temperature acquisition module is used to obtain the optimal detection temperature of the resistance when the sensor is working, which is marked as the optimal temperature; The time acquisition module is used to acquire the first stage heating time based on the optimal temperature and time threshold acquisition method; The first function acquisition module is used to obtain a function of the relationship between the voltage across the resistor and time after heating is stopped after the resistor reaches the optimal temperature when no gas is detected, which is marked as a normal voltage function; The second function acquisition module is used to obtain a relationship function of the voltage across the resistor over time after heating is stopped at the optimal temperature when the test gas is present, and mark it as an abnormal voltage function; The heating interval acquisition module is used to acquire the heating time interval and the second stage heating time based on the normal voltage function, the abnormal voltage function and the time threshold acquisition method; The heating setting module is used to set a heating mode based on the first stage heating time, the heating time interval and the second stage heating time, and is marked as a low power consumption heating mode; The gas detection module is used to perform gas detection in a low-power heating manner.

[0014] Beneficial effects of the present invention: The present invention obtains the first-stage heating time based on the optimal temperature and time threshold acquisition method, obtains the heating time interval and the second-stage heating time based on the normal voltage function, the abnormal voltage function and the time threshold acquisition method, sets the heating mode based on the first-stage heating time, the heating time interval and the second-stage heating time, and marks it as a low-power heating mode. Gas detection is performed in the low-power heating mode. The advantage is that the heating mode can be set based on the sensor itself, and normal detection can be performed while reducing power consumption. The present invention adopts a time threshold acquisition method, which has the advantage of being able to further screen the data, making the subsequent fitting function more accurate, and improving the accuracy of subsequent gas detection. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 It is a principle block diagram of the system of the present invention; Figure 2 is a schematic diagram of a normal voltage histogram of the present invention; Figure 3 A schematic diagram of a normal voltage histogram screening method according to the present invention; Figure 4 is a schematic diagram of a normal voltage function of the present invention; Figure 5 is a schematic diagram of an abnormal voltage function of the present invention; Figure 6 is a schematic diagram of a detection voltage function of the present invention; Figure 7 Flow chart of the steps of the method of the present invention. DETAILED DESCRIPTION

[0016] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0017] Example 1, please refer to Figure 1 As shown, the present application provides an ultra-low power consumption control system for a gas detection sensor based on artificial intelligence, including: a temperature acquisition module, a time acquisition module, a first function acquisition module, a second function acquisition module, a heating interval acquisition module, a heating setting module, and a gas detection module; The temperature acquisition module is used to obtain the optimal detection temperature of the resistor when the sensor is working, which is marked as the optimal temperature; The time acquisition module is used to obtain the first stage heating time based on the optimal temperature and time threshold acquisition method; The time acquisition module is configured with a time acquisition strategy, which includes: Obtain the heating time for the resistor to heat to the optimal temperature in the current environment, marked as the first heating time; The first heating time is used as the experimental time to obtain the time threshold using the time threshold acquisition method, and is marked as the first stage heating time; Methods for obtaining time thresholds include: Obtaining a first amount of experimental time; Sort the experimental time from small to large and mark them as Hs1 to Hs i ; The smaller position ratio is calculated as: Ji=a1*S1, where Ji is the smaller position ratio, a1 is the smaller coefficient, the range of a1 is (0, 0.5), and S1 is the first quantity. To select a value where the smaller position value is distributed in the smaller half-region, a1 is set between 0 and 0.5. An intermediate value is selected to ensure that the selected first position value is representative of the smaller half-region, preferably 0.25. If the smaller position ratio is an integer, Hs (Ji) Mark as the smaller position value; if the smaller position ratio is not an integer, get the integers on the left and right sides of Ji, mark them as Jiz and Jiy respectively, and calculate Hs (Jiz) With Hs (Jiy) The mean of , marked as the smaller position value; Determine whether 0.5*S1 is an integer. If so, set Hs (0.5*S1) Mark it as the middle position value; if not, get the integers on the left and right sides of 0.5*S1, mark them as Jzz and Jzy respectively, and calculate Hs (Jzz) With Hs (Jzz) The mean of , marked as the middle position value; The maximum coefficient is: a2=[(1 / a1)-1]*a1; where a2 is the maximum coefficient; in order to select the value with the largest position value distributed in the largest half area, a2 is set between 0.5 and 1. At the same time, in order to ensure that the proportion of a1 to the middle and a2 to the middle is equal, a2=0.75; The larger position ratio is obtained as: Jx=a2*S1, where Jx is the smaller position ratio; If the larger position ratio is an integer, Hs (Jx) Mark as the larger position value; if the larger position ratio is not an integer, get the integers on the left and right sides of Jx, mark them as Jxz and Jxy respectively, and calculate Hs (Jxz) With Hs (Jxy) The mean of , marked as the smaller position value; The time threshold is obtained as follows: Sy = Wz + b1 * (Wx - Wi) / 2; where Sy is the time threshold, Wx is the larger position value, Wi is the smaller position value, Wz is the middle position value, and b1 is the threshold adjustment coefficient; b1 is set based on the distribution of the data. The more concentrated the data, the smaller b1. Under the same conditions, the time spent should be basically the same, so the data is relatively concentrated. At the same time, because a1 is set to 0.25, when the distribution is uniform, b1 is 2 when Sy reaches its maximum value, and b1 is 1 when Sy reaches a value close to Wx. Therefore, b1 is a value between 1 and 2. An intermediate value between 1 and 2 is selected as a representative, and b1 is 1.5. In practical applications, for example, when the first number is 20, a1 is 0.25, a2 is 0.75, and b1 is 1.5, the smaller position ratio is: Ji=0.25*20=8, 8 is an integer, and Hs (8) The corresponding 6.16min is marked as a smaller position value; determine whether 0.5*20 is an integer, 10 is an integer, and Hs (10) The corresponding 6.25min is marked as the middle position value, and the larger position ratio is obtained as follows: Ji=0.75*20=16, 16 is an integer, and Hs (16) The corresponding 6.34min is marked as a larger position value; the time threshold is: Sy=6.25+1.5*(6.34-6.16) / 2=6.385min.

[0018] The first function acquisition module is used to obtain a function of the relationship between the voltage across the resistor and time after heating is stopped after the resistor reaches the optimal temperature when no gas is detected, which is marked as a normal voltage function; The first function acquisition module is configured with a first screening threshold and a second screening threshold acquisition strategy, and the first screening threshold and the second screening threshold acquisition strategy include: The second number of times the heating is stopped at the optimal temperature and the timing is started. The timing at this time is marked as the first timing time. The voltage across the resistor at this time is obtained at intervals of T and marked as normal voltage. Here, data is obtained at intervals of T to save data processing. A constant current measurement method is used. When gas is detected, the resistance will change. Gas can be detected by detecting the voltage change. Mark the normal voltage at each identical interval as the normal interval voltage; Divide the normal interval voltage range into c1 equal range intervals, marked as normal voltage division intervals; Count the frequency of each normal voltage division interval and mark it as normal division frequency; A histogram is drawn with the normal interval voltage as the X-axis, the normal division frequency as the Y-axis, and the normal voltage division interval as the histogram interval, and is marked as the normal voltage histogram; Label the second quantity S2; The first smaller frequency threshold is calculated as: F1=d1*S2 / c1; where F1 is the first division frequency threshold, and d1 is the first smaller frequency proportion; the first smaller frequency threshold means the data with a smaller proportion, and the total proportion is related to the second number and the number of divisions c1. d1 indicates that S2 after equal division is considered to be the smaller part, which can be set to 0.1; Marking the normal division frequency that is less than or equal to the first smaller frequency threshold as the first smaller frequency; Mark the normal division frequencies on the leftmost and rightmost sides of the normal power consumption histogram as normal side frequencies; Determine whether the normal side frequency is the first smaller frequency. If so, delete the image portion of the normal voltage histogram where the normal side frequency is the first smaller frequency. Repeat the above operation for the deleted normal voltage histogram until it is not the first smaller frequency. Mark the normal voltage histogram after the stop as the filtered normal voltage histogram. This method can filter the data to make the obtained voltage range more accurate. Obtain the maximum and minimum values ​​of the horizontal axis of the power consumption frequency of the normal division in the normal voltage histogram, and mark them as the first screening threshold and the second screening threshold respectively; In practical applications, please refer to Figure 2 and Figure 3 As shown, taking multiple normal voltages obtained at the same time as an example, the range of normal interval voltages is evenly divided into 7 equal range intervals. In the range of normal interval voltages, the second number is 180, and the first minimum frequency threshold is calculated as: F1=0.1*180 / 7=2.6. The calculation result can be rounded to one decimal place. At the same time, for example: the normal side frequency is 2, then 2 is less than 2.6, which is the first minimum frequency. Therefore, the part of 2 in the normal voltage histogram is deleted. Please refer to Figure 3 As shown, the first screening threshold and the second screening threshold are obtained as 3.12 and 3.22.

[0019] The first function acquisition module is configured with a first function acquisition strategy, which includes: Calculating an average of the normal interval voltages between the first screening threshold and the second screening threshold, and marking the average as the proposed normal interval voltage; obtaining proposed normal interval voltages of all normal interval voltages; With time as the X-axis data and voltage as the Y-axis data, a plane rectangular coordinate system is established and marked as the voltage coordinate system; Each proposed normal interval voltage and the corresponding first time are used as the ordinate and abscissa of the normal voltage coordinate point, and all normal voltage coordinate points are plotted in the normal voltage coordinate system; Perform polynomial fitting on all normal voltage coordinate points to obtain the normal voltage function; In actual application, please participate Figure 4 As shown, the normal voltage function is obtained.

[0020] The second function acquisition module is used to obtain the relationship function of the voltage across the resistor over time after heating to the optimal temperature and stopping heating when the detection gas is present, and mark it as an abnormal voltage function; The second function acquisition module is configured with a third screening threshold and a fourth screening threshold acquisition strategy, and the third screening threshold and the fourth screening threshold acquisition strategy include: Obtaining the third number of times when heating is stopped and timing is started at the optimal temperature, marking the timing at this time as the second timing time, releasing the test gas at different second timing times, obtaining the voltage across the resistor at this time, and marking it as an abnormal voltage; Marking the abnormal voltage at each second timing time as an abnormal interval voltage; Divide the range of abnormal interval voltage into c2 equal range intervals, marked as abnormal voltage division intervals; Count the frequency of each abnormal voltage division interval and mark it as abnormal division frequency; A histogram is drawn with the abnormal interval voltage as the X-axis, the abnormal division frequency as the Y-axis, and the abnormal voltage division interval as the histogram interval, and is marked as the abnormal voltage histogram; Label the third quantity S3; The second smallest frequency threshold is calculated as: F2=d2*S3 / c2; where F2 is the second division frequency threshold, and d2 is the second smallest frequency ratio; Marking the abnormal division frequency that is less than or equal to the second smaller frequency threshold as the second smaller frequency; Mark the abnormal division frequencies on the far left and far right of the abnormal power consumption histogram as abnormal side frequencies; Determine whether the abnormal side frequency is the second smallest frequency. If so, delete the image portion of the abnormal voltage histogram where the abnormal side frequency is the second smallest frequency. Repeat the above operation for the deleted abnormal voltage histogram until it is not the second smallest frequency. Mark the abnormal voltage histogram after the stop as the screened abnormal voltage histogram. The maximum and minimum values ​​of the horizontal axis of the abnormal power consumption frequency in the abnormal voltage screening histogram are obtained and marked as the third screening threshold and the fourth screening threshold respectively; the method for obtaining the third screening threshold and the fourth screening threshold is consistent with the method for obtaining the first screening threshold and the second screening threshold.

[0021] The second function acquisition module is configured with a second function acquisition strategy, which includes: Calculating an average of the abnormal interval voltages between the third screening threshold and the fourth screening threshold, and marking the average as the proposed abnormal interval voltage; obtaining proposed abnormal interval voltages of all abnormal interval voltages; Each proposed abnormal interval voltage and the corresponding second timing time are used as the ordinate and abscissa of the abnormal voltage coordinate point, and all abnormal voltage coordinate points are plotted in the voltage coordinate system; Perform polynomial fitting on all abnormal voltage coordinate points to obtain abnormal voltage function; In actual application, please participate Figure 5 As shown in the figure, the abnormal voltage function obtained is that at high temperatures, the resistor material reacts with the detection gas to increase the resistance. Therefore, under constant current conditions, the voltage increases compared to the normal voltage function. However, as time goes by, the temperature decreases, which reduces the effect.

[0022] The heating interval acquisition module is used to acquire the heating time interval and the second stage heating time based on the normal voltage function, the abnormal voltage function and the time threshold acquisition method; The heating interval acquisition module configures the heating interval acquisition strategy, which includes: Calculate the difference between all the first screening thresholds and the second screening thresholds, and mark them as threshold differences; Get the mean of the absolute values ​​of the threshold differences and mark it as the range difference threshold; Mark half of the range difference threshold as the discrimination threshold; obtain the normal voltage distribution threshold, if it exceeds the threshold, the detection gas may be detected and the voltage may change; In the voltage coordinate system, the difference between the ordinate value of the abnormal voltage function and the ordinate value of the normal voltage function at the same time is marked as the abnormal difference; When the abnormal difference is equal to the resolution difference, the voltage coordinate system corresponds to the minimum value of the horizontal axis, which is marked as the heating time interval; the longest heating stop time can be obtained without affecting the voltage judgment of the detected gas; The heating time for heating the resistor to the optimal temperature after the heating time interval is marked as the second heating time; The second heating time is used as the experimental time and the time threshold is obtained using the time threshold acquisition method. The time threshold is marked as the second stage heating time, so that the accurate second stage heating time can be obtained.

[0023] The heating setting module is used to set the heating mode based on the first stage heating time, the heating time interval and the second stage heating time, and is marked as a low power consumption heating mode; In practical applications, for example, to obtain a resolution difference of 0.1V, please refer to Figure 5 As shown, the abnormal difference gradually decreases with time. When it is 6.1 minutes, the abnormal difference is less than 0.1V. Therefore, the heating time interval is 6.1 minutes and the second stage heating time is 5.8 minutes.

[0024] The heating setting module is configured with a heating setting strategy, which includes: The gas detection sensor is set to start heating the resistor when it is working, stop heating after the first stage heating time, start heating after the heating time interval, stop heating after the second stage heating time, and then repeat starting heating after the heating time interval and stopping heating after the second stage heating time. This method saves heating power consumption to the greatest extent; In actual applications, the first-stage heating time is 7.2 minutes. The gas detection sensor is set to start heating the resistor when it is working, stop heating after 7.2 minutes, start heating after 6.1 minutes, stop heating after 5.8 minutes, and then repeat the process of starting heating after 6.1 minutes and stopping heating after 5.8 minutes. This method saves heating power consumption to the greatest extent.

[0025] The gas detection module is used to detect gas using a low-power heating method; The gas detection module is configured with a gas detection strategy, which includes: In the case of low power heating mode and no detection gas, the voltage on both sides of the resistor is marked as the detection voltage; the timing time starting from the low power heating mode is marked as the working time; With the working time as the X-axis data and the detection voltage as the Y-axis data, a plane rectangular coordinate system is established and marked as the detection coordinate system; The detection voltage and the corresponding working time are used as the vertical coordinate and horizontal coordinate of the detection coordinate point respectively, and all the detection coordinate points are plotted in the detection coordinate system; Perform polynomial fitting on all detection coordinate points to obtain the detection voltage function; Obtain the working time and detection voltage of the gas detection sensor when it is working, and mark them as real-time time and real-time voltage respectively; Substituting the real time into the detection voltage function, the detection voltage obtained is marked as the predicted normal voltage; Calculate the difference between the real-time voltage and the predicted normal voltage, and mark it as the detection difference; If the detection difference is greater than the discrimination threshold, a gas detection signal is issued; the discrimination threshold is generally within the normal range of the upper range, and if the voltage change exceeds this range, it can be determined to be caused by the detection gas; In actual application, please participate Figure 6As shown, it should be noted that since the subsequent heating starts after the heating time interval and stops after the second stage heating time, this method saves heating power consumption to the greatest extent, so the function image is basically the same, and this section of the function image can be used to judge the subsequent function changes. For example, at 22.1min, 22.1-6.1-5.8=10.2min, which actually corresponds to 10.2min. Substitute it into the detection voltage function, which is 2.2v, and the real-time voltage is 2.6v. The detection difference is 0.4v, and 0.4v is greater than the resolution threshold of 0.1v, so a gas detection signal is issued.

[0026] Example 2, please refer to Figure 7 As shown, the present application provides an ultra-low power consumption control method for a gas detection sensor based on artificial intelligence, comprising the following steps: Step S1, obtaining the optimal detection temperature of the resistance when the sensor is working, marked as the optimal temperature; Step S2, obtaining the first stage heating time based on the optimal temperature and time threshold acquisition method; Step S2 includes the following sub-steps: Step S201, obtaining the heating time for the resistor to heat to the optimal temperature in the current environment, marked as the first heating time; Step S202: Using the first heating time as the experimental time, a time threshold is obtained using a time threshold obtaining method, and the time threshold is marked as the first stage heating time. Step S202 includes the following sub-steps: Step S20201, obtaining a first amount of experimental time; Step S20202: sort the experimental time from small to large and mark them as Hs1 to Hs i ; Step S20203, obtaining the smaller position ratio as follows: Ji=a1*S1, where Ji is the smaller position ratio, a1 is the smaller coefficient, the range of a1 is: (0, 0.5), and S1 is the first quantity; Step S20204: If the smaller position ratio is an integer, Hs (Ji) Mark as the smaller position value; if the smaller position ratio is not an integer, get the integers on the left and right sides of Ji, mark them as Jiz and Jiy respectively, and calculate Hs (Jiz) With Hs (Jiy) The mean of , marked as the smaller position value; Step S20205, determine whether 0.5*S1 is an integer, if so, set Hs (0.5*S1) Mark it as the middle position value; if not, get the integers on the left and right sides of 0.5*S1, mark them as Jzz and Jzy respectively, and calculate Hs (Jzz) With Hs (Jzz) The mean of , marked as the middle position value; Step S20206, the larger coefficient is obtained as follows: a2=[(1 / a1)-1]*a1; where a2 is the larger coefficient; Step S20207, obtaining the larger position ratio as: Jx=a2*S1, where Jx is the smaller position ratio; Step S20208: If the larger position ratio is an integer, Hs (Jx) Mark as the larger position value; if the larger position ratio is not an integer, get the integers on the left and right sides of Jx, mark them as Jxz and Jxy respectively, and calculate Hs (Jxz) With Hs (Jxy) The mean of , marked as the smaller position value; Step S20209, the time threshold is obtained as: Sy=Wz+b1*(Wx-Wi) / 2; where Sy is the time threshold, Wx is the larger position value, Wi is the smaller position value, Wz is the middle position value, and b1 is the threshold adjustment coefficient.

[0027] Step S3, when no gas is detected, obtain a function of the voltage across the resistor over time after heating is stopped at the optimal temperature, which is marked as a normal voltage function. Step S3 includes the following sub-steps: Step S301, obtaining a second number of times of stopping heating at the optimal temperature and starting timing, marking the timing at this time as the first timing time, and obtaining the voltage across the resistor at each interval T time, marking it as the normal voltage; Step S302, marking the normal voltage in each same interval as the normal interval voltage; Step S303 , dividing the normal interval voltage range into c1 equal range intervals, marked as normal voltage division intervals; Step S304, counting the frequency of each normal voltage division interval and marking it as normal division frequency; Step S305 , plotting a histogram with the normal interval voltage as the X-axis, the normal division frequency as the Y-axis, and the normal voltage division interval as the histogram interval, and marking it as a normal voltage histogram; Step S306, marking the second quantity as S2; Step S307: Calculate the first smaller frequency threshold as: F1=d1*S2 / c1; where F1 is the first frequency threshold, and d1 is the first smaller frequency ratio; Step S308, marking the normal division frequency that is less than or equal to the first smaller frequency threshold as the first smaller frequency; Step S309 , marking the normal division frequencies on the leftmost and rightmost sides of the normal power consumption histogram as normal side frequencies; Step S310, determining whether the normal side frequency is the first smaller frequency; if so, deleting the image portion of the normal voltage histogram where the normal side frequency is the first smaller frequency, and repeating the above operation for the deleted normal voltage histogram until it is not, and then stopping; marking the normal voltage histogram after stopping as a filtered normal voltage histogram; Step S311, obtaining the maximum value and the minimum value of the horizontal axis of the power consumption frequency of the normal division in the normal voltage histogram, marking them as the first screening threshold and the second screening threshold respectively; Step S312, calculating an average of the normal interval voltages between the first screening threshold and the second screening threshold, and marking it as a proposed normal interval voltage; Step S313, obtaining the proposed normal interval voltage of all normal interval voltages; Step S314: establish a plane rectangular coordinate system with time as X-axis data and voltage as Y-axis data, marked as voltage coordinate system; Step S315 , using each proposed normal interval voltage and the corresponding first time as the ordinate and abscissa of the normal voltage coordinate point, and plotting all the normal voltage coordinate points in the normal voltage coordinate system; Step S316 , performing polynomial fitting on all normal voltage coordinate points to obtain a normal voltage function.

[0028] Step S4, when the test gas is present, obtain a function of the voltage change over time between the two ends of the resistor after heating is stopped at the optimal temperature, and mark it as an abnormal voltage function; Step S4 includes the following sub-steps: Step S401: obtaining a third number of times of stopping heating and starting timing at the optimal temperature, marking the timing at this time as a second timing time, releasing the test gas at different second timing times, obtaining the voltage across the resistor at this time, and marking it as an abnormal voltage; Step S402, marking the abnormal voltage during each second timing period as an abnormal interval voltage; Step S403, dividing the range of abnormal interval voltage into c2 equal range intervals, marked as abnormal voltage division intervals; Step S404, counting the frequency of each abnormal voltage division interval and marking it as abnormal division frequency; Step S405 , plotting a histogram with the abnormal interval voltage as the X-axis, the abnormal division frequency as the Y-axis, and the abnormal voltage division interval as the histogram interval, and marking it as abnormal voltage histogram; Step S406, marking the third quantity as S3; Step S407: Calculate the second smaller frequency threshold as: F2 = d2 * S3 / c2; where F2 is the second frequency threshold, and d2 is the second smaller frequency ratio; Step S408: Mark the abnormal classification frequency that is less than or equal to the second smaller frequency threshold as the second smaller frequency; Step S409: Mark the abnormal division frequencies on the leftmost and rightmost sides of the abnormal power consumption histogram as abnormal side frequencies; Step S410, determining whether the abnormal side frequency is the second smallest frequency; if so, deleting the image portion of the abnormal voltage histogram where the abnormal side frequency is the second smallest frequency, and repeating the above operation for the deleted abnormal voltage histogram until it is not the second smallest frequency, and then stopping; marking the abnormal voltage histogram after stopping as a screened abnormal voltage histogram; Step S411, obtaining the maximum value and the minimum value of the horizontal axis of the abnormal divided power consumption frequency in the abnormal voltage screening histogram, marking them as the third screening threshold and the fourth screening threshold respectively; Step S412, calculating the average of the abnormal interval voltages between the third screening threshold and the fourth screening threshold, and marking it as the proposed abnormal interval voltage; Step S413, obtaining the proposed abnormal interval voltage of all abnormal interval voltages; Step S414, using each proposed abnormal interval voltage and the corresponding second timing time as the ordinate and abscissa of the abnormal voltage coordinate point, and plotting all abnormal voltage coordinate points in the voltage coordinate system; Step S415 : Perform polynomial fitting on all abnormal voltage coordinate points to obtain an abnormal voltage function.

[0029] Step S5, obtaining the heating time interval and the second stage heating time based on the normal voltage function, the abnormal voltage function and the time threshold acquisition method; Step S5 includes the following sub-steps: Step S501, calculating the difference between all first screening thresholds and second screening thresholds, and marking them as threshold differences; Step S502: Obtain the mean of the absolute values ​​of the threshold differences and mark it as the range difference threshold; Step S503, marking half of the range difference threshold as the discrimination threshold; Step S504: in the voltage coordinate system, marking the difference between the ordinate value of the abnormal voltage function and the ordinate value of the normal voltage function at the same time as an abnormal difference; Step S505, when the abnormal difference is equal to the resolution difference, the voltage coordinate system corresponds to the minimum value of the horizontal axis, which is marked as the heating time interval; Step S506, heating the resistor to the optimal temperature for a heating time after the heating time interval, which is marked as a second heating time; Step S507 : Using the second heating time as the experimental time, a time threshold is obtained using a time threshold obtaining method, and the time threshold is marked as the second stage heating time.

[0030] Step S6, setting a heating mode based on the first stage heating time, the heating time interval, and the second stage heating time, and marking it as a low power consumption heating mode; Step S6 includes the following sub-steps: Step S601, set the gas detection sensor to start heating the resistor when it is working, stop heating after the first stage heating time, start heating after the heating time interval, stop heating after the second stage heating time, and then repeat starting heating after the heating time interval and stopping heating after the second stage heating time.

[0031] Step S7, performing gas detection in a low-power heating manner; Step S7 includes the following sub-steps: Step S701: In the case of low-power heating mode and no detection gas, the voltage across the resistor is marked as the detection voltage; the time from the start of the low-power heating mode is marked as the working time; Step S702 , using the working time as the X-axis data and the detection voltage as the Y-axis data, a plane rectangular coordinate system is established, which is marked as the detection coordinate system; Step S703 , using the detection voltage and the corresponding working time as the ordinate and abscissa of the detection coordinate point, respectively, and plotting all the detection coordinate points in the detection coordinate system; Step S704, performing polynomial fitting on all detection coordinate points to obtain a detection voltage function; Step S705, obtaining the working time and detection voltage of the gas detection sensor when it is working, and marking them as real-time time and real-time voltage respectively; Step S706 , substituting the real time into the detection voltage function to obtain the detection voltage and marking it as the predicted normal voltage; Step S707, calculating the difference between the real-time voltage and the predicted normal voltage, and marking it as a detection difference; Step S708: If the detection difference is greater than the resolution threshold, a gas detection signal is issued.

[0032] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code. The storage medium may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0033] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

Claims

1. An ultra-low power consumption control method for gas detection sensors based on artificial intelligence, characterized in that: The steps include: Get the optimal detection temperature of the resistance when the sensor is working, and mark it as the optimal temperature; Obtain the first stage heating time based on the optimal temperature and time threshold acquisition method; When there is no detection gas, obtain the relationship function between the voltage across the resistor and time after heating is stopped after the optimal temperature is reached, and mark it as the normal voltage function; When the test gas is present, obtain the relationship function between the voltage across the resistor and time after heating is stopped after the resistor is heated to the optimal temperature, and mark it as the abnormal voltage function; Obtaining a heating time interval and a second-stage heating time based on a normal voltage function, an abnormal voltage function, and a time threshold acquisition method; The heating mode is set based on the first stage heating time, the heating time interval and the second stage heating time, and marked as a low power heating mode; Gas detection with low power heating.

2. The ultra-low power consumption control method of a gas detection sensor based on artificial intelligence according to claim 1, characterized in that: Acquiring the first-stage heating time based on the optimal temperature and time threshold acquisition method includes the following sub-steps: Obtain the heating time for the resistor to heat to the optimal temperature in the current environment, marked as the first heating time; The first heating time is used as the experimental time to obtain the time threshold using the time threshold acquisition method, and is marked as the first stage heating time; Methods for obtaining time thresholds include: Obtaining a first amount of experimental time; Sort the experimental time from small to large and mark them as Hs1 to Hs i ; The smaller position ratio is obtained as follows: Ji=a1*S1, where Ji is the smaller position ratio, a1 is the smaller coefficient, the range of a1 is: (0, 0.5), and S1 is the first quantity; If the smaller position ratio is an integer, Hs (Ji) Mark as the smaller position value; if the smaller position ratio is not an integer, get the integers on the left and right sides of Ji, mark them as Jiz and Jiy respectively, and calculate Hs (Jiz) With Hs (Jiy) The mean of , marked as the smaller position value; Determine whether 0.5*S1 is an integer. If so, set Hs (0.5*S1) Mark it as the middle position value; if not, get the integers on the left and right sides of 0.5*S1, mark them as Jzz and Jzy respectively, and calculate Hs (Jzz) With Hs (Jzz) The mean of , marked as the middle position value; The larger coefficient is: a2=[(1 / a1)-1]*a1; where a2 is the larger coefficient; The larger position ratio is obtained as: Jx=a2*S1, where Jx is the smaller position ratio; If the larger position ratio is an integer, Hs (Jx) Mark as the larger position value; if the larger position ratio is not an integer, get the integers on the left and right sides of Jx, mark them as Jxz and Jxy respectively, and calculate Hs (Jxz) With Hs (Jxy) The mean of , marked as the smaller position value; The time threshold is obtained as follows: Sy=Wz+b1*(Wx-Wi) / 2; where Sy is the time threshold, Wx is the larger position value, Wi is the smaller position value, Wz is the middle position value, and b1 is the threshold adjustment coefficient.

3. The ultra-low power consumption control method of a gas detection sensor based on artificial intelligence according to claim 2, characterized in that: When there is no detection gas, obtaining a function of the voltage change between the two ends of the resistor and time after heating is stopped at the optimal temperature, which is marked as a normal voltage function, includes the following sub-steps: Obtain the second number of times when heating is stopped at the optimal temperature and start timing, mark the timing time at this time as the first timing time, and obtain the voltage across the resistor at each interval of time T, and mark it as the normal voltage; Mark the normal voltage at each identical interval as the normal interval voltage; Divide the normal interval voltage range into c1 equal range intervals, marked as normal voltage division intervals; Count the frequency of each normal voltage division interval and mark it as normal division frequency; A histogram is drawn with the normal interval voltage as the X-axis, the normal division frequency as the Y-axis, and the normal voltage division interval as the histogram interval, and is marked as the normal voltage histogram; Label the second quantity S2; The first smaller frequency threshold is calculated as: F1=d1*S2 / c1; where F1 is the first divided frequency threshold, and d1 is the first smaller frequency ratio; Marking the normal division frequency that is less than or equal to the first smaller frequency threshold as the first smaller frequency; Mark the normal division frequencies on the leftmost and rightmost sides of the normal power consumption histogram as normal side frequencies; Determine whether the normal side frequency is the first smaller frequency. If so, delete the image portion of the normal voltage histogram where the normal side frequency is the first smaller frequency. Repeat the above operation for the deleted normal voltage histogram until it is not the first smaller frequency. Mark the normal voltage histogram after the stop as the filtered normal voltage histogram. The maximum value and the minimum value of the horizontal axis of the power consumption frequency of the normal division in the normal voltage histogram are obtained and marked as the first screening threshold and the second screening threshold respectively.

4. The ultra-low power consumption control method of a gas detection sensor based on artificial intelligence according to claim 3, characterized in that: When there is no detection gas, obtaining a function of the voltage change between the two ends of the resistor and time after heating is stopped at the optimal temperature, which is marked as a normal voltage function, also includes the following sub-steps: Calculating an average of the normal interval voltages between the first screening threshold and the second screening threshold, and marking the average as the proposed normal interval voltage; obtaining proposed normal interval voltages of all normal interval voltages; With time as the X-axis data and voltage as the Y-axis data, a plane rectangular coordinate system is established and marked as the voltage coordinate system; Each proposed normal interval voltage and the corresponding first time are used as the ordinate and abscissa of the normal voltage coordinate point, and all normal voltage coordinate points are plotted in the normal voltage coordinate system; Perform polynomial fitting on all normal voltage coordinate points to obtain the normal voltage function.

5. The ultra-low power consumption control method of a gas detection sensor based on artificial intelligence according to claim 4, characterized in that: When the test gas is present, obtaining a function of the voltage change over time at both ends of the resistor after heating is stopped at the optimal temperature, which is marked as an abnormal voltage function, includes the following sub-steps: Obtaining the third number of times when heating is stopped and timing is started at the optimal temperature, marking the timing at this time as the second timing time, releasing the test gas at different second timing times, obtaining the voltage across the resistor at this time, and marking it as an abnormal voltage; Marking the abnormal voltage at each second timing time as an abnormal interval voltage; Divide the range of abnormal interval voltage into c2 equal range intervals, marked as abnormal voltage division intervals; Count the frequency of each abnormal voltage division interval and mark it as abnormal division frequency; A histogram is drawn with the abnormal interval voltage as the X-axis, the abnormal division frequency as the Y-axis, and the abnormal voltage division interval as the histogram interval, and is marked as the abnormal voltage histogram; Label the third quantity S3; The second smallest frequency threshold is calculated as: F2=d2*S3 / c2; where F2 is the second division frequency threshold, and d2 is the second smallest frequency ratio; Marking the abnormal division frequency that is less than or equal to the second smaller frequency threshold as the second smaller frequency; Mark the abnormal division frequencies on the far left and far right of the abnormal power consumption histogram as abnormal side frequencies; Determine whether the abnormal side frequency is the second smallest frequency. If so, delete the image portion of the abnormal voltage histogram where the abnormal side frequency is the second smallest frequency. Repeat the above operation for the deleted abnormal voltage histogram until it is not the second smallest frequency. Mark the abnormal voltage histogram after the stop as the screened abnormal voltage histogram. The maximum value and the minimum value of the abscissa of the frequency of abnormal divided power consumption in the abnormal voltage screening histogram are obtained and marked as the third screening threshold and the fourth screening threshold respectively.

6. The ultra-low power consumption control method of a gas detection sensor based on artificial intelligence according to claim 5, characterized in that: When the test gas is present, obtaining a function of the voltage change over time at both ends of the resistor after heating to the optimal temperature and stopping heating, which is marked as an abnormal voltage function, also includes the following sub-steps: Calculating an average of the abnormal interval voltages between the third screening threshold and the fourth screening threshold, and marking the average as the proposed abnormal interval voltage; obtaining proposed abnormal interval voltages of all abnormal interval voltages; Each proposed abnormal interval voltage and the corresponding second timing time are used as the ordinate and abscissa of the abnormal voltage coordinate point, and all abnormal voltage coordinate points are plotted in the voltage coordinate system; All abnormal voltage coordinate points are fitted with polynomials to obtain the abnormal voltage function.

7. The ultra-low power consumption control method of a gas detection sensor based on artificial intelligence according to claim 6, characterized in that: Acquiring the heating time interval and the second-stage heating time based on the normal voltage function, the abnormal voltage function, and the time threshold acquisition method includes the following sub-steps: Calculate the difference between all the first screening thresholds and the second screening thresholds, and mark them as threshold differences; Get the mean of the absolute values ​​of the threshold differences and mark it as the range difference threshold; Half of the range difference threshold is labeled as the discrimination threshold; In the voltage coordinate system, the difference between the ordinate value of the abnormal voltage function and the ordinate value of the normal voltage function at the same time is marked as the abnormal difference; When the abnormal difference is equal to the resolution difference, it corresponds to the minimum value of the horizontal axis in the voltage coordinate system, which is marked as the heating time interval; The heating time for heating the resistor to the optimal temperature after the heating time interval is marked as the second heating time; The second heating time is used as the experimental time and the time threshold is obtained using the time threshold acquisition method, which is marked as the second stage heating time.

8. The ultra-low power consumption control method of a gas detection sensor based on artificial intelligence according to claim 7, characterized in that: The heating mode is set based on the first stage heating time, the heating time interval, and the second stage heating time. The low power consumption heating mode includes the following sub-steps: The gas detection sensor is set to start heating the resistor when working, stop heating after the first stage heating time, start heating after the heating time interval, stop heating after the second stage heating time, and then repeat starting heating after the heating time interval and stopping heating after the second stage heating time.

9. The ultra-low power consumption control method of a gas detection sensor based on artificial intelligence according to claim 8, characterized in that: Gas detection using low-power heating includes the following steps: In the case of low power heating mode and no detection gas, the voltage on both sides of the resistor is marked as the detection voltage; the timing time starting from the low power heating mode is marked as the working time; With the working time as the X-axis data and the detection voltage as the Y-axis data, a plane rectangular coordinate system is established and marked as the detection coordinate system; The detection voltage and the corresponding working time are used as the vertical coordinate and horizontal coordinate of the detection coordinate point respectively, and all the detection coordinate points are plotted in the detection coordinate system; Perform polynomial fitting on all detection coordinate points to obtain the detection voltage function; Obtain the working time and detection voltage of the gas detection sensor when it is working, and mark them as real-time time and real-time voltage respectively; Substituting the real time into the detection voltage function, the detection voltage obtained is marked as the predicted normal voltage; Calculate the difference between the real-time voltage and the predicted normal voltage, and mark it as the detection difference; If the detection difference is greater than the resolution threshold, a gas detection signal is issued.

10. An ultra-low power consumption control system for a gas detection sensor based on artificial intelligence, used to implement the ultra-low power consumption control method for a gas detection sensor based on artificial intelligence according to any one of claims 1 to 9, characterized in that: It includes a temperature acquisition module, a time acquisition module, a first function acquisition module, a second function acquisition module, a heating interval acquisition module, a heating setting module and a gas detection module; The temperature acquisition module is used to obtain the optimal detection temperature of the resistance when the sensor is working, which is marked as the optimal temperature; The time acquisition module is used to acquire the first stage heating time based on the optimal temperature and time threshold acquisition method; The first function acquisition module is used to obtain a function of the relationship between the voltage across the resistor and time after heating is stopped after the resistor reaches the optimal temperature when no gas is detected, which is marked as a normal voltage function; The second function acquisition module is used to obtain a relationship function of the voltage across the resistor over time after heating is stopped at the optimal temperature when the test gas is present, and mark it as an abnormal voltage function; The heating interval acquisition module is used to acquire the heating time interval and the second stage heating time based on the normal voltage function, the abnormal voltage function and the time threshold acquisition method; The heating setting module is used to set a heating mode based on the first stage heating time, the heating time interval and the second stage heating time, and is marked as a low power consumption heating mode; The gas detection module is used to perform gas detection in a low-power heating manner.

Citation Information

Patent Citations

  • Ultra-low power consumption wireless transmission gas detector

    CN119827723A

  • Gas concentration detection method and system, computer equipment and storage medium

    CN111521647A

  • Gas identification and concentration detection method and system based on machine learning

    CN120522112A

  • Method for driving semiconductor gas sensor

    JP2007206087A

  • Eco-friendly solvent-free flame retardant UV curing resin

    KR102873558B1