CN114826314B - Communication circuit, control method and device thereof and electronic equipment - Google Patents

Communication circuit, control method and device thereof and electronic equipment Download PDF

Info

Publication number
CN114826314B
CN114826314B CN202210239222.3A CN202210239222A CN114826314B CN 114826314 B CN114826314 B CN 114826314B CN 202210239222 A CN202210239222 A CN 202210239222A CN 114826314 B CN114826314 B CN 114826314B
Authority
CN
China
Prior art keywords
circuit
temperature
resistor
resistance
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210239222.3A
Other languages
Chinese (zh)
Other versions
CN114826314A (en
Inventor
梁尚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202210239222.3A priority Critical patent/CN114826314B/en
Publication of CN114826314A publication Critical patent/CN114826314A/en
Application granted granted Critical
Publication of CN114826314B publication Critical patent/CN114826314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/10Temperature
    • F24F2110/12Temperature of the outside air
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)
  • Optical Communication System (AREA)

Abstract

The application relates to a communication circuit, a control method and a control device thereof and electronic equipment, wherein the communication circuit comprises: the first circuit is positioned in the air conditioner external unit and connected to a live wire port and a zero wire port of the power supply; the second circuit is positioned in the air conditioner and connected to a live wire port and a zero wire port of the power supply; the temperature measuring circuit is used for measuring the ambient temperature of the air conditioner external unit; the variable resistor circuit is positioned on a communication line between the first circuit and the second circuit and is used for adjusting the loop current by adjusting the working resistance value of the variable resistor circuit according to the ambient temperature so as to adjust the loop current, wherein the loop current is the working current of an optocoupler device, the optocoupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication, and the variable resistor circuit is electrically connected with the temperature measuring circuit. The method and the device solve the technical problem that communication faults of the communication circuit are caused by reduction of the current transmission ratio of the optocoupler due to temperature rise.

Description

Communication circuit, control method and device thereof and electronic equipment
Technical Field
The present disclosure relates to the field of air conditioning technologies, and in particular, to a communication circuit, a control method and apparatus thereof, and an electronic device.
Background
Most of the current air conditioners consist of an indoor unit and an outdoor unit. The indoor unit and the outdoor unit need to communicate with each other to realize complicated functions. For example, variable frequency air conditioners require changing the operating frequency of a compressor of an outdoor unit according to different operating conditions, which requires frequent communication between an indoor unit and the outdoor unit. In the communication current loop, an optocoupler is generally used to achieve the purpose of isolation protection, and CTR (current transmission ratio, current transfer ration) of the optocoupler is an important parameter of the optocoupler, that is, the minimum value of the ratio of the output current (IC) at the secondary side of the optocoupler to the input current (IF) at the primary side of the optocoupler. In general, the CTR value of the optical coupler is gradually attenuated along with the increase of the service time and the temperature, and the decrease of the CTR value can lead to the failure of the function of the optical coupler in the circuit, thereby leading to the communication failure of the indoor unit and the outdoor unit of the air conditioner.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The application provides a communication circuit, a control method, a control device and electronic equipment thereof, which at least solve the technical problem of communication faults of the communication circuit caused by the reduction of the current transmission ratio of an optocoupler due to the temperature rise in the related technology.
According to an aspect of the embodiments of the present application, there is further provided a communication circuit, including: the first circuit is positioned in the air conditioner external unit and connected to a live wire port and a zero wire port of the power supply; the second circuit is positioned in the air conditioner and connected to a live wire port and a zero wire port of the power supply; the temperature measuring circuit is used for measuring the ambient temperature of the air conditioner external unit; the variable resistor circuit is positioned on a communication line between the first circuit and the second circuit and is used for adjusting loop current by adjusting the working resistance value of the variable resistor circuit according to the ambient temperature so as to change the resistance value of the communication circuit, wherein the loop current is the working current of an optical coupler device, the optical coupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication, and the variable resistor circuit is electrically connected with the temperature measuring circuit.
According to another aspect of the embodiments of the present application, there is provided a communication circuit control method, including: acquiring an ambient temperature, wherein the ambient temperature is the temperature of the environment where the air conditioner external unit is located; according to the ambient temperature, the loop current passing through the communication line is regulated by regulating the working resistance value of the resistance variable circuit on the communication line, wherein the loop current is the working current of an optical coupler device, and the optical coupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication.
According to another aspect of the embodiments of the present application, there is also provided a communication circuit control device, including: the acquisition module is used for acquiring the ambient temperature, wherein the ambient temperature is the temperature of the environment where the air conditioner external unit is positioned; the adjusting module is used for adjusting the loop current passing through the communication line by adjusting the working resistance value of the resistance variable circuit on the communication line according to the ambient temperature, wherein the loop current is the working current of an optical coupler device, and the optical coupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program that when executed performs the above-described method.
According to another aspect of the embodiments of the present application, there is also provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor executing the method described above by the computer program.
According to one aspect of the present application, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the steps of any of the embodiments of the method described above.
In the embodiment of the application, acquiring the ambient temperature, wherein the ambient temperature is the temperature of the environment where the air conditioner external unit is located; according to the environment temperature, the loop current passing through the communication line is regulated by regulating the working resistance value of the resistance variable circuit on the communication line, wherein the loop current is the working current of an optical coupler device, the optical coupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication, and the current in the communication loop where the optical coupler device is positioned is regulated by changing the resistance value in the communication circuit according to the environment temperature, so that the purpose of regulating the current along with the change of the temperature to maintain normal communication is achieved, the technical problem of communication failure of the communication circuit caused by the reduction of the current transmission ratio of the optical coupler due to the temperature rise is solved, and the technical effect of improving the communication stability is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a schematic diagram of a hardware environment of a communication circuit control method according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative communication circuit control method according to an embodiment of the present application;
FIG. 3 is an alternative optocoupler temperature versus CTR graph according to an embodiment of the present application;
FIG. 4 is an alternative optocoupler input current versus CTR graph according to an embodiment of the present application;
FIG. 5 is a graph of CTR versus time for an alternative optocoupler according to an embodiment of the application;
FIG. 6 is a schematic diagram of an alternative communication between an indoor unit and an outdoor unit of an air conditioner in a three-wire system and a zero-live wire system according to an embodiment of the present application;
FIG. 7 (a) is a schematic diagram of an alternative communication circuit according to an embodiment of the present application;
FIG. 7 (b) is an alternative communication circuit module connection schematic diagram according to an embodiment of the present application;
FIG. 7 (c) is a schematic diagram of yet another alternative communication circuit module connection according to an embodiment of the present application;
FIG. 7 (d) is a schematic diagram of still another alternative communication circuit module connection according to an embodiment of the present application;
FIG. 8 is a schematic diagram of an alternative communication circuit control device according to an embodiment of the present application; the method comprises the steps of,
fig. 9 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
First, partial terms or terminology appearing in describing embodiments of the present application are applicable to the following explanation:
the optocoupler device, namely an Optocoupler (OP), is called an optocoupler for short, and adopts a phototriode and a light-emitting diode, and the output current of the optocoupler triode is controlled by controlling the intensity of the light emitted by the diode through an input end so as to realize electrical isolation.
CTR of the optocoupler (CTR, current transfer ration, current transfer ratio) is an important parameter of the optocoupler, i.e., the minimum value of the ratio of the output current (IC) at the secondary side of the optocoupler to the input current (IF) at the primary side of the optocoupler. CTR ranges from 20% to 300% (e.g., 4N 35), while PC817 series ranges from 50% to 600%. Typically, the CTR value of an optocoupler is gradually attenuated as the duration of use and temperature increase, and a decrease in the CTR value may result in a failure of the function of the optocoupler in the circuit.
According to an aspect of the embodiments of the present application, an embodiment of a method for controlling a communication circuit is provided.
Alternatively, in the present embodiment, the above-described communication circuit control method may be applied to a hardware environment constituted by the terminal 101 and the server 103 as shown in fig. 1. As shown in fig. 1, the server 103 is connected to the terminal 101 through a network, which may be used to provide communication circuit control services for the terminal or a client installed on the terminal, and a database 105 may be provided on the server or independent of the server, for providing data storage services for the server 103, where the network includes, but is not limited to: the terminal 101 is not limited to a PC, an air conditioner, or the like. The communication circuit control method in the embodiment of the present application may be executed by the server 103, may be executed by the terminal 101, or may be executed by both the server 103 and the terminal 101. The terminal 101 may execute the communication circuit control method according to the embodiment of the present application by a client installed thereon. A method for controlling a communication circuit according to an embodiment of the present application will be described below by taking a terminal as an example.
Fig. 2 is a flowchart of an alternative communication circuit control method according to an embodiment of the present application, as shown in fig. 2, the method may include the following steps:
step S202, obtaining an ambient temperature, wherein the ambient temperature is the temperature of the environment where the air conditioner external unit is located;
step S204, according to the ambient temperature, the loop current passing through the communication line is regulated by regulating the working resistance value of the resistance variable circuit on the communication line, wherein the loop current is the working current of an optical coupler device, and the optical coupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication.
Through the steps S202 to S204, the current in the communication loop where the optocoupler device is located is adjusted by changing the resistance value in the communication circuit according to the ambient temperature, so as to achieve the purpose of adjusting the current along with the change of the temperature to maintain normal communication, solve the technical problem of communication failure of the communication circuit caused by the decrease of the current transmission ratio of the optocoupler due to the increase of the temperature, and further achieve the technical effect of improving the communication stability.
In the technical scheme provided in step S202, the terminal obtains an ambient temperature, where the ambient temperature is a temperature of an environment where the air conditioner external unit is located.
Alternatively, in the present embodiment, the ambient temperature may be obtained by means including, but not limited to, the following 3 ways: (1) Measuring the air temperature of the space where the air conditioner external unit is positioned by using a thermometer; (2) Measuring the surface temperature of an air conditioner external unit by using an infrared thermometer; (3) And measuring the temperature of an optical coupler device in the air conditioner external unit by using a temperature sensor.
In the technical scheme provided in step S204, the terminal adjusts the loop current passing through the communication line by adjusting the working resistance value of the resistance variable circuit on the communication line according to the ambient temperature, wherein the loop current is the working current of the optocoupler device, and the optocoupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit communicate.
The optocoupler device has different CTR (current transfer ratio) at different ambient temperatures, as shown in FIG. 3, with no temperatureIncreasing, CTR of optocoupler is continuously reduced, I C To output current for secondary side, I F To input current to primary side, I C =I F XCTR, the continuous decrease of CTR of optocoupler results in I C And continuously decreases, so that communication cannot be completed.
As shown in fig. 4, the input current I of the optocoupler F The relationship with CTR is shown as follows with the input current I F Is gradually approaching the maximum value, but then the CTR value gradually decreases. Although the greater the input current of the optocoupler, the greater the CTR, in practical engineering applications, on the high-voltage side (the power supply voltage in the communication current loop is generally greater than 50V, the current limiting resistance is generally greater, and the power consumption is higher): the larger the input current is, the larger the power consumption is, the larger the heating amount of the current limiting resistor is, and the higher the temperature of the resistor is, the larger the influence on the resistance value of the resistor is. And the higher the temperature is, the stronger the dependence of the user on the air conditioner is, the aging speed of the resistor is accelerated when the resistor works in a long-time high-temperature environment, the resistance value is changed, and the service life of the resistor is further reduced. And the low voltage side (the operating supply voltage of the low voltage side is typically +5v or +3.3v): although the operating current in the circuit is relatively large, the power of the resistor is small and the heating value is small due to the small voltage on each resistor. The power supply voltage in the communication current loop is generally more than 50V, and the partial pressure of the optocoupler and the diode in the communication loop is not higher than 5V when the optocoupler and the diode work. When the operating current is 4mA, the power consumption of the resistor in the circuit is up to 180mW. The higher the power consumption, the larger the resistance heating value. While the operating supply voltage on the low side is typically +5v or +3.3v, the power consumption in the circuit is at most 20mA when the operating current is 4 mA. Thus, the operating current I in the communication current loop F It should not be too large.
As shown in FIG. 3, the input current I of the solid curve in FIG. 3 F Input current I less than the dotted curve F Although the current I is input F The large optocoupler CTR changes little with temperature, but the working current in the communication current loop is not too large, namely the optocoupler inputs current I F The value of (2) should not be too large.
Therefore, it is necessary to adjust the loop current of the communication circuit according to the temperature, instead of maintaining the loop current at a larger value, so as to reduce the power consumption of the communication circuit when the temperature is lower. In the communication circuit of the air conditioner external unit and the air conditioner internal unit, the temperature change of the environment where the air conditioner external unit is located is large, and the optical coupler in the external unit circuit is greatly influenced by the temperature, so that the temperature of the environment where the air conditioner external unit is located is used as a temperature data source in the scheme.
Alternatively, in the present embodiment, the resistance value of the communication circuit may be changed in various manners, for example, one or more variable resistors may be provided in the communication circuit.
As an alternative embodiment, the terminal adjusts the operating resistance of the variable resistance circuit according to the ambient temperature to adjust the loop current, wherein the variable resistance circuit is a circuit with adjustable resistance.
Optionally, the terminal determines a resistance range according to the ambient temperature, wherein the resistance range is used for adjusting the loop current to be within a range allowed by the optocoupler device when the optocoupler device works normally at the ambient temperature; and adjusting the working resistance value of the resistance variable circuit to be within a resistance value range.
For example, at 50 degrees celsius, the CTR of the optocoupler is small, requiring the loop current to be increased to not less than I 0 And when the temperature of the optical coupler is 50 ℃, the normal operation of the optical coupler can be ensured, and the resistance range of the working resistance of the resistance variable circuit can be determined according to the range of loop current allowed by the normal operation of the optical coupler at the temperature of 50 ℃.
The resistance variable circuit may effect a change in the operating resistance value in a variety of ways, such as: (1) A slide rheostat is arranged in the circuit to change the working resistance value of the slide rheostat; (2) A plurality of series resistors are arranged in the circuit, and the working resistance value is changed through the short circuit part resistor; (3) A plurality of parallel resistors are arranged in the circuit, and the working resistance value is changed by changing the on-off state of a branch circuit where part of the resistors are located.
As an alternative embodiment, the resistance variable circuit comprises a plurality of resistors connected in series, the terminals controlling each resistor in the resistance variable circuit as follows: obtaining a comparison result between the ambient temperature and a temperature value associated with a target resistor, wherein the target resistor is any resistor in a variable resistor circuit, and each resistor in the variable resistor circuit is associated with a preset temperature value; and controlling the working state of the target resistor in the resistance variable circuit according to the comparison result to adjust the working resistance value of the resistance variable circuit, wherein the working state comprises a passage state and a short circuit state.
Optionally, the resistance values of the resistors connected in series in the resistance variable circuit can be determined according to actual needs, and the resistors can be a plurality of resistors with the same resistance value or resistors with different resistance values, and the temperature value associated with each resistor is calibrated according to the actual conditions of the circuit.
Optionally, in the process of temperature rise, the terminal short-circuits a first target resistor in the communication circuit under the condition that the ambient temperature exceeds a first preset temperature; and under the condition that the ambient temperature continues to rise to exceed a second preset temperature, shorting a second target resistor in the communication circuit, wherein the second preset temperature is higher than the first preset temperature, and the first target resistor is also in a short circuit state when the second target resistor is in the short circuit state. For example, each 10 ℃ increase in ambient temperature shorts one more resistor in the resistance variable circuit.
Optionally, during the temperature decrease: the terminal restores a second target resistor in the communication circuit to a channel state under the condition that the ambient temperature is reduced to a second preset temperature; and under the condition that the ambient temperature continues to drop to the first preset temperature, the first target resistor in the communication circuit is restored to the on-state, wherein the second target resistor is also in the on-state when the first target resistor is in the on-state. For example, each time the ambient temperature is reduced by 10 ℃, the shorted resistance in the resistance variable circuit is restored.
Optionally, the working state of each resistor may be switched by various technical means, for example, each resistor is connected in parallel to an electrically controlled switch, and the terminal outputs an electrical signal to each electrically controlled switch according to the ambient temperature, so that the resistor is switched to a path state or a short circuit state.
As an alternative embodiment, each resistor is provided with a parallel relay, and the terminal closes the target relay to adjust the working state of the target resistor to be a short circuit state under the condition that the ambient temperature is larger than the temperature value associated with the target resistor, wherein the target relay is the relay to which the target resistor is connected in parallel; and under the condition that the ambient temperature is not greater than the temperature value related to the target resistor, opening the target relay to adjust the working state of the target resistor to be a passage state.
The above-mentioned relay is turned on and off, which means that the controlled output circuit of the relay is turned on or off when the input quantity (such as voltage, current, temperature, etc.) of the relay reaches a prescribed value.
Optionally, as shown in fig. 5, the CTR of the optocoupler may be gradually attenuated as the duration of use increases, and the terminal adjusts the temperature value associated with the target resistance as follows: acquiring the service life of an air conditioner external unit; when the service life reaches a first threshold value, taking the first temperature value as a temperature value related to the target resistor; and when the service life reaches a second threshold value, taking the second temperature value as a temperature value related to the target resistor, wherein the second threshold value is larger than the first threshold value, and the second temperature value is smaller than the first temperature value. For example, when used for 1 year, the target resistance-associated temperature value is 50 ℃, when used for 10 years, the target resistance-associated temperature value is 40 ℃, and when used for 20 years, the target resistance-associated temperature value is reduced to 30 ℃.
Alternatively, the temperature value associated with the target resistance is reduced by 10 ℃ every 10 years of increase in the service life of the air conditioner.
As an alternative example, the technical solutions of the present application are schematically described below in connection with specific embodiments:
most of the current air conditioners consist of an indoor unit and an outdoor unit. The indoor unit and the outdoor unit need to communicate with each other to realize complicated functions. For example, variable frequency air conditioners require changing the operating frequency of a compressor of an outdoor unit according to different operating conditions, which requires frequent communication between an indoor unit and the outdoor unit. The distance between the inner machine and the outer machine is far and a plurality of interferences exist. In order to ensure the reliability of communication between the internal machine and the external machine, a communication mode between the internal machine and the external machine usually adopts a three-wire system. The connecting wire between the indoor unit and the outdoor unit comprises a zero line, a fire wire and a communication wire, so that half-duplex asynchronous serial port communication is formed, and the communication is safe and reliable and has low cost. In the communication current loop, an optocoupler is generally used to achieve the purpose of isolation protection, and CTR (current transmission ratio, current transfer ration) of the optocoupler is an important parameter of the optocoupler, that is, the minimum value of the ratio of the output current (IC) at the secondary side of the optocoupler to the input current (IF) at the primary side of the optocoupler. Typically, the CTR value of an optocoupler will gradually decay with increasing duration of use and temperature. The decrease of the CTR value may cause the function of the optocoupler in the circuit to fail, thereby causing communication failure between the indoor unit and the outdoor unit of the air conditioner. In the related art, a method for processing communication faults of an indoor unit and an outdoor unit of an air conditioner, a control system and the air conditioner are provided, the current operation mode of the air conditioner is switched by adjusting the on-off state of a four-way valve of the air conditioner, and the purpose of adjusting the temperature of an inner cavity of the outdoor unit is achieved, so that the problem that the communication faults of the indoor unit and the outdoor unit are caused by the fact that an optocoupler works at extremely low or extremely high temperature, and the optocoupler CTR can aggravate attenuation is solved, but the method is slow to achieve, and the working state of the air conditioner needs to be changed.
The communication circuit of the indoor unit and the outdoor unit of the air conditioner currently has the following problems:
1. and the CTR of the optical coupler in the communication loop of the air conditioner outdoor unit decays along with the rise of the temperature and the use duration to cause communication faults. Typically, the CTR value of an optocoupler will gradually decay with increasing duration of use and temperature. The reduction of the CTR value can cause that a triode in the optocoupler cannot normally work in a saturation region, so that the output current of the optocoupler is reduced, the data packet loss rate in the communication process is increased, and even communication cannot be performed.
2. Communication faults are caused under the high-temperature environment, so that the air conditioner cannot work normally, and the user experience is poor. The higher the temperature, the smaller the CTR value, and the more communication failure occurs, and the air conditioner stops working. However, the higher the temperature at this time, the stronger the user's demand for the air conditioner. Stability of the air conditioner in a high temperature environment is very important.
3. The decrease of CTR value caused by the increase of the using time period results in the weakening or permanent loss of the communication function of the air conditioner, and the user experience is poor. The longer the service life of the product, the fewer faults, the better the user experience, and the higher the acceptance of the user to the product.
Generally, the higher the temperature, the higher the user's dependence on the air conditioner and the requirement on the performance of the air conditioner, so stable operation of the air conditioner under high temperature conditions is very necessary. Therefore, the embodiment provides an automatic control circuit for coping with attenuation of the zero-live wire communication optocoupler CTR. The embodiment mainly aims at the problem of communication failure caused by attenuation of the optical coupler CTR in a communication loop of the air conditioner external unit in a high-temperature environment. In general, in order to realize refrigeration of the indoor unit, the outdoor unit of the air conditioner needs to dissipate heat, and the temperature rise of the cavity where the control main board of the outdoor unit is located is aggravated in the outdoor high-temperature environment, which is a precondition working environment of the embodiment.
Fig. 6 is a schematic diagram of an alternative communication scheme between an indoor unit and an outdoor unit of an air conditioner in a three-wire system, according to an embodiment of the present application. The diode D in the communication loop is to ensure unidirectional conduction of the current loop. The voltage of the zero line communication power supply is usually more than 50V, the MCU (micro control unit) and the corresponding driving voltage are usually 5V or 3.3V, and OP-1, OP-2, OP-3 and OP-4 are optocouplers, so that high-voltage and low-voltage electrical isolation is realized. The resistor R in the current loop acts as a current limiter. The resistors R-1 to R-N (including the resistor R-1, the resistor R-2 and the resistor R-3.) and the resistor R-N are current limiting resistors. The MCU can short-circuit the current-limiting resistor R-x (namely any target resistor) by controlling the relay driving circuit, thereby achieving the purpose of off-line resistor and reducing the total resistance of a communication current loop. As shown in fig. 6, only the relay and the driving circuit diagram corresponding to the current limiting resistor R-1 are shown, the other current limiting resistors R-2 and R-3 are not drawn, the corresponding relay and the driving circuit diagram are not drawn, but the structure and the control method are the same, and each relay driving circuit is connected with the external machine MCU by using different circuits, so that the respective control is realized.
When the external machine communicates with the internal machine, the external machine is an upper computer (an active sender of information) and the internal machine is a lower computer (an active receiver of information). In order to ensure the smoothness of a communication loop, an MCU in the upper computer controls the optical coupler OP-4 to be continuously conducted, at the moment, the upper computer controls the optical coupler OP-1 to be orderly turned on and off, and meanwhile, the lower computer optical coupler OP-3 receives information sent by the upper computer. In this way, communication is established. It should be noted that, when the upper computer transmits information through the optical coupler OP-1, the optical coupler in the upper computer receives the information transmitted by the optical coupler OP-1 by the same OP-2. The spontaneous and self-receiving working mode can realize the self-checking of information transmission and can detect whether the communication loop is normal.
The higher the temperature, the longer the service time, the smaller the current transmission ratio, the greater the probability that the MCU cannot receive the signal, and the more likely the communication fault occurs. Failure phenomenon type one: the external machine is an upper computer, and the working environment temperature is high; the internal machine is a lower computer, and the working environment temperature is low. The optical coupler OP-1 sends data, and because the temperature of the external machine is high, the signal receiving fault of the optical coupler OP-2 is caused, and the upper computer cannot complete self-receiving self-checking. The internal machine can receive data due to low temperature. The external machine can not complete self-receiving verification, and the communication of the external machine is failed. Fault phenomenon type two: the external machine is a lower computer, and the working environment temperature is high; the internal machine is an upper computer, and the working environment temperature is low. And the optical coupler OP-4 sends data, and the optical coupler OP-3 receives the data to complete the self-checking of the upper computer. The external machine has high temperature, so that the optical coupler OP-2 is in fault in signal receiving, and the lower computer cannot receive the data sent by the internal machine. Communication failure between the internal and external machines.
The main problems of communication faults caused by CTR attenuation of an optical coupler are that current in a communication loop is not large, and current transmission ratio is too small under a high-temperature working condition. But the current in the communication loop should not be too great under relatively normal temperature conditions. Therefore, when the temperature is too high, the stability of communication can be improved by selectively increasing the current in the communication loop. If an increase in the current of the communication loop is desired, this can be achieved by reducing the resistance in the communication loop.
When the air conditioner external unit detects that the temperature in the cavity where the control main board is located is higher than a preset value, the control relay K-1 starts to be closed, and the resistor R-1 is short-circuited, so that the current in the communication loop is increased. When the temperature is higher than the set temperature gear 2, the closing relay K-2 is controlled on the basis of the closing relay 1, and the short circuit resistor R-2 further increases the current in the communication loop. Ensuring the stable operation of communication. When the cavity temperature is lower than the corresponding design temperature, the corresponding relay is opened.
When the service time is too long, the starting temperature is reduced. For example: the start-up temperature was 50 ℃. Closing K-1 when the temperature of the cavity is 50 ℃; closing K-2 on the basis of closing K-1 at 60 ℃; k-3 is closed on the basis of K-1 and K-2 at 70 ℃. I.e. one more switch is activated per 10 c rise when the activation temperature is reached. When used for 1 year, the start-up temperature was 50 ℃. When used for 10 years, the start-up temperature was reduced to 40 ℃. When used for 20 years, the start-up temperature was reduced to 30 ℃. The start-up temperature was reduced by 10 ℃ for every 10 years.
In order to solve the problem of communication failure caused by the CTR of the optocoupler, the method for controlling the relay to reduce the resistance value in the communication loop under the high-temperature environment prevents communication failure caused by the attenuation of the optocoupler CTR, improves the communication stability, ensures higher communication stability under the high-temperature environment, and has better user experience and longer service life of products.
According to the scheme, the resistance value in the communication circuit is changed according to the ambient temperature, so that the current in a communication loop where the optocoupler device is located is adjusted, the purpose of adjusting the current along with the change of the temperature to maintain normal communication is achieved, the technical problem that the communication fault of the communication circuit is caused by the reduction of the current transmission ratio of the optocoupler due to the increase of the temperature is solved, and the technical effect of improving the communication stability is achieved. In addition, according to the parameter (temperature value related to resistance) used in the current regulation of the air conditioner is regulated according to the service life of the air conditioner, the problems that the CTR value is attenuated along with the increase of the service life, so that the communication function of the air conditioner is weakened or permanently lost and the user experience is poor are solved.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
According to another aspect of the embodiments of the present application, there is also provided a communication circuit for implementing the above communication circuit control method. Fig. 7 (a) is a schematic diagram of an alternative communication circuit according to an embodiment of the present application, as shown in fig. 7 (a), the communication circuit may include: the first circuit is positioned in the air conditioner external unit and connected to a live wire port (L) and a zero wire port (N) of the power supply; the second circuit is positioned in the air conditioner and connected to a live wire port (L) and a zero wire port (N) of the power supply; the temperature measuring circuit is used for measuring the ambient temperature of the air conditioner external unit; the variable resistor circuit is positioned on a communication line (COM) between the first circuit and the second circuit and is used for adjusting loop current by adjusting the working resistance value of the variable resistor circuit according to the ambient temperature so as to adjust the loop current, wherein the loop current is the working current of an optical coupler device, the optical coupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication, and the variable resistor circuit is electrically connected with the temperature measuring circuit. Fig. 7 (b) is a schematic diagram of an alternative communication circuit module connection according to an embodiment of the present application.
Optionally, the resistance variable circuit includes: a plurality of resistors (R-1, R-2..r-N, N in total, only R-1 and R-N are depicted in fig. 7 (a)), one end of each of the plurality of resistors in series is electrically connected to the first circuit, the other end of each of the plurality of resistors in series is electrically connected to the second circuit, and an operating resistance value of the resistance variable circuit changes with a change in an operating state of the resistor in the resistance variable circuit when the loop current is adjusted, wherein the operating state includes a path state and a short-circuit state.
Optionally, the resistance variable circuit further includes: a plurality of relays (K-1, K-2.. N in total, only K-1 and K-N are depicted in FIG. 7 (a), each resistor is connected in parallel with a relay which is used for controlling the working state of the connected resistors by changing the opening and closing states. As shown in fig. 7 (c), a schematic diagram of another alternative communication circuit module connection according to an embodiment of the present application, a temperature measurement circuit is electrically connected to each relay in the resistance variable circuit.
Optionally, the first circuit includes a processor, and the processor is connected with the temperature measurement circuit and the plurality of relays respectively, and the processor is used for sending the target signal to the target relay in the plurality of relays according to the ambient temperature that the temperature measurement circuit measured, and wherein, the target signal is used for changing the open-close state of target relay.
Optionally, the processor is configured to control the operation of the electronic control unit by a plurality of electronically controlled switches (M-1, M-2..m-N, N total, only M-1) is depicted in figure 7 (a) with a plurality of relays (K-1, K-2.. K-N, N) are electrically connected, as shown in fig. 7 (a), the processor sends a target signal to the electric control switch M-1, and when the target signal is a high level signal, the electric control switch M-1 is turned on, the relay K-1 is closed, and the resistor R-1 is shorted. As shown in fig. 7 (d), a schematic diagram of another alternative communication circuit module connection according to an embodiment of the present application, the temperature measurement circuit is electrically connected to a processor in the first circuit, and the processor is electrically connected to each relay in the resistance variable circuit.
Through the communication circuit, the technical problem of communication faults of the communication circuit caused by the reduction of the current transmission ratio of the optocoupler due to the temperature rise can be solved, and the technical effect of improving the communication stability is further achieved.
According to another aspect of the embodiments of the present application, there is also provided a communication circuit control device for implementing the above communication circuit control method. Fig. 8 is a schematic diagram of an alternative communication circuit control device according to an embodiment of the present application, as shown in fig. 8, the device may include:
the obtaining module 82 is configured to obtain an ambient temperature, where the ambient temperature is a temperature of an environment where the air conditioner external unit is located;
The adjusting module 84 is configured to adjust a loop current passing through the communication line by adjusting an operating resistance of the resistance variable circuit on the communication line according to an ambient temperature, where the loop current is an operating current of an optocoupler device, and the optocoupler device is configured to implement isolation protection when performing communication between the air conditioner indoor unit and the air conditioner outdoor unit.
It should be noted that, the acquiring module 82 in this embodiment may be used to perform step S202 in the embodiment of the present application, and the adjusting module 84 in this embodiment may be used to perform step S204 in the embodiment of the present application.
It should be noted that the above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments. It should be noted that the above modules may be implemented in software or hardware as a part of the apparatus in the hardware environment shown in fig. 1.
Through the module, the technical problem of communication faults of the communication circuit caused by the reduction of the current transmission ratio of the optocoupler due to the temperature rise can be solved, and the technical effect of improving the communication stability is further achieved.
As an alternative embodiment, the adjustment module 84 is further configured to: and adjusting the working resistance value of the resistance variable circuit according to the ambient temperature to adjust the loop current, wherein the resistance variable circuit is a circuit with adjustable resistance value.
Optionally, the adjustment module 84 further includes: the determining unit is used for determining a resistance range according to the ambient temperature, wherein the resistance range is used for adjusting the loop current to be within a range allowed by the optocoupler device when the optocoupler device normally works in the ambient temperature; and the adjusting unit is used for adjusting the working resistance value of the resistance variable circuit to be within the range of the resistance value.
Optionally, the resistance variable circuit includes a plurality of resistors connected in series, and the adjustment module 84 further includes: the comparison unit is used for obtaining a comparison result between the ambient temperature and a temperature value related to a target resistor, wherein the target resistor is any resistor in the variable resistor circuit, and each resistor in the variable resistor circuit is related to a preset temperature value; and the control unit is used for controlling the working state of the target resistor in the resistance variable circuit according to the comparison result so as to adjust the working resistance value of the resistance variable circuit, wherein the working state comprises a passage state and a short circuit state.
Optionally, each resistor has a parallel relay, and the control unit is further configured to: closing a target relay under the condition that the ambient temperature is greater than a temperature value associated with the target resistor, so as to adjust the working state of the target resistor to be a short circuit state, wherein the target relay is a relay connected in parallel with the target resistor; and under the condition that the ambient temperature is not greater than the temperature value related to the target resistor, opening the target relay to adjust the working state of the target resistor to be a passage state.
Optionally, the comparing unit is further configured to, before obtaining the comparison result between the ambient temperature and the temperature value associated with the target resistance, adjust the temperature value associated with the target resistance as follows: acquiring the service life of an air conditioner external unit; when the service life reaches a first threshold value, taking the first temperature value as a temperature value related to the target resistor; and when the service life reaches a second threshold value, taking the second temperature value as a temperature value related to the target resistor, wherein the second threshold value is larger than the first threshold value, and the second temperature value is smaller than the first temperature value.
It should be noted that the above modules are the same as examples and application scenarios implemented by the corresponding steps, but are not limited to what is disclosed in the above embodiments. It should be noted that the above modules may be implemented in software or in hardware as part of the apparatus shown in fig. 1, where the hardware environment includes a network environment.
According to another aspect of the embodiments of the present application, there is also provided a server or a terminal for implementing the above communication circuit control method.
Fig. 9 is a block diagram of a terminal according to an embodiment of the present application, and as shown in fig. 9, the terminal may include: one or more (only one is shown in fig. 9) processors 901, memory 903, and transmission means 905, as shown in fig. 9, which may also include input output devices 907.
The memory 903 may be used to store software programs and modules, such as program instructions/modules corresponding to the communication circuit control method and apparatus in the embodiments of the present application, and the processor 901 executes the software programs and modules stored in the memory 903, thereby executing various functional applications and data processing, that is, implementing the communication circuit control method described above. Memory 903 may include high speed random access memory, but may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 903 may further include memory located remotely from the processor 901, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 905 is used for receiving or transmitting data via a network, and may also be used for data transmission between a processor and a memory. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission apparatus 905 includes a network adapter (Network Interface Controller, NIC) that may be connected to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 905 is a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
In particular, the memory 903 is used to store applications.
The processor 901 may call an application stored in the memory 903 via the transmission device 905 to perform the following steps: acquiring an ambient temperature, wherein the ambient temperature is the temperature of the environment where the air conditioner external unit is located; according to the ambient temperature, the loop current passing through the communication line is regulated by regulating the working resistance value of the resistance variable circuit on the communication line, wherein the loop current is the working current of an optical coupler device, and the optical coupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication.
By adopting the embodiment of the application, a scheme for controlling the communication circuit is provided. The current in the communication loop where the optical coupler device is located is adjusted by changing the resistance value in the communication circuit according to the ambient temperature, so that the purpose of adjusting the current along with the change of the temperature to maintain normal communication is achieved, the technical problem of communication faults of the communication circuit caused by the reduction of the current transmission ratio of the optical coupler due to the increase of the temperature is solved, and the technical effect of improving the communication stability is achieved.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the structure shown in fig. 9 is merely illustrative, and the terminal may be a terminal device such as an intelligent air conditioner, an intelligent home control device, or the like. Fig. 9 is not limited to the structure of the electronic device described above. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in fig. 9, or have a different configuration than shown in fig. 9.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be implemented by a program for instructing a terminal device to execute in association with hardware, the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
Embodiments of the present application also provide a storage medium. Alternatively, in the present embodiment, the above-described storage medium may be used for executing the program code of the communication circuit control method.
Alternatively, in this embodiment, the storage medium may be located on at least one network device of the plurality of network devices in the network shown in the above embodiment.
Alternatively, in the present embodiment, the storage medium is configured to store program code for performing the steps of:
s1, acquiring an ambient temperature, wherein the ambient temperature is the temperature of the environment where an air conditioner external unit is located;
s2, according to the ambient temperature, adjusting the loop current passing through the communication line by adjusting the working resistance value of the resistance variable circuit on the communication line, wherein the loop current is the working current of an optical coupler device, and the optical coupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments, and this embodiment is not described herein.
Alternatively, in the present embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (10)

1. A communication circuit, comprising:
the first circuit is positioned in the air conditioner external unit and connected to a live wire port and a zero wire port of the power supply;
the second circuit is positioned in the air conditioner and connected to a live wire port and a zero wire port of the power supply;
the temperature measuring circuit is used for measuring the ambient temperature of the air conditioner external unit;
the variable resistance circuit is positioned on a communication line between the first circuit and the second circuit and is used for changing the resistance value of the communication circuit by adjusting the working resistance value of the variable resistance circuit according to the ambient temperature so as to adjust loop current, wherein the loop current is the working current of an optocoupler device, the optocoupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication, and the variable resistance circuit is electrically connected with the temperature measuring circuit;
The resistance variable circuit comprises a plurality of resistors connected in series, a target resistor is any resistor in the resistance variable circuit, each resistor in the resistance variable circuit is associated with a preset temperature value, and when the service life of the air conditioner outdoor unit reaches a first threshold value, the first temperature value is used as the temperature value associated with the target resistor; taking a second temperature value as a temperature value associated with the target resistor when the service life reaches a second threshold value, wherein the second threshold value is larger than the first threshold value, and the second temperature value is smaller than the first temperature value; and controlling the working state of the target resistor in the resistance variable circuit according to a comparison result between the ambient temperature and the temperature value related to the target resistor so as to adjust the working resistance value of the resistance variable circuit, wherein the working state comprises a passage state and a short circuit state.
2. The circuit of claim 1, wherein the resistance variable circuit comprises:
and one ends of the resistors connected in series are electrically connected with the first circuit, the other ends of the resistors connected in series are electrically connected with the second circuit, and when the loop current is regulated, the working resistance value of the resistance variable circuit is changed along with the change of the working state of the resistors in the resistance variable circuit, wherein the working state comprises a passage state and a short circuit state.
3. The circuit of claim 2, wherein the resistance variable circuit further comprises:
and a plurality of relays, each of which is connected in parallel with one relay, and the relays are used for controlling the working state of the connected resistors by changing the opening and closing states.
4. The circuit of claim 3, wherein the circuit comprises a plurality of transistors,
the first circuit comprises a processor, the processor is respectively and electrically connected with the temperature measuring circuit and the relays, and the processor is used for sending a target signal to a target relay in the relays according to the ambient temperature measured by the temperature measuring circuit, wherein the target signal is used for changing the opening and closing states of the target relay.
5. A method for controlling a communication circuit, comprising:
acquiring an ambient temperature, wherein the ambient temperature is the temperature of the environment where the air conditioner external unit is located;
according to the ambient temperature, regulating loop current passing through a communication line by adjusting the working resistance value of a resistance variable circuit on the communication line, wherein the loop current is working current of an optical coupler device, and the optical coupler device is used for realizing isolation protection when communication is carried out between an air conditioner indoor unit and an air conditioner outdoor unit;
The resistance variable circuit comprises a plurality of resistors connected in series, and according to the ambient temperature, the loop current passing through the communication line is regulated by adjusting the working resistance value of the resistance variable circuit on the communication line, and each resistor in the resistance variable circuit is controlled in the following way:
obtaining a comparison result between the ambient temperature and a temperature value associated with a target resistor, wherein the target resistor is any resistor in the variable resistor circuit, and each resistor in the variable resistor circuit is associated with a preset temperature value;
controlling the working state of the target resistor in the resistance variable circuit according to the comparison result to adjust the working resistance value of the resistance variable circuit, wherein the working state comprises a passage state and a short circuit state;
before obtaining the comparison between the ambient temperature and the temperature value associated with the target resistance, the method further comprises adjusting the temperature value associated with the target resistance as follows:
acquiring the service life of the air conditioner external unit;
taking a first temperature value as a temperature value associated with the target resistor when the service life reaches a first threshold value;
And when the service life reaches a second threshold value, taking a second temperature value as a temperature value related to the target resistor, wherein the second threshold value is larger than the first threshold value, and the second temperature value is smaller than the first temperature value.
6. The method of claim 5, wherein adjusting the loop current through the communication line by adjusting the operating resistance of the variable resistance circuit on the communication line based on the ambient temperature comprises:
determining a resistance range according to the ambient temperature, wherein the resistance range is used for adjusting the loop current to be within a range allowed by the optocoupler device when the optocoupler device works normally in the ambient temperature;
and adjusting the working resistance value of the resistance variable circuit to be within the resistance value range.
7. The method of claim 5, wherein each resistor has a parallel relay for controlling the operating state of the target resistor in the variable resistance circuit based on the comparison result, comprising:
closing a target relay under the condition that the ambient temperature is greater than a temperature value associated with the target resistor so as to adjust the working state of the target resistor to be a short circuit state, wherein the target relay is a relay connected in parallel with the target resistor;
And under the condition that the ambient temperature is not greater than the temperature value associated with the target resistor, the target relay is disconnected to adjust the working state of the target resistor to be a passage state.
8. A communication circuit control device, comprising:
the acquisition module is used for acquiring the environmental temperature, wherein the environmental temperature is the temperature of the environment where the air conditioner external unit is positioned;
the adjusting module is used for adjusting loop current passing through the communication line by adjusting the working resistance value of the resistance variable circuit on the communication line according to the ambient temperature, wherein the loop current is working current of an optical coupler device, and the optical coupler device is used for realizing isolation protection when the air conditioner indoor unit and the air conditioner outdoor unit are in communication;
the adjustment module further includes:
the comparison unit is used for obtaining a comparison result between the ambient temperature and a temperature value related to a target resistor, wherein the target resistor is any resistor in the variable resistor circuit, and each resistor in the variable resistor circuit is related to a preset temperature value;
the control unit is used for controlling the working state of the target resistor in the resistance variable circuit according to the comparison result so as to adjust the working resistance value of the resistance variable circuit, wherein the working state comprises a passage state and a short circuit state;
The comparison unit is further configured to adjust the temperature value associated with the target resistor before obtaining a comparison result between the ambient temperature and the temperature value associated with the target resistor, in the following manner: acquiring the service life of an air conditioner external unit; when the service life reaches a first threshold value, taking the first temperature value as a temperature value related to the target resistor; and when the service life reaches a second threshold value, taking the second temperature value as a temperature value related to the target resistor, wherein the second threshold value is larger than the first threshold value, and the second temperature value is smaller than the first temperature value.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor performs the steps of the communication circuit control method according to any one of the preceding claims 5 to 7 by means of the computer program.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the communication circuit control method according to any one of claims 5 to 7.
CN202210239222.3A 2022-03-11 2022-03-11 Communication circuit, control method and device thereof and electronic equipment Active CN114826314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210239222.3A CN114826314B (en) 2022-03-11 2022-03-11 Communication circuit, control method and device thereof and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210239222.3A CN114826314B (en) 2022-03-11 2022-03-11 Communication circuit, control method and device thereof and electronic equipment

Publications (2)

Publication Number Publication Date
CN114826314A CN114826314A (en) 2022-07-29
CN114826314B true CN114826314B (en) 2023-05-12

Family

ID=82528295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210239222.3A Active CN114826314B (en) 2022-03-11 2022-03-11 Communication circuit, control method and device thereof and electronic equipment

Country Status (1)

Country Link
CN (1) CN114826314B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106705382A (en) * 2017-01-25 2017-05-24 青岛海尔空调器有限总公司 Fire prevention control method for fixed-frequency air conditioner
CN109066593A (en) * 2018-07-24 2018-12-21 加码技术有限公司 A kind of thermal-shutdown circuit
CN113405211A (en) * 2021-06-24 2021-09-17 珠海格力电器股份有限公司 Control method for safe service life of air conditioner and air conditioner

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4201416B2 (en) * 1999-01-14 2008-12-24 三洋電機株式会社 Air conditioner
CN2689105Y (en) * 2004-01-12 2005-03-30 广东新的科技集团有限公司 Control system for outdoor unit of air cooling tubular air conditioner with several indoor units
CN103760842B (en) * 2013-12-25 2016-08-10 山东瑞斯高创股份有限公司 Communication base station room economizes on electricity and changes wind energy-saving control device
CN107689642A (en) * 2016-08-03 2018-02-13 中兴通讯股份有限公司 Poewr control method, device, inverter apparatus and plant controller
CN106500268A (en) * 2016-10-28 2017-03-15 合肥舒实工贸有限公司 A kind of air-conditioner temperature controller of wireless information transfer
CN107332228B (en) * 2017-08-01 2021-05-25 青岛海尔空调电子有限公司 Protection circuit and air conditioner
CN108278731A (en) * 2018-01-02 2018-07-13 珠海格力电器股份有限公司 Communicating circuit and its control method, storage medium and processor
CN113242036B (en) * 2021-05-08 2023-07-14 宁波群芯微电子股份有限公司 CTR (control line) adjustable method, optocoupler circuit and device
CN113266887A (en) * 2021-05-17 2021-08-17 青岛海信日立空调系统有限公司 Air conditioner outdoor unit and air conditioner
CN113432207A (en) * 2021-06-21 2021-09-24 Tcl空调器(中山)有限公司 Communication control method and device for indoor and outdoor units of air conditioner, air conditioner and storage medium
CN113432241A (en) * 2021-06-21 2021-09-24 Tcl空调器(中山)有限公司 Air conditioner indoor and outdoor unit communication fault processing method, control system and air conditioner
CN113587385B (en) * 2021-07-13 2022-10-04 Tcl空调器(中山)有限公司 Communication fault processing method and control system for indoor and outdoor units of air conditioner and air conditioner
CN113587371A (en) * 2021-07-27 2021-11-02 青岛海尔空调器有限总公司 Air conditioner control method and device and air conditioner
CN113960950A (en) * 2021-11-26 2022-01-21 沈阳诚高科技股份有限公司 Power environment monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106705382A (en) * 2017-01-25 2017-05-24 青岛海尔空调器有限总公司 Fire prevention control method for fixed-frequency air conditioner
CN109066593A (en) * 2018-07-24 2018-12-21 加码技术有限公司 A kind of thermal-shutdown circuit
CN113405211A (en) * 2021-06-24 2021-09-17 珠海格力电器股份有限公司 Control method for safe service life of air conditioner and air conditioner

Also Published As

Publication number Publication date
CN114826314A (en) 2022-07-29

Similar Documents

Publication Publication Date Title
US7444824B1 (en) Unitary control for air conditioner and/or heat pump
CA2890492C (en) Wireless thermostat with dual stage failsafe circuits
US4366426A (en) Starting circuit for single phase electric motors
US10760808B2 (en) Inverter air conditioner control device, terminal, system and method based on thermolator
AU2018366410B2 (en) Method and apparatus for identifying air-conditioning circuit, and air conditioner
CN113587385B (en) Communication fault processing method and control system for indoor and outdoor units of air conditioner and air conditioner
CN107078808A (en) Communication system, signal transfer method and air conditioner
CN114826314B (en) Communication circuit, control method and device thereof and electronic equipment
US11512860B2 (en) Protection circuit and air conditioner
CN104165435A (en) Air-conditioner panel color change control device and method and air-conditioner
JP5436881B2 (en) Air conditioner
CN204241991U (en) The temperature detection heat abstractor of transformer
EP3004751A2 (en) Boiler control system and method
CN114791157B (en) Communication device of air conditioner external unit and communication system of air conditioner
EP0175297B1 (en) Fuel burner control system
WO2002007127A2 (en) Hvac control and method for interpreting broad range of input voltages
CN107436577B (en) Power control circuit and method based on zero-crossing detection
CN103592922A (en) Greenhouse electric switch, detection device, method and greenhouse electrical apparatus control system
CN215817500U (en) Over-temperature protection circuit and electric appliance
CN115773564A (en) Air conditioner control method, system, circuit, equipment and storage medium
EP3668073B1 (en) Method for adapting an electrical circuit with a controlling device
CN211121690U (en) Heating wire detection system for hot air welding machine
CN219678115U (en) Power module protection circuit and electric equipment
CN115218377A (en) Air conditioner indoor and outdoor unit communication fault processing method and air conditioner
KR101975532B1 (en) Apparatus for slave device based on the AC Power line Communication and method for AC Power line Communication of the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant