System and method for extending gas sensor user life

By designing the power supply control circuit and the communication port control circuit, the precise power supply control of the gas sensor is realized, the problem of the sensor's preheating time affects the life of the life, the service life of the equipment is extended and the accuracy of the data collection is improved.

CN119376284APending Publication Date: 2025-01-28SHENZHEN CITY SASWELL TECH DEV
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411494032.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The gas sensor requires preheating time before working, which leads to a large impact on the service life of the equipment due to working time and there is room for extending its service life.

Method used

A system is designed, including the power control circuit and the communication port control circuit. The power supply instructions are issued by controlling the module through the control module, the power supply status of the gas sensor is accurately controlled, the preheating and power -off and dormancy are achieved in advance, and the life of the equipment is extended.

Benefits of technology

By accurately control the power supply status of the gas sensor, the service life of the equipment is extended, and the accuracy of data collection and the true effectiveness of the detection data are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119376284A_ABST
    Figure CN119376284A_ABST
Patent Text Reader

Abstract

The invention discloses a system and method for prolonging the service life of a gas sensor, and relates to the technical field of sensors, the system comprises a power supply control circuit, a communication port control circuit and a control module; the power supply control circuit comprises a first switch tube and a second switch tube, the first switch tube is connected in series between a power supply and a power supply end of a main control chip of the gas sensor, and the first switch tube is used for controlling the second switch tube to be switched on and switched off based on a power supply on-off control instruction of the control module; the communication port control circuit comprises a clock line level conversion unit and a data line level conversion unit, the controlled end of the clock line level conversion unit is connected with the control module, and the output end of the clock line level conversion unit is connected with the clock transmission end of a main control chip of the gas sensor; the data line level conversion unit is used for controlling the data transmission level and the communication frequency of the gas sensor; the service life of the gas sensor is prolonged on the basis that the sensor data collected by the gas sensor is real and effective.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of sensor technology, and in particular to a system and method for extending the service life of a gas sensor. Background Art

[0002] Currently, gas sensors are used to detect specific targets, and most gas sensors have a warm-up time, that is, they need to be powered on and work for a period of time before the collected sensor data is truly valid; in order to continuously measure valid data, the gas sensor must remain powered on, which leads to the problem of gas sensor life. The general life of gas sensors is greatly affected by working hours, so there is room for improvement. Summary of the invention

[0003] In order to extend the service life of a gas sensor on the basis that sensor data collected by the gas sensor is authentic and valid, the present application provides a system and method for extending the service life of a gas sensor.

[0004] In the first aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A system for extending the service life of a gas sensor, comprising a power supply control circuit, a communication port control circuit and a control module; The power control circuit includes a first switch tube and a second switch tube, the first switch tube is connected in series between the power supply and the power supply end of the main control chip of the gas sensor, the on-off control end of the first switch tube is connected to the current control output end of the second switch tube, and the on-off control end of the second switch tube is connected to the control module, and is used to control the on and off of the second switch tube based on the power on and off control instruction of the control module; The communication port control circuit includes a clock line level conversion unit and a data line level conversion unit. The controlled end of the clock line level conversion unit is connected to the control module, and the output end is connected to the clock transmission end of the main control chip of the gas sensor. The controlled end of the data line level conversion unit is connected to the control module, and the output end is connected to the data transmission end of the main control chip of the gas sensor, so as to control the data transmission level and communication frequency of the gas sensor.

[0005] By adopting the above technical solution, when the control module issues a power on / off control instruction, the second switch tube is turned on or off according to the instruction, thereby controlling the on / off state of the second switch tube to realize accurate power supply to the main control chip of the gas sensor, so that the user can control the gas sensor to be powered in advance according to the specified collection cycle or collection time (which can be logically set through the software program at the control terminal) in advance through the power control circuit according to the actual gas concentration detection needs when gas data needs to be collected, complete preheating, and ensure the normal execution of gas data detection and collection work. When gas detection is not required, the gas sensor is controlled to be turned off and not work, and the power is turned off and dormant, thereby realizing the power-on state control of the gas sensor; it is beneficial to use and maintain other sensors and extend the service life of the gas sensor; further, through the communication port control circuit, during the working process of the gas sensor, in conjunction with the control of the control module, the gas sensor can be selectively read and transmitted data, and the level of the external power supply is converted into the applicable signal level of the main control chip of the gas sensor (inconsistent levels will cause communication data errors and failures), and the digital communication between the main control chip and the external control terminal is stable and normal, which is beneficial to improve the data collection accuracy of the gas sensor and the detection data is true and valid.

[0006] In a preferred example of the present application: the first switch tube includes a first MOS tube, the second switch tube includes a transistor, the source of the first MOS tube is connected to the power supply, the drain of the first MOS tube is connected to the power supply end of the main control chip, the drain of the first MOS tube is connected to the collector of the transistor, the base of the transistor is connected to the first communication control end of the control terminal, and the emitter of the transistor is grounded.

[0007] By adopting the above technical solution, precise control of power supply is achieved and system reliability is enhanced. Specifically, the first MOS tube acts as a main switch, which can efficiently control the power supply of the main control chip, ensuring rapid power-on when needed and rapid power-off when not needed, thereby reducing unnecessary energy consumption. At the same time, the triode acts as an auxiliary switch and works in conjunction with the first MOS tube, further reducing the static power consumption of the system and improving the overall energy efficiency. Through the design of dual switch tubes, the system's anti-interference ability in a high noise environment is significantly improved.

[0008] In a preferred example of the present application: the clock line level conversion unit includes a second MOS tube and a clock bias resistor, the gate of the second MOS tube is connected to the second communication control end of the control terminal, the source of the second MOS tube is connected to the power supply, and the drain of the second MOS tube is connected to the clock transmission end of the main control chip; the data line level conversion unit includes a third MOS tube and a data bias resistor, the gate of the third MOS tube is connected to the third communication control end of the control terminal, the source of the third MOS tube is connected to the power supply, and the drain of the third MOS tube is connected to the clock transmission end of the main control chip.

[0009] By adopting the above technical solution, it is conducive to achieving accurate level conversion and low power consumption design. Specifically, the second MOS tube and the third MOS tube are used to control the level conversion of the clock line and the data line respectively, ensuring the stable transmission of the signal between different voltage levels, and the use of the clock bias resistor and the data bias resistor ensures that the impedance of the current path is moderate during the signal transmission process, thereby reducing unnecessary power consumption.

[0010] In the second aspect, the invention objective of the present application is achieved by adopting the following technical solutions: The method for extending the service life of a gas sensor is applied to the system for extending the service life of a gas sensor as described above, and the method comprises: The preheating mode of the gas sensor is started by the control terminal, and the gas sensor starts to preheat; The control terminal detects the preheating state of the gas sensor, and when the preheating time reaches a preset preheating time threshold, the control terminal switches the gas sensor to the working mode; In working mode, the control terminal periodically collects data from the gas sensor and determines the validity of the data; When the number of valid data collected continuously reaches a preset threshold, the control terminal switches the gas sensor to sleep mode; in sleep mode, the control terminal wakes up the gas sensor based on the wake-up instruction, re-enters the preheating mode, and prepares for the next data collection.

[0011] By adopting the above technical solution, the control terminal starts the preheating mode of the gas sensor and detects the preheating status to ensure that the sensor switches to the working mode only after reaching the preset preheating time threshold, thereby ensuring that the sensor has been fully preheated before collecting data and accurately controlling the preheating process. In the working mode, the control terminal periodically collects data from the gas sensor and determines the validity of the data to ensure that the collected data is true and valid, thereby avoiding the impact of invalid data on subsequent processing. In combination with the intelligent sleep management method, unnecessary energy consumption is reduced, which is beneficial to extending the service life of the gas sensor. Through the dynamic wake-up mechanism, the gas sensor can quickly resume normal working state when needed.

[0012] In a preferred example of the present application, the preheating mode of the gas sensor is started by the control terminal, and the gas sensor starts to preheat, specifically including: The control terminal detects the current ambient temperature and humidity; The control terminal adjusts the preheating time threshold according to the current ambient temperature and humidity and a preset temperature and humidity preheating time mapping table; the control terminal starts the heating element of the gas sensor to start preheating.

[0013] By adopting the above technical solution, the control terminal detects the current ambient temperature and humidity, so that the preheating process can be adjusted according to the actual environmental conditions, thereby improving the environmental adaptability of the system; by combining the preset temperature and humidity preheating time mapping table, the control terminal can dynamically adjust the preheating time threshold to ensure that the sensor can achieve the best preheating effect under different environmental conditions. Through precise preheating control, the gas sensor is fully preheated before collecting data, thereby improving the accuracy and reliability of the collected data.

[0014] In a preferred example of the present application, the control terminal detects the preheating state of the gas sensor. When the preheating time reaches a preset preheating time threshold, the control terminal switches the gas sensor to the working mode, specifically including: The control terminal monitors the temperature change of the gas sensor in real time and calculates the temperature change rate; The control terminal compares the temperature change rate with a preset change threshold, and if the temperature change rate is lower than the preset change threshold, it is determined that the preheating is completed; The control terminal records the preheating completion time of the current number of times, and uses the preheating completion time of the current number of times as the reference data for the next preheating, so as to optimize the preheating process of the gas sensor; The control terminal switches the gas sensor to the working mode.

[0015] By adopting the above technical solution, temperature changes are detected in real time, and whether the gas sensor is preheated is determined by dynamic prediction and threshold judgment. If the temperature change rate is lower than the preset change threshold, the preheating is determined to be completed, avoiding the problem of over-preheating or insufficient preheating caused by fixed-time preheating; further, the control terminal records the preheating completion time of the current number of times, and uses the time as reference data for the next preheating, gradually optimizes the preheating process, and improves the preheating efficiency. After judging that the preheating is completed, the control terminal immediately switches the gas sensor to the working mode, ensuring that the sensor collects data in the best state.

[0016] In a preferred example of the present application: in the sleep mode, the control terminal wakes up the gas sensor based on the wake-up instruction, re-enters the preheating mode, and prepares for the next data collection, specifically including: The control terminal dynamically adjusts the wake-up time interval based on historical environmental data and current environmental conditions; The control terminal sends a wake-up command to the gas sensor when each wake-up time interval arrives; The gas sensor re-enters the preheating mode based on the wake-up instruction to prepare for the next data collection; and / or, The method further comprises: Before waking up, the control terminal detects changes in current environmental conditions and obtains environmental change information; Adjusting the preheating time and wake-up time interval according to the environmental change information; The control terminal sends a wake-up command to the gas sensor to put it into preheating mode.

[0017] By adopting the above technical scheme, the present invention adopts a method of dynamically adjusting the wake-up time interval so that the gas sensor is awakened at the most appropriate time during use, avoiding unnecessary frequent wake-ups; when each wake-up time interval arrives, the control terminal sends a wake-up instruction to the gas sensor to ensure that the sensor can be awakened at the predetermined time to prepare for the next data collection; further, to ensure the optimal working state of the gas sensor under different environmental conditions, before awakening, the control terminal detects changes in the current environmental conditions, obtains environmental change information, and adjusts the preheating time and wake-up time interval according to the environmental change information, ensuring that the sensor can quickly reach the optimal preheating state after each awakening, thereby improving the preheating efficiency.

[0018] In a preferred example of the present application: the method further includes: Construct a performance degradation prediction model for gas sensors in the target installation environment and obtain the performance degradation rate function of the gas sensor under stress conditions and service life. Keeping the ambient temperature constant, changing the gas concentration of the ambient detection gas, obtaining the performance degradation rate of the gas sensor under different ambient detection gas concentration conditions, and calculating the nonlinear fitting relationship between the ambient gas concentration and the gas sensor; Calculating the life value of the gas sensor at ambient temperature when the ambient gas in the target installation environment interferes based on the nonlinear fitting relationship and the performance degradation rate function; According to the preset calculation formula between the ambient temperature and the gas sensor, the life prediction value of the gas sensor at the operating temperature when the ambient gas in the target installation environment is disturbed is calculated.

[0019] By adopting the above technical scheme, the performance degradation prediction model can accurately predict the performance degradation of the gas sensor. By calculating the nonlinear fitting relationship between the ambient gas concentration and the gas sensor, the accurate description of the performance degradation under different gas concentration conditions is ensured. Then, according to the preset calculation formula between the ambient temperature and the gas sensor, the life prediction value of the gas sensor at the working temperature when the ambient gas interferes in the target installation environment is calculated, ensuring the accurate evaluation of the life of the sensor under actual working conditions.

[0020] In a preferred example of the present application: the target installation environment includes ambient temperature and ambient gas concentration; the performance degradation prediction model under the target installation environment is expressed as: P(t)=P0(1-α*exp(-β*t)) (1) Wherein, P(t) is the performance parameter of the gas sensor under the ambient temperature and ambient gas concentration at time t, P0 is the initial performance parameter of the gas sensor, α and β are the performance degradation coefficients under the ambient temperature and ambient gas concentration, and t is time; the method of keeping the ambient temperature unchanged, changing the gas concentration of the ambient detection gas, obtaining the performance degradation rate of the gas sensor under different ambient detection gas concentration conditions, and calculating the nonlinear fitting relationship between the ambient gas concentration and the gas sensor includes: using the nonlinear least squares method to solve the parameters α and β, and defining the optimization function E(α, β), as shown in formula (2): In the formula, R i is a set of degradation rates, which is obtained by statistically analyzing the performance degradation rate observations of each gas sensor under different ambient gas concentrations; formula (2) solves the optimal values ​​of parameters α and β through numerical optimization methods.

[0021] By adopting the above technical scheme, the present invention can accurately describe the performance changes of the gas sensor under different environmental conditions by constructing a performance degradation prediction model in the target installation environment, thereby providing a theoretical basis for subsequent life prediction; while keeping the ambient temperature unchanged and changing the gas concentration of the environmental detection gas, the performance degradation rate of the gas sensor under different environmental detection gas concentration conditions is obtained, and the parameters α and β are solved by the nonlinear least squares method, thereby ensuring an accurate description of the performance degradation under different gas concentration conditions; at the same time, the optimal values ​​of the parameters α and β are solved based on the numerical optimization method, thereby ensuring the accuracy and reliability of the model; based on the nonlinear fitting relationship and the performance degradation rate function, the life of the gas sensor under different environmental conditions can be accurately predicted, thereby providing a scientific basis for optimizing the working mode of the sensor.

[0022] In a preferred example of the present application, when calculating the ambient gas interference in the target installation environment based on the nonlinear fitting relationship and the performance degradation rate function, the life value of the gas sensor at the ambient temperature includes: Substituting the parameters α and β into the function of the gas sensor's service life and performance degradation rate under stress conditions, the life prediction value of the gas sensor at the operating temperature when the ambient gas in the target installation environment is disturbed is obtained: Where, L is the life of the gas sensor under the conditions of ambient temperature and ambient gas concentration, P th is the failure threshold performance parameter of the gas sensor, and P0 is the initial performance parameter of the gas sensor.

[0023] By adopting the above technical solution, the parameters α and β obtained by nonlinear fitting are introduced into the performance degradation rate function, thereby ensuring the accuracy and reliability of the model; the life value of the gas sensor in the target installation environment is calculated by formula (4), thereby ensuring the accurate prediction of the sensor life. The method of the present invention can adapt to different ambient temperatures and gas concentration conditions (such as heavy fume gas concentration conditions in kitchens, etc.), thereby ensuring accurate prediction in various environments; at the same time, through accurate life prediction, the working mode of the sensor can be optimized, reducing unnecessary working time, which is conducive to extending the service life of the gas sensor.

[0024] In summary, the present application includes at least one of the following beneficial technical effects: 1. When it is necessary to collect gas data, the power supply control circuit controls the gas sensor to be powered in advance according to the specified collection cycle or collection time (which can be logically set through the software program at the control terminal), completes preheating, and ensures the normal execution of gas data detection and collection work. When gas detection is not required, the gas sensor is controlled to be turned off and not work, and the power is cut off and dormant, thereby realizing the power-on state control of the gas sensor; it is conducive to the use and maintenance of other sensors and prolonging the service life of the gas sensor; further, through the communication port control circuit, during the operation of the gas sensor, in conjunction with the control of the control module, the gas sensor can be selectively read and transmitted data, and the level of the external power supply is converted into the applicable signal level of the main control chip of the gas sensor (inconsistent levels will cause communication data errors and failures), and the digital communication between the main control chip and the external control terminal is stable and normal, which is conducive to improving the data collection accuracy of the gas sensor and ensuring that the detection data is true and valid; 2. The parameters α and β obtained by nonlinear fitting are introduced into the performance degradation rate function to ensure the accuracy and reliability of the model; the life value of the gas sensor in the target installation environment is calculated by formula (4), ensuring the accurate prediction of the sensor life. The method of the present invention can adapt to different ambient temperatures and gas concentration conditions (such as heavy fume gas concentration conditions in the kitchen), ensuring accurate prediction in various environments; at the same time, through accurate life prediction, the working mode of the sensor can be optimized, reducing unnecessary working time, which is conducive to extending the service life of the gas sensor. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a circuit diagram of a system for extending the service life of a gas sensor in an embodiment of the present application; Figure 2 is a flow chart of a method for extending the service life of a gas sensor in one embodiment of the present application; Figure 3 is a flow chart of step S1 in a method for extending the service life of a gas sensor in one embodiment of the present application; Figure 4 is a flow chart of step S2 in a method for extending the service life of a gas sensor in one embodiment of the present application; Figure 5 is a flow chart of step S5 in a method for extending the service life of a gas sensor in one embodiment of the present application; Figure 6 is another flow chart of a method for extending the service life of a gas sensor in one embodiment of the present application. DETAILED DESCRIPTION

[0026] The present application is further described in detail below in conjunction with the accompanying drawings.

[0027] In one embodiment, if Figure 1 As shown, Figure 1Taking the circuit diagram shown as an example, the present application discloses a system for extending the service life of a gas sensor, the system comprising a power control circuit, a communication port control circuit and a control module; the control module is an intelligent control terminal, the power control circuit comprises a first switch tube and a second switch tube, the first switch tube is connected in series between the power supply and the power end of the main control chip of the gas sensor, the main control chip is U1 in the figure, the on-off control end of the first switch tube is connected to the current control output end of the second switch tube, the on-off control end of the second switch tube is connected to the control module, and is used to control the conduction and cutoff of the second switch tube based on the power on-off control instruction of the control module; the communication port control circuit comprises a clock line level conversion unit and a data line level conversion unit, the controlled end of the clock line level conversion unit is connected to the control module, and the output end is connected to the clock transmission end of the main control chip of the gas sensor, the controlled end of the data line level conversion unit is connected to the control module, and the output end is connected to the data transmission end of the main control chip of the gas sensor, and is used to control the data transmission level and communication frequency of the gas sensor.

[0028] like Figure 1 As shown, the first switch tube includes a first MOS tube Q1, which is a PMOS tube; the second switch tube includes a transistor Q3, which is an NPN transistor; the source of the first MOS tube Q1 is connected to the power supply, the drain of the first MOS tube Q1 is connected to the power end of the main control chip, the drain of the first MOS tube Q1 is connected to the collector of the transistor Q3, the base of the transistor Q3 is connected to the first communication control end of the control terminal, and the emitter of the transistor Q3 is grounded.

[0029] like Figure 1 As shown, the clock line level conversion unit includes a second MOS tube Q2 and a clock bias resistor (resistors R4, R6), the gate of the second MOS tube Q2 is connected to the second communication control end of the control terminal, the source of the second MOS tube Q2 is connected to the power supply, and the drain of the second MOS tube Q2 is connected to the clock transmission end of the main control chip; the data line level conversion unit includes a third MOS tube Q3 and a data bias resistor (resistors R7, R9), the gate of the third MOS tube Q3 is connected to the third communication control end of the control terminal, the source of the third MOS tube Q3 is connected to the power supply, and the drain of the third MOS tube Q3 is connected to the clock transmission end of the main control chip.

[0030] The implementation principle of a system for extending the service life of a gas sensor in an embodiment of the present application is as follows: when it is necessary to collect gas data, the gas sensor is powered on in advance through the power control circuit according to a specified collection cycle or collection time (which can be logically set through a software program at a control terminal) to complete preheating and ensure normal execution of gas data detection and collection work. When gas detection is not needed, the gas sensor is controlled to shut down and not work, and the power is cut off and put into sleep mode, thereby realizing the power-on state control of the gas sensor; this is beneficial to the use and maintenance of other sensors and extending the service life of the gas sensor.

[0031] In one embodiment, if Figure 2 As shown, a method for extending the service life of a gas sensor is provided. The method for extending the service life of a gas sensor is applied to the system for extending the service life of a gas sensor as described above.

[0032] like Figure 2 As shown, the method for extending the service life of the gas sensor specifically includes the following steps: S1: Start the preheating mode of the gas sensor through the control terminal, and the gas sensor starts to preheat.

[0033] In this embodiment, the control module corresponds to a control terminal that can communicate with the gas sensor and can be controlled according to user requirements. The control terminal sends a preheating instruction to the gas sensor; after the gas sensor receives the preheating instruction, it starts the internal heating element and starts the preheating process.

[0034] S2: The control terminal detects the preheating state of the gas sensor. When the preheating time reaches a preset preheating time threshold, the control terminal switches the gas sensor to the working mode.

[0035] In this embodiment, the control terminal monitors the temperature change of the gas sensor in real time, calculates the temperature change rate, and compares the temperature change rate with a preset change threshold. When the temperature change rate is lower than the preset change threshold, it is determined that the preheating is completed.

[0036] S3: In the working mode, the control terminal periodically collects data from the gas sensor and determines the validity of the data.

[0037] In this embodiment, the control terminal, in the working mode, periodically collects data from the gas sensor according to a preset sampling frequency, and determines whether the collected data is valid through a data validity judgment algorithm.

[0038] Specifically, the control terminal compares the collected data with the preset standard data; if the deviation between the collected data and the standard data is within the preset range, the data is judged to be valid; if the deviation between the collected data and the standard data exceeds the preset range, the data is judged to be invalid and the preheating mode is re-entered.

[0039] S4: When the number of valid data collected continuously reaches a preset threshold, the control terminal switches the gas sensor to sleep mode.

[0040] Specifically, the control terminal sets a threshold for the number of valid data times, and the control terminal records the number of valid data times collected continuously. When the number of valid data times collected continuously reaches the preset threshold, the control terminal switches the gas sensor to sleep mode. Through intelligent sleep management, the working time of the sensor in a high power consumption state is reduced, thereby extending its service life.

[0041] S5: In the sleep mode, the control terminal wakes up the gas sensor based on the wake-up instruction, re-enters the preheating mode, and prepares for the next data collection.

[0042] Specifically, the control terminal sets a wake-up condition or receives an external wake-up instruction. When the wake-up condition is met or the external wake-up instruction is received, the control terminal sends a wake-up instruction to the gas sensor. After receiving the wake-up instruction, the gas sensor re-enters the preheating mode. The control terminal monitors the preheating status of the gas sensor. When the preheating time reaches a preset preheating time threshold, the gas sensor is switched to the working mode. Through the dynamic wake-up mechanism, it is ensured that the sensor can quickly resume normal working state when needed, thereby improving the response speed and reliability of the system and extending the service life of the sensor.

[0043] In one embodiment, if Figure 3 As shown, in step S1, the preheating mode of the gas sensor is started by the control terminal, and the gas sensor starts to preheat, specifically including: S11: The control terminal detects the current ambient temperature and humidity.

[0044] In this embodiment, the control terminal detects the temperature and humidity of the current environment in real time through a built-in temperature and humidity sensor or an external temperature and humidity sensor.

[0045] Specifically, the control terminal starts the built-in temperature and humidity sensor or connects to an external temperature and humidity sensor; the control terminal reads the temperature and humidity data of the current environment; and stores the read temperature and humidity data in the memory of the control terminal for subsequent use.

[0046] S12: The control terminal adjusts the preheating time threshold according to the current ambient temperature and humidity and a preset temperature and humidity preheating time mapping table.

[0047] In this embodiment, the control terminal reads the current ambient temperature and humidity data stored in the memory, and the control terminal accesses a preset temperature and humidity preheating time mapping table, which contains preheating time thresholds under different temperature and humidity conditions; the control terminal searches the mapping table for the corresponding preheating time threshold based on the current ambient temperature and humidity.

[0048] S13: The control terminal starts the heating element of the gas sensor and starts preheating.

[0049] In this embodiment, the control terminal sends a preheating instruction to the gas sensor, and the instruction includes a preheating time threshold; after receiving the preheating instruction, the gas sensor starts the internal heating element and starts the preheating process; during the preheating process, the gas sensor monitors its own temperature changes in real time and feeds back the temperature data to the control terminal; the control terminal monitors the temperature changes of the gas sensor in real time to ensure that the preheating process proceeds as expected.

[0050] In one embodiment, if Figure 4 As shown, in step S2, the control terminal detects the preheating state of the gas sensor. When the preheating time reaches a preset preheating time threshold, the control terminal switches the gas sensor to the working mode, specifically including: S21: the control terminal monitors the temperature change of the gas sensor in real time and calculates the temperature change rate.

[0051] In this embodiment, the control terminal monitors the temperature change of the gas sensor in real time through the built-in temperature sensor or the temperature detection function of the gas sensor, and calculates the temperature change rate.

[0052] S22: The control terminal compares the temperature change rate with a preset change threshold. If the temperature change rate is lower than the preset change threshold, it is determined that the preheating is completed.

[0053] Specifically, the control terminal sets a preset change threshold value, which is preset according to the characteristics of the gas sensor.

[0054] S23: The control terminal records the preheating completion time of the current number of times, and uses the preheating completion time of the current number of times as reference data for the next preheating, so as to optimize the preheating process of the gas sensor.

[0055] In this embodiment, after determining that the preheating is completed, the control terminal records the preheating completion time of the current number of times. The control terminal stores the preheating completion time in the memory for reference during the next preheating. The control terminal adjusts the preheating time threshold based on the historical preheating completion time to optimize the preheating process.

[0056] S24: The control terminal switches the gas sensor to the working mode.

[0057] In this embodiment, after determining that the preheating is completed, the control terminal sends a switching instruction to the gas sensor. After receiving the switching instruction, the gas sensor switches from the preheating mode to the working mode. The gas sensor starts to collect data normally in the working mode. By switching the working mode in time, the gas sensor can collect data in the optimal preheating state, thereby improving the accuracy and reliability of the data.

[0058] In one embodiment, if Figure 5 As shown, in step S5, in the sleep mode, the control terminal wakes up the gas sensor based on the wake-up instruction, re-enters the preheating mode, and prepares for the next data collection, which specifically includes: S51: The control terminal dynamically adjusts the wake-up time interval according to historical environmental data and current environmental conditions.

[0059] In this embodiment, the control terminal reads historical environmental data, including past temperature, humidity, and gas concentration, etc.; the control terminal detects current environmental conditions, including current temperature, humidity, and gas concentration, etc.; the control terminal dynamically adjusts the wake-up time interval based on the historical environmental data and current environmental conditions, combined with preset environmental conditions and a wake-up time interval mapping table, and the control terminal stores the adjusted wake-up time interval in memory.

[0060] S52: When each wake-up time interval arrives, the control terminal sends a wake-up instruction to the gas sensor.

[0061] Specifically, the control terminal reads the wake-up time interval stored in the memory, and sends a wake-up instruction to the gas sensor when each wake-up time interval arrives. After receiving the wake-up instruction, the gas sensor switches from the sleep mode to the preheating mode.

[0062] S53: The gas sensor re-enters the preheating mode based on the wake-up instruction and prepares for the next data collection.

[0063] Specifically, after receiving the wake-up command, the gas sensor starts the internal heating element and begins the preheating process. During the preheating process, the gas sensor monitors its own temperature changes in real time and feeds back the temperature data to the control terminal. The control terminal monitors the temperature changes of the gas sensor in real time to ensure that the preheating process proceeds as expected. When the preheating time reaches the preset preheating time threshold, the control terminal switches the gas sensor to the working mode and prepares for the next data collection.

[0064] and / or, S54: Before waking up, the control terminal detects changes in current environmental conditions and obtains environmental change information.

[0065] In this embodiment, the control terminal starts the built-in temperature and humidity sensor or connects the external temperature and humidity sensor, the control terminal reads the temperature and humidity data of the current environment, the control terminal detects changes in the current environmental conditions, including changes in temperature, humidity and gas concentration, and the control terminal stores the detected environmental change information in the memory for subsequent use; by detecting changes in the current environmental conditions, dynamic adjustment of the preheating process and the wake-up time interval is ensured, thereby improving the environmental adaptability of the system.

[0066] S55: Adjust the preheating time and the wake-up time interval according to the environmental change information.

[0067] In this embodiment, the control terminal reads the environmental change information stored in the memory, and dynamically adjusts the preheating time and the wake-up time interval according to the environmental change information and the preset environmental conditions and the preheating time and the wake-up time interval mapping table.

[0068] S56: The control terminal sends a wake-up command to the gas sensor to make it enter a preheating mode.

[0069] In this embodiment, the control terminal reads the wake-up time interval stored in the memory. When each wake-up time interval arrives, the control terminal sends a wake-up instruction to the gas sensor. After receiving the wake-up instruction, the gas sensor switches from sleep mode to preheating mode. During the preheating process, the gas sensor monitors its own temperature changes in real time and feeds back the temperature data to the control terminal. The control terminal monitors the temperature changes of the gas sensor in real time to ensure that the preheating process proceeds as expected.

[0070] In one embodiment, if Figure 6 As shown, the method for extending the service life of the gas sensor also includes: S10: Construct a performance degradation prediction model for the gas sensor in the target installation environment, and obtain a function of the performance degradation rate of the gas sensor under stress conditions and its service life.

[0071] In this embodiment, performance data of the gas sensor under different environmental conditions, including temperature, humidity, gas concentration, etc., are collected, and a performance degradation prediction model of the gas sensor is constructed using a statistical analysis method. Through experimental data, the relationship between the service life of the gas sensor and stress conditions (such as temperature, humidity, gas concentration) is determined to obtain a performance degradation rate function.

[0072] Specifically, the performance degradation prediction model in the target installation environment is expressed as: P(t)=P0(1-α*exp(-β*t)) (1) Wherein, P(t) is the performance parameter of the gas sensor under ambient temperature and ambient gas concentration at time t, P0 is the initial performance parameter of the gas sensor, α and β are the performance degradation coefficients under ambient temperature and ambient gas concentration, and t is time.

[0073] S20: keeping the ambient temperature unchanged, changing the gas concentration of the ambient detection gas, obtaining the performance degradation rate of the gas sensor under different ambient detection gas concentration conditions, and calculating the nonlinear fitting relationship between the ambient gas concentration and the gas sensor.

[0074] In this embodiment, under laboratory conditions, the ambient temperature is kept constant, the gas concentration of the ambient detection gas is gradually changed, the performance of the gas sensor under each gas concentration condition is tested, the performance degradation rate is recorded, and the nonlinear least squares method is used to solve the parameters α and β, and the optimization function E(α, β) is defined, as shown in formula (2): In the formula, R i is a set of degradation rates, which is obtained by statistically analyzing the performance degradation rate observations of each gas sensor under different ambient gas concentrations. Formula (2) solves the optimal values ​​of parameters α and β through a numerical optimization method, and ensures accurate description of performance degradation under different gas concentration conditions through nonlinear fitting relationships, thereby improving the accuracy and reliability of the model.

[0075] S30: Calculate the life value of the gas sensor at the ambient temperature when the ambient gas in the target installation environment interferes based on the nonlinear fitting relationship and the performance degradation rate function.

[0076] In this embodiment, the parameters α and β obtained by nonlinear fitting are brought into the performance degradation rate function, and the life value L of the gas sensor at ambient temperature is calculated according to the actual temperature and gas concentration conditions of the target installation environment. The formula is: Where, L is the life of the gas sensor under the conditions of ambient temperature and ambient gas concentration, P th is the failure threshold performance parameter of the gas sensor, and P0 is the initial performance parameter of the gas sensor.

[0077] S40: Calculate a life prediction value of the gas sensor at the operating temperature when the ambient gas in the target installation environment interferes according to a preset calculation formula between the ambient temperature and the gas sensor.

[0078] In this embodiment, the preset calculation formula is the Arrhenius equation, which establishes the relationship between the ambient temperature and the life of the gas sensor: L = A*exp(-E a / k B *T) (5) Where, L is the life value of the gas sensor under the conditions of ambient temperature and ambient gas concentration, A is the pre-factor, E a is the material activation energy, k B is the Boltzmann constant and T is the ambient temperature.

[0079] Combined with the actual operating temperature T of the target installation environment work , calculate the predicted life value L of the gas sensor at the operating temperature work , the formula is: L work =A(C)*exp(-E a / k B *T work ) (6) In the formula, A(C) is the pre-exponential factor that takes into account the influence of ambient gas concentration. By considering the combined influence of ambient temperature and gas concentration, the life prediction value of the gas sensor at the working temperature is accurately calculated, which further optimizes the use and maintenance strategy of the sensor and prolongs the service life of the sensor.

[0080] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0081] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the features thereof may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A system for extending the service life of a gas sensor, characterized in that It includes a power supply control circuit, a communication port control circuit and a control module; The power control circuit includes a first switch tube and a second switch tube, the first switch tube is connected in series between the power supply and the power supply end of the main control chip of the gas sensor, the on-off control end of the first switch tube is connected to the current control output end of the second switch tube, and the on-off control end of the second switch tube is connected to the control module, and is used to control the on and off of the second switch tube based on the power on and off control instruction of the control module; The communication port control circuit includes a clock line level conversion unit and a data line level conversion unit. The controlled end of the clock line level conversion unit is connected to the control module, and the output end is connected to the clock transmission end of the main control chip of the gas sensor. The controlled end of the data line level conversion unit is connected to the control module, and the output end is connected to the data transmission end of the main control chip of the gas sensor, so as to control the data transmission level and communication frequency of the gas sensor.

2. The system for extending the service life of a gas sensor according to claim 1, characterized in that: The first switch tube includes a first MOS tube, and the second switch tube includes a triode. The source of the first MOS tube is connected to the power supply, the drain of the first MOS tube is connected to the power supply end of the main control chip, the drain of the first MOS tube is connected to the collector of the triode, the base of the triode is connected to the first communication control end of the control terminal, and the emitter of the triode is grounded.

3. The system for extending the service life of a gas sensor according to claim 1, characterized in that: The clock line level conversion unit includes a second MOS tube and a clock bias resistor, the gate of the second MOS tube is connected to the second communication control end of the control terminal, the source of the second MOS tube is connected to the power supply, and the drain of the second MOS tube is connected to the clock transmission end of the main control chip; the data line level conversion unit includes a third MOS tube and a data bias resistor, the gate of the third MOS tube is connected to the third communication control end of the control terminal, the source of the third MOS tube is connected to the power supply, and the drain of the third MOS tube is connected to the clock transmission end of the main control chip.

4. A method for extending the service life of a gas sensor, characterized in that: The system for extending the service life of a gas sensor according to any one of claims 1 to 3, the method comprising: The preheating mode of the gas sensor is started by the control terminal, and the gas sensor starts to preheat; The control terminal detects the preheating state of the gas sensor, and when the preheating time reaches a preset preheating time threshold, the control terminal switches the gas sensor to the working mode; In working mode, the control terminal periodically collects data from the gas sensor and determines the validity of the data; When the number of valid data collected continuously reaches a preset threshold, the control terminal switches the gas sensor to sleep mode; in sleep mode, the control terminal wakes up the gas sensor based on the wake-up instruction, re-enters the preheating mode, and prepares for the next data collection.

5. The method for extending the service life of a gas sensor according to claim 4, characterized in that: The control terminal starts the preheating mode of the gas sensor, and the gas sensor starts preheating, specifically including: The control terminal detects the current ambient temperature and humidity; The control terminal adjusts the preheating time threshold according to the current ambient temperature and humidity and a preset temperature and humidity preheating time mapping table; the control terminal starts the heating element of the gas sensor to start preheating.

6. The method for extending the service life of a gas sensor according to claim 4, characterized in that: The control terminal detects the preheating state of the gas sensor. When the preheating time reaches a preset preheating time threshold, the control terminal switches the gas sensor to a working mode, specifically including: The control terminal monitors the temperature change of the gas sensor in real time and calculates the temperature change rate; The control terminal compares the temperature change rate with a preset change threshold, and if the temperature change rate is lower than the preset change threshold, it is determined that the preheating is completed; The control terminal records the preheating completion time of the current number of times, and uses the preheating completion time of the current number of times as the reference data for the next preheating, so as to optimize the preheating process of the gas sensor; The control terminal switches the gas sensor to the working mode.

7. The method for extending the service life of a gas sensor according to claim 4, characterized in that: In the sleep mode, the control terminal wakes up the gas sensor based on the wake-up instruction, re-enters the preheating mode, and prepares for the next data collection, specifically including: The control terminal dynamically adjusts the wake-up time interval based on historical environmental data and current environmental conditions; The control terminal sends a wake-up command to the gas sensor when each wake-up time interval arrives; The gas sensor re-enters the preheating mode based on the wake-up instruction to prepare for the next data collection; and / or, The method further comprises: Before waking up, the control terminal detects changes in current environmental conditions and obtains environmental change information; Adjusting the preheating time and wake-up time interval according to the environmental change information; The control terminal sends a wake-up command to the gas sensor to put it into preheating mode.

8. The method for extending the service life of a gas sensor according to claim 4, characterized in that: The method also includes: constructing a performance degradation prediction model for the gas sensor in a target installation environment to obtain a function of the performance degradation rate of the gas sensor under stress conditions and its service life; Keeping the ambient temperature constant, changing the gas concentration of the ambient detection gas, obtaining the performance degradation rate of the gas sensor under different ambient detection gas concentration conditions, and calculating the nonlinear fitting relationship between the ambient gas concentration and the gas sensor; Calculating the life value of the gas sensor at ambient temperature when the ambient gas in the target installation environment interferes based on the nonlinear fitting relationship and the performance degradation rate function; According to the preset calculation formula between the ambient temperature and the gas sensor, the life prediction value of the gas sensor at the operating temperature when the ambient gas in the target installation environment is disturbed is calculated.

9. The method for extending the service life of a gas sensor according to claim 8, characterized in that: The target installation environment includes ambient temperature and ambient gas concentration; the performance degradation prediction model under the target installation environment is expressed as: P(t)=P0(1-α*exp(-β*t)) (1) Where, P(t) is the performance parameter of the gas sensor under ambient temperature and ambient gas concentration at time t, P0 is the initial performance parameter of the gas sensor, α and β are the performance degradation coefficients under ambient temperature and ambient gas concentration, and t is time; The method of keeping the ambient temperature constant, changing the gas concentration of the ambient detection gas, obtaining the performance degradation rate of the gas sensor under different ambient detection gas concentration conditions, and calculating the nonlinear fitting relationship between the ambient gas concentration and the gas sensor includes: using the nonlinear least squares method to solve the parameters α and β, and defining the optimization function E(α, β), as shown in formula (2): In the formula, R i is a set of degradation rates, which is obtained by statistically analyzing the performance degradation rate observations of each gas sensor under different ambient gas concentrations; formula (2) solves the optimal values ​​of parameters α and β through numerical optimization method.

10. The method for extending the service life of a gas sensor according to claim 9, characterized in that: The calculating, based on the nonlinear fitting relationship and the performance degradation rate function, the life value of the gas sensor at the ambient temperature when the ambient gas interference in the target installation environment comprises: Substituting the parameters α and β into the function of the gas sensor's service life and performance degradation rate under stress conditions, the life prediction value of the gas sensor at the operating temperature when the ambient gas interferes in the target installation environment is obtained: Where, L is the life of the gas sensor under the conditions of ambient temperature and ambient gas concentration, P th is the failure threshold performance parameter of the gas sensor, and P0 is the initial performance parameter of the gas sensor.

Citation Information

Cited By

  • Autonomous intelligent wake-up gas sensing system and working method thereof

    CN120703300A