CN110848934B - Test system for current loop communication circuit and air conditioner - Google Patents

Test system for current loop communication circuit and air conditioner Download PDF

Info

Publication number
CN110848934B
CN110848934B CN201911158490.7A CN201911158490A CN110848934B CN 110848934 B CN110848934 B CN 110848934B CN 201911158490 A CN201911158490 A CN 201911158490A CN 110848934 B CN110848934 B CN 110848934B
Authority
CN
China
Prior art keywords
circuit
tested
communication circuit
diode
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
CN201911158490.7A
Other languages
Chinese (zh)
Other versions
CN110848934A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shikun Electronic Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shikun Electronic 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shikun Electronic Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201911158490.7A priority Critical patent/CN110848934B/en
Publication of CN110848934A publication Critical patent/CN110848934A/en
Application granted granted Critical
Publication of CN110848934B publication Critical patent/CN110848934B/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

The embodiment of the application discloses a test system for a current loop communication circuit and an air conditioner. Wherein, a test system for current loop communication circuit includes: the first communication circuit is connected with the second circuit to be tested, and the second communication circuit is connected with the first circuit to be tested; the control unit comprises a switching circuit and a controller connected with the switching circuit, the switching circuit is respectively connected with the first communication circuit and the second communication circuit, and the controller controls the switching circuit to enable the switching circuit, the first communication circuit and the second circuit to be tested to form a first test loop or enable the switching circuit, the second communication circuit and the first circuit to be tested to form a second test loop so as to test the second circuit to be tested or the first circuit to be tested. The method and the device solve the technical problem that the cost is increased due to the fact that the first circuit to be tested and the second circuit to be tested of the current loop communication circuit are respectively tested through two board cards in the related technology.

Description

Test system for current loop communication circuit and air conditioner
Technical Field
The embodiment of the application relates to the field of current loop communication, in particular to a test system for a current loop communication circuit and an air conditioner.
Background
The industrial control often involves long-distance accurate transmission of data, and the current is used as a carrier to transmit data, so that the noise tolerance of a signal can be increased, and the anti-attenuation capability of the signal can be improved. Taking a variable frequency air conditioner as an example, the variable frequency air conditioner is divided into an indoor unit and an outdoor unit, wherein the indoor unit is arranged indoors, an indoor unit board for receiving remote control signals and controlling loads such as an indoor fan and the like is arranged in the indoor unit, a first controller and a first circuit to be tested are arranged on the inner unit board, an outdoor unit board for driving a compressor is arranged in the outdoor unit, and a second controller and a second circuit to be tested are arranged on the outer unit board. Wherein, current loop communication is adopted between the internal machine and the external machine.
Generally, the current loop communication between the inner machine board and the outer machine board is realized by three lines, namely a live line L, a zero line N and a signal line S, between the inner machine board and the outer machine board, and when a first circuit to be tested on the inner machine board is tested, a board card carrying a current loop communication line of the outer machine board is required to be used for testing; when testing a second circuit to be tested on the external board, a board card carrying the current loop communication line of the internal board is required for testing. Obviously, the scheme needs two boards, and the product cost is increased undoubtedly.
Aiming at the technical problem that the cost is increased due to the fact that a first circuit to be tested and a second circuit to be tested of a current loop communication circuit are respectively tested through two board cards in the related art, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the application provides a test system for a current loop communication circuit and an air conditioner, and the test system and the air conditioner are used for at least solving the technical problem that the cost is increased due to the fact that a first circuit to be tested and a second circuit to be tested of the current loop communication circuit are respectively tested through two board cards in the related technology.
According to an aspect of the embodiments of the present application, there is provided a test system for a current loop communication circuit, where the current loop communication circuit includes a first circuit to be tested and a second circuit to be tested, and the test system includes a first communication circuit, a second communication circuit, and a control unit that are disposed on a same board: the first communication circuit is connected with the second circuit to be tested, and the second communication circuit is connected with the first circuit to be tested; the control unit comprises a switching circuit and a controller connected with the switching circuit, wherein the switching circuit is respectively connected with the first communication circuit and the second communication circuit, the controller controls the switching circuit to enable the switching circuit, the first communication circuit and the second circuit to be tested to form a first test loop, or enable the switching circuit, the second communication circuit and the first circuit to be tested to form a second test loop, the first test loop is used for testing the second circuit to be tested, and the second test loop is used for testing the first circuit to be tested.
Optionally, the first communication circuit includes a power module and a first optical coupling module, the power module supplies power to the first optical coupling module, wherein the power module includes a rectification filter unit and a voltage stabilization unit, one end of the rectification filter unit is connected with a live wire of a mains supply, the other end of the rectification filter unit is connected with the first optical coupling module and a signal line through the voltage stabilization unit, and the signal line is used for connecting the first communication circuit into the first test loop or connecting the second communication circuit into the second test circuit.
Optionally, the rectification filtering unit includes a first resistor, a first diode, and a first capacitor, where a first end of the first resistor is connected to the live wire, a second end of the first resistor is connected to a first end of the first capacitor through the first diode, the first end of the first capacitor is further connected to the first optocoupler module, and the second end of the first capacitor is connected to the zero line of the utility power.
Optionally, the voltage stabilizing unit includes a second diode, wherein a cathode of the second diode is connected to the first end of the first capacitor, and an anode of the second diode is connected to the second end of the first capacitor.
Optionally, the first communication circuit further comprises a second resistor, wherein the second resistor is connected in parallel to two ends of the first capacitor.
Optionally, the first optocoupler module includes a first optocoupler and a second optocoupler, wherein a light emitting diode of the first optocoupler is connected with the controller, one end of a phototriode of the first optocoupler is connected with the power module, the other end of the phototriode of the first optocoupler is connected with one end of a light emitting diode of the second optocoupler, the other end of the light emitting diode of the second optocoupler is connected with the switching circuit, and the phototriode of the second optocoupler is connected with the controller.
Optionally, the first communication circuit further includes a second capacitor and a third resistor, where the second capacitor and the third resistor are respectively connected in parallel to two ends of a light emitting diode of the second optocoupler.
Optionally, the first communication circuit further includes a third diode, wherein a cathode of the third diode is connected to the output end of the first optocoupler module, and an anode of the third diode is connected to the neutral line.
Optionally, the first communication circuit further includes a fourth diode, wherein a cathode of the fourth diode is connected to the switching circuit, and an anode of the fourth diode is connected to the output end of the first optical coupling module.
Optionally, the second communication circuit includes a second optical coupling module, the second optical coupling module includes a third optical coupling and a fourth optical coupling, wherein a light emitting diode of the third optical coupling is connected to the controller, one end of a photo transistor of the third optical coupling is connected to the switching circuit, the other end of the photo transistor is connected to one end of a light emitting diode of the fourth optical coupling, the other end of the light emitting diode of the fourth optical coupling is connected to a zero line of the commercial power, and the photo transistor of the fourth optical coupling is connected to the controller.
Optionally, the second communication circuit further includes a third capacitor and a fourth resistor, where the third capacitor and the fourth resistor are respectively connected in parallel to two ends of a light emitting diode of the fourth optocoupler.
Optionally, the second communication circuit further includes a fifth diode, wherein a cathode of the fifth diode is connected to one end of a phototransistor of the third optocoupler, and an anode of the fifth diode is connected to the neutral line.
Optionally, the switching circuit includes a first bidirectional optical coupler and a second bidirectional optical coupler, wherein a light emitting diode of the first bidirectional optical coupler is connected with the controller, one end of a bidirectional thyristor of the first bidirectional optical coupler is connected with the signal line, the other end of the bidirectional thyristor is connected with the output end of the first optical coupler module, a light emitting diode of the second bidirectional optical coupler is connected with the controller, one end of a bidirectional thyristor of the second bidirectional optical coupler is connected with the signal line, and the other end of the bidirectional thyristor is connected with the input end of the second communication circuit.
Optionally, a protection element is disposed on the signal line, wherein the protection element comprises a thermistor or a fuse.
According to another aspect of the embodiment of the application, an air conditioner is further provided, and the air conditioner comprises an indoor unit and an outdoor unit, wherein a first circuit to be tested is arranged in the indoor unit, a second circuit to be tested is arranged in the outdoor unit, and the air conditioner can be tested according to any one of the test systems for the current loop communication circuit.
In the test system for the current loop communication circuit provided by the embodiment of the application, the current loop communication circuit comprises a first circuit to be tested and a second circuit to be tested, and the test system comprises a first communication circuit, a second communication circuit and a control unit which are arranged on the same board card: the first communication circuit is connected with the second circuit to be tested; the second communication circuit is connected with the first circuit to be detected; the control unit comprises a switching circuit and a controller connected with the switching circuit, the switching circuit is respectively connected with the first communication circuit and the second communication circuit, the controller controls the switching circuit to enable the switching circuit, the first communication circuit and the second circuit to be tested to form a first test loop, or enable the switching circuit, the second communication circuit and the first circuit to be tested to form a second test loop, wherein the first test loop is used for testing the second circuit to be tested, and the second test loop is used for testing the first circuit to be tested. Compared with the prior art, the first communication circuit, the second communication circuit and the control unit are arranged on the same board card to serve as the test board, the first test circuit is used for testing the second circuit to be tested, or the second test circuit is used for testing the first circuit to be tested, so that the technical problem that the cost is increased due to the fact that the first circuit to be tested and the second circuit to be tested of the current loop communication circuit are respectively tested through the two board cards in the prior art is solved, the purpose of reducing the product cost is achieved, and the wiring complexity is reduced.
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 embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a schematic diagram of an alternative test system for a current loop communication circuit according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an alternative first communication circuit according to an embodiment of the present application;
FIG. 3 is a circuit diagram of an alternative first communication circuit according to an embodiment of the present application;
FIG. 4 is a circuit diagram of an alternative second communication circuit according to an embodiment of the present application; and
fig. 5 is a circuit diagram of an alternative test system for a current loop communication circuit according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or 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.
Example 1
Before describing further details of embodiments of the present application, an alternative test system for current loop communication circuits that may be used to implement the principles of the present application will be described with reference to fig. 1. In its most basic configuration, fig. 1 is a schematic diagram of a test system for a current loop communication circuit according to an embodiment of the present application. For descriptive purposes, the system architecture depicted is only one example of a suitable environment and is not intended to suggest any limitation as to the scope of use or functionality of the application. Neither should the system be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in FIG. 1.
As shown in fig. 1, in the test system for a current loop communication circuit provided in the embodiment of the present application, the current loop communication circuit includes a first circuit to be tested and a second circuit to be tested, and the test system includes a first communication circuit, a second communication circuit, and a control unit that are disposed on the same board card.
In an alternative, the first circuit to be tested may be disposed in a first device, the second circuit to be tested may be disposed in a second device, and the first device and the second device may be two devices needing communication located at different positions, such as an indoor unit and an outdoor unit of an air conditioner; the integrated circuit board can be a circuit board and serves as the test board of the application.
The first circuit to be tested and the second circuit to be tested form a current loop communication circuit, and communication between the first device and the second device is achieved.
It should be noted that in this application, the circuit structure of the first circuit to be tested is consistent with the circuit structure of the first communication circuit, and the circuit structure of the second circuit to be tested is consistent with the circuit structure of the second communication circuit, and the specific circuit structure will be further described below.
The first communication circuit is connected with the second circuit to be tested.
In the above scheme, the first communication circuit in the board card and the second circuit to be tested in the second device may form a current loop communication circuit.
The second communication circuit is connected with the first circuit to be tested.
In the above scheme, the second communication circuit in the board card and the first circuit to be tested in the first device may form a current loop communication circuit.
For example, an indoor unit of an air conditioner is provided with a first controller and a first circuit to be tested, and an outdoor unit is provided with a second controller and a second circuit to be tested. When the air conditioner normally operates, if the indoor unit needs to send data to the outdoor unit, the first controller of the indoor unit sends the data to the first circuit to be tested, the data is transmitted to the second circuit to be tested through current loop communication, and the data is sent to the second controller of the outdoor unit through the second circuit to be tested, so that communication between the indoor unit and the outdoor unit is completed. If the outdoor unit needs to send data to the indoor unit, the second controller of the outdoor unit sends data to the second circuit to be tested, the data is transmitted to the first circuit to be tested through current loop communication, and the data is sent to the first controller of the indoor unit through the first circuit to be tested, so that communication between the outdoor unit and the indoor unit is completed.
It should be noted that the data format of the communication between the first device and the second device may be a two-level "0" or "1" code, and specifically, in the circuit, may be a high level or a low level.
The control unit comprises a switching circuit and a controller connected with the switching circuit, the switching circuit is respectively connected with the first communication circuit and the second communication circuit, the controller controls the switching circuit to enable the switching circuit, the first communication circuit and the second circuit to be tested to form a first test loop, or enable the switching circuit, the second communication circuit and the first circuit to be tested to form a second test loop, wherein the first test loop is used for testing the second circuit to be tested, and the second test loop is used for testing the first circuit to be tested.
In an alternative, the switching circuit may implement switching between the first communication circuit and the second communication circuit, and the controller may control which circuit is switched to.
In an alternative embodiment, a second circuit under test in the outdoor unit of the air conditioner needs to be tested. The controller controls the switching circuit to enable the first communication circuit to be connected into a first test loop formed by the switching circuit, the first communication circuit and the second circuit to be tested so as to test the second circuit to be tested. In the test process, the controller sends data to the first communication circuit, the data are transmitted to the second circuit to be tested through current loop communication, the second circuit to be tested is sent to the second controller of the outdoor unit, and the second controller judges the normal or abnormal condition of the second circuit to be tested according to the received data; of course, the second controller may also return data according to the received data original path, and the controller in the board card may determine the normal or abnormal condition of the second circuit to be tested according to the returned data.
In another alternative embodiment, the first circuit to be tested in the indoor unit of the air conditioner needs to be tested. The controller controls the switching circuit to enable the second communication circuit to be connected into a second test loop formed by the switching circuit, the second communication circuit and the first circuit to be tested so as to test the first circuit to be tested. In the testing process, the controller sends data to the second communication circuit, the data is transmitted to the first circuit to be tested through current loop communication and is sent to the first controller of the indoor unit by the first circuit to be tested, and the first controller judges the normal or abnormal condition of the first circuit to be tested according to the received data; of course, the first controller may also return data according to the received data original path, and the controller in the board card may determine the normal or abnormal condition of the first circuit to be tested according to the returned data.
In the above embodiment, in a test system for a current loop communication circuit, the current loop communication circuit includes a first circuit to be tested and a second circuit to be tested, and the test system includes a first communication circuit, a second communication circuit and a control unit that are disposed on the same board: the first communication circuit is connected with the second circuit to be tested; the second communication circuit is connected with the first circuit to be detected; the control unit comprises a switching circuit and a controller connected with the switching circuit, the switching circuit is respectively connected with the first communication circuit and the second communication circuit, the controller controls the switching circuit to enable the switching circuit, the first communication circuit and the second circuit to be tested to form a first test loop, or enable the switching circuit, the second communication circuit and the first circuit to be tested to form a second test loop, wherein the first test loop is used for testing the second circuit to be tested, and the second test loop is used for testing the first circuit to be tested. Compared with the prior art, the first communication circuit, the second communication circuit and the control unit are arranged on the same board card to serve as the test board, the first test circuit is used for testing the second circuit to be tested, or the second test circuit is used for testing the first circuit to be tested, so that the technical problem that the cost is increased due to the fact that the first circuit to be tested and the second circuit to be tested of the current loop communication circuit are respectively tested through the two board cards in the prior art is solved, the purpose of reducing the product cost is achieved, and the wiring complexity is reduced.
The above-described embodiments of the present application are further illustrated below.
Fig. 2 shows a schematic diagram of an alternative first communication circuit. As shown in fig. 2, the first communication circuit includes a power module and a first optical coupling module, the power module supplies power to the first optical coupling module, wherein the power module includes a rectification filter unit and a voltage stabilization unit, one end of the rectification filter unit is connected with a live wire L of a mains supply, the other end is connected with the first optical coupling module and a signal line S through the voltage stabilization unit, and the signal line S is used for connecting the first communication circuit into the first test circuit or connecting the second communication circuit into the second test circuit.
In an alternative, the power module can provide power for the test system for the current loop communication circuit in the application; the first optocoupler module may be composed of a light emitting diode and a phototriode; the signal line can transmit data between the board card and the circuit to be tested.
Fig. 3 shows a circuit diagram of an alternative first communication circuit. As shown in fig. 3, the rectifying and filtering unit includes a first resistor R1, a first diode D1, and a first capacitor C1, wherein a first end of the first resistor R1 is connected to the live line L, a second end of the first resistor R1 is connected to a first end of a first capacitor C1 through a first diode D1, a first end of the first capacitor C1 is further connected to the first optical coupling module P1, and a second end of the first capacitor C1 is connected to the neutral line N of the commercial power.
In an alternative, the first resistor may be a single resistor or a plurality of resistors, and the plurality of resistors are connected in series on a line near the first diode; the first capacitor can be a large capacitor and is used for filtering out large ripples and providing stable voltage.
Specifically, after the voltage between the live line L and the zero line N is half-wave rectified and filtered through the first resistor R1, the first diode D1 and the first capacitor C1, a stable 24V voltage is formed at two ends of the first capacitor C1, and the lead at the S end of the signal line goes out to be connected with the S end of the first circuit to be tested or the second circuit to be tested, so that a test loop is formed.
Optionally, the voltage stabilizing unit includes a second diode D2, wherein a cathode of the second diode D2 is connected to the first terminal of the first capacitor C1, and an anode of the second diode D2 is connected to the second terminal of the first capacitor C1.
The second diode in the above scheme can make the voltage across the first capacitor more stable.
Optionally, the first communication circuit further comprises a second resistor R2, wherein the second resistor R2 is connected in parallel across the first capacitor C1.
In an alternative, the second resistor may be a discharge resistor of the first capacitor, and a time constant RC formed by the first resistor and the first capacitor determines a discharge speed of the first capacitor
The first resistor can prevent the residual voltage on the first capacitor and the grid voltage from overlapping to form high-voltage impact on a rear-stage device when the power plug is plugged or plugged fast and is in poor contact, and prevent the human body from being electrically shocked to cause injury after the power plug is pulled out.
Optionally, the first optical coupler module includes a first optical coupler P1 and a second optical coupler P2, wherein a light emitting diode of the first optical coupler P1 is connected to the controller, one end of a photo transistor of the first optical coupler P1 is connected to the power supply module, the other end of the photo transistor is connected to one end of a light emitting diode of the second optical coupler P2, the other end of the light emitting diode of the second optical coupler P2 is connected to the switching circuit, and a photo transistor of the second optical coupler P2 is connected to the controller.
In an alternative scheme, one end of a light emitting diode of the first optocoupler is connected with a 5V power supply, and the other end of the light emitting diode of the first optocoupler is used as a communication sending port and connected with a first sending pin of the controller, so as to send data received from the controller to the second circuit to be tested.
One end of a phototriode of the second optocoupler P2 is connected with a 5V power supply, and the other end of the phototriode is used as a communication receiving port and connected with a first receiving pin of the controller, and is used for sending data received from the second circuit to be tested to the controller.
Optionally, the first communication circuit further includes a second capacitor C2 and a third resistor R3, wherein the second capacitor C2 and the third resistor R3 are respectively connected in parallel across the light emitting diode of the second optocoupler P2.
The second capacitor and the third resistor in the scheme can prevent the light emitting diode of the second optocoupler from being triggered by mistake.
Optionally, the first communication circuit further comprises a third diode D3, wherein a cathode of the third diode D3 is connected to the output terminal of the first optical coupling module, and an anode of the third diode D3 is connected to the neutral line N.
The third diode in the above scheme can play a role in avoiding the interference of lightning stroke.
Optionally, the first communication circuit further comprises a fourth diode D4, wherein a cathode of the fourth diode D4 is connected to the switching circuit, and an anode of the fourth diode is connected to the output terminal of the first optical coupling module.
The fourth resistor in the above scheme can make the current conduct in a single direction.
Fig. 4 shows a circuit diagram of an alternative second communication circuit. As shown in fig. 4, the second communication circuit includes a second optical coupling module, the second optical coupling module includes a third optical coupling P3 and a fourth optical coupling P4, wherein, the light emitting diode of the third optical coupling P3 is connected with the controller, the phototriode one end of the third optical coupling P3 is connected with the switching circuit, the other end is connected with the light emitting diode one end of the fourth optical coupling P4, the light emitting diode other end of the fourth optical coupling P4 is connected with the zero line N of the commercial power, the phototriode of the fourth optical coupling P4 is connected with the controller.
In an alternative scheme, one end of a light emitting diode of the third optocoupler is connected with a 5V power supply, and the other end of the light emitting diode is used as a communication sending port and connected with a second sending pin of the controller, and is used for sending data received from the controller to the first circuit to be tested.
One end of a phototriode of the fourth optocoupler is connected with the 5V power supply, and the other end of the phototriode is used as a communication receiving port and connected with a second receiving pin of the controller, and the phototriode is used for sending data received from the first circuit to be tested to the controller.
Optionally, the second communication circuit further includes a third capacitor C3 and a fourth resistor R4, wherein the third capacitor C3 and the fourth resistor R4 are respectively connected in parallel across the light emitting diode of the fourth optocoupler P4.
The fourth resistor in the scheme can prevent the light emitting diode of the fourth optocoupler from being triggered by mistake.
Optionally, the second communication circuit further includes a fifth diode D5, wherein a cathode of the fifth diode D5 is connected to one end of a phototransistor of the third optocoupler P3, and an anode of the fifth diode D5 is connected to the neutral line.
The fifth diode in the scheme can avoid overvoltage and damage of the third optical coupler caused by wiring errors, and plays a role in protecting the third optical coupler.
Optionally, the switching circuit includes a first bidirectional optical coupler U1 and a second bidirectional optical coupler U2, wherein a light emitting diode of the first bidirectional optical coupler U1 is connected to the controller, one end of a bidirectional thyristor of the first bidirectional optical coupler U1 is connected to the signal line S, the other end of the bidirectional thyristor is connected to an output end of the first optical coupler module, a light emitting diode of the second bidirectional optical coupler U2 is connected to the controller, one end of a bidirectional thyristor of the second bidirectional optical coupler U2 is connected to the signal line S, and the other end of the bidirectional thyristor is connected to an input end of the second communication circuit.
In an alternative, one end of the light emitting diode of the first bidirectional optocoupler is connected with a 5V power supply, and the other end of the light emitting diode of the first bidirectional optocoupler is used as a communication permission port of the first device and is connected with a third sending pin of the controller, so as to lower or raise the level of the port.
One end of a light emitting diode of the second bidirectional optocoupler is connected with a 5V power supply, and the other end of the light emitting diode is used as a communication permission port of the second device and connected with a third sending pin of the controller for lowering or raising the level of the port.
Optionally, a protection element is disposed on the signal line, wherein the protection element comprises a thermistor or a fuse.
As mentioned above, in the present application, the circuit structure of the first circuit to be tested is identical to the circuit structure of the first communication circuit, and the circuit structure of the second circuit to be tested is identical to the circuit structure of the second communication circuit. This is because the current loop communication circuit is a loop, and is composed of a first circuit to be tested in the first device and a second circuit to be tested in the second device in a normal operating state. When a second circuit to be tested of the second equipment needs to be tested, the test loop comprises a first communication circuit in the board card and the second circuit to be tested of the second equipment; when the first circuit to be tested of the first device needs to be tested, the test loop comprises the second communication circuit in the board card and the first circuit to be tested of the first device.
The solution of the embodiment of the present application is further illustrated by fig. 5. Figure 5 shows a circuit diagram of an alternative test system for a current loop communication circuit. As shown in fig. 5, the test system is composed of a first communication circuit, a second communication circuit, a switching circuit, and a controller (not shown in the figure). The switching test of the second circuit to be tested and the first circuit to be tested is respectively realized by adding the first bidirectional optical coupler U1 and the second bidirectional optical coupler U2.
If a second circuit to be tested of a second device needs to be tested, the pin of the 'first device communication permission' is set to be low by the controller, the light emitting diode of the first bidirectional optical coupler U1 is conducted, and therefore the silicon controlled rectifier of the first bidirectional optical coupler is conducted, and the first communication circuit is connected into a first test loop formed by the switching circuit, the first communication circuit and the second circuit to be tested to test the second circuit to be tested. During specific testing, the second device is in a ready-to-receive state, that is, the "communication transmitting end" of the second circuit to be tested of the second device is set to a low level. Therefore, in the second circuit to be tested, the light emitting diode of the third optocoupler is conducted, and the phototriode is in a low-resistance state.
At this moment, when the first communication circuit needs to send high level "1", the "communication sending end" of the first communication circuit is set to low level, then the light emitting diode of the first optocoupler P1 is conducted, the phototriode is turned on, so the current loop has current to pass through, the light emitting diode of the fourth optocoupler of the second device has current to be conducted, so the phototriode of the fourth optocoupler is conducted, and the "communication receiving end" of the second circuit to be tested receives high level "1" if pulled high, which indicates that the second circuit to be tested is normal. When the first communication circuit needs to send low level '0', a 'communication sending end' of the first communication circuit is set to be high level, a light emitting diode of the first optocoupler P1 is not conducted, the phototriode is not turned on, so that no current passes through a current loop, a light emitting diode of a fourth optocoupler of the second device is not conducted, so that the phototriode of the fourth optocoupler is not conducted, and if the 'communication receiving end' of the second circuit to be tested is still low level, the second circuit to be tested is indicated to be normal.
If the first circuit to be tested of the first device needs to be tested, the pin of the 'second device communication permission' is set to be low by the controller, the light emitting diode of the second bidirectional optical coupler U2 is conducted, therefore, the thyristor of the second bidirectional optical coupler is conducted, and the second communication circuit is connected into a second test loop formed by the switching circuit, the second communication circuit and the first circuit to be tested to test the first circuit to be tested. The testing principle is communicated with the testing of the second circuit to be tested, and the description is omitted here.
Through the above-mentioned embodiment of this application for in the test system of current loop communication circuit, current loop communication circuit includes first circuit and the second circuit that awaits measuring, and test system is including setting up first communication circuit, second communication circuit and the control unit on same integrated circuit board: the first communication circuit is connected with the second circuit to be tested; the second communication circuit is connected with the first circuit to be detected; the control unit comprises a switching circuit and a controller connected with the switching circuit, the switching circuit is respectively connected with the first communication circuit and the second communication circuit, the controller controls the switching circuit to enable the switching circuit, the first communication circuit and the second circuit to be tested to form a first test loop, or enable the switching circuit, the second communication circuit and the first circuit to be tested to form a second test loop, wherein the first test loop is used for testing the second circuit to be tested, and the second test loop is used for testing the first circuit to be tested. Compared with the prior art, the first communication circuit, the second communication circuit and the control unit are arranged on the same board card to serve as the test board, the first test circuit is used for testing the second circuit to be tested, or the second test circuit is used for testing the first circuit to be tested, so that the technical problem that the cost is increased due to the fact that the first circuit to be tested and the second circuit to be tested of the current loop communication circuit are respectively tested through the two board cards in the prior art is solved, and the purpose of reducing the product cost is achieved. It is easy to notice that the scheme not only utilizes the same board card to test the current loop communication circuit, reduces the product cost, but also only needs one signal wire, avoids the phenomenon of wiring error of testers, and improves the fool-proof performance of the test.
Example 2
According to the embodiment of the application, the air conditioner comprises an indoor unit and an outdoor unit, wherein a first circuit to be tested is arranged in the indoor unit, a second circuit to be tested is arranged in the outdoor unit, and the air conditioner can be tested according to any one of the test systems for the current loop communication circuit in the embodiment 1.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (13)

1. The utility model provides a test system for current loop communication circuit, its characterized in that, current loop communication circuit includes first circuit and the second circuit that awaits measuring, and the first circuit that awaits measuring is located the indoor set of air conditioner, the second circuit that awaits measuring is located the off-premises station of air conditioner, test system is including setting up first communication circuit, second communication circuit and the control unit on same integrated circuit board:
the first communication circuit is connected with the second circuit to be tested;
the second communication circuit is connected with the first circuit to be tested;
the control unit comprises a switching circuit and a controller connected with the switching circuit, the switching circuit is respectively connected with the first communication circuit and the second communication circuit, the controller controls the switching circuit to enable the switching circuit, the first communication circuit and the second circuit to be tested to form a first test loop or enable the switching circuit, the second communication circuit and the first circuit to be tested to form a second test loop, wherein the first test loop is used for testing the second circuit to be tested, and the second test loop is used for testing the first circuit to be tested;
the circuit structure of the first circuit to be tested is consistent with that of the first communication circuit, and the circuit structure of the second circuit to be tested is consistent with that of the second communication circuit;
wherein the first communication circuit is connected to the first test loop through a signal line, or the second communication circuit is connected to the second test loop through a signal line;
the first communication circuit comprises a power supply module and a first optical coupling module, the power supply module supplies power to the first optical coupling module, the power supply module comprises a rectifying and filtering unit and a voltage stabilizing unit, one end of the rectifying and filtering unit is connected with a live wire of a mains supply, and the other end of the rectifying and filtering unit is respectively connected with the first optical coupling module and the signal wire through the voltage stabilizing unit;
the switching circuit comprises a first bidirectional optical coupler and a second bidirectional optical coupler, wherein a light emitting diode of the first bidirectional optical coupler is connected with the controller, one end of a bidirectional controllable silicon of the first bidirectional optical coupler is connected with the signal line, the other end of the bidirectional controllable silicon of the first bidirectional optical coupler is connected with an output end of the first optical coupler module, the light emitting diode of the second bidirectional optical coupler is connected with the controller, one end of a bidirectional controllable silicon of the second bidirectional optical coupler is connected with the signal line, and the other end of the bidirectional controllable silicon of the second bidirectional optical coupler is connected with an input end of the second communication circuit.
2. The system of claim 1, wherein the rectifying-filtering unit comprises a first resistor, a first diode, and a first capacitor, wherein,
the first end of the first resistor is connected with the live wire, the second end of the first resistor is connected with the first end of the first capacitor through the first diode, the first end of the first capacitor is connected with the first optical coupling module, and the second end of the first capacitor is connected with the zero line of the commercial power.
3. The system of claim 2, wherein the voltage regulation unit comprises a second diode, wherein,
the cathode of the second diode is connected with the first end of the first capacitor, and the anode of the second diode is connected with the second end of the first capacitor.
4. The system of claim 2, wherein the first communication circuit further comprises a second resistor, wherein,
the second resistor is connected in parallel to two ends of the first capacitor.
5. The system of claim 1, wherein the first light coupling module comprises a first light coupling and a second light coupling, wherein,
the light emitting diode of the first optocoupler is connected with the controller, one end of a phototriode of the first optocoupler is connected with the power module, the other end of the phototriode of the first optocoupler is connected with one end of the light emitting diode of the second optocoupler, the other end of the light emitting diode of the second optocoupler is connected with the switching circuit, and the phototriode of the second optocoupler is connected with the controller.
6. The system of claim 5, wherein the first communication circuit further comprises a second capacitor and a third resistor, wherein,
and the second capacitor and the third resistor are respectively connected in parallel at two ends of a light emitting diode of the second optocoupler.
7. The system of claim 1, wherein the first communication circuit further comprises a third diode, wherein,
the cathode of the third diode is connected with the output end of the first optocoupler module, and the anode of the third diode is connected with a zero line of the commercial power.
8. The system of claim 1, wherein the first communication circuit further comprises a fourth diode, wherein,
the cathode of the fourth diode is connected with the switching circuit, and the anode of the fourth diode is connected with the output end of the first optocoupler module.
9. The system of claim 1, wherein the second communication circuit comprises a second optical coupler module comprising a third optical coupler and a fourth optical coupler, wherein,
the light emitting diode of third opto-coupler with the controller is connected, the phototriode one end of third opto-coupler with switching circuit connects, the other end with the light emitting diode one end of fourth opto-coupler is connected, the light emitting diode other end of fourth opto-coupler is connected with the zero line of commercial power, the phototriode of fourth opto-coupler with the controller is connected.
10. The system of claim 9, wherein the second communication circuit further comprises a third capacitor and a fourth resistor, wherein,
and the third capacitor and the fourth resistor are respectively connected in parallel at two ends of a light emitting diode of the fourth optocoupler.
11. The system of claim 9, wherein the second communication circuit further comprises a fifth diode, wherein,
and the cathode of the fifth diode is connected with one end of a phototriode of the third optocoupler, and the anode of the fifth diode is connected with the zero line.
12. The system of claim 1, wherein a protection element is disposed on the signal line, wherein the protection element comprises a thermistor or a fuse.
13. An air conditioner comprising an indoor unit and an outdoor unit, wherein the indoor unit is provided with the first circuit to be tested, and the outdoor unit is provided with the second circuit to be tested, wherein the air conditioner can be tested by the test system for the current loop communication circuit according to any one of claims 1 to 12.
CN201911158490.7A 2019-11-22 2019-11-22 Test system for current loop communication circuit and air conditioner Active CN110848934B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911158490.7A CN110848934B (en) 2019-11-22 2019-11-22 Test system for current loop communication circuit and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911158490.7A CN110848934B (en) 2019-11-22 2019-11-22 Test system for current loop communication circuit and air conditioner

Publications (2)

Publication Number Publication Date
CN110848934A CN110848934A (en) 2020-02-28
CN110848934B true CN110848934B (en) 2022-01-28

Family

ID=69603889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911158490.7A Active CN110848934B (en) 2019-11-22 2019-11-22 Test system for current loop communication circuit and air conditioner

Country Status (1)

Country Link
CN (1) CN110848934B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140022614A (en) * 2012-08-14 2014-02-25 한국철도공사 Apparatus for inspection of printed circuit board
CN206639499U (en) * 2016-12-01 2017-11-14 北京电子科技职业学院 Air conditioning equipment of car failure is set and test system
CN108981091A (en) * 2018-07-20 2018-12-11 海信(广东)空调有限公司 A kind of current loop communication circuit and air conditioner
CN208921836U (en) * 2018-09-30 2019-05-31 青岛海尔智能电子有限公司 A kind of air-conditioning control panel detecting tool
CN209432956U (en) * 2018-09-30 2019-09-24 青岛海尔智能电子有限公司 A kind of air conditioner outdoor unit control panel detecting tool

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103439642B (en) * 2013-09-10 2015-09-16 北京英博新能源有限公司 A kind of AC chopping bridge IGBT on-line checkingi circuit
CN108732452B (en) * 2018-05-31 2020-05-15 广东美芝制冷设备有限公司 Air conditioning system and communication detection method and device of current loop communication circuit of air conditioning system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140022614A (en) * 2012-08-14 2014-02-25 한국철도공사 Apparatus for inspection of printed circuit board
CN206639499U (en) * 2016-12-01 2017-11-14 北京电子科技职业学院 Air conditioning equipment of car failure is set and test system
CN108981091A (en) * 2018-07-20 2018-12-11 海信(广东)空调有限公司 A kind of current loop communication circuit and air conditioner
CN208921836U (en) * 2018-09-30 2019-05-31 青岛海尔智能电子有限公司 A kind of air-conditioning control panel detecting tool
CN209432956U (en) * 2018-09-30 2019-09-24 青岛海尔智能电子有限公司 A kind of air conditioner outdoor unit control panel detecting tool

Also Published As

Publication number Publication date
CN110848934A (en) 2020-02-28

Similar Documents

Publication Publication Date Title
CN105629098A (en) Power over data lines detection and classification scheme
US20060050465A1 (en) Uninterruptible power supply apparatus controllable by monitoring apparatus via network
CN110071944B (en) Multi-protocol adaptation device and method for flight parameter equipment
US20060175903A1 (en) Sensing socket assembly
CN102904235A (en) Ethernet power receiving circuit and electrostatic protection circuit thereof
CA2225362C (en) Repeater apparatus having isolation circuit
CN210724722U (en) Hot plug control circuit
US11512860B2 (en) Protection circuit and air conditioner
CN110848934B (en) Test system for current loop communication circuit and air conditioner
US20170181240A1 (en) High voltage resistant transmitting circuit for devices communicating on dali bus
CN105278483A (en) Surge monitoring device for SPD, intelligent SPD and surge protection system
CN112583682A (en) Bus communication circuit and device
US20170324270A1 (en) Standby circuit, and outlet, plug, and device having the same
US6646546B1 (en) Multiple-port gigabit ethernet distribution switch
CN106019170B (en) A kind of power supply adaptor detection device
CN218071012U (en) Network port protection circuit, powered device and power supply system
CN109917893A (en) A kind of server system overcurrent protective device and its method
CN211744477U (en) Power field operation and maintenance communication network signal detection device
WO2023076174A1 (en) Wireless charging of power tool battery packs
CN213906694U (en) Bus communication circuit and device
CN105180383A (en) Communication mode control method and system and air conditioner debugging device
CN102209333A (en) Power supply control method and equipment
CN103309420A (en) Delay startup circuit and fan device with same
CN209746406U (en) equipment control circuit of intelligent granary
CN218213382U (en) Wrong line detection circuitry and air conditioner

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