Communication circuits, transfer equipment and communication systems
By designing a communication circuit including a control circuit, a first communication circuit and a second communication circuit, the problem of data packet loss in long-distance multi-machine communication is solved, and reliable communication transmission is achieved.
Patent Information
- Application Number
- CN202420702897.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-07
- Publication Date
- 2025-04-08
- Estimated Expiration
- 2034-04-07
AI Technical Summary
In harsh environments, data packet loss occurs in long-distance multi-machine communication, affecting the reliability of communication.
A communication circuit is designed, including a control circuit, a first communication circuit and a second communication circuit. Through the control circuit, a communication request signal is received in real time, a transmission and reception channel is established, and a data signal transfer between the main control device and the controlled device is realized.
It effectively reduces the probability of packet loss of long-distance communication data and ensures reliable communication transmission, especially in harsh environments.
Smart Images

Figure CN222736153U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of remote communication, in particular to a communication circuit, transfer equipment and a communication system. Background Art
[0002] At present, in long-distance multi-machine communication applications of about 100 meters, RS485 wired communication technology is usually used for comprehensive reliability and cost considerations. Theoretically, RS485 communication can reach 1200 meters, but in actual harsh working environments, its transmission distance may be attenuated to 110-140 meters, and data packet loss may occur. Utility Model Content
[0003] The main purpose of the utility model is to provide a communication circuit, transfer equipment and communication system, aiming to reduce the probability of packet loss in long-distance communication and ensure reliable transmission of communication.
[0004] In order to achieve the above-mentioned object, the utility model provides a communication circuit, wherein the communication circuit comprises:
[0005] Control circuit;
[0006] A first communication circuit is connected in series between the control circuit and the main control device;
[0007] A second communication circuit is connected in series between the control circuit and the controlled device;
[0008] The control circuit is used to output corresponding enable signals to the first communication circuit and the second communication circuit respectively when receiving a communication request signal output by the first communication circuit or the second communication circuit, and control the establishment of a corresponding transceiver channel between the first communication circuit and the second communication circuit to transmit data signals between the master control device and the controlled device.
[0009] In some embodiments, the communication request signal includes a sending request signal, and the enable signal includes a receiving enable signal and a sending enable signal;
[0010] The first communication circuit has a first transceiver terminal, a first connection terminal and a first enabling terminal, the first transceiver terminal and the first enabling terminal are electrically connected to the control circuit respectively, and the first connection terminal is used to connect to the main control device through a first communication line;
[0011] The second communication circuit has a second transceiver terminal, a second connection terminal and a second enabling terminal, the second transceiver terminal and the second enabling terminal are electrically connected to the control circuit respectively, and the second connection terminal is used to connect to the controlled device through a second communication line;
[0012] The control circuit is further configured to output a receiving enable signal to the second communication circuit and keep outputting the sending enable signal to the first communication circuit when receiving the sending request signal output by the master control device, so as to establish a sending channel from the master control device to the controlled device; and
[0013] When receiving the sending request signal output by the controlled device, a receiving enable signal is output to the first communication circuit, and the sending enable signal output to the second communication circuit is maintained to establish a sending channel from the controlled device to the master device.
[0014] In some embodiments, the first communication circuit or the second communication circuit comprises:
[0015] A transceiver circuit, comprising a third terminal, a third transceiver terminal and a third enabling terminal, wherein the third terminal is used for being electrically connected to a master control device or a controlled device;
[0016] an isolation circuit, electrically connected to the third transceiver terminal, the third enable terminal and the control circuit of the transceiver circuit respectively, and used for performing photoelectric isolation between the transceiver circuit and the control circuit;
[0017] The transceiver circuit is used to transmit the received data signal to the control circuit according to the received enable signal, or transmit the data signal output by the control circuit.
[0018] In some embodiments, the enable signal includes a receiving enable signal and a sending enable signal, and the transceiver circuit includes:
[0019] A half-duplex chip, comprising a first differential signal pin, a second differential signal pin, a sending pin, a first enable pin, a second enable pin, a receiving pin, a power pin and a ground pin, wherein the sending pin, the first enable pin, the second enable pin and the receiving pin are electrically connected to the isolation circuit respectively, the power pin is used to access the first power supply, and the ground pin is grounded; wherein,
[0020] The third transceiver terminal includes the transmitting pin and the receiving pin, and the third enable terminal includes the first enable pin and the second enable pin;
[0021] The half-duplex chip is also used to connect the transmission pin to the connection terminal when receiving the transmission enable signal, and to connect the reception pin to the connection terminal when receiving the reception enable signal.
[0022] In some embodiments, the transceiver circuit further includes:
[0023] A first capacitor, a first end of which is used to connect to the first power supply, and a second end of which is grounded;
[0024] a first resistor and a second resistor, wherein a first end of the first resistor and a first end of the second resistor are respectively used to be electrically connected to the master control device or the controlled device;
[0025] a third resistor and a fourth resistor, wherein a first end of the third resistor is connected to a second end of the first resistor, and a first end of the fourth resistor is connected to a second end of the second resistor;
[0026] a fifth resistor, the fifth resistor being connected in parallel to the second end of the third resistor and the second end of the fourth resistor;
[0027] A sixth resistor and a seventh resistor, wherein the first end of the sixth resistor is respectively connected to the second end of the third resistor and the first differential signal pin, the second end of the sixth resistor is grounded, the second end of the seventh resistor is connected to the second end of the fourth resistor and the second differential signal pin, and the first end of the seventh resistor is used to access the first power supply.
[0028] In some embodiments, the first communication circuit or the second communication circuit further includes:
[0029] The surge suppression circuit is electrically connected to the transceiver circuit and is used to discharge the surge received by the transceiver circuit.
[0030] In some embodiments, the surge suppression circuit comprises:
[0031] A first electrostatic tube is connected in parallel to a first end of the first resistor and a first end of the second resistor;
[0032] A second electrostatic tube and a third electrostatic tube, wherein the second electrostatic tube is connected in series between the second end of the first resistor and the ground, and the third electrostatic tube is connected in series between the second end of the second resistor and the ground.
[0033] In some embodiments, the isolation circuit specifically includes multiple optoelectronic isolation chips, the first ends of the multiple optoelectronic isolation chips are electrically connected to the transmitting pin, the first enable pin, the second enable pin and the receiving pin respectively, and the second ends of the multiple optoelectronic isolation chips are connected to the control circuit.
[0034] The utility model also provides a transfer device, wherein the transfer device is integrated with the above-mentioned communication circuit.
[0035] The utility model also provides a communication system, including a main control device, at least one controlled device and the above transfer device;
[0036] The transfer device is connected in series between the main control device and at least one of the controlled devices.
[0037] The technical solution of the utility model adopts a control circuit, a first communication circuit and a second communication circuit to form a communication circuit, which is connected in series between a main control device and a controlled device, and transfers the data signal between the main control device and the controlled device. The control circuit receives the communication request signal output by the main control device or the controlled device in real time, controls the first communication circuit and the second communication circuit to establish a corresponding receiving or sending channel, so that the control circuit can transfer the received data signal, thereby reducing the problem of packet loss caused by long-distance transmission data due to the harsh environment when the main control device communicates with controlled devices such as air conditioners and fans. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the utility model or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0039] Figure 1 This is a schematic diagram of the structure of an embodiment of the communication circuit of the utility model;
[0040] Figure 2 It is a structural schematic diagram of another embodiment of the communication circuit of the utility model;
[0041] Figure 3 This is a structural schematic diagram of another embodiment of the communication circuit of the utility model;
[0042] Figure 4 It is a structural schematic diagram of an embodiment of the transfer equipment of the utility model;
[0043] Figure 5 A circuit connection diagram of an embodiment of a communication circuit of the utility model;
[0044] Figure 6 This is a circuit connection diagram of another embodiment of the communication circuit of the utility model.
[0045] Description of Figure Numbers:
[0046] Label name Label name 100 Transfer equipment 300 Controlled equipment 110 Control Circuit IC1 MCU chip 120 First communication circuit U1 Half-duplex chip 121 Transceiver circuit D1~D3 Multiple optoelectronic isolation chips 122 Isolation circuit TVS1~TVS3 The first electrostatic tube ~ the third electrostatic tube 130 Second communication circuit C1 First capacitor 140 Surge suppression circuit R1~R7 The first resistor to the seventh resistor 200 Master device
[0047] The realization of the purpose, functional features and advantages of the utility model will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0049] In addition, in the present utility model, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present utility model.
[0050] The utility model provides a communication circuit.
[0051] Reference Figure 1 In one embodiment, the communication circuit comprises:
[0052] Control circuit 110;
[0053] A first communication circuit 120, connected in series between the control circuit 110 and the main control device;
[0054] A second communication circuit 130, connected in series between the control circuit 110 and the controlled device;
[0055] The control circuit 110 is used to output corresponding enable signals to the first communication circuit 120 and the second communication circuit 130 respectively when receiving a communication request signal output by the first communication circuit 120 or the second communication circuit 130, so as to control the establishment of a corresponding transceiver channel between the first communication circuit 120 and the second communication circuit 130 to transmit data signals between the master control device and the controlled device.
[0056] It should be noted that in large places such as warehouses and base stations, multiple air conditioners are usually installed, and the staff can control these air conditioners through the control terminal. However, due to the large size of the venue, the staff usually need to control these devices at a long distance, and in harsh working environments, the transmission distance of wired communication may be attenuated from 1200 meters to 110-140 meters, and there will be data packet loss. Therefore, it is impossible to control the air conditioner and other equipment well, or receive the monitoring information output by the air conditioner.
[0057] In order to prevent the problem of packet loss in long-distance data transmission due to a harsh environment when the main control device communicates with the controlled devices such as air conditioners and fans, in this embodiment, a communication circuit is proposed, including a control circuit 110, a first communication circuit 120 and a second communication circuit 130, wherein the control circuit 110 may include Figure 5 The single-chip microcomputer chip IC1 and its peripheral circuits, or the MCU (micro control unit) and its peripheral circuits, etc., the first communication circuit 120 and the second communication circuit 130 are of the same structure, and can be 485 communication, USB communication, CAN communication, RS232 and other communication methods.
[0058] Specifically, the control circuit 110 receives the communication request signal output by the master device or the controlled device in real time through the first communication circuit 120 and the second communication circuit 130. For example, when the master device needs to control the controlled device, the master device outputs the communication request signal to the control circuit 110 through the first communication circuit 120, so that the control circuit 110 controls the first communication circuit 120 and the second communication circuit 130 to establish a channel for outputting data signals from the master device to the controlled device, and the control circuit 110 transfers the data signal received by the first communication circuit 120 and transmits it through the second communication circuit 130.
[0059] When the controlled device needs to output monitoring information to the main control device, the controlled device outputs a communication request signal to the control circuit 110 through the first communication circuit 120, so that the control circuit 110 controls the first communication circuit 120 and the second communication circuit 130 to establish a channel for the controlled device to output data signals to the main control device, and the control circuit 110 transfers the data signal received by the second communication circuit 130 and transmits it through the first communication circuit 120.
[0060] The technical solution of the utility model adopts a control circuit 110, a first communication circuit 120 and a second communication circuit 130 to form a communication circuit, which is connected in series between a main control device and a controlled device, and transfers the data signal between the main control device and the controlled device. The control circuit 110 receives the communication request signal output by the main control device or the controlled device in real time, and controls the first communication circuit 120 and the second communication circuit 130 to establish a corresponding receiving or sending channel, so that the control circuit 110 can transfer the received data signal, thereby reducing the problem of packet loss caused by long-distance transmission of data due to harsh environment when the main control device communicates with controlled devices such as air conditioners and fans.
[0061] Reference Figure 1 In one embodiment, the communication request signal includes a sending request signal, and the enable signal includes a receiving enable signal and a sending enable signal;
[0062] The first communication circuit 120 has a first transceiver terminal, a first connection terminal and a first enabling terminal, the first transceiver terminal and the first enabling terminal are electrically connected to the control circuit 110 respectively, and the first connection terminal is used to connect to the main control device through a first communication line;
[0063] The second communication circuit 130 has a second transceiver terminal, a second connection terminal and a second enable terminal, the second transceiver terminal and the second enable terminal are electrically connected to the control circuit 110 respectively, and the second connection terminal is used to connect to the controlled device through a second communication line;
[0064] The control circuit 110 is further configured to output a receiving enable signal to the second communication circuit 130 and keep outputting the sending enable signal to the first communication circuit 120 when receiving the sending request signal output by the master device, so as to establish a sending channel from the master device to the controlled device; and
[0065] When receiving the sending request signal output by the controlled device, a receiving enable signal is output to the first communication circuit 120, and the sending enable signal output to the second communication circuit 130 is maintained to establish a sending channel from the controlled device to the master device.
[0066] In this embodiment, the control circuit 110 outputs a sending enable signal to the first communication circuit 120 and the second communication circuit 130 by default, so that the control circuit 110 can receive the communication request signals sent by the master device and the controlled device in real time, and adjust the output enable signal in time according to the received communication request signal.
[0067] Specifically, the main control device needs to control the operation of the air conditioner and the fan. When the main control device outputs a sending request signal to the control circuit 110, the control circuit 110 maintains the sending enable signal output to the first communication circuit 120, and outputs a receiving enable signal to the second communication circuit 130, so that the first communication circuit 120 and the second communication circuit 130 establish a sending channel from the main control device to the controlled device.
[0068] When the master control device needs to receive monitoring information of the air conditioner and the fan, so that the master control device outputs a receiving request signal to the control circuit 110, or when the controlled device needs to report monitoring information to the master control device, so that the controlled device outputs a sending request signal to the control circuit 110, the control circuit 110 maintains the sending enable signal output to the second communication circuit 130, and outputs a receiving enable signal to the first communication circuit 120, so that the first communication circuit 120 and the second communication circuit 130 establish a sending channel from the controlled device to the master control device.
[0069] In addition, a timer is integrated in the control circuit 110. After the control circuit 110 receives the receiving request signal, it detects whether a data signal is input within a preset timing time.
[0070] Specifically, the control circuit 110 includes the above-mentioned single-chip microcomputer chip IC1 and its peripheral circuits as an example for explanation. At this time, the single-chip microcomputer chip has three pins TXD1, RXD1, and 485EN1 respectively connected to the first communication circuit 120, and three pins TXD2, RXD2, and 485EN2 respectively connected to the second communication circuit 130, wherein TXD1 or TXD2 is used to send a data signal to the corresponding communication circuit, RXD1 or RXD2 is used to receive the data signal output by the corresponding communication circuit, and 485EN1 or 485EN2 is used to output an enable signal to the corresponding communication circuit.
[0071] After the communication circuit is powered on, the single-chip microcomputer chip first performs routine initialization operations, and then outputs a receive enable signal to 485EN1 and 485EN2, so that the single-chip microcomputer chip receives the communication request signals output by the devices at both ends in real time. When the master device outputs a receive request signal, that is, when RXD1 receives the corresponding flag bit, the single-chip microcomputer chip outputs a send enable signal to 485EN2, and detects whether the data signal is received within the timing time of the timer. After receiving the data signal, the data signal is transferred and output to the first communication circuit, and detects whether the controlled device needs to receive the data signal, that is, detects whether RXD2 receives the corresponding flag bit. When the receive request signal output by the controlled device is detected, the single-chip microcomputer chip re-outputs the receive enable signal to 485EN2, and outputs the send enable signal to 485EN1. After receiving the data signal, the single-chip microcomputer chip transfers the data signal to the second communication circuit.
[0072] During this period, if no data signal is input within the preset timing time, the receiving request signal is output to the first communication circuit 120 and the second communication circuit 130 respectively to continue to receive the communication request signal sent by the master device and the controlled device in real time.
[0073] Reference Figure 2 In one embodiment, the first communication circuit 120 or the second communication circuit 130 includes:
[0074] The transceiver circuit 121 has a third terminal, a third transceiver terminal and a third enable terminal, wherein the third terminal is used to be electrically connected to a master control device or a controlled device;
[0075] an isolation circuit 122, electrically connected to the third transceiver terminal, the third enable terminal and the control circuit 110 of the transceiver circuit 121, respectively, for performing photoelectric isolation between the transceiver circuit 121 and the control circuit 110;
[0076] The transceiver circuit 121 is used to transmit the received data signal to the control circuit 110 according to the received enable signal, or transmit the data signal output by the control circuit 110.
[0077] In this embodiment, since the main control device and the controlled device are far apart and may be in different environments, the ground potentials on both sides may be different when the circuit is connected. Therefore, an isolation circuit 122 needs to be set between the transceiver circuit 121 and the control circuit 110 to isolate the control circuit 110 from the two ends of the communication line.
[0078] When the master device communicates with the controlled device, the transceiver circuit 121 converts the communication request signal or data signal output by one party into a signal that can be recognized by the control circuit 110, and outputs it to the control circuit 110 after isolation. The control circuit 110 transfers the signal, and then the other party's transceiver circuit 121 converts it back into the original communication format signal and sends it to the other party's device, thereby realizing the signal transfer transmission between the master device and the controlled device.
[0079] Reference Figure 1 and Figure 6 In one embodiment, the enable signal includes a receiving enable signal and a sending enable signal, and the transceiver circuit 121 includes:
[0080] The half-duplex chip U1 has a first differential signal pin, a second differential signal pin, a sending pin, a first enable pin, a second enable pin, a receiving pin, a power pin and a ground pin. The sending pin, the first enable pin, the second enable pin and the receiving pin are electrically connected to the isolation circuit 122 respectively. The power pin is used to access the first power supply, and the ground pin is grounded; wherein,
[0081] The third transceiver terminal includes the transmitting pin and the receiving pin, and the third enable terminal includes the first enable pin and the second enable pin;
[0082] The half-duplex chip U1 is also used to connect the transmission pin to the connection terminal when receiving the transmission enable signal, and to connect the reception pin to the connection terminal when receiving the reception enable signal.
[0083] In this embodiment, 485 communication is adopted between the master control device and the controlled device, so the communication line connected to the transceiver circuit 121 includes two differential signal lines. Therefore, when the half-duplex chip U1 is connected to the communication line, the first differential signal pin is used to connect to the first differential signal line, and the second differential signal pin is used to connect to the second differential signal line.
[0084] Therefore, when the master device or the controlled device outputs a signal, the first differential signal pin and the second differential signal pin of the half-duplex chip U1 are respectively connected to a pair of differential signals, and the differential signals are converted and processed, and the converted signals are input into the control circuit 110 through the sending pin.
[0085] When the control circuit 110 transfers and outputs the signal, the half-duplex chip U1 receives the signal output by the control circuit 110 through the receiving pin, and performs signal conversion processing, and outputs the converted pair of differential signals through the first differential signal pin and the second differential signal pin on the other side, and transmits them to the corresponding device through two differential signal lines.
[0086] Reference Figure 1 and Figure 6 In one embodiment, the transceiver circuit 121 further includes:
[0087] A first capacitor C1, a first end of which is used to connect to the first power supply, and a second end of which is grounded;
[0088] A first resistor R1 and a second resistor R2, wherein a first end of the first resistor R1 and a first end of the second resistor R2 are respectively used to be electrically connected to the master control device or the controlled device;
[0089] a third resistor R3 and a fourth resistor R4, wherein a first end of the third resistor R3 is connected to a second end of the first resistor R1, and a first end of the fourth resistor R4 is connected to a second end of the second resistor R2;
[0090] a fifth resistor R5, the fifth resistor R5 being connected in parallel to the second end of the third resistor R3 and the second end of the fourth resistor R4;
[0091] A sixth resistor R6 and a seventh resistor R7, wherein the first end of the sixth resistor R6 is respectively connected to the second end of the third resistor R3 and the first differential signal pin, the second end of the sixth resistor R6 is grounded, the second end of the seventh resistor R7 is connected to the second end of the fourth resistor R4 and the second differential signal pin, and the first end of the seventh resistor R7 is used to access the first power supply.
[0092] In this embodiment, the first capacitor C1 is used to perform power supply filtering on the connected first power supply to maintain the stability of the first power supply; the first resistor R1 and the third resistor R3 are current limiting resistors of the first differential signal pin, the second resistor R2 and the fourth resistor R4 are current limiting resistors of the second differential signal pin, the sixth resistor R6 is a pull-down resistor of the first differential signal pin, and the seventh resistor R7 is a pull-down resistor of the second differential signal pin.
[0093] Reference Figure 3 and Figure 6In one embodiment, the first communication circuit 120 or the second communication circuit 130 further includes:
[0094] The surge suppression circuit 140 is electrically connected to the transceiver circuit 121 and is used to discharge the surge received by the transceiver circuit 121 .
[0095] In this embodiment, the surge suppression circuit 140 includes:
[0096] A first electrostatic tube TVS1 is connected in parallel to a first end of the first resistor R1 and a first end of the second resistor R2;
[0097] The second electrostatic tube TVS2 and the third electrostatic tube TVS3 are connected in series between the second end of the first resistor R1 and the ground, and the third electrostatic tube TVS3 is connected in series between the second end of the second resistor R2 and the ground.
[0098] In this embodiment, since the connection terminal of the transceiver circuit 121 is directly connected to the external communication line, and the external communication line is likely to transmit surges to the first communication circuit 120 or the second communication circuit 130 due to thunderstorms, internal interference in the equipment terminal, etc. during transmission, the first electrostatic tube TVS1 is provided to discharge the differential-mode surges between the two differential signal lines in the communication line, and the second electrostatic tube TVS2 and the third electrostatic tube TVS3 can respectively discharge the differential-mode surges of the two differential signal lines.
[0099] Reference Figure 2 and Figure 6 In one embodiment, the isolation circuit 122 specifically includes a plurality of optoelectronic isolation chips D1, D2 and D3, the first ends of the plurality of optoelectronic isolation chips D1, D2 and D3 are electrically connected to the transmitting pin, the first enable pin, the second enable pin and the receiving pin respectively, and the second ends of the plurality of optoelectronic isolation chips D1, D2 and D3 are connected to the control circuit 110.
[0100] In this embodiment, the half-duplex chip U1 has a first enable pin and a second enable pin with opposite enable levels, wherein the first enable pin is used to enable the sending pin, and the second enable pin is used to enable the receiving pin. Assuming that the enable level of the first enable pin is low and the enable level of the second enable pin is high, when the control circuit 110 outputs a high-level enable signal, the second enable pin enables the receiving pin, so that the half-duplex chip U1 can receive the signal output by the control circuit 110; when the control circuit 110 outputs a low-level enable signal, the first enable pin enables the sending pin, so that the half-duplex chip U1 can output the signal output by the master device or the controlled device to the control circuit 110.
[0101] like Figure 4 As shown, the utility model also proposes a transfer device 100, which includes the above-mentioned communication circuit. The specific structure of the communication circuit refers to the above-mentioned embodiment. Since the transfer device 100 adopts all the technical solutions of all the above-mentioned embodiments, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be repeated here one by one.
[0102] It should be noted that, compared with other transfer devices in the prior art, this transfer device mainly includes a control circuit 110 and two identical communication circuits. The device structure and component circuit design are simpler and smaller in size, so that while being able to achieve communication transfer, it can also minimize costs.
[0103] like Figure 4 As shown, the utility model also proposes a communication system, which includes a main control device 200, at least one controlled device 300 and the above-mentioned transfer device 100; the transfer device 100 is connected in series between the main control device 200 and at least one of the controlled devices 300, and the specific structure of the transfer device 100 refers to the above-mentioned embodiment. Since this transfer device adopts all the technical solutions of all the above-mentioned embodiments, it at least has all the beneficial effects brought by the technical solutions of the above-mentioned embodiments, which will not be repeated here one by one.
[0104] The above description is only an optional embodiment of the utility model, and does not limit the patent scope of the utility model. All equivalent structural changes made by using the contents of the utility model specification and drawings under the utility model concept, or directly / indirectly used in other related technical fields are included in the patent protection scope of the utility model.
Claims
1. A communication circuit, characterized in that: include: Control circuit; A first communication circuit is connected in series between the control circuit and the main control device; A second communication circuit is connected in series between the control circuit and the controlled device; The control circuit is used to output corresponding enable signals to the first communication circuit and the second communication circuit respectively when receiving a communication request signal output by the first communication circuit or the second communication circuit, and control the establishment of a corresponding transceiver channel between the first communication circuit and the second communication circuit to transmit data signals between the master control device and the controlled device.
2. The communication circuit according to claim 1, characterized in that: The communication request signal includes a sending request signal, and the enable signal includes a receiving enable signal and a sending enable signal; The first communication circuit has a first transceiver terminal, a first connection terminal and a first enabling terminal, the first transceiver terminal and the first enabling terminal are electrically connected to the control circuit respectively, and the first connection terminal is used to connect to the main control device through a first communication line; The second communication circuit has a second transceiver terminal, a second connection terminal and a second enabling terminal, the second transceiver terminal and the second enabling terminal are electrically connected to the control circuit respectively, and the second connection terminal is used to connect to the controlled device through a second communication line; The control circuit is further configured to output a receiving enable signal to the second communication circuit and keep outputting the sending enable signal to the first communication circuit when receiving the sending request signal output by the master control device, so as to establish a sending channel from the master control device to the controlled device; as well as, When receiving the sending request signal output by the controlled device, a receiving enable signal is output to the first communication circuit, and the sending enable signal output to the second communication circuit is maintained to establish a sending channel from the controlled device to the master device.
3. The communication circuit according to claim 1, characterized in that: The first communication circuit or the second communication circuit comprises: A transceiver circuit, comprising a third terminal, a third transceiver terminal and a third enabling terminal, wherein the third terminal is used for being electrically connected to a master control device or a controlled device; an isolation circuit, electrically connected to the third transceiver terminal, the third enable terminal and the control circuit of the transceiver circuit respectively, and used for performing photoelectric isolation between the transceiver circuit and the control circuit; The transceiver circuit is used to transmit the received data signal to the control circuit according to the received enable signal, or transmit the data signal output by the control circuit.
4. The communication circuit according to claim 3, characterized in that: The enable signal includes a receiving enable signal and a sending enable signal, and the transceiver circuit includes: A half-duplex chip, comprising a first differential signal pin, a second differential signal pin, a sending pin, a first enable pin, a second enable pin, a receiving pin, a power pin and a ground pin, wherein the sending pin, the first enable pin, the second enable pin and the receiving pin are electrically connected to the isolation circuit respectively, the power pin is used to access the first power supply, and the ground pin is grounded; wherein, The third transceiver terminal includes the transmitting pin and the receiving pin, and the third enable terminal includes the first enable pin and the second enable pin; The half-duplex chip is also used to connect the transmission pin to the connection terminal when receiving the transmission enable signal, and to connect the reception pin to the connection terminal when receiving the reception enable signal.
5. The communication circuit according to claim 4, characterized in that: The transceiver circuit also includes: A first capacitor, a first end of which is used to connect to the first power supply, and a second end of which is grounded; a first resistor and a second resistor, wherein a first end of the first resistor and a first end of the second resistor are respectively used to be electrically connected to the master control device or the controlled device; a third resistor and a fourth resistor, wherein a first end of the third resistor is connected to a second end of the first resistor, and a first end of the fourth resistor is connected to a second end of the second resistor; a fifth resistor, the fifth resistor being connected in parallel to the second end of the third resistor and the second end of the fourth resistor; A sixth resistor and a seventh resistor, wherein the first end of the sixth resistor is respectively connected to the second end of the third resistor and the first differential signal pin, the second end of the sixth resistor is grounded, the second end of the seventh resistor is connected to the second end of the fourth resistor and the second differential signal pin, and the first end of the seventh resistor is used to access the first power supply.
6. The communication circuit according to claim 5, characterized in that: The first communication circuit or the second communication circuit further includes: The surge suppression circuit is electrically connected to the transceiver circuit and is used to discharge the surge received by the transceiver circuit.
7. The communication circuit according to claim 6, characterized in that: The surge suppression circuit comprises: A first electrostatic tube is connected in parallel to a first end of the first resistor and a first end of the second resistor; A second electrostatic tube and a third electrostatic tube, wherein the second electrostatic tube is connected in series between the second end of the first resistor and the ground, and the third electrostatic tube is connected in series between the second end of the second resistor and the ground.
8. The communication circuit according to claim 4, characterized in that: The isolation circuit specifically includes a plurality of optoelectronic isolation chips, the first ends of the plurality of optoelectronic isolation chips are electrically connected to the transmitting pin, the first enable pin, the second enable pin and the receiving pin respectively, and the second ends of the plurality of optoelectronic isolation chips are connected to the control circuit.
9. A transfer device, characterized in that: The transfer device is integrated with the communication circuit as described in any one of claims 1-8.
10. A communication system, characterized in that: It comprises a main control device, at least one controlled device and the transfer device as claimed in claim 9; The transfer device is connected in series between the main control device and at least one of the controlled devices.