[go: up one dir, main page]

CN115655503A - Probe thermometer and its control method - Google Patents

Probe thermometer and its control method Download PDF

Info

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
Application number
CN202110735988.6A
Other languages
Chinese (zh)
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.)
Shenzhen Zhiyan Technology Co Ltd
Original Assignee
Shenzhen Zhiyan 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 Shenzhen Zhiyan Technology Co Ltd filed Critical Shenzhen Zhiyan Technology Co Ltd
Priority to CN202110735988.6A priority Critical patent/CN115655503A/en
Publication of CN115655503A publication Critical patent/CN115655503A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The embodiment of the application provides a probe thermometer and a control method thereof, wherein the probe thermometer comprises an equipment main body and a probe, the equipment main body comprises an interface circuit, an analog switch circuit and a main control circuit, and the interface circuit is used for detecting whether the probe is inserted into the equipment main body or not; one end of the analog switch circuit is connected with the power supply, the other end of the analog switch circuit is connected with the interface circuit, the interface circuit is grounded, a connection point between the analog switch circuit and the interface circuit is used as a voltage division output node, the analog switch circuit is provided with a plurality of gears, and different gears have different resistance values; the master control circuit is connected with the interface circuit and the analog switch circuit and is connected with the voltage division output node, and the master control circuit is configured to: and if the probe is not detected to be inserted in the equipment main body, controlling the analog switch circuit to be switched to a gear with the maximum resistance value. The probe thermometer provided by the embodiment can switch the analog switch circuit to the gear with the largest resistance value when the probe is not detected to be inserted in the device body, so that the low power consumption effect in the standby state is realized.

Description

探针温度计及其控制方法Probe thermometer and its control method

技术领域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 probe thermometer 100 provided by the embodiment of the present application includes a device body 110 and a probe 120, the probe 120 is detachably inserted in the device body 110, the device body 110 includes an interface circuit 111, an analog switch circuit 112 and the main control circuit 113, the interface circuit 111 is used to detect whether the probe 120 is inserted in the device main body 110, one end of the analog switch circuit 112 is connected to the power supply, the other end is connected to the interface circuit 111, the interface circuit 111 is grounded, and the analog switch circuit 112 The connection point with the interface circuit 111 is used as a voltage-dividing output node 114, and the analog switch circuit 112 has multiple gear positions, wherein different gear positions have different resistance values; the main control circuit 113 connects the interface circuit 111 and the analog switch circuit 112, and connect the voltage division output node 114; the main control circuit 113 is configured as:

若未检测到探针120插设于设备主体110,控制模拟开关电路112切换至电阻值最大的档位。If it is not detected that the probe 120 is inserted into the main body 110 of the device, the analog switch circuit 112 is controlled to switch to the gear with the largest resistance value.

本申请实施例提供的探针温度计100中,主控电路113连接接口电路111,用于获取接口电路111发出的关于探针120是否插设于设备主体110的检测信号;主控电路113连接模拟开关电路112,用于控制模拟开关电路112切换档位,且可用于为模拟开关电路112提供电源,主控电路113还连接分压输出节点114,用于读取分压输出节点114处的电压。In the probe thermometer 100 provided in the embodiment of the present application, the main control circuit 113 is connected to the interface circuit 111 for obtaining the detection signal about whether the probe 120 is inserted into the device main body 110 sent by the interface circuit 111; the main control circuit 113 is connected to the analog The switch circuit 112 is used to control the analog switch circuit 112 to switch gears, and can be used to provide power for the analog switch circuit 112. The main control circuit 113 is also connected to the voltage division output node 114 for reading the voltage at the voltage division output node 114 .

探针120可以是NTC热敏电阻式温度探针,随着温度的变化,探针120的电阻值发生变化,也即接口电路111的电阻值发生变化,此时分压输出节点114处的电压即发生变化,主控电路113根据该电压可以获取探针120检测到的温度信息。同时,在未检测到探针120插设于设备主体110时,主控电路113控制模拟开关电路112切换至电阻值最大的档位,可降低流经模拟开关电路112和主控电路113的电流大小,进而可降低探针温度计100的整体功耗,实现待机状态下的低功耗效果。The probe 120 may be an NTC thermistor temperature probe. As the temperature changes, the resistance value of the probe 120 changes, that is, the resistance value of the interface circuit 111 changes. At this time, the voltage at the voltage divider output node 114 is That is, a change occurs, and the main control circuit 113 can obtain temperature information detected by the probe 120 according to the voltage. At the same time, when the probe 120 is not detected to be inserted into the device main body 110, the main control circuit 113 controls the analog switch circuit 112 to switch to the gear with the largest resistance value, which can reduce the current flowing through the analog switch circuit 112 and the main control circuit 113 size, thereby reducing the overall power consumption of the probe thermometer 100 and realizing the low power consumption effect in the standby state.

请一并参阅图1和图2所示,本实施例中,设备主体110还可以包括蓝牙芯片130,例如蓝牙芯片FR8018HA或者蓝牙芯片FR8016HB等等,蓝牙芯片130可以集成有接口电路111、模拟开关电路112和主控电路113。Please refer to FIG. 1 and FIG. 2 together. In this embodiment, the device body 110 may also include a Bluetooth chip 130, such as a Bluetooth chip FR8018HA or a Bluetooth chip FR8016HB, etc., and the Bluetooth chip 130 may be integrated with an interface circuit 111, an analog switch, etc. Circuit 112 and main control circuit 113.

当然,在其他一些实施例中,也可以将蓝牙芯片130替换为其他的MCU(Microcontroller Unit,微控制单元)芯片,该MCU芯片同样可以集成有接口电路111、模拟开关电路112和主控电路113。Of course, in some other embodiments, the Bluetooth chip 130 can also be replaced with other MCU (Microcontroller Unit, micro control unit) chips, and the MCU chip can also be integrated with the interface circuit 111, the analog switch circuit 112 and the main control circuit 113 .

设备主体110还可以包括显示屏141、电池142、蜂鸣报警器143和按键144等,显示屏141、电池142、蜂鸣报警器143和按键144均连接于蓝牙芯片130,显示屏141用于实时显示探针120检测的温度值,电池142用于提供电能,蜂鸣报警器143用于在探针120检测的温度值超过预设温度值时发出警报。按键144可以包括第一按键、第二按键、第三按键和第四按键,第一按键用于手动切换模拟开关电路112的档位,第二按键用于调大预设温度值,第三按键用于调小预设温度值,第四按键用作探针温度计100的开机键和关机键。The device main body 110 can also include a display screen 141, a battery 142, a buzzer alarm 143 and a button 144, etc., the display screen 141, the battery 142, the buzzer alarm 143 and the button 144 are all connected to the Bluetooth chip 130, and the display screen 141 is used for The temperature value detected by the probe 120 is displayed in real time, the battery 142 is used to provide electric energy, and the buzzer alarm 143 is used to issue an alarm when the temperature value detected by the probe 120 exceeds a preset temperature value. The buttons 144 may include a first button, a second button, a third button and a fourth button, the first button is used to manually switch the gear position of the analog switch circuit 112, the second button is used to increase the preset temperature value, and the third button It is used to decrease the preset temperature value, and the fourth button is used as a power-on key and a power-off key of the probe thermometer 100 .

探针120的数量可以包括多个,例如探针120可以包括第一探针121、第二探针122、第三探针123和第四探针124,第一探针121、第二探针122、第三探针123和第四探针124均可拆卸地插设于设备主体110。The number of probes 120 can include multiple, for example, the probes 120 can include a first probe 121, a second probe 122, a third probe 123 and a fourth probe 124, the first probe 121, the second probe 122 , the third probe 123 and the fourth probe 124 are detachably inserted into the device main body 110 .

请一并参阅图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 analog switch circuit 112 may include a first resistor R1, a second resistor R2 and a third resistor R3, and the first resistor R1, the second resistor R2 and the third resistor The three resistors R3 can be selectively connected to the interface circuit 111 to switch the gear position of the analog switch circuit 112, and the resistance values of the first resistor R1, the second resistor R2 and the third resistor R3 are sequentially increased; the main control circuit 113 is configured as:

若未检测到探针120插设于设备主体110,控制第三电阻R3与接口电路111串联,并断开第一电阻R1和接口电路111,以及第二电阻R2和接口电路111的连接。If it is not detected that the probe 120 is inserted into the device main body 110 , control the third resistor R3 to be connected in series with the interface circuit 111 , and disconnect the first resistor R1 from the interface circuit 111 and the second resistor R2 from the interface circuit 111 .

作为一种示例,第一电阻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 analog switch circuit 112 can selectively switch between the first gear, the second gear and the third gear, and when the first resistor R1 is connected to the interface circuit 111, the analog switch circuit 112 is in the first gear; When the second resistor R2 is connected to the interface circuit 111, the analog switch circuit 112 is in the second gear; when the third resistor R3 is connected to the interface circuit 111, the analog switch circuit 112 is in the third gear.

在未检测到探针120插设于设备主体110时,主控电路113控制模拟开关电路112切换至第三档位,此时电阻最大的第三电阻R3与接口电路111串联在电源和地端之间,可有效降低电流大小,使得探针温度计100进入低功耗状态。When it is not detected that the probe 120 is inserted into the main body 110 of the device, the main control circuit 113 controls the analog switch circuit 112 to switch to the third gear. At this time, the third resistor R3 with the largest resistance is connected in series with the interface circuit 111 at the power supply and ground terminals. Between, the magnitude of the current can be effectively reduced, so that the probe thermometer 100 enters a low power consumption state.

在其他一些实施例中,模拟开关电路112也可以通过电容进行分压,或者通过电感进行分压,在此不再一一详述。In some other embodiments, the analog switch circuit 112 may also perform voltage division through a capacitor, or perform voltage division through an inductor, which will not be described in detail here.

请一并参阅图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 analog switch circuit 112 may also include a first analog switch U1 and a second analog switch U2, and the signal input terminal IN of the first analog switch U1 is connected to the master CH3_ADC_EN2 and CH3_ADC_EN2 of the circuit 113 can specifically be ports used to control the first analog switch U1 in the Bluetooth chip, and the power supply terminal V+ of the first analog switch U1 is connected to RL3V0 of the main control circuit 113, and RL3V0 can specifically be a power supply port of the Bluetooth chip. The common terminal COM of the first analog switch U1 is connected to the normally closed terminal NC of the second analog switch U2, the normally open terminal NO of the first analog switch U1 is connected to the second terminal of the third resistor R3, and the first terminal of the third resistor R3 is connected to the branch The normally closed terminal NC of the first analog switch U1 is connected to the second terminal of the second resistor R2, the first terminal of the second resistor R2 is connected to the voltage division output node CH3_ADC1, and the ground terminal of the first analog switch U1 is grounded.

第二模拟开关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 main control circuit 113, CH3_ADC_EN1 can specifically be a port used to control the second analog switch U2 in the main control circuit 113, and the power supply terminal V+ of the second analog switch U2 is connected to the main control circuit 113. RL3V0 of the circuit 113, the common terminal COM of the second analog switch U2 is connected to RL3V0 of the main control circuit 113, the normally open terminal NO of the second analog switch U2 is connected to the second end of the first resistor R1, and the first end of the first resistor R1 is connected to Voltage divider output node CH3_ADC1. The main control circuit 113 is configured as:

通过第一模拟开关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 interface circuit 111 through the first analog switch U1 and the second analog switch U2 , so as to complete the gear switching function of the analog switch circuit 112 .

具体地,主控电路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 main control circuit 113 switches the gear of the analog switch circuit 112 through the configuration of CH3_ADC_EN1 and CH3_ADC_EN2. For example, when it is not detected that the probe 120 is inserted into the device main body 110, CH3_ADC_EN1 is pulled down to a logic low level, and at this time, the common terminal COM of the second analog switch U2 is connected to the normally closed terminal NC; at the same time, CH3_ADC_EN2 is pulled up as logic high level, at this time, the common terminal COM of the first analog switch U1 is switched to the normally open terminal NO, and the power supply current can be connected to RL3V0 of the second analog switch U2, pin 4 of the second analog switch U2, and Pin 3, pin 4 of the first analog switch U1, pin 1 of the first analog switch U1, and the third resistor R3 flow to the voltage-dividing output node CH3_ADC1, that is, the third resistor R3 and the interface circuit 111 are connected in series between the power supply and the ground terminal. between.

本实施例中,第一模拟开关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 analog switch circuit 112 can also be composed of a JFET (Junction Field Effect Transistor) or a MOS transistor (Insulated Gate Field Effect Transistor), as long as the gear switching function of the analog switch circuit 112 can be realized.

请一并参阅图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 interface circuit 111 can include the earphone jack PJ-342, the earphone jack PJ-342 is used for inserting the probe 120, the pin 3 of the earphone jack PJ-342 is connected to the main CH3_PJ_EN1 of the control circuit 113, CH3_PJ_EN1 can specifically be the port used to detect whether the probe 120 is inserted in the Bluetooth chip, the pin 4 and pin 6 of the earphone socket PJ-342 are connected to the CH3_ADC1 detection pin of the main control circuit 113, and the earphone Pin 4 and pin 6 of socket PJ-342 are grounded through diode ED7 to achieve anti-static effect.

当探针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 probe 120 is not inserted into the earphone jack PJ-342, the pin 8 and pin 9 of the earphone jack PJ-342 are disconnected, at this moment the CH3_PJ_EN1 of the main control circuit 113 is pulled up to high level; when the probe 120 is inserted When the earphone jack is PJ-342, pin 8 and pin 9 of the earphone jack PJ-342 are turned on, and CH3_PJ_EN1 is grounded at this time, so CH3_PJ_EN1 of the main control circuit 113 is pulled down from high level to low level, thereby triggering an interrupt, the main The control circuit 113 judges that the probe 120 is inserted according to the interruption.

请一并参阅图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 main control circuit 113 is connected to the voltage division output node CH3_ADC1. The main control circuit 113 is also configured as:

若检测到探针120插设于设备主体110,也即检测到探针120插设于耳机插座PJ-342,判断电压检测端CH3_PROBE_ADC1获取的电压是否超出量程;If it is detected that the probe 120 is inserted into the device main body 110, that is, it is detected that the probe 120 is inserted into the earphone jack PJ-342, determine whether the voltage obtained by the voltage detection terminal CH3_PROBE_ADC1 exceeds the range;

若是,控制模拟开关电路112在多个档位之间进行切换,直至电压检测端CH3_PROBE_ADC1获取的电压满足量程,并根据该电压获取温度数据。If so, control the analog switch circuit 112 to switch between multiple gears until the voltage obtained by the voltage detection terminal CH3_PROBE_ADC1 meets the range, and obtain temperature data according to the voltage.

本实施例中,电压的量程是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 probe 120 is plugged into the earphone jack PJ-342, the analog switch circuit 112 switches to the first gear to read the voltage value of CH3_PROBE_ADC1, if the voltage value of CH3_PROBE_ADC1 exceeds the range, then switch to The second gear is used to read the voltage value of CH3_PROBE_ADC1. If the voltage value of CH3_PROBE_ADC1 still exceeds the range at this time, switch to the third gear until the voltage value of CH3_PROBE_ADC1 does not exceed the range. At this time, the software of the main control circuit 113 passes By analog-to-digital conversion of this voltage, accurate temperature data can be obtained, which can then be stored in memory.

在一些实施例中,电压检测端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 interface circuit 111 and analog The power supply of the switching circuit 112 is used to achieve lower power consumption.

以下对第一档位、第二档位和第三档位的具体电路走向进行详细介绍: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 time pin 4 and pin 3 of the second analog switch U2 are disconnected, and the first analog The switch U1 is in the open circuit state, and the power supply current flows to the voltage-dividing output node CH3_ADC1 after passing through RL3V0 of the second analog switch U2, pin 4 of the second analog switch U2, pin 1 of the second analog switch U2, and the first resistor R1. A resistor R1 acts as a voltage divider, and the analog switch circuit 112 is in the first gear.

当第二模拟开关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, pin 4 of the second analog switch U2, pin 3 of the second analog switch U2, and pin 3 of the first analog switch U1. Pin 4, pin 3 of the first analog switch U1, and the second resistor R2 flow to the voltage-dividing output node CH3_ADC1. At this time, the second resistor R2 acts as a voltage divider, and the analog switch circuit 112 is in the second gear.

当第二模拟开关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, pin 4 of the second analog switch U2, pin 3 of the second analog switch U2, and pin 4 of the first analog switch U1. pin, pin 1 of the first analog switch U1, and the third resistor R3 then flow to the voltage divider output node CH3_ADC1. At this time, the third resistor R3 acts as a voltage divider, and the analog switch circuit 112 is in the third gear.

在一些实施例中,主控电路113被配置为:In some embodiments, the main control circuit 113 is configured to:

记录满足量程的档位对应的档位信息;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 analog switch circuit 112 is controlled to switch to the gear corresponding to the gear information.

本实施例中,通过主控电路113的软件记录满足量程的档位对应的档位信息,主控电路113的软件可以仅记录上一周期使用的档位信息,以节省存储空间。例如,上一周期的电压是模拟开关电路112切换至第二档位后满足量程,则记录第二档位作为档位信息,在电压检测端CH3_PROBE_ADC1获取到下一周期的电压时,模拟开关电路112直接切换至第二档位,然后再判断CH3_PROBE_ADC1的电压值是否满足量程,如此可在一定程度上减少模拟开关电路112切换档位的次数,从而减少采集探针120输入的电压的时间,也即减少温度检测时间,最终降低整机的功耗。In this embodiment, the software of the main control circuit 113 records the gear information corresponding to the gear that satisfies the range, and the software of the main control circuit 113 can only record the gear information used in the last cycle to save storage space. For example, if the voltage of the previous cycle is satisfied after the analog switch circuit 112 switches to the second gear, the second gear is recorded as the gear information. When the voltage detection terminal CH3_PROBE_ADC1 obtains the voltage of the next cycle, the analog switch circuit 112 directly switches to the second gear, and then judges whether the voltage value of CH3_PROBE_ADC1 satisfies the range, which can reduce the number of times the analog switch circuit 112 switches gears to a certain extent, thereby reducing the time for collecting the voltage input by the probe 120, and also That is to reduce the temperature detection time, and finally reduce the power consumption of the whole machine.

本实施例中,若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 main control circuit 113 records that the probe 120 is at room temperature, and the voltage obtained by the voltage detection terminal CH3_PROBE_ADC1 is used as a reference signal. If the voltage difference between the voltage currently obtained by CH3_PROBE_ADC1 and the reference voltage exceeds the set voltage value , then it is judged that the current voltage is the voltage of the next cycle.

在其他一些实施例中,主控电路113可对模拟开关电路112的档位进行排序,然后通过折半查找算法切换模拟开关电路112的档位,直至电压检测端CH3_PROBE_ADC1获取到的电压满足量程。In some other embodiments, the main control circuit 113 can sort the gears of the analog switch circuit 112, and then switch the gears of the analog switch circuit 112 through a binary search algorithm until the voltage obtained by the voltage detection terminal CH3_PROBE_ADC1 meets the range.

作为一种示例,模拟开关电路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 analog switch circuit 112 has gear 1, gear 2, gear 3, gear 4, gear 5, gear 6, gear 7, gear 8, gear 9 and gear 10, first switch the analog switch circuit 112 to the intermediate gear 5 to read the voltage value of CH3_PROBE_ADC1, if the voltage value of CH3_PROBE_ADC1 exceeds the range, then switch to the middle gear in the second half, that is, gear 8 To read the voltage value of CH3_PROBE_ADC1, if the voltage value of CH3_PROBE_ADC1 still exceeds the range at this time, switch to gear 9 and gear 10 in turn until the voltage value of CH3_PROBE_ADC1 does not exceed the range, which can also reduce the analog to a certain extent The number of times the switching circuit 112 switches gears.

在其他一些实施例中,主控电路113也可通过轮训的方式切换模拟开关电路112的档位。具体地,主控电路113先对模拟开关电路112的多个档位进行排序,然后按照排序依次切换模拟开关电路112的各个档位,直至CH3_PROBE_ADC1的电压值满足量程。In some other embodiments, the main control circuit 113 can also switch the gear of the analog switch circuit 112 through round-robin training. Specifically, the main control circuit 113 first sorts the multiple gears of the analog switch circuit 112, and then sequentially switches each gear of the analog switch circuit 112 according to the sorting until the voltage value of CH3_PROBE_ADC1 meets the range.

在一些实施例中,主控电路113还被配置为:In some embodiments, the main control circuit 113 is further configured to:

若主控电路113获取到温度数据,控制模拟开关电路112切换至电阻值最大的档位。If the main control circuit 113 obtains the temperature data, it controls the analog switch circuit 112 to switch to the gear with the largest resistance value.

以第三档位为模拟开关电路112电阻值最大的档位为例,主控电路113的软件根据满足量程的电压获取到温度数据后,即控制模拟开关电路112切换至第三档位,此时阻值最大的第三电阻R3起到分压作用,可将探针温度计100的电流降低至最小,从而降低整机在待机时的功耗。Taking the third gear as the gear with the largest resistance value of the analog switch circuit 112 as an example, after the software of the main control circuit 113 obtains the temperature data according to the voltage satisfying the range, it controls the analog switch circuit 112 to switch to the third gear. The third resistor R3 with the largest resistance value acts as a voltage divider, which can reduce the current of the probe thermometer 100 to a minimum, thereby reducing the power consumption of the whole machine when it is in standby.

请一并参阅图1和图6所示,在一些实施例中,设备主体110还包括蓝牙模块115,蓝牙模块115连接主控电路113。其中,蓝牙模块115可集成于蓝牙芯片130(详见图2)。主控电路113被配置为:Please refer to FIG. 1 and FIG. 6 together. In some embodiments, the device body 110 further includes a Bluetooth module 115 , and the Bluetooth module 115 is connected to the main control circuit 113 . Wherein, the Bluetooth module 115 can be integrated into the Bluetooth chip 130 (see FIG. 2 for details). The main control circuit 113 is configured as:

在设备主体110开机后,配置蓝牙模块115的广播周期;After the device main body 110 is powered on, configure the broadcast period of the Bluetooth module 115;

控制蓝牙模块115根据广播周期发送温度数据;以及Control the Bluetooth module 115 to send temperature data according to the broadcast cycle; and

在温度数据发出后,控制蓝牙模块115进入休眠状态。After the temperature data is sent out, the bluetooth module 115 is controlled to enter the dormant state.

其中,蓝牙模块115的广播周期包括广播时间间隔和每一次广播的广播时长,广播时间间隔可以为1秒或者1.2秒等,广播时长可以为1秒或者2秒等,在广播时长结束后蓝牙模块115自动进入休眠状态。蓝牙模块115依据广播周期间歇式地将温度数据传输至手机或者其他蓝牙接收设备,从而能够在蓝牙接收设备查看探针温度计100的温度值。Wherein, the broadcast period of the Bluetooth module 115 includes the broadcast time interval and the broadcast duration of each broadcast. The broadcast time interval can be 1 second or 1.2 seconds, etc., and the broadcast duration can be 1 second or 2 seconds. After the broadcast duration ends, the Bluetooth module 115 automatically goes to sleep. The Bluetooth module 115 intermittently transmits the temperature data to the mobile phone or other Bluetooth receiving devices according to the broadcast cycle, so that the temperature value of the probe thermometer 100 can be viewed on the Bluetooth receiving device.

本实施例中,蓝牙模块115在进入休眠状态后仅用于接收手机等蓝牙接收设备发出的控制指令,并将控制指令传输至主控电路113,蓝牙模块115在休眠状态不对外发送数据,以降低功耗。或者,在其他一些实施例中,在蓝牙模块115进入休眠状态后切断蓝牙模块115的供电以达到更低的功耗。In this embodiment, the bluetooth module 115 is only used to receive control commands sent by bluetooth receiving devices such as mobile phones after entering the dormant state, and transmits the control commands to the main control circuit 113. The bluetooth module 115 does not send data externally in the dormant state, so Reduce power consumption. Or, in some other embodiments, after the Bluetooth module 115 enters the sleep state, the power supply of the Bluetooth module 115 is cut off to achieve lower power consumption.

进一步地,在温度数据发出后,即使广播时长也未结束,也立即控制蓝牙模块115进入休眠状态,可进一步地降低功耗。例如蓝牙广播时长为2s,若温度数据在1s时已经发出,此时蓝牙广播时长还剩1s,则依然控制蓝牙模块115进入休眠状态,而不是等待剩余的1s结束后再控制蓝牙进入休眠状态。Furthermore, after the temperature data is sent out, even if the broadcast duration is not over, the Bluetooth module 115 is immediately controlled to enter the sleep state, which can further reduce power consumption. For example, the bluetooth broadcast duration is 2s, if the temperature data has been sent in 1s, and the bluetooth broadcast duration has 1s left, then the bluetooth module 115 is still controlled to enter the dormant state, rather than waiting for the remaining 1s to end before controlling the bluetooth to enter the dormant state.

在一些实施例中,探针120的数量包括多个,主控电路113的电压检测端的数量与探针120的数量一致,且接口电路111和模拟开关电路112的数量和探针120的数量一致,每一探针120分别通过对应的接口电路111和模拟开关电路112以连接对应的电压检测端。In some embodiments, the number of probes 120 includes multiple, the number of voltage detection terminals of the main control circuit 113 is consistent with the number of probes 120, and the number of interface circuits 111 and analog switch circuits 112 is consistent with the number of probes 120 , each probe 120 is respectively connected to the corresponding voltage detection terminal through the corresponding interface circuit 111 and the analog switch circuit 112 .

请一并参阅图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 probe 120 may include a first probe 121 , a second probe 122 , a third probe 123 and a fourth probe 124 . The circuit 113 is configured with voltage detection terminals CH1_PROBE_ADC1 , CH2_PROBE_ADC1 , CH3_PROBE_ADC1 and CH4_PROBE_ADC1 to acquire voltages input by the first probe 121 , the second probe 122 , the third probe 123 and the fourth probe 124 respectively.

本实施例中,主控电路113被配置为:In this embodiment, the main control circuit 113 is configured as:

根据多个电压检测端输入的电压获取多个温度数据;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 bluetooth module 115 .

其中,多个电压检测端输入的电压可以是各个电压检测端在同一时刻获取到的电压,例如,用户同时采用第一探针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 first probe 121 and the temperature data of the second probe 122 can be respectively obtained, and then the temperature data of the first probe 121 and the temperature data of the second probe can be obtained The temperature data of the needle 122 is compressed and sent together through the Bluetooth module 115, which can reduce the data sending time.

多个电压检测端输入的电压也可以是各个电压检测端在预设时间段内获取到的电压,例如预设时间段为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 second probe 122 measures the temperature, and after an interval of 3 seconds, the third probe 123 is used to measure the temperature, then the time interval for CH1_PROBE_ADC1, CH2_PROBE_ADC1, and CH3_PROBE_ADC1 to obtain the voltage is within 10 seconds, then the temperature data of the first probe 121, the second probe The temperature data of 122 and the temperature data of the third probe 123 will be sent through the bluetooth module 115 after being compressed.

而若用户先采用第一探针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 first probe 121 to measure the temperature, then uses the second probe 122 to measure the temperature after an interval of 5s, and then uses the third probe 123 to measure the temperature after an interval of 12s, then the time interval between CH1_PROBE_ADC1 and CH2_PROBE_ADC1 to obtain the voltage is 10s If the time interval between CH1_PROBE_ADC1 and CH3_PROBE_ADC1 to obtain the voltage exceeds 10s, the temperature data of the first probe 121 and the temperature data of the second probe 122 will be sent together after compression, and the temperature data of the third probe 123 can be Issued separately.

本实施例提供的探针温度计100在未检测到探针120插设于设备主体110时,主控电路113控制模拟开关电路112切换至电阻值最大的档位,可降低流经模拟开关电路112和主控电路113的电流大小,进而可降低探针温度计100的整体功耗,实现待机状态下的低功耗效果。When the probe thermometer 100 provided in this embodiment does not detect that the probe 120 is inserted into the device main body 110, the main control circuit 113 controls the analog switch circuit 112 to switch to the gear with the largest resistance value, which can reduce the flow through the analog switch circuit 112. and the current of the main control circuit 113, thereby reducing the overall power consumption of the probe thermometer 100 and realizing the effect of low power consumption in the standby state.

请一并参阅图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 probe thermometer 100. The probe thermometer 100 includes a device main body 110 and a probe 120. The probe 120 Removably inserted in the device main body 110, the device main body 110 includes an interface circuit 111, an analog switch circuit 112 and a main control circuit 113, one end of the analog switch circuit 112 is connected to the power supply, the other end is connected to the interface circuit 111, the interface circuit 111 is grounded, The connection point between the analog switch circuit 112 and the interface circuit 111 is used as a voltage-dividing output node 114, and the analog switch circuit 112 has a plurality of gear positions, wherein different gear positions have different resistance values; the main control circuit 113 is connected to the interface circuit 111 and the analog switch circuit 112 , and connected to the voltage-dividing output node 114 .

该控制方法可以包括步骤S210和步骤S220:The control method may include step S210 and step S220:

步骤S210:通过接口电路111检测探针120是否插设于设备主体110;Step S210: Detect whether the probe 120 is inserted into the device main body 110 through the interface circuit 111;

步骤S220:若未检测到探针120插设于设备主体110,控制模拟开关电路112切换至电阻值最大的档位。Step S220: If it is not detected that the probe 120 is inserted into the device main body 110, control the analog switch circuit 112 to switch to the gear with the largest resistance value.

在一些实施例中,主控电路113的电压检测端连接分压输出节点114,该控制方法还包括以下步骤:In some embodiments, the voltage detection terminal of the main control circuit 113 is connected to the voltage division output node 114, and the control method further includes the following steps:

若检测到探针120插设于设备主体110,判断电压检测端获取的电压是否超出量程;If it is detected that the probe 120 is inserted into the device main body 110, it is judged whether the voltage obtained by the voltage detection terminal exceeds the range;

若是,控制模拟开关电路112在多个所述档位之间进行切换,直至电压检测端获取的电压满足所述量程,并根据该电压获取温度数据。If yes, the analog switch circuit 112 is controlled to switch between multiple gears until the voltage obtained by the voltage detection terminal satisfies the range, and temperature data is obtained according to the voltage.

在一些实施例中,该控制方法还可以包括以下步骤: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 analog switch circuit 112 is controlled to switch to the gear corresponding to the gear information.

在一些实施例中,该控制方法还可以包括以下步骤:In some embodiments, the control method may also include the following steps:

若主控电路113获取到温度数据,控制模拟开关电路112切换至电阻值最大的档位。If the main control circuit 113 obtains the temperature data, it controls the analog switch circuit 112 to switch to the gear with the largest resistance value.

在一些实施例中,设备主体110还包括蓝牙模块115,蓝牙模块115连接主控电路113;该控制方法还包括以下步骤:In some embodiments, the device main body 110 also includes a Bluetooth module 115, and the Bluetooth module 115 is connected to the main control circuit 113; the control method also includes the following steps:

在设备主体110开机后,配置蓝牙模块115的广播周期;After the device main body 110 is powered on, configure the broadcast period of the Bluetooth module 115;

控制蓝牙模块115根据广播周期发送温度数据;以及Control the Bluetooth module 115 to send temperature data according to the broadcast cycle; and

在温度数据发出后,控制蓝牙模块115进入休眠状态。After the temperature data is sent out, the bluetooth module 115 is controlled to enter the dormant state.

在一些实施例中,探针120的数量包括多个,电压检测端的数量与探针120的数量一致;该控制方法还可以保证以下步骤:In some embodiments, the number of probes 120 includes multiple, and the number of voltage detection terminals is consistent with the number of probes 120; the control method can also ensure the following steps:

根据每一电压检测端输入的电压获取多个温度数据;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 bluetooth module 115 .

本申请实施例提供了一种应用于探针温度计100的控制方法,在探针温度计100在未检测到探针120插设于设备主体110时,能够控制模拟开关电路112切换至电阻值最大的档位,可降低整机的电流大小,进而可降低探针温度计100的整体功耗,实现待机状态下的低功耗效果。The embodiment of the present application provides a control method applied to the probe thermometer 100. When the probe thermometer 100 does not detect that the probe 120 is inserted into the device main body 110, it can control the analog switch circuit 112 to switch to the one with the largest resistance value. The gear position can reduce the current size of the whole machine, thereby reducing the overall power consumption of the probe thermometer 100, and realizing the low power consumption effect in the standby state.

以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。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)

1.一种探针温度计,其特征在于,包括设备主体和探针,所述探针可拆卸地插设于所述设备主体,所述设备主体包括:1. A probe thermometer, characterized in that it comprises a device body and a probe, and the probe is detachably inserted in the device body, and the device body comprises: 接口电路,用于检测所述探针是否插设于所述设备主体;an interface circuit for detecting whether the probe is inserted into the device main body; 模拟开关电路,所述模拟开关电路的一端连接电源,另一端连接至所述接口电路,所述接口电路接地,所述模拟开关电路和所述接口电路之间的连接点作为分压输出节点,所述模拟开关电路具有多个档位,其中,不同的档位具有不同的电阻值;以及An analog switch circuit, one end of the analog switch circuit is connected to a 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 division output node, The analog switch circuit has multiple gears, wherein different gears have different resistance values; and 主控电路,连接所述接口电路和所述模拟开关电路,且连接所述分压输出节点,所述主控电路被配置为:A main control circuit, connected to the interface circuit and the analog switch circuit, and connected to the voltage division output node, the main control circuit is configured as: 若未检测到所述探针插设于所述设备主体,控制所述模拟开关电路切换至电阻值最大的档位。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 a gear with the largest resistance value. 2.根据权利要求1所述的探针温度计,其特征在于,所述主控电路的电压检测端连接所述分压输出节点,所述主控电路被配置为:2. The probe thermometer according to claim 1, wherein the voltage detection terminal of the main control circuit is connected to the voltage divider output node, and the main control circuit is configured as: 若检测到所述探针插设于所述设备主体,判断所述电压检测端获取的电压是否超出量程;If it is detected that the probe is inserted into the main body of the device, it is determined whether the voltage obtained by the voltage detection terminal exceeds the range; 若是,控制所述模拟开关电路在多个所述档位之间进行切换,直至所述电压满足所述量程,并根据所述电压获取温度数据。If so, control the analog switch circuit to switch between multiple gears until the voltage meets the range, and obtain temperature data according to the voltage. 3.根据权利要求2所述的探针温度计,其特征在于,所述主控电路被配置为:3. The probe thermometer according to claim 2, wherein the main control circuit is configured as: 记录满足所述量程的档位对应的档位信息;Recording the gear information corresponding to the gear that satisfies the range; 若所述电压检测端获取到下一周期的电压,控制所述模拟开关电路切换至与所述档位信息对应的档位。If the voltage detection terminal obtains the voltage of the next cycle, the analog switch circuit is controlled to switch to the gear corresponding to the gear information. 4.根据权利要求2所述的探针温度计,其特征在于,所述主控电路被配置为:4. The probe thermometer according to claim 2, wherein the main control circuit is configured as: 若所述主控电路获取到所述温度数据,控制所述模拟开关电路切换至电阻值最大的档位。If the main control circuit acquires the temperature data, it controls the analog switch circuit to switch to the gear with the largest resistance value. 5.根据权利要求2所述的探针温度计,其特征在于,所述设备主体还包括蓝牙模块,所述蓝牙模块连接所述主控电路,所述主控电路被配置为:5. The probe thermometer according to claim 2, wherein the main body of the device further comprises a bluetooth module, the bluetooth module is connected to the main control circuit, and the main control circuit is configured as: 在所述设备主体开机后,配置所述蓝牙模块的广播周期;After the main body of the device is turned on, configure the broadcast period of the Bluetooth module; 控制所述蓝牙模块根据所述广播周期发送所述温度数据;以及controlling the bluetooth module to send the temperature data according to the broadcast period; and 在所述温度数据发出后,控制所述蓝牙模块进入休眠状态。After the temperature data is sent out, the bluetooth module is controlled to enter a dormant state. 6.根据权利要求5所述的探针温度计,其特征在于,所述探针的数量包括多个,所述电压检测端的数量与所述探针的数量一致;所述主控电路被配置为:6. The probe thermometer according to claim 5, wherein the number of the probes comprises a plurality, and the number of the voltage detection terminals is consistent with the number of the probes; the main control circuit is configured as : 根据每一所述电压检测端输入的电压获取多个温度数据;Acquire a plurality of temperature data according to the voltage input by each of the voltage detection terminals; 将多个所述温度数据压缩后再通过所述蓝牙模块发出。The multiple temperature data are compressed and then sent through the bluetooth module. 7.根据权利要求1所述的探针温度计,其特征在于,所述模拟开关电路包括第一电阻、第二电阻和第三电阻,所述第一电阻、所述第二电阻和所述第三电阻可选择性地接入所述接口电路以切换所述模拟开关电路的档位,所述第一电阻、所述第二电阻和所述第三电阻的电阻值依次递增;所述主控电路被配置为:7. The probe thermometer according to claim 1, wherein said analog switch circuit comprises a first resistor, a second resistor and a third resistor, said first resistor, said second resistor and said first resistor The three resistors can be selectively connected to the interface circuit to switch the gear position of the analog switch circuit, and the resistance values of the first resistor, the second resistor and the third resistor increase sequentially; the main control The circuit is configured as: 若未检测到所述探针插设于所述设备主体,控制所述第三电阻与所述接口电路串联,并断开所述第一电阻和所述接口电路,以及所述第二电阻和所述接口电路的连接。If it is not detected that the probe is inserted into the main body of the device, control the third resistor to be connected in series with the interface circuit, and disconnect the first resistor from the interface circuit, and the second resistor from the interface circuit. connection of the interface circuit. 8.根据权利要求7所述的探针温度计,其特征在于,所述模拟开关电路还包括第一模拟开关和第二模拟开关,所述第一模拟开关的信号输入端和电源端均连接所述主控电路,所述第一模拟开关的共用端子连接所述第二模拟开关的常闭端,所述第一模拟开关的常开端连接所述第三电阻的第二端,所述第三电阻的第一端连接所述分压输出节点;所述第一模拟开关的常闭端连接所述第二电阻的第二端,所述第二电阻的第一端连接所述分压输出节点;所述第二模拟开关的信号输入端、电源端和共用端子均连接所述主控电路,所述第二模拟开关的常开端连接所述第一电阻的第二端,所述第一电阻的第一端连接所述分压输出节点;所述主控电路被配置为:8. The probe thermometer according to claim 7, wherein the analog switch circuit further comprises a first analog switch and a second analog switch, and the signal input end and the power end of the first analog switch are connected to the The main control circuit, the common terminal of the first analog switch is connected to the normally closed end of the second analog switch, the normally open end of the first analog switch is connected to the second end of the third resistor, and the third The first end of the resistor is connected to the voltage division output node; the normally closed end of the first analog switch is connected to the second end of the second resistor, and the first end of the second resistor is connected to the voltage division output node ; The signal input terminal, the power supply terminal and the common terminal of the second analog switch are all connected to the main control circuit, the normally open end of the second analog switch is connected to the second end of the first resistor, and the first resistor The first end of the voltage divider is connected to the output node; the main control circuit is configured as: 通过所述第一模拟开关和所述第二模拟开关选择所述第一电阻、所述第二电阻或者所述第三电阻与所述接口电路连接。The first resistor, the second resistor or the third resistor is selected to be connected to the interface circuit through the first analog switch and the second analog switch. 9.一种控制方法,应用于探针温度计,所述探针温度计包括设备主体和探针,所述探针可拆卸地插设于所述设备主体,所述设备主体包括接口电路、模拟开关电路以及主控电路,所述模拟开关电路的一端连接电源,另一端连接至所述接口电路,所述接口电路接地,所述模拟开关电路和所述接口电路之间的连接点作为分压输出节点,所述模拟开关电路具有多个档位,其中,不同的档位具有不同的电阻值;主控电路连接所述接口电路和所述模拟开关电路,且连接所述分压输出节点,所述控制方法包括:9. A control method, 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, an analog switch circuit and a main control circuit, one end of the analog switch circuit is connected to a 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 circuit has multiple gears, wherein 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 divided voltage output node, so The control methods mentioned above include: 通过所述接口电路检测所述探针是否插设于所述设备主体;Detecting whether the probe is inserted into the device main body 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 a position with the largest resistance value. 10.根据权利要求9所述的控制方法,其特征在于,所述主控电路的电压检测端连接所述分压输出节点,所述控制方法还包括:10. The control method according to claim 9, wherein the voltage detection terminal of the main control circuit is connected to the voltage division output node, and the control method further comprises: 若检测到所述探针插设于所述设备主体,判断所述电压检测端获取的电压是否超出量程;If it is detected that the probe is inserted into the main body of the device, it is determined whether the voltage obtained by the voltage detection terminal exceeds the range; 若是,控制所述模拟开关电路在多个所述档位之间进行切换,直至所述电压满足所述量程,并根据所述电压获取温度数据。If so, control the analog switch circuit to switch between multiple gears until the voltage meets the range, and acquire temperature data according to the voltage.
CN202110735988.6A 2021-06-30 2021-06-30 Probe thermometer and its control method Pending CN115655503A (en)

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)

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