CN106711719A - Male-to-female adaptive serial interface adaption wire - Google Patents
Male-to-female adaptive serial interface adaption wire Download PDFInfo
- Publication number
- CN106711719A CN106711719A CN201510416418.5A CN201510416418A CN106711719A CN 106711719 A CN106711719 A CN 106711719A CN 201510416418 A CN201510416418 A CN 201510416418A CN 106711719 A CN106711719 A CN 106711719A
- Authority
- CN
- China
- Prior art keywords
- pin
- male
- female
- line interface
- serial interface
- 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.)
- Granted
Links
Landscapes
- Communication Control (AREA)
- Dc Digital Transmission (AREA)
Abstract
The invention provides a male-to-female adaptive serial interface adaption wire which comprises a male serial interface, a female serial interface, a reverse ratio voltage regulating circuit, and an adaptive switching circuit, wherein the 2 pin and 3 pin of one serial interface are orderly in a series connection with the reverse ratio voltage regulating circuit and the adaptive switching circuit in two paths. The reverse ratio voltage regulating circuit is used for converting one path of low level detected in the 2 pin and 3 pin into a high level and then outputting the high level to the adaptive switching circuit. Two ends of the adaptive switching circuit are connected to the male serial interface and the female serial interface, and a command of connecting the sending end and receiving end of the male serial interface to the receiving end and sending end of the female serial interface is executed by using the received high level. By using the above adaptive serial interface adaption wire, the functions of serial interface wire sequence determination and automatic configuration are realized, and a problem of an error caused by the interconnection of serial interfaces by using a common adaption wire under the condition of does not knowing a device interface detailed configuration is avoided.
Description
Technical field
The present invention relates to serial interface technologies field, and in particular to a kind of male turns to the self adaptation serial line interface of female
Wiring.
Background technology
Existing male is typically used to the on line form of female serial line interface patchcord:Staggered form or direct-connected connection,
Wherein staggered form is (as shown in Figure 1) for first 2 pin is connected with the pin of other end 3, direct-connected (as shown in Figure 2)
For first 2 pin is connected with the pin of other end 2, first 3 pin is connected with the pin of other end 3, other pin have ground wire and
Some transmitting-receiving control lines are connected using direct-connected mode.2 pin of above-mentioned serial line interface, 3 pin are data transmit-receive pin, are used
In the function of exchange for completing data, if cannot now determine two relayed output forms of equipment, when two
When being connected together between connected, receiving terminal between the mutual transmitting terminal of equipment, the transmission at two ends will be caused or connect
Receive on a data line, so as to lead to not the problem into row data communication.
For example:For the patchcord shown in Fig. 1, when one, two interfaces of equipment of connection are 2 pin as transmission
End, another is 3 pin as transmitting terminal, then in this case the transmission at two ends lead to not on one wire into
Row data communication;And for the patchcord shown in Fig. 2, when two interfaces of equipment of connection are 2 pin as hair
Sending end, then the transmission at two ends also results in cannot enter row data communication on one wire in this case.
The content of the invention
It is an object of the present invention to solve existing serial line interface patchcord after two equipment are connected, due to nothing
Method realizes the function of data sending terminal and receiving terminal Auto-matching, so as to lead to not in the case of pin wrong into
The technical problem of row data transfer, the present invention provides a kind of self adaptation serial line interface patchcord of male to female, profit
The transmitting terminal and receiving terminal Auto-matching between equipment can be realized with the patchcord.
To achieve the above object, self adaptation serial line interface patchcord of a kind of male of the invention to female, including:
Male serial line interface, female serial line interface, reverse ratio-voltage modulate circuit and self-adaptive switch circuit;Wherein one
2 pin and 3 pin of individual serial line interface point two-way is sequentially connected in series reverse ratio-voltage modulate circuit, self-adaptive switch circuit;
The reverse ratio-voltage modulate circuit is used to be detected from 2 pin and 3 pin low level to be converted to high level all the way
Afterwards, export to self-adaptive switch circuit;The two ends of the self-adaptive switch circuit connect respectively male serial line interface and
Female serial line interface, the transmitting terminal and receiving terminal for performing male serial line interface using the high level for receiving is connected respectively
The order of the receiving terminal and transmitting terminal of female serial line interface.
As the further improvement of above-mentioned technical proposal, also including power circuit, described power circuit and reversely ratio
Example voltage modulate circuit is in parallel, for the low transition that exports 2 pin or 3 pin into circuit power supply.
Used as the further improvement of above-mentioned technical proposal, described power circuit uses MAX860 chips by 2 pin or 3
The low transition of pin output is powered into high level.
A kind of male of the invention is to the advantage of the self adaptation serial line interface patchcord of female:
Self adaptation serial line interface of the invention patchcord passes through to detect 2 pin and 3 pin of one of serial line interface respectively
Level, with determine the serial line interface transmission pin and receive pin, then drive self-adaptive switch between equipment
Transmitting terminal links together with receiving terminal, it is achieved thereby that the determination of serial ports line sequence and automatically configuring function, it is to avoid
In the case of unknown device interface detailed configuration, carrying out interconnecting for serial ports using common transfer line causes mistake
Problem;Therefore, the use of serial ports application personnel is greatly facilitated, the work of serial ports line sequence inspection is eliminated.
Brief description of the drawings
Fig. 1 is adapter cable structure figure of the existing male to the staggered form serial line interface of female.
Fig. 2 is adapter cable structure figure of the existing male to the direct-connected serial line interface of female.
Fig. 3 is a kind of self adaptation serial line interface adapter cable structure figure of the male in the embodiment of the present invention to female.
Fig. 4 is that the circuit topology figure that circuit completes interconnection is automatically configured in self-adaptive switch circuit of the invention.
Specific embodiment
Self adaptation serial line interface switching to a kind of male of the present invention to female with reference to the accompanying drawings and examples
Line is described in detail.
As shown in figure 3, a kind of self adaptation serial line interface patchcord of the male of the invention to female includes:Male string
Line interface, female serial line interface, reverse ratio-voltage modulate circuit, self-adaptive switch circuit.One of them is serial
2 pin and 3 pin of interface point two-way is sequentially connected in series reverse ratio-voltage modulate circuit, self-adaptive switch circuit;This is anti-
To ratio-voltage modulate circuit be used for will be detected from 2 pin and 3 pin it is low level be converted to high level all the way after,
Export to self-adaptive switch circuit;The two ends of the self-adaptive switch circuit connect male serial line interface and female respectively
Serial line interface, the transmitting terminal and receiving terminal for performing One serial interface using the high level for receiving connects another string respectively
The order of the receiving terminal and transmitting terminal of line interface.
Self adaptation serial line interface patchcord based on said structure, as shown in figure 3, in the present embodiment, the switching
Line also includes power circuit, and described power circuit is in parallel with reverse ratio-voltage modulate circuit, for by 2 pin or 3
Power supply of the low transition of pin output into circuit.
Below by taking RS232 serial line interfaces as an example, with reference to the male shown in Fig. 3 to the self adaptation serial line interface of female
The circuit structure of patchcord, the operation principle to the patchcord is explained:
Male serial line interface CON2 (or female) is linked into equipment end first, by female serial line interface CON1 (or
Male) be linked into PC ends, at this moment power circuit is by the power supply of RS232 level generating circuitries, then again by
The 232-TXD that reverse ratio modulate circuit exports male serial line interface CON2 transmitting terminals (2 pin or 3 pin) bears
Level conversion is given to self-adaptive switch circuit into the control signal of high level, by the matching of self-adaptive switch circuit with
The transmission for making PC ends is connected to the reception of equipment end, the reception at PC ends is connected to the transmission of equipment end.
The concrete processing procedure of circuit is in the patchcord:After male serial line interface CON2 is linked into outside serial ports,
Produce+5V power supplys to system power supply by power circuit, the effect of power circuit is by male serial line interface CON2
2 pin or the RS232 level generation system power supply of 3 pin output.Described RS232 level is by being somebody's turn to do by external equipment
What male serial line interface CON2 was provided, -12V the voltages that can be exported 2 pin or 3 pin using MAX860 chips are through it
The 5V power supplys for producing conversion line to need after conversion.
After system power good, the 2 of male serial line interface CON2 are detected using reverse ratio-voltage modulate circuit
After -12V the level of pin or 3 pin, the transmitting terminal that the road is equipment is determined, and-a 12V is converted into+5V voltages and connects
Enter in self-adaptive switch circuit;If it is confirmed that illustrate that 2 pin are the transmission pin of equipment when being and having -12V level on 2 pin,
+ 5V the voltage signals that now self-adaptive switch circuit is received all the way according to 2 pin configure its own 1,3 tunnels closure,
2nd, 4 tunnels disconnect, if instead confirmation illustrates that 3 pin are the transmission pin of equipment when being and having -12V level on 3 pin, now
+ 5V the voltage signals that self-adaptive switch circuit is received all the way according to 3 pin configure its own 1,3 tunnels and disconnect, 2,
4 tunnels close.So far, the configuration of interconnecting of RS232 level is completed, to realize interconnecting for serial ports.
In addition, automatically configuring the circuit structure that circuit completes interconnection in self-adaptive switch circuit, may be designed as Fig. 4 and show
The circuit topology figure for going out.
It should be noted last that, the above embodiments are merely illustrative of the technical solutions of the present invention and it is unrestricted.Although
The present invention has been described in detail with reference to embodiment, it will be understood by those within the art that, to the present invention
Technical scheme modify or equivalent, without departure from the spirit and scope of technical solution of the present invention, its is equal
Should cover in the middle of scope of the presently claimed invention.
Claims (3)
1. self adaptation serial line interface patchcord of a kind of male to female, including:Male serial line interface and female are serial
Interface, it is characterised in that also include:Reverse ratio-voltage modulate circuit and self-adaptive switch circuit;One of them
2 pin and 3 pin of serial line interface point two-way is sequentially connected in series reverse ratio-voltage modulate circuit, self-adaptive switch circuit;
The reverse ratio-voltage modulate circuit is used to be detected from 2 pin and 3 pin low level to be converted to high level all the way
Afterwards, export to self-adaptive switch circuit;The two ends of the self-adaptive switch circuit connect respectively male serial line interface and
Female serial line interface, the transmitting terminal and receiving terminal for performing male serial line interface using the high level for receiving is connected respectively
The order of the receiving terminal and transmitting terminal of female serial line interface.
2. self adaptation serial line interface patchcord of the male according to claim 1 to female, it is characterised in that
Also include power circuit, described power circuit is in parallel with reverse ratio-voltage modulate circuit, for by 2 pin or 3
Power supply of the low transition of pin output into circuit.
3. self adaptation serial line interface patchcord of the male according to claim 2 to female, it is characterised in that
Into high level be powered the low transition that 2 pin or 3 pin are exported using MAX860 chips by described power circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510416418.5A CN106711719B (en) | 2015-07-15 | 2015-07-15 | A kind of adaptive serial line interface patchcord of male connector to female |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510416418.5A CN106711719B (en) | 2015-07-15 | 2015-07-15 | A kind of adaptive serial line interface patchcord of male connector to female |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106711719A true CN106711719A (en) | 2017-05-24 |
CN106711719B CN106711719B (en) | 2018-12-25 |
Family
ID=58895131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510416418.5A Active CN106711719B (en) | 2015-07-15 | 2015-07-15 | A kind of adaptive serial line interface patchcord of male connector to female |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106711719B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109800203A (en) * | 2019-01-25 | 2019-05-24 | 山东超越数控电子股份有限公司 | A kind of RS232 serial ports RXD and TXD automatic switch-over circuit and its switching method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4632698A (en) * | 1983-09-02 | 1986-12-30 | Union Carbide Corporation | Biocidal 2-aryl-1,3-cyclopentanedione enol ester compounds |
CN201570020U (en) * | 2009-12-30 | 2010-09-01 | 成都前锋电子电器集团股份有限公司 | Automatic switching circuit of 485 interface and series port |
CN102377085A (en) * | 2010-08-09 | 2012-03-14 | 鸿富锦精密工业(深圳)有限公司 | Serial port transmission device |
CN202712642U (en) * | 2012-07-20 | 2013-01-30 | 中国长江电力股份有限公司 | Serial port data connecting wire switchable in crossing and straight connection manners |
CN104182371A (en) * | 2014-05-30 | 2014-12-03 | 东北电力大学 | Device for switching between serial port straight-through line and cross line |
-
2015
- 2015-07-15 CN CN201510416418.5A patent/CN106711719B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4632698A (en) * | 1983-09-02 | 1986-12-30 | Union Carbide Corporation | Biocidal 2-aryl-1,3-cyclopentanedione enol ester compounds |
CN201570020U (en) * | 2009-12-30 | 2010-09-01 | 成都前锋电子电器集团股份有限公司 | Automatic switching circuit of 485 interface and series port |
CN102377085A (en) * | 2010-08-09 | 2012-03-14 | 鸿富锦精密工业(深圳)有限公司 | Serial port transmission device |
CN202712642U (en) * | 2012-07-20 | 2013-01-30 | 中国长江电力股份有限公司 | Serial port data connecting wire switchable in crossing and straight connection manners |
CN104182371A (en) * | 2014-05-30 | 2014-12-03 | 东北电力大学 | Device for switching between serial port straight-through line and cross line |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109800203A (en) * | 2019-01-25 | 2019-05-24 | 山东超越数控电子股份有限公司 | A kind of RS232 serial ports RXD and TXD automatic switch-over circuit and its switching method |
Also Published As
Publication number | Publication date |
---|---|
CN106711719B (en) | 2018-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8693497B2 (en) | Long-reach ethernet system and relay | |
US9858810B2 (en) | Arrangement and method for controlling and/or monitoring a subsea device | |
CN100405415C (en) | Sensor cable and amplifier-separated type sensor with the cable | |
CN103036619B (en) | Single optical transport intelligent communication module and its application process | |
CN105141480A (en) | Power over ethernet (PoE) switch test device, system and method | |
CN106708769A (en) | Adaptive serial interface circuit | |
CN107741707A (en) | A kind of small-sized multiplex roles underwater observation is plugged into platform | |
CN107113211A (en) | A kind of function connects unit for including service module | |
CN101512983B (en) | Routing facilities for seabed electronic module | |
CN204946336U (en) | The metering communication module of intelligent electric energy meter | |
CN106711719A (en) | Male-to-female adaptive serial interface adaption wire | |
CN108292998A (en) | bus coupling unit and bus system with bus coupling unit | |
CN105629828A (en) | Multiprotocol isolation-type digital signal excitation source | |
CN107908584A (en) | A kind of 485 communication networks of multichannel RS | |
CN203014825U (en) | PCM interface test device | |
CN102523141B (en) | Method for networking and cascading electronic equipment by using universal serial port technique | |
CN106711698A (en) | Male-to-male adaptive serial interface adaption wire | |
CN106340763B (en) | A kind of adaptive serial line interface patchcord of female to female | |
CN109617565A (en) | The circuit device and photovoltaic system of circuit module, multimode with communication function | |
CN203965471U (en) | Testing apparatus and communication device thereof | |
CN101155037B (en) | Signal exchange system and its voltage transformation connector | |
US11677573B2 (en) | Contactless PoE connector and contactless PoE connection system | |
CN203595923U (en) | RS485 star-type photoelectric hybrid transmission equipment | |
CN208820797U (en) | RS-422 based on full duplex operating mode turns Ethernet system | |
CN110309091A (en) | A kind of Signals Transfer Board, channel test platform and its test method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |