CN103853684A - Serial bus communication bridging device - Google Patents

Serial bus communication bridging device Download PDF

Info

Publication number
CN103853684A
CN103853684A CN201410101079.7A CN201410101079A CN103853684A CN 103853684 A CN103853684 A CN 103853684A CN 201410101079 A CN201410101079 A CN 201410101079A CN 103853684 A CN103853684 A CN 103853684A
Authority
CN
China
Prior art keywords
serial
circuit
baud rate
module
serial port
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
Application number
CN201410101079.7A
Other languages
Chinese (zh)
Inventor
乔东海
张寒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou University
Original Assignee
Suzhou University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou University filed Critical Suzhou University
Priority to CN201410101079.7A priority Critical patent/CN103853684A/en
Publication of CN103853684A publication Critical patent/CN103853684A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a serial bus communication bridging device. The serial bus communication bridging device comprises a main control module, four serial communication interface circuits which are connected with the main control module, a clock circuit, a power supply module, a baud rate setting module and a flow control switch, wherein the four serial communication interface circuits are respectively a first RS232 serial interface circuit, a second RS232 serial interface circuit, a USB (universal serial bus) serial interface circuit and a TTL/COMS (transistor-transistor logic/complementary metal oxide semiconductor) serial interface circuit, the first serial interface circuit is provided with a conversion circuit, four data cache areas corresponding to the serial interface communication interface circuits are arranged in the main control module, and the input end of the power supply module is connected to the USB interface. By adopting the serial bus communication bridging device, the conversion of multiple serial data can be realized, and the level and the baud rate can be matched.

Description

A kind of serial bus communication bridge
Technical field
The present invention relates to a kind of data transmission utility appliance, be specifically related to a kind of serial bus communication bridge, realize the communication function of the equipment room of different communication electrical standard, different baud rates.
Background technology
Along with the development of information and computer technology, increasing electronic equipment uses digital form to carry out information interaction communication.Especially in field tests, data upload to the computing machine that circuit Systemon-board need to be gathered completes and shows and storage.Modern computer is all furnished with RS232 and USB serial line interface, and this provides convenience for data transmission.But the serial data signal that circuit chip on board produces mostly is TTL or CMOS electrical standard signal, cannot mate with the signal of RS232 and USB electrical standard, this has brought trouble for data communication.At this moment just need in the time of hardware design, add corresponding level shifting circuit, and in actual applications, most applications only relates to the conversion between TTL, CMOS, these three kinds of electrical standards of RS232, if design all increases similar bus driving circuits each time, this has not only increased manufacturing cost, also for designer has brought unnecessary trouble, and the hidden danger that exists chip failure to produce.
On the other hand, USB is the standard configuration of current computing machine, but the equipment such as current opertaing device, instrument and meter and the remote terminal that still has many use RS232 serial line interfaces are applied in numerous areas, are transform immediately as USB mode and obviously have cost, enforcement and time-related problem.
Summary of the invention
Goal of the invention of the present invention be to provide a kind of reusable, can matched level, coupling baud rate, there is the serial bus communication bridge of flow control technology.
To achieve the above object of the invention, the technical solution used in the present invention is: a kind of serial bus communication bridge, comprise main control module, four serial communication interface circuits that are connected with main control module, clock circuit, power module, Configuration of baud rate module and flow control switch, described four serial communication interface circuits are respectively a RS232 serial port circuit, the 2nd RS232 serial port circuit, USB serial port circuit and TTL/COMS serial port circuit, described in each, serial port circuit is provided with change-over circuit, in described main control module, establish four data buffers corresponding with described serial communication interface circuit, the input end of described power module is connected to USB interface.
In technique scheme, two groups of Configuration of baud rate switches that described Configuration of baud rate module comprises that a corresponding RS232 serial port circuit and the 2nd RS232 serial port circuit arrange and display module.
Preferred technical scheme, described Configuration of baud rate switch is three toggle switchs.
Preferred technical scheme, described display module is seven-segment numeric indicator.
In technique scheme, described power module comprises rechargeable battery and power supply modulate circuit.
It is as follows that the present invention realizes the principle of work of communicating by letter between each serial ports:
1. a RS232 serial port circuit and the 2nd RS232 serial port circuit are realized the communication between two RS232 serial equipments of different baud rates:
Respectively two RS232 communication serial port equipment connections are arrived to a RS232 serial ports of the present invention and the 2nd RS232 serial ports, the one RS232 serial ports and the 2nd RS232 serial ports are set to different baud rates according to two RS232 serial equipments respectively by corresponding Configuration of baud rate switch, governor circuit read switch state is also first, second RS232 serial port circuit configuration baud rate automatically, and shows on corresponding display.Under the cooperation of governor circuit control and corresponding data buffer zone, the data that sent with the first baud rate through a RS232 serial ports by first serial equipment, send to second serial equipment by the 2nd RS232 serial ports with the second baud rate after treatment, and vice versa.The one RS232 serial ports and the 2nd RS232 serial ports are the in the situation that of normal use, and the serial ports baud rate of setting all should equate, in the time of data one-way transmission, can allow to send baud rate and be less than reception baud rate.When two serial ports are transmitted in both directions and baud rate while not mating, as required, transmitting terminal or receiving end need to support Flow Control and open Flow Control function, and this equipment also should be opened Flow Control at corresponding serial ports.
2.TTL/CMOS level asynchronous serial signal RS 232 electrical standard signal:
TTL/CMOS circuit is connected with bridge of the present invention by TTL/CMOS interface of the present invention.First the signal of TTL/CMOS circuit carries out buffer memory via data buffer, under the control of governor circuit, sends to RS232 serial equipment through the data cached of level conversion with the baud rate setting by RS232 serial ports.
Above-mentioned TTL/CMOS interface can comprise two kinds of connected modes that architectural characteristic is different, as SMA and row's pin, can adapt to so various application mode.
3.RS232 electrical standard signal turns USB electrical standard signal:
In the time that bridge of the present invention is connected on usb bus, COMPUTER DETECTION is carried out initial configuration and is started relevant driver equipment after the connection of equipment; Driver sends configuration order so that the Data Transmission Feature of RS232 interface to be set to equipment; Finally, in the time of data transmission, the driver on computing machine first by data packet transmission to USB interface, USB interface is read actual valid data and is kept in data buffer, then sends the data to by data buffer the equipment being connected with RS232 interface.
The conversion of 4.TTL/CMOS level asynchronous serial signal and USB electrical standard signal:
First TTL/CMOS level asynchronous serial data enters corresponding data buffer through TTL/COMS serial port circuit, under the control of governor circuit, more finally sends to USB interface equipment by USB interface through change-over circuit.Equally, in the time that TTL/CMOS electric level interface equipment need to receive the data from USB interface equipment, data enter the data buffer corresponding with USB serial port circuit by governor circuit control after level conversion, through the data after processing, send to receiving equipment by the data buffer corresponding with TTL/COMS serial port circuit.
Because technique scheme is used, the present invention compared with prior art has following advantages:
1. four serial communication interface circuits that bridge of the present invention arranges, can realize the conversion of multiple serial data, wherein, RS232 serial port circuit correspondence is provided with Configuration of baud rate switch and display, can realize the communication between two RS232 serial equipments of different baud rates.
2. the present invention is also provided with level shifting circuit, can realize the conversion between each level signal.
Accompanying drawing explanation
Fig. 1 is the structural representation of communication bridge of the present invention in embodiment mono-.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described:
Embodiment mono-: shown in Figure 1, a kind of serial bus communication bridge, comprise main control module, four serial communication interface circuits that are connected with main control module, clock circuit, power module, Configuration of baud rate module and flow control switch, described four serial communication interface circuits are respectively a RS232 serial port circuit, the 2nd RS232 serial port circuit, USB serial port circuit and TTL/COMS serial port circuit, described in each, serial port circuit is provided with change-over circuit, in described main control module, establish four data buffers corresponding with described serial communication interface circuit, the input end of described power module is connected to USB interface.
In the present embodiment, two groups of Configuration of baud rate switches that described Configuration of baud rate module comprises that a corresponding RS232 serial port circuit and the 2nd RS232 serial port circuit arrange and display module, described two groups of Configuration of baud rate switches are three toggle switchs, be respectively A2, A1, A0 and B2, B1, B0, its Configuration of baud rate is as shown in table 1:
Figure 217343DEST_PATH_IMAGE001
The Configuration of baud rate table of first, second RS232 serial ports of table 1
The present invention adopts existing integrated circuit to realize, and wherein governor circuit is the fpga chip that embeds NIOS core.Described fpga chip adopts this chip of EP4CE22F17C6 of the cyclone of altera corp.This is a kind of FPGA of low price intermediate density, adopt the full copper SRAM technique of 0.060 μ m, logical block capacity is 22320, memory span is the about 74KBytes of 594Kbit(), phaselocked loop for clock control is provided, also have a special Double Date Rate (DDR) interface to be used for meeting DDR SDARM and FCRAM(fast cycle RAM) needs of storer, also support ASIC(Application-specific Integrated Circuit) device, core power voltage 1.2V, PLL supply voltage 2.5V, I/O supply voltage 3.3V.Under the control of governor circuit, the work that other module is orderly.
Buffer area 1,2,3,4 in figure is realized by FPGA internal RAM, large I setting, and general cache district 2 is larger, and other three are equally big or small, and support DMA function; Level translator uses the SN74ALVC164245 two-way level converting device of TI company, realizes the coupling between 3.3V and 5V signal; In TTL interface circuit, receiving circuit selects input end to have the SN74LS14 of Si Mite characteristic, and input port connects 20 kilohms of pull-up resistors, and output driving circuit is selected SN74LS244, connects 5V power supply; In CMOS interface circuit, receiving circuit selects input end to have the SN74HC14 of Si Mite characteristic, and input port connects 20 kilohms of pull-up resistors, and output driving circuit is selected SN74HC244, connects 3.3V power supply; Clock circuit adopts the 50MHz crystal oscillator of 3.3V Power supply, can select the brilliant space in Beijing to make the science and technology prosperous XO08-NACTC50MHz product DS1302 that company limited produces; The 5V power supply that power circuit input provides from USB interface, selects common voltage regulator (LDO chip) to produce 3.3V, 2.5V, 1.2V voltage, provides whole circuit to use; TTL-USB conversion chip can adopt the MAX13481 chip of MAXIM company; this chip is the USB compatible transceiver of have ± 15kV esd protection; can be connected with the low-voltage ASIC of USB device, when full speed operation (12Mbps), the complete compatible USB2.0 of transceiver; RS232 bus transceiver adopts the ADM3202 of Analog Devices company, and it is high speed, binary channels RS232/V.28 interface device, adopts+3.3 V single power supplies; USB hole seat is selected rectangle D-USB printed board connector, and RS232 serial communication needle stand is selected rectangle DB9 printed board connector, double contact pin 10 pins and 3 SMA connectors.Baud rate toggle switch, nixie display can be selected in market general toggle switch, nixie display.

Claims (5)

1. a serial bus communication bridge, it is characterized in that: comprise main control module, four serial communication interface circuits that are connected with main control module, clock circuit, power module, Configuration of baud rate module and flow control switch, described four serial communication interface circuits are respectively a RS232 serial port circuit, the 2nd RS232 serial port circuit, USB serial port circuit and TTL/COMS serial port circuit, described in each, serial port circuit is provided with change-over circuit, in described main control module, establish four data buffers corresponding with described serial communication interface circuit, the input end of described power module is connected to USB interface.
2. a kind of serial bus communication bridge according to claim 1, is characterized in that: two groups of Configuration of baud rate switches that described Configuration of baud rate module comprises that a corresponding RS232 serial port circuit and the 2nd RS232 serial port circuit arrange and display module.
3. a kind of serial bus communication bridge according to claim 2, is characterized in that: described Configuration of baud rate switch is three toggle switchs.
4. a kind of serial bus communication bridge according to claim 2, is characterized in that: described display module is seven-segment numeric indicator.
5. a kind of serial bus communication bridge according to claim 1, is characterized in that: described power module comprises rechargeable battery and power supply modulate circuit.
CN201410101079.7A 2014-03-18 2014-03-18 Serial bus communication bridging device Pending CN103853684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410101079.7A CN103853684A (en) 2014-03-18 2014-03-18 Serial bus communication bridging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410101079.7A CN103853684A (en) 2014-03-18 2014-03-18 Serial bus communication bridging device

Publications (1)

Publication Number Publication Date
CN103853684A true CN103853684A (en) 2014-06-11

Family

ID=50861356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410101079.7A Pending CN103853684A (en) 2014-03-18 2014-03-18 Serial bus communication bridging device

Country Status (1)

Country Link
CN (1) CN103853684A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484300A (en) * 2014-12-10 2015-04-01 青岛东软载波科技股份有限公司 Multifunctional panel docking station
CN105243039A (en) * 2015-11-13 2016-01-13 上海斐讯数据通信技术有限公司 Serial port communication system and method
CN107818259A (en) * 2017-11-29 2018-03-20 湖南长城医疗科技有限公司 One kind printing authorization control circuit and control method
CN107888585A (en) * 2017-11-09 2018-04-06 山东船舶技术研究院 Multiplexing isolation full-duplex communication module

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087235A (en) * 2007-07-17 2007-12-12 中南大学 A FPGA-based multi-functional communication interface conversion device and method
CN203104527U (en) * 2012-12-04 2013-07-31 深圳市双赢伟业科技股份有限公司 USB interface conversion device
CN103425616A (en) * 2013-09-02 2013-12-04 威海北洋电气集团股份有限公司 SPI (serial peripheral interface)-RS (recommended standard)232 interface conversion chip and communication method of SPI-RS232 interface conversion chip
CN203786725U (en) * 2014-03-18 2014-08-20 苏州大学 Serial bus communication bridge

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101087235A (en) * 2007-07-17 2007-12-12 中南大学 A FPGA-based multi-functional communication interface conversion device and method
CN203104527U (en) * 2012-12-04 2013-07-31 深圳市双赢伟业科技股份有限公司 USB interface conversion device
CN103425616A (en) * 2013-09-02 2013-12-04 威海北洋电气集团股份有限公司 SPI (serial peripheral interface)-RS (recommended standard)232 interface conversion chip and communication method of SPI-RS232 interface conversion chip
CN203786725U (en) * 2014-03-18 2014-08-20 苏州大学 Serial bus communication bridge

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104484300A (en) * 2014-12-10 2015-04-01 青岛东软载波科技股份有限公司 Multifunctional panel docking station
CN105243039A (en) * 2015-11-13 2016-01-13 上海斐讯数据通信技术有限公司 Serial port communication system and method
CN107888585A (en) * 2017-11-09 2018-04-06 山东船舶技术研究院 Multiplexing isolation full-duplex communication module
CN107818259A (en) * 2017-11-29 2018-03-20 湖南长城医疗科技有限公司 One kind printing authorization control circuit and control method
CN107818259B (en) * 2017-11-29 2024-02-09 湖南长城医疗科技有限公司 Printing authorization control circuit and control method

Similar Documents

Publication Publication Date Title
CN101335736B (en) High-speed peripheral interconnecting interface
CN205193795U (en) Multi -functional interface system of extensible
CN202339544U (en) Multi-channel and multi-rate avionic communication device based on USB (universal serial bus) interface
CN104865457A (en) Universal detection board card
US8352660B2 (en) Portable computer capable of connecting discrete graphics card to PCIe controller by combination switch
CN103853684A (en) Serial bus communication bridging device
CN203786725U (en) Serial bus communication bridge
CN107908584B (en) Multi-path RS-485 communication network
CN104991880A (en) FC-AE-ASM communication board card based on PCI-E interface
CN206878840U (en) A kind of USB turns RS485 communication adapters
CN206696843U (en) A kind of USB turns UART communication modules
CN110865956A (en) RS-422 communication isolation circuit
CN207926615U (en) Dispatching desk and scheduling system
CN114201430B (en) Double-blind-insertion control circuit and display control method for single-CC interface MCU
CN107391411B (en) Interface circuit based on switch working mode selection
CN101290607B (en) Chip debugging interface device
CN201130377Y (en) Self-adaption circuit for RS-485 interface and RS-422 interface
CN109710549A (en) General purpose I/O MIPI interface circuit is based on inside programmable chip
CN103412845B (en) A kind of serial bus system
CN104331381B (en) The anti-interference output intent of SPI chips
CN104915313A (en) FMC board card for realizing level transformation by using FPGA (field programmable gate array)
CN203151466U (en) Positive-negative logic level conversion switching circuit
CN113259614A (en) HDMI switching circuit and electronic equipment
CN105278622A (en) Adapter card for 3U CPCI-E x8 bus interface
CN212515793U (en) USB high-speed serial port card

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: 20140611

RJ01 Rejection of invention patent application after publication