RS-485 communication circuit, integrated circuit and electronic device

By adopting the RS-485 communication circuit and 485 protocol processor in the weapon system, combining the SDLC protocol and multiple transmission channels, the reliability and stability of existing communication circuits in the weapon system are solved, and more efficient and reliable inter-system communication is achieved.

CN114301488BActive Publication Date: 2025-06-06贵州航天控制技术有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111486645.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-07
Publication Date
2025-06-06
Estimated Expiration
2041-12-07

AI Technical Summary

Technical Problem

When existing RS-232 and RS-422 communication circuits are used in weapon systems for communication between subsystems, there are problems such as poor noise suppression ability, low transmission rate, short transmission distance, and poor reliability and stability, resulting in low communication reliability and poor stability.

Method used

The RS-485 communication circuit is adopted, including an information processor, a 485 protocol processor, a first transmission circuit and a second transmission circuit, and communicates with the execution device and the monitoring device through the 485 protocol processor, and uses the SDLC protocol to realize the transmission of data and signals, and improves the reliability of communication through two independent transmission channels.

Benefits of technology

It improves the reliability and stability of communication between each subsystem, enhances the noise suppression ability, improves the data transmission rate and transmission distance, and ensures the accuracy of data and signals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114301488B_ABST
    Figure CN114301488B_ABST
Patent Text Reader

Abstract

The present invention discloses an RS-485 communication circuit, an integrated circuit and an electronic device, which relate to the field of electronic circuit technology, in order to solve the problems of low reliability and poor stability when various subsystems communicate with each other. The RS-485 communication circuit is used to communicate with an execution device and a monitoring device. The above-mentioned RS-485 communication circuit includes: an information processor, a 485 protocol processor, a first transmission circuit and a second transmission circuit. The information processor is electrically connected to the 485 protocol processor, the 485 protocol processor is electrically connected to the execution device through the first transmission circuit, and the information transmitter is electrically connected to the monitoring device through the second transmission circuit. The present invention also provides an integrated circuit, which includes the RS-485 communication circuit described in the above technical solution. In addition, the present invention also provides an electronic device including the above-mentioned integrated circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic circuits, and in particular to an RS-485 communication circuit, an integrated circuit and an electronic device. Background Art

[0002] In weapon systems, multiple subsystems communicate with each other, which requires not only accurate data transmission, but also automatic error detection and correction in a certain way. For example, in missile weapon systems, high reliability and high efficiency of data transmission are essential conditions for missile weapon systems.

[0003] In the prior art, RS-232 communication circuits or RS-422 communication circuits are usually used to transmit data signals. However, the above communication circuits have problems such as poor noise suppression, low transmission rate, short transmission distance, poor reliability and stability. Therefore, problems may occur in the data and signals transmitted between the various subsystems in the weapon system, which in turn leads to low reliability and poor stability when the various subsystems communicate with each other. Summary of the invention

[0004] The object of the present invention is to provide an RS-485 communication circuit, an integrated circuit and an electronic device for improving the reliability and stability of mutual communication between various subsystems.

[0005] In order to achieve the above-mentioned object, in a first aspect, the present invention provides an RS-485 communication circuit for communicating with an execution device and a monitoring device. The above-mentioned RS-485 communication circuit comprises: an information processor, a 485 protocol processor, a first transmission circuit and a second transmission circuit. The information processor is electrically connected to the 485 protocol processor, the 485 protocol processor is electrically connected to the execution device through the first transmission circuit, and the information transmitter is electrically connected to the monitoring device through the second transmission circuit.

[0006] Compared with the prior art, in the RS-485 communication circuit provided by the present invention, since the RS-485 communication circuit is composed of only four parts, namely, an information processor, a 485 protocol processor, a first transmission circuit and a second transmission circuit, the structure is simple and easy to implement, and it is convenient for later maintenance and control. Then, through the mutual cooperation between the above four parts, the transmission of data and signals can be realized, and then the simultaneous communication between other systems or devices and the execution device and the monitoring device can be realized, that is, the transmission of data and signals between various subsystems can be realized. Further, since the RS-485 standard is an electrical specification for multi-point, differential data transmission, most of its interfaces are connected in a half-duplex communication mode, so that it has the advantages of strong noise suppression ability, fast data transmission rate, long cable length and high reliability. Based on this, the above-mentioned 485 protocol processor combined with other components and circuits can improve the reliability and stability of the RS-485 communication circuit in transmitting data and signals, that is, it can improve the reliability and stability of the mutual communication between various subsystems.

[0007] In one implementation, the RS-485 communication circuit communicates with the execution device and the monitoring device based on the SDLC protocol.

[0008] When the above technical solution is adopted, on the one hand, the above SDLC protocol is simple and easy to program and control. At this time, the RS-485 communication circuit can be adapted to different application scenarios, expanding the scope of application of the RS-485 communication circuit. On the other hand, when other systems or devices use the RS-485 communication circuit based on the SDLC protocol to communicate with the execution device and the monitoring device, the reliability and stability of the RS-485 communication circuit in transmitting data and signals can be further improved.

[0009] In one implementation, the 485 protocol processor includes a first transmission channel and a second transmission channel. The first transmission circuit is electrically connected to the first transmission channel, and the second transmission circuit is electrically connected to the second transmission channel. Alternatively, the first transmission circuit is electrically connected to the second transmission channel, and the second transmission circuit is electrically connected to the first transmission channel.

[0010] In the case of adopting the above technical solution, since the 485 protocol processor includes a first transmission channel and a second transmission channel, at this time, the above two transmission channels can be used to transmit data (or signals) with the execution device and the monitoring device respectively, that is, the transmission of data and signals between the various subsystems in the weapon system can be realized. Then, using the above two different transmission channels, other systems or devices in the weapon system can also communicate with the execution device and the monitoring device at the same time. Since two different transmission channels are used, at this time, the data (or signals) in the two different transmission channels will not interfere with each other, and then the accuracy of the data (or signals) can be ensured, that is, the reliability of the RS-485 communication circuit in transmitting data and signals is further improved.

[0011] In one implementation, the first transmission circuit includes a receiving circuit, a sending circuit, and a selection circuit. When the first transmission circuit is electrically connected to the first transmission channel and the second transmission circuit is electrically connected to the second transmission channel, the input end of the receiving circuit is electrically connected to the execution device, and the output end of the receiving circuit is electrically connected to the first transmission channel. The input end of the sending circuit is electrically connected to the first transmission channel, and the output end of the sending circuit is electrically connected to the execution device. The selection circuit is used to select the receiving circuit or the sending circuit to be turned on.

[0012] When the above technical solution is adopted, the above receiving circuit can be used to transmit the data and signals in the execution device to the first transmission channel included in the 485 protocol processor, so as to facilitate further analysis and processing of the above data and signals at a later stage, thereby realizing communication between the execution device and other systems or devices. Similarly, the first transmission channel included in the 485 protocol processor can be used to transmit the data and signals transmitted from other systems or devices to the execution device through the sending circuit, so as to facilitate communication between other systems or devices and the execution device. That is, the above receiving circuit and the sending circuit realize two-way communication between the execution device and other systems or devices. The above selection circuit is used to select the normal operation of the receiving circuit or the sending circuit, that is, the selection circuit is used to realize the reception and transmission of data and signals.

[0013] In one implementation, the selection circuit includes a first photocoupler, a first inverter, and a second inverter. The first end of the first photocoupler is electrically connected to the first transmission channel, the second end of the first photocoupler is electrically connected to the input end of the first inverter, the output end of the first inverter is electrically connected to the input end of the second inverter and the receiving circuit respectively, and the output end of the second inverter is electrically connected to the sending circuit.

[0014] When the above technical solution is adopted, on the one hand, since the first photoelectric coupler has good anti-electromagnetic wave interference ability and electrical insulation ability, the anti-interference ability of the RS-485 communication circuit can be improved, thereby improving the reliability and stability of the RS-485 communication circuit in transmitting data and signals. In addition, since the first photoelectric coupler has an isolation effect, it can also ensure that the circuit on the output side of the first photoelectric coupler is not damaged, thereby improving the safety of the RS-485 communication circuit. On the other hand, the first inverter and the second inverter can not only realize the selection of the receiving circuit and the sending circuit, but also be simple, convenient and easy to implement. At the same time, the inverter can also be used to improve the circuit's resistance to external interference signals, that is, the reliability and stability of the RS-485 communication circuit in transmitting data and signals can be further improved.

[0015] In one implementation, the receiving circuit includes a first RS-485 transceiver, a second photoelectric coupler, and a third inverter. The execution device is electrically connected to the first end of the first RS-485 transceiver, the second end of the first RS-485 transceiver is electrically connected to the first end of the second photoelectric coupler and the output end of the first inverter respectively, the second end of the second photoelectric coupler is electrically connected to the input end of the third inverter, and the output end of the third inverter is electrically connected to the first transmission channel.

[0016] In the case of adopting the above technical solution, since the above receiving circuit is composed of only three components, namely the first RS-485 transceiver, the second photocoupler and the third inverter, the structure is simple and easy to implement, and convenient for later maintenance. Then, with the cooperation of the above components, the reliability and stability of the receiving circuit in transmitting data and signals can be improved. Furthermore, in combination with the 485 protocol processor and other components, the noise suppression ability of the receiving circuit in the RS-485 communication circuit can be improved, the transmission rate can be accelerated, and the transmission distance can be increased.

[0017] In one implementation, the transmitting circuit includes a third photocoupler, a fourth inverter, and a second RS-485 transceiver. The first end of the third photocoupler is electrically connected to the first transmission channel, the second end of the third photocoupler is electrically connected to the input end of the fourth inverter, the output end of the fourth inverter and the output end of the second inverter are both electrically connected to the first end of the second RS-485 transceiver, and the second end of the second RS-485 transceiver is electrically connected to the execution device.

[0018] When the above technical solution is adopted, since the above sending circuit is composed of only three components, namely the third photocoupler, the fourth inverter and the second RS-485 transceiver, the structure is simple and easy to implement, and convenient for later maintenance. Then, with the cooperation of the above components, the reliability and stability of the data and signal transmission of the sending circuit can be improved. Furthermore, in combination with the 485 protocol processor and other components, the noise suppression ability of the sending circuit in the RS-485 communication circuit can be improved, the transmission rate can be accelerated, and the transmission distance can be increased.

[0019] In one implementation, the second transmission circuit includes a third RS-485 transceiver. A first end of the third RS-485 transceiver is electrically connected to the second transmission channel, and a second end of the third RS-485 transceiver is electrically connected to the monitoring device.

[0020] When the above technical solution is adopted, the above third RS-485 transceiver combined with the 485 protocol processor and other components can improve the noise suppression ability of the second transmission circuit in the RS-485 communication circuit, speed up the transmission rate, increase the transmission distance, and improve reliability and stability.

[0021] In a second aspect, the present invention further provides an integrated circuit, comprising the RS-485 communication circuit described in the above technical solution.

[0022] Compared with the prior art, the beneficial effects of the integrated circuit provided by the present invention are the same as the beneficial effects of the RS-485 communication circuit described in the above technical solution, and will not be described in detail here.

[0023] In a third aspect, the present invention further provides an electronic device, comprising the integrated circuit described in the above technical solution.

[0024] Compared with the prior art, the beneficial effects of the electronic device provided by the present invention are the same as the beneficial effects of the integrated circuit described in the above technical solution, and will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0026] Figure 1 It is a block diagram of the RS-485 communication circuit in an embodiment of the present invention;

[0027] Figure 2 Schematic diagram of RS-485 communication circuit in an embodiment of the present invention;

[0028] Figure 3 4 is a circuit diagram of an RS-485 communication circuit in an embodiment of the present invention.

[0029] Reference numerals:

[0030] 1- Information processor,

[0031] 2-485 protocol processor, 20-first transmission channel, 21-second transmission channel;

[0032] 3-first transmission circuit, 30-receiving circuit, 300-first RS-485 transceiver,

[0033] 301 - a second photocoupler, 302 - a third inverter,

[0034] 3020-third inverter No. 1, 3021-third inverter No. 2, 3022-third inverter No. 3,

[0035] 3023-third inverter No. 4;

[0036] 303-first power supply terminal, 304-second power supply terminal, 305-third power supply terminal;

[0037] 31-transmitting circuit, 310-third photocoupler, 311-fourth inverter,

[0038] 3110- fourth inverter No. 1, 3111- fourth inverter No. 2, 3112- fourth inverter No. 3,

[0039] 3113- fourth inverter No. 4; 312- second RS-485 transceiver, 313- fourth power supply terminal,

[0040] 314- fifth power supply terminal, 315- sixth power supply terminal,

[0041] 32-selection circuit, 320-first photocoupler, 321-first inverter,

[0042] 322 - a second inverter, 323 - a seventh power supply terminal, 324 - an eighth power supply terminal;

[0043] 4-a second transmission circuit, 40-a third RS-485 transceiver, 41-a ninth power supply terminal;

[0044] 5-Execution device, 6-Monitoring device,

[0045] 7-Data bus, 8-Address bus, 9-Control bus. DETAILED DESCRIPTION

[0046] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0047] It should be noted that when an element is referred to as being "fixed on" or "disposed on" another element, it may be directly on the other element or indirectly on the other element. When an element is referred to as being "connected to" another element, it may be directly connected to the other element or indirectly connected to the other element. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined. The meaning of "several" is one or more, unless otherwise clearly and specifically defined.

[0048] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by the terms "up", "down", "front", "back", "left", "right", etc. are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore cannot be understood as a limitation on the present invention.

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

[0050] In weapon systems, multiple subsystems communicate with each other, which requires not only accurate data transmission, but also automatic error detection and correction in a certain way. For example, in missile weapon systems, high reliability and high efficiency of data transmission are essential conditions for missile weapon systems.

[0051] In the prior art, RS-232 communication circuits or RS-422 communication circuits are usually used to transmit data signals. However, the above communication circuits have problems such as poor noise suppression, low transmission rate, short transmission distance, poor reliability and stability. Therefore, problems may occur in the data and signals transmitted between the various subsystems in the weapon system, which in turn leads to low reliability and poor stability when the various subsystems communicate with each other.

[0052] In order to solve the above technical problems, in a first aspect, an embodiment of the present invention provides an RS-485 communication circuit for communicating with an execution device and a monitoring device.

[0053] When the RS-485 communication circuit is applied in a missile weapon system, the execution device may be a missile-mounted device, such as a missile-mounted computer, etc. The monitoring device may be a ground telemetry device. It should be understood that the execution device and the monitoring device may also be other devices, and the above description is only for understanding and is not intended to be specifically limited.

[0054] See also Figures 1 to 3The RS-485 communication circuit may include: an information processor 1, a 485 protocol processor 2, a first transmission circuit 3 and a second transmission circuit 4. The information processor 1 is electrically connected to the 485 protocol processor 2, the 485 protocol processor 2 is electrically connected to the execution device 5 through the first transmission circuit 3, and the information transmitter is electrically connected to the monitoring device 6 through the second transmission circuit 4.

[0055] See also Figures 1 to 3 , the above-mentioned information processor 1 can be a digital signal processor (Digital Signal Processor, referred to as DSP), for example, it can be DSP2812. The above-mentioned 485 protocol processor 2 can be a JS71175 chip with a 485 protocol processor. Of course, the above-mentioned information processor 1 and 485 protocol processor 2 can also be other practical devices. In actual use, DSP2812 is connected to JS71175 through a bus. The above-mentioned bus includes three categories, namely data bus 7, address bus 8 and control bus 9. The above-mentioned control bus 9 includes chip select signal CS, read enable signal RD, write enable signal WE, reset signal RESET, interrupt signal INT485, bus selection signal BUSSEL, and response signal IACK.

[0056] See also Figures 1 to 3 Specifically, the D0-D7 pins in DSP2812 are electrically connected to the D0-D7 pins in JS71175 through the data bus 7, and the A0-A7 pins in DSP2812 are electrically connected to the A0-A7 pins in JS71175 through the address bus 8. The IOB9 pin in DSP2812 is electrically connected to the BUSSEL pin in JS71175, the / WE pin in DSP2812 is electrically connected to the / WR pin in JS71175, the / RD pin in DSP2812 is electrically connected to the / RD pin in JS71175, the / CS2 pin in DSP2812 is electrically connected to the / CS pin in JS71175, the IOB8 pin in DSP2812 is electrically connected to the / IACK pin in JS71175, the IOB6 pin in DSP2812 is electrically connected to the / RST pin in JS71175, and the INT1 pin in DSP2812 is electrically connected to the / INT pin in JS71175.

[0057] See also Figures 1 to 3In the RS-485 communication circuit provided by the embodiment of the present invention, since the RS-485 communication circuit is composed of only four parts, namely, the information processor 1, the 485 protocol processor 2, the first transmission circuit 3 and the second transmission circuit 4, the structure is simple and easy to implement, and it is convenient for later maintenance and control. Then, through the mutual cooperation between the above four parts, the transmission of data and signals can be realized, and then the simultaneous communication between other systems or devices (such as the steering gear device) and the execution device 5 and the monitoring device 6 can be realized, that is, the transmission of data and signals between each subsystem can be realized. Further, since the RS-485 standard is an electrical specification for multi-point and differential data transmission, most of its interfaces are connected in a half-duplex communication mode, so that it has the advantages of strong noise suppression ability, fast data transmission rate, long cable length and high reliability. Based on this, the above-mentioned 485 protocol processor 2 combined with other components and circuits can improve the reliability and stability of the RS-485 communication circuit in transmitting data and signals, that is, it can improve the reliability and stability of the communication between each subsystem. In addition, the RS-485 communication circuit also has the advantages of good real-time performance and clear workflow.

[0058] See also Figures 1 to 3 As a possible implementation method, the RS-485 communication circuit communicates with the execution device 5 and the monitoring device 6 based on the SDLC protocol. On the one hand, the above SDLC protocol is simple and easy to program and control. Based on this, the RS-485 communication circuit can be adapted to different application scenarios and the scope of application of the RS-485 communication circuit can be expanded. On the other hand, when other systems or devices communicate with the execution device 5 and the monitoring device 6 using the RS-485 communication circuit based on the SDLC protocol, the reliability and stability of the RS-485 communication circuit in transmitting data and signals can be further improved.

[0059] As a possible implementation, the 485 protocol processor includes a first transmission channel and a second transmission channel. The first transmission circuit is electrically connected to the first transmission channel, and the second transmission circuit is electrically connected to the second transmission channel. Or, the first transmission circuit is electrically connected to the second transmission channel, and the second transmission circuit is electrically connected to the first transmission channel.

[0060] Since the 485 protocol processor includes a first transmission channel and a second transmission channel, at this time, the above two transmission channels can be used to transmit data (or signals) with the execution device and the monitoring device respectively, that is, the transmission of data and signals between the various subsystems in the weapon system can be realized. Then, using the above two different transmission channels, other systems or devices in the weapon system can also communicate with the execution device and the monitoring device at the same time. Since two different transmission channels are used, at this time, the data (or signals) in the two different transmission channels will not interfere with each other, and the accuracy of the data (or signals) can be ensured, that is, the reliability of the transmission of data and signals by the RS-485 communication circuit is further improved.

[0061] The following description is made by taking the example that the first transmission circuit is electrically connected to the first transmission channel and the second transmission circuit is electrically connected to the second transmission channel. It should be understood that the following description is only for understanding and is not intended to be a specific limitation.

[0062] See also Figures 1 to 3 In one example, the first transmission circuit 3 includes a receiving circuit 30, a sending circuit 31 and a selection circuit 32. When the first transmission circuit 3 is electrically connected to the first transmission channel 20 and the second transmission circuit 4 is electrically connected to the second transmission channel 21, the input end of the receiving circuit 30 is electrically connected to the execution device 5, and the output end of the receiving circuit 30 is electrically connected to the first transmission channel 20. The input end of the sending circuit 31 is electrically connected to the first transmission channel 20, and the output end of the sending circuit 31 is electrically connected to the execution device 5. The selection circuit 32 is used to select the receiving circuit 30 or the sending circuit 31 to be turned on.

[0063] See also Figures 1 to 3 At this time, the above-mentioned receiving circuit 30 can be used to transmit the data and signals in the execution device 5 to the first transmission channel 20 included in the 485 protocol processor 2, so as to facilitate further analysis and processing of the above-mentioned data and signals at a later stage, thereby realizing the communication between the execution device 5 and other systems or devices. Similarly, the first transmission channel 20 included in the 485 protocol processor 2 can be used to transmit the data and signals transmitted from other systems or devices to the execution device 5 through the sending circuit 31, so as to facilitate communication between other systems or devices and the execution device 5. That is, the above-mentioned receiving circuit 30 and the sending circuit 31 realize two-way communication between the execution device 5 and other systems or devices. The above-mentioned selection circuit 32 is used to select the normal operation of the receiving circuit 30 or the sending circuit 31, that is, the selection circuit 32 is used to realize the reception and transmission of data and signals.

[0064] For details, see Figures 1 to 3In actual application, when the selection circuit 32 turns on the sending circuit 31, a system or device can send instruction A to the first transmission channel 20 of the 485 protocol processor 2 through the information processor 1. Then, instruction A can be transmitted to the execution device 5 through the sending circuit 31 electrically connected to the first transmission channel 20. The execution device 5 can make a corresponding response according to instruction A and generate a feedback signal B. After that, when the selection circuit 32 turns on the receiving circuit 30, the feedback signal B can be transmitted to the first transmission channel 20 of the 485 protocol processor 2 through the receiving circuit 30. The 485 protocol processor 2 transmits the feedback signal B to the information processor 1. The information processor 1 processes the feedback signal B and transmits it to the system or device that sends the A command, so that the above system or device can timely and accurately know the current state of the execution device 5. If the current state of the execution device 5 meets the expected result, it means that the device with the execution device 5 moves normally. If the current state of the execution device 5 does not meet the expected result and a deviation occurs, at this time, the system or device that sends the A command will make adjustments according to the deviation until the device with the execution device 5 moves normally. Furthermore, after being processed, the feedback signal B is transmitted to the second transmission channel 21 of the 485 protocol processor 2 through the information processor 1, and then transmitted to the second transmission circuit 4 by the second transmission channel 21, and then transmitted to the monitoring device 6 by the second transmission circuit 4, so that the monitoring device 6 (such as ground telemetry equipment) can monitor the movement state of the execution device 5 in real time.

[0065] See also Figures 1 to 3 In one example, the receiving circuit 30 includes a first RS-485 transceiver 300, a second photocoupler 301 and a third inverter 302. The execution device 5 is electrically connected to the first end of the first RS-485 transceiver 300, the second end of the first RS-485 transceiver 300 is electrically connected to the first end of the second photocoupler 301 and the output end of the first inverter 321, respectively, the second end of the second photocoupler 301 is electrically connected to the input end of the third inverter 302, and the output end of the third inverter 302 is electrically connected to the first transmission channel 20.

[0066] See also Figures 1 to 3 Since the receiving circuit 30 is composed of only three components, namely the first RS-485 transceiver 300, the second photocoupler 301 and the third inverter 302, the structure is simple and easy to implement, and convenient for later maintenance. Then, with the cooperation of the above components, the reliability and stability of the data and signal transmission of the receiving circuit 30 can be improved. Further, in combination with the 485 protocol processor 2 and other components, the noise suppression capability of the receiving circuit 30 in the RS-485 communication circuit can be improved, the transmission rate can be accelerated, and the transmission distance can be increased.

[0067] For details, see Figures 1 to 3In an embodiment of the present invention, the first RS-485 transceiver 300 may be a GR96F174 high-speed differential line driver for converting signal levels. The second photocoupler 301 may be a CH5631 high-speed photocoupler. The third inverter may be 74HCT14. The CA- pin in the execution device 5 is electrically connected to one end of the resistor R1 and the 2B pin of the first RS-485 transceiver 300, respectively, the CA+ pin is electrically connected to the other end of the resistor R1 and the 2A pin of the first RS-485 transceiver 300, respectively, the DA+ pin is electrically connected to one end of the resistor R2 and the 1A pin of the first RS-485 transceiver 300, respectively, the DA- pin is electrically connected to the other end of the resistor R2 and the 1B pin of the first RS-485 transceiver 300, the GND pin in the execution device 5 is grounded, and the VDD pin in the execution device 5 is electrically connected to the first power supply terminal 303. The 1Y pin in the first RS-485 transceiver 300 is electrically connected to the 3 pin in the second photoelectric coupler 301, and the 2Y pin in the first RS-485 transceiver 300 is electrically connected to the 2 pin in the second photoelectric coupler 301. The 1 pin in the second photoelectric coupler 301 is electrically connected to one end of the resistor R3, and the other end of the resistor R3 is electrically connected to the second power supply terminal 304. The 4 pin in the second photoelectric coupler 301 is electrically connected to one end of the resistor R4, and the other end of the resistor R4 is also electrically connected to the second power supply terminal 304. The 6 pin of the first inverter 321 is electrically connected to the E12 pin of the first RS-485 transceiver 300. The 5 pin in the second photoelectric coupler 301 is grounded. The 6 pins in the second photoelectric coupler 301 are electrically connected to one end of the resistor R5 and the input end (13 pin) of the third inverter No. 1 3020, respectively, and the other end of the resistor R5 is electrically connected to the third power supply terminal 305. Pin 7 of the second photocoupler 301 is electrically connected to one end of the resistor R6 and the input end (pin 11) of the third inverter 2 3021, respectively. The other end of the resistor R6 is also electrically connected to the third power supply end 305. Pin 8 of the second photocoupler 301 is also electrically connected to the third power supply end 305.

[0068] See also Figures 1 to 3, the output end (12 pins) of the third inverter No. 1 3020 is electrically connected to the input end (2 pins) of the third inverter No. 3 3022, and the output end (1 pin) of the third inverter No. 3 3022 is electrically connected to the RXDA pin in the first transmission channel 20 in JS71175. The output end (10 pins) of the third inverter No. 2 3021 is electrically connected to the input end (3 pins) of the third inverter No. 4 3023, and the output end (4 pins) of the third inverter No. 4 3023 is electrically connected to the RXCA pin in the first transmission channel 20 in JS71175. The above-mentioned RXDA pin is used to receive a data signal, and the RXCA pin is used to receive a clock signal transmitted simultaneously with the data. In addition, the above-mentioned third inverter No. 1 3020 and the third inverter No. 3 3022 are connected in series, and the third inverter No. 2 3021 and the third inverter No. 4 3023 are connected in series. At this time, the pulse of the transmission signal can be shaped to make the signal pulse smoother, thereby making the transmitted data or signal more accurate, and improving the reliability and stability of the RS-485 communication circuit in transmitting data and signals.

[0069] See also Figures 1 to 3 In one example, the transmitting circuit 31 includes a third photocoupler 310, a fourth inverter 311, and a second RS-485 transceiver 312. A first end of the third photocoupler 310 is electrically connected to the first transmission channel 20, a second end of the third photocoupler 310 is electrically connected to an input end of the fourth inverter 311, an output end of the fourth inverter 311 and an output end of the second inverter 322 are both electrically connected to a first end of the second RS-485 transceiver 312, and a second end of the second RS-485 transceiver 312 is electrically connected to the execution device 5.

[0070] See also Figures 1 to 3 Since the transmitting circuit 31 is composed of only three components, namely, the third photocoupler 310, the fourth inverter 311 and the second RS-485 transceiver 312, the structure is simple and easy to implement, and convenient for later maintenance. Then, with the cooperation of the above components, the reliability and stability of the transmitting circuit 31 in transmitting data and signals can be improved. Furthermore, in combination with the 485 protocol processor 2 and other components, the noise suppression capability of the transmitting circuit 31 in the RS-485 communication circuit can be improved, the transmission rate can be accelerated, and the transmission distance can be increased.

[0071] For details, see Figures 1 to 3In the embodiment of the present invention, the TXDA pin in the first transmission channel 20 in the above JS71175 is electrically connected to the 3 pin of the third photocoupler 310, and the 4 pin of the third photocoupler 310 is electrically connected to the fourth power supply terminal 313 through the resistor R7. The TXCA pin in the first transmission channel 20 in the above JS71175 is electrically connected to the 2 pin of the third photocoupler 310, and the 1 pin of the third photocoupler 310 is electrically connected to the fourth power supply terminal 313 through the resistor R8. The 5 pin of the third photocoupler 310 is grounded, the 6 pin of the third photocoupler 310 is electrically connected to one end of the resistor R9 and the input end (13 pin) of the fourth inverter No. 1 3110, respectively, and the other end of the resistor R9 is electrically connected to the fifth power supply terminal 314. The 7 pin of the third photocoupler 310 is electrically connected to one end of the resistor R10 and the input end (11 pin) of the fourth inverter No. 2 3111, respectively, and the other end of the resistor R10 is electrically connected to the fifth power supply terminal 314. Pin 8 of the third photocoupler 310 is electrically connected to the fifth power supply terminal 314. The TXDA pin is used to send a data signal, and the TXCA pin is used to send a clock signal that is transmitted simultaneously with the data.

[0072] See also Figures 1 to 3The output end (pin 12) of the fourth inverter No. 1 3110 is electrically connected to the input end (pin 2) of the fourth inverter No. 3 3112, and the output end (pin 1) of the fourth inverter No. 3 3112 is electrically connected to the 1A pin of the second RS-485 transceiver 312. The output end (pin 10) of the fourth inverter No. 2 3111 is electrically connected to the input end (pin 3) of the fourth inverter No. 4 3113, and the output end (pin 4) of the fourth inverter No. 4 3113 is electrically connected to the 2A pin of the second RS-485 transceiver 312. The E12 pin of the second RS-485 transceiver 312 is electrically connected to the 8 pin of the second inverter 322. The fourth inverter No. 1 3110 and the fourth inverter No. 3 3112 are connected in series, and the fourth inverter No. 2 3111 and the fourth inverter No. 4 3113 are connected in series. At this time, the pulse of the transmission signal can be shaped to make the signal pulse smoother, thereby making the transmitted data or signal more accurate, and improving the reliability and stability of the RS-485 communication circuit transmitting data and signals. The VDD pin in the second RS-485 transceiver 312 is electrically connected to the sixth power supply terminal 315, and the GND pin in the second RS-485 transceiver 312 is grounded. The 1Y pin in the second RS-485 transceiver 312 is electrically connected to the DA+ pin in the execution device 5, the 1Z pin in the second RS-485 transceiver 312 is electrically connected to the DA- pin in the execution device 5, the 2Z pin in the second RS-485 transceiver 312 is electrically connected to the CA- pin in the execution device 5, and the 2Y pin in the second RS-485 transceiver 312 is electrically connected to the CA+ pin in the execution device 5. It should be understood that the above-mentioned second RS-485 transceiver 312 can be a GR96F175 high-speed differential line driver for signal level conversion. The third photocoupler 310 may be a CH5631 high-speed photocoupler. The fourth inverter may be a 74HCT14.

[0073] See also Figures 1 to 3 In one example, the selection circuit 32 includes a first photocoupler 320, a first inverter 321, and a second inverter 322. The first end of the first photocoupler 320 is electrically connected to the first transmission channel 20, the second end of the first photocoupler 320 is electrically connected to the input end of the first inverter 321, the output end of the first inverter 321 is electrically connected to the input end of the second inverter 322 and the receiving circuit 30, and the output end of the second inverter 322 is electrically connected to the sending circuit 31.

[0074] At this time, see Figures 1 to 3On the one hand, since the first photoelectric coupler 320 has good anti-electromagnetic wave interference ability and electrical insulation ability, the anti-interference ability of the RS-485 communication circuit can be improved, thereby improving the reliability and stability of the RS-485 communication circuit in transmitting data and signals. In addition, since the first photoelectric coupler 320 has an isolation effect, it can also ensure that the circuit on the output side of the first photoelectric coupler 320 is not damaged, thereby improving the safety of the RS-485 communication circuit. On the other hand, the first inverter 321 and the second inverter 322 can not only realize the selection of the receiving circuit 30 and the transmitting circuit 31, but also be simple, convenient and easy to implement. At the same time, the inverter can also improve the circuit's resistance to external interference signals, that is, the reliability and stability of the RS-485 communication circuit in transmitting data and signals can be further improved.

[0075] For details, see Figures 1 to 3 In an embodiment of the present invention, the TOAN pin in the first transmission channel 20 in the above-mentioned JS71175 is electrically connected to the 7th pin of the first photocoupler 320. The 8th pin of the first photocoupler 320 is electrically connected to the seventh power supply terminal 323 through the resistor R11, and the above-mentioned seventh power supply terminal 323 can be externally connected to a voltage. The 5th pin of the first photocoupler 320 is grounded. The 1st pin of the first photocoupler 320 is electrically connected to the eighth power supply terminal 324 through the resistor R12, and the above-mentioned eighth power supply terminal 324 can also be externally connected to a voltage. The 2nd pin of the first photocoupler 320 is electrically connected to the 5th pin of the first inverter 321, and the 6th pin of the first inverter 321 is electrically connected to the 7th pin of the second inverter 322 and the E12 pin of the first RS-485 transceiver 300 respectively. The 8th pin of the second inverter 322 is electrically connected to the E12 pin of the second RS-485 transceiver 312. The above-mentioned first photocoupler 320 can be a CH5631 high-speed optocoupler. The first inverter 321 and the second inverter 322 may both be 74HCT14.

[0076] See also Figures 1 to 3 In one example, the second transmission circuit 4 may include a third RS-485 transceiver 40. A first end of the third RS-485 transceiver 40 is electrically connected to the second transmission channel 21, and a second end of the third RS-485 transceiver 40 is electrically connected to the monitoring device 6. The third RS-485 transceiver 40 combined with the 485 protocol processor 2 and other components can improve the noise suppression capability of the second transmission circuit 4 in the RS-485 communication circuit, speed up the transmission rate, increase the transmission distance, and improve the reliability and stability.

[0077] For details, see Figures 1 to 3In the embodiment of the present invention, the TXDB pin in the second transmission channel 21 in the above-mentioned JS71175 is electrically connected to the 2Y pin of the third RS-485 transceiver 40, the TXCB pin in the second transmission channel 21 is electrically connected to the 1Y pin of the third RS-485 transceiver 40, and the TOBN pin in the second transmission channel 21 is electrically connected to the E12 pin of the third RS-485 transceiver 40. The above-mentioned third RS-485 transceiver 40 can be GR96F174, the above-mentioned TXDB pin is used to send a data signal, and the TXCB pin is used to send a clock signal transmitted simultaneously with the data. The VDD pin in the third RS-485 transceiver 40 is electrically connected to the ninth power supply terminal 41, and the GND pin in the third RS-485 transceiver 40 is grounded. The 2B pin of the third RS-485 transceiver 40 is electrically connected to the RXC pin of the monitoring device 6, the 2A pin of the third RS-485 transceiver 40 is electrically connected to the / RXC pin of the monitoring device 6, the 1A pin of the third RS-485 transceiver 40 is electrically connected to the / RXD pin of the monitoring device 6, and the 1B pin of the third RS-485 transceiver 40 is electrically connected to the RXD pin of the monitoring device 6. The third RS-485 transceiver 40 may be a GR96F174 high-speed differential line driver for converting signal levels.

[0078] In a second aspect, an embodiment of the present invention further provides an integrated circuit, comprising the RS-485 communication circuit described in the above technical solution. The beneficial effects of the integrated circuit provided by the embodiment of the present invention are the same as the beneficial effects of the RS-485 communication circuit described in the first aspect, and will not be repeated here.

[0079] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising the integrated circuit described in the above technical solution.

[0080] The beneficial effects of the electronic device provided by the embodiment of the present invention are the same as the beneficial effects of the integrated circuit described in the second aspect, and will not be elaborated here.

[0081] In the description of the above embodiments, specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. The above description is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. An RS-485 communication circuit for communicating with the execution device and the monitoring device; It is characterized in that The RS-485 communication circuit includes: an information processor, a 485 protocol processor, a first transmission circuit and a second transmission circuit; The information processor is electrically connected to the 485 protocol processor; the 485 protocol processor is electrically connected to the execution device through the first transmission circuit; the 485 protocol processor is electrically connected to the monitoring device through the second transmission circuit; The 485 protocol processor includes a first transmission channel and a second transmission channel. The first transmission circuit is electrically connected to the first transmission channel, and the second transmission circuit is electrically connected to the second transmission channel, or, The first transmission circuit is electrically connected to the second transmission channel, and the second transmission circuit is electrically connected to the first transmission channel; The first transmission circuit includes a receiving circuit, a sending circuit and a selection circuit. When the first transmission circuit is electrically connected to the first transmission channel, and the second transmission circuit is electrically connected to the second transmission channel, the input end of the receiving circuit is electrically connected to the execution device, the output end of the receiving circuit is electrically connected to the first transmission channel, the input end of the sending circuit is electrically connected to the first transmission channel, the output end of the sending circuit is electrically connected to the execution device, and the selection circuit is used to select the receiving circuit or the sending circuit to be turned on; The selection circuit includes a first photocoupler, a first inverter and a second inverter. The first end of the first photoelectric coupler is electrically connected to the first transmission channel, the second end of the first photoelectric coupler is electrically connected to the input end of the first inverter, the output end of the first inverter is electrically connected to the input end of the second inverter and the receiving circuit respectively, and the output end of the second inverter is electrically connected to the sending circuit; The receiving circuit includes a first RS-485 transceiver, a second photocoupler and a third inverter. The execution device is electrically connected to the first end of the first RS-485 transceiver, the second end of the first RS-485 transceiver is electrically connected to the first end of the second photoelectric coupler and the output end of the first inverter respectively, the second end of the second photoelectric coupler is electrically connected to the input end of the third inverter, and the output end of the third inverter is electrically connected to the first transmission channel, in, The third inverter includes a third inverter No. 1, a third inverter No. 2, a third inverter No. 3, and a third inverter No. 4, wherein the third inverter No. 1 and the third inverter No. 3 are connected in series, and the third inverter No. 2 and the third inverter No. 4 are connected in series; The transmitting circuit includes a third photocoupler, a fourth inverter and a second RS-485 transceiver. The first end of the third photoelectric coupler is electrically connected to the first transmission channel, the second end of the third photoelectric coupler is electrically connected to the input end of the fourth inverter, the output end of the fourth inverter and the output end of the second inverter are both electrically connected to the first end of the second RS-485 transceiver, and the second end of the second RS-485 transceiver is electrically connected to the execution device, in, The fourth inverter includes a fourth inverter No. 1, a fourth inverter No. 2, a fourth inverter No. 3, and a fourth inverter No.

4. The fourth inverter No. 1 and the fourth inverter No. 3 are connected in series, and the fourth inverter No. 2 and the fourth inverter No. 4 are connected in series.

2. The RS-485 communication circuit according to claim 1, It is characterized in that The RS-485 communication circuit communicates with the execution device and the monitoring device based on the SDLC protocol.

3. The RS-485 communication circuit according to claim 1, It is characterized in that The second transmission circuit includes a third RS-485 transceiver; The first end of the third RS-485 transceiver is electrically connected to the second transmission channel, and the second end of the third RS-485 transceiver is electrically connected to the monitoring device.

4. An integrated circuit, It is characterized in that The RS-485 communication circuit comprises the RS-485 communication circuit as claimed in any one of claims 1 to 3.

5. An electronic device, It is characterized in that Comprising the integrated circuit of claim 4.

Citation Information

Patent Citations

  • Two power switch control wares based on IEC61850 communication protocol

    CN207039280U

  • RS-485 communication circuit, integrated circuit and electronic equipment

    CN217508761U