Control device, control method, air conditioner and storage medium

The control module obtains the power output voltage and the working conditions of the heating device, determines the pulse width of the switching device, solves the problems of inaccurate temperature control and safety hazards in the electrical auxiliary heat function of the air conditioner, and achieves stable heating and user experience improvement of the air conditioner indoor unit.

CN120332905APending Publication Date: 2025-07-18NANJING TICA AIR CONDITIONING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510636047.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-16
Publication Date
2025-07-18

AI Technical Summary

Technical Problem

The electric auxiliary heat function of existing air conditioners uses relay on and off for temperature control, and there are problems such as inaccurate temperature control, large temperature fluctuations, frequent switching of relay contacts, difficulty in dynamic power adjustment based on the set temperature and real-time temperature, and operational safety hazards.

Method used

The control module is used to obtain the current working cycle of the power output voltage and the current working condition of the heating device, determine the pulse width of the switching device, and control the operation of the heating device. Stepless adjustment is achieved through a full-bridge circuit composed of an insulated gate bipolar transistor or MOS tube, and safe monitoring and control are carried out in combination with the current and voltage detection modules.

Benefits of technology

The stepless adjustment of the heating device is realized, the heating effect and user experience of the air-conditioning indoor unit are improved, the heating power fluctuations caused by grid fluctuations are avoided, and the operation is safe and stable.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120332905A_ABST
    Figure CN120332905A_ABST
Patent Text Reader

Abstract

The invention discloses a control device, a control method, an air conditioner and a computer readable storage medium, the device comprises a control module, a switching device, a heating device and a power source, the control module, the switching device and the heating device are electrically connected in sequence, the switching device is connected with the control module, and the control module is configured to be connected with the power source. And acquiring the current work period of the power supply output voltage and the current working condition of the heating device, and determining the pulse width of the switching device according to the current work period and the current working condition so as to control the heating device to work. Thus, the running state of the heating device can be related to the pulse width of the switching device, stepless adjustment of the heating device is achieved, the heating effect, running power and the like of the heating device can be flexibly adjusted, and the heating effect of the air conditioner indoor unit and the air conditioner use experience of a user can be guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of air conditioners, and particularly relates to a control device, a control method, an air conditioner, and a computer-readable storage medium. Background Art

[0002] In the related art, some air conditioners can control the suction or release of a relay connected to a heating wire, so that the heating wire generates heat at full power or stops generating heat, thereby realizing indoor heating. However, since the temperature adjustment is realized by the on-off of the relay in a switching manner, the temperature control accuracy is relatively low, thus affecting the user experience of using the air conditioner. Summary of the Invention

[0003] This application provides a control device, a control method, an air conditioner, and a computer-readable storage medium

[0004] An embodiment of this application provides a control device, which is applied to an indoor unit of an air conditioner. The device includes a control module, a switching device, a heating device, and a power supply. The control module, the switching device, and the heating device are electrically connected in sequence, and the switching device is connected to the control module;

[0005] The control module is configured to obtain the current working cycle of the power supply output voltage and the current working condition of the heating device, and determine the pulse width of the switching device according to the current working cycle and the current working condition, so as to control the operation of the heating device.

[0006] In this way, in the embodiment of this application, the pulse width of the switching device can be determined according to the current working cycle of the power supply output voltage and the current working condition of the heating device to control the operation of the heating device, so that the operating state of the heating device can be related to the pulse width of the switching device. Furthermore, stepless adjustment of the heating device can be realized to a certain extent, so that the heating effect and operating power of the heating device can be flexibly adjusted, and the heating effect of the indoor unit of the air conditioner and the user experience of using the air conditioner can be guaranteed. In addition, since the pulse width of the switching device is determined according to the current working cycle of the power supply output voltage and the current working condition of the heating device, the stable adjustment of the pulse width of the switching device can be guaranteed to a certain extent.

[0007] In some embodiments of this application, the device further includes a current detection module for detecting the operating current of the heating device. The current detection module is electrically connected to the control module, and the control module is configured to determine the current working condition according to the operating current.

[0008] In this way, in the embodiment of this application, the operating current of the heating device can be collected by the current detection module, and the current working condition of the heating device can be determined according to the operating current of the heating device, thereby realizing the determination of the current working condition of the heating device.

[0009] In some embodiments of the present application, the device further includes a voltage detection module for detecting the output voltage of the power supply, and the voltage detection module is electrically connected to the control module.

[0010] Thus, in the embodiments of the present application, the output voltage of the power supply can be detected by the voltage acquisition module, and then the current working cycle of the output voltage of the power supply can be determined according to the detected output voltage of the power supply.

[0011] The embodiments of the present application provide a control method, which is applied to the above control device, and the method includes:

[0012] Obtain the current working cycle of the output voltage of the power supply and the current working condition of the heating device;

[0013] Determine the pulse width of the switching device according to the current working cycle and the current working condition, so as to control the operation of the heating device.

[0014] Thus, in the embodiments of the present application, the pulse width of the switching device can be determined according to the current working cycle of the output voltage of the power supply and the current working condition of the heating device to control the operation of the heating device, so that the operating state of the heating device can be related to the pulse width of the switching device. Furthermore, stepless adjustment of the heating device can be realized to a certain extent, so that the heating effect of the heating device, the operating power, etc. can be flexibly adjusted, and the heating effect of the indoor unit of the air conditioner and the user's air conditioner usage experience can be guaranteed. In addition, since the pulse width of the switching device is determined according to the current working cycle of the output voltage of the power supply and the current working condition of the heating device, the robust adjustment of the pulse width of the switching device can be guaranteed to a certain extent.

[0015] In some embodiments of the present application, the obtaining the current working cycle of the output voltage of the power supply and the current working condition of the heating device includes:

[0016] According to the occurrence times of two consecutive rising edges in the waveform corresponding to the output voltage of the power supply, and the occurrence time of the falling edge located between the two consecutive rising edges, determine the target time point when the output voltage of the power supply is zero;

[0017] Determine the current working cycle according to the target time point and the current time.

[0018] Thus, in the embodiments of the present application, the target time point when the output voltage of the power supply is zero can be determined according to the occurrence times of two consecutive rising edges in the waveform corresponding to the output voltage of the power supply and the occurrence time of the falling edge located between the two consecutive rising edges, and the current working cycle can be determined according to the target time point and the current time, so that the current working cycle of the output voltage of the power supply can be determined more efficiently.

[0019] In some embodiments of the present application, obtaining the current duty cycle of the power supply output voltage and the current operating condition of the heating device includes:

[0020] Sending a preset control signal to the switching device, wherein when the switching device receives the preset control signal, the heating device receives the power supply from the power source;

[0021] Determining the current operating condition according to the operating current of the heating device.

[0022] In this way, in the embodiments of the present application, a preset control signal can be sent to the switching device, and the current operating condition of the heating device can be determined according to the operating current of the heating device, so that the current operating condition of the heating device can be determined based on the operating current of the heating device, achieving the efficient determination of the operating condition of the heating device to a certain extent.

[0023] In some embodiments of the present application, the switching device includes a first switching device and a second switching device. Sending the preset control signal to the switching device includes:

[0024] When the current duty cycle is a first preset cycle, sending the preset control signal to the first switching device; and / or,

[0025] When the current duty cycle is a second preset cycle, sending the preset control signal to the second switching device.

[0026] In this way, in the embodiments of the present application, a preset control signal can be sent to the first switching device when the current duty cycle is a first preset cycle, and / or a preset control signal can be sent to the second switching device when the current duty cycle is a second preset cycle. Thus, different switching devices can be controlled in different duty cycles to determine the operating current and the current operating condition of the heating device, and further the effectiveness of the operating current and the current operating condition of the heating device can be ensured.

[0027] In some embodiments of the present application, the switching device includes a first switching device and a second switching device. Determining the pulse width of the switching device according to the current duty cycle and the current operating condition to control the operation of the heating device includes:

[0028] When the current duty cycle is a first preset cycle and the heating device is in a target operating condition, determining the pulse width of the first switching device according to the pre-obtained operating parameters of the heating device, and controlling the second switching device to be in a conducting state; and / or,

[0029] When the current working cycle is the second preset cycle and the heating device is in the target working condition, determine the pulse width of the second switching device according to the working parameters of the heating device, and control the first switching device to be in the conducting state.

[0030] In this way, in the embodiment of the present application, when the current working cycle is the first preset cycle and the heating device is in the target working condition, the pulse width of the first switching device can be determined according to the pre-acquired working parameters of the heating device, and the second switching device is controlled to be in the conducting state, and / or when the current working cycle is the second preset cycle and the heating device is in the target working condition, the pulse width of the second switching device is determined according to the working parameters of the heating device, and the first switching device is controlled to be in the conducting state, thereby controlling the operation of the heating device.

[0031] An embodiment of the present application provides an air conditioner, which includes a memory and a processor. A computer program is stored in the memory, and when the computer program is executed by the processor, the above control method is implemented.

[0032] An embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by one or more processors, the above control method is implemented.

[0033] The air conditioner and the computer-readable storage medium provided by the embodiments of the present application can determine the pulse width of the switching device according to the current working cycle of the power supply output voltage and the current working condition of the heating device to control the operation of the heating device, so that the operating state of the heating device can be related to the pulse width of the switching device, and thus the stepless adjustment of the heating device can be realized to a certain extent, so that the heating effect, operating power, etc. of the heating device can be flexibly adjusted, and the heating effect of the indoor unit of the air conditioner and the user's air conditioner usage experience can be guaranteed. In addition, since the pulse width of the switching device is determined according to the current working cycle of the power supply output voltage and the current working condition of the heating device, the stable adjustment of the pulse width of the switching device can be guaranteed to a certain extent.

[0034] Additional aspects and advantages of the embodiments of the present application will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The above and / or additional aspects and advantages of the present application will become apparent and be readily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0036] Figure 1 is a schematic diagram of a control device in some embodiments of the present application;

[0037] Figure 2 Schematic diagram of an application scenario in some embodiments of the present application;

[0038] Figure 3 Schematic diagram of an application scenario in some embodiments of the present application;

[0039] Figure 4 Schematic diagram of an application scenario in some embodiments of the present application;

[0040] Figure 5 Schematic flow diagram of a control method in some embodiments of the present application;

[0041] Figure 6 Schematic flow diagram of a control method in some embodiments of the present application;

[0042] Figure 7 Schematic flow diagram of a control method in some embodiments of the present application;

[0043] Figure 8 Schematic flow diagram of a control method in some embodiments of the present application;

[0044] Figure 9 Schematic flow diagram of a control method in some embodiments of the present application. Detailed implementation manners

[0045] The following describes in detail the embodiments of the present application. The examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and should not be construed as a limitation to the embodiments of the present application.

[0046] With the promotion of the low-carbon development goal and the continuous improvement of the energy efficiency standard, the optimization of the energy-saving performance of air conditioners has become an important development direction. Therefore, most of the air conditioner indoor units in the related art are equipped with an electric auxiliary heating function as an auxiliary heating solution. Among them, most of the electric auxiliary heating functions are realized based on a relay and a heating wire, that is, the relay controls the heating wire to heat. Furthermore, when the indoor temperature is lower than the set temperature, the relay is controlled to close to make the heating wire generate heat at full power, and when the indoor temperature is higher than the set temperature, the relay is controlled to release to make the heating wire stop generating heat. Thus, when the outdoor temperature is relatively low, such as lower than -3°C, the air conditioner can perform indoor heating through this electric auxiliary heating function.

[0047] It is understandable that such an electric auxiliary heating function has obvious defects. For example, since the relay on-off method is used for intermittent heating, there are situations where the temperature control is inaccurate and the temperature fluctuation is large. Another example is that if the relay contacts are frequently switched, it may lead to the occurrence of the arc effect, thereby reducing the service life of the relay and the air conditioner. Another example is that when the relay is closed, the heating wire is fixed to generate power at the maximum power, and it is difficult to perform dynamic power adjustment according to the deviation between the set temperature and the real-time temperature, which affects comfort and causes energy waste. In addition, due to the lack of current monitoring and protection mechanisms, there are potential safety hazards during operation when the power grid fluctuates or the load is abnormal, and the actual heat generation will deviate to a certain extent with the change of the input voltage.

[0048] Based on the above possible problems, please refer to Figure 1 , an embodiment of the present application provides a control device 100 applied to an indoor unit of an air conditioner. The control device 100 includes a control module 110, a switching device 120, a heating device 130, a power supply 200. The control module 110, the switching device 120, and the heating device 130 are electrically connected in sequence. The switching device 120 is connected to the control module 110. The control module 110 is configured to obtain the current working cycle of the power supply output voltage and the current working condition of the heating device 130, and determine the pulse width of the switching device 120 according to the current working cycle and the current working condition, so as to control the operation of the heating device 130.

[0049] Specifically, in the embodiment of the present application, the electric auxiliary heating function of the air conditioner can be realized by the control device 100 provided in the embodiment of the present application. Among them, the control device 100 includes a control module 110 that can obtain and control the pulse width of the switching device 120 according to the current working cycle of the power supply output voltage and the current working condition of the heating device 130, and also includes a switching device 120 that can change its own pulse width, and a heating device 130 that can change its own heating power due to the change of the pulse width of the switching device 120.

[0050] Furthermore, the control module 110 can obtain and control the pulse width of the switching device 120 according to the current working cycle of the power supply output voltage and the current working condition of the heating device 130, and send an instruction to the switching device 120. Furthermore, the voltage transmitted to the heating device 130 through the switching device 120 causes the power of the heating device 130 to change accordingly.

[0051] For example, when the heating device 130 is not short-circuited or open-circuited and the power supply output voltage is in the positive half-cycle, an instruction can be sent to the switching device 120 to control the pulse width of the switching device 120 and perform chopping corresponding to the positive half-cycle.

[0052] For another example, since the control module 110 can change the pulse width of the switching device 120 according to the switching device 120, the control module 110 can, when the heating device 130 is not in a short - circuit or open - circuit condition, according to the acquired temperature adjustment information, such as the difference between the current indoor temperature and the set indoor temperature, combined with the current working cycle of the power supply output voltage, send an instruction to the switching device 120 to control the pulse width of the switching device 120 and perform chopping corresponding to the positive half - cycle, so that the current power of the heating device can match the "difference between the current indoor temperature and the set indoor temperature", thereby ensuring a stable increase in the indoor temperature.

[0053] In this way, in the embodiment of the present application, the pulse width of the switching device 120 can be determined according to the current working cycle of the power supply output voltage and the current condition of the heating device 130 to control the operation of the heating device 130, so that the heating power of the heating device 130 can be related to the pulse width of the switching device 120. Furthermore, stepless adjustment of the heating device 130 can be achieved to a certain extent, so that the heating effect of the heating device 130, the operating power, etc. can be flexibly adjusted, ensuring the heating effect of the indoor unit of the air conditioner and the user's air - conditioner usage experience. Also, since the pulse width of the switching device 120 is determined according to the current working cycle of the power supply output voltage and the current condition of the heating device 130, stable adjustment of the pulse width of the switching device 120 can be ensured to a certain extent.

[0054] Moreover, since the embodiment of the present application can control and adjust the heating device according to the cycle of the power supply output voltage, the problem of heating power fluctuation caused by power grid fluctuations can be avoided to a certain extent.

[0055] In one example, the power supply 200 is an AC power supply 200.

[0056] In one example, a complete working cycle of the power supply output voltage includes a positive half - cycle and a negative half - cycle. To more clearly illustrate the working cycle of the power supply output voltage in the embodiment of the present application, please refer to Figure 2 , Figure 2 which is a schematic diagram of an application scenario in some embodiments of the present application. That is, after sampling the output voltage of the power supply 200 and then obtaining the waveform corresponding to the power supply output voltage, a complete working cycle of the power supply output voltage can be from t1 to t3, t4 to t6, the positive half - cycle of the power supply output voltage can be from t1 to t2, t4 to t5, and the negative half - cycle of the power supply output voltage can be from t2 to t3, t5 to t6.

[0057] In one example, the switching device 120 is a full - bridge circuit composed of four Insulated - Gate Bipolar Transistors (IGBTs) or MOS transistors.

[0058] In one example, the switching device 120 is a full-bridge circuit composed of four insulated gate bipolar transistors or MOS (Metal-Oxide-Semiconductor Field-Effect-Transistor).

[0059] In one example, the switching device 120 is a bidirectional controllable device, such as a TRIAC (Triode for Alternating Current), a bidirectional IGBT, etc.

[0060] In one example, for specific reference, Figure 3 , Figure 3 which is a schematic diagram of an application scenario in some embodiments of the present application. That is, as Figure 3 shown, the switching device 120 includes a first switching device 121 and a second switching device 122. Correspondingly, in one example, the control device 100 can send Pulse Width Modulation (PWM) signals to the first switching device 121 and the second switching device 122. After receiving the pulse width modulation signals, the pulse widths of the first switching device 121 and the second switching device 122 change accordingly.

[0061] In one example, both the first switching device 121 and the second switching device 122 are insulated gate bipolar transistors.

[0062] In one example, specifically as Figure 3 shown, the first switching device 121 includes a first power transistor 123 and a first diode 124, and the second switching device 122 includes a second power transistor 125 and a second diode 126.

[0063] In one example, the first power transistor 123 is connected to the cathode of the first diode 124 through a pin, the first power transistor 123 is connected to the heating device 130 and the anode of the first diode 124 through a pin, the second power transistor 125 is connected to the heating device 130 and the anode of the second diode 126 through a pin, and the second power transistor 125 is connected to the cathode of the second diode 126 through a pin.

[0064] In one example, specifically as Figure 3As shown, to ensure that the control module 110 can safely control the first switching device 121 and the second switching device 122, the control device 100 further includes a first isolation driving module 140 and a second isolation driving module 150. Furthermore, the control module 110 is connected to the first switching device 121 through the first isolation driving module 140, and the control module 110 is connected to the second switching device 122 through the second isolation driving module 150. Thus, through the first isolation driving module 140 and the second isolation driving module 150, the control module 110 can achieve isolated control of the first switching device 121 and the second switching device 122.

[0065] In one example, the first isolation driving module 140 is used to drive the first power transistor 123 to work, and the second isolation driving module 150 is used to drive the second power transistor 125 to work.

[0066] In one example, a pin in the control module 110 that can send a pulse width modulation signal is connected to the input (IN) pin of the first isolation driving module 140, and another pin in the control module 110 for outputting the pulse width modulation signal is connected to the input (IN) pin of the second isolation driving module 150. The output (OUT) pin of the first isolation driving module 140 is connected to a pin of the first power transistor 123, and the output (OUT) pin of the second isolation driving module 150 is connected to a pin of the second power transistor 125.

[0067] Please refer to again Figure 3 , in some embodiments of the present application, the control device 100 further includes a current detection module 160 for detecting the operating current of the heating device 130. The current detection module 160 is electrically connected to the control module 110, and the control module 110 is configured to determine the current working condition according to the operating current.

[0068] Specifically, in the embodiments of the present application, the control device 100 further includes a current detection module 160, which can be used to sample the operating current of the heating device 130.

[0069] It can be understood that the operating current of the heating device 130 can reflect the working condition of the heating device 130. For example, when the switching device 120 is in the on state and the power supply 200 supplies power to the heating device 130, if the operating current of the heating device 130 is zero, it indicates that the heating device 130 is in an open circuit condition. If the operating current of the heating device 130 is a maximum value, it indicates that the heating device 130 is in a short circuit condition. If the operating current of the heating device 130 is greater than zero and less than a maximum value, it indicates that the heating device 130 is in a normal condition.

[0070] Therefore, in some embodiments of the present application, the control module 110 can determine the operating condition of the heating device 130 at the current moment according to the operating current detected by the current detection module 160, that is, the above-mentioned current operating condition.

[0071] In one example, the ADC (Analog-Digital Converter) pin of the control module 110 is connected to the output (OUT) pin of the current detection module 160. One pin of the first resistor 170 is connected to the first input pin (i.e., IN+) of the current detection module 160, and the other pin of the first resistor 170 is connected to the second input pin (i.e., IN-) of the current detection module 160 and one pin of the second power transistor 125.

[0072] In one example, the first resistor 170 can be used to convert an alternating current into a voltage signal.

[0073] In addition, it can be understood that in the example as Figure 3 shown, the current detection module 160 does not directly sample the current across the heating device 130, but samples the current across the first resistor 170 to determine the operating current of the heating device 130. It can also be understood that based on this operating current detection method, the current detection module 160 can achieve isolated detection of the operating current of the heating device 130, and to a certain extent, it can ensure the safe operation of the current detection module 160 and the safe detection of the operating current.

[0074] In addition, in the example as Figure 3 shown, the current detection module 160 determines the operating current of the heating device 130 by sampling the current across the first resistor 170, but it can be understood that Figure 3 this is only an exemplary illustration. The embodiments of the present application can set the current detection module 160 to directly sample the current across the heating device 130, or set it to other situations, which can be specifically set according to the actual situation.

[0075] In this way, in the embodiments of the present application, the operating current of the heating device 130 can be collected according to the current detection module 160, and then the current operating condition of the heating device 130 can be determined according to the operating current of the heating device 130, thereby realizing the determination of the current operating condition of the heating device 130.

[0076] Please refer to Figure 3 , in some embodiments of the present application, the control device 100 further includes a voltage detection module 180 for detecting the power supply output voltage, and the voltage detection module 180 is electrically connected to the control module 110.

[0077] Specifically, in the embodiment of the present application, the control device 100 further includes a voltage detection module 180. The voltage detection module 180 can collect the output voltage of the power supply 200, and the voltage detection module 180 is electrically connected to the control module 110. Furthermore, the control module 110 can determine the current working cycle of the power supply output voltage according to the power supply output voltage collected by the voltage detection module 180.

[0078] In one example, the AC_PULSE pin of the voltage detection module 180 is connected to a pin in the control module 110 that can receive a pulse width modulation signal.

[0079] In one example, specifically refer to Figure 4 , Figure 4 is a schematic diagram of the voltage detection module 180 in some embodiments of the present application, that is, as shown in Figure 4 In the voltage detection module 180, one end of the resistor R1 is connected to the L-phase alternating current signal terminal, the other end of the resistor R1 is connected to the resistor R2, the other end of the resistor R2 is connected to the resistor R3, the other end of the resistor R3 is connected to the anode of the diode D1, and the cathode of the diode D1 is connected to the cathode of the diode D2, one end of the resistor R7, and pin 1 of the optocoupler U1. The anode of the diode D2 and the other end of the resistor R7, pin 2 of the optocoupler U1, and one end of the resistor R6 are connected. The other end of the resistor R6 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the resistor R4, the other end of the resistor R4 is connected to the N-phase alternating current signal terminal, pin 4 of the optocoupler U1 is connected to one end of the resistor R8 and one end of the resistor R9, pin 3 of the optocoupler U1 and one end of the capacitor C1, and the signal GND (Ground, ground wire) are connected. The other end of the resistor R9 and the other end of the capacitor C1, and the signal AC_PULSE_MCU are connected.

[0080] In this way, in the embodiment of the present application, the power supply output voltage can be detected through the voltage acquisition module, and then the current working cycle of the power supply output voltage can be determined according to the detected power supply output voltage.

[0081] Please refer to Figure 3 again. In some embodiments of the present application, to ensure the stable operation of the control device 100, the control device 100 further includes a first fuse 190, a second fuse 191, and a third switching device 192. The power supply 200, the first fuse 190, the third switching device 192, the first switching device 121, the heating device 130, the second switching device 122, the first resistor 170, and the second fuse 191 are electrically connected in sequence.

[0082] It can be understood that the first fuse 190 and the second fuse 191 can play a role in circuit protection, such as fusing in case of a short circuit to avoid burning other devices such as the control module 110 due to a short circuit.

[0083] It can also be understood that the third switching device 192 can be regarded as the last line of safety protection. For example, when an abnormality such as a short circuit or an open circuit occurs in the heating device 130, the third switching device 192 can be controlled to be in an off state.

[0084] In one example, one pin of the first fuse 190 is connected to the L (Live Wire) power line of the power supply 200, one pin of the third switching device 192, and the L2 pin of the voltage detection module 180.

[0085] In one example, the N2 pin of the voltage detection module 180 is connected to one pin of the second fuse 191, one pin of the first resistor 170, and the IN- pin of the current detection module 160, and the AC_PULSE pin of the voltage detection module 180 is connected to one PWM pin of the control module 110.

[0086] In one example, the GPIO (General-purpose input / output) pin of the control module 110 is connected to one pin of the third switching device 120, one ADC (Analog-Digital Converter) pin of the control module 110 is connected to the OUT pin of the current detection module 160, one PWM (Pulse Width Modulation) pin of the control module 110 is connected to the IN- pin of the first isolation driving module 140, another PWM (Pulse Width Modulation) pin of the control module 110 is connected to the IN pin of the second isolation driving module 150, and the IN+ pin of the current detection module 160 is connected to one pin of the first resistor 170.

[0087] In one example, one pin of the first power transistor 123 is connected to one pin of the third switching device 120 and the cathode of the first diode 124, and the other pin of the first power transistor 123 is connected to one pin of the heating device 130 and the anode of the first diode 124.

[0088] In one example, one pin of the second power transistor 125 is connected to one pin of the heating device 130 and the anode of the second diode 126.

[0089] Please refer to Figure 5 , corresponding to the above control device 100 for the indoor unit of the air conditioner, an embodiment of the present application provides a control method applied to the above control device 100, and the control method includes:

[0090] 01: Obtain the current working cycle of the power supply output voltage and the current working condition of the heating device;

[0091] 02: Determine the pulse width of the switching device according to the current working cycle and the current working condition, so as to control the operation of the heating device.

[0092] The embodiment of the present application also provides an air conditioner, which includes a memory and a processor. The control method of the embodiment of the present application can be implemented by the air conditioner of the embodiment of the present application. Specifically, a computer program is stored in the memory, and the processor is used to obtain the current working cycle of the power supply output voltage and the current working condition of the heating device, and determine the pulse width of the switching device according to the current working cycle and the current working condition, so as to control the operation of the heating device.

[0093] Specifically, in the embodiment of the present application, the air conditioner (or the above control module 110) can obtain the current working cycle of the power supply output voltage and the current working condition of the heating device, and adjust the pulse width of the switching device according to the current working cycle of the power supply output voltage and the current working condition of the heating device, so as to change the voltage transmitted from the power supply to the heating device through the switching device, and further change the power, heating efficiency, etc. of the heating device.

[0094] For example, when the heating device is not short-circuited or open-circuited and the power supply output voltage is in the positive half-cycle, an instruction can be sent to the switching device to control the pulse width of the switching device and perform chopping corresponding to the positive half-cycle.

[0095] Another example is that because the control module can control the change of the pulse width of the switching device according to the switching device, the control module can, when the heating device is not in a short-circuited or open-circuited working condition, according to the obtained temperature adjustment information, such as the difference between the current indoor temperature and the set indoor temperature, combined with the current working cycle of the power supply output voltage, send an instruction to the switching device to control the pulse width of the switching device and perform chopping corresponding to the positive half-cycle, so that the current power of the heating device can match the "difference between the current indoor temperature and the set indoor temperature", thereby ensuring a steady increase in the indoor temperature.

[0096] It can be understood that the relevant content of the foregoing control device can be referred to for hardware such as the power supply and the heating device. To avoid repetition, it will not be elaborated here.

[0097] Thus, in the implementation mode of the present application, the pulse width of the switch device can be determined according to the current working cycle of the power supply output voltage and the current working condition of the heating device to control the operation of the heating device, so that the operating state of the heating device can be related to the pulse width of the switch device, and then the stepless adjustment of the heating device can be achieved to a certain extent, so that the heating effect and operating power of the heating device can be flexibly adjusted, so that the heating effect of the air conditioner indoor unit and the user's air conditioning experience can be guaranteed. In addition, because the pulse width of the switch device is determined according to the current working cycle of the power supply output voltage and the current working condition of the heating device, the robust adjustment of the pulse width of the switch device can be guaranteed to a certain extent.

[0098] See also Figure 6 In certain embodiments of the present application, step 01 includes:

[0099] 010: Determine the target time point when the power supply output voltage is zero according to the occurrence time of two consecutive rising edges in the waveform corresponding to the power supply output voltage and the occurrence time of the falling edge in the two consecutive rising edges;

[0100] 011: Determine the current working cycle based on the target time point and the current time.

[0101] The processor of the embodiment of the present application is also used to determine the target time point when the power supply output voltage is zero based on the occurrence time of two consecutive rising edges in the waveform corresponding to the power supply output voltage, and the occurrence time of the falling edge in the two consecutive rising edges, and to determine the current working cycle based on the target time point and the current time.

[0102] Specifically, in the implementation manner of the present application, the air conditioner can determine the working cycle of the power supply output voltage at the current moment according to the waveform corresponding to the power supply output voltage.

[0103] For details, please refer to Figure 2 and Figure 7 , Figure 7 This is a flow chart of the control method in some embodiments of the present application, that is, Figure 7 As shown, the air conditioner can determine the amplitude and frequency of the power supply output voltage according to the waveform of the power supply output voltage, such as Figure 2 In the example shown, the amplitude of the power supply output voltage is ACC and the frequency is 1 / (t3-t1).

[0104] In addition, the air conditioner can also calculate the time of the zero-crossing point according to the time point of the pulse width, that is, according to the appearance time of two consecutive rising edges in the waveform of the power output voltage and the appearance time of the falling edge in the two consecutive rising edges, determine the target time point when the power output voltage is zero, such as Figure 2In the illustrated example, based on t1, t2, and t3, the sine function corresponding to the power supply output voltage can be deduced. Furthermore, based on this sine function, the time point when the power supply output voltage is 0 can be determined, which is the target time point and Figure 7 the zero crossing point in

[0105] Thus, after determining the target time point when the power supply output voltage is 0, the air conditioner can determine the current working cycle of the power supply output voltage according to the sequence relationship between the current time and the nearest target time point. For example, when the current time is (t3 - t1) / 2, since the current time is after t1 (or before t2), it can be determined that the power supply output voltage is in the positive half cycle at the current time.

[0106] In this way, in the embodiment of the present application, the target time point when the power supply output voltage is 0 can be determined according to the occurrence times of two consecutive rising edges in the waveform corresponding to the power supply output voltage, and the occurrence time of the falling edge between the two consecutive rising edges. And the current working cycle can be determined according to the target time point and the current time, so that the current working cycle of the power supply output voltage can be determined more efficiently.

[0107] Please refer to Figure 8 , in some embodiments of the present application, step 01 includes:

[0108] 012: Send a preset control signal to the switching device. Wherein, when the switching device receives the preset control signal, the heating device receives the power supply.

[0109] 013: Determine the current working condition according to the operating current of the heating device.

[0110] The processor in the embodiment of the present application is further configured to send a preset control signal to the switching device and to determine the current working condition according to the operating current of the heating device, wherein the heating device receives the power supply when the switching device receives the preset control signal.

[0111] Specifically, in the embodiment of the present application, the air conditioner can send a preset control signal to the switching device to make the switching device conduct accordingly. Then, when the switching device is conducting, the operating current of the heating device is detected, and the current working condition of the heating device is determined according to the operating current.

[0112] Specifically, please refer to Figure 3 and Figure 7 , in the embodiment of the present application, after the air conditioner determines the time point when the power supply output voltage is 0 (which is the target time point and Figure 7 the zero crossing point in

[0113] Next, a narrow pulse width pulse signal (i.e., a preset control signal) is sent to the switching device so that the power supply output voltage supplies power to the heating device.

[0114] Then, the current current of the first resistor is detected as the operating current of the heating device.

[0115] Finally, it is determined whether the current current of the first resistor is 0, so as to determine the current working condition of the heating device. It can be understood that if the heating device is in an open circuit condition, the current current of the first resistor is 0. It can also be understood that since a narrow pulse width pulse signal is sent, the current current of the first resistor should be a relatively small value. Furthermore, if the current current of the first resistor is a relatively large value, it can be determined that the heating device is in a short circuit condition. On the contrary, if the current current of the first resistor is not a relatively large value, it can be determined that the heating device is in a normal operating condition.

[0116] In one example, when it is determined that the heating device is in an abnormal condition such as an open circuit or a short circuit condition, the air conditioner can feedback an abnormal prompt message of the heating device to the cloud server or the mobile terminal of the staff, so that the heating device can be maintained as soon as possible.

[0117] In one example, the preset control signal is a pulse width modulation signal with a duty cycle of 5%.

[0118] In one example, the preset control signal is a pulse width modulation signal with a duty cycle of T%, and the value range of T is [3, 7].

[0119] In this way, in the embodiment of the present application, a preset control signal can be sent to the switching device, and the current working condition of the heating device can be determined according to the operating current of the heating device, so that the current working condition of the heating device can be determined based on the operating current of the heating device, and the efficient determination of the working condition of the heating device is realized to a certain extent.

[0120] Moreover, since the operating current of the heating device can be detected in the embodiment of the present application, furthermore, the embodiment of the present application can judge whether the resistance value of the heating device is abnormal through the operating current of the heating device. Therefore, to a certain extent, safety problems caused by short circuits, open circuits, etc. caused by the aging of the heating device can be avoided, and at the same time, abnormal detection can be used to remind after-sales for maintenance and repair, making it safer and more intelligent.

[0121] In some embodiments of the present application, the switching device includes a first switching device and a second switching device. Furthermore, step 012 includes:

[0122] In the case where the current working cycle is the first preset cycle, a preset control signal is sent to the first switching device; and / or,

[0123] In the case where the current working cycle is the second preset cycle, a preset control signal is sent to the second switching device.

[0124] The processor according to the embodiment of the present application is further configured to send a preset control signal to the first switching device when the current working cycle is the first preset cycle, and / or is configured to send a preset control signal to the second switching device when the current working cycle is the second preset cycle.

[0125] Specifically, for the positive half-cycle and negative half-cycle of the power supply, the air conditioner in the embodiment of the present application can send a preset control signal to different switching devices to determine the operating current of the heating device and the current working condition.

[0126] Specifically, please refer to Figure 3 and Figure 7 In the embodiment of the present application, if the power supply output voltage is in the positive half-cycle, a narrow pulse-width pulse signal (i.e., the preset control signal) is sent to the first power transistor and the second power transistor is controlled to be always on. Further, when the first power transistor receives the narrow pulse-width pulse signal, the first power transistor conducts, and thus the power supply output voltage supplies power to the heating device.

[0127] On the contrary, if the power supply output voltage is in the negative half-cycle, a narrow pulse-width pulse signal is sent to the second power transistor and the first power transistor is controlled to be always on. Further, when the second power transistor receives the narrow pulse-width pulse signal, the second power transistor conducts, and thus the power supply output voltage supplies power to the heating device.

[0128] In one example, the first preset cycle is the positive half-cycle, and the second preset cycle is the negative half-cycle.

[0129] In one example, when it is determined that the heating device is in an abnormal working condition such as an open circuit or a short circuit condition, the air conditioner can control the third switching device to turn off.

[0130] Thus, in the embodiment of the present application, a preset control signal can be sent to the first switching device when the current working cycle is the first preset cycle, and / or a preset control signal can be sent to the second switching device when the current working cycle is the second preset cycle. Accordingly, different switching devices can be controlled in different working cycles to determine the operating current of the heating device and the current working condition, and further the effectiveness of the operating current and the current working condition of the heating device can be ensured.

[0131] In some embodiments of the present application, the switching device includes a first switching device and a second switching device. Further, step 02 includes:

[0132] When the current working cycle is the first preset cycle and the heating device is in the target working condition, determine the pulse width of the first switching device according to the pre-acquired working parameters of the heating device, and control the second switching device to be in the conducting state; and / or,

[0133] When the current working cycle is the second preset cycle and the heating device is in the target working condition, determine the pulse width of the second switching device according to the working parameters of the heating device, and control the first switching device to be in the conducting state.

[0134] The processor according to the embodiment of the present application is further configured to, when the current working cycle is the first preset cycle and the heating device is in the target working condition, determine the pulse width of the first switching device according to the working parameters of the heating device obtained in advance, and control the second switching device to be in the conducting state, and / or configured to, when the current working cycle is the second preset cycle and the heating device is in the target working condition, determine the pulse width of the second switching device according to the working parameters of the heating device, and control the first switching device to be in the conducting state.

[0135] Specifically, in the embodiment of the present application, the air conditioner can control the operating states of the first switching device and the second switching device according to the current working cycle of the power supply output voltage, the current working condition of the heating device, and the working parameters of the heating device obtained in advance.

[0136] In one example, please refer to Figure 3 、 Figure 7 and Figure 9 , Figure 9 which is a schematic diagram of the application scenario in some embodiments of the present application. That is, in the embodiment of the present application, when the power supply output voltage is in the positive half cycle and the heating device is in the target working condition, the air conditioner can adjust the pulse width of the first power tube according to the working parameters of the heating device such as the set temperature, the current temperature, the working frequency of the power supply output voltage, and the power supply output voltage, and control the second power tube to be always on.

[0137] On the contrary, when the power supply output voltage is in the negative half cycle and the heating device is in the target working condition, the air conditioner can adjust the pulse width of the second power tube according to the power supply output voltage and the working parameters of the heating device such as the set temperature, the current temperature, the working frequency of the power supply output voltage, etc., and control the first power tube to be always on.

[0138] It can be understood that, based on the method of "when the power supply output voltage is in the positive half-cycle, adjust the pulse width of the first power transistor according to the pre-acquired operating parameters of the heating device such as the set temperature, the current temperature, the operating frequency of the power supply output voltage, and the power supply output voltage, and control the second power transistor to be always on", and "when the power supply output voltage is in the negative half-cycle, adjust the pulse width of the second power transistor according to the pre-acquired operating parameters of the heating device such as the set temperature, the current temperature, the operating frequency of the power supply output voltage, and the power supply output voltage, and control the first power transistor to be always on", chopping output can be performed through the first switching device when the alternating current (i.e., the power supply output voltage) is in the positive half-cycle, and chopping output can be performed through the second switching device when the alternating current (i.e., the power supply output voltage) is in the negative half-cycle. Moreover, the chopping duty cycle can be adjusted according to the set temperature and the current stability, so as to adjust the output power of the heating device and complete the adjustment of the heating temperature. Furthermore, when the temperature is stable, this method can output an extremely low power to maintain a stable temperature, avoiding temperature instability caused by overheating or non-heating, and thus resulting in energy waste, achieving an energy-saving effect.

[0139] In one example, when the heating device is in the target operating condition, it indicates that the heating device is not in an open-circuit condition or a short-circuit condition, or indicates that the operating current of the heating device (the current current of the first resistor) is not 0 or a relatively large value.

[0140] In one example, if the air conditioner receives a heating end command, the air conditioner can turn off the third switching device and then control the first power transistor and the second power transistor to turn off.

[0141] In one example, the operating parameters of the heating device include parameters such as the set temperature, the current temperature, and the operating frequency of the power supply output voltage.

[0142] In such Figure 7 and Figure 9 In one example as shown in

[0143] In such Figure 7 and Figure 9In an example shown, when the heating device of the air conditioner is in the target working condition (that is, the current of the first resistor is not zero), based on the method of "when the power supply output voltage is in the positive half-cycle, adjust the pulse width of the first power tube according to the preset temperature, current temperature, operating frequency of the power supply output voltage, power supply output voltage and other working parameters of the heating device, and control the second power tube to be always on", and "when the power supply output voltage is in the negative half-cycle, adjust the pulse width of the second power tube according to the preset temperature, current temperature, operating frequency of the power supply output voltage, power supply output voltage and other working parameters of the heating device, and control the first power tube to be always on", pulse width modulation is performed on the first switching device and the second switching device.

[0144] In an example as Figure 9 shown, the air conditioner according to the embodiment of the present application can also record the heating power of the heating device, so as to record the electric auxiliary heating energy consumption of the indoor unit of the air conditioner.

[0145] Furthermore, in an example, the air conditioner can also send the electric auxiliary heating energy consumption of the indoor unit of the air conditioner to the cloud server for unified energy management, so as to achieve more energy-saving and intelligent air conditioner energy management.

[0146] In this way, in the embodiment of the present application, when the current working cycle is the first preset cycle and the heating device is in the target working condition, the pulse width of the first switching device can be determined according to the working parameters of the heating device obtained in advance, and the second switching device is controlled to be in the conducting state, and / or when the current working cycle is the second preset cycle and the heating device is in the target working condition, the pulse width of the second switching device is determined according to the working parameters of the heating device, and the first switching device is controlled to be in the conducting state, thereby controlling the heating device to work.

[0147] Moreover, since the power of the heating device can be steplessly adjusted based on the pulse width adjustment in the embodiment of the present application, after the indoor temperature is stabilized, the heating device can be controlled to output at a very low power, so as to maintain a stable temperature, avoid temperature instability caused by overheating or non-heating, and avoid energy waste, thereby achieving an energy-saving effect.

[0148] The embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the above control method is implemented.

[0149] The embodiment of the present application also provides a computer program product, including a computer program / instructions, and when the computer program / instructions are executed by a processor, the above control method is implemented.

[0150] In the description of this specification, the descriptions with reference to terms such as "specifically", "furthermore", "specially", "understandably", etc. mean that the specific features, structures, materials or characteristics described in connection with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily intended to refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, without contradiction, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples.

[0151] Any process or method description shown in the flowchart or described in other ways herein can be understood to represent a module, segment or portion of code including one or more executable instructions for implementing a specific logical function or process, and the scope of the preferred embodiments of the present application includes additional implementations, where the functions may be executed in a substantially simultaneous manner or in the reverse order according to the functions involved, not in the order shown or discussed, which should be understood by those skilled in the art to which the embodiments of the present application pertain.

[0152] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present application. Those of ordinary skill in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present application.

Claims

1. A control device, characterized in that, An indoor unit applied to an air conditioner, the device includes a control module, a switching device, a heating device, a power supply, the control module, the switching device and the heating device are electrically connected in sequence, and the switching device is connected to the control module; The control module is configured to obtain the current working cycle of the power supply output voltage and the current working condition of the heating device, and determine the pulse width of the switching device according to the current working cycle and the current working condition, so as to control the operation of the heating device.

2. The device according to claim 1, wherein The device further includes a current detection module for detecting the operating current of the heating device, the current detection module is electrically connected to the control module, and the control module is configured to determine the current working condition according to the operating current.

3. The device according to claim 1, characterized in that, The device further includes a voltage detection module for detecting the power supply output voltage, and the voltage detection module is electrically connected to the control module.

4. A control method, characterized in that, The method is applied to the device according to any one of claims 1-3, and the method includes: Obtain the current working cycle of the power supply output voltage and the current working condition of the heating device; Determine the pulse width of the switching device according to the current working cycle and the current working condition, so as to control the operation of the heating device.

5. The method according to claim 4, wherein The obtaining the current working cycle of the power supply output voltage and the current working condition of the heating device includes: According to the occurrence time of two consecutive rising edges in the waveform corresponding to the power supply output voltage, and the occurrence time of the falling edge located between the two consecutive rising edges, determine the target time point when the power supply output voltage is zero; Determine the current working cycle according to the target time point and the current time.

6. The method according to claim 4, characterized in that, The obtaining the current working cycle of the power supply output voltage and the current working condition of the heating device includes: Send a preset control signal to the switching device, wherein when the switching device receives the preset control signal, the heating device receives the power supply of the power supply; Determine the current working condition according to the operating current of the heating device.

7. The method according to claim 6, wherein The switching device includes a first switching device and a second switching device, and the sending the preset control signal to the switching device includes: When the current working cycle is a first preset cycle, send the preset control signal to the first switching device; and / or, When the current working cycle is a second preset cycle, send the preset control signal to the second switching device.

8. The method according to claim 4, wherein The switching device includes a first switching device and a second switching device, and the determining the pulse width of the switching device according to the current working cycle and the current working condition to control the operation of the heating device includes: When the current working cycle is a first preset cycle and the heating device is in a target working condition, determine the pulse width of the first switching device according to the pre-obtained working parameters of the heating device, and control the second switching device to be in a conducting state; and / or, When the current working cycle is the second preset cycle and the heating device is in the target working condition, determine the pulse width of the second switching device according to the working parameters of the heating device, and control the first switching device to be in the on state.

9. An air conditioner, characterized in that, The air conditioner includes a memory and a processor. A computer program is stored in the memory. When the computer program is executed by the processor, the method according to any one of claims 4-8 is implemented.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program. When the computer program is executed by one or more processors, the method according to any one of claims 4-8 is implemented.