CN202084028U - A modular multi-serial port expansion device - Google Patents

A modular multi-serial port expansion device Download PDF

Info

Publication number
CN202084028U
CN202084028U CN2011201864544U CN201120186454U CN202084028U CN 202084028 U CN202084028 U CN 202084028U CN 2011201864544 U CN2011201864544 U CN 2011201864544U CN 201120186454 U CN201120186454 U CN 201120186454U CN 202084028 U CN202084028 U CN 202084028U
Authority
CN
China
Prior art keywords
serial
serial ports
data
unit
string
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.)
Expired - Fee Related
Application number
CN2011201864544U
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.)
Nanjing University of Science and Technology
Original Assignee
Nanjing University of Science and Technology
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 Nanjing University of Science and Technology filed Critical Nanjing University of Science and Technology
Priority to CN2011201864544U priority Critical patent/CN202084028U/en
Application granted granted Critical
Publication of CN202084028U publication Critical patent/CN202084028U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The utility model discloses a modularized multi-serial port expanding device, which comprises an information processing unit, a series-parallel conversion unit and a serial port driving unit, wherein, the information processing unit is upwardly connected with a serial port at a high level, and is downwardly connected with the series-parallel conversion unit; and the series-parallel conversion unit is used for connecting the signal processing unit and the serial port driving unit, and is downwardly connected with an expanding serial port through the serial port driving unit. The modularized multi-serial port expanding device realizes the expanding of the serial ports easily, when the serial ports provided by a microprocessor or a main board can not meet the requirement.

Description

A kind of many serial ports expansion of modularization device
Technical field
The utility model belongs to communication technical field, particularly a kind of many serial ports expansion of modularization device.
Background technology
Current, many peripheral circuit functional modules, parts, device and sensor all have the UART serial communication function, there is not the UART interface and the microprocessor chip of present stage has, perhaps has only one or two serial ports, seldom have and have more than 2, so under many circumstances, be difficult to satisfy the needs of multi-serial communication in the practical application.
At application number is 201010195654.6, and the Chinese invention patent of serial hub by name and multi-serial high-speed communication method has proposed a kind of serial hub and multi-serial high-speed communication method, and its serial hub comprises processing unit and serial data switch unit.Control the switching of communication link by processing unit and serial data switch unit, can realize that host computer connects a plurality of different serial equipments simultaneously.But in this scheme, adopt data to switch the transmission that realizes data, when plural serial ports is filed a request, can cause losing of data.
At application number is 200810088683.5, and the Chinese invention patent of a kind of many serial ports implementation method by name and equipment discloses a kind of many serial equipments, comprises control and treatment equipment, logical device and serial ports transceiver.The serial ports transceiver by here receives the multi-channel serial port signal, in a plurality of time slots with multi-channel serial port signal map to a time-multiplexed TDM interface, invents a plurality of interfaces.But in this scheme, only realized reception multi-channel serial port signal, realized transmitting-receiving simultaneously, can only a direction transmit data, limited range of application.
Need in the practical application thus a kind ofly can expand a plurality of devices that can the full-duplex communication serial ports, and require compatible various serial ports standard, can modularization use, expansion is convenient.
The utility model content
The purpose of this utility model is to provide a kind of modularization, the device that can realize serial ports expansion easy to use, and the serial ports that provides at microprocessor does not satisfy when requiring, and can realize the expansion of many serial ports transceive data easily by this device.
The technical solution that realizes the utility model purpose is: a kind of many serial ports expansion of modularization device comprises information process unit, string and converting unit and serial port driving unit;
Information process unit upwards is connected to the upper level serial ports, is connected to string and converting unit downwards, and string and converting unit couple together signal processing unit and serial port driving unit, and string and converting unit are connected to the expansion serial ports downwards by serial port driving unit,
Information process unit receives the serial data of upper level, deal with data, comprise the destination device information that sends in the serial data, send to the expansion serial ports of required transmission according to purpose information, send to the expansion serial ports of required transmission according to data message, be output as parallel data, accept the data of string and converting unit simultaneously to string and converting unit, add the device number information of expansion serial ports, output to the upper level serial ports.
Parallel serial conversion unit, be used for realizing receiving data from the expansion serial ports, realize string-also conversion, be converted to parallel data and output to information process unit reading the serial data of expansion in the serial ports, simultaneously also can receive data from information process unit, realize also-the string conversion, the parallel data of information process unit output is converted to serial data outputs to the expansion serial ports.
Serial port driving unit is connected to the expansion serial ports, is used for the conversion between the serial ports level TTL, and the signal of string and converting unit and the signal of expansion serial ports are changed mutually.
The utility model compared with prior art, its remarkable advantage: nuclear interface standardizing, by the design of serial port driving unit, can compatible various serial ports standards commonly used, modular design can modularization be used, and can realize the expansion of many serial ports rapidly, and is easy to use.By the FIFO buffer memory, realize the full-duplex communication of serial ports transmitting-receiving.And can realize expansion in the mode of cascade, expansion interface quantity is many.
Description of drawings
Fig. 1 is the theory diagram of many serial ports expansion of the utility model modularization device;
Fig. 2 is the configuration diagram of an embodiment of many serial ports expansion of the utility model modularization device proposition;
Fig. 3 is the serial communication interface expanding element;
Fig. 4 is TC16C754B and MAX3160 serial ports expansion hardware connection layout;
Fig. 5 is central control system software principle figure.
Embodiment
Below in conjunction with accompanying drawing the utility model is described in further detail.
Many serial ports expansion of the utility model modularization device comprises information process unit, parallel serial conversion unit, serial port driving unit.
Information process unit receives the serial data of upper level, deal with data, comprise the destination device information that sends in the serial data, send to the expansion serial ports of required transmission according to purpose information, send to the expansion serial ports of required transmission according to data message, be output as parallel data, accept the data of string and converting unit simultaneously to string and converting unit, add the device number information of expansion serial ports, output to the upper level serial ports.
This example wherein information process unit is core with the dsp chip, is responsible for transmitting-receiving and upper level serial communication.On the one hand, it receives the data of upper level serial ports in the mode of interrupting, and after calculation process, the information that receives is converted into corresponding parallel data issues parallel serial conversion unit; On the other hand, accept the request that the expansion serial ports requires communication, accept the data of parallel serial conversion unit, add serial equipment information, send to the upper level serial ports with the form of terminal.
Parallel serial conversion unit, can realize receiving data from the expansion serial ports, realize string-also conversion, be converted to parallel data and output to information process unit reading the serial data of expansion in the serial ports, simultaneously also can receive data from information process unit, realize also-the string conversion, the parallel data of information process unit output is converted to serial data outputs to the expansion serial ports.
Parallel serial conversion unit is made up of two TL16C754B and CPLD, and CPLD mainly divides the address space of each serial ports of TL16C754B.Serial port driving unit 103 is made up of four MAX3160, can expand 4 road serial ports.Fig. 2 provides the hardware configuration of the circuit system of this example, mainly comprises TMS320F2808 type DSP, CPLD, two TL16C754B, MAX3160, the compatible communication interface of RS-232/422/485 etc.
TMS320F2808 is based on 32 fixed-point dsps of high-performance of TMS320C2XX kernel, and its CPU frequency can reach 150 MHz, and communications peripheral has two Asynchronous Serial Interface modules (SCIs).The external interface of TMS320F2808 can be videoed 5 and independently be stored sky and ask, when these storage spaces of visit, can produce corresponding chip selection signal (XZCSOAND1, XZCS2, XZCS6AND7), wherein XZCSOAND1 and XZCS6AND7 are respectively the chip selection signal that share in two spaces.Two TL16C754B are expanded to the Zone0 space, and corresponding address is 0x2000-0x4000.In CPLD, use map addresses, divide the address space of each serial ports of TL16C754B, to the sheet choosing of four passages of TL16C754B.TMS320F2808 is the core of system, utilize serial communication modular in the sheet and external RS-232 serial ports to realize communicating by letter of DSP and upper level serial ports, and expand to four road UART in conjunction with two TL16C754B and four MAX3160, thereby send information to the next stage serial ports.
DSP receives the upper level serial data and is kept in the array that oneself defines (array size can define as required), first of definition is ID number of next stage serial ports in the array, several of back are serial data information, the ID of next stage serial ports number is to carry out map addresses by CPLD several serial port terminal ID map addresses of 754B are arrived in the 0x2000-0x4000 address of information process unit, data processing unit is by analyzing ID number in the array, judge serial data information is to be sent to which serial port terminal of next stage, thereby write data information in the address that ID number pairing CPLD shone upon, CPLD transfers to the serial ports of 754B correspondence by mapping address after receiving data, thereby realizes serial ports expansion.
Realize four road serial communication interfaces by the dsp bus expansion, each serial communication expanding element as shown in Figure 3.Wherein the serial data transceiving device adopts TL16C754B, comprises the two independent transceiver on it, receives and sends respectively the FIFO with 64 bytes, and respectively carry the Modem interface signal, and maximum transmission rate can reach 3MBps.TL16C754B adopts the parallel memory interface of 8 asynchronous serial ports, can directly link to each other with the external memory interface EMIFA of DSP.TL16C754B also provides two interrupt request singal INTA and INTB, is respectively applied for the interruption of passage A and B application DSP.In the present embodiment, according to application need, only use its A channel.
Serial port driving unit carries out the conversion between the serial ports level TTL, adopts MAX3160 in this embodiment.MAX3160 is the multi-protocols transceiver,, make the Asynchronous Serial Interface level can be configured to RS-232, RS-422 and three kinds of level standards of RS-485.The Modem signal of TL16C754B is not connected on the serial line interface fully, just adopts 2 line systems (RXD and TXD) when the RS-232 interface standard, is that (A B), adopts two-wire system to 4 line systems when adopting RS485 for Y, Z when adopting the RS422 interface standard.Pin on the MAX3160
Figure 2011201864544100002DEST_PATH_IMAGE002
Be used for selecting to be operated in the RS422/485 pattern and still work in the RS232 pattern, pin HDPLX is used to select RS422 or RS485.
Expand 4 road serial ports with TC16C754B and MAX3160, connection layout as shown in Figure 4.
It can be the method that realizes the many serial ports expansion of modularization that the utility model also provides a kind of.Be applied to information processing, parallel serial conversion unit, serial port driving unit.The method schematic diagram of the many serial ports expansion of realization modularization as shown in Figure 5.
Serial ports working method between upper level serial ports and the information process unit is an interrupt mode, and the working method between the serial ports of information process unit and following 4 terminals is an inquiry mode.The serial ports of upper level sends serial ports and instructs information process unit, and this serial ports instruction has comprised selection signal and data-signal.After the serial ports instruction sent to information process unit, information process unit was transmitted to 4 terminals according to the selection signal (ID) in the instruction with control signal, if ID=1 just transmits data message serial ports peripheral hardware 1; If ID=2 just is transmitted to data message serial ports peripheral hardware 2; If ID=3 just is transmitted to control signal serial ports peripheral hardware 3; If ID=4 just is transmitted to control signal serial ports peripheral hardware 4; After sending, the serial ports instruction also to return to information process unit, and whether successful to check that instruction sends.
When the serial ports peripheral hardware need at first can send solicited message to information process unit when the upper level serial ports sends data, information process unit inquiry parallel serial conversion unit is accepted data and is added serial ports peripheral hardware number, sends to the upper level serial ports.
Many serial ports expansion of present embodiment modularization device can modularization use, and the expansion serial ports of its each module can go out more serial ports by the upper level serial ports expansion of another one module.
More than disclosed only be an embodiment of the present utility model; but the utility model is not limited thereto; those skilled in the art is not breaking away under the scope and spirit that the utility model protects; can make various concrete variations according to different actual needs, still belong to protection domain of the present utility model.

Claims (3)

1. many serial ports expansion of modularization device is characterized in that: comprise information process unit, string and converting unit and serial port driving unit; Information process unit upwards is connected to the upper level serial ports, is connected to string and converting unit downwards, and string and converting unit couple together signal processing unit and serial port driving unit, and string and converting unit are connected to the expansion serial ports downwards by serial port driving unit;
Information process unit reads the data of upper level serial ports, is output as parallel data to string and converting unit, accepts the data of string and converting unit simultaneously, outputs to the upper level serial ports,
String and converting unit connect signal processing unit and serial port driving unit, the parallel data of signal processing unit output is changed into the serial data of serial port driving unit, simultaneously the serial data of serial port driving unit output is changed into the parallel data of signal processing unit
Serial port driving unit is connected to the expansion serial ports, and the signal of string and converting unit and the signal of expansion serial ports are changed mutually.
2. many serial ports expansion of modularization device according to claim 1, it is characterized in that: described information process unit is by comprising that a MCU is a Micro Control Unit-micro-control unit, this MCU comprises a serial ports, 8 position datawires and address wire at least, the serial ports of MCU is connected to the upper level serial ports, and 8 position datawires and address wire are connected to string and converting unit;
Serial ports is used to receive the serial data of upper level, comprise the purpose Serial Port Information in the data that upper level sends, MCU handles the data that receive, and the output parallel data is to string and converting unit interface, accept the data of string and converting unit simultaneously, add the device number information of expansion serial ports, output to the upper level serial ports.
3. many serial ports expansion of modularization device according to claim 1, it is characterized in that: described string and converting unit, be used for realizing receiving data from the expansion serial ports, realize string-also conversion, be converted to parallel data and output to information process unit reading the serial data of expansion in the serial ports, simultaneously also can receive data, realize also-the string conversion, the parallel data of information process unit output is converted to serial data output to the expansion serial ports from information process unit.
CN2011201864544U 2011-06-03 2011-06-03 A modular multi-serial port expansion device Expired - Fee Related CN202084028U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011201864544U CN202084028U (en) 2011-06-03 2011-06-03 A modular multi-serial port expansion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011201864544U CN202084028U (en) 2011-06-03 2011-06-03 A modular multi-serial port expansion device

Publications (1)

Publication Number Publication Date
CN202084028U true CN202084028U (en) 2011-12-21

Family

ID=45344651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011201864544U Expired - Fee Related CN202084028U (en) 2011-06-03 2011-06-03 A modular multi-serial port expansion device

Country Status (1)

Country Link
CN (1) CN202084028U (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694656A (en) * 2012-05-21 2012-09-26 苏州汉清投资管理有限公司 Multifunctional concentrator
CN103336755A (en) * 2013-06-08 2013-10-02 中国人民解放军92859部队 Program-controlled multimode serial port distributor
CN104572556A (en) * 2014-12-31 2015-04-29 上海玮舟微电子科技有限公司 Multistage serial port expansion circuit
CN105550138A (en) * 2015-12-18 2016-05-04 华立科技股份有限公司 Serial port expansion method
CN106168935A (en) * 2016-06-30 2016-11-30 百度在线网络技术(北京)有限公司 A kind of serial ports conversion equipment and the method obtaining equipment bi-directional data
CN103870428B (en) * 2014-03-19 2017-01-18 顺德职业技术学院 Serial port extender for microprocessor
CN108804364A (en) * 2018-08-30 2018-11-13 路向琨 A kind of converter that serial data interface is converted into multiplex roles communication
CN110309096A (en) * 2019-07-22 2019-10-08 帷幄匠心科技(杭州)有限公司 Multi-serial port transponder
CN111124974A (en) * 2019-12-25 2020-05-08 西安易朴通讯技术有限公司 Interface expansion device and method
CN114461567A (en) * 2022-03-01 2022-05-10 浙江禾川科技股份有限公司 Data processing equipment
CN114706810A (en) * 2022-04-07 2022-07-05 中国兵器装备集团自动化研究所有限公司 Baud rate self-adaptive serial port communication extension device and method based on FPGA

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694656A (en) * 2012-05-21 2012-09-26 苏州汉清投资管理有限公司 Multifunctional concentrator
CN103336755B (en) * 2013-06-08 2015-12-30 中国人民解放军92859部队 Program control multimode serial port distributor
CN103336755A (en) * 2013-06-08 2013-10-02 中国人民解放军92859部队 Program-controlled multimode serial port distributor
CN103870428B (en) * 2014-03-19 2017-01-18 顺德职业技术学院 Serial port extender for microprocessor
CN104572556A (en) * 2014-12-31 2015-04-29 上海玮舟微电子科技有限公司 Multistage serial port expansion circuit
CN104572556B (en) * 2014-12-31 2018-07-06 上海玮舟微电子科技有限公司 Multistage serial expanded circuit
CN105550138A (en) * 2015-12-18 2016-05-04 华立科技股份有限公司 Serial port expansion method
CN106168935A (en) * 2016-06-30 2016-11-30 百度在线网络技术(北京)有限公司 A kind of serial ports conversion equipment and the method obtaining equipment bi-directional data
CN108804364A (en) * 2018-08-30 2018-11-13 路向琨 A kind of converter that serial data interface is converted into multiplex roles communication
CN110309096A (en) * 2019-07-22 2019-10-08 帷幄匠心科技(杭州)有限公司 Multi-serial port transponder
CN111124974A (en) * 2019-12-25 2020-05-08 西安易朴通讯技术有限公司 Interface expansion device and method
CN111124974B (en) * 2019-12-25 2024-01-26 西安易朴通讯技术有限公司 Interface expanding device and method
CN114461567A (en) * 2022-03-01 2022-05-10 浙江禾川科技股份有限公司 Data processing equipment
CN114706810A (en) * 2022-04-07 2022-07-05 中国兵器装备集团自动化研究所有限公司 Baud rate self-adaptive serial port communication extension device and method based on FPGA

Similar Documents

Publication Publication Date Title
CN202084028U (en) A modular multi-serial port expansion device
CN102420877B (en) Multi-mode high-speed intelligent asynchronous serial port communication module and realizing method thereof
CN203658996U (en) Chip interface multiplex circuit and mobile terminal
CN105051706A (en) Device, method and system for operation of a low power PHY with a PCIe protocol stack
CN103248526A (en) Communication equipment and method for achieving out-of-band monitoring and management, and master-slave switching method
CN103440219A (en) Novel general bus transforming bridge IP core
CN2938595Y (en) High speed series interface device for plate communication
CN105786741B (en) SOC high-speed low-power-consumption bus and conversion method
CN102253913A (en) Device for carrying out state acquisition and output control on multi-board-card port
CN101082896A (en) Control method and device between master-salve module
CN101794267A (en) USB (Universal Serial Bus) switching device and realizing method thereof
JP2013084266A (en) Server and serial interface switching circuit thereof
CN101847135A (en) Series-connected communication system and communication method thereof
CN103034604A (en) Conversion equipment of universal serial bus (USB) and various serial ports and realization method thereof
CN202406141U (en) Fire wall
CN109407574A (en) Output-controlling device and its method may be selected in a kind of multibus
CN201503585U (en) Multi-serial data communication card device based on CPCI bus
CN102611601A (en) E1 transceiving card for transmitting Ethernet data by CPCI bus
CN116165516A (en) Parallel verification system for silicon back chip and chip
CN113609067B (en) System for realizing 32-channel RS485 interface card
CN213690598U (en) Multi-channel serial communication system based on multi-channel analog switch
CN213024391U (en) Vehicle-mounted terminal serial port expansion equipment
CN203149567U (en) Multi-node communication circuit based on RS232C standard
CN201278534Y (en) Customer end equipment
CN202696650U (en) HART protocol conversion device

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111221

Termination date: 20130603