Four-channel serial port to optical fiber transmission circuit for long-distance asynchronous communication
By designing a four-channel serial port to optical fiber transmission circuit for long-distance asynchronous communication, and using optical fiber transmission technology, the problems of short distance, poor anti-interference and difficult wiring of RS232 and RS422 transmission in ship detection equipment have been solved, achieving high quality and low cost. long distance communication.
Patent Information
- Application Number
- CN202323056143.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-10
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2033-11-10
AI Technical Summary
In ship reconnaissance equipment, RS232 and RS422 data transmission has problems such as short distance, poor anti-interference, difficult wiring, large number of occupied interfaces, and inconsistent transmission rates. A simple and compact serial port to optical fiber transmission circuit is needed to solve these problems. question.
A four-channel serial port to optical fiber transmission circuit for long-distance asynchronous communication is designed, including a power conversion circuit, 2 RS232 transceiver circuits, 2 RS422 transceiver circuits, a codec circuit and an optical signal transceiver circuit. The optical fiber is used for transmission, effectively extending the Communication distance, no electromagnetic interference, low transmission loss, small interface occupation, and simple wiring.
It achieves long-distance, high-quality serial communication, reduces equipment costs, improves communication quality, and solves the problems of short transmission distance, poor anti-interference performance, and difficult wiring.
Smart Images

Figure CN221784171U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of photoelectric conversion and transmission, in particular to a four-channel serial port to optical fiber transmission circuit for long-distance asynchronous communication. Background Art
[0002] The control data of ship detection equipment is mostly transmitted by RS232 and RS422, but the transmission distance is short, the anti-interference performance is poor, the wiring is difficult, the number of occupied interfaces is large, and the transmission rate is not uniform. Optical fiber transmission has the advantages of long transmission distance, low transmission loss, no electromagnetic interference, and simple wiring. In order to solve the above problems, it is urgent to design a simple and compact serial port to optical fiber transmission circuit. Utility Model Content
[0003] In order to solve the above technical problems, a four-channel serial port to optical fiber transmission circuit for long-distance asynchronous communication is provided. This technical solution solves the problems of short transmission distance, poor anti-interference, difficult wiring, large number of occupied interfaces and non-uniform transmission rate of RS232 and RS422 modes proposed in the above background technology.
[0004] In order to achieve the above purpose, the technical solution adopted by the utility model is:
[0005] A four-channel serial port to optical fiber transmission circuit for long-distance asynchronous communication includes a cable, the cable is electrically connected to a power conversion circuit, the cable is electrically connected to 2 RS232 transceiver circuits, the cable is electrically connected to 2 RS422 transceiver circuits, the cable is electrically connected to a codec circuit, and the cable is electrically connected to an optical signal transceiver circuit.
[0006] Preferably, the power conversion circuit includes a three-terminal regulator, a common-mode inductor and a capacitor.
[0007] Preferably, the 2-way RS232 transceiver circuit includes an RS232 transceiver, a receiving indicator light, a resistor, a capacitor and an electrostatic discharge protector.
[0008] Preferably, the 2-way RS422 transceiver circuit includes an RS422 transceiver, a receiving indicator light, a resistor, a capacitor, a common mode inductor and an electrostatic discharge protector.
[0009] Preferably, the encoding and decoding circuit includes an encoder, a decoder, a clock, a status indicator light, a resistor and a capacitor.
[0010] Preferably, the optical signal transceiver circuit comprises an optical module, an optical path on / off indicator light, a resistor and a capacitor.
[0011] Preferably, port 1 of the three-terminal regulator is connected to port 3 of the common-mode inductor, port 2 of the capacitor, and port 10 of the cable interface, port 2 is connected to the power supply port of other parts and port 1 of the capacitor, port 3 is connected to port 4 of the common-mode inductor and port 1 of the capacitor, and ports 1 and 2 of the common-mode inductor are respectively connected to port 11 and port 9 of the cable interface.
[0012] Preferably, ports 7, 8, 13 and 14 of the RS232 transceiver are respectively connected to ports 13, 14, 15 and 12 of the cable interface and port 1 of the electrostatic discharge protector through series resistors, ports 9 and 12 of the RS232 transceiver are respectively connected to ports 47 and 46 of the encoder through series resistors, ports 10 and 11 of the RS232 transceiver are respectively connected to ports 2 and 3 of the decoder through series resistors; ports 1 and 4 of the RS232 transceiver are connected to port 1 and port 3 of the capacitor, and port 5 is connected to port 2 of the capacitor, ports 2 and 6 of the RS232 transceiver are connected to port 1 of the capacitor, and port 2 of the electrostatic discharge protector is connected to the ground.
[0013] Preferably, port 13, port 15, port 17, port 18 of the RS422 transceiver of the 2-way RS422 transceiver circuit are respectively connected to port 5, port 6, port 7, port 8 and port 4, port 3, port 2, port 1 of the cable interface and port 1 of the electrostatic discharge protector through series resistors and common mode inductors;
[0014] Among them, the 2-way RS422 transceiver circuit includes a 1st RS422 transceiver circuit and a 2nd RS422 transceiver circuit, port 4 and port 7 of the RS422 transceiver of the 1st RS422 transceiver circuit are respectively connected to port 50 of the encoder and port 63 of the decoder, port 4 and port 7 of the RS422 transceiver of the 2nd RS422 transceiver circuit are respectively connected to port 51 of the encoder and port 62 of the decoder, and the other ports of the RS422 transceiver are connected to port 1 and port 2 of the capacitor.
[0015] Preferably, port 19, port 20 of the encoder and port 18, port 19 of the decoder are respectively connected to port 7, port 8 and port 2, port 3 of the optical module, the clock source is set to 50MHz, the status indicator light indicates clock lock, receiving ready, and receiving data error status, and the remaining interfaces are configured in working mode through resistors.
[0016] Preferably, the FC interface of the optical module is connected to an optical fiber, and the port 4 of the optical module is connected to an optical path on / off indicator light.
[0017] Compared with the prior art, the utility model provides a four-channel serial port to optical fiber transmission circuit for long-distance asynchronous communication, which has the following beneficial effects:
[0018] The utility model is provided with a power conversion circuit and an optical fiber. The power conversion circuit can convert high voltage into low voltage to supply other circuits in the board, and filters, decouples, and suppresses common-mode noise of the power supply. In addition, the optical fiber effectively extends the communication distance of the serial port, is not subject to electromagnetic interference, has low transmission loss, occupies less interface, and has simple wiring, which improves communication quality and reduces equipment cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is the principle diagram of the power conversion circuit in the utility model;
[0020] Figure 2 It is the principle diagram of the 2-way RS232 transceiver circuit in the utility model;
[0021] Figure 3 It is the principle diagram of the 2-way RS422 transceiver circuit in the utility model;
[0022] Figure 4 It is the principle diagram of the encoding and decoding circuit in the utility model;
[0023] Figure 5 This is a schematic diagram of the optical signal transceiver circuit in the utility model;
[0024] Figure 6 It is a plate-frame structure diagram in the utility model;
[0025] Figure 7 It is a schematic diagram of the overall block diagram structure of the utility model;
[0026] Figure 8 It is a structural schematic diagram of the power conversion circuit in the utility model;
[0027] Fig. 9 This is a schematic diagram of the structure of a 2-way RS232 transceiver circuit in the utility model;
[0028] Fig.10 It is a structural diagram of a 2-way RS422 transceiver circuit in the utility model;
[0029] Fig.11 This is a schematic diagram of the structure of the optical signal transceiver circuit in the utility model;
[0030] Fig.12 It is a structural schematic diagram of the encoding and decoding circuit in the utility model. DETAILED DESCRIPTION
[0031] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.
[0032] Reference Figure 1-12 As shown, a four-channel serial port to optical fiber transmission circuit for long-distance asynchronous communication includes a cable, the cable is electrically connected to a power conversion circuit, the cable is electrically connected to 2 RS232 transceiver circuits, the cable is electrically connected to 2 RS422 transceiver circuits, the cable is electrically connected to a codec circuit, and the cable is electrically connected to an optical signal transceiver circuit.
[0033] The power conversion circuit includes a three-terminal voltage regulator U7, a common-mode inductor L11, and capacitors C51~C54. Port 1 of the three-terminal voltage regulator U7 is connected to port 3 of the common-mode inductor L11, port 2 of capacitors C51~C54, and port 10 of the cable interface CON1. Ports 2 and 4 are connected to power ports of other parts, ports 1 of capacitors C51 and C52, port 3 is connected to port 4 of the common-mode inductor L11, and ports 1 of capacitors C53 and C54. Ports 1 and 2 of the common-mode inductor L11 are connected to ports 11 and 9 of the cable interface CON1, respectively. A 5V power supply is input from the cable interface CON1, and a 3.3V power supply is output through the power conversion circuit to supply other circuits in the board. The 5V power supply is filtered, decoupled, and common-mode noise is suppressed.
[0034] The 2-way RS232 transceiver circuit includes an RS232 transceiver U1, receiving indicator lights LED1 and LED2, resistors R2~R4 and R7~R15, capacitors C1~C5, and electrostatic discharge protectors ESD1~ESD4. Port 7, port 8, port 13, and port 14 of the RS232 transceiver U1 are connected to ports 13, port 14, port 15, and port 12 of the cable interface CON1 and port 1 of the electrostatic discharge protectors ESD1~4 through series resistors R11, R15, R13, and R8, respectively. Port 9 and port 12 of the RS232 transceiver U1 are connected to ports 47 and port 46 of the encoder U4 through series resistors R14 and R12, respectively. Port 10 and port 11 of the transmitter U1 are connected to port 2 and port 3 of the decoder U5 respectively through series resistors R10 and R7, port 1 and port 4 of the RS232 transceiver U1 are connected to port 1 and port 3 of capacitors C1 and C2 respectively, port 5 is connected to port 2 of capacitors C1 and C2 respectively, port 2 and port 6 of the RS232 transceiver U1 are connected to port 1 of capacitors C4 and C5 respectively, port 2 of capacitors C4 and C5 is connected to ground, port 2 of electrostatic discharge protectors ESD1~4 is connected to ground, port 1 of receiving indicator lights LED1 and LED2 are connected to port 2 of resistors R12 and R14 respectively, if the RS232 transceiver U1 receives data, the receiving indicator light flashes.
[0035] The 2-way RS422 transceiver circuit includes RS422 transceiver U2, receiving indicator LED3, resistors R16 and R22~R28, capacitors C6~C13, common mode inductors L1 and L2, electrostatic discharge protectors TVS1 and TVS2 (here only the 1st RS422 transceiver circuit is described, the 2nd RS422 transceiver circuit is the same), and ports 13, 15, 17, and 18 of RS422 transceiver U2 are connected to the RS422 transceiver U2 through series resistors R22, R25, R26, and R28 and common mode inductors L1 and L2 respectively. Connected to port 5, port 6, port 7, port 8 of the cable interface CON1 and port 1 and port 2 of the electrostatic discharge protector, port 4 and port 7 of the RS422 transceiver U2 are respectively connected to port 50 of the encoder U4 and port 63 of the decoder U5, port 5 of the RS422 transceiver U2 is connected to the ground through resistor R24, port 6 is connected to 3.3V through resistor R27, and other ports are connected to port 1 and port 2 of the capacitor. If the RS422 transceiver U2 receives data, the indicator LED3 will flash, otherwise it will go out.
[0036] The encoding and decoding circuit includes encoder U4, decoder U5, clock 50MHz, status indicator LED5 and LED6, resistors, and capacitors. Port 19 and port 20 of encoder U4 and port 18 and port 19 of decoder U5 are respectively connected to port 7 and port 8 and port 2 and port 3 of optical module U6 through series resistors R36, R44, R45, R51 and capacitors C28, C25, C26, and C27. The clock source is set to 50MHz, and the status indicator indicates clock lock, receiving ready, and receiving data error status. The remaining ports are configured for working mode by pulling up and down with resistors.
[0037] The optical signal transceiver circuit includes an optical module U6, an optical path on / off indicator LED8, resistors R93~R100, R102, R104, and capacitors. The FC interface of the optical module U6 is connected to the optical fiber, and port 4 of the optical module U6 is connected to the optical path on / off indicator LED8. If the optical path on / off indicator LED8 is on, it means that the optical path is unobstructed. The transceiver port of the optical module is configured for pull-up and pull-down through resistors R93~R100 to optimize the waveform of the optical signal.
[0038] When the utility model is used, a sending person converts a signal into an optical signal through the device and transmits the signal to an optical signal transceiver circuit through an optical fiber. The optical signal transceiver circuit processes the optical signal. When the optical signal processing is completed, the processed optical signal is sent to 2-way RS422 transceiver circuits and 2-way RS232 transceiver circuits. The 2-way RS422 transceiver circuits and 2-way RS232 transceiver circuits further process the optical signal and feed back the processing result to the receiving person.
[0039] The above shows and describes the basic principle, main features and advantages of the utility model. Those skilled in the art should understand that the utility model is not limited by the above embodiments. The above embodiments and the specification only describe the principles of the utility model. The utility model may be subject to various changes and improvements without departing from the spirit and scope of the utility model. These changes and improvements fall within the scope of the utility model to be protected. The scope of protection claimed by the utility model is defined by the attached claims and their equivalents.
Claims
1. A four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication, characterized in that: It includes a cable, the cable is electrically connected to a power conversion circuit, the cable is electrically connected to 2 RS232 transceiver circuits, the cable is electrically connected to 2 RS422 transceiver circuits, the cable is electrically connected to a codec circuit, and the cable is electrically connected to an optical signal transceiver circuit.
2. The four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication according to claim 1, characterized in that: The power conversion circuit includes a three-terminal voltage regulator, a common-mode inductor and a capacitor.
3. The four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication according to claim 2, characterized in that: The 2-way RS232 transceiver circuit comprises an RS232 transceiver, a receiving indicator light, a resistor, a capacitor and an electrostatic discharge protector.
4. The four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication according to claim 1, characterized in that: The two-way RS422 transceiver circuit comprises an RS422 transceiver, a receiving indicator light, a resistor, a capacitor, a common mode inductor and an electrostatic discharge protector.
5. The four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication according to claim 1, characterized in that: The coding and decoding circuit includes an encoder, a decoder, a clock, a status indicator light, a resistor and a capacitor.
6. The four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication according to claim 1, characterized in that: The optical signal transceiver circuit comprises an optical module, an optical path on / off indicator light, a resistor and a capacitor.
7. The four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication according to claim 2, characterized in that: Port 1 of the three-terminal regulator is connected to port 3 of the common-mode inductor, port 2 of the capacitor, and port 10 of the cable interface, port 2 is connected to the power supply port of other parts and port 1 of the capacitor, port 3 is connected to port 4 of the common-mode inductor and port 1 of the capacitor, and ports 1 and 2 of the common-mode inductor are respectively connected to port 11 and port 9 of the cable interface.
8. The four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication according to claim 3, characterized in that: Ports 7, 8, 13 and 14 of the RS232 transceiver are respectively connected to ports 13, 14, 15 and 12 of the cable interface and port 1 of the electrostatic discharge protector through series resistors, ports 9 and 12 of the RS232 transceiver are respectively connected to ports 47 and 46 of the encoder through series resistors, ports 10 and 11 of the RS232 transceiver are respectively connected to ports 2 and 3 of the decoder through series resistors; ports 1 and 4 of the RS232 transceiver are connected to port 1 and port 3 of the capacitor, and port 5 is connected to port 2 of the capacitor, ports 2 and 6 of the RS232 transceiver are connected to port 1 of the capacitor, and port 2 of the electrostatic discharge protector is connected to the ground.
9. The four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication according to claim 4, characterized in that: Ports 13, 15, 17 and 18 of the RS422 transceiver of the 2-way RS422 transceiver circuit are respectively connected to ports 5, 6, 7 and 8 of the cable interface and ports 4, 3, 2 and 1 of the electrostatic discharge protector through series resistors and common mode inductors; Among them, the 2-way RS422 transceiver circuit includes a 1st RS422 transceiver circuit and a 2nd RS422 transceiver circuit, port 4 and port 7 of the RS422 transceiver of the 1st RS422 transceiver circuit are respectively connected to port 50 of the encoder and port 63 of the decoder, port 4 and port 7 of the RS422 transceiver of the 2nd RS422 transceiver circuit are respectively connected to port 51 of the encoder and port 62 of the decoder, and the other ports of the RS422 transceiver are connected to port 1 and port 2 of the capacitor.
10. The four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication according to claim 5, characterized in that: Port 19 and port 20 of the encoder and port 18 and port 19 of the decoder are respectively connected to port 7 and port 8 and port 2 and port 3 of the optical module, the clock source is set to 50MHz, the status indicator light indicates clock lock, receiving ready, and receiving data error status, and the remaining interfaces are configured in working mode through resistors.
11. A four-channel serial-to-fiber transmission circuit for long-distance asynchronous communication according to claim 6, characterized in that: The FC interface of the optical module is connected to an optical fiber, and the port 4 of the optical module is connected to an optical path on-off indicator light.
