A constant temperature control circuit and method using a single chip microcomputer and a driver chip

Through a constant temperature control circuit composed of a single-chip microcomputer and a driver chip, the rectifier circuit and feedback circuit are used to adjust the working mode of the thermoelectric refrigeration unit, which solves the problems of high temperature control cost and low efficiency in the existing technology, and achieves stable and efficient component temperature control. adjust.

CN118331353BActive Publication Date: 2024-09-24SHENZHEN LORENTZ TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410758026.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-13
Publication Date
2024-09-24
Estimated Expiration
2044-06-13

AI Technical Summary

Technical Problem

When the existing technology uses semiconductor refrigeration elements (TEC) for temperature control, the cost is high and it is difficult to achieve stable temperature control, which affects the efficiency of circuit temperature regulation.

Method used

A microcontroller and a driver chip are used to form a constant temperature control circuit, including a control unit, a temperature sampling unit, a drive unit and a thermoelectric refrigeration unit. The working mode of the thermoelectric refrigeration unit is adjusted through the rectifier circuit and feedback circuit, and the system is calculated based on the thermistor and volt-ampere characteristic curve. Heat or cooling capacity to achieve precise temperature regulation.

Benefits of technology

It reduces the cost of temperature control, improves the efficiency and reliability of temperature regulation, and achieves stable control of component temperature.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118331353B
    Figure CN118331353B
Patent Text Reader

Abstract

The invention discloses a circuit and method for realizing constant temperature control by using a single-chip microcomputer and a driving chip. A control unit, a temperature acquisition unit, a driving unit and a thermoelectric cooling unit are arranged in the circuit. The control unit controls the current size and direction of the thermoelectric cooling unit through a rectifier circuit, collects the ambient temperature or the temperature at the temperature control point through the temperature sampling unit, controls the output voltage of the driving control chip, the driving control chip drives the working mode of the thermoelectric cooling unit, the control unit outputs a PWM wave to control the output voltage of the driving control chip, calculates the heating capacity or cooling capacity corresponding to the current voltage according to the volt-ampere characteristic curve of TEC, the control unit converts the current voltage into the corresponding temperature value according to the resistance table, adjusts the heating capacity or cooling capacity after setting the target temperature, and the upper computer monitors and adjusts the parameters in real time through the serial port and displays the relevant content on the display unit, flexibly adjusts the TEC and achieves the best temperature control effect, thereby improving the reliability of the circuit operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of temperature control, and in particular relates to a circuit and method for realizing constant temperature control by using a single chip microcomputer and a driving chip. Background Art

[0002] At present, the principle of semiconductor cooling chip TEC, also known as thermoelectric cooling chip, is Peltier effect. It can cool and heat. It changes the polarity of DC and AC to decide whether to cool or heat on the same cooling chip. It is realized according to the principle of thermoelectricity. In order to realize TEC control, MCU plus MOS plus op amp or separate TEC chip is often used, which is more expensive. For example, Figure 1 The control chip, i.e., MCU, controls the MOS switching through rectification PWM to achieve cooling or heating separately. However, it is difficult to stably control the temperature of components that are greatly affected by temperature, which also affects the efficiency of circuit temperature regulation. Summary of the invention

[0003] In view of this, the present invention provides a constant temperature control circuit and method using a single-chip microcomputer and a driver chip to stably control the temperature of components and accurately adjust the driving thermoelectric cooling plate to solve the above-mentioned technical problems, which is specifically implemented by the following technical solutions.

[0004] In a first aspect, the present invention provides a constant temperature control circuit implemented by using a single chip microcomputer and a driver chip, wherein the constant temperature control circuit comprises a control unit, a temperature sampling unit, a driver unit and a thermoelectric cooling unit, wherein the temperature sampling unit and the driver unit are connected to the control unit, and the thermoelectric cooling unit is connected to the driver unit;

[0005] The driving unit includes a driving control chip, a rectifier circuit, a first feedback circuit and a second feedback circuit, wherein the rectifier circuit, the first feedback circuit and the second feedback circuit are connected to the driving control chip, the first feedback circuit includes a first capacitor connected in parallel to two pins of the driving control chip, a first FB module and a second FB module connected in parallel to both ends of the first capacitor, the second feedback circuit includes a third FB module connected to the thermoelectric cooling unit, and a second capacitor connected to the third FB module, and the second capacitor and the third FB module are connected to the driving control chip;

[0006] The control unit receives the sampled voltage sent by the temperature sampling unit to determine the temperature value corresponding to the sampled voltage, and the control unit compares the temperature value with a preset temperature threshold value to control the driving control chip through the rectifier circuit to adjust the working mode of the thermoelectric cooling unit, wherein the working mode includes a heating mode and a cooling mode.

[0007] As a further improvement of the above technical solution, the temperature sampling unit includes a first sampling module and a second sampling module arranged on the control unit, a first thermistor connected to the first sampling module, and a second thermistor connected to the second sampling module.

[0008] As a further improvement of the above technical solution, the first sampling module and the second sampling module have the same circuit structure, the first sampling module collects the ambient temperature of the first thermistor, and the second sampling module collects the temperature of the temperature control location of the second thermistor.

[0009] As a further improvement of the above technical solution, the constant temperature control circuit also includes a host computer and a communication interface, and the control unit is connected to the host computer through the communication interface.

[0010] As a further improvement of the above technical solution, the constant temperature control circuit also includes a display unit connected to the control unit, and the display unit is used to display at least one of the heating capacity, cooling capacity, ambient temperature and temperature at the control point of the thermoelectric refrigeration unit.

[0011] As a further improvement of the above technical solution, the model of the control unit is STM32F103RDT6, the model of the drive control chip is DRV8871DDA, the control unit outputs a PWM wave to control the output voltage of the drive control chip and calculates the heating capacity or cooling capacity corresponding to the current voltage according to the volt-ampere characteristic curve of the thermoelectric refrigeration unit.

[0012] As a further improvement of the above technical solution, the first FB module, the second FB module and the third FB module are used to suppress high-frequency noise and spike interference of signal or power lines, the first FB module, the second FB module and the third FB module have the same model and parameters, and the two ends of the first capacitor are normally open contacts.

[0013] As a further improvement of the above technical solution, when the temperature value corresponding to the sampling voltage received by the control unit is less than the preset temperature threshold, the control unit controls the driving control chip through the rectifier circuit to adjust the working mode of the thermoelectric refrigeration unit to a heating mode, wherein the driving control chip drives the current corresponding to the heating mode to flow into the thermoelectric refrigeration unit in a positive direction;

[0014] When the temperature value corresponding to the sampling voltage received by the control unit from the temperature sampling unit is greater than or equal to the preset temperature threshold, the control unit controls the driving control chip through the rectifier circuit to adjust the working mode of the thermoelectric refrigeration unit to the cooling mode, wherein the driving control chip drives the current corresponding to the cooling mode to flow reversely into the thermoelectric refrigeration unit.

[0015] In a second aspect, the present invention further provides a method for realizing constant temperature control using a single chip microcomputer and a driver chip, comprising the following steps:

[0016] An acquisition control unit receives a sampled voltage sent by a temperature sampling unit to determine a temperature value corresponding to the sampled voltage;

[0017] Determine whether the temperature value is less than a preset temperature threshold, wherein the preset temperature threshold is converted into a corresponding temperature value according to a resistance table of a thermistor in a temperature sampling unit;

[0018] If so, the control unit controls the driving control chip to adjust the working mode of the thermoelectric cooling unit to the heating mode through the rectifier circuit, wherein the driving control chip drives the current corresponding to the heating mode to flow into the thermoelectric cooling unit in the forward direction, and the control unit controls the output voltage of the driving control chip through the rectifier circuit and calculates the heating amount corresponding to the current voltage according to the volt-ampere characteristic curve of the thermoelectric cooling unit;

[0019] If not, the control unit controls the drive control chip through the rectifier circuit to adjust the working mode of the thermoelectric refrigeration unit to the cooling mode, wherein the drive control chip drives the current corresponding to the cooling mode to flow reversely into the thermoelectric refrigeration unit, and the control unit controls the output voltage of the drive control chip through the rectifier circuit and calculates the cooling capacity corresponding to the current voltage according to the volt-ampere characteristic curve of the thermoelectric refrigeration unit.

[0020] The invention provides a constant temperature control circuit and method using a single-chip microcomputer and a driver chip. The circuit is provided with a control unit, a temperature acquisition unit, a driver unit and a thermoelectric cooling unit. The driver unit includes a driver control chip, a rectifier circuit, a first feedback circuit and a second feedback circuit. The control unit controls the current size and direction of the thermoelectric cooling unit through the rectifier circuit, collects the ambient temperature or the temperature at the temperature control point through the temperature sampling unit, controls the output voltage of the driver control chip, drives the heating mode or the cooling mode of the thermoelectric cooling unit through the driver control chip, and outputs a PWM wave to control the output voltage of the driver control chip. According to the volt-ampere characteristic curve of TEC, the heating capacity or cooling capacity corresponding to the current voltage can be calculated. The ADC of the control unit samples the voltage value of the NTC resistor, i.e., the thermistor, and converts it into the corresponding temperature value according to the resistance table. After setting the target temperature, the heating capacity or cooling capacity is adjusted. The host computer can monitor and adjust the parameters in real time through the serial port and display the relevant content on the display unit, so as to realize flexible adjustment of TEC and achieve the best temperature control effect, thereby improving the reliability of the circuit operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0022] Figure 1 is a structural block diagram of a conventional TEC control circuit of the present invention;

[0023] Figure 2 It is a structural block diagram of a constant temperature control circuit realized by using a single chip microcomputer and a driving chip of the present invention;

[0024] Figure 3 A circuit diagram of a constant temperature control circuit realized by using a single chip microcomputer and a driver chip according to the present invention;

[0025] Figure 4 A circuit diagram of the drive control chip of the present invention;

[0026] Figure 5 is a circuit diagram of a temperature sampling unit of the present invention;

[0027] Figure 6 The present invention is a flow chart of a method for realizing a constant temperature control by using a single chip microcomputer and a driving chip.

[0028] The main component symbols are described as follows:

[0029] 100-control unit; 110-temperature sampling unit; 120-driving unit; 130-thermoelectric cooling unit; 140-driving control chip; 150-rectifier circuit; 160-first feedback circuit; 170-second feedback circuit; 180-first sampling module; 190-second sampling module; 200-first thermistor; 210-second thermistor; 220-host computer; 230-communication interface; 240-display unit. DETAILED DESCRIPTION

[0030] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0031] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. In contrast, when an element is referred to as being "directly on" another element, there is no intermediate element. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.

[0032] See also Figure 2 and Figure 3 The present invention provides a constant temperature control circuit using a single chip microcomputer and a driver chip, the constant temperature control circuit comprising a control unit 100, a temperature sampling unit 110, a driver unit 120 and a thermoelectric cooling unit 130, the temperature sampling unit 110 and the driver unit 120 are connected to the control unit 100, and the thermoelectric cooling unit 130 is connected to the driver unit 120;

[0033] The driving unit 120 includes a driving control chip 140, a rectifier circuit 150, a first feedback circuit 160, and a second feedback circuit 170. The rectifier circuit 150, the first feedback circuit 160, and the second feedback circuit 170 are connected to the driving control chip 140. The first feedback circuit 160 includes a first capacitor connected in parallel to two pins of the driving control chip 140, a first FB module and a second FB module connected in parallel to both ends of the first capacitor. The second feedback circuit 170 includes a third FB module connected to the thermoelectric cooling unit 130 and a second capacitor connected to the third FB module. The second capacitor and the third FB module are connected to the driving control chip 140.

[0034] The control unit 100 receives the sampled voltage sent by the temperature sampling unit 110 to determine the temperature value corresponding to the sampled voltage. The control unit 100 compares the temperature value with a preset temperature threshold and controls the driving control chip 140 through the rectifier circuit 150 to adjust the working mode of the thermoelectric cooling unit 130, wherein the working mode includes a heating mode and a cooling mode.

[0035] See also Figure 4 and Figure 5 In this embodiment, the temperature sampling unit 110 includes a first sampling module 180 set on the control unit 100, which is denoted as ADC1, and a second sampling module 190, which is denoted as ADC2. A first thermistor 200 connected to the first sampling module 180 is denoted as NTC1, and a second thermistor 210 connected to the second sampling module 190 is denoted as NTC2. The circuit structure of the first sampling module 180 and the second sampling module 190 is the same. The first sampling module 180 collects the ambient temperature of the first thermistor 200, and the second sampling module 190 collects the temperature of the temperature control location of the second thermistor 210. The constant temperature control circuit also includes a host computer 220 and a communication interface 230. The control unit 100 is connected to the host computer 220 as a PC through the communication interface 230 as a UART. The constant temperature control circuit also includes a display unit 240 connected to the control unit 100 as an MCU. The display unit 240 is an OLED for displaying at least one of the heating capacity, cooling capacity, ambient temperature and temperature at the temperature control point of the thermoelectric cooling unit 130. The model of the control unit 100 is STM32F103RDT6, the model of the drive control chip 140 is DRV8871DDA, the control unit 100 outputs a PWM wave to control the output voltage of the drive control chip 140 as a TEC DRIVER and calculates the heating capacity or cooling capacity corresponding to the current voltage according to the volt-ampere characteristic curve of the thermoelectric cooling unit 130 as a PELTIER. The first FB module, the second FB module and the third FB module are used to suppress high-frequency noise and spike interference of signal or power lines. The first FB module, the second FB module and the third FB module have the same model and parameters, and both ends of the first capacitor are normally open contacts.

[0036] It should be noted that the control unit 100 is recorded as MCU, i.e., a microprocessor, the thermoelectric cooling unit 130 is a Peltier, the first feedback circuit 160 and the second feedback circuit 170 feed back the feedback voltage in the circuit to the control unit 100, the first capacitor is recorded as C17, the second capacitor is three parallel capacitors C18, C19, and C20, the capacitors C18 and C19 are 22uF / 25V, the capacitor C20 is 0.1uF, the first FB module, the second FB module, and the third FB module are all FB0603, and the working voltage and current are 220V and 2A respectively. The driving unit 120 also includes a plurality of resistors R101, R100, and R13 connected in parallel on different pins of the driving control chip 140 recorded as U3, the resistor R101 is 10K, the resistor R100 is 10K, and the resistor R13 is 30K, the third FB module is connected to the thermoelectric cooling unit, i.e., TEC, and the first FB module and the second FB module are respectively connected to the two output ports of the driving control chip. When the control unit 100 receives that the temperature value corresponding to the sampling voltage of the temperature sampling unit 110 is less than the preset temperature threshold, the control unit 100 controls the drive control chip 140 through the rectifier circuit 150 to adjust the working mode of the thermoelectric refrigeration unit 130 to the heating mode, wherein the drive control chip 140 drives the current corresponding to the heating mode to flow into the thermoelectric refrigeration unit 130 in the forward direction; when the control unit 100 receives that the temperature value corresponding to the sampling voltage of the temperature sampling unit 110 is greater than or equal to the preset temperature threshold, the control unit 100 controls the drive control chip 140 through the rectifier circuit 150 to adjust the working mode of the thermoelectric refrigeration unit 130 to the cooling mode, wherein the drive control chip 140 drives the current corresponding to the cooling mode to flow into the thermoelectric refrigeration unit 130 in the reverse direction.

[0037] It should be understood that the drive control chip 140 uses the DRV8871DDA chip with an advanced current regulation circuit. This circuit does not use an analog voltage reference or an external sensing resistor, but uses a standard low-cost, low-power resistor to set the current threshold, which can limit the current to a known level, effectively reducing power consumption, and does not require a large-capacity capacitor to maintain a stable voltage such as when starting and stopping. The control unit 100 outputs PWM to control the current size and direction of the TEC. If the temperature rises, it needs to absorb heat from the TEC, so the TEC needs to generate heat, and the current flows into the TEC in the forward direction; if the temperature drops, it needs to release heat to the TEC, so the TEC needs to generate heat, and the current flows into the TEC in the reverse direction. The control unit 100 outputs a PWM wave to control the output voltage of the drive control chip 140. According to the volt-ampere characteristic curve of the TEC, the heating or cooling capacity corresponding to the current voltage can be calculated. The ADC of the control unit samples the voltage value of the NTC resistor, i.e., the thermistor, and converts it into the corresponding temperature value according to the resistance table. After setting the target temperature, the heating or cooling capacity is adjusted. The host computer 220 can monitor and adjust the parameters in real time through the communication interface 230, i.e., the serial port, and display the relevant content on the display unit 240, so as to realize flexible adjustment of TEC and achieve the best temperature control effect, thereby improving the reliability of the circuit operation.

[0038] See also Figure 6 The present invention also provides a method for realizing constant temperature control by using a single chip microcomputer and a driving chip, comprising the following steps:

[0039] S1: An acquisition control unit receives a sampled voltage sent by a temperature sampling unit to determine a temperature value corresponding to the sampled voltage;

[0040] S2: Determine whether the temperature value is less than a preset temperature threshold, wherein the preset temperature threshold is converted into a corresponding temperature value according to a resistance table of a thermistor in a temperature sampling unit;

[0041] S3: If yes, the control unit controls the driving control chip to adjust the working mode of the thermoelectric cooling unit to the heating mode through the rectifier circuit, wherein the driving control chip drives the current corresponding to the heating mode to flow into the thermoelectric cooling unit in the forward direction, and the control unit controls the output voltage of the driving control chip through the rectifier circuit and calculates the heating capacity corresponding to the current voltage according to the volt-ampere characteristic curve of the thermoelectric cooling unit;

[0042] S4: If not, the control unit controls the driving control chip to adjust the working mode of the thermoelectric refrigeration unit to the cooling mode through the rectifier circuit, wherein the driving control chip drives the current corresponding to the cooling mode to flow reversely into the thermoelectric refrigeration unit, and the control unit controls the output voltage of the driving control chip through the rectifier circuit and calculates the cooling capacity corresponding to the current voltage according to the volt-ampere characteristic curve of the thermoelectric refrigeration unit.

[0043] In this embodiment, the thermoelectric cooling unit is a TEC cooling sheet, i.e., a Peltier cooling sheet. The driving unit can provide comprehensive protection against faults and short circuits. The control unit outputs PWM to control the current size and direction of the TEC. If the temperature rises, it needs to absorb heat from the TEC, so the TEC needs to generate heat, and the current flows into the TEC in the positive direction; if the temperature drops, it needs to release heat to the TEC, so the TEC needs to generate cold, and the current flows into the TEC in the reverse direction. The control unit outputs a PWM wave to control the output voltage of the driving control chip. According to the volt-ampere characteristic curve of the TEC, the heating or cooling capacity corresponding to the current voltage can be calculated, thereby accurately adjusting the temperature and effectively improving the working stability of the circuit.

[0044] In all examples shown and described herein, any specific values ​​should be interpreted as merely exemplary and not as limiting, and thus other examples of the exemplary embodiments may have different values.

[0045] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0046] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A constant temperature control circuit using a single chip microcomputer and a driver chip, characterized in that: The constant temperature control circuit includes a control unit, a temperature sampling unit, a driving unit and a thermoelectric cooling unit, wherein the temperature sampling unit and the driving unit are connected to the control unit, and the thermoelectric cooling unit is connected to the driving unit; The driving unit includes a driving control chip, a rectifier circuit, a first feedback circuit and a second feedback circuit, wherein the rectifier circuit, the first feedback circuit and the second feedback circuit are connected to the driving control chip, the first feedback circuit includes a first capacitor connected in parallel to two pins of the driving control chip, a first FB module and a second FB module connected in parallel to both ends of the first capacitor, the second feedback circuit includes a third FB module connected to the thermoelectric cooling unit, and a second capacitor connected to the third FB module, and the second capacitor and the third FB module are connected to the driving control chip; The control unit receives the sampled voltage sent by the temperature sampling unit to determine the temperature value corresponding to the sampled voltage, and the control unit compares the temperature value with a preset temperature threshold value to control the driving control chip through the rectifier circuit to adjust the working mode of the thermoelectric cooling unit, wherein the working mode includes a heating mode and a cooling mode.

2. The constant temperature control circuit realized by using a single chip microcomputer and a driver chip according to claim 1, characterized in that: The temperature sampling unit includes a first sampling module and a second sampling module arranged on the control unit, a first thermistor connected to the first sampling module, and a second thermistor connected to the second sampling module.

3. The constant temperature control circuit realized by using a single chip microcomputer and a driver chip according to claim 2, characterized in that: The first sampling module and the second sampling module have the same circuit structure. The first sampling module collects the ambient temperature of the first thermistor, and the second sampling module collects the temperature of the temperature control location of the second thermistor.

4. The constant temperature control circuit realized by using a single chip microcomputer and a driver chip according to claim 1, characterized in that: The constant temperature control circuit also includes a host computer and a communication interface, and the control unit is connected to the host computer via the communication interface.

5. The constant temperature control circuit realized by using a single chip microcomputer and a driver chip according to claim 1, characterized in that: The constant temperature control circuit also includes a display unit connected to the control unit, and the display unit is used to display at least one of the heating capacity, cooling capacity, ambient temperature and temperature at the temperature control point of the thermoelectric refrigeration unit.

6. The constant temperature control circuit realized by using a single chip microcomputer and a driver chip according to claim 1, characterized in that: The model of the control unit is STM32F103RDT6, the model of the drive control chip is DRV8871DDA, the control unit outputs a PWM wave to control the output voltage of the drive control chip and calculates the heating amount or cooling amount corresponding to the current voltage according to the volt-ampere characteristic curve of the thermoelectric refrigeration unit.

7. The constant temperature control circuit realized by using a single chip microcomputer and a driver chip according to claim 1, characterized in that: The first FB module, the second FB module and the third FB module are used to suppress high-frequency noise and spike interference of signal or power lines. The first FB module, the second FB module and the third FB module have the same model and parameters, and both ends of the first capacitor are normally open contacts.

8. The constant temperature control circuit realized by using a single chip microcomputer and a driver chip according to claim 1, characterized in that: When the temperature value corresponding to the sampled voltage of the temperature sampling unit received by the control unit is less than the preset temperature threshold, the control unit controls the drive control chip to adjust the working mode of the thermoelectric cooling unit to the heating mode through the rectifier circuit, wherein the drive control chip drives the current corresponding to the heating mode to flow into the thermoelectric cooling unit in the forward direction; When the temperature value corresponding to the sampling voltage received by the control unit from the temperature sampling unit is greater than or equal to the preset temperature threshold, the control unit controls the driving control chip through the rectifier circuit to adjust the working mode of the thermoelectric refrigeration unit to the cooling mode, wherein the driving control chip drives the current corresponding to the cooling mode to flow reversely into the thermoelectric refrigeration unit.

9. A method for realizing constant temperature control using a single chip microcomputer and a driver chip, the method being applicable to the constant temperature control circuit according to any one of claims 1 to 8, characterized in that: The following steps are involved: An acquisition control unit receives a sampled voltage sent by a temperature sampling unit to determine a temperature value corresponding to the sampled voltage; Determine whether the temperature value is less than a preset temperature threshold, wherein the preset temperature threshold is converted into a corresponding temperature value according to a resistance table of a thermistor in a temperature sampling unit; If so, the control unit controls the driving control chip to adjust the working mode of the thermoelectric cooling unit to the heating mode through the rectifier circuit, wherein the driving control chip drives the current corresponding to the heating mode to flow into the thermoelectric cooling unit in the forward direction, and the control unit controls the output voltage of the driving control chip through the rectifier circuit and calculates the heating amount corresponding to the current voltage according to the volt-ampere characteristic curve of the thermoelectric cooling unit; If not, the control unit controls the drive control chip through the rectifier circuit to adjust the working mode of the thermoelectric refrigeration unit to the cooling mode, wherein the drive control chip drives the current corresponding to the cooling mode to flow reversely into the thermoelectric refrigeration unit, and the control unit controls the output voltage of the drive control chip through the rectifier circuit and calculates the cooling capacity corresponding to the current voltage according to the volt-ampere characteristic curve of the thermoelectric refrigeration unit.