CN106383800A - Intelligent serial interface equipment switching device and method - Google Patents
Intelligent serial interface equipment switching device and method Download PDFInfo
- Publication number
- CN106383800A CN106383800A CN201610745295.4A CN201610745295A CN106383800A CN 106383800 A CN106383800 A CN 106383800A CN 201610745295 A CN201610745295 A CN 201610745295A CN 106383800 A CN106383800 A CN 106383800A
- Authority
- CN
- China
- Prior art keywords
- serial
- mcu
- signal
- change
- over circuit
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4004—Coupling between buses
- G06F13/4022—Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Mathematical Physics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an intelligent serial interface equipment switching device and method. The intelligent serial interface equipment switching device comprises a signal interface, an MCU, a switching module and a level switching module, wherein the signal interface receives a first serial interface signal and a second serial interface signal at the same time; the MCU outputs a corresponding level signal according to a received equipment type instruction; then the switching module controls on-off of a loop between a first or second serial interface equipment and the MCU via the level signal; then the level switching module switches the first or second serial interface signal into a TTL level signal according to the level signal; serial interface signals of various standards can be accessed to a system with reuse of a signal line; serial interface equipment can be automatically switched and accessed via the level signal, and frequent signal line exchange can be avoided; only one-standard serial interface loop can be closed at the same time, so a problem of CPU resource waste due to signal competition can be overcome.
Description
Technical field
The present invention relates to serial equipment technical field, particularly to a kind of intelligent serial equipment switching device and method.
Background technology
Industry spot often can use multiple serial data interfaces, such as RS232, RS485, RS422 standard interface, because standard
Difference, lead to the signal definition of interface different, for the core devices of reception processing data, need different serial ports
Standard carrys out reception processing using independent serial ports, leads to the resource of CPU nervous, but actually outside may only need to connect therein
A kind of equipment of serial ports standard;RS232 and RS485 signal is generally linked into different holding wires and connects by existing technology respectively
Mouth conversion chip, then when mounted, need user to distinguish the type of access device, and access according to corresponding holding wire, no
Facilitate project installation.
In addition, prior art can only be connect in access system, and two kinds of equipment by way of outside independent signal line simultaneously
Enter one kind, when outside is concurrently accessed two kinds of serial equipments, and when sending data to MCU, then communication contention problem occurs simultaneously.
Therefore common application is required to tackle different equipment using two independent serial ports, and often user only needs to use it
Middle one kind, the serial ports of that CPU arises that the idle state in port.
Thus prior art could be improved and improves.
Content of the invention
A kind of in view of in place of above-mentioned the deficiencies in the prior art, it is an object of the invention to provide intelligent serial equipment switching dress
Put and method, by the way of holding wire multiplexing, the rs 232 serial interface signal of various criterion is linked in system, handover module root simultaneously
The serial equipment accessing according to level signal automatic switchover, frequently changes holding wire without using person, also solves at present due to letter
The problem that number cpu resource that competition leads to wastes.
In order to achieve the above object, this invention takes technical scheme below:
A kind of intelligent serial equipment switching device, it includes:
Signaling interface, for receiving and dispatching first serial signal and second serial signal simultaneously;
MCU, for exporting corresponding level signal according to the device type instruction receiving;
Handover module, for controlling loop between first serial equipment or second serial equipment and MCU according to described level signal
Break-make;
Level switch module, for being converted to TTL electricity according to described level signal by first serial signal or second serial signal
Ordinary mail number.
In described intelligent serial equipment switching device, when MCU output high level, first serial is controlled by handover module
Loop between circuit closed between equipment and MCU, and second serial equipment and MCU disconnects;When MCU output low level,
Controlled by handover module the loop between first serial equipment and MCU to disconnect, and the loop between second serial equipment and MCU is closed
Close.
In described intelligent serial equipment switching device, described level switch module includes the first change-over circuit and second turn
Change circuit, described first change-over circuit is used for, when MCU output high level, first serial signal is converted to Transistor-Transistor Logic level signal,
Described second change-over circuit is used for, when MCU output low level, second serial signal is converted to Transistor-Transistor Logic level signal;Described first
Change-over circuit and the second change-over circuit are all connected with handover module, the serial ports receiving terminal RXD of MCU and serial ports transmitting terminal TXD.
In described intelligent serial equipment switching device, described handover module includes the first analog switch, the second simulation is opened
Close and the 3rd analog switch, described first analog switch is used for the transmitting terminal TXD0 according to described level signal control signal interface
With being opened or closed of the first change-over circuit and the second change-over circuit;Described second analog switch is used for according to described level signal
Being opened or closed of the receiving terminal RXD0 of control signal interface and the first change-over circuit and the second change-over circuit;Described 3rd simulation
Switch for the serial ports receiving terminal RXD of MCU and the first change-over circuit and the second change-over circuit are controlled according to described level signal
It is opened or closed.
In described intelligent serial equipment switching device, the moved end of described first analog switch connects the transmission of signaling interface
End, one of described first analog switch not moved end connect the first change-over circuit, another of described first analog switch is motionless
End connects the second change-over circuit, and the EN end of described first analog switch connects the I/O end of MCU;Described second analog switch dynamic
End connects the receiving terminal of signaling interface, one of described second analog switch not moved end connect the first change-over circuit, described second
Another of analog switch does not connect the second change-over circuit in moved end, and the EN end of described second analog switch connects the I/O end of MCU;
The moved end of described 3rd analog switch connects the serial ports receiving terminal RXD of MCU, a not moved end connection of described 3rd analog switch
First change-over circuit, another of described 3rd analog switch does not connect the second change-over circuit, described 3rd analog switch in moved end
EN end connect MCU I/O end.
A kind of intelligent serial equipment changing method, it comprises the steps:
A, received and dispatched first serial signal and second serial signal by signaling interface simultaneously;
B, by MCU according to receive device type instruction export corresponding level signal;
C, loop between first serial equipment or second serial equipment and MCU is controlled according to described level signal by handover module
Break-make;
D, first serial signal or second serial signal are converted to according to described level signal by Transistor-Transistor Logic level by level switch module
Signal.
In described intelligent serial equipment changing method, described step C specifically includes:
When MCU output high level, the circuit closed between first serial equipment and MCU is controlled by handover module, and the second string
Loop between jaws equipment and MCU disconnects;
When MCU output low level, the loop between first serial equipment and MCU is controlled to disconnect by handover module, and the second string
Circuit closed between jaws equipment and MCU.
In described intelligent serial equipment changing method, described step D specifically includes:
When MCU output high level, first serial signal is converted to by Transistor-Transistor Logic level signal by the first change-over circuit;
When MCU output low level, second serial signal is converted to by Transistor-Transistor Logic level signal by the second change-over circuit.
In the intelligent serial equipment switching device providing compared to prior art, the present invention and method, described intelligent serial ports
Equipment switching device includes signaling interface, MCU, handover module and level switch module, receives and dispatches the first string by signaling interface simultaneously
Message number and second serial signal;Afterwards corresponding level signal is exported according to the device type instruction receiving by MCU;Cut afterwards
Die change tuber controls the break-make in loop between first serial equipment or second serial equipment and MCU according to described level signal;Afterwards
First serial signal or second serial signal are converted to Transistor-Transistor Logic level signal according to described level signal by level switch module, lead to
Cross by the way of holding wire multiplexing, the rs 232 serial interface signal of various criterion is linked in system, handover module is according to level simultaneously
The serial equipment that signal automatic switchover accesses, frequently changes holding wire without using person, and in the same time, only one kind is marked
Accurate serial ports circuit closed, also solves the problems, such as at present because the cpu resource that signal competition leads to wastes.
Brief description
The structured flowchart of the intelligent serial equipment switching device that Fig. 1 provides for the present invention.
The flow chart of the intelligent serial equipment changing method that Fig. 2 provides for the present invention.
Specific embodiment
In view of distinguish access device in prior art need to change holding wire it has not been convenient to project installation, and due to communication contention
The shortcomings of lead to CPU serial ports to leave unused, it is an object of the invention to provide a kind of intelligent serial equipment switching device and method, adopt
The mode of holding wire multiplexing, the rs 232 serial interface signal of various criterion is linked in system simultaneously, and handover module is according to level signal certainly
The serial equipment that dynamic switching accesses, frequently changes holding wire without using person, also solves and is led to due to signal competition at present
The problem that cpu resource wastes.
For making the purpose of the present invention, technical scheme and effect clearer, clear and definite, develop simultaneously embodiment pair referring to the drawings
The present invention further describes.It should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not used to
Limit the present invention.
Refer to Fig. 1, the intelligent serial equipment switching device that the present invention provides includes signaling interface 10, MCU20, switching mould
Block 30 and level switch module 40, described handover module 30 connects signaling interface 10, MCU20 and level switch module 40, described
Level switch module 40 is also connected with MCU20, and wherein, described signaling interface 10 is used for transmitting-receiving first serial signal and the second string simultaneously
Message number;The device type instruction that described MCU20 is used for according to receiving exports corresponding level signal;Described handover module 30 is used
In the break-make controlling loop between first serial equipment or second serial equipment and MCU20 according to described level signal;Described electricity
Flat modular converter 40 is used for, according to described level signal, first serial signal or second serial signal are converted to Transistor-Transistor Logic level letter
Number.
The intelligent serial equipment switching device that the present invention provides is passed through to receive and dispatch first serial letter using signaling interface 10 simultaneously
Number and second serial signal it is only necessary to two holding wires, by way of holding wire is multiplexed, you can by the string of two kinds of various criterions
Message number is linked in system, has both saved design space, also solves and accesses holding wire complexity, inconvenient the asking of project installation
Topic, user may be selected current device type, exports corresponding level signal by MCU20 according to the device type that user selects, cuts
Die change block 30 controls the break-make in loop between corresponding serial equipment and MCU20 according to this level signal, by level switch module
Corresponding rs 232 serial interface signal is converted to Transistor-Transistor Logic level signal by 40 to be processed in order to the follow-up data of MCU20, need not make during use
User frequently changes holding wire, and intelligence switching that device type switching device can achieve access device only need to be pre-selected,
And due to only having a kind of serial ports circuit closed of standard in the same time it is only necessary to take a serial port resource can meet work(
Can require, also solve the problems, such as at present because the cpu resource that signal competition leads to wastes.
Specifically, when MCU20 output high level, controlled between first serial equipment and MCU20 by handover module 30
Loop between circuit closed, and second serial equipment and MCU20 disconnects;When MCU20 output low level, by handover module 30
The loop between first serial equipment and MCU20 is controlled to disconnect, and the circuit closed between second serial equipment and MCU20.
Further, described level switch module 40 includes the first change-over circuit 401 and the second change-over circuit 402, described
First change-over circuit 401 and the second change-over circuit 402 are all connected with handover module 30, the serial ports receiving terminal RXD of MCU20 and serial ports and send out
Sending end TXD, wherein, described first change-over circuit 401 is used for being converted to first serial signal when MCU20 output high level
Transistor-Transistor Logic level signal, described second change-over circuit 402 is used for, when MCU20 output low level, second serial signal is converted to TTL
Level signal.
When user selects current device to be first serial equipment, MCU20 exports high level, and handover module 30 controls first
Loop between circuit closed between serial equipment and MCU20, and second serial equipment and MCU20 disconnects, and that is, now first
Change-over circuit 401 be linked into the second change-over circuit 402 in loop disconnect so that between first serial equipment and MCU20 return
Road closes, and by the first change-over circuit 401, first serial signal is converted to Transistor-Transistor Logic level signal;When being for selecting current
During two serial equipments, MCU20 exports low level, and handover module 30 controls the loop between first serial equipment and MCU20 to disconnect,
And the circuit closed between second serial equipment and MCU20, that is, now the second change-over circuit 402 is linked into first turn in loop
Change circuit 401 to disconnect, make the circuit closed between second serial equipment and MCU20, and gone here and there first by the second change-over circuit 402
Message number is converted to Transistor-Transistor Logic level signal, and in the same time, a kind of serial ports circuit closed of only standard is gone here and there it is only necessary to take one
Mouth resource can meet functional requirement, it is to avoid leaves unused in port.
Please continue to refer to Fig. 1, in the intelligent serial equipment switching device that the present invention provides, described handover module 30 includes the
One analog switch K1, the second analog switch K2 and the 3rd analog switch K3, described first analog switch K1 is used for according to described electricity
The disconnection of the transmitting terminal TXD0 of flat signal control signal interface 10 and the first change-over circuit 401 and the second change-over circuit 402 or close
Close;Described second analog switch K2 is used for receiving terminal RXD0 and first conversion according to described level signal control signal interface 10
Being opened or closed of circuit 401 and the second change-over circuit 402;Described 3rd analog switch K3 is used for according to described level signal control
Being opened or closed of the serial ports receiving terminal RXD of MCU20 processed and the first change-over circuit 401 and the second change-over circuit 402, i.e. the present invention
It is closure and the disconnection controlling analog switch by the level signal exporting according to MCU20, and then control the serial ports being currently accessed
The attribute of equipment, realizes the intelligence switching of serial equipment, and wherein passing through analog switch and level shifting circuit can will be outside
Serial equipment, such as RS232/RS485/RS422 equipment and internal MCU20 keep apart, and can play when using and insert
With(Hot plug)Effect, user only need to configure device type, can carry out powered hot plug operations to equipment in use,
Do not affect communication efficiency.
Specifically, the moved end of described first analog switch K1 connects the transmitting terminal TXD0 of signaling interface 10, described first mould
Moved end does not connect the first change-over circuit 401 to of plan switch K1, and another of described first analog switch K1 does not connect moved end
Second change-over circuit 402, the EN end of described first analog switch K1 connects the I/O end of MCU20;Described second analog switch K2's
Moved end does not connect the first change-over circuit to of the receiving terminal RXD0 of moved end connection signaling interface 10, described second analog switch K2
Another of 401, described second analog switch K2 does not connect the second change-over circuit 402 in moved end, described second analog switch K2's
EN end connects the I/O end of MCU20;The moved end of described 3rd analog switch K3 connects the serial ports receiving terminal RXD of MCU20, and described the
Moved end does not connect the first change-over circuit 401, another not moved end of described 3rd analog switch K3 to of three analog switch K3
Connect the second change-over circuit 402, the EN end of described 3rd analog switch K3 connects the I/O end of MCU20.Cut off by analog switch
The impact to change-over circuit for the input signal, it is to avoid the device damage that signal level standard difference leads to occurs.
Specifically, handoff procedure is illustrated, now the first change-over circuit 401 taking RS232 with RS485 equipment as a example
It is specifically configured to RS232 level shifting circuit and RS485 transmission circuit with the second change-over circuit 402 respectively, RS232 equipment
RX232_TX signal and piece holding wire of D+ signal multiplexing, the RX232_RX signal of RS232 equipment and the RS485 of RS485 equipment
Another holding wire of the D- signal multiplexing of equipment, when user selects RS232 equipment, the I/O end output high level of MCU30 to the
The EN end at the EN end of one analog switch K1, the EN end of the second analog switch K2 and the 3rd analog switch K3, controls described first mould
Intending the transmitting terminal TXD0 of moved end connection signaling interface 10 of switch K1 and the first change-over circuit 401 is RS232 level shifting circuit,
The moved end of the second analog switch K2 connects receiving terminal RXD0 and the RS232 level shifting circuit of signaling interface 10, and the 3rd simulation is opened
The moved end closing K3 connects the serial ports receiving terminal RXD of MCU20 and RS232 level shifting circuit, thus by RS232 level shifting circuit
It is linked in loop, the attribute of the fixing serial equipment accessing, insert RS232 equipment, RS232 level shifting circuit receives
RS232 signal is simultaneously converted to TTL signal, realizes the communication of RS232 equipment and MC20U;When user selects RS485 equipment,
The I/O end of MCU20 exports low level and simulates and open to the EN end of the first analog switch K1, the EN end of the second analog switch K2 and the 3rd
Close the EN end of K3, accordingly controlling three analog switch moved ends to be all connected with the second change-over circuit 402 is RS485 transmission circuit, fixing
The serial equipment attribute accessing, can achieve the communication of remaining MCU20 after insertion RS485 equipment.Due to input in no signal
In the case of, the TTL signal end of the change-over circuit of RS232 and RS485 all shows as high level, therefore can be multiplexed a serial ports end
Mouthful, save system resource.
Similar, the present invention can also realize the switching of RS422 and RS485 equipment and cutting of RS232 and RS422 equipment
Change, accordingly adopt corresponding change-over circuit or transmission circuit, specifically can select according to actual needs, the present invention does not make to this
Limit.
The present invention also such as can be hung by using a serial port resource, mounting multiple outside serial equipments simultaneously simultaneously simultaneously
Connect tri- kinds of equipment of RS232, RS485 and RS422, the pattern operating by time-sharing polling, one by one different serial equipments is carried out
Communication, controls multiway analog switch to enter row of channels switching by controlling the level of two signal line respectively, thus reaching equipment
The purpose of switching.
The present invention correspondingly provides a kind of intelligent serial equipment changing method, as shown in Fig. 2 described intelligent serial equipment is cut
The method of changing includes:
S100, received and dispatched first serial signal and second serial signal by signaling interface simultaneously;
S200, by MCU according to receive device type instruction export corresponding level signal;
S300, controlled according to described level signal by handover module and return between first serial equipment or second serial equipment and MCU
The break-make on road;
S400, first serial signal or second serial signal are converted to according to described level signal by TTL by level switch module
Level signal.
The intelligent serial equipment changing method that the present invention provides passes through to receive and dispatch first serial signal using signaling interface simultaneously
With second serial signal it is only necessary to two holding wires, by way of holding wire is multiplexed, you can by the serial ports of two kinds of various criterions
Signal is linked in system, has both saved design space, also solves the problems, such as to access holding wire complexity, project installation inconvenience,
User may be selected current device type, exports corresponding level signal, handover module by MCU according to the device type that user selects
Control the break-make in loop between corresponding serial equipment and MCU according to this level signal, will be gone here and there accordingly by level switch module
Message number is converted to Transistor-Transistor Logic level signal and processes in order to the follow-up data of MCU, frequently changes letter without using person during use
Number line, only need to be pre-selected the intelligence switching that device type switching device can achieve access device, and due to for the moment
A kind of serial ports circuit closed of interior only standard can meet functional requirement it is only necessary to take a serial port resource, also solves
The problem being wasted due to the cpu resource that signal competition leads at present.
Specifically, described step S300 includes:When MCU output high level, first serial equipment is controlled by handover module
Loop between circuit closed and MCU between, and second serial equipment and MCU disconnects;When MCU output low level, by cutting
Die change block controls the loop between first serial equipment and MCU to disconnect, and the circuit closed between second serial equipment and MCU.
Described step S400 specifically includes:When MCU output high level, by the first change-over circuit, first serial signal is turned
It is changed to Transistor-Transistor Logic level signal;When MCU output low level, second serial signal is converted to by Transistor-Transistor Logic level letter by the second change-over circuit
Number.Specifically refer to the corresponding embodiment of said apparatus.
In sum, the present invention provide intelligent serial equipment switching device and method in, described intelligent serial equipment is cut
Changing device includes signaling interface, MCU, handover module and level switch module, receives and dispatches first serial signal by signaling interface simultaneously
With second serial signal;Afterwards corresponding level signal is exported according to the device type instruction receiving by MCU;Handover module afterwards
Control the break-make in loop between first serial equipment or second serial equipment and MCU according to described level signal;Level turns afterwards
First serial signal or second serial signal are converted to Transistor-Transistor Logic level signal according to described level signal by die change tuber, by adopting
The mode of holding wire multiplexing, the rs 232 serial interface signal of various criterion is linked in system simultaneously, and handover module is according to level signal certainly
The serial equipment that dynamic switching accesses, frequently changes holding wire without using person, and only a kind of string of standard in the same time
Mouth circuit closed, also solves the problems, such as at present because the cpu resource that signal competition leads to wastes.
It is understood that for those of ordinary skills, with technology according to the present invention scheme and its can send out
Bright design in addition equivalent or change, and all these change or replace the guarantor that all should belong to appended claims of the invention
Shield scope.
Claims (8)
1. a kind of intelligent serial equipment switching device is it is characterised in that include:
Signaling interface, for receiving and dispatching first serial signal and second serial signal simultaneously;
MCU, for exporting corresponding level signal according to the device type instruction receiving;
Handover module, for controlling loop between first serial equipment or second serial equipment and MCU according to described level signal
Break-make;
Level switch module, for being converted to TTL electricity according to described level signal by first serial signal or second serial signal
Ordinary mail number;
Described handover module connects signaling interface, MCU and level switch module, and described level switch module is also connected with MCU.
2. intelligent serial equipment switching device according to claim 1 it is characterised in that when MCU output high level when, by
Handover module controls the circuit closed between first serial equipment and MCU, and breaks in the loop between second serial equipment and MCU
Open;When MCU output low level, the loop between first serial equipment and MCU is controlled to disconnect by handover module, and second serial
Circuit closed between equipment and MCU.
3. intelligent serial equipment switching device according to claim 1 is it is characterised in that described level switch module includes
First change-over circuit and the second change-over circuit, described first change-over circuit is used for believing first serial when MCU output high level
Number be converted to Transistor-Transistor Logic level signal, described second change-over circuit is used for being converted to second serial signal when MCU output low level
Transistor-Transistor Logic level signal;Described first change-over circuit and the second change-over circuit be all connected with handover module, the serial ports receiving terminal RXD of MCU and
Serial ports transmitting terminal TXD.
4. intelligent serial equipment switching device according to claim 3 is it is characterised in that described handover module includes first
Analog switch, the second analog switch and the 3rd analog switch, described first analog switch is used for being controlled according to described level signal
Being opened or closed of the transmitting terminal of signaling interface and the first change-over circuit and the second change-over circuit;Described second analog switch is used for
Being opened or closed of receiving terminal according to described level signal control signal interface and the first change-over circuit and the second change-over circuit;
Described 3rd analog switch is used for controlling the serial ports receiving terminal RXD of MCU and the first change-over circuit and the according to described level signal
Being opened or closed of two change-over circuits.
5. intelligent serial equipment switching device according to claim 4 it is characterised in that described first analog switch dynamic
End connects the transmitting terminal of signaling interface, one of described first analog switch not moved end connect the first change-over circuit, described first
Another of analog switch does not connect the second change-over circuit in moved end, and the EN end of described first analog switch connects the I/O end of MCU;
The moved end of described second analog switch connects the receiving terminal of signaling interface, one of described second analog switch not moved end connect the
One change-over circuit, another of described second analog switch does not connect the second change-over circuit in moved end, described second analog switch
EN end connects the I/O end of MCU;The moved end of described 3rd analog switch connects the serial ports receiving terminal RXD of MCU, described 3rd simulation
Moved end does not connect the first change-over circuit to of switch, and another of described 3rd analog switch does not connect the second conversion electricity in moved end
Road, the EN end of described 3rd analog switch connects the I/O end of MCU.
6. a kind of intelligent serial equipment changing method is it is characterised in that comprise the steps:
A, received and dispatched first serial signal and second serial signal by signaling interface simultaneously;
B, by MCU according to receive device type instruction export corresponding level signal;
C, loop between first serial equipment or second serial equipment and MCU is controlled according to described level signal by handover module
Break-make;
D, first serial signal or second serial signal are converted to according to described level signal by Transistor-Transistor Logic level by level switch module
Signal.
7. intelligent serial equipment changing method according to claim 6 is it is characterised in that described step C specifically includes:
When MCU output high level, the circuit closed between first serial equipment and MCU is controlled by handover module, and the second string
Loop between jaws equipment and MCU disconnects;
When MCU output low level, the loop between first serial equipment and MCU is controlled to disconnect by handover module, and the second string
Circuit closed between jaws equipment and MCU.
8. intelligent serial equipment changing method according to claim 6 is it is characterised in that described step D specifically includes:
When MCU output high level, first serial signal is converted to by Transistor-Transistor Logic level signal by the first change-over circuit;
When MCU output low level, second serial signal is converted to by Transistor-Transistor Logic level signal by the second change-over circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610745295.4A CN106383800A (en) | 2016-08-29 | 2016-08-29 | Intelligent serial interface equipment switching device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610745295.4A CN106383800A (en) | 2016-08-29 | 2016-08-29 | Intelligent serial interface equipment switching device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106383800A true CN106383800A (en) | 2017-02-08 |
Family
ID=57917575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610745295.4A Pending CN106383800A (en) | 2016-08-29 | 2016-08-29 | Intelligent serial interface equipment switching device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106383800A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107818067A (en) * | 2017-10-20 | 2018-03-20 | 广州视源电子科技股份有限公司 | Interface multiplexing system |
CN108023796A (en) * | 2018-01-12 | 2018-05-11 | 普联技术有限公司 | Customer terminal equipment, switch method of remote signal method, control device and storage medium |
CN109597778A (en) * | 2018-11-02 | 2019-04-09 | 山东超越数控电子股份有限公司 | A kind of multi-channel serial port signal list interface duplex output system and its implementation |
CN110309094A (en) * | 2019-06-28 | 2019-10-08 | 联想(北京)有限公司 | Electronic equipment and its control method |
CN112865984A (en) * | 2020-12-31 | 2021-05-28 | 深圳市共济科技股份有限公司 | Communication interface switching circuit and switching method thereof |
CN114003540A (en) * | 2021-10-29 | 2022-02-01 | 深圳市信锐网科技术有限公司 | Data acquisition device, method, equipment and computer readable storage medium |
CN114268486A (en) * | 2021-12-20 | 2022-04-01 | 科华数据股份有限公司 | Serial port encryption circuit and encryption method thereof, communication manager and communication system |
CN115878539A (en) * | 2023-01-31 | 2023-03-31 | 北京智芯微电子科技有限公司 | Serial port self-adaptive circuit, electronic equipment and circuit board |
CN117909276A (en) * | 2024-03-19 | 2024-04-19 | 四川华鲲振宇智能科技有限责任公司 | Method for constructing RS232-RS485 switching circuit based on discrete device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140557A (en) * | 2007-10-23 | 2008-03-12 | 中兴通讯股份有限公司 | System and method of RS232/RS48 compatibility interface |
CN203746065U (en) * | 2014-03-19 | 2014-07-30 | 顺德职业技术学院 | Serial port expander of microprocessor |
EP2950219A1 (en) * | 2014-05-15 | 2015-12-02 | Huawei Technologies Co., Ltd. | Method and apparatus for using serial port in time division multiplexing manner |
-
2016
- 2016-08-29 CN CN201610745295.4A patent/CN106383800A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101140557A (en) * | 2007-10-23 | 2008-03-12 | 中兴通讯股份有限公司 | System and method of RS232/RS48 compatibility interface |
CN203746065U (en) * | 2014-03-19 | 2014-07-30 | 顺德职业技术学院 | Serial port expander of microprocessor |
EP2950219A1 (en) * | 2014-05-15 | 2015-12-02 | Huawei Technologies Co., Ltd. | Method and apparatus for using serial port in time division multiplexing manner |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107818067A (en) * | 2017-10-20 | 2018-03-20 | 广州视源电子科技股份有限公司 | Interface multiplexing system |
CN108023796A (en) * | 2018-01-12 | 2018-05-11 | 普联技术有限公司 | Customer terminal equipment, switch method of remote signal method, control device and storage medium |
CN108023796B (en) * | 2018-01-12 | 2023-05-16 | 上海联虹技术有限公司 | Client terminal device, signal switching control method, control device, and storage medium |
CN109597778A (en) * | 2018-11-02 | 2019-04-09 | 山东超越数控电子股份有限公司 | A kind of multi-channel serial port signal list interface duplex output system and its implementation |
CN110309094A (en) * | 2019-06-28 | 2019-10-08 | 联想(北京)有限公司 | Electronic equipment and its control method |
CN112865984A (en) * | 2020-12-31 | 2021-05-28 | 深圳市共济科技股份有限公司 | Communication interface switching circuit and switching method thereof |
CN114003540A (en) * | 2021-10-29 | 2022-02-01 | 深圳市信锐网科技术有限公司 | Data acquisition device, method, equipment and computer readable storage medium |
CN114268486A (en) * | 2021-12-20 | 2022-04-01 | 科华数据股份有限公司 | Serial port encryption circuit and encryption method thereof, communication manager and communication system |
CN114268486B (en) * | 2021-12-20 | 2024-02-06 | 科华数据股份有限公司 | Serial port encryption circuit, encryption method thereof, communication manager and communication system |
CN115878539A (en) * | 2023-01-31 | 2023-03-31 | 北京智芯微电子科技有限公司 | Serial port self-adaptive circuit, electronic equipment and circuit board |
CN117909276A (en) * | 2024-03-19 | 2024-04-19 | 四川华鲲振宇智能科技有限责任公司 | Method for constructing RS232-RS485 switching circuit based on discrete device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106383800A (en) | Intelligent serial interface equipment switching device and method | |
CN108459982A (en) | The switching method of communication equipment and USB and serial ports | |
CA2528392A1 (en) | Multi-functional port | |
CN107291649A (en) | The design method and device of a kind of flexible support PCIE and SATA agreements M.2 self-identifying | |
CN205486072U (en) | Many interface signals conversion equipment | |
TW358911B (en) | Data package sorting transmission method | |
CN104009976B (en) | A kind of real-time communication method being used between more main station systems and its equipment | |
CN101751368A (en) | Single-board communication method, device and system | |
CN206178799U (en) | RS485 and RS232 communication adaptive hardware circuit | |
CN107005265B (en) | Signal of communication transmitting-receiving subassembly, terminal and signal transmit-receive method | |
CN206135956U (en) | Automatic switch CAN node of terminating resistance | |
CN109376109A (en) | Multiple serial communication switching device | |
CN202649998U (en) | RS232/RS485/RS422 comprehensive test interface circuit | |
CN104917511B (en) | A kind of interface circuit of the RF power amplification mould group of the compatible MIPI and GPIO control of energy | |
CN209044590U (en) | Multiple serial communication switching device | |
CN104291197B (en) | Knapsack elevator switch accelerator control system and method | |
CN207266021U (en) | Realize the device and optical line terminal equipment of service signal switching | |
CN206237461U (en) | A kind of mobile terminal | |
CN214376432U (en) | Terminal RS485 and RS232 switching circuit are fused to platform district intelligence | |
CN105629866B (en) | A kind of double nets of water power monitoring system are double to configure PLC redundancy switching methods and system | |
CN205051830U (en) | Intelligence PON terminal with PONEthernet switches ability | |
CN107707365A (en) | A kind of radio station remote control switch controller and control method | |
CN204068964U (en) | The equipment of a kind of compatible for wired audio frequency and ANTENN AUDIO data channel | |
CN203606824U (en) | Circuit achieving intelligent serial port multiplexing through multi-way switch | |
CN107465332B (en) | 8-track power supply controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170208 |
|
RJ01 | Rejection of invention patent application after publication |