CN115655503A - Probe thermometer and its control method - Google Patents
Probe thermometer and its control method Download PDFInfo
- Publication number
- CN115655503A CN115655503A CN202110735988.6A CN202110735988A CN115655503A CN 115655503 A CN115655503 A CN 115655503A CN 202110735988 A CN202110735988 A CN 202110735988A CN 115655503 A CN115655503 A CN 115655503A
- Authority
- CN
- China
- Prior art keywords
- analog switch
- probe
- circuit
- resistor
- voltage
- 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.)
- Pending
Links
- 239000000523 sample Substances 0.000 title claims abstract description 142
- 238000000034 method Methods 0.000 title claims abstract description 20
- 238000001514 detection method Methods 0.000 claims description 33
- 230000000694 effects Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 230000005669 field effect Effects 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 239000003990 capacitor Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010845 search algorithm Methods 0.000 description 1
Images
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
Description
技术领域technical field
本申请涉及温度计技术领域,具体涉及一种探针温度计及其控制方法。The present application relates to the technical field of thermometers, in particular to a probe thermometer and a control method thereof.
背景技术Background technique
探针温度计又名食品温度计,可用于测量食品内部的温度,以方便用户判断食物的生熟程度。探针温度计通常配备有电池用于供电,然而现有探针温度计的功耗较高,导致电池电量消耗较快,不仅浪费电能,而且需要用户频繁更换电池,有待进一步改善。Probe thermometers, also known as food thermometers, can be used to measure the temperature inside food, so that users can judge the degree of raw or cooked food. Probe thermometers are usually equipped with batteries for power supply. However, the high power consumption of existing probe thermometers leads to rapid battery power consumption, which not only wastes power, but also requires users to frequently replace batteries, which needs further improvement.
发明内容Contents of the invention
本申请的目的在于提出一种探针温度计以及控制方法,以解决上述问题。本申请通过以下技术方案来实现上述目的。The purpose of this application is to propose a probe thermometer and a control method to solve the above problems. The present application achieves the above object through the following technical solutions.
第一方面,本申请实施例提供了一种探针温度计,包括设备主体和探针,探针可拆卸地插设于设备主体,设备主体包括接口电路、模拟开关电路和主控电路,接口电路用于检测探针是否插设于设备主体;模拟开关电路的一端连接电源,另一端连接至接口电路,接口电路接地,模拟开关电路和接口电路之间的连接点作为分压输出节点,模拟开关电路具有多个档位,其中,不同的档位具有不同的电阻值;主控电路连接接口电路和模拟开关电路,且连接分压输出节点,主控电路被配置为:若未检测到探针插设于设备主体,控制模拟开关电路切换至电阻值最大的档位。In the first aspect, the embodiment of the present application provides a probe thermometer, which includes a device body and a probe. The probe is detachably inserted into the device body. The device body includes an interface circuit, an analog switch circuit and a main control circuit. The interface circuit It is used to detect whether the probe is inserted into the main body of the device; one end of the analog switch circuit is connected to the power supply, the other end is connected to the interface circuit, the interface circuit is grounded, and the connection point between the analog switch circuit and the interface circuit is used as a voltage divider output node, the analog switch The circuit has multiple gears, and different gears have different resistance values; the main control circuit is connected to the interface circuit and the analog switch circuit, and is connected to the voltage divider output node. The main control circuit is configured as follows: if no probe is detected It is inserted into the main body of the device to control the analog switch circuit to switch to the gear with the largest resistance value.
第二方面,本申请实施例提供了一种控制方法,应用于探针温度计,探针温度计包括设备主体和探针,探针可拆卸地插设于设备主体,设备主体包括接口电路、模拟开关电路以及主控电路,模拟开关电路的一端连接电源,另一端连接至接口电路,接口电路接地,模拟开关电路和接口电路之间的连接点作为分压输出节点,模拟开关电路具有多个档位,其中,不同的档位具有不同的电阻值;主控电路连接接口电路和模拟开关电路,且连接分压输出节点,控制方法包括:In the second aspect, the embodiment of the present application provides a control method, which is applied to a probe thermometer. The probe thermometer includes a device body and a probe. The probe is detachably inserted into the device body. The device body includes an interface circuit and an analog switch. circuit and the main control circuit, one end of the analog switch circuit is connected to the power supply, the other end is connected to the interface circuit, the interface circuit is grounded, the connection point between the analog switch circuit and the interface circuit is used as a voltage division output node, and the analog switch circuit has multiple gears , where different gears have different resistance values; the main control circuit is connected to the interface circuit and the analog switch circuit, and connected to the voltage divider output node, and the control method includes:
通过接口电路检测探针是否插设于设备主体;若未检测到探针插设于所述设备主体,控制模拟开关电路切换至电阻值最大的档位。Whether the probe is inserted into the main body of the device is detected through the interface circuit; if it is not detected that the probe is inserted into the main body of the device, the analog switch circuit is controlled to switch to the gear with the largest resistance value.
相较于现有技术,本申请实施例提供的探针温度计在未检测到探针插设于设备主体时,能够将模拟开关电路切换至电阻值最大的档位,可降低整机的电流大小,进而可降低探针温度计的整体功耗,实现待机状态下的低功耗效果。Compared with the prior art, the probe thermometer provided by the embodiment of the present application can switch the analog switch circuit to the gear with the largest resistance value when the probe is not detected to be inserted into the main body of the device, which can reduce the current of the whole machine , which in turn can reduce the overall power consumption of the probe thermometer, and realize the low power consumption effect in the standby state.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1示出了本申请实施例提供的探针温度计的模块框图;Fig. 1 shows the module block diagram of the probe thermometer that the embodiment of the application provides;
图2示出了本申请实施例提供的探针温度计的另一种模块框图;Fig. 2 shows another kind of block diagram of the probe thermometer provided by the embodiment of the present application;
图3示出了本申请实施例提供的探针温度计中模拟开关电路的电路结构示意图。Fig. 3 shows a schematic diagram of the circuit structure of the analog switch circuit in the probe thermometer provided by the embodiment of the present application.
图4示出了本申请实施例提供的探针温度计中主控电路的电路结构示意图。Fig. 4 shows a schematic diagram of the circuit structure of the main control circuit in the probe thermometer provided by the embodiment of the present application.
图5示出了本申请实施例提供的探针温度计中接口电路的电路结构示意图。Fig. 5 shows a schematic diagram of the circuit structure of the interface circuit in the probe thermometer provided by the embodiment of the present application.
图6示出了本申请实施例提供的探针温度计的又一种模块框图;Fig. 6 shows another kind of block diagram of the probe thermometer provided by the embodiment of the present application;
图7示出了本申请实施例提供的控制方法的流程示意图。Fig. 7 shows a schematic flowchart of a control method provided by an embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施方式,所述实施方式的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。Embodiments of the present application are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary, are only for explaining the present application, and should not be construed as limiting the present application.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整的描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.
请参阅图1所示,本申请实施例提供的探针温度计100包括设备主体110和探针120,探针120可拆卸地插设于设备主体110,设备主体110包括接口电路111、模拟开关电路112以及主控电路113,接口电路111用于检测探针120是否插设于设备主体110,模拟开关电路112的一端连接电源,另一端连接至接口电路111,接口电路111接地,模拟开关电路112和接口电路111之间的连接点作为分压输出节点114,模拟开关电路112具有多个档位,其中,不同的档位具有不同的电阻值;主控电路113连接接口电路111和模拟开关电路112,且连接分压输出节点114;主控电路113被配置为:Please refer to Fig. 1, the
若未检测到探针120插设于设备主体110,控制模拟开关电路112切换至电阻值最大的档位。If it is not detected that the
本申请实施例提供的探针温度计100中,主控电路113连接接口电路111,用于获取接口电路111发出的关于探针120是否插设于设备主体110的检测信号;主控电路113连接模拟开关电路112,用于控制模拟开关电路112切换档位,且可用于为模拟开关电路112提供电源,主控电路113还连接分压输出节点114,用于读取分压输出节点114处的电压。In the
探针120可以是NTC热敏电阻式温度探针,随着温度的变化,探针120的电阻值发生变化,也即接口电路111的电阻值发生变化,此时分压输出节点114处的电压即发生变化,主控电路113根据该电压可以获取探针120检测到的温度信息。同时,在未检测到探针120插设于设备主体110时,主控电路113控制模拟开关电路112切换至电阻值最大的档位,可降低流经模拟开关电路112和主控电路113的电流大小,进而可降低探针温度计100的整体功耗,实现待机状态下的低功耗效果。The
请一并参阅图1和图2所示,本实施例中,设备主体110还可以包括蓝牙芯片130,例如蓝牙芯片FR8018HA或者蓝牙芯片FR8016HB等等,蓝牙芯片130可以集成有接口电路111、模拟开关电路112和主控电路113。Please refer to FIG. 1 and FIG. 2 together. In this embodiment, the
当然,在其他一些实施例中,也可以将蓝牙芯片130替换为其他的MCU(Microcontroller Unit,微控制单元)芯片,该MCU芯片同样可以集成有接口电路111、模拟开关电路112和主控电路113。Of course, in some other embodiments, the Bluetooth
设备主体110还可以包括显示屏141、电池142、蜂鸣报警器143和按键144等,显示屏141、电池142、蜂鸣报警器143和按键144均连接于蓝牙芯片130,显示屏141用于实时显示探针120检测的温度值,电池142用于提供电能,蜂鸣报警器143用于在探针120检测的温度值超过预设温度值时发出警报。按键144可以包括第一按键、第二按键、第三按键和第四按键,第一按键用于手动切换模拟开关电路112的档位,第二按键用于调大预设温度值,第三按键用于调小预设温度值,第四按键用作探针温度计100的开机键和关机键。The device
探针120的数量可以包括多个,例如探针120可以包括第一探针121、第二探针122、第三探针123和第四探针124,第一探针121、第二探针122、第三探针123和第四探针124均可拆卸地插设于设备主体110。The number of
请一并参阅图1和图3所示,在一些实施例中,模拟开关电路112可以包括第一电阻R1、第二电阻R2和第三电阻R3,第一电阻R1、第二电阻R2和第三电阻R3可选择性地接入接口电路111以切换模拟开关电路112的档位,第一电阻R1、第二电阻R2和第三电阻R3的电阻值依次递增;主控电路113被配置为:Please refer to FIG. 1 and FIG. 3 together. In some embodiments, the
若未检测到探针120插设于设备主体110,控制第三电阻R3与接口电路111串联,并断开第一电阻R1和接口电路111,以及第二电阻R2和接口电路111的连接。If it is not detected that the
作为一种示例,第一电阻R1的阻值为330欧姆,精度为1%;第二电阻R2的阻值为5.1K欧姆,精度为1%;第三电阻R3的阻值为100K欧姆,精度为1%。电阻的精度越高,电阻的一致性越好。在其他一些实施方式中,第三电阻R3的阻值也可以为150K欧姆或者为高阻态。As an example, the resistance value of the first resistor R1 is 330 ohms and the precision is 1%; the resistance value of the second resistor R2 is 5.1K ohms and the precision is 1%; the resistance value of the third resistor R3 is 100K ohms and the precision is 1%. 1%. The higher the precision of the resistance, the better the consistency of the resistance. In some other implementation manners, the resistance value of the third resistor R3 may also be 150K ohms or be in a high resistance state.
模拟开关电路112可选择性地在第一档位、第二档位和第三档位之间进行切换,当第一电阻R1接入接口电路111时,模拟开关电路112处于第一档位;当第二电阻R2接入接口电路111时,模拟开关电路112处于第二档位;当第三电阻R3接入接口电路111时,模拟开关电路112处于第三档位。The
在未检测到探针120插设于设备主体110时,主控电路113控制模拟开关电路112切换至第三档位,此时电阻最大的第三电阻R3与接口电路111串联在电源和地端之间,可有效降低电流大小,使得探针温度计100进入低功耗状态。When it is not detected that the
在其他一些实施例中,模拟开关电路112也可以通过电容进行分压,或者通过电感进行分压,在此不再一一详述。In some other embodiments, the
请一并参阅图3和图4所示,在一些实施例中,模拟开关电路112还可以包括第一模拟开关U1和第二模拟开关U2,第一模拟开关U1的信号输入端IN连接主控电路113的CH3_ADC_EN2,CH3_ADC_EN2具体可以为蓝牙芯片中用于控制第一模拟开关U1的端口,第一模拟开关U1的电源端V+连接主控电路113的RL3V0,RL3V0具体可以为蓝牙芯片的供电端口,第一模拟开关U1的共用端子COM连接第二模拟开关U2的常闭端NC,第一模拟开关U1的常开端NO连接第三电阻R3的第二端,第三电阻R3的第一端连接分压输出节点CH3_ADC1,第一模拟开关U1的常闭端NC连接第二电阻R2的第二端,第二电阻R2的第一端连接分压输出节点CH3_ADC1,第一模拟开关U1的接地端接地。Please refer to FIG. 3 and FIG. 4 together. In some embodiments, the
第二模拟开关U2的信号输入端IN连接主控电路113的CH3_ADC_EN1,CH3_ADC_EN1具体可以为主控电路113中用于控制第二模拟开关U2的端口,第二模拟开关U2的电源端V+连接主控电路113的RL3V0,第二模拟开关U2的共用端子COM连接主控电路113的RL3V0,第二模拟开关U2的常开端NO连接第一电阻R1的第二端,第一电阻R1的第一端连接分压输出节点CH3_ADC1。主控电路113被配置为:The signal input terminal IN of the second analog switch U2 is connected to CH3_ADC_EN1 of the
通过第一模拟开关U1和第二模拟开关U2选择第一电阻R1、第二电阻R2或者第三电阻R3与接口电路111连接,以完成模拟开关电路112的档位切换功能。The first resistor R1 , the second resistor R2 or the third resistor R3 is selected to be connected to the
具体地,主控电路113通过CH3_ADC_EN1和CH3_ADC_EN2的配置来切换模拟开关电路112的档位。例如,在未检测到探针120插设于设备主体110时,CH3_ADC_EN1被下拉为逻辑低电平,此时第二模拟开关U2的共用端子COM打到常闭端NC;同时CH3_ADC_EN2被上拉为逻辑高电平,此时第一模拟开关U1的共用端子COM打到常开端NO,电源电流可以经连接第二模拟开关U2的RL3V0、第二模拟开关U2的4脚、第二模拟开关U2的3脚、第一模拟开关U1的4脚、第一模拟开关U1的1脚、第三电阻R3后流向分压输出节点CH3_ADC1,也即将第三电阻R3和接口电路111串联在电源和地端之间。Specifically, the
本实施例中,第一模拟开关U1和第二模拟开关U2可以为SGM3157型模拟信号开关芯片,该型芯片采用轨至轨的工作模式,开关时间短、速度快,满足需要高速切换的应用场合。In this embodiment, the first analog switch U1 and the second analog switch U2 can be SGM3157 analog signal switch chips. This type of chip adopts a rail-to-rail working mode, and the switching time is short and the speed is fast, which meets the application occasions that require high-speed switching. .
在其他一些实施例中,也可以通过JFET(结型场效应管)或者MOS管(绝缘栅场效应管)组成模拟开关电路112,只要能够实现模拟开关电路112的档位切换功能即可。In some other embodiments, the
请一并参阅图4和图5所示,接口电路111可以包括耳机插座PJ-342,耳机插座PJ-342用于插设探针120,耳机插座PJ-342的引脚3通过电阻R57连接主控电路113的CH3_PJ_EN1,CH3_PJ_EN1具体可以为蓝牙芯片中用于检测探针120是否插入的端口,耳机插座PJ-342的引脚4和引脚6连接主控电路113的CH3_ADC1检测引脚,且耳机插座PJ-342的引脚4和引脚6通过二极管ED7接地,以实现防静电作用。Please refer to Fig. 4 and Fig. 5 together, the
当探针120未插入耳机插座PJ-342时,耳机插座PJ-342的引脚8和引脚9断开,此时主控电路113的CH3_PJ_EN1被上拉为高电平;当探针120插入耳机插座PJ-342时,耳机插座PJ-342的引脚8和引脚9导通,此时CH3_PJ_EN1接地,因而主控电路113的CH3_PJ_EN1从高电平下拉为低电平,从而触发中断,主控电路113根据中断判断有探针120插入。When the
请一并参阅图1、图3和图5所示,主控电路113的电压检测端CH3_PROBE_ADC1连接分压输出节点CH3_ADC1,主控电路113还被配置为:Please refer to FIG. 1, FIG. 3 and FIG. 5 together. The voltage detection terminal CH3_PROBE_ADC1 of the
若检测到探针120插设于设备主体110,也即检测到探针120插设于耳机插座PJ-342,判断电压检测端CH3_PROBE_ADC1获取的电压是否超出量程;If it is detected that the
若是,控制模拟开关电路112在多个档位之间进行切换,直至电压检测端CH3_PROBE_ADC1获取的电压满足量程,并根据该电压获取温度数据。If so, control the
本实施例中,电压的量程是0V~3.0V,当电压检测端CH3_PROBE_ADC1获取的电压大于或者等于3.0V时,即判断为电压超出量程。In this embodiment, the voltage range is 0V-3.0V, and when the voltage obtained by the voltage detection terminal CH3_PROBE_ADC1 is greater than or equal to 3.0V, it is determined that the voltage exceeds the range.
作为一种示例,当检测到探针120插设于耳机插座PJ-342时,模拟开关电路112切换至第一档位来读取CH3_PROBE_ADC1的电压值,如果CH3_PROBE_ADC1的电压值超过量程,则切换至第二档位来读取CH3_PROBE_ADC1的电压值,如果此时CH3_PROBE_ADC1的电压值还是超过量程,则切换至第三档位,直至CH3_PROBE_ADC1的电压值不会超过量程,此时主控电路113的软件通过对该电压进行模数转换,可以获取精准的温度数据,而后可将温度数据存储到内存中。As an example, when it is detected that the
在一些实施例中,电压检测端CH3_PROBE_ADC1可以采用定时机制,分时段采集电压,例如采集时间间隔为1秒,也即每隔1秒采集依次一次电压,而在空闲时间段切断接口电路111和模拟开关电路112的供电以达到更低的功耗。In some embodiments, the voltage detection terminal CH3_PROBE_ADC1 can adopt a timing mechanism to collect voltage in different periods, for example, the collection time interval is 1 second, that is, the voltage is collected sequentially every 1 second, and the
以下对第一档位、第二档位和第三档位的具体电路走向进行详细介绍:The following is a detailed introduction to the specific circuit directions of the first gear, the second gear and the third gear:
当第二模拟开关U2的CH3_ADC_EN1上拉到逻辑高电平,第二模拟开关U2的共用端子COM打到常开端NO,此时第二模拟开关U2的4脚和3脚断开,第一模拟开关U1处于断路状态,电源电流经第二模拟开关U2的RL3V0、第二模拟开关U2的4脚、第二模拟开关U2的1脚、第一电阻R1后流向分压输出节点CH3_ADC1,此时第一电阻R1起到分压作用,模拟开关电路112处于第一档位。When the CH3_ADC_EN1 of the second analog switch U2 is pulled up to a logic high level, the common terminal COM of the second analog switch U2 is switched to the normally open terminal NO, at this
当第二模拟开关U2的CH3_ADC_EN1下拉到逻辑低电平,此时第二模拟开关U2的共用端子COM打到常闭端NC;第一模拟开关U1的CH3_ADC_EN2下拉到逻辑低电平,此时第一模拟开关U1的共用端子COM打到常闭端NC,电源电流经第二模拟开关U2的RL3V0、第二模拟开关U2的4脚、第二模拟开关U2的3脚、第一模拟开关U1的4脚、第一模拟开关U1的3脚、第二电阻R2后流向分压输出节点CH3_ADC1,此时第二电阻R2起到分压作用,模拟开关电路112处于第二档位。When the CH3_ADC_EN1 of the second analog switch U2 is pulled down to a logic low level, the common terminal COM of the second analog switch U2 is connected to the normally closed terminal NC; the CH3_ADC_EN2 of the first analog switch U1 is pulled down to a logic low level, and the second The common terminal COM of an analog switch U1 is connected to the normally closed terminal NC, and the power supply current passes through RL3V0 of the second analog switch U2,
当第二模拟开关U2的CH3_ADC_EN1下拉为逻辑低电平,此时第二模拟开关U2的共用端子COM打开常闭端NC;第一模拟开关U1的CH3_ADC_EN2上拉为逻辑高电平,此时第一模拟开关U1的共用端子COM打到常开端NO,电源电流经第二模拟开关U2的RL3V0、第二模拟开关U2的4脚、第二模拟开关U2的3脚、第一模拟开关U1的4脚、第一模拟开关U1的1脚、第三电阻R3后流向分压输出节点CH3_ADC1,此时第三电阻R3起到分压作用,模拟开关电路112处于第三档位。When the CH3_ADC_EN1 of the second analog switch U2 is pulled down to a logic low level, the common terminal COM of the second analog switch U2 opens the normally closed terminal NC; the CH3_ADC_EN2 of the first analog switch U1 is pulled up to a logic high level, and the second When the common terminal COM of an analog switch U1 is connected to the normally open terminal NO, the power supply current passes through RL3V0 of the second analog switch U2,
在一些实施例中,主控电路113被配置为:In some embodiments, the
记录满足量程的档位对应的档位信息;Record the gear information corresponding to the gear that meets the range;
若电压检测端CH3_PROBE_ADC1获取到下一周期的电压,控制模拟开关电路112切换至与档位信息对应的档位。If the voltage detection terminal CH3_PROBE_ADC1 acquires the voltage of the next cycle, the
本实施例中,通过主控电路113的软件记录满足量程的档位对应的档位信息,主控电路113的软件可以仅记录上一周期使用的档位信息,以节省存储空间。例如,上一周期的电压是模拟开关电路112切换至第二档位后满足量程,则记录第二档位作为档位信息,在电压检测端CH3_PROBE_ADC1获取到下一周期的电压时,模拟开关电路112直接切换至第二档位,然后再判断CH3_PROBE_ADC1的电压值是否满足量程,如此可在一定程度上减少模拟开关电路112切换档位的次数,从而减少采集探针120输入的电压的时间,也即减少温度检测时间,最终降低整机的功耗。In this embodiment, the software of the
本实施例中,若CH3_PROBE_ADC1当前获取到的电压和上一个电压的时间间隔超过设定时间值,则判断当前的电压为下一周期的电压。在其他一些实施例中,主控电路113记录探针120处于室温下,电压检测端CH3_PROBE_ADC1获取到的电压作为参考信号,若CH3_PROBE_ADC1当前获取到的电压和参考电压的电压差值超过设定电压值,则判断当前的电压为下一周期的电压。In this embodiment, if the time interval between the current voltage obtained by CH3_PROBE_ADC1 and the previous voltage exceeds the set time value, it is judged that the current voltage is the voltage of the next cycle. In some other embodiments, the
在其他一些实施例中,主控电路113可对模拟开关电路112的档位进行排序,然后通过折半查找算法切换模拟开关电路112的档位,直至电压检测端CH3_PROBE_ADC1获取到的电压满足量程。In some other embodiments, the
作为一种示例,模拟开关电路112具有阻值依次增大的档位1、档位2、档位3、档位4、档位5、档位6、档位7、档位8、档位9和档位10,首先将模拟开关电路112切换至中间项档位5来读取CH3_PROBE_ADC1的电压值,如果CH3_PROBE_ADC1的电压值超过量程,则切换至后半部分的中间档位,即档位8来读取CH3_PROBE_ADC1的电压值,如果此时CH3_PROBE_ADC1的电压值还是超过量程,则依次切换至档位9和档位10,直至CH3_PROBE_ADC1的电压值不会超过量程,如此同样可在一定程度上减少模拟开关电路112切换档位的次数。As an example, the
在其他一些实施例中,主控电路113也可通过轮训的方式切换模拟开关电路112的档位。具体地,主控电路113先对模拟开关电路112的多个档位进行排序,然后按照排序依次切换模拟开关电路112的各个档位,直至CH3_PROBE_ADC1的电压值满足量程。In some other embodiments, the
在一些实施例中,主控电路113还被配置为:In some embodiments, the
若主控电路113获取到温度数据,控制模拟开关电路112切换至电阻值最大的档位。If the
以第三档位为模拟开关电路112电阻值最大的档位为例,主控电路113的软件根据满足量程的电压获取到温度数据后,即控制模拟开关电路112切换至第三档位,此时阻值最大的第三电阻R3起到分压作用,可将探针温度计100的电流降低至最小,从而降低整机在待机时的功耗。Taking the third gear as the gear with the largest resistance value of the
请一并参阅图1和图6所示,在一些实施例中,设备主体110还包括蓝牙模块115,蓝牙模块115连接主控电路113。其中,蓝牙模块115可集成于蓝牙芯片130(详见图2)。主控电路113被配置为:Please refer to FIG. 1 and FIG. 6 together. In some embodiments, the
在设备主体110开机后,配置蓝牙模块115的广播周期;After the device
控制蓝牙模块115根据广播周期发送温度数据;以及Control the
在温度数据发出后,控制蓝牙模块115进入休眠状态。After the temperature data is sent out, the
其中,蓝牙模块115的广播周期包括广播时间间隔和每一次广播的广播时长,广播时间间隔可以为1秒或者1.2秒等,广播时长可以为1秒或者2秒等,在广播时长结束后蓝牙模块115自动进入休眠状态。蓝牙模块115依据广播周期间歇式地将温度数据传输至手机或者其他蓝牙接收设备,从而能够在蓝牙接收设备查看探针温度计100的温度值。Wherein, the broadcast period of the
本实施例中,蓝牙模块115在进入休眠状态后仅用于接收手机等蓝牙接收设备发出的控制指令,并将控制指令传输至主控电路113,蓝牙模块115在休眠状态不对外发送数据,以降低功耗。或者,在其他一些实施例中,在蓝牙模块115进入休眠状态后切断蓝牙模块115的供电以达到更低的功耗。In this embodiment, the
进一步地,在温度数据发出后,即使广播时长也未结束,也立即控制蓝牙模块115进入休眠状态,可进一步地降低功耗。例如蓝牙广播时长为2s,若温度数据在1s时已经发出,此时蓝牙广播时长还剩1s,则依然控制蓝牙模块115进入休眠状态,而不是等待剩余的1s结束后再控制蓝牙进入休眠状态。Furthermore, after the temperature data is sent out, even if the broadcast duration is not over, the
在一些实施例中,探针120的数量包括多个,主控电路113的电压检测端的数量与探针120的数量一致,且接口电路111和模拟开关电路112的数量和探针120的数量一致,每一探针120分别通过对应的接口电路111和模拟开关电路112以连接对应的电压检测端。In some embodiments, the number of
请一并参阅图2、图4和图6所示,示例性的,探针120可以包括第一探针121、第二探针122、第三探针123和第四探针124,主控电路113配置有电压检测端CH1_PROBE_ADC1、CH2_PROBE_ADC1、CH3_PROBE_ADC1和CH4_PROBE_ADC1,以分别获取第一探针121、第二探针122、第三探针123和第四探针124输入的电压。Please refer to FIG. 2 , FIG. 4 and FIG. 6 . Exemplarily, the
本实施例中,主控电路113被配置为:In this embodiment, the
根据多个电压检测端输入的电压获取多个温度数据;Obtain multiple temperature data according to the voltage input by multiple voltage detection terminals;
将多个温度数据压缩后再通过蓝牙模块115发出。The multiple temperature data are compressed and then sent through the
其中,多个电压检测端输入的电压可以是各个电压检测端在同一时刻获取到的电压,例如,用户同时采用第一探针121和第二探针122测温,则主控电路113的CH1_PROBE_ADC1、CH2_PROBE_ADC1同时获取到一个电压,根据CH1_PROBE_ADC1、CH2_PROBE_ADC1输入的电压可以分别获取第一探针121的温度数据和第二探针122的温度数据,然后将第一探针121的温度数据和第二探针122的温度数据压缩后再通过蓝牙模块115一并发出,可以减小数据发送时间。Wherein, the voltages input by multiple voltage detection terminals may be the voltages obtained by each voltage detection terminal at the same time. , CH2_PROBE_ADC1 obtain a voltage at the same time, according to the input voltage of CH1_PROBE_ADC1 and CH2_PROBE_ADC1, the temperature data of the
多个电压检测端输入的电压也可以是各个电压检测端在预设时间段内获取到的电压,例如预设时间段为10s,用户先采用第一探针121测温,间隔2s后采用第二探针122测温,再间隔3s后采用第三探针123测温,则CH1_PROBE_ADC1、CH2_PROBE_ADC1、CH3_PROBE_ADC1获取到电压的时间间隔在10s内,则第一探针121的温度数据、第二探针122的温度数据以及第三探针123的温度数据会在压缩后一并通过蓝牙模块115发出。The voltage input by multiple voltage detection terminals can also be the voltage obtained by each voltage detection terminal within a preset time period. The
而若用户先采用第一探针121测温,间隔5s后采用第二探针122测温,再间隔12s后采用第三探针123测温,则CH1_PROBE_ADC1和CH2_PROBE_ADC1获取到电压的时间间隔在10s内,而CH1_PROBE_ADC1和CH3_PROBE_ADC1获取到电压的时间间隔超出10s,则第一探针121的温度数据和第二探针122的温度数据会在压缩后一并发出,第三探针123的温度数据可以单独发出。If the user first uses the
本实施例提供的探针温度计100在未检测到探针120插设于设备主体110时,主控电路113控制模拟开关电路112切换至电阻值最大的档位,可降低流经模拟开关电路112和主控电路113的电流大小,进而可降低探针温度计100的整体功耗,实现待机状态下的低功耗效果。When the
请一并参阅图1和图7所示,本申请实施例还提供了一种控制方法,该控制方法应用于探针温度计100,探针温度计100包括设备主体110和探针120,探针120可拆卸地插设于设备主体110,设备主体110包括接口电路111、模拟开关电路112以及主控电路113,模拟开关电路112的一端连接电源,另一端连接至接口电路111,接口电路111接地,模拟开关电路112和接口电路111之间的连接点作为分压输出节点114,模拟开关电路112具有多个档位,其中,不同的档位具有不同的电阻值;主控电路113连接接口电路111和模拟开关电路112,且连接分压输出节点114。Please refer to FIG. 1 and FIG. 7 together. The embodiment of the present application also provides a control method, which is applied to a
该控制方法可以包括步骤S210和步骤S220:The control method may include step S210 and step S220:
步骤S210:通过接口电路111检测探针120是否插设于设备主体110;Step S210: Detect whether the
步骤S220:若未检测到探针120插设于设备主体110,控制模拟开关电路112切换至电阻值最大的档位。Step S220: If it is not detected that the
在一些实施例中,主控电路113的电压检测端连接分压输出节点114,该控制方法还包括以下步骤:In some embodiments, the voltage detection terminal of the
若检测到探针120插设于设备主体110,判断电压检测端获取的电压是否超出量程;If it is detected that the
若是,控制模拟开关电路112在多个所述档位之间进行切换,直至电压检测端获取的电压满足所述量程,并根据该电压获取温度数据。If yes, the
在一些实施例中,该控制方法还可以包括以下步骤:In some embodiments, the control method may also include the following steps:
记录满足量程的档位对应的档位信息;Record the gear information corresponding to the gear that meets the range;
若电压检测端获取到下一周期的电压,控制模拟开关电路112切换至与档位信息对应的档位。If the voltage detection terminal acquires the voltage of the next cycle, the
在一些实施例中,该控制方法还可以包括以下步骤:In some embodiments, the control method may also include the following steps:
若主控电路113获取到温度数据,控制模拟开关电路112切换至电阻值最大的档位。If the
在一些实施例中,设备主体110还包括蓝牙模块115,蓝牙模块115连接主控电路113;该控制方法还包括以下步骤:In some embodiments, the device
在设备主体110开机后,配置蓝牙模块115的广播周期;After the device
控制蓝牙模块115根据广播周期发送温度数据;以及Control the
在温度数据发出后,控制蓝牙模块115进入休眠状态。After the temperature data is sent out, the
在一些实施例中,探针120的数量包括多个,电压检测端的数量与探针120的数量一致;该控制方法还可以保证以下步骤:In some embodiments, the number of
根据每一电压检测端输入的电压获取多个温度数据;Obtain multiple temperature data according to the voltage input by each voltage detection terminal;
将多个温度数据压缩后再通过蓝牙模块115发出。The multiple temperature data are compressed and then sent through the
本申请实施例提供了一种应用于探针温度计100的控制方法,在探针温度计100在未检测到探针120插设于设备主体110时,能够控制模拟开关电路112切换至电阻值最大的档位,可降低整机的电流大小,进而可降低探针温度计100的整体功耗,实现待机状态下的低功耗效果。The embodiment of the present application provides a control method applied to the
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present application, and the description thereof is relatively specific and detailed, but should not be construed as limiting the patent scope of the present application. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the scope of protection of the patent application should be based on the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110735988.6A CN115655503A (en) | 2021-06-30 | 2021-06-30 | Probe thermometer and its control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110735988.6A CN115655503A (en) | 2021-06-30 | 2021-06-30 | Probe thermometer and its control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115655503A true CN115655503A (en) | 2023-01-31 |
Family
ID=85015062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110735988.6A Pending CN115655503A (en) | 2021-06-30 | 2021-06-30 | Probe thermometer and its control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115655503A (en) |
-
2021
- 2021-06-30 CN CN202110735988.6A patent/CN115655503A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204515009U (en) | A kind of super low-power consumption battery voltage detection circuit | |
WO2010048873A1 (en) | Method and device for identifying type of charger | |
CN205787042U (en) | Battery power detection circuit and battery power detection system | |
TW201234184A (en) | Adaptive USB charging method and system | |
CN105745548A (en) | Battery fuel gauges using fet segment control to increase low current measurement accuracy | |
CN112448448B (en) | Charging control method, device, earphone, electronic device and readable storage medium | |
CN109217425A (en) | A kind of charger circuit and its intelligent charge control method | |
CN211348584U (en) | Leakage current tester | |
CN201133916Y (en) | A kind of multimeter equipped with alarm function data acquisition card | |
CN110198025A (en) | Battery protection system with temperature sensing circuit | |
CN208813015U (en) | Wake-up device, energy storage device and vehicle for battery management system | |
CN107690813B (en) | The power supply circuit of earphone and earphone | |
CN109405993A (en) | Temperature sensing circuit | |
CN214479786U (en) | Circuit and earphone box capable of distinguishing wired and wireless charging management currents | |
CN115655503A (en) | Probe thermometer and its control method | |
CN222073142U (en) | Interface multiplexing circuit | |
CN105223880A (en) | A kind of programmed control box net synchronization capability detection method and device | |
CN215826524U (en) | CC signal processing system | |
CN202772653U (en) | Dual battery mobile phone | |
CN110554173B (en) | Blood glucose meter device | |
CN213813853U (en) | Type and pin judgment circuit of triode | |
CN211742096U (en) | Electrifying delay circuit, mainboard battery voltage detection circuit, server mainboard and CPLD | |
CN212965358U (en) | Broken line detection circuit with load access automatic wake-up function and power bank | |
CN113525143A (en) | CC signal processing system | |
CN222319104U (en) | A virtual power detection device for a portable mobile power source |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 518057 3301, Building C, Lot 1, Chuangzhi Yuncheng, Liuxian Avenue, Xili Community, Xili Street, Nanshan District, Shenzhen, Guangdong Applicant after: Shenzhen Zhiyan Technology Co.,Ltd. Address before: 518000 2901, 2902, 2903, 2904, 3002, block C, building 1, Chuangzhi Yuncheng bid section 1, Liuxian Avenue, Xili community, Xili street, Nanshan District, Shenzhen City, Guangdong Province Applicant before: SHENZHEN ZHIYAN TECHNOLOGY Co.,Ltd. Country or region before: China |