CN111913510B - Self-adaptive heating method for sensor - Google Patents

Self-adaptive heating method for sensor Download PDF

Info

Publication number
CN111913510B
CN111913510B CN202010671151.5A CN202010671151A CN111913510B CN 111913510 B CN111913510 B CN 111913510B CN 202010671151 A CN202010671151 A CN 202010671151A CN 111913510 B CN111913510 B CN 111913510B
Authority
CN
China
Prior art keywords
heating
temperature
sensor
adaptive
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010671151.5A
Other languages
Chinese (zh)
Other versions
CN111913510A (en
Inventor
黄波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dingtaosong Technology Co ltd
Shenzhen Daozun Technology Co ltd
Original Assignee
Beijing Dingtaosong Technology Co ltd
Shenzhen Daozun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dingtaosong Technology Co ltd, Shenzhen Daozun Technology Co ltd filed Critical Beijing Dingtaosong Technology Co ltd
Priority to CN202010671151.5A priority Critical patent/CN111913510B/en
Publication of CN111913510A publication Critical patent/CN111913510A/en
Application granted granted Critical
Publication of CN111913510B publication Critical patent/CN111913510B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/20Control of temperature characterised by the use of electric means with sensing elements having variation of electric or magnetic properties with change of temperature
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N27/00Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
    • G01N27/26Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating electrochemical variables; by using electrolysis or electrophoresis

Landscapes

  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Molecular Biology (AREA)
  • Automation & Control Theory (AREA)
  • Engineering & Computer Science (AREA)
  • Electrochemistry (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Or Analyzing Materials Using Thermal Means (AREA)

Abstract

The invention discloses a sensor self-adaptive heating method which is applied to a heating system, wherein the heating system comprises a controller, a heating device, a temperature sensor and a timer, and the sensor self-adaptive heating method comprises the following steps: s1, detecting a temperature T by a temperature sensor; s2, if the temperature T is higher than the heating threshold T0Step S3 is executed if the temperature T is lower than the heating threshold T0Step S4 is executed; s3, entering a standby mode, and repeatedly executing the step S1; s4, entering a rapid heating mode, starting a heating device, and continuously heating; s5, whether the temperature T reaches the target temperature T or not1If the temperature T does not reach the target temperature T1Step S6 is executed if the temperature T reaches the target temperature T1Step S7 is executed; s6, continuously heating, and repeatedly executing the step S5; s7, entering a PWM self-adaptive heating mode, and periodically switching on and off the heating device in turn, wherein the period is t0(ii) a S8, maintaining the target temperature T1

Description

Self-adaptive heating method for sensor
Technical Field
The invention relates to the field of electrochemical alcohol sensors, in particular to a self-adaptive heating method for a sensor.
Background
Drunk driving is one of the main causes of road traffic accidents. The detection of the alcohol content in the expired gas is an effective means for the traffic police to prevent and control the drunk driving phenomenon. The currently used alcohol content measuring technology is mostly realized by using the principle that a fuel cell type alcohol sensor and alcohol react chemically. Because the chemical reaction is influenced by the temperature, and the alcohol detection is mostly carried out outdoors, the expired gas alcohol content detector is greatly influenced by the temperature, and sometimes even cannot complete the test. Current alcohol detectors typically use software for temperature compensation, but the alcohol sensor response is significantly slowed or diminished at lower temperatures, such as below-10 ℃. At lower temperatures, such as-20 ℃, many alcohol detectors will not work.
Some sensor application manufacturers cover heating sheets on the sensor, and currently, for heating of the sensor, the main method is that when the temperature detected by a temperature sensor is lower than a certain threshold value, a heating switch is turned on to heat the sensor to a certain temperature and then turned off; and when the temperature drops to a certain threshold value again, the heating switch is turned on again, and the process is repeated. The disadvantages of this heating control method are:
(1) the temperature sensor has a certain lag in sensing temperature, and generally, the temperature of the sensor is changed greatly and unstably due to the fact that the distance between the heating closing threshold and the heating opening threshold is large, so that the sensor sensitive to the temperature is unstable in working;
(2) the heating progress is not displayed, and the waiting process is longer;
(3) the heating time is too concentrated, which causes too much power consumption caused by heating in a certain time period and damages the power supply.
Disclosure of Invention
The invention aims to provide a sensor self-adaptive heating method with good heating effect and stable temperature.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a sensor-adaptive heating method applied to a heating system including a controller, a heating device, a temperature sensor, and a timer, the sensor-adaptive heating method comprising the steps of:
s1, detecting the temperature T by a temperature sensor;
s2, if the temperature T is higher than the heating threshold T0Step S3 is executed if the temperature T is lower than the heating threshold T0Step S4 is executed;
s3, entering a standby mode, and repeatedly executing the step S1;
s4, entering a rapid heating mode, starting a heating device and continuously heating;
s5, whether the temperature T reaches the target temperature T or not1If the temperature T does not reach the target temperature T1Step S6 is executed if the temperature T reaches the target temperature T1Step S7 is executed;
s6, continuously heating, and repeatedly executing the step S5;
s7, entering a PWM self-adaptive heating mode, and periodically switching on and off the heating devices in turn, wherein the period is t0
S8, maintenanceTarget temperature T1
Further, the period t of the step S70Is 1 second.
Further, the step S1 is preceded by the step S0 of setting a heating threshold T0And a target temperature T1
Further, the step S8 further includes the following sub-steps:
s81, distributing the heating time t of the heating device in the period, and setting the initial heating time as ton
S82, continuously detecting the temperature T, and averaging the temperature TP
S83, average temperature TPWith a target temperature T1If the average temperature T is the same as the average temperature T, step S84 is executedPWith a target temperature T1Otherwise, go to step S85;
s84, maintaining the initial heating time t in the periodonRepeating step S82;
s85, adjusting the initial heating time t in the periodonThe adjustment time is delta t, and the heating time after adjustment is t ═ ton+ Δ T, where Δ T ═ T (T)1-TP)*t0/(T1-T0) Step S82 is repeated.
Further, the heating time t is relative to the period t0With a minimum heating ratio PminAnd maximum heating ratio PmaxIn which P ismin<t/t0<Pmax
Further, the step S4 further includes a sub-step S41 of displaying a heating progress P, where P is 100% (T-T)0)/(T1-T0)。
Compared with the prior art, the invention has the following advantages:
1. the rapid heating mode and the PWM self-adaptive heating mode are divided according to the actual heating requirement, so that the rapid heating and constant temperature functions are realized, and the intelligent heating system is more intelligent;
2, the PWM self-adaptive heating mode adjusts the heating power in real time according to the actual temperature, maintains the target temperature and has stable heating effect;
3, the power consumption is relatively average in the heating process of the PWM self-adaptive heating mode, and the impact on a power supply system of the equipment is avoided;
4. the sensor is applied to different hardware environments, and the heating efficiency and the heat preservation effect of the sensor are different; the self-adaptive heating method basically does not need to consider the influence caused by hardware difference, and is greatly convenient for development and production of sensor equipment;
5. with a minimum heating ratio PminAnd maximum heating ratio PmaxAnd the sensor is prevented from being damaged by overheating of the heating device due to the failure of the temperature sensor in the PWM adaptive heating mode.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
The present invention will be described in detail below with reference to the accompanying drawings so that the above advantages of the present invention will be more apparent.
FIG. 1 is a block flow diagram of a method of sensor adaptive heating in accordance with the present invention;
FIG. 2 is a block flow diagram of step S8 of a method for adaptive heating of a sensor according to the present invention;
fig. 3 is a PWM adaptive heating mode period diagram of a sensor adaptive heating method of the present invention.
Detailed Description
The technical solution of the present invention will be further specifically described below by way of specific examples. It is to be understood that the following examples are given by way of illustration only and are not to be construed as limiting the scope of the present invention, and that various changes and modifications apparent to those skilled in the art in light of the teachings herein are deemed to be within the scope of the present invention.
As shown in fig. 1 to 3, a sensor adaptive heating method applied to a heating system including a controller, a heating device, a temperature sensor, and a timer, the sensor adaptive heating method includes the steps of:
s1, detecting the temperature T by a temperature sensor;
s2, if the temperature T is higher than the heating threshold T0Step S3 is executed if the temperature T is lower than the heating threshold T0Step S4 is executed;
s3, entering a standby mode, and repeatedly executing the step S1;
s4, entering a rapid heating mode, starting a heating device and continuously heating;
s5, whether the temperature T reaches the target temperature T or not1If the temperature T does not reach the target temperature T1Step S6 is executed if the temperature T reaches the target temperature T1Step S7 is executed;
s6, continuously heating, and repeatedly executing the step S5;
s7, entering a PWM self-adaptive heating mode, and periodically switching on and off the heating devices in turn, wherein the period is t0
S8, maintaining target temperature T1. For the electrochemical alcohol sensor, in order to avoid the influence of low temperature on the measurement precision, the temperature sensor measures the temperature of the alcohol sensor, and when the temperature is lower than a threshold value, the heating device is automatically started to heat; the heating mode comprises a rapid heating mode and a PWM self-adaptive heating mode, and when the temperature is lower than a threshold value, the heating device continuously heats to a target temperature in order to reduce the heating waiting time of a user and improve the heating; if the target temperature is reached, the PWM self-adaptive heating mode is entered, and the purpose is to reduce the temperature fluctuation and achieve the heat preservation effect.
The heating device is periodically switched on and off in the PWM self-adaptive heating mode, and the heating power is adjusted by adjusting the time length of a switching period t0 and the ratio of the on time to the off time in the period; the PWM is an analog control mode, the output voltage of the power supply can be kept constant when the working condition changes, the impact on the power supply can be effectively reduced in the PWM self-adaptive heating mode, and the service life of the power supply is prolonged.
In this embodiment, the period t of the step S70Is 1 second. First, one of the PWM adaptive heating modes is determinedThe fixed switching frequency is higher, wherein the higher the frequency is, the higher the heating stability is, the flexible setting can be realized according to the switching speed and the service life of the heating component in practice, generally, the setting is about 1HZ, and the period t is more appropriate0Is 1 second.
In this embodiment, the step S1 further includes a step S0 before the step S1, and a heating threshold T is set0And a target temperature T1. According to the actual use environment and hardware materials, the heating threshold T can be set in advance according to the actual situation0And a target temperature T1
In this embodiment, the step S8 further includes the following sub-steps:
s81, distributing the on-off time of the heating device in the period, and setting the initial heating time as ton
S82, continuously detecting the temperature T, and averaging the temperature TP
S83, average temperature TPWith a target temperature T1If the average temperature T is the same as the average temperature T, step S84 is executedPWith a target temperature T1Otherwise, go to step S85;
s84, maintaining the initial heating time t in the periodonRepeating step S82;
s85, adjusting the initial heating time t in the periodonThe adjusting time is delta t, and the heating time after adjustment is ton+ Δ T, where Δ T ═ T (T)1-TP)*t0/(T1-T0) Step S82 is repeated. Considering that the sensor is applied to different hardware environments, the heating efficiency and the heat preservation effect of the sensor are different; in order to ensure that the temperature can stabilize the target temperature under different conditions, the average temperature T is comparedPAnd a target temperature T1First, an initial t is presetonIf the period is 1S, set ton0.5s, average temperature T if the heating efficiency is greater than the heat dissipation efficiencyPGreater than the target temperature T1By shortening the on-time of the heating device during the cycle; if the heating efficiency is less than the heat dissipation rate, the average temperature TPLess than target temperature T1By increasing the on-time of the heating means during the cycle; according to timeAnd (4) adjusting the heating time t in real time according to the change of the temperature.
Wherein the initial heating time t in the cycleonThe adjustment time is delta t, and the adjusted heating time t is ton+ Δ T, where Δ T ═ T (T)1-TP)*t0/(T1-T0) If the average temperature TPGreater than the target temperature T1If the delta t is a negative number, the adjusted heating time t is shortened, and the heating efficiency is reduced for fine adjustment of temperature reduction; if the average temperature TPLess than target temperature T1If Δ t is a positive number, the adjusted heating time t is increased, and the heating efficiency is increased for fine adjustment of the temperature rise.
Wherein the temperature T is continuously detected in step S82, and the average temperature T is takenPThe time gap of (2) is shorter; the temperature can not fluctuate greatly, and the PWM self-adaptive heating mode is started when the temperature reaches the target temperature; in general T1-TPThe difference in (c) is not too large.
In the present embodiment, the heating time t is relative to the period t0With a minimum heating ratio PminAnd maximum heating ratio PmaxIn which P ismin<t/t0<Pmax. The safety is improved. In the PWM adaptive heating mode, a minimum heating proportion P is setminWhen the temperature sensor is damaged or fails, a certain heating power is kept in a low-temperature environment, the loss of the temperature T is reduced, and the temperature is maintained as far as possible to ensure the temperature of the sensor to work; is provided with a maximum heating ratio PmaxWhen the temperature sensor is damaged or fails, the alcohol sensor is prevented from being damaged by long-time continuous high-power heating, and potential safety hazards are avoided; by setting a minimum heating ratio PminAnd maximum heating ratio PmaxThe dependence of the PWM self-adaptive heating mode on the temperature sensor is reduced, and the safety is improved.
In this embodiment, the step S4 further includes a sub-step S41 of displaying a heating schedule P, where P is 100% (T-T)0)/(T1-T0). In order to directly display the heating progress, the heating progress can be displayed in a percentage mode, the temperature is different from the direct display temperature, the target temperature is adjustable, and the purposes of different scenes are achievedThe standard temperature is different, and the display mode of the percentage is more direct in sense.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, it will be apparent to those skilled in the art that changes may be made in the embodiments and/or equivalents thereof without departing from the spirit and scope of the invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (5)

1. A method of sensor-adaptive heating applied to a heating system comprising a controller, a heating device, a temperature sensor, the method comprising the steps of:
s1, detecting the temperature T by a temperature sensor;
s2, if the temperature T is higher than the heating threshold T0Step S3 is executed if the temperature T is lower than the heating threshold T0Step S4 is executed;
s3, entering a standby mode, and repeatedly executing the step S1;
s4, entering a rapid heating mode, starting a heating device and continuously heating;
s5, whether the temperature T reaches the target temperature T or not1If the temperature T does not reach the target temperature T1Step S6 is executed if the temperature T reaches the target temperature T1Step S7 is executed;
s6, continuously heating, and repeatedly executing the step S5;
s7, entering a PWM self-adaptive heating mode, and periodically switching on and off the heating devices in turn, wherein the period is t0
S8, maintaining target temperature T1
Wherein the step S8 further includes the following substeps:
s81, distributing the heating time t of the heating device in the period, and setting the initial heating time as ton
S82, holdingContinuously detecting the temperature T, averaging the temperature TP
S83, average temperature TPWith a target temperature T1If the average temperature T is the same as the average temperature T, step S84 is executedPWith a target temperature T1Otherwise, go to step S85;
s84, maintaining the initial heating time t in the periodonRepeating step S82;
s85, adjusting the initial heating time t in the periodonThe adjustment time is delta t, and the heating time after adjustment is t ═ ton+ Δ T, where Δ T ═ T (T)1-TP)*t0/(T1-T0)Step S82 is repeated.
2. The adaptive heating method for a sensor according to claim 1, wherein the period t of step S70Is 1 second.
3. The adaptive sensor heating method of claim 1, wherein the step S1 is preceded by a step S0 of setting a heating threshold T0And a target temperature T1
4. Sensor adaptive heating method according to claim 1, characterized in that the heating time t is relative to the period t0With a minimum heating ratio PminAnd maximum heating ratio PmaxIn which P ismin<t/t0<Pmax
5. The adaptive heating method for a sensor according to claim 1, wherein the step S4 further comprises a sub-step S41 of displaying a heating schedule P, wherein P is 100% (T-T)0)/(T1-T0)。
CN202010671151.5A 2020-07-13 2020-07-13 Self-adaptive heating method for sensor Active CN111913510B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010671151.5A CN111913510B (en) 2020-07-13 2020-07-13 Self-adaptive heating method for sensor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010671151.5A CN111913510B (en) 2020-07-13 2020-07-13 Self-adaptive heating method for sensor

Publications (2)

Publication Number Publication Date
CN111913510A CN111913510A (en) 2020-11-10
CN111913510B true CN111913510B (en) 2021-07-16

Family

ID=73226446

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010671151.5A Active CN111913510B (en) 2020-07-13 2020-07-13 Self-adaptive heating method for sensor

Country Status (1)

Country Link
CN (1) CN111913510B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112678275B (en) * 2020-12-30 2022-05-27 宁波智能制造技术研究院有限公司 Control method of medical sterilization packaging bag sealing machine

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129262A (en) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 Temperature control system
CN205809741U (en) * 2016-03-28 2016-12-14 张水利 Vehicular alcohol tester
CN210983118U (en) * 2019-09-24 2020-07-10 北京中恒安科技股份有限公司 Temperature control system for gas detector

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180252699A1 (en) * 2016-09-28 2018-09-06 Muc Dang Breathalyzer metrological bench

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102129262A (en) * 2010-01-20 2011-07-20 鸿富锦精密工业(深圳)有限公司 Temperature control system
CN205809741U (en) * 2016-03-28 2016-12-14 张水利 Vehicular alcohol tester
CN210983118U (en) * 2019-09-24 2020-07-10 北京中恒安科技股份有限公司 Temperature control system for gas detector

Also Published As

Publication number Publication date
CN111913510A (en) 2020-11-10

Similar Documents

Publication Publication Date Title
US11114708B2 (en) Battery pack temperature control method and device
KR0137283B1 (en) A battery charge apparatus
CN111913510B (en) Self-adaptive heating method for sensor
CN111552330B (en) Screen heating control method and system applied to terminal starting
KR960003019A (en) Apparatus and method for controlling charging voltage of a battery based on battery temperature
RU2012149572A (en) FUEL ELEMENT COMPLEX AND METHOD FOR MANAGING THEM
US20230311696A1 (en) Method for controlling charging and heating of power battery, medium, device and vehicle
CN110440412B (en) Control method and control system for electric heating belt of compressor and air conditioner
CN103486069A (en) Fan intelligent temperature control system and method based on pyroelectric human body infrared
EP1650820A4 (en) Fuel cell optimum operation point tracking system in power supply device using fuel cell, and power supply device provided with this fuel cell optimum operation point tracking system
JP2002090328A (en) Gas detecting alarm device using hot-wire type gas sensor
JP2002311416A (en) Liquid crystal display device
KR20180058055A (en) Method and apparatus for controling temperature of a battery pack
JP2007097269A (en) Charging method of secondary battery
CN111063296A (en) LED display screen power switch control system
CN114650626B (en) Heating system and method for wharf lens and code scanning equipment
CN202171754U (en) Multi-path constant temperature controller
JP2003068424A (en) Heater control equipment
JPH02226665A (en) Fuel cell power generation device
JPH09287881A (en) Temperature control method of heating furnace
KR200413278Y1 (en) The operating apparatus for LED signal lamp
JPH07243693A (en) Remote control device for air conditioner
CN115562389A (en) RCO electric heating silicon controlled rectifier temperature control system and method
JPH06197466A (en) Charging apparatus
KR100851028B1 (en) The operating apparatus for LED signal lamp

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant