Control method of photoelectric device in electric control box, storage medium and electric control box

By monitoring the temperature in the electronic control box and adjusting the working parameters of the optoelectronic devices, the reliability and life problems caused by high temperatures in the closed electronic control environment are solved, and higher working reliability and service life are achieved.

CN119436318APending Publication Date: 2025-02-14FOSHAN SHUNDE MIDEA ELECTRONICS TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310958383.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

In a closed electrical control environment, the operating reliability and life of the optoelectronic devices in the electrical control box decrease due to high temperature.

Method used

By determining the temperature in the electronic control box, the working parameters of the optoelectronic devices are adjusted to ensure their reliable operation. Specific methods include reducing the operating duty cycle of the light emitting diode and the communication baud rate of the photocoupler under high temperature conditions.

Benefits of technology

It improves the working reliability and service life of optoelectronic devices in high temperature environments, and avoids faults and reductions caused by high temperatures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119436318A_ABST
    Figure CN119436318A_ABST
Patent Text Reader

Abstract

The invention discloses a control method of a photoelectric device in an electric control box, a storage medium and the electric control box. The method comprises the following steps: determining a temperature condition in the electric control box; working parameters of the photoelectric device are adjusted according to the temperature condition in the electric control box so that the photoelectric device can work reliably. According to the control method, the reliability of the photoelectric device during working can be improved, and the service life of the photoelectric device is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of air conditioners, and in particular to a control method for optoelectronic devices in an electric control box, a computer-readable storage medium, an electric control box and an air conditioner. Background Art

[0002] As living standards gradually improve, people pay more and more attention to the quality of life. Especially in the hot summer, installing air conditioners in the kitchen can make people feel more comfortable when cooking in the kitchen. Since the kitchen air conditioner is placed in the kitchen, the electric control box needs to be sealed to avoid oil fume pollution. In order to improve safety, the pressure of the compressor is higher than that of traditional compressors when it is working. The matching electric control components need to increase the electric power accordingly. The increase in electric power and in a closed electric control environment bring challenges to the thermal design of power heating components. If the optoelectronic devices in the electric control box work in a high temperature environment, it will affect their working reliability and life. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first object of the present invention is to provide a control method for a photoelectric device in an electric control box, by determining the temperature condition in the electric control box, and then adjusting the working parameters of the photoelectric device according to the temperature condition in the electric control box, so that the photoelectric device can work reliably, thereby improving the reliability of the photoelectric device when working and increasing the service life of the photoelectric device.

[0004] A second object of the present invention is to provide a computer-readable storage medium.

[0005] The third objective of the present invention is to provide an electric control box.

[0006] A fourth objective of the present invention is to provide an electric control box.

[0007] A fifth object of the present invention is to provide an air conditioner.

[0008] To achieve the above-mentioned purpose, an embodiment of the first aspect of the present invention proposes a control method for a photoelectric device in an electrical control box, the method comprising: determining the temperature conditions in the electrical control box; adjusting the working parameters of the photoelectric device according to the temperature conditions in the electrical control box so that the photoelectric device can work reliably.

[0009] According to the control method of the optoelectronic device in the electric control box of the embodiment of the present invention, the temperature condition in the electric control box is first determined, and then the working parameters of the optoelectronic device are adjusted according to the temperature condition in the electric control box, so that the optoelectronic device can work reliably. Therefore, the method can improve the reliability of the optoelectronic device when working, and increase the service life of the optoelectronic device.

[0010] In addition, the control method of the optoelectronic device in the electric control box according to the above embodiment of the present invention may also have the following additional technical features:

[0011] According to one embodiment of the present invention, the air conditioner is applied to the air conditioner, and the air conditioner includes a compressor, wherein determining the temperature condition in the electric control box includes: obtaining the working parameters of the compressor; and determining the temperature condition in the electric control box according to the working parameters of the compressor.

[0012] According to one embodiment of the present invention, the photoelectric device includes at least one of a light emitting diode and a photoelectric coupler, wherein the temperature condition in the electrical control box is determined according to the working parameters of the compressor, including: when the exhaust temperature of the compressor is lower than a first preset temperature, or the exhaust pressure of the compressor is lower than a first preset pressure, determining that the temperature in the electrical control box is normal; when the exhaust temperature of the compressor is greater than or equal to the first preset temperature, and the exhaust pressure of the compressor is greater than or equal to the first preset pressure, determining that a high temperature condition exists in the electrical control box.

[0013] According to one embodiment of the present invention, the photoelectric coupler is suitable for isolating the communication between the main control panel and the display panel of the air conditioner, wherein the working parameters of the photoelectric device are adjusted according to the temperature conditions in the electronic control box, including: when the exhaust temperature of the compressor is greater than or equal to a second preset temperature, and the exhaust pressure of the compressor is greater than or equal to a second preset pressure, the communication baud rate of the photoelectric coupler is lowered and adjusted according to the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor, wherein the second preset temperature is greater than the first preset temperature, and the second preset pressure is greater than the first preset pressure.

[0014] According to one embodiment of the present invention, when the communication baud rate of the photoelectric coupler is adjusted to be lowered, the method further includes: if the main control board and the display panel cannot complete communication at the lowered communication baud rate within a first preset time, then the communication baud rate is reduced to a preset minimum baud rate.

[0015] According to one embodiment of the present invention, when the communication baud rate of the photoelectric coupler is adjusted to be lowered, the method further includes: if the main control board notifies the display board to lower the communication baud rate, then when the main control board receives confirmation information from the display board, the main control board and the display board are connected to each other based on the lowered communication baud rate; when the communication connection between the main control board and the display board fails, the communication baud rate is reduced to a preset minimum baud rate.

[0016] According to one embodiment of the present invention, the light-emitting diode is suitable for fault indication, wherein the operating parameters of the photoelectric device are adjusted according to the temperature conditions in the electrical control box, including: when the exhaust temperature of the compressor is greater than or equal to a first preset temperature, and the exhaust pressure of the compressor is greater than or equal to a first preset pressure, the operating duty cycle of the light-emitting diode is reduced and adjusted according to the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor.

[0017] To achieve the above objectives, a second embodiment of the present invention provides a computer-readable storage medium on which a control program for optoelectronic devices in an electric control box is stored. When the program is executed by a processor, the control method for optoelectronic devices in an electric control box is implemented.

[0018] According to the computer-readable storage medium of the embodiment of the present invention, by implementing the control method of the optoelectronic device in the electric control box when executed, the reliability of the optoelectronic device during operation can be improved, and the service life of the optoelectronic device can be increased.

[0019] To achieve the above-mentioned purpose, an embodiment of the third aspect of the present invention proposes an electric control box, comprising a memory, a processor, and a control program for optoelectronic devices in the electric control box stored in the memory and executable on the processor. When the processor executes the control program, the above-mentioned control method for optoelectronic devices in the electric control box is implemented.

[0020] According to the electric control box of the embodiment of the present invention, by executing the control method of the optoelectronic device in the electric control box, the reliability of the optoelectronic device during operation can be improved, and the service life of the optoelectronic device can be increased.

[0021] To achieve the above-mentioned purpose, an electric control box is proposed in an embodiment of the fourth aspect of the present invention, comprising: a box body, which adopts a closed design; a circuit board, which is accommodated in the box body and is provided with a photoelectric device; a heating device, which includes an inductive device arranged on the circuit board, and the inductive device is accommodated in the box body; and a control unit, which is configured to determine the temperature condition in the box body and adjust the working parameters of the photoelectric device according to the temperature condition in the box body, so that the photoelectric device can work reliably.

[0022] According to the electric control box of the embodiment of the present invention, the temperature condition in the box body is determined by the control unit, and the working parameters of the photoelectric device are adjusted according to the temperature condition in the box body, so that the photoelectric device can work reliably, which can improve the reliability of the photoelectric device during operation and increase the service life of the photoelectric device.

[0023] To achieve the above-mentioned purpose, an air conditioner is proposed in an embodiment of the fifth aspect of the present invention, comprising a casing, a compressor, a first heat exchanger, a second heat exchanger, an air supply fan, and an exhaust fan; the above-mentioned electrical control box; wherein the casing has an air supply duct and an exhaust duct isolated from each other, the first heat exchanger is arranged in the air supply duct, the second heat exchanger is arranged in the exhaust duct, the first heat exchanger and the second heat exchanger are both connected to the compressor and serve as a condenser and an evaporator respectively, the inlet of the air supply fan is connected to the air supply duct and the outlet of the air supply fan is connected to the indoor side, the inlet of the exhaust fan is connected to the exhaust duct and the outlet of the exhaust fan is connected to the outdoor side, and the electrical control box is arranged on the air inlet path of the exhaust fan.

[0024] According to the air conditioner of the embodiment of the present invention, the housing has an air supply duct and an exhaust duct isolated from each other, the first heat exchanger is arranged in the air supply duct, the second heat exchanger is arranged in the exhaust duct, the first heat exchanger and the second heat exchanger are both connected to the compressor and serve as a condenser and an evaporator respectively, the inlet of the air supply fan is connected to the air supply duct and the outlet of the air supply fan is connected to the indoor side, the inlet of the exhaust fan is connected to the exhaust duct and the outlet of the exhaust fan is connected to the outdoor side, the electric control box is arranged on the air inlet path of the exhaust fan, and the heat dissipation of the electric control box can be achieved, and there is no need to set up an additional exhaust fan, which simplifies the structure of the air conditioner, reduces the volume and manufacturing cost of the air conditioner, and is conducive to the installation of the air conditioner. In addition, it is also avoided that the exhaust fan occupies the internal space of the housing, which is conducive to the flow of air in the exhaust duct and the air inlet duct, and avoids reducing the air supply volume of the air conditioner.

[0025] In addition, the air conditioner according to the above embodiment of the present invention may also have the following additional technical features:

[0026] According to one embodiment of the present invention, the electric control box is arranged in the exhaust air duct and along the air intake path of the exhaust fan, the electric control box is located upstream of the second heat exchanger, or the electric control box and the second heat exchanger are arranged in parallel.

[0027] According to an embodiment of the present invention, the exhaust fan and the air supply fan are both arranged in the casing.

[0028] According to an embodiment of the present invention, the refrigerant in the compressor includes carbon dioxide.

[0029] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 is a flow chart of a method for controlling an optoelectronic device in an electric control box according to an embodiment of the present invention;

[0031] Figure 2 is a schematic diagram of the structure of an electric control box according to an embodiment of the present invention;

[0032] Figure 3 A flowchart of a method for controlling a photoelectric device in an electric control box according to a specific example of the present invention;

[0033] Figure 4 is a block diagram of an electric control box according to an embodiment of the present invention;

[0034] Figure 5 is a three-dimensional appearance diagram of an air conditioner according to an embodiment of the present invention;

[0035] Figure 6 is a cross-sectional view of an air conditioner according to an embodiment of the present invention. DETAILED DESCRIPTION

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

[0037] Since the kitchen air conditioner is placed in the kitchen, the electric control box needs to be sealed to avoid oil fume pollution. In order to improve safety, the pressure of the compressor is higher than that of traditional compressors when it is working. The electric power of the matching electric control device must be increased accordingly. The increase in electric power and in a closed electric control environment bring challenges to the thermal design of power heating devices. The working reliability and life of optoelectronic devices such as light-emitting diodes and optocouplers in the electric control box are closely related to their working temperature, so the electric control design needs to consider its heating design.

[0038] To this end, the present invention proposes a control method for optoelectronic devices in an electrical control box, by determining the temperature conditions in the electrical control box and then adjusting the working parameters of the optoelectronic devices according to the temperature conditions in the electrical control box so that the optoelectronic devices can work reliably, thereby improving the reliability of the optoelectronic devices under closed electrical control.

[0039] In one embodiment of the present invention, Figure 2 As shown, the electric control box 100 may include: a box body 1, a circuit board 2, a heating device 3 and a control unit (not shown in the figure). The box body 1 adopts a closed design, the circuit board 2 is accommodated in the box body 1, and a photoelectric device is provided, the heating device 3 includes an inductive device 31 arranged on the circuit board 2, and the inductive device 31 is accommodated in the box body 1, and the control unit is configured to determine the temperature condition in the box body 1, and adjust the working parameters of the photoelectric device according to the temperature condition in the box body 1, so that the photoelectric device can work reliably.

[0040] Specifically, the box body 1 adopts a closed design, which can prevent pollutants such as oil and dust from entering the box body 1, and the circuit board 2 and the inductive device 31 are stored inside the box body 1, which can prevent oil from contacting the inductive device 31 and causing adverse effects on the inductive device 31, thereby improving the working reliability of the inductive device 31 and extending the service life of the electric control box 100.

[0041] In some embodiments of the present invention, Figure 2 As shown, the inductive device 31 includes a first inductive device 310, and the end of the first inductive device 310 away from the circuit board 2 is the distal end of the first inductive device 310, and the distance between the distal end of the first inductive device 310 and the box body 1 is 5mm-10mm. Generally, the distal end of the first inductive device 310 is the position of the first inductive device 310 closest to the electric control box 1. If the distance between the distal end of the first inductive device 310 and the box body 1 is too large or too small, it is not conducive to the working stability of the first inductive device 310. When the distance between the distal end of the first inductive device 310 and the electric control box 1 is too large, the heat radiation heat dissipation efficiency of the first inductive device 310 to the box body 1 is low, and the heat dissipation capacity of the first inductive device 310 is insufficient; and when the distance between the distal end of the first inductive device 310 and the box body 1 is too small and does not meet the electrical safety distance, the risk of electrical runaway of the first inductive device 310 increases, and the working safety of the first inductive device 310 is poor.

[0042] By setting the distance between the distal end of the first inductive device 310 and the box body 11 to the above-mentioned distance value, the distance between the distal end of the first inductive device 310 and the box body 1 is smaller, which is beneficial to the heat radiation heat dissipation of the first inductive device 310 to the box body 1, thereby improving the heat dissipation effect of the first inductive device 310; and by setting the distance between the distal end of the first inductive device 310 and the box body 1 to the above-mentioned distance value, the safety distance requirement can also be met.

[0043] The inductive device 31 may be one or more inductive devices 31, at least one of which is a first inductive device 310. The first inductive device 310 satisfies that the distance between the distal end of the first inductive device 310 and the electric control box 1 is the above-mentioned distance value, and the distance between other inductive devices 31 and the box body 1 may meet the above-mentioned distance value, or the distance between other inductive devices 31 and the electric control box 1 may not be the above-mentioned distance value. For example, in some examples, the first inductive device 310 may be connected to a strong current, such as a PFC (Power Factor Correction) inductor or a common mode inductor, etc. The first inductive device 310 generates high heat, while the other inductive devices 31 generate relatively low heat. Therefore, improving the heat dissipation effect of the first inductive device 310 can improve the heat dissipation capacity of the inductive device 31. By setting the distance between the distal end of the first inductive device and the box body 1 to the above-mentioned distance value, the distance between the first inductive device 310 and the box body 1 is small, which is conducive to the heat radiation heat dissipation of the inductive device 31 to the box body 1. The inductive device 31 which generates relatively less heat may or may not be within this spacing.

[0044] The box body 1 may include an inner shell 11 and an outer shell 12 covering the inner shell 11. The inner shell 11 is an insulating shell and is formed with a first opening 111. The first opening 111 is opposite to the distal end of the first inductive device 310. The outer shell 12 is a metal shell and blocks and closes the first opening 111. The box body 1 is a double-layer structure. The metal shell can ensure the structural reliability and fire resistance of the box body 1. The insulating shell can be used to play the role of insulation and improve the safety of the electric control box 100. Optionally, the inner shell 11 can also be a flame retardant to ensure the fire resistance of the electric control box 1. By setting the box body 1 as a double-layer structure, the inner shell 11 is an insulating shell, and the outer shell 12 is a metal shell, the manufacturing cost of the inner shell 11 is low. On the basis of improving the working reliability of the box body 1, the manufacturing cost of the box body 1 can also be reduced.

[0045] In some embodiments of the present invention, Figure 2As shown, the heating device 3 also includes a capacitive device 32 disposed on the circuit board 2, and the capacitive device 32 is accommodated in the box body 1. The box body 1 of the present invention is configured as a closed box body, which can prevent pollutants such as oil and dust from entering the electric control box 1, and can prevent oil from contacting the capacitive device 32 and causing adverse effects on the capacitive device 32, thereby improving the working reliability of the capacitive device 32. The capacitive device 32 can be one, or the capacitive device 32 can also be multiple, at least one of which is a first capacitive device 320, and the first capacitive device 320 satisfies that the distance between the far end of the first capacitive device 320 and the box body 1 is the above-mentioned distance value, and the distance between other capacitive devices 32 and the box body 1 can meet the above-mentioned distance value, and the distance between other capacitive devices 32 and the box body 1 may not be the above-mentioned distance value. For example, in some examples, the first capacitive device 320 is a high-voltage electrolytic capacitor with relatively high heat generation, and the first capacitive device 320 generates relatively high heat, while the other capacitive devices 32 generate relatively low heat. Therefore, improving the heat dissipation effect of the first capacitive device 320 can improve the heat dissipation capacity of the capacitive device 32. By setting the distance between the far end of the first capacitive device 320 and the box body 1 to the above distance value, the distance between the first capacitive device 320 and the box body 1 is small, which is conducive to the heat radiation of the capacitive device 32 to the box body 1. The capacitive device 32 with relatively low heat generation can be at this distance or not.

[0046] In addition, by setting the air inlet 51 as a long strip opening, the airflow for dissipating heat for the first inductive device 310 and the first capacitive device 320 can flow into the air inlet 51 side by side, so that the heat dissipation airflow for dissipating heat for the first inductive device 310 and the heat dissipation airflow for dissipating heat for the first capacitive device 320 flow side by side in the heat dissipation duct 50, further reducing heat crosstalk and improving the heat exchange efficiency of the heat dissipation airflow. The air outlet 52 can discharge the heat dissipation airflow.

[0047] In some embodiments, a power device 6 is further provided on the circuit board 2. The power device 6 generates heat when working, and the power device 6 is arranged on the circuit board 2 and enclosed in the box body 1. Therefore, the electric control box 100 may also include a radiator 7. The radiator 7 cooperates with at least one power device 6 for heat transfer, and at least part of the radiator 7 is located outside the box body 1. The radiator 7 conducts the heat of the power device 6 to the outside of the box body 1, thereby improving the heat dissipation capacity of the power device 6.

[0048] The following describes a method for controlling an optoelectronic device in an electric control box, a computer-readable storage medium, an electric control box, and an air conditioner according to embodiments of the present invention with reference to the accompanying drawings.

[0049] Figure 1 The figure is a flow chart of a method for controlling optoelectronic devices in an electric control box according to an embodiment of the present invention.

[0050] like Figure 1As shown, the control method of the optoelectronic device in the electric control box according to the embodiment of the present invention may include the following steps:

[0051] S1, determine the temperature inside the electric control box.

[0052] S2, adjusting the working parameters of the optoelectronic device according to the temperature condition in the electric control box, so that the optoelectronic device can work reliably.

[0053] Specifically, in one embodiment of the present invention, the working environment of the electric control box is relatively complex, and there may be pollutants such as oil and dust in the air of the working environment. Therefore, the electric control box may be configured as a closed box body to prevent pollutants such as oil and dust from entering the electric control box. Photoelectric devices are provided in the electric control box to prevent pollutants such as oil and dust from contacting the photoelectric devices, thereby preventing the normal operation of the photoelectric devices from being affected, and to improve the reliability of the operation of the photoelectric devices.

[0054] It is also worth noting that the “enclosed” described in the above embodiment is to be understood in a broad sense, and the electric control box 1 does not have an air flow channel (such as a heat dissipation hole) for heat dissipation, which can be understood as a closed state.

[0055] As for the optoelectronic devices arranged in the electric control box, such as light-emitting diodes, photodiodes, photoresistors, photoelectric converters, photoelectric couplers, etc., if the temperature inside the electric control box is too high, it will affect the life of the optoelectronic devices after a long time. Therefore, the temperature condition inside the electric control box can be determined first. For example, a temperature sensor can be arranged in the electric control box, and the temperature inside the electric control box can be acquired in real time through the temperature sensor. For example, the temperature inside the electric control box can be acquired continuously for a period of time, or the temperature inside the electric control box can be acquired at a set time point.

[0056] After obtaining the temperature in the electric control box, the temperature condition in the electric control box can be determined. For example, when the obtained temperature exceeds a certain set temperature, for example, when the obtained temperature exceeds 120 degrees, it can be determined that the temperature in the electric control box is too high. When the temperature is lower than a certain set temperature, for example, when the obtained temperature is lower than 80 degrees, it can be determined that the temperature in the electric control box is normal. After determining the temperature condition in the electric control box, the operating parameters of the optoelectronic device can be adjusted according to the temperature condition in the electric control box. For example, for a light-emitting diode, when the temperature in the electric control box is too high, its duty cycle during operation can be adjusted, such as lowering the operating duty cycle to reduce the operating current, thereby reducing the temperature rise and heat generation to increase its life, and enabling the light-emitting diode to work reliably.

[0057] Therefore, by determining the temperature conditions in the electric control box and then adjusting the operating parameters of the optoelectronic device according to the temperature conditions in the electric control box, the optoelectronic device can work reliably. This method can improve the reliability of the optoelectronic device during operation and increase the service life of the optoelectronic device.

[0058] According to one embodiment of the present invention, the air conditioner includes a compressor, wherein determining the temperature condition in the electric control box includes: obtaining the working parameters of the compressor; and determining the temperature condition in the electric control box according to the working parameters of the compressor.

[0059] Specifically, the control method of the optoelectronic device in the electronic control box in the embodiment of the present invention can be applied to an air conditioner, which includes an electronic control box and a compressor. When determining the temperature conditions in the electronic control box, in order to save costs and the internal space of the electronic control box, there is no need to set a special temperature sensor in the electronic control box to obtain the temperature conditions in the electronic control box. Since the distance between the electronic control box and the compressor is relatively close, the operating parameters of the compressor can be obtained, and then the temperature conditions in the electronic control box can be determined based on the operating parameters of the compressor. For example, by obtaining the exhaust temperature of the compressor, when the compressor exhaust temperature is higher, it can be determined that the temperature inside the electronic control box is higher, and when the compressor exhaust temperature is lower, it can be determined that the temperature inside the electronic control box is lower; for another example, since the temperature difference is not large in the high temperature section of the compressor exhaust temperature, the exhaust pressure of the compressor can also be obtained to determine the temperature condition inside the electronic control box, such as obtaining the exhaust pressure of the compressor through a pressure sensor, when the compressor exhaust pressure is higher, it can be determined that the temperature inside the electronic control box is higher, and when the compressor exhaust pressure is lower, it can be determined that the temperature inside the electronic control box is lower; for another example, the temperature inside the electronic control box can be determined according to the compressor speed, such as when the compressor speed is higher, it can be determined that the temperature inside the electronic control box is higher, and when the compressor speed is lower, it can be determined that the temperature inside the electronic control box is lower.

[0060] Further, according to an embodiment of the present invention, the photoelectric device includes at least one of a light emitting diode and a photoelectric coupler, wherein the temperature condition in the electric control box is determined according to the working parameters of the compressor, including: when the exhaust temperature of the compressor is less than the first preset temperature, or the exhaust pressure of the compressor is less than the first preset pressure, determining that the temperature in the electric control box is normal; when the exhaust temperature of the compressor is greater than or equal to the first preset temperature, and the exhaust pressure of the compressor is greater than or equal to the first preset pressure, determining that there is a high temperature condition in the electric control box. The first preset temperature can be determined according to actual conditions, and the first preset pressure can be determined according to actual conditions.

[0061] Specifically, the optoelectronic device may include at least one of a light emitting diode and a photocoupler, wherein the life of the light emitting diode is inversely proportional to the temperature at which it operates, that is, the higher the operating temperature of the light emitting diode, the shorter the life of the light emitting diode, and the lower the operating temperature of the light emitting diode, the longer the life of the light emitting diode. In addition, since the light emitting diode operates in a closed high-power environment, the effect of temperature on its life is more obvious.

[0062] When determining the temperature in the electric control box according to the working parameters of the compressor, the exhaust temperature of the compressor can be compared with the first preset temperature. When the exhaust temperature of the compressor obtained is less than the first preset temperature, for example, the first preset temperature can be 100 degrees, and the exhaust temperature of the compressor obtained is 70 degrees, it can be determined that the temperature in the electric control box is normal. Alternatively, the exhaust pressure of the compressor can be compared with the first preset pressure. When the exhaust pressure of the compressor obtained is less than the first preset pressure, for example, the first preset pressure can be 8Mpa, and the exhaust pressure of the compressor obtained is 7Mpa, it can be determined that the temperature in the electric control box is normal.

[0063] After comparing the exhaust temperature of the compressor with the first preset temperature, and comparing the exhaust pressure of the compressor with the first preset pressure, if the exhaust temperature of the compressor is greater than or equal to the first preset temperature, and the exhaust pressure of the compressor is greater than or equal to the first preset pressure, for example, the exhaust temperature of the compressor is 110 degrees, and the exhaust pressure of the compressor is 10Mpa, which is higher than the first preset temperature of 100 degrees and the first preset pressure of 8Mpa, it can be determined that the temperature inside the electronic control box is abnormal and there is a high temperature condition inside the electronic control box.

[0064] According to one embodiment of the present invention, the photoelectric coupler is suitable for isolating the communication between the main control panel and the display panel of the air conditioner, wherein the operating parameters of the photoelectric device are adjusted according to the temperature conditions in the electronic control box, including: when the exhaust temperature of the compressor is greater than or equal to a second preset temperature, and the exhaust pressure of the compressor is greater than or equal to a second preset pressure, the communication baud rate of the photoelectric coupler is lowered and adjusted according to the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor, wherein the second preset temperature is greater than the first preset temperature, and the second preset pressure is greater than the first preset pressure.

[0065] Specifically, the photocoupler uses light as a medium to transmit electrical signals, and has a good isolation effect on input and output electrical signals. It can be used to isolate the communication between the main control board and the display board of the air conditioner. The amplification factor of the photocoupler will be affected by temperature. The higher the temperature, the higher the amplification factor of the photocoupler, and the lower the temperature, the lower the amplification factor of the photocoupler.

[0066] When adjusting the working parameters of the photoelectric device according to the temperature in the electric control box, the exhaust temperature of the compressor is compared with the second preset temperature, and the exhaust pressure of the compressor is compared with the second preset pressure. When the exhaust temperature of the compressor is greater than or equal to the second preset temperature and the exhaust pressure of the compressor is greater than or equal to the second preset pressure, it can be determined that there is a high temperature in the electric control box. When the temperature is too high, it is necessary to reduce the communication baud rate of the photoelectric coupler to improve the reliability of communication. When adjusting the communication baud rate, first determine the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor. When the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor are different, the adjustment size when adjusting the communication baud rate is also different.

[0067] When the communication baud rate of the photoelectric coupler is adjusted to be lowered according to the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor, as shown in Table 1.

[0068] Table 1

[0069]

[0070] As can be seen from Table 1, Tp represents the exhaust temperature of the compressor, and P represents the exhaust pressure of the compressor. For example, when the exhaust temperature of the compressor is in a range of greater than or equal to 110 degrees and less than 120 degrees, and the exhaust pressure P of the compressor is in a range of greater than or equal to 9Mpa and less than 10Mpa, the communication baud rate of the photoelectric coupler can be reduced and adjusted, such as to 4800bps; when the exhaust temperature of the compressor is in a range of greater than or equal to 120 degrees, and the exhaust pressure P of the compressor is in a range of greater than or equal to 10Mpa and less than 11Mpa, the communication baud rate of the photoelectric coupler can be reduced and adjusted, such as to 2400bps; when the exhaust temperature of the compressor is in a range of greater than or equal to 120 degrees, and the exhaust pressure P of the compressor is in a range of greater than or equal to 10Mpa and less than 11Mpa, the communication baud rate of the photoelectric coupler can be reduced and adjusted, such as to 2400bps; When the exhaust pressure P of the compressor is in the range of greater than or equal to 11Mpa and less than 12Mpa, the communication baud rate of the photoelectric coupler can be lowered and adjusted, such as adjusted to 2400bps; when the exhaust temperature of the compressor is in the range of greater than or equal to 120 degrees, the exhaust pressure P of the compressor is in the range of greater than or equal to 12Mpa and less than 13Mpa, the communication baud rate of the photoelectric coupler can be lowered and adjusted, such as adjusted to 1200bps; when the exhaust temperature of the compressor is in the range of greater than or equal to 120 degrees, the exhaust pressure P of the compressor is in the range of greater than or equal to 13Mpa, the communication baud rate of the photoelectric coupler can be lowered and adjusted, such as adjusted to 1200bps.

[0071] It should be noted that, when the exhaust temperature of the compressor is not greater than or equal to the second preset temperature, and the exhaust pressure of the compressor is not greater than or equal to the second preset pressure, the communication baud rate of the photoelectric coupler can be 9600 bps for communication.

[0072] For example, when the exhaust temperature of the compressor is 130 degrees and the exhaust pressure of the compressor is 12Mpa, the communication baud rate of the photoelectric coupler is adjusted to 1200bps. That is, the lower the communication baud rate, the better the communication quality. Therefore, by combining the exhaust temperature and the exhaust pressure and reducing the communication baud rate, the communication reliability is improved.

[0073] According to one embodiment of the present invention, when the communication baud rate of the photoelectric coupler is lowered and adjusted, the method further includes: if the main control board and the display board cannot complete communication at the lowered communication baud rate within the first preset time, then the communication baud rate is lowered to a preset minimum baud rate. The preset minimum baud rate can be determined according to actual conditions. The first preset time can be determined according to actual conditions, and the preset minimum baud rate can be determined according to actual conditions.

[0074] Specifically, due to temperature reasons, actively changing the communication baud rate may cause communication failure with the display (communication baud rate is not synchronized). When the optoelectronic device is powered on again (power off in the middle or powered on for the first time), the main control board and the display board can correct the baud rate according to the exhaust temperature and exhaust pressure according to the above Table 1, and start communication. The display board actively initiates ACK (Acknowledge character). If the communication is successful, the communication continues at the baud rate. If the main control board and the display board cannot complete the communication at the reduced communication baud rate within the first preset time, such as failing to communicate normally within one second, the communication baud rate can be reduced to the preset minimum baud rate, such as lowering both the main control board and the display board to the minimum baud rate of 1200bps and then continuing to communicate.

[0075] According to one embodiment of the present invention, when the communication baud rate of the optocoupler is adjusted to be lowered, the method also includes: if the main control board notifies the display board to lower the communication baud rate, then when the main control board receives confirmation information from the display board, the main control board and the display board are connected to each other based on the lowered communication baud rate; when the communication connection between the main control board and the display board fails, the communication baud rate is reduced to a preset minimum baud rate.

[0076] Specifically, each frame of communication between the main control board and the display board contains information about exhaust pressure and exhaust temperature. When the main control board changes the baud rate, it will send a special command (including the modified baud rate value) to notify the display. After receiving the information, the display board will reply with ACK and modify the baud rate. After receiving the ACK, the main control board can communicate with the display board at the latest baud rate during the next communication. There is a heartbeat command between the display board and the main control board (such as the display board communicates with the main control board once every 300ms and resets the internal communication fault timer). When the display board fails to communicate with the main control board, the fault timer starts to accumulate timing. If there is no communication within 1 second, each can lower its own baud rate to the minimum baud rate of 1200bps. In this way, the communication failure problem caused by baud rate asynchrony can be solved.

[0077] In addition, if communication cannot be restored for a period of time after being adjusted down to the lowest baud rate, such as 3 seconds, an alarm will be displayed to remind the user to conduct inspection and maintenance in time.

[0078] According to one embodiment of the present invention, a light emitting diode is suitable for fault indication, wherein the operating parameters of the photoelectric device are adjusted according to the temperature conditions in the electronic control box, including: when the exhaust temperature of the compressor is greater than or equal to a first preset temperature, and the exhaust pressure of the compressor is greater than or equal to a first preset pressure, the operating duty cycle of the light emitting diode is reduced according to the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor.

[0079] Specifically, the LED can be used for fault indication. For example, the fault status can be displayed to the user by the lighting duration and off duration of the LED. For example, when there is no high temperature in the electrical control box, the LED can be lit for one second, off for four seconds, and flashing slowly to indicate that the current working environment is in a normal state. When there is high temperature in the electrical control box, the LED can be lit for 0.5 seconds, off for 0.5 seconds, and flashing quickly to indicate that the current working environment is in an abnormal state, so as to remind the user.

[0080] When the working parameters of the photoelectric device are adjusted according to the temperature conditions in the electrical control box, the exhaust temperature of the compressor is compared with the first preset temperature, and the exhaust pressure of the compressor is compared with the first preset pressure. When the exhaust temperature of the compressor is greater than or equal to the first preset temperature and the exhaust pressure of the compressor is greater than or equal to the first preset pressure, it can be determined that a high temperature condition exists in the electrical control box, and it is necessary to reduce the temperature rise inside the light-emitting diode by controlling the working current of the light-emitting diode to increase the service life of the light-emitting diode.

[0081] When controlling the diode, first determine the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor. If the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor are different, the parameters adjusted when controlling the diode are also different. For example, the size of the adjustment of the working duty cycle of the diode is different in the temperature range of different exhaust temperatures and the pressure range of different exhaust pressures.

[0082] For example, when the exhaust temperature of the compressor is in the range of 100-110 degrees and the exhaust pressure of the compressor is in the range of 8-9Mpa, the conduction time of the light-emitting diode can be controlled to be on at a duty cycle of D=80%; when the exhaust temperature of the compressor is in the range of 110-120 degrees and the exhaust pressure of the compressor is in the range of 9-10Mpa, the conduction time of the light-emitting diode can be controlled to be on at a duty cycle of D=70%; when the exhaust temperature of the compressor is in the range of greater than 120 degrees and the exhaust pressure of the compressor is in the range of 10-11Mpa, the conduction time of the light-emitting diode can be controlled to be on at a duty cycle of D=60%. When the exhaust temperature of the compressor is in a range greater than 120 degrees and the exhaust pressure of the compressor is in a range of 11-12Mpa, the conduction time of the light emitting diode can be controlled to be conducted at a duty cycle of D=50%; when the exhaust temperature of the compressor is in a range greater than 120 degrees and the exhaust pressure of the compressor is in a range of 12-13Mpa, the conduction time of the light emitting diode can be controlled to be conducted at a duty cycle of D=40%; when the exhaust temperature of the compressor is in a range greater than 120 degrees and the exhaust pressure of the compressor is in a range greater than 13Mpa, the conduction time of the light emitting diode can be controlled to be conducted at a duty cycle of D=30%.

[0083] It should be noted that when the exhaust temperature of the compressor is not greater than or equal to the first preset temperature and the exhaust pressure of the compressor is not greater than or equal to the first preset pressure, the conduction time of the light emitting diode is at a duty cycle of D=100%.

[0084] Therefore, by controlling the conduction duty cycle of the light emitting diode, its operating current is reduced, and its temperature rise is lowered, so that the service life of the light emitting diode can be increased in a high temperature environment, thereby improving the reliability of the work.

[0085] In summary, as a specific example, the exhaust temperature Tp of the compressor, the exhaust pressure P of the compressor, the first preset temperature is 100 degrees, the first preset pressure is 8Mpa, the second preset temperature is 110 degrees, and the second preset pressure is 9Mpa. The exhaust temperature Tp of the compressor and the exhaust pressure P of the compressor are obtained. When the exhaust temperature Tp is less than 100 degrees, or the exhaust pressure P is less than 8Mpa, the conduction time of the light-emitting diode is turned on at a duty cycle D=100%, and the communication baud rate is 9600bps for communication; when the exhaust temperature Tp is greater than or equal to 100 degrees and less than 110 degrees, and the exhaust pressure P is greater than or equal to 8Mpa and less than 9Mpa , the conduction time of the light-emitting diode can be controlled to be on at a duty cycle of D=80%, and the communication baud rate is 9600bps; when the exhaust temperature Tp is greater than or equal to 110 degrees and less than 120 degrees, and the exhaust pressure P is greater than or equal to 9Mpa and less than 10Mpa, the conduction time of the light-emitting diode can be controlled to be on at a duty cycle of D=70%, and the communication baud rate is 4800bps; when the exhaust temperature Tp is greater than or equal to 120 degrees, and the exhaust pressure P is greater than or equal to 10Mpa and less than 11Mpa, the conduction time of the light-emitting diode can be controlled to be on at a duty cycle of D=60%, and the communication baud rate is 2400bps. When the exhaust temperature Tp is greater than or equal to 120 degrees, and the exhaust pressure P is greater than or equal to 11Mpa and less than 12Mpa, the conduction time of the light-emitting diode can be conducted at a duty cycle of D=50%, and the communication baud rate is 2400bps for communication; when the exhaust temperature Tp is greater than or equal to 120 degrees, and the exhaust pressure P is greater than or equal to 12Mpa and less than 13Mpa, the conduction time of the light-emitting diode can be conducted at a duty cycle of D=40%, and the communication baud rate is 1200bps for communication. When the exhaust temperature Tp is greater than or equal to 120 degrees, and the exhaust pressure P is greater than or equal to 13Mpa, the conduction time of the light-emitting diode can be conducted at a duty cycle of D=30%, and the communication baud rate is 1200bps for communication. Therefore, by combining the exhaust temperature and exhaust pressure of the compressor, controlling the conduction duty ratio of the light-emitting diode can reduce its operating current, reduce its temperature rise, and improve communication reliability by reducing the communication baud rate.

[0086] Combine the following Figure 3 The control method of the present invention will be described.

[0087] As a specific example, the control method of the optoelectronic device in the electric control box may include the following steps:

[0088] S101, obtaining the exhaust temperature and exhaust pressure when the compressor is working.

[0089] S102, determine whether the exhaust temperature of the compressor is greater than or equal to a first preset temperature and whether the exhaust pressure of the compressor is greater than or equal to a first preset pressure. If yes, execute step S103; if not, execute step S109.

[0090] S103, determining that a high temperature exists in the electric control box.

[0091] S104, according to the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor, the duty cycle of the light emitting diode is reduced and adjusted.

[0092] S105, judging whether the exhaust temperature of the compressor is greater than or equal to the second preset temperature and whether the exhaust pressure of the compressor is greater than or equal to the second preset pressure. If yes, executing step S106; if not, executing step S102.

[0093] S106, according to the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor, the communication baud rate of the photoelectric coupler is lowered and the working duty cycle of the light emitting diode is lowered.

[0094] S107, determining whether the main control board and the display board cannot complete communication at the reduced communication baud rate within the first preset time. If yes, executing step S108; if not, executing step S110.

[0095] S108, reducing the communication baud rate to a preset minimum baud rate.

[0096] S109, determining that the temperature in the electric control box is normal.

[0097] S110, the main control board and the display board are connected to each other in communication based on the reduced communication baud rate.

[0098] S111, determine whether the communication connection between the main control board and the display board fails. If yes, execute step S108; if no, execute step S110.

[0099] In summary, according to the control method of the optoelectronic device in the electric control box of the embodiment of the present invention, the temperature condition in the electric control box is first determined, and then the working parameters of the optoelectronic device are adjusted according to the temperature condition in the electric control box, so that the optoelectronic device can work reliably. Therefore, the method can improve the reliability of the optoelectronic device when working, and increase the service life of the optoelectronic device.

[0100] Corresponding to the above embodiment, the present invention also proposes a computer-readable storage medium.

[0101] The computer-readable storage medium of the embodiment of the present invention stores a control program for the optoelectronic device in the electric control box, and the program implements the control method for the optoelectronic device in the electric control box when executed by a processor.

[0102] According to the computer-readable storage medium of the embodiment of the present invention, by executing the above-mentioned control method of the optoelectronic device in the electric control box, the reliability of the optoelectronic device during operation can be improved, and the service life of the optoelectronic device can be increased.

[0103] Corresponding to the above embodiment, the present invention further proposes an electric control box.

[0104] like Figure 4 As shown, the electric control box 100 of the embodiment of the present invention may include: a memory 101, a processor 102, and a control program for optoelectronic devices in the electric control box stored in the memory 101 and executable on the processor 102. When the processor 102 executes the program, the control method for optoelectronic devices in the electric control box is implemented.

[0105] According to the electric control box of the embodiment of the present invention, by executing the control method of the optoelectronic device in the electric control box, the reliability of the optoelectronic device during operation can be improved, and the service life of the optoelectronic device can be increased.

[0106] Corresponding to the above embodiment, the present invention further proposes an electric control box.

[0107] like Figure 2 As shown, combined with Figure 5 As shown, the electric control box 100 of the embodiment of the present invention may include a box body 1, which adopts a closed design; a circuit board 2, which is accommodated in the box body 1 and is provided with a photoelectric device; a heating device 3, which includes an inductive device 31 arranged on the circuit board, and the inductive device 31 is accommodated in the box body 1; a control unit (not shown in the figure), which is configured to determine the temperature conditions in the box body 1 and adjust the working parameters of the photoelectric device according to the temperature conditions in the box body 1, so that the photoelectric device can work reliably.

[0108] According to one embodiment of the present invention, applied to an air conditioner 1000, the air conditioner 1000 includes a compressor 300, wherein determining the temperature condition in the electric control box 100 includes: obtaining the working parameters of the compressor 300; and determining the temperature condition in the electric control box 100 according to the working parameters of the compressor 300.

[0109] According to one embodiment of the present invention, the photoelectric device includes at least one of a light emitting diode 4 and a photoelectric coupler 5, wherein the control unit determines the temperature condition in the electric control box 1 according to the working parameters of the compressor 300, and is specifically used for: when the exhaust temperature of the compressor 300 is lower than the first preset temperature, or the exhaust pressure of the compressor 300 is lower than the first preset pressure, determining that the temperature in the electric control box 1 is normal; when the exhaust temperature of the compressor 300 is greater than or equal to the first preset temperature, and the exhaust pressure of the compressor 300 is greater than or equal to the first preset pressure, determining that a high temperature condition exists in the electric control box 1.

[0110] According to one embodiment of the present invention, the photoelectric coupler 5 is suitable for isolating the communication between the main control panel and the display panel of the air conditioner 1000, wherein the control unit adjusts the working parameters of the photoelectric device according to the temperature conditions in the electric control box 1, specifically for: when the exhaust temperature of the compressor 300 is greater than or equal to the second preset temperature, and the exhaust pressure of the compressor is greater than or equal to the second preset pressure, the communication baud rate of the photoelectric coupler 5 is lowered and adjusted according to the temperature range of the current exhaust temperature of the compressor 300 and the pressure range of the current exhaust pressure of the compressor, wherein the second preset temperature is greater than the first preset temperature, and the second preset pressure is greater than the first preset pressure.

[0111] According to one embodiment of the present invention, when the communication baud rate of the photoelectric coupler 5 is adjusted to be lowered, the control unit is also used to: if the communication between the main control board and the display board cannot be completed at the reduced communication baud rate within a first preset time, the communication baud rate is reduced to a preset minimum baud rate.

[0112] According to one embodiment of the present invention, when the communication baud rate of the photoelectric coupler 5 is adjusted to be lowered, the control unit is also used for: if the main control board notifies the display board to lower the communication baud rate, then when the main control board receives confirmation information from the display board, the main control board and the display board are connected to each other based on the lowered communication baud rate; when the communication connection between the main control board and the display board fails, the communication baud rate is reduced to a preset minimum baud rate.

[0113] According to one embodiment of the present invention, the light-emitting diode 4 is suitable for fault indication, wherein the control unit adjusts the working parameters of the photoelectric device according to the temperature conditions in the electric control box 1, specifically for: when the exhaust temperature of the compressor 300 is greater than or equal to the first preset temperature, and the exhaust pressure of the compressor 300 is greater than or equal to the first preset pressure, the working duty cycle of the light-emitting diode 4 is reduced and adjusted according to the temperature range of the current exhaust temperature of the compressor 300 and the pressure range of the current exhaust pressure of the compressor 300.

[0114] It should be noted that for details not disclosed in the electric control box of the embodiment of the present invention, please refer to the details disclosed in the control method of the optoelectronic device in the electric control box of the embodiment of the present invention, and the details will not be repeated here.

[0115] According to the electric control box of the embodiment of the present invention, the control unit is configured to determine the temperature conditions inside the box body, and adjust the working parameters of the photoelectric device according to the temperature conditions inside the box body, so that the photoelectric device can work reliably, which can improve the reliability of the photoelectric device during operation and increase the service life of the photoelectric device.

[0116] Corresponding to the above embodiment, the present invention also proposes an air conditioner.

[0117] like Figure 5 As shown, the air conditioner 1000 of the embodiment of the present invention may include a housing 200, a compressor 300, a first heat exchanger 400, a second heat exchanger 500, an air supply fan 600, and an exhaust fan 700. The above-mentioned electric control box 100, wherein the housing 200 has an air supply duct 210 and an exhaust duct 220 isolated from each other, the first heat exchanger 400 is arranged in the air supply duct 210, and the second heat exchanger 500 is arranged in the exhaust duct 220. The first heat exchanger 400 and the second heat exchanger 500 are both connected to the compressor 300 and serve as a condenser and an evaporator respectively. The inlet of the air supply fan 600 is connected to the air supply duct 210 and the outlet of the air supply fan 600 is connected to the indoor side, the inlet of the exhaust fan 700 is connected to the exhaust duct 220 and the outlet of the exhaust fan 700 is connected to the outdoor side, and the electric control box 100 is arranged on the air inlet path of the exhaust fan 700.

[0118] It is worth noting that the air conditioner 1000 can cool the indoor side or heat the indoor side. When the air conditioner 1000 cools the indoor side, the first heat exchanger 400 acts as an evaporator, the second heat exchanger 500 acts as a condenser, the airflow provided by the air supply fan 600 passes through the evaporator to release heat, and the cold air flows into the indoor side along the air supply duct 210, thereby cooling the indoor side; the airflow provided by the exhaust fan 700 passes through the condenser to take away the heat of the condenser, and the hot air flows to the outdoor side along the exhaust duct 220. When the air conditioner 1000 heats the indoor side, the first heat exchanger 400 acts as a condenser, the second heat exchanger 500 acts as an evaporator, the airflow provided by the air supply fan 600 passes through the condenser to absorb heat, and the hot air flows into the indoor side along the air supply duct 210, thereby heating the indoor side; the airflow provided by the exhaust fan 700 passes through the evaporator to release heat, and the cold air flows to the outdoor side along the exhaust duct 220.

[0119] The electric control box 100 is arranged on the air inlet path of the exhaust fan 700. When the air supply fan 600 provides a flowing airflow to the second heat exchanger 500, the air supply fan 600 provides a flowing airflow to flow through the electric control box 100 to dissipate heat from the electric control box 100. The flowing airflow provided by the air supply fan 600 flows through the heat dissipation air duct 50 to perform heat exchange with the electric control box 100, thereby improving the heat dissipation capacity of the heating element 3 in the electric control box 100 and further improving the working reliability of the electric control box 100. Since the electric control box 100 is arranged on the air inlet path of the exhaust fan 700, the electric control box 100 will not interfere with the air supply on the indoor side, and will not affect the indoor cooling or heating efficiency of the air conditioner 1000.

[0120] The air conditioner 1000 of the embodiment of the present invention can achieve heat dissipation of the electric control box 100 by using the exhaust fan 700, without setting an additional exhaust fan, simplifying the structure of the air conditioner 1000, reducing the volume and manufacturing cost of the air conditioner 1000, and facilitating the installation of the air conditioner 1000. In addition, it is also avoided that the exhaust fan occupies the internal space of the housing 200, which is beneficial to the flow of air in the exhaust duct 220 and the air inlet duct, and avoiding reducing the air supply volume of the air conditioner 1000.

[0121] Combination Figure 6 As shown, in some embodiments, a first opening 111 or a plurality of first air inlets 51 may be provided at a position of the housing 200 corresponding to the first heat exchanger 400, and the air supply duct 210 is connected to the first opening 111 or the plurality of first air inlets 51; a second opening 112 or a plurality of second air inlets 51 may be provided at a position of the housing 200 corresponding to the second heat exchanger 500, and the exhaust duct 220 is connected to the second opening 112 or the plurality of second air inlets 51; a third opening may be provided on the housing 200, and the air inlet 51 of the heat dissipation duct 50 of the electrical control box 100 may extend out or be exposed from the third opening, and the exhaust duct 220 is connected to the third opening.

[0122] According to the air conditioner 1000 of the embodiment of the present invention, by providing the above-mentioned electric control box 100, the working reliability of the air conditioner 1000 can be improved. By arranging the electric control box 100 on the air inlet path of the exhaust fan 700, the air supply fan 600 can achieve heat dissipation of the electric control box 100 while providing a flowing airflow to the second heat exchanger 500, without the need to arrange an additional exhaust fan, simplifying the structure of the air conditioner 1000, reducing the volume and manufacturing cost of the air conditioner 1000, and facilitating the installation of the air conditioner 1000. In addition, it is also avoided that the exhaust fan occupies the internal space of the housing 200, which is beneficial to the flow of air in the exhaust air duct 220 and the air inlet air duct, and avoiding reducing the air supply volume of the air conditioner 1000.

[0123] According to one embodiment of the present invention, Figure 5As shown, the electric control box 100 is disposed in the exhaust air duct 220 , and along the air intake path of the exhaust fan 700 , the electric control box 100 is located upstream of the second heat exchanger 500 , or the electric control box 100 and the second heat exchanger 500 are arranged in parallel.

[0124] Specifically, in the exhaust air duct 220, the airflow passes through the electric control box 100 first, and the heat dissipation airflow first exchanges heat with the electric control box 100 through the heat dissipation air duct 50, and then passes through the second heat exchanger 500, thereby improving the heat exchange efficiency between the ventilation airflow and the electric control box 100. When the air conditioner 1000 cools the indoor side, the airflow provided by the exhaust fan 700 passes through the second heat exchanger 500 to take away the heat of the second heat exchanger 500, and the hot air flows to the outdoor side along the exhaust air duct 220. Therefore, the electric control box 100 is arranged upstream of the second heat exchanger 500, so that the heat exchange airflow with a lower temperature can pass through the electric control box 100 first, thereby improving the heat dissipation efficiency of the electric control box 100.

[0125] In other embodiments, the electric control box 100 is arranged in the exhaust air duct 220, and the electric control box 100 and the second heat exchanger 500 are arranged in parallel along the air intake path of the exhaust fan 700. When the air supply fan 600 provides a flowing airflow to the second heat exchanger 500, the air supply fan 600 provides a flowing airflow to flow through the electric control box 100 to dissipate heat from the electric control box 100. When the air conditioner 1000 heats the indoor side, the airflow provided by the exhaust fan 700 releases heat through the second heat exchanger 500, and the cold air flows to the outdoor side along the exhaust air duct 220. The electric control box 100 and the second heat exchanger 500 are arranged in parallel to form a series flow, and the cold air passing through the second heat exchanger 500 exchanges heat with the electric control box 100, thereby improving the heat dissipation efficiency of the electric control box 100.

[0126] According to one embodiment of the present invention, the exhaust fan 700 and the air supply fan 600 are both arranged in the housing 200. The air conditioner 1000 is an integrated air conditioner 1000, which is easy to install and arrange. The air supply fan 600 is arranged in the air supply duct 210, and the exhaust fan 700 is arranged in the exhaust duct 220. The air supply duct 210 and the exhaust duct 220 are isolated from each other by a partition 230. The compressor 300 connected to the first heat exchanger 400 and the second heat exchanger 500 can be arranged in the air supply duct 210 or in the exhaust duct 220.

[0127] According to the air conditioner 1000 of the embodiment of the present invention, the electric control box 100 is arranged in the exhaust air duct 220, and along the air intake path of the exhaust fan 700, the electric control box 100 is located upstream of the second heat exchanger 500. When the exhaust fan 700 is in operation, the exhaust fan 700 forms a negative pressure area in the exhaust air duct 220, and the low-temperature gas in the external environment of the housing (i.e., the gas with a lower temperature than the electric control box 100) can be sucked into the negative pressure area through the inlet of the exhaust air duct 220. The electric control box 100 is arranged in the exhaust air duct 220, and the low-temperature gas can dissipate heat from the electric control box 100 when it enters the exhaust air duct 220. By using the exhaust fan 700 to generate a negative pressure area in the exhaust duct 220, a flow of air is provided to the second heat exchanger 500 while dissipating heat from the electrical control box 100. No additional heat exhaust fan is required, which further simplifies the structure of the air conditioner 1000, reduces the volume and manufacturing cost of the air conditioner 1000, and facilitates the embedded installation of the air conditioner 1000.

[0128] In some specific embodiments of the present invention, the air conditioner 1000 is an integrated air conditioner 1000 embedded in the ceiling of the kitchen.

[0129] According to one embodiment of the present invention, the refrigerant in the compressor includes carbon dioxide. Carbon dioxide has low flow loss, good heat transfer effect, and is safe and non-toxic. However, carbon dioxide has a low critical temperature and low refrigeration efficiency, so the operating pressure of the air conditioner 1000 is high, and the electric control box 100 has higher requirements for heat dissipation.

[0130] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0131] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0132] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily 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.

[0133] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0134] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0135] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for controlling optoelectronic devices in an electric control box, characterized in that: The method comprises: Determining the temperature condition in the electric control box; The operating parameters of the photoelectric device are adjusted according to the temperature condition in the electric control box so that the photoelectric device can work reliably.

2. The method according to claim 1, characterized in that Applied in an air conditioner, the air conditioner includes a compressor, wherein determining the temperature condition in the electric control box includes: Obtaining operating parameters of the compressor; The temperature condition in the electric control box is determined according to the operating parameters of the compressor.

3. The method according to claim 2, characterized in that The photoelectric device includes at least one of a light emitting diode and a photoelectric coupler, wherein determining the temperature in the electric control box according to the operating parameters of the compressor includes: When the exhaust temperature of the compressor is lower than a first preset temperature or the exhaust pressure of the compressor is lower than a first preset pressure, determining that the temperature in the electric control box is normal; When the exhaust temperature of the compressor is greater than or equal to a first preset temperature and the exhaust pressure of the compressor is greater than or equal to a first preset pressure, it is determined that a high temperature condition exists in the electric control box.

4. The method according to claim 3, characterized in that The photoelectric coupler is suitable for isolating the communication between the main control panel and the display panel of the air conditioner, wherein the working parameters of the photoelectric device are adjusted according to the temperature in the electric control box, including: When the exhaust temperature of the compressor is greater than or equal to a second preset temperature and the exhaust pressure of the compressor is greater than or equal to a second preset pressure, the communication baud rate of the photoelectric coupler is adjusted down according to the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor, wherein the second preset temperature is greater than the first preset temperature and the second preset pressure is greater than the first preset pressure.

5. The method according to claim 4, characterized in that In the case where the communication baud rate of the photoelectric coupler is reduced and adjusted, the method further includes: If the main control board and the display board cannot complete communication at the reduced communication baud rate within the first preset time, the communication baud rate is reduced to a preset minimum baud rate.

6. The method according to claim 4, characterized in that In the case where the communication baud rate of the photoelectric coupler is reduced and adjusted, the method further includes: If the main control board notifies the display board to reduce the communication baud rate, then when the main control board receives confirmation information from the display board, the main control board and the display board are connected in communication based on the reduced communication baud rate; In the case where the communication connection between the main control board and the display board fails, the communication baud rate is reduced to a preset minimum baud rate.

7. The method according to any one of claims 3 to 6, characterized in that: The light emitting diode is suitable for fault indication, wherein the operating parameters of the optoelectronic device are adjusted according to the temperature condition in the electric control box, including: When the exhaust temperature of the compressor is greater than or equal to a first preset temperature and the exhaust pressure of the compressor is greater than or equal to a first preset pressure, the operating duty cycle of the light-emitting diode is reduced and adjusted according to the temperature range of the current exhaust temperature of the compressor and the pressure range of the current exhaust pressure of the compressor.

8. A computer-readable storage medium, characterized in that: A control program for the optoelectronic device in the electric control box is stored thereon, and when the control program is executed by the processor, a control method for the optoelectronic device in the electric control box according to any one of claims 1-7 is implemented.

9. An electric control box, characterized in that: include: A memory, a processor, and a control program for an optoelectronic device in an electric control box stored in the memory and executable on the processor. When the processor executes the control program, a control method for an optoelectronic device in an electric control box according to any one of claims 1 to 7 is implemented.

10. An electric control box, characterized in that: include: A box body, wherein the box body adopts a closed design; A circuit board, which is accommodated in the box body and is provided with a photoelectric device; A heating device, the heating device comprising an inductive device disposed on the circuit board, the inductive device being accommodated in the box body; The control unit is configured to determine the temperature condition in the box body and adjust the working parameters of the optoelectronic device according to the temperature condition in the box body, so that the optoelectronic device can work reliably.

11. An air conditioner, characterized in that: include: Casing, compressor, first heat exchanger, second heat exchanger, air supply fan, exhaust fan ; The electric control box according to claim 9 or 10; In which, the shell has an air supply duct and an exhaust duct isolated from each other, the first heat exchanger is arranged in the air supply duct, the second heat exchanger is arranged in the exhaust duct, the first heat exchanger and the second heat exchanger are both connected to the compressor and serve as a condenser and an evaporator respectively, the inlet of the air supply fan is connected to the air supply duct and the outlet of the air supply fan is connected to the indoor side, the inlet of the exhaust fan is connected to the exhaust duct and the outlet of the exhaust fan is connected to the outdoor side, and the electric control box is arranged on the air inlet path of the exhaust fan.

12. The air conditioner according to claim 11, characterized in that: The electric control box is arranged in the exhaust air duct and along the air inlet path of the exhaust fan. The electric control box is located upstream of the second heat exchanger, or the electric control box and the second heat exchanger are arranged in parallel.

13. The air conditioner according to claim 11, characterized in that: The exhaust fan and the air supply fan are both arranged in the shell.

14. The air conditioner according to claim 11, characterized in that: The refrigerant in the compressor includes carbon dioxide.