CN114076401A - Communication circuit, electronic equipment and communication method - Google Patents

Communication circuit, electronic equipment and communication method Download PDF

Info

Publication number
CN114076401A
CN114076401A CN202111175189.4A CN202111175189A CN114076401A CN 114076401 A CN114076401 A CN 114076401A CN 202111175189 A CN202111175189 A CN 202111175189A CN 114076401 A CN114076401 A CN 114076401A
Authority
CN
China
Prior art keywords
optocoupler
isolation
communication
slave
isolating
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.)
Granted
Application number
CN202111175189.4A
Other languages
Chinese (zh)
Other versions
CN114076401B (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.)
GD Midea Air Conditioning Equipment Co Ltd
Foshan Shunde Midea Electric Science and Technology Co Ltd
Original Assignee
GD Midea Air Conditioning Equipment Co Ltd
Foshan Shunde Midea Electric Science and Technology Co Ltd
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 GD Midea Air Conditioning Equipment Co Ltd, Foshan Shunde Midea Electric Science and Technology Co Ltd filed Critical GD Midea Air Conditioning Equipment Co Ltd
Priority to CN202111175189.4A priority Critical patent/CN114076401B/en
Publication of CN114076401A publication Critical patent/CN114076401A/en
Application granted granted Critical
Publication of CN114076401B publication Critical patent/CN114076401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/32Responding to malfunctions or emergencies
    • F24F11/38Failure diagnosis
    • 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/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • 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/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Air Conditioning Control Device (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application discloses a communication circuit, electronic equipment and a communication method. The communication circuit includes: the first isolation optocoupler device is positioned on the side of the host and used for current loop communication; the second isolation optocoupler device is positioned at the slave side and used for current loop communication; the third isolation optocoupler device is positioned on the side of the extended function equipment and used for current loop communication; the first isolation optocoupler device, the second isolation optocoupler device and the third isolation optocoupler device are connected in series through a communication line to form a current loop. In the application, the host can send the instruction to the slave and/or the extended function device through the current loop and receive the response information returned by the slave and/or the extended function device, so that the communication between the host and different extended function devices can be realized based on the current loop on the basis of realizing the normal communication between the original host and the slave based on the current loop, the function extension of the electronic device is facilitated, and the communication cost is low.

Description

Communication circuit, electronic equipment and communication method
Technical Field
The present application relates to the field of household electrical appliances, and in particular, to a communication circuit, an electronic device, and a communication method.
Background
In the related art, the communication between the indoor unit and the outdoor unit of the air conditioner generally uses a one-to-one current loop for real-time communication, and specifically, the communication between the indoor unit and the outdoor unit uses a master-slave mode and is based on a fixed communication interval and frequency.
With the pursuit of comfort, different functional devices are often added indoors and outdoors to realize different functions. For example, some functions may be added to the air conditioner as optional functions for users with different requirements. But the matching function can be independent of the basic machine type, but the new matching function greatly changes the basic machine type, which results in high cost; if the matching function is used as an independent function module, the cost of a standard machine type can be greatly reduced, and how to realize the normal communication between the host and the matching function module on the basis of the original current loop communication becomes a technical problem which needs to be solved at present.
Disclosure of Invention
In view of this, embodiments of the present application provide a communication circuit, an electronic device, and a communication method, which aim to implement reliable communication between a host and an extended function device on the basis of meeting communication requirements of the host and a slave.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a communication circuit, including:
the first isolation optocoupler device is positioned on the side of the host and used for current loop communication;
the second isolation optocoupler device is positioned at the slave side and used for current loop communication;
the third isolation optocoupler device is positioned on the side of the extended function equipment and used for current loop communication;
the first isolation optocoupler device, the second isolation optocoupler device and the third isolation optocoupler device are connected in series through a communication line to form the current loop.
In some embodiments, the first isolating optocoupler device, the second isolating optocoupler device, and the third isolating optocoupler device each include: send opto-coupler and receipt opto-coupler, communication line includes: a zero line and a signal line;
the output end of the transmitting optical coupler of the first isolation optical coupler device is connected with the input end of the receiving optical coupler of the second isolation optical coupler device through a zero line;
the output end of the transmitting optical coupler of the second isolation optical coupler device, at least one third isolation optical coupler device and the input end of the receiving optical coupler of the first isolation optical coupler device are connected through a signal line.
In some embodiments, if the third isolation optocoupler is one, the output end of the transmitting optocoupler of the second isolation optocoupler is connected to the input end of the receiving optocoupler of the third isolation optocoupler through a signal line, and the output end of the transmitting optocoupler of the third isolation optocoupler is connected to the input end of the receiving optocoupler of the first isolation optocoupler through a signal line.
In some embodiments, if the third isolation optocoupler device is multiple, the output end of the transmission optocoupler of the second isolation optocoupler device is connected with the input end of the reception optocoupler of the third isolation optocoupler device at the head end through a signal line, the output end of the transmission optocoupler of the third isolation optocoupler device at the head end is connected with the input end of the reception optocoupler of the next third isolation optocoupler device through a signal line, and the output end of the transmission optocoupler of the third isolation optocoupler device at the tail end is connected with the input end of the reception optocoupler of the first isolation optocoupler device through a signal line.
In some embodiments, the communication circuit further comprises:
the electronic switch is arranged between the output end of the transmitting optocoupler and the input end of the receiving optocoupler of the third isolating optocoupler;
the detection comparison circuit is used for detecting the power supply state of a power supply of the third isolation optocoupler;
the electronic switch is based on the power supply state action, so that the third isolation optocoupler is connected to the current loop when the power supply state is normal, and the output end of the transmitting optocoupler and the input end of the receiving optocoupler of the third isolation optocoupler are in short circuit when the power supply state is abnormal.
In some embodiments, a jumper structure is arranged between the zero line and an input end of a receiving optocoupler of the third isolating optocoupler, and when extended function equipment where the third isolating optocoupler is located needs to be used independently, the jumper structure is short-circuited.
In some embodiments, an input end of a transmitting optocoupler of the first isolating optocoupler device and an output end of a receiving optocoupler of the first isolating optocoupler device are connected to a control module of the host;
the input end of a transmitting optocoupler of the second isolation optocoupler and the output end of a receiving optocoupler of the second isolation optocoupler are connected with the control module of the slave;
and the input end of a transmitting optocoupler of the third isolating optocoupler device and the output end of a receiving optocoupler of the third isolating optocoupler device are connected with the control module of the extended function equipment.
In a second aspect, an embodiment of the present application provides an electronic device, including: the communication circuit comprises a host, a slave, at least one extended function device and the communication circuit according to the first aspect of the embodiment of the application.
In some embodiments, the electronic device is an air conditioner, the master machine is an indoor machine of the air conditioner, and the slave machine is an outdoor machine of the air conditioner.
In a third aspect, an embodiment of the present application provides a communication method for an electronic device according to the second aspect of the embodiment of the present application, including:
the host sends an instruction to the slave and/or the extended function equipment through the current loop;
the slave machine and the extended function equipment determine whether the identification code carried by the instruction is matched with the identification of the slave machine and respond to the instruction if the identification code carried by the instruction is matched with the identification of the slave machine and send response information to the host machine; if not, no processing is carried out;
and the host receives the response information and determines the equipment corresponding to the response information based on the identification code carried by the response information.
In some embodiments, the method further comprises:
and the host computer outputs prompt information of communication faults if determining that the response information is not received within the set time length.
According to the technical scheme provided by the embodiment of the application, the first isolation optocoupler device on the host side, the second isolation optocoupler device on the slave side and the third isolation optocoupler device on the extended function device side are connected in series to form a current loop, so that the host can send an instruction to the slave and/or the extended function device through the current loop and receive response information returned by the slave and/or the extended function device, therefore, communication between the host and different extended function devices can be realized on the basis of the current loop on the basis of realizing normal communication between the original host and the slave on the basis of the current loop, function extension of the electronic device is facilitated, and the communication cost is low.
Drawings
Fig. 1 is a schematic view illustrating a current loop communication based structure between an indoor unit and an outdoor unit of an air conditioner in the related art;
FIG. 2 is a schematic diagram of a communication circuit according to an embodiment of the present disclosure;
FIG. 3 is a second schematic diagram of a communication circuit according to an embodiment of the present application;
fig. 4 is a third schematic structural diagram of a communication circuit according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
In the related art, for an electronic device having a master-slave structure, communication between a master and a slave is often required. Taking an air conditioner as an example, the air conditioner includes an indoor unit and an outdoor unit, the indoor unit may include an evaporator and a fan, the outdoor unit may include a compressor and a condenser, and the outdoor unit are connected through a refrigerant pipe. Taking a refrigeration process as an example, a compressor compresses a gaseous refrigerant (such as freon) into a high-temperature high-pressure liquid refrigerant, and then sends the high-temperature high-pressure liquid refrigerant to a condenser for heat dissipation, so as to form a medium-temperature medium-pressure liquid refrigerant; the liquid refrigerant formed by the condenser enters the evaporator of the indoor unit through the refrigerant pipeline, the liquid refrigerant is gasified due to sudden increase of space and reduction of pressure, and a large amount of heat can be absorbed in the process of converting liquid into gas, so that the evaporator can be cooled, and when the fan of the indoor unit blows the indoor air from the evaporator, the fan of the indoor unit blows out cold air.
In the working process, the outdoor unit and the indoor unit need to communicate, for example, the indoor unit sends a control instruction to the outdoor unit to control the operation mode of the outdoor unit (for example, starting a compressor, etc.), and the outdoor unit sends the self operation state, the environmental parameters, the fault codes, etc. to the indoor unit. The indoor unit and the outdoor unit can establish communication through a communication line. In the embodiment of the present application, a Current Loop (Current Loop) may be established between the indoor unit and the outdoor unit through a communication line for communication.
The current loop is formed by converting strong and weak currents of a strong current communication signal through a diode and a triode in the optical coupler by utilizing the isolation characteristic of the optical coupler, so that a current loop circuit is formed, strong current is isolated, and a closed-loop control effect is realized. The output of the indoor unit corresponds to the input of the outdoor unit, the output of the outdoor unit corresponds to the input of the indoor unit, and the indoor unit and the outdoor unit are connected in pairs to form an annular communication circuit. The core element of the current loop is an optical coupler, and the optical coupler is mainly used for controlling the communication of the strong current part by using the weak current part to achieve the effect of strong current and weak current isolation, so that the work of the weak current part is not interfered by the strong current part, and the effect of protecting the weak current from being influenced by strong current is achieved.
Fig. 1 illustrates a structure of communication between an indoor unit and an outdoor unit of an air conditioner based on a current loop, in which a current loop of a common neutral line N is formed between an isolation optocoupler of the indoor unit and an isolation optocoupler of the outdoor unit through a signal line S and a neutral line N. However, the existing current loop can only realize one-to-one communication between the indoor unit and the outdoor unit, and for the extended function devices added indoors and outdoors, an additional communication device is required, and the basic machine type needs to be modified, which results in an increase in communication cost.
In view of this, in various embodiments of the present application, there is provided a communication circuit, including:
the first isolation optocoupler device is positioned on the side of the host and used for current loop communication;
the second isolation optocoupler device is positioned at the slave side and used for current loop communication;
the third isolation optocoupler device is positioned on the side of the extended function equipment and used for current loop communication;
the first isolation optocoupler device, the second isolation optocoupler device and the third isolation optocoupler device are connected in series through a communication line to form a current loop.
It can be understood that, because the first isolation optocoupler device at the host side, the second isolation optocoupler device at the slave side and the third isolation optocoupler device at the extended function device side are connected in series to form a current loop, the host can send an instruction to the slave and/or the extended function device through the current loop and receive response information returned by the slave and/or the extended function device, so that communication between the host and different extended function devices can be realized based on the current loop on the basis of realizing normal communication between the original host and the slave based on the current loop, which is beneficial to function extension of electronic devices and has low communication cost.
Illustratively, first isolation optocoupler device, second isolation optocoupler device, and third isolation optocoupler device each include: send opto-coupler and receipt opto-coupler, communication lines includes: a zero line and a signal line; the output end of the transmitting optical coupler of the first isolation optical coupler device is connected with the input end of the receiving optical coupler of the second isolation optical coupler device through a zero line; the output end of the transmitting optical coupler of the second isolation optical coupler device, the input end of the receiving optical coupler of the at least one third isolation optical coupler device and the first isolation optical coupler device are connected through signal lines.
It can be understood that the transmitting optocoupler of each isolating optocoupler can couple a signal generated by the control module to the current loop after being photoelectrically isolated, and the receiving optocoupler of each isolating optocoupler can decouple the signal transmitted in the current loop and transmit the signal to the control module.
Here, an input end (e.g., an anode of the light emitting diode) of the transmitting optocoupler is connected with a TXD (transmit data) port of the control module, so that a signal on the circuit side of the weak current digital system can be subjected to electrical-optical-electrical conversion and coupled into the current loop through an output end (e.g., an emitter of the phototriode) of the transmitting optocoupler; an input end (for example, an anode of the light emitting diode) of the receiving optocoupler is connected with the current loop, so that a signal transmitted on the current loop can be subjected to electric-optical-electric conversion and is transmitted to an RXD (received data) port of the control module through an output end (for example, an emitter of the phototriode) of the receiving optocoupler. The collector of the phototriode of the transmitting optocoupler can be connected with the cathode of the photodiode of the receiving optocoupler.
It can be understood that the current loop uses current as a carrier to transmit signals, so that the noise tolerance of the signals can be increased, the anti-attenuation capability of the signals can be improved, and the signals can be loaded on the current loop to realize long-distance accurate transmission of the signals.
If the third isolation optocoupler is one, the output end of the transmitting optocoupler of the second isolation optocoupler is connected with the input end of the receiving optocoupler of the third isolation optocoupler through a signal line, and the output end of the transmitting optocoupler of the third isolation optocoupler is connected with the input end of the receiving optocoupler of the first isolation optocoupler through a signal line.
Exemplarily, an input end of a transmitting optocoupler of the first isolation optocoupler device and an output end of a receiving optocoupler of the first isolation optocoupler device are connected with a control module of the host; the input end of a transmitting optocoupler of the second isolation optocoupler and the output end of a receiving optocoupler of the second isolation optocoupler are connected with a control module of the slave; the input end of a transmitting optical coupler of the third isolation optical coupler device and the output end of a receiving optical coupler of the third isolation optical coupler device are connected with a control module of the extended function equipment.
As shown in fig. 2, taking an air conditioner as an example, an indoor unit is taken as a master, an outdoor unit is taken as a slave 1, a newly added extended function device is taken as a slave 2, and the master, the slave 1 and the slave 2 are all provided with control modules, and the master further includes: first isolation opto-coupler device and power module still include second isolation opto-coupler device from 1, still include third opto-coupler isolation device from 2. The power supply module of the master machine is connected with a live wire and a zero wire for supplying power, the live wire of the master machine is also connected with live wires of the slave machine 1 and the slave machine 2, and the zero wire of the master machine is also connected with zero wires of the slave machine 1 and the slave machine 2, so that the power supply of the master machine, the slave machine 1 and the slave machine 2 is realized.
A TXD port (namely an indoor sending port shown in figure 2) of a control module of the host is connected with an input end of a sending optocoupler of a first isolating optocoupler, an output end of the sending optocoupler of the first isolating optocoupler is connected with an input end of a receiving optocoupler of a second isolating optocoupler of the slave 1 through a zero line N, an output end of the receiving optocoupler of the second isolating optocoupler is connected with an RXD port (namely an outdoor receiving port shown in figure 2) of the control module of the slave 1, a TXD port (namely an outdoor sending port shown in figure 2) of the control module of the slave 1 is connected with an input end of the sending optocoupler of the second isolating optocoupler, an output end of the sending optocoupler of the second isolating optocoupler is connected with an input end of a receiving optocoupler of a third isolating optocoupler of the slave 2 through a signal line S, an output end of the receiving optocoupler of the third isolating optocoupler is connected with an RXD port (namely a function receiving port shown in figure 2) of the control module of the slave 2, a TXD port (i.e., a function transmitting port shown in fig. 2) of the control module of the slave machine 2 is connected to an input end of a transmitting optocoupler of a third isolating optocoupler, an output end of the transmitting optocoupler of the third isolating optocoupler is connected to an input end of a receiving optocoupler of the first isolating optocoupler through a signal line S, and an output end of the transmitting optocoupler of the first isolating optocoupler is connected to an RXD port (i.e., an indoor receiving port shown in fig. 2) of the control module of the master machine, so that a current loop connected in series is formed among the first isolating optocoupler, the second isolating optocoupler and the third isolating optocoupler, and communication between the master machine and the slave machine 1 and/or the slave machine 2 can be realized based on the current loop.
For example, as shown in fig. 3, the power module of the master is connected to the live wire L and the zero wire N for supplying power, the live wire L of the master is further connected to the anodes of the filter rectification modules of the slave 1 and the slave 2, the zero wire N of the master is further connected to the cathodes of the filter rectification modules of the slave 1 and the slave 2, and the slave 1 and the slave 2 are supplied with power through the respective filter rectification modules.
In some embodiments, if the number of the third isolating optocoupler devices is multiple, the output end of the transmitting optocoupler of the second isolating optocoupler device is connected to the input end of the receiving optocoupler of the third isolating optocoupler device at the head end via a signal line, the output end of the transmitting optocoupler of the third isolating optocoupler device at the head end is connected to the input end of the receiving optocoupler of the next third isolating optocoupler device via a signal line, and the output end of the transmitting optocoupler of the third isolating optocoupler device up to the tail end is connected to the input end of the receiving optocoupler of the first isolating optocoupler device via a signal line.
Taking an air conditioner as an example, in order to enrich the extended function of the air conditioner, when the air conditioner is turned on, if the weather conditions such as outdoor temperature and humidity are desired to be known, particularly the temperature near the outdoor unit is desired to be known, so as to determine whether to adopt corresponding protection measures and the like for the outdoor unit, at this time, corresponding sensing equipment needs to be added to detect the information such as the temperature and humidity conditions of the outdoor environment, so that a user can conveniently determine the outdoor air condition based on the detection result of the sensor, and particularly, even if the indoor space is isolated from the outside, the user can conveniently determine whether to go out or not based on the acquisition result. It is also possible to determine whether the outdoor unit is intermittently turned on or not, etc., based on the temperature in the vicinity of the outdoor unit. Or, when the user uses the air conditioner, there is a need to know the outdoor image, for example, to monitor the outdoor safety condition, etc., the outdoor image is known by installing a camera, etc. outdoors, and the outdoor camera may be installed together with the outdoor unit of the air conditioner, and the transmission of the collected image is realized through the control circuit, etc. of the air conditioner. Therefore, the quantity of extended function equipment can be two or more, in this application embodiment, can all set up the third in each extended function equipment and keep apart opto-coupler device to add the electric current ring with corresponding third isolation opto-coupler device, thereby realize the communication based on the electric current ring, the function extension of can being convenient for, and effectively reduce communication cost.
For example, as shown in fig. 4, for a case where there are multiple extended function devices, on the basis shown in fig. 3, an output end of a transmitting optocoupler of a third isolating optocoupler device of a slave 2 may be connected to an input end of a receiving optocoupler of a third isolating optocoupler device of a next slave through a signal line, and connected in sequence until an output end of the transmitting optocoupler of the third isolating optocoupler device at the tail end is connected to an input end of a receiving optocoupler of a first isolating optocoupler device of a master through a signal line, so as to form a closed current loop. Therefore, the communication between the indoor unit and the outdoor unit and between more than two extended function devices can be realized based on the current loop.
Considering that at least one expanded function device exists in the current loop and the current loop is in a series structure, if any one expanded function device has power supply abnormality, the communication fault of the current loop can be influenced. Based on this, in some embodiments, the communication circuit further comprises:
the electronic switch is arranged between the output end of the transmitting optocoupler and the input end of the receiving optocoupler of the third isolating optocoupler;
the detection comparison circuit is used for detecting the power supply state of a power supply of the third isolation optocoupler;
wherein, electronic switch is based on the power supply state action for the third keeps apart opto-coupler device and inserts the electric current ring when power supply state is normal, and when power supply state is unusual, the output of the transmission opto-coupler of short circuit third isolation opto-coupler device and the input of receiving the opto-coupler, the third isolation opto-coupler device that will have the power supply anomaly is got rid of outside the electric current ring, so, can improve the reliability of electric current ring work, guarantee communication quality.
For example, as shown in fig. 3 and 4, the electronic switch may be a normally-closed switch Q1, and the slave 2 is taken as an example for description, for example, the detection comparison circuit detects a power supply VCC of the third isolation optocoupler of the slave 2, and when it detects that VCC is a high level, the detection comparison circuit reverses, and triggers the control module of the slave 2 to send a control signal to the Q1 to perform an open operation, and at this time, the signal line S1 of the slave 1 is connected to the current loop through the third isolation optocoupler of the slave 2. If the detection comparison circuit detects that the VCC of the slave 2 is low level, the normally-closed switch Q1 maintains a normally-closed state, so as to short-circuit the third isolation optocoupler of the slave 2, and make the current loop not pass through the third isolation optocoupler.
In some embodiments, a jumper structure is arranged between the zero line and the input end of the receiving optocoupler of the third isolating optocoupler, and when the extended function device where the third isolating optocoupler is located needs to be used independently, the jumper structure is short-circuited.
It can be understood that, as shown in fig. 3 and 4, when the extended function device needs to be used independently, the input end of the receiving optocoupler of the third isolation optocoupler and the zero line N may be shorted via a jumper structure, so that the extended function device may form a current loop independently. If the extended function device is used as an auxiliary device for extended functions, the jumper structure can be disconnected, so as to be connected in series to the current loop.
An embodiment of the present application further provides an electronic device, including: the communication circuit comprises a host, a slave, at least one extended function device and the communication circuit of the first aspect of the embodiment of the application.
For example, the electronic device may be an air conditioner, the master is an indoor unit of the air conditioner, and the slave is an outdoor unit of the air conditioner.
The connection relationship between the communication circuit and the indoor unit, the outdoor unit and the extended function device in the air conditioner can refer to the foregoing description, and will not be described herein again.
An embodiment of the present application provides a communication method for an electronic device, including:
the host sends an instruction to the slave and/or the extended function equipment through the current loop;
the slave and the extended function equipment determine whether the identification code carried by the instruction is matched with the identification of the slave and respond to the instruction if the identification code carried by the instruction is matched with the identification of the slave and send response information to the host; if not, no processing is carried out;
and the host receives the response information and determines the equipment corresponding to the response information based on the identification code carried by the response information.
It can be understood that, based on the foregoing communication circuit in the embodiment of the present application, a current loop may be formed in series between the master and the slave and at least one expansion device, so that communication between the master and the slave and/or the expansion function device may be achieved based on the current loop. Specifically, the instruction sent by the host computer through the current loop may be an inquiry instruction or a control instruction, and the inquiry instruction or the control instruction may also carry an identification code, thereby implementing control and/or inquiry on the specified device. Here, the command sent by the host may flow through each device through the current loop, and the receiving device determines whether the command needs to be received by itself based on the identification code, if not, the command is discarded, if yes, the command is responded, and response information is returned to the host, and the host may also determine the identity of the slave device based on the identification code of the response information, so that query and/or control of any slave device on the current loop may be implemented.
In some embodiments, the method further comprises:
and if the host determines that the response message is not received within the set time length, the host outputs the prompt message of the communication fault.
Here, the host may determine whether the response message is received within a set time (for example, 2 seconds) after the instruction is sent, and if no reply is received, may determine that a communication fault exists in the current loop, and output a notification message of the communication fault, so as to perform fault maintenance in time.
In an exemplary embodiment, the present application further provides a storage medium, that is, a computer storage medium, which may be specifically a computer readable storage medium, where the computer program may be executed by a processor of an electronic device to perform the steps described in the method of the present application. The computer readable storage medium may be a ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM, among others.
It should be noted that: "first," "second," and the like are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The technical means described in the embodiments of the present application may be arbitrarily combined without conflict.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A communication circuit, comprising:
the first isolation optocoupler device is positioned on the side of the host and used for current loop communication;
the second isolation optocoupler device is positioned at the slave side and used for current loop communication;
the third isolation optocoupler device is positioned on the side of the extended function equipment and used for current loop communication;
the first isolation optocoupler device, the second isolation optocoupler device and the third isolation optocoupler device are connected in series through a communication line to form the current loop.
2. The communication circuit of claim 1, wherein the first isolating optocoupler, the second isolating optocoupler, and the third isolating optocoupler each comprise: send opto-coupler and receipt opto-coupler, communication line includes: a zero line and a signal line;
the output end of the transmitting optical coupler of the first isolation optical coupler device is connected with the input end of the receiving optical coupler of the second isolation optical coupler device through a zero line;
the output end of the transmitting optical coupler of the second isolation optical coupler device, at least one third isolation optical coupler device and the input end of the receiving optical coupler of the first isolation optical coupler device are connected through a signal line.
3. The communication circuit according to claim 2, wherein if the third isolating optocoupler is one, an output end of the transmitting optocoupler of the second isolating optocoupler is connected to an input end of the receiving optocoupler of the third isolating optocoupler through a signal line, and an output end of the transmitting optocoupler of the third isolating optocoupler is connected to an input end of the receiving optocoupler of the first isolating optocoupler through a signal line.
4. The communication circuit according to claim 2, wherein if the number of the third isolation optocoupler devices is plural, the output end of the transmitting optocoupler of the second isolation optocoupler device is connected to the input end of the receiving optocoupler of the third isolation optocoupler device at the head end via a signal line, the output end of the transmitting optocoupler of the third isolation optocoupler device at the head end is connected to the input end of the receiving optocoupler of the next third isolation optocoupler device via a signal line, and the output end of the transmitting optocoupler of the third isolation optocoupler device up to the tail end is connected to the input end of the receiving optocoupler of the first isolation optocoupler device via a signal line.
5. The communication circuit of claim 2, further comprising:
the electronic switch is arranged between the output end of the transmitting optocoupler and the input end of the receiving optocoupler of the third isolating optocoupler;
the detection comparison circuit is used for detecting the power supply state of a power supply of the third isolation optocoupler;
the electronic switch is based on the power supply state action, so that the third isolation optocoupler is connected to the current loop when the power supply state is normal, and the output end of the transmitting optocoupler and the input end of the receiving optocoupler of the third isolation optocoupler are in short circuit when the power supply state is abnormal.
6. The communication circuit of claim 2,
and a jumper structure is arranged between the zero line and the input end of the receiving optocoupler of the third isolating optocoupler, and when the extended function equipment where the third isolating optocoupler is located needs to be independently used, the jumper structure is short-circuited.
7. The communication circuit of claim 2,
the input end of a transmitting optocoupler of the first isolation optocoupler device and the output end of a receiving optocoupler of the first isolation optocoupler device are connected with the control module of the host;
the input end of a transmitting optocoupler of the second isolation optocoupler and the output end of a receiving optocoupler of the second isolation optocoupler are connected with the control module of the slave;
and the input end of a transmitting optocoupler of the third isolating optocoupler device and the output end of a receiving optocoupler of the third isolating optocoupler device are connected with the control module of the extended function equipment.
8. An electronic device, comprising: a master, a slave, at least one extended function device and a communication circuit as claimed in any one of claims 1 to 7.
9. The electronic device of claim 8,
the electronic equipment is an air conditioner, the host machine is an indoor machine of the air conditioner, and the slave machine is an outdoor machine of the air conditioner.
10. A communication method of an electronic device according to claim 8 or 9, comprising:
the host sends an instruction to the slave and/or the extended function equipment through the current loop;
the slave machine and the extended function equipment determine whether the identification code carried by the instruction is matched with the identification of the slave machine and respond to the instruction if the identification code carried by the instruction is matched with the identification of the slave machine and send response information to the host machine; if not, no processing is carried out;
and the host receives the response information and determines the equipment corresponding to the response information based on the identification code carried by the response information.
11. The method of claim 10, further comprising:
and the host computer outputs prompt information of communication faults if determining that the response information is not received within the set time length.
CN202111175189.4A 2021-10-09 2021-10-09 Communication circuit, electronic equipment and communication method Active CN114076401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111175189.4A CN114076401B (en) 2021-10-09 2021-10-09 Communication circuit, electronic equipment and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111175189.4A CN114076401B (en) 2021-10-09 2021-10-09 Communication circuit, electronic equipment and communication method

Publications (2)

Publication Number Publication Date
CN114076401A true CN114076401A (en) 2022-02-22
CN114076401B CN114076401B (en) 2023-10-13

Family

ID=80283304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111175189.4A Active CN114076401B (en) 2021-10-09 2021-10-09 Communication circuit, electronic equipment and communication method

Country Status (1)

Country Link
CN (1) CN114076401B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04304740A (en) * 1991-04-02 1992-10-28 Fuji Electric Co Ltd Two-wire current loop multi-drop transmission circuit
JP2009079812A (en) * 2007-09-26 2009-04-16 Sanyo Electric Co Ltd Air conditioning system and communication control device
CN201270093Y (en) * 2008-09-27 2009-07-08 连云港杰瑞电子有限公司 Distributed road traffic signal control system
CN104251536A (en) * 2013-06-26 2014-12-31 青岛海尔空调电子有限公司 One-to-many current loop communication method and communication device
CN204478392U (en) * 2014-12-26 2015-07-15 广东美的制冷设备有限公司 Current loop communication circuit and air-conditioner
CN105972768A (en) * 2016-05-26 2016-09-28 广东美的制冷设备有限公司 Electric current loop communication control circuit and method of air conditioner
CN207691837U (en) * 2017-12-21 2018-08-03 珠海横琴派诺技术有限公司 Ad hoc network formula current loop bus system and the slave device that can support automatic network-building
CN212992040U (en) * 2020-06-09 2021-04-16 宁波奥克斯电气股份有限公司 Monitoring device for air conditioner communication line

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04304740A (en) * 1991-04-02 1992-10-28 Fuji Electric Co Ltd Two-wire current loop multi-drop transmission circuit
JP2009079812A (en) * 2007-09-26 2009-04-16 Sanyo Electric Co Ltd Air conditioning system and communication control device
CN201270093Y (en) * 2008-09-27 2009-07-08 连云港杰瑞电子有限公司 Distributed road traffic signal control system
CN104251536A (en) * 2013-06-26 2014-12-31 青岛海尔空调电子有限公司 One-to-many current loop communication method and communication device
CN204478392U (en) * 2014-12-26 2015-07-15 广东美的制冷设备有限公司 Current loop communication circuit and air-conditioner
CN105972768A (en) * 2016-05-26 2016-09-28 广东美的制冷设备有限公司 Electric current loop communication control circuit and method of air conditioner
CN207691837U (en) * 2017-12-21 2018-08-03 珠海横琴派诺技术有限公司 Ad hoc network formula current loop bus system and the slave device that can support automatic network-building
CN212992040U (en) * 2020-06-09 2021-04-16 宁波奥克斯电气股份有限公司 Monitoring device for air conditioner communication line

Also Published As

Publication number Publication date
CN114076401B (en) 2023-10-13

Similar Documents

Publication Publication Date Title
US9541585B2 (en) Method and system for identifying at least one electrically powered device by a power supply device via a powerline connection
US9685822B2 (en) Management apparatus and management method for electrical appliances
CN110207342B (en) Indoor unit, control circuit and control method of air conditioning unit and readable storage medium
CN103838155A (en) Family security control method, family server and security control system
CN113203190B (en) Pairing method and device of air conditioner based on power line communication and storage medium
CN101158867A (en) Remote control method of household electrical appliance and alarm capable of controlling household electrical appliance
CN102147963A (en) Remote-control socket reporting system and management method thereof
CN114076401B (en) Communication circuit, electronic equipment and communication method
CN216307973U (en) Air conditioner
CN117346290A (en) Communication circuit, electronic equipment and communication method
CN207716617U (en) A kind of remote air conditioner controller
CN103256690B (en) A kind of precise air-conditioner remote control system based on Ethernet
CN113587380B (en) Air conditioner, transfer device and method for controlling communication between indoor unit and outdoor unit of air conditioner
CN203086245U (en) Plug-and-play type movable combiner box monitoring device
CN113300738B (en) Cross-phase communicator, communication method, system and storage medium
CN113606658B (en) Air conditioner, and operation data monitoring method, equipment and storage medium thereof
CN111174475A (en) Condensing unit dual-system closed-loop control method and device and condensing unit
CN105446296A (en) Detection method and detection device
CN109062068A (en) Family's electricity consumption monitoring system based on wireless transmission
CN212808952U (en) Dynamic energy-saving instrument
CN108375163B (en) Air conditioning system and control method thereof
CN110687428A (en) Frequency conversion air conditioner fault detection frock with wireless function
CN208571713U (en) The intelligent monitor system of household appliance
CN208477317U (en) A kind of remote monitoring system of household electrical appliances fault pre-alarming
CN216278617U (en) Multifunctional fan control and protection device

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