CN212933516U - Serial communication interface receiving and transmitting and polarity adjusting device - Google Patents

Serial communication interface receiving and transmitting and polarity adjusting device Download PDF

Info

Publication number
CN212933516U
CN212933516U CN202021960968.6U CN202021960968U CN212933516U CN 212933516 U CN212933516 U CN 212933516U CN 202021960968 U CN202021960968 U CN 202021960968U CN 212933516 U CN212933516 U CN 212933516U
Authority
CN
China
Prior art keywords
terminal
wiring
receiving
manner
transmitting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202021960968.6U
Other languages
Chinese (zh)
Inventor
张天君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Guoxin Zhike Technology Co ltd
Original Assignee
Beijing Guoxin Zhike Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Guoxin Zhike Technology Co ltd filed Critical Beijing Guoxin Zhike Technology Co ltd
Priority to CN202021960968.6U priority Critical patent/CN212933516U/en
Application granted granted Critical
Publication of CN212933516U publication Critical patent/CN212933516U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model discloses a serial communication interface receiving and sending and polarity adjusting device, which consists of two groups of adjusting terminals, wherein the front end of the device is connected with four pins of an RS422 chip, and the rear end of the device is connected with a signal output terminal; jumper setting between the differential input ends A and B, between the differential output ends Y and A, and between the input and output two groups of signals is realized by using a short circuit, and finally the wiring sequence reflected to the output terminal J1 can be set according to the wiring relation of the other side; the utility model has the advantages that: the smart two-stage jumper terminal design is added between the chip and the output port, the problem of wrong wiring frequently encountered in field RS422 debugging is solved, and one debugging board card can modify the wiring polarity and the receiving and sending positions of the interface according to the wiring condition of the other party in a short circuit sub jumper mode on the premise of not using any tool, so that the debugging board card is rapidly adaptive to the cable sequence of the other party, and the debugging efficiency is greatly improved.

Description

Serial communication interface receiving and transmitting and polarity adjusting device
Technical Field
The utility model relates to a communication device, specifically speaking are serial communication interface receiving and dispatching and polarity adjusting device, belong to the communication device field.
Background
RS422 is a single-machine-transmitted, multi-machine-received, unidirectional, balanced transmission specification, established and promulgated by the Electronics Industry Association (EIA), with transmission rates up to 10Mb/s and transmission distances up to 1200 meters (100 kb/s), allowing up to 10 receivers to be connected on a balanced bus. The RS422 adopts differential transmission, and receives and transmits signals by a pair of twisted pairs, and the two points are connected by unidirectional transmission. When equipment among different companies uses RS422 to perform serial port communication joint debugging, due to negligence or ambiguity understanding of two parties, the situation that one party does not perform circuit design or cable connection according to the specified line sequence requirement often occurs, so that communication cannot be performed normally, the problem may be polarity error, or may be caused by reverse receiving and sending or mixed error, and temporary wiring change of circuit boards of the two parties and an intermediate communication cable is very difficult, welding wires may need to be re-welded by using welding equipment, or even the circuit boards need to be re-manufactured, the period is long, and the debugging progress is seriously influenced. At present, developers generally select an RS422 chip for circuit design, connect corresponding pins, adopt an aviation dry connector or other connection modes for external interfaces, and the overall design is that circuit boards are directly connected after being coated with copper or welded by cables, so that no room is available for modification on site.
Disclosure of Invention
An object of the utility model is to design a serial communication interface receiving and dispatching and polarity adjusting device, add exquisite two-stage jumper terminal design between chip and output port, solved the wrong wiring problem that often meets in the on-the-spot RS422 debugging, one side debugging integrated circuit board is under the prerequisite that need not be with the help of any instrument, can be according to the other side wiring condition, through the sub-jumper wire mode of short circuit, modify the wiring polarity and the receiving and dispatching position of interface, adapt to the other side cable line preface rapidly, improve debugging efficiency greatly.
The technical scheme of the utility model is that:
a serial communication interface receiving and transmitting and polarity adjusting device is composed of two groups of adjusting terminals, wherein the front end of the device is connected with four pins of an RS422 chip, and the rear end of the device is connected with a signal output terminal; SW1 is a polarity adjusting terminal, SW2 is a transmitting/receiving adjusting terminal;
when both jumper terminals of SW1 and SW2 are connected in a horizontal manner, the 1-4 pin output signals of the signal output terminals are: r-, R +, T-and T + are consistent in connection mode and input mode, which is equivalent to direct connection mode, and the mode is called F1 and is regarded as basic connection mode;
when the SW1 terminal is connected in a vertical manner and the SW2 terminal is connected in a horizontal manner, the 1-4 pin output signals of the signal output terminal are respectively: r +, R-, T + and T-wiring modes are compared with F1, and SW1 is connected to the change of vertical connection from horizontal, so that the adjustment of the polarity of respective differential signals for receiving and transmitting is realized, and the position relation for receiving and transmitting is not changed;
when the SW1 terminal is connected in a horizontal manner and the SW2 terminal is connected in a vertical manner, the 1-4 pin output signals of the signal output terminal are respectively: t-, T +, R-, R + and the wiring mode are compared with F1, the SW2 is connected from the horizontal to the vertical connection to be changed, the adjustment of the transceiving position of the transceiving differential signal is realized, and the transceiving polarity is not changed;
when the SW1 terminal and the SW2 terminal are both connected in a vertical manner, the 1-4 pin output signals of the output terminal J1 are: compared with the F1, the T +, T-, R +, R-wiring mode not only realizes the adjustment of the receiving and transmitting positions of the receiving and transmitting differential signals, but also realizes the adjustment of the respective polarities of the receiving and transmitting signals.
Other modes are as follows: in practice, there may be a situation where only one pair of signals is connected in reverse, taking F1 as an example, if only R + and R-are connected in reverse, the other connection modes are the same as F1, the design may still be compatible with such connection modes, the jumper mode is shown in fig. 7, the output only changes the positions of R + and R-, and the other is consistent with F1.
Adding a polarity and transceiving two-stage adjusting terminal between the chip and the output interface; the adjusting terminal can be subjected to short circuit through the short circuit sub without any tool; the adjustment of the wiring sequence can be rapidly completed through different combinations of the horizontal and vertical connection two-stage debugging terminals; the serial port is suitable for various serial port forms such as RS422, RS485, RS232 and the like.
The utility model has the advantages that: the smart two-stage jumper terminal design is added between the chip and the output port, the problem of wrong wiring frequently encountered in field RS422 debugging is solved, and one debugging board card can modify the wiring polarity and the receiving and sending positions of the interface according to the wiring condition of the other party in a short circuit sub jumper mode on the premise of not using any tool, so that the debugging board card is rapidly adaptive to the cable sequence of the other party, and the debugging efficiency is greatly improved. Other serial ports such as RS422 and RS232 can be used for reference, and the design idea is also applicable.
The present invention will be further explained with reference to the drawings and examples.
Drawings
Fig. 1 is a schematic structural diagram of a serial communication interface transceiving and polarity adjusting device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a MAX491 pin according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an embodiment of the present invention;
FIG. 4 is a schematic diagram of a second embodiment of the present invention;
FIG. 5 is a schematic diagram of a third connection according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a fourth connection according to an embodiment of the present invention;
fig. 7 is a schematic diagram of another connection method according to an embodiment of the present invention.
Detailed Description
The following description of the preferred embodiments of the present invention is provided for the purpose of illustration and description, and is not intended to limit the invention.
Example 1
As shown in fig. 1-7, the device for serial communication interface transceiving and polarity adjustment comprises two sets of adjustment terminals, the front end of the device is connected with four pins of an RS422 chip (MAX 491), and the rear end is connected with a signal output terminal.
The invention adds two groups of 2 x 4-core jumper pins between the chip and the signal output interface, and the wiring relation between the chip, the jumper pins and the signal output terminal is shown in a schematic diagram in figure 1, wherein SW1 is a polarity adjusting terminal, and SW2 is a receiving and transmitting adjusting terminal.
The 12 pin "a" and the 11 pin "B" of the MAX491 chip are respectively a non-inverting input terminal and an inverting input terminal of the chip differential receiver, and the two signals can be represented by "R +" and "R-"; the 9 pin "Y" and the 10 pin "Z" of the MAX491 chip are respectively a non-inverting output terminal and an inverting output terminal of the chip differential transmitter, and these two signals can be represented by "T +" and "T-".
As shown in fig. 1, A, B, Y, Z of MAX491 is connected to 8, 5, 1, 4 pins of SW1 (polarity adjustment) terminal, 8, 5, 1, 4 pins are equivalent to common terminals, each pin can be connected to its pin in horizontal direction or vertical direction through a short circuit, so as to form different connection modes, the positive and negative polarities of signals are changed and then connected to SW2 (transmission/reception adjustment) terminal, similarly, SW2 is connected through pins in horizontal direction or vertical direction, so as to change the connection relation of transmission/reception, and finally connected to signal output terminal, so as to form various connection modes, so as to use the connection relation of the opposite side.
Taking the pin A of the MAX491 as an example, the pin A is connected to the 8 th pin of the SW1, the short-circuiting piece is firstly connected in a horizontal mode, the 8 th pin is short-circuited with the 6 th pin, the signal is connected to the 5 th pin of the SW2, the SW2 short-circuiting piece is also connected in a horizontal mode, the 5 th pin of the SW2 is connected with the 7 th pin, and the pin is finally connected to the 2 nd pin of the output terminal; also for the a signal, if SW1 is changed to be vertically connected, 8 pins and 7 pins are short-circuited, 1 pin connected to SW2, SW2 is still connected in a horizontal mode, 1 pin and 3 pins are connected, and finally connected to the 1 st pin of the output terminal, as can be seen from the above example, the horizontal/vertical short-circuit mode of SW1 is changed, so that the connection relation of the 1 and 2 pins of the output terminal is finally changed, the polarity adjustment of R + and R-is realized, and the principle of other pin adjustment modes is the same.
Through the analysis and the example, the jumper settings between the differential input ends A and B, between the differential output ends Y and A and between the input and output two groups of signals are realized through different connection modes of the short circuit, and finally, the wiring sequence on the output terminal is changed, so that the setting can be carried out according to the wiring relation of the other side.
The American-telecommunication RS422 transceiver chip MAX491 is designed as an example, power is supplied by +5V, the MAX491 is a low-power-consumption RS422 communication integrated driver and receiver, and the highest communication speed is 2.5 Mbps. Pin definitions and functions as shown in figure 2 and table 1,
TABLE 1 MAX491 Pin functional description
Figure DEST_PATH_IMAGE002
The first method is as follows:
when both jumper terminals of SW1 and SW2 are connected in a horizontal manner as shown in fig. 3, the 1-4 pin output signals of the signal output terminals are respectively: r-, R +, T-and T + are connected in a manner consistent with the input, which is equivalent to the direct connection manner of FIG. 1, which is called F1 and is regarded as the basic connection manner, and other connection manners are compared with the basic connection manner.
The second method comprises the following steps:
when the SW1 terminal is connected in a vertical manner and the SW2 terminal is connected in a horizontal manner, the wiring principle is as shown in FIG. 4, and the output signals of the 1-4 pins of the signal output terminal are respectively: compared with the connection mode of F1, the SW1 realizes the adjustment of the polarity of the respective differential signals for receiving and transmitting without changing the position relation of the receiving and transmitting by changing the horizontal connection and the vertical connection.
The third method comprises the following steps:
when the SW1 terminal is connected in a horizontal manner and the SW2 terminal is connected in a vertical manner, the wiring principle is as shown in FIG. 5, and the output signals of the 1-4 pins of the signal output terminal are respectively: t-, T +, R-, R + and the connection mode are compared with F1, and SW2 realizes the adjustment of the transceiving position of the transceiving differential signal from the horizontal connection to the vertical connection without changing the transceiving polarity.
The method is as follows:
when the SW1 terminal and the SW2 terminal are connected in a vertical manner, the wiring principle is as shown in fig. 6, and the 1-4 pin output signals of the output terminal J1 are respectively: compared with the F1, the T +, T-, R +, R-wiring mode not only realizes the adjustment of the receiving and transmitting positions of the receiving and transmitting differential signals, but also realizes the adjustment of the respective polarities of the receiving and transmitting signals.
Other modes are as follows:
in practice, there may be a situation where only one pair of signals is connected in reverse, taking F1 as an example, if only R + and R-are connected in reverse, the other connection modes are the same as F1, the design may still be compatible with such connection modes, the jumper mode is shown in fig. 7, the output only changes the positions of R + and R-, and the other is consistent with F1.
From enumerating the condition above, the utility model discloses can satisfy the compatible requirement of the various wiring relations of field debugging, improve debugging efficiency.

Claims (2)

1. A serial communication interface transceiving and polarity adjusting device is characterized in that: the device consists of two groups of adjusting terminals, the front end of the device is connected with four pins of an RS422 chip, and the rear end of the device is connected with a signal output terminal; SW1 is a polarity adjusting terminal, SW2 is a transmitting/receiving adjusting terminal;
when both jumper terminals of SW1 and SW2 are connected in a horizontal manner, the 1-4 pin output signals of the signal output terminals are: r-, R +, T-and T + are connected in a manner that is consistent with input, and is equivalent to a direct connection manner, wherein the manner is called F1 and is regarded as a basic connection manner;
when the SW1 terminal is connected in a vertical manner and the SW2 terminal is connected in a horizontal manner, the 1-4 pin output signals of the signal output terminal are respectively: r +, R-, T + and T-wiring modes are compared with F1, and SW1 is connected to the change of vertical connection from horizontal, so that the adjustment of the polarity of respective differential signals for receiving and transmitting is realized, and the position relation for receiving and transmitting is not changed;
when the SW1 terminal is connected in a horizontal manner and the SW2 terminal is connected in a vertical manner, the 1-4 pin output signals of the signal output terminal are respectively: t-, T +, R-, R + and the wiring mode are compared with F1, the SW2 is connected from the horizontal to the vertical connection to be changed, the adjustment of the transceiving position of the transceiving differential signal is realized, and the transceiving polarity is not changed;
when the SW1 terminal and the SW2 terminal are both connected in a vertical manner, the 1-4 pin output signals of the output terminal J1 are: compared with the F1, the T +, T-, R +, R-wiring mode not only realizes the adjustment of the receiving and transmitting positions of the receiving and transmitting differential signals, but also realizes the adjustment of the respective polarities of the receiving and transmitting signals.
2. The serial communications interface transceiving and polarity adjusting device of claim 1, wherein: the jumper setting between the differential input ends A and B, between the differential output ends Y and A, and between the input and output two groups of signals is realized by using the short circuit sub, and finally the wiring sequence reflected to the output terminal J1 can be set according to the wiring relation of the other side.
CN202021960968.6U 2020-09-09 2020-09-09 Serial communication interface receiving and transmitting and polarity adjusting device Active CN212933516U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202021960968.6U CN212933516U (en) 2020-09-09 2020-09-09 Serial communication interface receiving and transmitting and polarity adjusting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202021960968.6U CN212933516U (en) 2020-09-09 2020-09-09 Serial communication interface receiving and transmitting and polarity adjusting device

Publications (1)

Publication Number Publication Date
CN212933516U true CN212933516U (en) 2021-04-09

Family

ID=75305471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202021960968.6U Active CN212933516U (en) 2020-09-09 2020-09-09 Serial communication interface receiving and transmitting and polarity adjusting device

Country Status (1)

Country Link
CN (1) CN212933516U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810071A (en) * 2021-09-13 2021-12-17 上海星秒光电科技有限公司 Self-adaptive line sequence adjusting method, device, equipment, system and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810071A (en) * 2021-09-13 2021-12-17 上海星秒光电科技有限公司 Self-adaptive line sequence adjusting method, device, equipment, system and storage medium
CN113810071B (en) * 2021-09-13 2022-07-22 上海星秒光电科技有限公司 Self-adaptive line sequence adjusting method, device, equipment, system and storage medium

Similar Documents

Publication Publication Date Title
CN105406899B (en) Device for power line carrier communications for overocean communications
CN212933516U (en) Serial communication interface receiving and transmitting and polarity adjusting device
CN104253695A (en) Direct-connected medium converter
CN102055634B (en) CAN node interconnection device based on optical fibers
CN1955943A (en) Tool for testing high speed peripheral component interconnected bus interface
CN203104509U (en) Improved circuit for network signal processing
CN102169472A (en) RS485 bus interface circuit
CN105182080A (en) Cable impedance measuring device and method and network device
CN204967812U (en) A relay
CN203882312U (en) Composite interface for ethernet and serial communication and communication device
CN112583401B (en) Isolated single-wire bidirectional transmission circuit based on digital isolator
CN202721651U (en) Audio interface matching recognition device of mobile terminal and electronic signature tool
CN203445987U (en) Testing adapting wire specialized for audio distribution frame
CN202126687U (en) RS485 bus interface circuit
CN204350039U (en) Multifunctional splicing type exchanges data plate
CN216489884U (en) Miniature serial ports photoelectric conversion module
CN201569170U (en) Communication system of gas water heater with function of stagger joint and remedy
CN209805815U (en) 1553B transceiver circuit and data transceiver
CN101146144B (en) E1/T1 interface circuit and E1/T1 interface circuit device with master/slave structure
CN217404398U (en) 485 communication circuit capable of reducing occupation of chip port
CN204190784U (en) A kind of ethernet signal test interface change-over circuit
CN204992192U (en) Multifunctional USB data line
CN219627736U (en) Serial port test circuit based on FPGA
CN212950476U (en) External circuit of vehicle-mounted functional module and vehicle-mounted functional module connecting system
CN212659794U (en) Adapter for converting Type-C interface into Type-C interface

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant