Control method and device based on semiconductor dehumidifier

By monitoring the operating power and cold junction temperature of the semiconductor dehumidifier in real time, and adjusting the pulse width modulation signal according to the target parameters, double closed-loop control of the power and temperature of the semiconductor refrigerator is achieved, the problem of unstable operation of the semiconductor dehumidifier is solved and the dehumidification effect is maximized.

CN119802733APending Publication Date: 2025-04-11BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411197820.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In existing semiconductor dehumidifiers, due to the influence of external temperature, the resistance value is frequent, resulting in unstable working power of the refrigerator, which in turn causes unstable operation of the dehumidifier and cannot maximize the dehumidifier effect.

Method used

By obtaining the real-time operating power and cold junction temperature of the semiconductor refrigerator, combining the set target operating power and ambient condensation temperature, the control parameters used to control the pulse width modulation signal are determined to realize dual closed-loop control of the power and temperature of the semiconductor refrigerator.

Benefits of technology

It ensures that the overall power and temperature of the dehumidifier are constant during operation, and maximizes the dehumidification effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119802733A_ABST
    Figure CN119802733A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a control method and device based on a semiconductor dehumidifier, the dehumidifier is provided with a semiconductor cooler, and the method comprises the steps that the real-time operation power of the semiconductor cooler is obtained, and according to the real-time operation power and set target operation power, the real-time operation power of the semiconductor cooler is obtained; determining a first control parameter for controlling the pulse width modulation signal; the real-time cold end temperature of the semiconductor cooler is obtained, and a second control parameter used for controlling a pulse width modulation signal is determined according to the real-time cold end temperature and the condensation temperature of the current environment; and controlling a pulse width modulation signal in combination with the first control parameter and the second control parameter so as to adjust the semiconductor cooler through the pulse width modulation signal. According to the embodiment of the invention, the power and temperature of the semiconductor cooler in the dehumidifier are controlled, and the overall power and temperature of the dehumidifier during working are ensured to be constant.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of semiconductor dehumidifiers, and in particular to a control method and device based on semiconductor dehumidifiers. Background Art

[0002] At present, dehumidifiers are also called dryers and dehumidifiers, which can be generally divided into two categories: civil dehumidifiers and industrial dehumidifiers. Dehumidifiers dehumidify by condensing or absorbing moisture in the air to reduce the humidity in the air.

[0003] In the prior art, cooling is generally performed by a semiconductor refrigerator in a dehumidifier, and the moisture in the air is condensed into water droplets by a condenser, thereby achieving a dehumidification effect.

[0004] However, when this method is used, the semiconductor material may be affected by the external temperature and its resistance value may fluctuate, causing the working power of the semiconductor refrigerator to be unstable, and then causing the whole dehumidifier to work unstablely, making it impossible to maximize the dehumidification effect. Summary of the invention

[0005] In view of the above problems, a control method and device based on a semiconductor dehumidifier is proposed to overcome the above problems or at least partially solve the above problems, including:

[0006] A control method based on a semiconductor dehumidifier, wherein the dehumidifier has a semiconductor refrigerator, the method comprising:

[0007] Acquiring the real-time operating power of the semiconductor refrigerator, and determining a first control parameter for controlling a pulse width modulation signal according to the real-time operating power and a set target operating power;

[0008] Acquire the real-time cold end temperature of the semiconductor refrigerator, and determine the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensation temperature of the current environment;

[0009] The pulse width modulation signal is controlled in combination with the first control parameter and the second control parameter, so as to adjust the semiconductor refrigerator through the pulse width modulation signal.

[0010] Optionally, determining a first control parameter for controlling a pulse width modulation signal according to the real-time operating power and a set target operating power includes:

[0011] Determining a power error according to the real-time operating power and the set target operating power;

[0012] Determining a first control parameter for controlling a pulse width modulation signal according to the power error and a set first proportional integral derivative control parameter;

[0013] The determining of a second control parameter for controlling a pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment includes:

[0014] Determining a temperature error according to the real-time cold end temperature and the condensation temperature of the current environment;

[0015] A second control parameter for controlling the pulse width modulation signal is determined according to the temperature error and a set second proportional integral derivative control parameter.

[0016] Optionally, before determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment, the method further includes:

[0017] It is determined whether the real-time cold end temperature is less than zero degrees, and when the real-time cold end temperature is less than zero degrees, the voltage polarity for heating is set for the semiconductor dehumidifier until the real-time cold end temperature is greater than or equal to zero degrees.

[0018] Optionally, it also includes:

[0019] When the real-time cold end temperature is greater than or equal to zero degrees, the semiconductor dehumidifier is set to a voltage polarity for cooling, and the second control parameter for controlling the pulse width modulation signal is determined according to the real-time cold end temperature and the condensation temperature of the current environment.

[0020] Optionally, before determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment, the method further includes:

[0021] Get the current ambient temperature;

[0022] The condensation temperature of the current environment is determined according to the ambient temperature.

[0023] Optionally, the combining the first control parameter and the second control parameter to control the pulse width modulation signal so as to adjust the semiconductor refrigerator through the pulse width modulation signal includes:

[0024] Combining the first control parameter and the second control parameter to obtain a third control parameter;

[0025] According to the third control parameter, the pulse width modulation signal is controlled to adjust the semiconductor refrigerator through the pulse width modulation signal.

[0026] Optionally, the first control parameter and / or the second control parameter is a duty cycle.

[0027] A control device based on a semiconductor dehumidifier, wherein the dehumidifier has a semiconductor refrigerator, and the device is used for:

[0028] Acquiring the real-time operating power of the semiconductor refrigerator, and determining a first control parameter for controlling a pulse width modulation signal according to the real-time operating power and a set target operating power;

[0029] Acquire the real-time cold end temperature of the semiconductor refrigerator, and determine the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensation temperature of the current environment;

[0030] The pulse width modulation signal is controlled in combination with the first control parameter and the second control parameter, so as to adjust the semiconductor refrigerator through the pulse width modulation signal.

[0031] A semiconductor dehumidifier comprises a semiconductor refrigerator, a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method described above when executed by the processor.

[0032] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method described above when executed by the processor.

[0033] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.

[0034] A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the computer program implements the method as described above.

[0035] The embodiments of the present invention have the following advantages:

[0036] In an embodiment of the present invention, a semiconductor refrigerator is provided in the dehumidifier, and a first control parameter for controlling a pulse width modulation signal is determined by obtaining the real-time operating power of the semiconductor refrigerator and according to the real-time operating power and the set target operating power; the real-time cold end temperature of the semiconductor refrigerator is obtained, and according to the real-time cold end temperature and the condensation temperature of the current environment, a second control parameter for controlling the pulse width modulation signal is determined; the pulse width modulation signal is controlled in combination with the first control parameter and the second control parameter, so that the semiconductor refrigerator is adjusted through the pulse width modulation signal, thereby realizing the control of the power and temperature of the semiconductor refrigerator in the dehumidifier, and ensuring the overall power and temperature of the dehumidifier are constant when working. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0038] Figure 1 It is a structural diagram of a semiconductor refrigerator in a related technology provided by some embodiments of the present invention;

[0039] Figure 2 is a system architecture diagram of a semiconductor dehumidifier provided by some embodiments of the present invention;

[0040] Figure 3 is a flow chart of steps of a control method based on a semiconductor dehumidifier provided by some embodiments of the present invention;

[0041] Figure 4 It is a schematic diagram of power and temperature double closed-loop control of a semiconductor dehumidifier provided by some embodiments of the present invention;

[0042] Figure 5 It is a flowchart of another control method step based on a semiconductor dehumidifier provided in some embodiments of the present invention. DETAILED DESCRIPTION

[0043] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0044] In related technologies, such as Figure 1The dehumidifier includes: a cold-end radiator 1, a semiconductor refrigerator 2, a hot-end radiator 3, and a heat dissipation fan 4, wherein various environmental parameters and system temperature parameters are identified and recorded through sensors, including ambient temperature, ambient humidity, and the temperature of the cold-end radiator 1; the dehumidifier can adjust the working voltage of the semiconductor refrigerator and the speed of the heat dissipation fan according to the indoor ambient temperature and ambient humidity, so as to control the dehumidification system to operate more efficiently.

[0045] However, in the related technology, the solution focuses on achieving temperature control, and does not involve how to achieve power stability for semiconductor refrigerators to maximize the dehumidification effect; and because the temperature control logic is relatively simple, it only meets the requirements of a few working conditions and cannot adapt to most situations faced in actual applications.

[0046] Therefore, the present invention proposes to use MCU (Microcontroller Unit) to collect the current and voltage of the driving circuit of the semiconductor refrigerator using ADC (Analog-to-Digital Converter) to obtain power, and adjust the input voltage of the semiconductor refrigerator according to the power, so as to achieve constant power of the semiconductor refrigerator, overcome the disadvantage that the maximum dehumidification effect cannot be achieved due to frequent power fluctuations caused by changes in resistance value due to the influence of the external environment of the semiconductor refrigerator, and then use PID (Proportion Integral Differential) double closed-loop algorithm to determine the optimal condensation temperature according to the ambient temperature, adjust the real-time cold end temperature of the semiconductor refrigerator to keep the cold end temperature near the condensation point, realize double closed-loop control of power and temperature, and maximize the dehumidification effect.

[0047] like Figure 2 , is an architecture diagram of a semiconductor dehumidifier power dynamic compensation control system provided by the present invention. The system consists of an MCU (micro control unit), an H-bridge drive circuit, a fan drive circuit, a fan heat dissipation module, a TEC (Thermoelectric cooler, semiconductor refrigerator), a cold end temperature sensor, a hot end temperature sensor, an ambient temperature sensor, and a condensed water export module.

[0048] Among them, the microcontroller obtains the voltage and current of the semiconductor refrigerator through the H-bridge driving circuit to calculate the real-time operating power of the semiconductor refrigerator; the microcontroller can adjust the PWM (Pulse width modulation) duty cycle of the semiconductor refrigerator H-bridge driving circuit and the voltage polarity of the semiconductor refrigerator according to the proportional integral differential control algorithm; the cold end temperature sensor and the ambient temperature sensor can send temperature information to the microcontroller to enable it to judge whether the semiconductor refrigerator needs to be adjusted; the hot end temperature sensor can send temperature information to the microcontroller to enable it to judge whether it is necessary to turn on the fan cooling module through the fan driving circuit to dissipate the heat of the hot end of the semiconductor refrigerator; the condensed water export module can export the condensed water generated by the cold end of the semiconductor refrigerator.

[0049] The present invention is further described below:

[0050] Reference Figure 3 , showing a flow chart of control method steps based on a semiconductor dehumidifier provided in some embodiments of the present invention, wherein the dehumidifier has a semiconductor refrigerator.

[0051] A semiconductor refrigerator is a device that uses the thermoelectric effect of semiconductors to generate cooling, also known as a thermoelectric refrigerator. When two pieces of different metals are connected with a conductor and direct current is passed, the temperature at one connection point decreases and the temperature at the other connection point increases.

[0052] Specifically, the following steps may be included:

[0053] Step 301, obtaining the real-time operating power of the semiconductor refrigerator, and determining a first control parameter for controlling a pulse width modulation signal according to the real-time operating power and a set target operating power.

[0054] In some examples, before the semiconductor dehumidifier is operated, the user can set the operating power of the semiconductor refrigerator according to the operation interface and use it as the target operating power; wherein, the target operating power can be 60w, and the present invention does not limit this, and technical personnel in this field can set it according to actual needs.

[0055] During the operation of the dehumidifier, the semiconductor refrigerator will work according to the target operating power. However, since the semiconductor material will be affected by the external temperature, the resistance value may fluctuate sometimes, causing the working power of the semiconductor refrigerator to be unstable. Therefore, the real-time operating power of the semiconductor refrigerator can be collected and compared with the set target operating power to determine whether to increase or decrease the power.

[0056] In practical applications, the semiconductor dehumidifier operates according to the target operating power set by the user. The microcontroller can collect the operating current and operating voltage of the semiconductor cooler through the H-bridge driving circuit to calculate the power size as the real-time operating power of the semiconductor cooler. By judging the error between the real-time operating power and the set target operating power, the first control parameter of the pulse width modulation signal is controlled.

[0057] In some embodiments of the present invention, the first control parameter is a duty cycle.

[0058] As some examples, the first control parameter is the duty cycle of the pulse width modulation pulse value, which refers to the ratio of the high level time to the entire cycle time within a pulse cycle; wherein the duty cycle is usually expressed as a percentage, and its range is generally between 0% and 100%.

[0059] The duty cycle determines the average value and power of the output level; the microcontroller unit can change the ratio of the high level duration and period of the pulse width modulation signal through the first control parameter, and then the average working time of the semiconductor refrigerator, so as to achieve the purpose of adjusting the working power, temperature, etc. of the semiconductor refrigerator.

[0060] In practical applications, the micro control unit may determine the first control parameter according to the H-bridge driving circuit and the software algorithm to generate a pulse width modulation signal.

[0061] In some embodiments of the present invention, determining a first control parameter for controlling a pulse width modulation signal according to the real-time operating power and the set target operating power includes:

[0062] Sub-step 11, determining a power error according to the real-time operating power and the set target operating power.

[0063] In some examples, the power error may be an error value between the real-time operating power and the set target operating power; specifically, the microcontroller unit may collect the operating current and operating voltage of the semiconductor refrigerator through an H-bridge drive circuit to calculate the power size as the real-time operating power of the semiconductor refrigerator, and determine the power error between the real-time operating power and the target operating power by calculating the real-time operating power and the pre-set target operating power.

[0064] Sub-step 12: determining a first control parameter for controlling a pulse width modulation signal according to the power error and a set first proportional integral derivative control parameter.

[0065] As some examples, a proportional-integral-derivative control parameter can be preset and used as the first proportional-integral-derivative control parameter. Specifically, the preset proportional-integral-derivative control parameter is given by the following formula: u(k) = Kp(e(k) - e(k - 1)) + Ki(e(k)) + Kd(e(k) - 2e(k - 1) + e(k - 2)); where u(k) is the proportional-integral-derivative control parameter, e(k) is the deviation value at the k-th sampling moment, and Kp (proportional), Ki (integral), Kd (derivative), and the numerical values can be adjusted according to experience.

[0066] The micro-control unit can use the power error between the real-time operating power and the set target operating power as the input value, and convert the input value of the power error into the first control parameter (the duty cycle of the pulse width modulation pulse width value) for controlling the pulse width modulation signal according to the set first proportional-integral-derivative control parameter, so as to adjust the operating power of the semiconductor refrigerator.

[0067] Step 302, obtain the real-time cold-end temperature of the semiconductor refrigerator, and determine the second control parameter for controlling the pulse width modulation signal according to the real-time cold-end temperature and the condensation temperature of the current environment.

[0068] As some examples, an ambient temperature sensor can be preset in the semiconductor dehumidifier to monitor the ambient temperature of the current environment where the semiconductor dehumidifier is located (such as the internal temperature or the external temperature of the semiconductor dehumidifier); a hot-end temperature sensor and a cold-end temperature sensor can also be preset at both ends of the semiconductor refrigerator; through the ambient temperature sensor, the hot-end temperature sensor, and the cold-end temperature sensor, the temperature information of the semiconductor dehumidifier can be monitored in real time and fed back to the micro-control unit.

[0069] Specifically, the micro-control unit can obtain the ambient temperature of the current environment where the semiconductor dehumidifier is located through the ambient temperature sensor, calculate the optimal condensation point of the cold end of the semiconductor refrigerator, and use it as the condensation temperature of the current environment; among them, the calculation method of the optimal condensation point can be the ambient temperature of the current environment minus ten degrees, and the optimal condensation point is greater than zero degrees, denoted as Tcond = Tenv - 10°C, and Tcond > 0°C.

[0070] In a specific implementation, the micro-control unit can obtain the real-time cold-end temperature of the semiconductor refrigerator according to the cold-end temperature sensor, determine the temperature error between the real-time cold-end temperature and the condensation temperature (optimal condensation point) of the current environment, and generate the second control parameter for controlling the pulse width modulation signal, so that the real-time cold-end temperature of the semiconductor refrigerator is infinitely close to the condensation temperature of the current environment.

[0071] In some embodiments of the present invention, the second control parameter is the duty cycle.

[0072] The second control parameter is the duty cycle of the pulse width modulation frequency value, which refers to the ratio of the high level time to the entire cycle time in a pulse cycle; the duty cycle is usually expressed as a percentage, and its range is generally between 0% and 100%.

[0073] The duty cycle determines the average value and power of the output level; the microcontroller unit can change the ratio of the high level duration and period of the pulse width modulation signal through the second control parameter, and then the average working time of the semiconductor refrigerator, so as to achieve the purpose of adjusting the working power, temperature, etc. of the semiconductor refrigerator.

[0074] In practical applications, the micro control unit may determine the second control parameter according to the ambient temperature sensor, the hot-end temperature sensor, the cold-end temperature sensor and the software algorithm to generate a pulse width modulation signal.

[0075] In some embodiments of the present invention, determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment includes:

[0076] Sub-step 21, determining a temperature error according to the real-time cold end temperature and the condensation temperature of the current environment.

[0077] In some examples, the temperature error may be an error value between the real-time cold-end temperature and the condensation temperature of the current environment; specifically, the microcontroller unit may obtain the ambient temperature of the current environment of the semiconductor dehumidifier through an ambient temperature sensor, calculate the optimal condensation point of the cold end of the semiconductor refrigerator, and use it as the condensation temperature of the current environment, and then obtain the real-time cold-end temperature of the semiconductor refrigerator according to the cold-end temperature sensor, calculate the real-time cold-end temperature and the condensation temperature of the current environment, and determine the temperature error between the real-time cold-end temperature and the condensation temperature of the current environment.

[0078] Sub-step 22, determining a second control parameter for controlling a pulse width modulation signal according to the temperature error and a set second proportional integral derivative control parameter.

[0079] As some examples, a proportional-integral-differential control parameter can be pre-set and used as a second proportional-integral-differential control parameter; specifically, the pre-set proportional-integral-differential control parameter is the following formula: u(k)=Kp(e(k)-e(k-1))+Ki(e(k))+Kd(e(k)-2e(ek-1)+e(k-2)); wherein u(k) is the proportional-integral-differential control parameter, e(k) is the deviation value at the (k)th sampling moment, and Kp (proportional), Ki (integral), Kd (differential), and the numerical values ​​can be adjusted based on experience.

[0080] The microcontroller unit can take the temperature error between the real-time cold end temperature and the condensing temperature of the current environment as an input value, and convert the input value of the temperature error into a second control parameter (duty cycle of the pulse width modulation frequency value) for controlling the pulse width modulation signal according to the set second proportional integral differential control parameter, so as to adjust the temperature of the semiconductor refrigerator according to the pulse width modulation signal.

[0081] In some embodiments of the present invention, before determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment, the method further includes:

[0082] It is determined whether the real-time cold end temperature is less than zero degrees, and when the real-time cold end temperature is less than zero degrees, the voltage polarity for heating is set for the semiconductor dehumidifier until the real-time cold end temperature is greater than or equal to zero degrees.

[0083] As some examples, the cold end temperature sensor at one end of the semiconductor refrigerator will feed back the cold end temperature to the microcontroller in real time. The microcontroller can determine whether the real-time cold end temperature of the semiconductor refrigerator is less than zero degrees based on the acquired real-time cold end temperature. When it is determined that the real-time cold end temperature is less than zero degrees, the microcontroller can control the polarity of the semiconductor dehumidifier through the H-bridge drive circuit, adjust the voltage polarity of the semiconductor dehumidifier for heating, so as to keep the cold end temperature of the semiconductor refrigerator close to the condensation temperature of the current environment.

[0084] In some examples, the microcontroller performs polarity control and adjusts the voltage polarity of the semiconductor dehumidifier for heating. It can also obtain the real-time cold end temperature of the semiconductor refrigerator every 20 ms and determine whether the real-time cold end temperature is less than zero degrees. If so, it continues to heat. Otherwise, it changes the voltage polarity and sets the semiconductor dehumidifier to a voltage polarity for cooling.

[0085] In some embodiments of the present invention, it also includes:

[0086] When the real-time cold end temperature is greater than or equal to zero degrees, the semiconductor dehumidifier is set to a voltage polarity for cooling, and the second control parameter for controlling the pulse width modulation signal is determined according to the real-time cold end temperature and the condensation temperature of the current environment.

[0087] As some examples, the micro control unit sets the voltage polarity for heating of the semiconductor dehumidifier. After raising the cold end temperature, it can then judge the real-time cold end temperature of the semiconductor dehumidifier. When it is judged that the real-time cold end temperature of the semiconductor dehumidifier is greater than or equal to zero degree, the voltage polarity of the semiconductor dehumidifier can be adjusted, and the semiconductor dehumidifier can be set to the voltage polarity for cooling. Then, according to the currently obtained real-time cold end temperature and the condensation temperature of the current environment, a judgment is made, the temperature error between the real-time cold end temperature and the condensation temperature of the current environment is calculated, and the temperature error is used as an input value to be converted into the duty ratio of the pulse width modulation frequency value through the second proportional integral derivative control parameter, which is used as the second control parameter for controlling the pulse width modulation signal.

[0088] In some examples, when the real-time cold end temperature is less than zero degree, the voltage polarity for heating of the semiconductor dehumidifier can also be set, and the second control parameter for controlling the pulse width modulation signal is determined according to the real-time cold end temperature and the condensation temperature of the current environment. That is to say, the execution of determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensation temperature of the current environment can be independent of the real-time cold end temperature situation and can be executed in real time or at intervals of a preset duration (such as 20 ms).

[0089] In some embodiments of the present invention, before determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensation temperature of the current environment, it further includes:

[0090] Obtain the ambient temperature of the current environment; determine the condensation temperature of the current environment according to the ambient temperature.

[0091] In some examples, the micro control unit can obtain the ambient temperature of the environment where the semiconductor dehumidifier is located through the ambient temperature sensor, calculate the optimal condensation point of the cold end of the semiconductor refrigerator, and use it as the condensation temperature of the current environment. Among them, the calculation method of the optimal condensation point can be the ambient temperature of the current environment minus ten degrees, and the optimal condensation point is greater than zero degree, denoted as Tcond = Tenv - 10°C, and Tcond > 0°C.

[0092] Step 303, combine the first control parameter and the second control parameter to control the pulse width modulation signal, so as to adjust the semiconductor refrigerator through the pulse width modulation signal.

[0093] As some examples, after determining the first control parameter and the second control parameter, the micro control unit can combine the first control parameter and the second control parameter, and control the pulse width modulation signal according to the combined parameters to adjust the semiconductor refrigerator (such as adjusting power, voltage polarity, temperature).

[0094] In some embodiments of the present invention, the combining the first control parameter and the second control parameter to control the pulse width modulation signal so as to adjust the semiconductor refrigerator through the pulse width modulation signal includes:

[0095] Sub-step 31, combining the first control parameter and the second control parameter to obtain a third control parameter.

[0096] As some examples, the third control parameter includes: the first control parameter (duty cycle of the pulse width modulation pulse width value), the second control parameter (duty cycle of the pulse width modulation frequency value), and the voltage polarity used for cooling.

[0097] Specifically, since the real-time cold-end temperature is less than zero degrees, the microcontroller unit will control the polarity of the semiconductor dehumidifier through the H-bridge drive circuit, and adjust the voltage polarity of the semiconductor dehumidifier for heating to keep the cold-end temperature of the semiconductor refrigerator near the condensation temperature of the current environment; therefore, after the cold-end temperature of the semiconductor refrigerator is raised, when the real-time cold-end temperature is greater than or equal to zero degrees, the voltage polarity set for cooling can be determined, and the first control parameter and the second control parameter are combined to generate the third control parameter.

[0098] Sub-step 32, controlling the pulse width modulation signal according to the third control parameter, so as to adjust the semiconductor refrigerator through the pulse width modulation signal.

[0099] As some examples, the micro control unit may control the pulse width modulation signal according to the obtained third control parameter to adjust the power, voltage polarity, and temperature of the semiconductor refrigerator.

[0100] In some examples, the microcontroller controls the pulse width modulation signal according to the third control parameter. After adjusting the semiconductor refrigerator, it can also determine the first control parameter, the second control parameter, and the voltage polarity every 20 ms to combine them to obtain a new third control parameter to adjust the semiconductor refrigerator so that the real-time operating power of the semiconductor refrigerator is constant at the set target operating power, and the real-time cold end temperature of the semiconductor refrigerator is infinitely close to the condensation temperature Tcondensation of the current environment or the real-time cold end temperature of the semiconductor refrigerator is infinitely close to 0 degrees, thereby maximizing the dehumidification effect under the premise of constant power.

[0101] In an embodiment of the present invention, a semiconductor refrigerator is provided in the dehumidifier, and a first control parameter for controlling a pulse width modulation signal is determined by obtaining the real-time operating power of the semiconductor refrigerator and according to the real-time operating power and the set target operating power; the real-time cold end temperature of the semiconductor refrigerator is obtained, and according to the real-time cold end temperature and the condensation temperature of the current environment, a second control parameter for controlling the pulse width modulation signal is determined; the pulse width modulation signal is controlled in combination with the first control parameter and the second control parameter, so that the semiconductor refrigerator is adjusted through the pulse width modulation signal, thereby realizing the control of the power and temperature of the semiconductor refrigerator in the dehumidifier, and ensuring the overall power and temperature of the dehumidifier are constant when working.

[0102] The following Figure 4 To explain, Figure 4 , the semiconductor dehumidifier power, temperature double closed loop control diagram includes: target power, target temperature, current power, current temperature, power loop (outer), temperature loop (inner), PWM duty cycle, TEC (semiconductor refrigerator), E P (t), E T (t).

[0103] Among them, the target power is the target working power (such as 60w) of the semiconductor refrigerator set by the user according to the operation interface; the current power is the real-time operating power calculated by the microcontroller through the H-bridge drive circuit to collect the working current and working voltage of the semiconductor refrigerator; the current temperature is the real-time cold end temperature of the semiconductor refrigerator; the target temperature is the condensing temperature of the dehumidifier's current environment; the power loop (outer) refers to the first proportional integral differential control parameter; the temperature loop (inner) refers to the second proportional integral differential control parameter; the PWM duty cycle refers to the first control parameter or the second control parameter or the third control parameter; EP(t) refers to the error between the target power and the current power; ET(t) refers to the error between the target temperature and the current temperature.

[0104] The following combination Figure 4 , Figure 5 The present invention is exemplified as follows:

[0105] S1, start.

[0106] S2, set the TEC (semiconductor cooler) operating power P tec .

[0107] The user can set the working power of the semiconductor refrigerator (such as 60w) according to the operation interface and use it as the target operating power. During the operation of the semiconductor dehumidifier, the semiconductor refrigerator will work according to the target operating power.

[0108] S3. Set the power PID (Proportional Integral Derivative control) outer loop (the first proportional integral derivative control parameter) and the temperature inner loop parameter (the second proportional integral derivative control parameter).

[0109] In practical applications, a proportional integral derivative control parameter can be preset and used as the first proportional integral derivative control parameter and the second proportional integral derivative control parameter.

[0110] For example, the preset proportional integral derivative control parameter is in the following formula: u(k) = Kp(e(k) - e(k - 1)) + Ki(e(k)) + Kd(e(k) - 2e(ek - 1) + e(k - 2)); where u(k) is the proportional integral derivative control parameter, e(k) is the deviation value at the (k)th sampling moment, and Kp (proportional), Ki (integral), Kd (derivative), and the values can be adjusted according to experience.

[0111] The micro control unit can convert the power error or temperature error into the first and second control parameters through the proportional integral derivative control parameter to adjust the semiconductor refrigerator.

[0112] S4. Detect the ambient temperature T_env (the ambient temperature of the current environment) and calculate the condensation point temperature (the condensation temperature of the current environment).

[0113] Specifically, the micro control unit can obtain the ambient temperature of the current environment of the semiconductor dehumidifier through the ambient temperature sensor, calculate the optimal condensation point of the cold end of the semiconductor refrigerator, and use it as the condensation temperature of the current environment; among them, the calculation method of the optimal condensation point can be the ambient temperature of the current environment minus ten degrees, and the optimal condensation point is greater than zero degrees, denoted as T_cond = T_env - 10°C, and T_cond > 0°C.

[0114] S5. Obtain the current TEC (semiconductor refrigerator) operating power every 20 ms and proceed to the next step.

[0115] The micro control unit collects the working current and working voltage of the semiconductor refrigerator through the H-bridge drive circuit every 20 ms to calculate the power value, obtains the real-time operating power of the semiconductor refrigerator, and determines the power error between the real-time operating power and the preset target operating power by comparing the real-time operating power with the preset target operating power.

[0116] S6. Tune the outer loop power PID (the first proportional integral derivative control parameter), convert the power adjustment value (power error) into the PWM duty cycle (the first control parameter), and use it as the input of the temperature PID inner loop (the second proportional integral derivative control parameter).

[0117] Specifically, the micro control unit can take the power error between the real-time operating power and the set target operating power as an input value, and convert the input value of the power error into a first control parameter (duty cycle of the pulse width modulation pulse width value) for controlling the pulse width modulation signal according to the set first proportional integral differential control parameter, as the input of the temperature PID inner loop (second proportional integral differential control parameter).

[0118] As some examples, the microcontroller unit can use a PID (Proportion Integral Differential) dual closed-loop algorithm to adjust the operating power of the semiconductor refrigerator; the dual closed-loop PID dual closed-loop PID control algorithm connects two PID controllers in series to achieve more precise control of the control object, where one PID controller is called the outer loop (or master controller) and the other PID controller is called the inner loop (or slave controller). The outer loop controller receives an input signal and calculates a target set value for controlling the overall behavior of the system. The inner loop controller receives the output of the outer loop controller as its input signal and calculates a control quantity for adjusting a specific parameter in the binding.

[0119] S7, obtain the current TEC cold end temperature (real-time cold end temperature of semiconductor cooler) every 20ms 冷 .

[0120] The microcontroller unit can obtain the real-time cold-end temperature of the semiconductor refrigerator through the cold-end temperature sensor every 20ms to determine whether it is less than zero degrees.

[0121] S8, judge T 冷 Is it less than zero degrees? If yes, proceed to S9; otherwise, proceed to S10.

[0122] When it is determined that the real-time cold end temperature is less than zero degrees, the micro control unit can perform polarity control and adjust the voltage polarity of the semiconductor dehumidifier for heating to keep the cold end temperature of the semiconductor refrigerator near the condensation point.

[0123] S9, TEC (semiconductor cooler) voltage conversion polarity is changed to heating.

[0124] The microcontroller performs polarity control and adjusts the voltage polarity of the semiconductor dehumidifier for heating. It can also obtain the real-time cold end temperature of the semiconductor refrigerator every 20ms and determine whether the real-time cold end temperature is less than zero degrees. If so, continue heating. Otherwise, change the voltage polarity and set the semiconductor dehumidifier to the voltage polarity for cooling.

[0125] S10. Inner ring temperature PID (second proportional integral derivative control parameter) tuning. Convert the temperature adjustment value into a PWM duty cycle (second control parameter), change the voltage polarity of the TEC (thermoelectric cooler) according to the sign of the adjustment value, and add it to the PWM duty cycle (first control parameter) of the set value of the power loop PID (first proportional integral derivative control parameter).

[0126] The microcontroller unit can use the temperature error between the real-time cold end temperature and the condensation temperature of the current environment as the input value, convert the input value of the temperature error into a PWM duty cycle (second control parameter) for controlling the pulse width modulation signal according to the set second proportional integral derivative control parameter, change the voltage polarity of the TEC (thermoelectric cooler) according to the sign of the adjustment value, and add it to the PWM duty cycle (first control parameter) of the set value of the power loop PID (first proportional integral derivative control parameter), so as to combine the first control parameter and the second control parameter, voltage polarity, to obtain a third control parameter, control the pulse width modulation signal, and adjust the power, temperature, and voltage polarity of the thermoelectric cooler.

[0127] S11. Adjust the TEC (thermoelectric cooler), and repeat step S5.

[0128] According to the obtained third control parameter, control the pulse width modulation signal to adjust the temperature, voltage polarity, power, etc. of the thermoelectric cooler, and then repeat step S5 to make the TEC power constant at the set power, the cold end temperature of the TEC infinitely close to the optimal condensation point temperature Tcond of the current environment or the cold end temperature of the TEC infinitely close to 0 degrees, so as to maximize the dehumidification effect on the premise of achieving constant power.

[0129] By adopting the power and temperature double closed-loop PID algorithm, the operator of the present invention can set the TEC power and proportional integral derivative control parameters, realize the overall power constancy during the operation of the dehumidifier, reduce the disturbance to the external system circuit caused by the system power fluctuation, and can maximize the dehumidification effect.

[0130] In the embodiment of the present invention, the dehumidifier is equipped with a thermoelectric cooler. By obtaining the real-time operating power of the thermoelectric cooler and determining the first control parameter for controlling the pulse width modulation signal according to the real-time operating power and the set target operating power; obtaining the real-time cold end temperature of the thermoelectric cooler and determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensation temperature of the current environment; combining the first control parameter and the second control parameter to control the pulse width modulation signal, so as to adjust the thermoelectric cooler through the pulse width modulation signal, realizing the control of the power and temperature of the thermoelectric cooler in the dehumidifier, and ensuring the overall power and temperature constancy during the operation of the dehumidifier.

[0131] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0132] Some embodiments of the present invention further provide a control device based on a semiconductor dehumidifier, wherein the dehumidifier has a semiconductor refrigerator, and the device is used to:

[0133] Acquiring the real-time operating power of the semiconductor refrigerator, and determining a first control parameter for controlling a pulse width modulation signal according to the real-time operating power and a set target operating power;

[0134] Acquire the real-time cold end temperature of the semiconductor refrigerator, and determine the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensation temperature of the current environment;

[0135] The pulse width modulation signal is controlled in combination with the first control parameter and the second control parameter, so as to adjust the semiconductor refrigerator through the pulse width modulation signal.

[0136] In some embodiments of the present invention, determining a first control parameter for controlling a pulse width modulation signal according to the real-time operating power and the set target operating power includes:

[0137] Determining a power error according to the real-time operating power and the set target operating power;

[0138] Determining a first control parameter for controlling a pulse width modulation signal according to the power error and a set first proportional integral derivative control parameter;

[0139] The determining of a second control parameter for controlling a pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment includes:

[0140] Determining a temperature error according to the real-time cold end temperature and the condensation temperature of the current environment;

[0141] A second control parameter for controlling the pulse width modulation signal is determined according to the temperature error and a set second proportional integral derivative control parameter.

[0142] In some embodiments of the present invention, before determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment, the method is further used to:

[0143] It is determined whether the real-time cold end temperature is less than zero degrees, and when the real-time cold end temperature is less than zero degrees, the voltage polarity for heating is set for the semiconductor dehumidifier until the real-time cold end temperature is greater than or equal to zero degrees.

[0144] In some embodiments of the present invention, it is also used for:

[0145] When the real-time cold end temperature is greater than or equal to zero degrees, the semiconductor dehumidifier is set to a voltage polarity for cooling, and the second control parameter for controlling the pulse width modulation signal is determined according to the real-time cold end temperature and the condensation temperature of the current environment.

[0146] In some embodiments of the present invention, before determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment, the method is further used to:

[0147] Get the current ambient temperature;

[0148] The condensation temperature of the current environment is determined according to the ambient temperature.

[0149] In some embodiments of the present invention, the combining the first control parameter and the second control parameter to control the pulse width modulation signal so as to adjust the semiconductor refrigerator through the pulse width modulation signal includes:

[0150] Combining the first control parameter and the second control parameter to obtain a third control parameter;

[0151] According to the third control parameter, the pulse width modulation signal is controlled to adjust the semiconductor refrigerator through the pulse width modulation signal.

[0152] In some embodiments of the present invention, the first control parameter and / or the second control parameter is a duty cycle.

[0153] Some embodiments of the present invention also provide a semiconductor dehumidifier, including a semiconductor refrigerator, a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method described above when executed by the processor.

[0154] Some embodiments of the present invention further provide an electronic device, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the above method is implemented when the computer program is executed by the processor.

[0155] Some embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, and the computer program implements the above method when executed by a processor.

[0156] Some embodiments of the present invention further provide a computer program product, including a computer program, which implements the above method when executed by a processor.

[0157] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0158] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0159] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0160] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0161] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0162] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0163] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0164] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0165] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the above elements.

[0166] The above is a detailed introduction to a control method and device based on a semiconductor dehumidifier. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A control method based on a semiconductor dehumidifier, characterized in that: The dehumidifier has a semiconductor refrigerator, and the method includes: Acquiring the real-time operating power of the semiconductor refrigerator, and determining a first control parameter for controlling a pulse width modulation signal according to the real-time operating power and a set target operating power; Acquire the real-time cold end temperature of the semiconductor refrigerator, and determine the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensation temperature of the current environment; The pulse width modulation signal is controlled in combination with the first control parameter and the second control parameter, so as to adjust the semiconductor refrigerator through the pulse width modulation signal.

2. The method according to claim 1, characterized in that The step of determining a first control parameter for controlling a pulse width modulation signal according to the real-time operating power and the set target operating power includes: Determining a power error according to the real-time operating power and the set target operating power; Determining a first control parameter for controlling a pulse width modulation signal according to the power error and a set first proportional integral derivative control parameter; The determining of a second control parameter for controlling a pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment includes: Determining a temperature error according to the real-time cold end temperature and the condensation temperature of the current environment; A second control parameter for controlling the pulse width modulation signal is determined according to the temperature error and a set second proportional integral derivative control parameter.

3. The method according to claim 1 or 2, characterized in that: Before determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment, the method further includes: It is determined whether the real-time cold end temperature is less than zero degrees, and when the real-time cold end temperature is less than zero degrees, the voltage polarity for heating is set for the semiconductor dehumidifier until the real-time cold end temperature is greater than or equal to zero degrees.

4. The method according to claim 3, characterized in that Also includes: When the real-time cold end temperature is greater than or equal to zero degrees, the semiconductor dehumidifier is set to a voltage polarity for cooling, and the second control parameter for controlling the pulse width modulation signal is determined according to the real-time cold end temperature and the condensation temperature of the current environment.

5. The method according to claim 1 or 2, characterized in that: Before determining the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensing temperature of the current environment, the method further includes: Get the current ambient temperature; The condensation temperature of the current environment is determined according to the ambient temperature.

6. The method according to claim 1 or 2, characterized in that: The step of controlling the pulse width modulation signal by combining the first control parameter and the second control parameter to adjust the semiconductor refrigerator by the pulse width modulation signal comprises: Combining the first control parameter and the second control parameter to obtain a third control parameter; According to the third control parameter, the pulse width modulation signal is controlled to adjust the semiconductor refrigerator through the pulse width modulation signal.

7. The method according to claim 1 or 2, characterized in that: The first control parameter and / or the second control parameter is a duty cycle.

8. A control device based on a semiconductor dehumidifier, characterized in that: The dehumidifier has a semiconductor refrigerator, and the device is used for: Acquiring the real-time operating power of the semiconductor refrigerator, and determining a first control parameter for controlling a pulse width modulation signal according to the real-time operating power and a set target operating power; Acquire the real-time cold end temperature of the semiconductor refrigerator, and determine the second control parameter for controlling the pulse width modulation signal according to the real-time cold end temperature and the condensation temperature of the current environment; The pulse width modulation signal is controlled in combination with the first control parameter and the second control parameter, so as to adjust the semiconductor refrigerator through the pulse width modulation signal.

9. A semiconductor dehumidifier, characterized in that: The invention comprises a semiconductor refrigerator, a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method according to any one of claims 1 to 7 when executed by the processor.

10. An electronic device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the method according to any one of claims 1 to 7 when executed by the processor.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

12. A computer program product, characterized in that The invention comprises a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.