CN106711719B - A kind of adaptive serial line interface patchcord of male connector to female - Google Patents
A kind of adaptive serial line interface patchcord of male connector to female Download PDFInfo
- Publication number
- CN106711719B CN106711719B CN201510416418.5A CN201510416418A CN106711719B CN 106711719 B CN106711719 B CN 106711719B CN 201510416418 A CN201510416418 A CN 201510416418A CN 106711719 B CN106711719 B CN 106711719B
- Authority
- CN
- China
- Prior art keywords
- line interface
- serial line
- feet
- male connector
- female
- 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
Links
Abstract
Adaptive serial line interface patchcord the present invention provides a kind of male connector to female, comprising: male connector serial line interface, female serial line interface, reversed ratio-voltage conditioning circuit and self-adaptive switch circuit;2 feet and 3 feet of one of serial line interface divide two-way to be sequentially connected in series reversed ratio-voltage conditioning circuit, self-adaptive switch circuit;The reversed ratio-voltage conditioning circuit for will be detected from 2 feet and 3 feet it is low level be converted to high level all the way after, output is to self-adaptive switch circuit;The both ends of the self-adaptive switch circuit are separately connected male connector serial line interface and female serial line interface, execute the transmitting terminal of male connector serial line interface using the high level received and receiving end is separately connected the receiving end of female serial line interface and the order of transmitting terminal.Function is determined and automatically configured using what above-mentioned adaptive serial line interface patchcord realized serial ports line sequence, is avoided in the case where unknown device interface detailed configuration, carrying out interconnecting for serial ports using common transfer line leads to the problem of mistake.
Description
Technical field
The present invention relates to serial interface technologies fields, and in particular to a kind of male connector transfers to the adaptive serial line interface of female
Line.
Background technique
Existing male connector generally uses 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) is connected for 2 feet with 3 foot of other end, it is direct-connected it is (as shown in Figure 2) be 2 feet and
2 foot of other end is connected, and 3 feet are connected with 3 foot of other end, other feet have ground wire and some transmitting-receiving control lines to be all made of directly
Even mode connects.2 feet, 3 feet of above-mentioned serial line interface are data transmit-receive feet, for completing the function of exchange of data, at this time if
The output form that can not determine two relayed equipment, when being connected, between receiving end between two mutual transmitting terminals of equipment
When being connected together, sending or receiving on a data line for both ends will be made, it is logical so as to cause data can not be carried out
The problem of letter.
Such as: for patchcord shown in FIG. 1, when one, interface of two equipment of connection is 2 feet as transmitting terminal, separately
One is 3 feet as transmitting terminal, then the transmission at both ends leads to not carry out data communication on one wire in this case;And
For patchcord shown in Fig. 2, when the interface of two equipment of connection is 2 feet as transmitting terminal, then in this case two
The transmission at end also results on one wire can not carry out data communication.
Summary of the invention
It is an object of the present invention to solve existing serial line interface patchcord after connecting two equipment, due to can not
The function of data sending terminal and receiving end Auto-matching is realized, to lead to not carry out data biography in the case where pin wrong
Defeated technical problem, the present invention provide a kind of adaptive serial line interface patchcord of male connector to female, can using the patchcord
Realize the transmitting terminal and receiving end Auto-matching between equipment.
To achieve the above object, a kind of adaptive serial line interface patchcord of male connector of the invention to female, comprising: male connector
Serial line interface, female serial line interface, reversed ratio-voltage conditioning circuit and self-adaptive switch circuit;One of serial line interface
2 feet and 3 feet divide two-way to be sequentially connected in series reversed ratio-voltage conditioning circuit, self-adaptive switch circuit;The reversed ratio-voltage conditioning
Circuit for will be detected from 2 feet and 3 feet it is low level be converted to high level all the way after, output is to self-adaptive switch circuit;
The both ends of the self-adaptive switch circuit are separately connected male connector serial line interface and female serial line interface, utilize the high level received
The transmitting terminal and receiving end for executing male connector serial line interface are separately connected the receiving end of female serial line interface and the order of transmitting terminal.
It as a further improvement of the above technical scheme, further include power circuit, the power circuit and reversed ratio
Voltage conditioning circuit is in parallel, for the power supply by 2 feet or the low transition of 3 feet output at circuit.
As a further improvement of the above technical scheme, the power circuit is defeated by 2 feet or 3 feet using MAX860 chip
Low transition out is powered at high level.
A kind of male connector of the invention is the advantages of adaptive serial line interface patchcord of female:
Adaptive serial line interface patchcord of the invention passes through 2 feet and 3 feet for detecting one of serial line interface respectively
Level, with determine the serial line interface transmission foot and receive foot, then drive self-adaptive switch between equipment transmitting terminal with
Receiving end links together, so that realize serial ports line sequence determines and automatically configure function, avoids in unknown device interface
In the case where detailed configuration, carrying out interconnecting for serial ports using common transfer line leads to the problem of mistake;Therefore, greatly square
Serial ports apply personnel use, the work of serial ports line sequence inspection is omitted.
Detailed description of the invention
Fig. 1 is adapter cable structure figure of the existing male connector to the staggered form serial line interface of female.
Fig. 2 is adapter cable structure figure of the existing male connector to the direct-connected serial line interface of female.
Fig. 3 is adaptive serial line interface adapter cable structure figure of one of embodiment of the present invention male connector to female.
Fig. 4 is the circuit topology figure for automatically configuring circuit in self-adaptive switch circuit of the invention and completing interconnection.
Specific embodiment
It transfers with reference to the accompanying drawings and examples to a kind of adaptive serial line interface of the male connector of the present invention to female
Line is described in detail.
As shown in figure 3, a kind of male connector of the invention includes: male connector serial interface to the adaptive serial line interface patchcord of female
Mouth, female serial line interface, reversed ratio-voltage conditioning circuit, self-adaptive switch circuit.2 feet of one of serial line interface and 3
Foot divides two-way to be sequentially connected in series reversed ratio-voltage conditioning circuit, self-adaptive switch circuit;The reversed ratio-voltage conditioning circuit is used
In will be detected from 2 feet and 3 feet it is low level be converted to high level all the way after, output is to self-adaptive switch circuit;It is described from
The both ends for adapting to switching circuit are separately connected male connector serial line interface and female serial line interface, execute one using the high level received
The transmitting terminal of serial line interface and receiving end are separately connected the receiving end of another serial line interface and the order of transmitting terminal.
Adaptive serial line interface patchcord based on above structure, as shown in figure 3, in the present embodiment, the patchcord is also
Including power circuit, the power circuit is in parallel with reversed ratio-voltage conditioning circuit, low for exporting 2 feet or 3 feet
Level conversion at circuit power supply.
Below by taking RS232 serial line interface as an example, the male connector in conjunction with shown in Fig. 3 transfers to the adaptive serial line interface of female
The circuit structure of line explains the working principle of the patchcord:
Male connector serial line interface CON2 (or female) is linked into equipment end first, by female serial line interface CON1 (or male connector)
It is linked into the end PC, at this moment power circuit passes through the power supply of RS232 level generating circuitry, then improves electricity by reversed ratio again
Road is believed by the control that the 232-TXD negative level that male connector serial line interface CON2 transmitting terminal (2 feet or 3 feet) exports is converted into high level
Number it is given to self-adaptive switch circuit, passes through the matching of self-adaptive switch circuit so that the transmission at the end PC is connected to connecing for equipment end
It receives, the reception at the end PC is connected to the transmission of equipment end.
In the patchcord circuit the specific process is as follows: after male connector serial line interface CON2 is linked into external serial ports,
By power circuit generation+5V power supply to system power supply, the effect of power circuit is 2 feet or 3 by male connector serial line interface CON2
The RS232 level of foot output generates system power supply.The RS232 level is to pass through the male connector serial line interface by external equipment
What CON2 was provided, MAX860 chip can be used by -12V the voltage that 2 feet or 3 feet export and generate what conversion line needed after its transformation
5V power supply.
After system power good, 2 feet of male connector serial line interface CON2 are detected using reversed ratio-voltage conditioning circuit
Or 3 foot -12V level after, determine that the road is the transmitting terminal of equipment, and-a 12V is converted into+5V voltage and is linked into adaptively
In switching circuit;If it is confirmed that being to illustrate that 2 feet are the transmission feet of equipment when having -12V level on 2 feet, self-adaptive switch is electric at this time
+ 5V the voltage signal that road receives all the way according to 2 feet configures its own 1,3 tunnels closure, and 2,4 tunnels disconnect, if instead confirmation
It is to illustrate that 3 feet are the transmission feet of equipment when having -12V level on 3 feet, self-adaptive switch circuit receives all the way according to 3 feet at this time
+ 5V voltage signal configure its own 1,3 tunnels disconnection, 2,4 tunnels closure.So far, interconnecting for RS232 level configures
At 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 shown in Fig. 4
Circuit topology figure.
It should be noted last that the above examples are only used to illustrate the technical scheme of the present invention and are not limiting.Although ginseng
It is described the invention in detail according to embodiment, those skilled in the art should understand that, to technical side of the invention
Case is modified or replaced equivalently, and without departure from the spirit and scope of technical solution of the present invention, should all be covered in the present invention
Scope of the claims in.
Claims (3)
1. a kind of adaptive serial line interface patchcord of male connector to female, comprising: male connector serial line interface and female serial line interface,
It is characterized in that, further includes: reversed ratio-voltage conditioning circuit and self-adaptive switch circuit;2 feet of one of serial line interface according to
Secondary series opposing ratio-voltage conditioning circuit, self-adaptive switch circuit and 3 feet be sequentially connected in series reversed ratio-voltage conditioning circuit, from
Adapt to switching circuit;The reversed ratio-voltage conditioning circuit low level is converted to all the way for that will detect from 2 feet and 3 feet
After high level, output to self-adaptive switch circuit;The both ends of the self-adaptive switch circuit be separately connected male connector serial line interface and
Female serial line interface executes the transmitting terminal of male connector serial line interface using the high level received and receiving end is separately connected female string
The receiving end of line interface and the order of transmitting terminal.
2. adaptive serial line interface patchcord of the male connector according to claim 1 to female, which is characterized in that further include electricity
Source circuit, the power circuit is in parallel with reversed ratio-voltage conditioning circuit, for turning the low level of 2 feet or the output of 3 feet
Change the power supply of circuit into.
3. adaptive serial line interface patchcord of the male connector according to claim 2 to female, which is characterized in that the electricity
The low transition that 2 feet or 3 feet export is powered by source circuit using MAX860 chip at high level.
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 CN106711719A (en) | 2017-05-24 |
CN106711719B true 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) |
Families Citing this family (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 |
Also Published As
Publication number | Publication date |
---|---|
CN106711719A (en) | 2017-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100405415C (en) | Sensor cable and amplifier-separated type sensor with the cable | |
CN104838636A (en) | Ethernet over USB interfaces with full-duplex differential pairs | |
CN204706735U (en) | The telecommunication cable of telecommunication cable connector and Belt connector | |
CN201207647Y (en) | Two-wire system non-polarity master-slave type communication transceiver | |
CN104090511A (en) | Circuit and method for achieving non-polar 485 communication | |
CN204946336U (en) | The metering communication module of intelligent electric energy meter | |
CN106711719B (en) | A kind of adaptive serial line interface patchcord of male connector to female | |
CN102141592B (en) | Cable detection method and system | |
CN203872197U (en) | Novel router and router networking configuration | |
CN206077440U (en) | A kind of communication protocol converter | |
CN103473208B (en) | Transmission system | |
CN106340763B (en) | A kind of adaptive serial line interface patchcord of female to female | |
CN201867801U (en) | Communication signal conversion device for air conditioner | |
CN205336276U (en) | Based on many windings coupling inductance power line carrier communication system | |
US11677573B2 (en) | Contactless PoE connector and contactless PoE connection system | |
CN206178380U (en) | Switching value acquisition circuit | |
CN103904915B (en) | Power adapter and electronic device applied with power adapter | |
CN201623714U (en) | Two-way communication circuit | |
CN207603633U (en) | Electric safety system Internet of Things data wireless transport module | |
CN207529181U (en) | A kind of RS485 telecommunication circuits | |
CN106707946A (en) | Data line for communication between S7-200 PLC (Programmable Logic Controller) and ACE3600 RTU (Remote Terminal Unit) | |
CN205051134U (en) | 100G cable module based on CFP2 interface | |
CN106711698A (en) | Male-to-male adaptive serial interface adaption wire | |
CN209668558U (en) | Integrated type elevator communication device | |
CN104020532A (en) | Serial communication optical fiber conversion device with universal serial bus (USB) interface |
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 |