CN103034604A - Conversion equipment of universal serial bus (USB) and various serial ports and realization method thereof - Google Patents
Conversion equipment of universal serial bus (USB) and various serial ports and realization method thereof Download PDFInfo
- Publication number
- CN103034604A CN103034604A CN2011102928533A CN201110292853A CN103034604A CN 103034604 A CN103034604 A CN 103034604A CN 2011102928533 A CN2011102928533 A CN 2011102928533A CN 201110292853 A CN201110292853 A CN 201110292853A CN 103034604 A CN103034604 A CN 103034604A
- Authority
- CN
- China
- Prior art keywords
- transceiver
- usb
- receiving
- conversion equipment
- function
- 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
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 title claims abstract description 5
- 238000004891 communication Methods 0.000 claims description 20
- 230000005540 biological transmission Effects 0.000 claims description 12
- 230000002457 bidirectional effect Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
Images
Landscapes
- Information Transfer Systems (AREA)
Abstract
The invention relates to conversion equipment of a universal serial bus (USB) and various serial ports and realization method of conversion of the USB and the various serial ports. The conversion equipment comprises a USB transceiver, a logic module, a receiving and transmitting automatic conversion module, an RS232 transceiver, two RS485 transceivers and corresponding port elements, wherein the two RS485 transceivers are capable of achieving the functions of an RS422 transceiver. By means of the logic module and the receiving and transmitting automatic conversion module, under the condition of no additional operation, the conversion equipment is simultaneously provided with the functions of the conversion from a USB to an RS232, the conversion form the USB to an RS485 and the conversion from the USB to an RS422.
Description
Technical field
The invention belongs to the serial communication field, relate to computing machine USB communication commonly used and RS232, RS485, the RS422 communication commonly used of electric information product.
Background technology
Serial communication refers to the in order communication modes of bit by bit transfer of data message.By the direction of transfer of information, can be divided into three kinds of single worker, half-duplex and full duplexs; And can according to whether the needs synchronous clock, be divided into asynchronous serial communication and synchronous serial communication.
USB is Universal Serial BUS(USB (universal serial bus)) abbreviation, be an external bus standard, be used for being connected and communication of proper calculation machine and external unit.USB interface uses semiduplex differential signal to carry out communication, and the plug and play of support equipment and warm connection function have experienced the upgrading of a plurality of versions, is one of communication interface the most frequently used on the present computing machine.
RS232, RS485, RS422 are asynchronous serial communication interfaces commonly used in the electric information product, wherein RS232 and RS422 can realize the communication mode of full duplex, the electric property of RS485 and RS422 is just the same, the key distinction is that RS422 has two pairs of differential signal lines, realize simultaneously receiving and sending data, and RS485 only has a pair of differential signal line, and time-sharing multiplex realizes receiving and sending data.The minimum connection that realizes the RS232 communication comprises the RXD(receive data), TXD(sends data), the SGND(signal ground).
Have in the market similar products, but do not possess simultaneously the USB RS 232, USB turns RS485, USB turns RS422 function, perhaps need the switching by the manual mode practical function of selecting, this brings no small trouble to the user.
Summary of the invention
The present invention is by increasing the method for logic module (Fig. 1-2) and transmitting-receiving automatic switching module (Fig. 1-3), and the realization conversion equipment is in the situation that need operation bidirectional, possesses simultaneously the USB RS 232, USB turns the function that RS485, USB turn RS422.
Logic module (Fig. 1-2) can realize the logical and function to the reception pin (RO) of the reception pin (RxOUT) of RS232 transceiver (Fig. 1-4), two RS485 transceivers (Fig. 1-5 and Fig. 1-6) at least.
Transmitting-receiving automatic switching module (Fig. 1-3) and RS485 transceiver (Fig. 1-5) are realized RS485 serial communication transmitting-receiving automatic switching function, with reference to realizing circuit as shown in Figure 3 and Figure 4.
Description of drawings
Fig. 1: theory diagram of the present invention.
Fig. 2: a kind of circuit diagram that possesses logic module (Fig. 1-2) function.
Fig. 3: a kind of RS485 serial communication circuit figure with transmitting-receiving automatic switchover.
Fig. 4: another has the RS485 serial communication circuit figure that transmitting-receiving is automaticallyed switch.
Fig. 5: a kind of circuit diagram of USB transceiver.
Fig. 6: a kind of circuit diagram of RS232 transceiver.
Fig. 7: a kind of circuit diagram of RS422 transceiver.
Embodiment
The present invention at first will receive and dispatch automatic switching module (Fig. 1-3) and RS485 transceiver (Fig. 1-5) is combined into the RS485 transmission circuit with transmitting-receiving automatic switching function, Fig. 3 and Fig. 4 are reference circuits, wherein RS485_RXD receives pin, and RS485_TXD sends pin.The RS485 transmission circuit that transmitting-receiving is automaticallyed switch also can be realized with other method.
The USB transceiver can use CP2102, and as shown in Figure 5, wherein RXD receives pin, and TXD sends pin, also can use the USB transceivers such as PL2303, FT2232, CP2104; The RS232 transceiver can use SP3232, and as shown in Figure 6, wherein RS232_RXD receives pin, and RS232_TXD sends pin, also can use the RS232 transceivers such as MAX232; For multiplexing with the RS485 transceiver, the RS422 transceiver uses two RS485 transceivers, a responsible transmitting data, another is responsible for receive data, and as shown in Figure 7, wherein RS422_RXD receives pin, RS422_TXD sends pin, and RS422_TXD and RS485_TXD are same pin.
This conversion equipment is after energising, when not carrying out data transmission, the transmission pin (TXD) of USB transceiver (Fig. 1-1), the reception pin (RS232_RXD) of RS232 transceiver (Fig. 1-4), the reception pin (RS485_RXD and RS422_RXD) of two RS485 transceivers (Fig. 1-5 and Fig. 1-6) all is in logic level 1(high level) state, the reception pin of RS232 transceiver and two RS485 transceivers carries out logic and operation by logic module (Fig. 1-2), operation result links to each other with the reception pin (RXD) of USB transceiver (Fig. 1-1), Fig. 2 is a kind of circuit of realizing logic and operation, also can realize logic and operation by other forms of circuit.
When carrying out USB to the data transmission of RS232, RS485, RS422, the transmission pin of USB transceiver sends by the mode of asynchronous serial communication, behind driving circuit, link to each other with the transmission pin (RS232_TXD) of RS232 transceiver and the transmission pin (RS485_TXD) of RS485 transceiver (also being the transmission pin of RS422 transceiver), convert respectively the output of RS232 level and RS485 level to; When carrying out RS232, RS485, RS422 to the data transmission of USB, the reception pin (RxOUT) of RS232 transceiver, the reception pin (RS485_RXD) of RS485 transceiver, reception pin (RS422_RXD) timesharing of RS422 transceiver is single effectively, after logic module, link to each other with the reception pin (RXD) of USB transceiver.
Claims (8)
1. the conversion equipment of a USB and multiple serial ports is characterized in that: in the situation that do not need operation bidirectional, possess simultaneously the USB RS 232, USB turns the function that RS485, USB turn RS422.
2. conversion equipment according to claim 1 is characterized in that: realize by the method that increases logic module (2) and transmitting-receiving automatic switching module (3).
3. conversion equipment according to claim 1 should comprise USB transceiver (1), logic module (2), transmitting-receiving automatic switching module (3), RS232 transceiver (4), two RS485 transceivers (5 and 6) and corresponding interface device.
4. two RS485 transceivers according to claim 3 (5 and 6) is characterized in that: a RS485 transceiver (5) is realized transmission-receiving function, and another RS485 transceiver (6) is only realized receiving function; The receiving function of the sending function of RS485 transceiver (5) and RS485 transceiver (6) is combined into the RS422 serial communication of full duplex.
5. transmitting-receiving automatic switching module according to claim 3 (3) and RS485 transceiver (5), it is characterized in that: the RS485 serial communication can realize receiving and dispatching automatic switching function.
6. RS232 transceiver according to claim 3 (4) should can be realized the data transmit-receive of RS232 serial communication at least.
7. conversion equipment according to claim 3, it is characterized in that: after energising, when not carrying out data transmission, the reception pin (RO) of the transmission pin (TXD) of USB transceiver (1), the reception pin (RxOUT) of RS232 transceiver (4), two RS485 transceivers (5 and 6) all is in logic level 1(high level) state.
8. logic module according to claim 3 (2) should can realize the logical and function of the reception pin (RO) of reception pin (RxOUT), two RS485 transceivers (5 and 6) to RS232 transceiver (4) at least.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011102928533A CN103034604A (en) | 2011-10-06 | 2011-10-06 | Conversion equipment of universal serial bus (USB) and various serial ports and realization method thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011102928533A CN103034604A (en) | 2011-10-06 | 2011-10-06 | Conversion equipment of universal serial bus (USB) and various serial ports and realization method thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN103034604A true CN103034604A (en) | 2013-04-10 |
Family
ID=48021512
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2011102928533A Pending CN103034604A (en) | 2011-10-06 | 2011-10-06 | Conversion equipment of universal serial bus (USB) and various serial ports and realization method thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103034604A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104239262A (en) * | 2014-09-17 | 2014-12-24 | 山东广达锂电检测研究院有限公司 | USB (Universal Serial Bus) to RS-485-422 multifunctional active isolation converter |
| CN104579881A (en) * | 2014-12-29 | 2015-04-29 | 武汉烽火富华电气有限责任公司 | Configurable RS232/422/485 multiplexing circuit |
| CN105045740A (en) * | 2015-05-27 | 2015-11-11 | 北京立华莱康平台科技有限公司 | Conversion method and circuit for communication interfaces |
| CN107122319A (en) * | 2017-04-18 | 2017-09-01 | 深圳市菲菱科思通信技术股份有限公司 | One kind communication multiplex circuit |
| CN108388530A (en) * | 2017-12-26 | 2018-08-10 | 浙江禾川科技股份有限公司 | A kind of single USB turns RS485, the method for RS422, RS232 and Transistor-Transistor Logic level |
| CN111026620A (en) * | 2019-11-28 | 2020-04-17 | 四川泛华航空仪表电器有限公司 | Data visualization Processing system and method based on Processing |
| CN116015457A (en) * | 2022-12-29 | 2023-04-25 | 安徽博清自动化科技有限公司 | Optical fiber communication switching system |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN2657297Y (en) * | 2003-10-13 | 2004-11-17 | 华为技术有限公司 | RS 485 bus receiving-transmitting controller |
| US20050001654A1 (en) * | 2003-06-20 | 2005-01-06 | Chin-Yi Yang | Expanding module for serial transmission |
| CN201576272U (en) * | 2009-12-01 | 2010-09-08 | 西安终南信息技术有限公司 | Multi-purpose serial conversion device |
| CN101882124A (en) * | 2010-06-13 | 2010-11-10 | 昆山五昌新精密电子工业有限公司 | RS422/485 double-use signal converter capable of automatically judging connector |
| CN201765588U (en) * | 2010-09-28 | 2011-03-16 | 山东超越数控电子有限公司 | Card for converting USB interface into 1 M serial port |
-
2011
- 2011-10-06 CN CN2011102928533A patent/CN103034604A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050001654A1 (en) * | 2003-06-20 | 2005-01-06 | Chin-Yi Yang | Expanding module for serial transmission |
| CN2657297Y (en) * | 2003-10-13 | 2004-11-17 | 华为技术有限公司 | RS 485 bus receiving-transmitting controller |
| CN201576272U (en) * | 2009-12-01 | 2010-09-08 | 西安终南信息技术有限公司 | Multi-purpose serial conversion device |
| CN101882124A (en) * | 2010-06-13 | 2010-11-10 | 昆山五昌新精密电子工业有限公司 | RS422/485 double-use signal converter capable of automatically judging connector |
| CN201765588U (en) * | 2010-09-28 | 2011-03-16 | 山东超越数控电子有限公司 | Card for converting USB interface into 1 M serial port |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104239262A (en) * | 2014-09-17 | 2014-12-24 | 山东广达锂电检测研究院有限公司 | USB (Universal Serial Bus) to RS-485-422 multifunctional active isolation converter |
| CN104239262B (en) * | 2014-09-17 | 2017-04-19 | 山东广达锂电检测研究院有限公司 | USB (Universal Serial Bus) to RS-485-422 multifunctional active isolation converter |
| CN104579881A (en) * | 2014-12-29 | 2015-04-29 | 武汉烽火富华电气有限责任公司 | Configurable RS232/422/485 multiplexing circuit |
| CN104579881B (en) * | 2014-12-29 | 2018-02-13 | 武汉烽火富华电气有限责任公司 | A kind of configurable RS232/422/485 multiplex circuits |
| CN105045740A (en) * | 2015-05-27 | 2015-11-11 | 北京立华莱康平台科技有限公司 | Conversion method and circuit for communication interfaces |
| CN107122319A (en) * | 2017-04-18 | 2017-09-01 | 深圳市菲菱科思通信技术股份有限公司 | One kind communication multiplex circuit |
| CN108388530A (en) * | 2017-12-26 | 2018-08-10 | 浙江禾川科技股份有限公司 | A kind of single USB turns RS485, the method for RS422, RS232 and Transistor-Transistor Logic level |
| CN111026620A (en) * | 2019-11-28 | 2020-04-17 | 四川泛华航空仪表电器有限公司 | Data visualization Processing system and method based on Processing |
| CN111026620B (en) * | 2019-11-28 | 2023-11-17 | 四川泛华航空仪表电器有限公司 | Processing-based data visualization Processing system and method |
| CN116015457A (en) * | 2022-12-29 | 2023-04-25 | 安徽博清自动化科技有限公司 | Optical fiber communication switching system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103034604A (en) | Conversion equipment of universal serial bus (USB) and various serial ports and realization method thereof | |
| CN102420877B (en) | Multi-mode high-speed intelligent asynchronous serial port communication module and realizing method thereof | |
| CN102202058B (en) | Controller for protocol conversion between multipath UART bus and CAN bus | |
| EP3029884A1 (en) | Commissioning method, master control board, and service board | |
| CN205844970U (en) | A kind of display terminal with USB Type C interface and display system | |
| CN108111382B (en) | Communication device based on I3C bus and communication method thereof | |
| CN203933593U (en) | Half-duplex RS-485 isolation communicating circuit | |
| CN102445981B (en) | Data transmission system and data transmission method | |
| CN102110070B (en) | Implementation method for improving transmission efficiency of serial peripheral interface | |
| CN103268301B (en) | A kind of half-duplex UART interface circuit of automatic stream | |
| US20080147926A1 (en) | Interface conversion device | |
| CN202694039U (en) | Adapter circuit | |
| CN102780503B (en) | Audio and data forwarding device with multiple transmission means based on compact peripheral component interconnect (CPCI) bus | |
| CN217509042U (en) | Wireless transmission system | |
| CN103389888B (en) | A kind of it is applied to the display device of server, server, system and method | |
| CN101882124A (en) | RS422/485 double-use signal converter capable of automatically judging connector | |
| CN206805761U (en) | A kind of data transmission device with master and slave wireless module | |
| CN101888649B (en) | Serial interface communication testing system | |
| CN202615169U (en) | Bus compatible interface circuit used for keyless entry system | |
| CN213024391U (en) | Vehicle-mounted terminal serial port expansion equipment | |
| CN204044808U (en) | The device that a kind of RS232 of realization, RS485 and USB turn mutually | |
| CN201489525U (en) | PCI communication card for realizing computer long-distance communication by utilizing twisted-pair communication | |
| CN210804414U (en) | Circuit with reusable communication interface | |
| CN103414487B (en) | Based on the Shortwave channel machine control device of cpci bus | |
| CN209860929U (en) | Communication bus structure |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C12 | Rejection of a patent application after its publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130410 |