CN103336755A - Program-controlled multimode serial port distributor - Google Patents

Program-controlled multimode serial port distributor Download PDF

Info

Publication number
CN103336755A
CN103336755A CN2013102271713A CN201310227171A CN103336755A CN 103336755 A CN103336755 A CN 103336755A CN 2013102271713 A CN2013102271713 A CN 2013102271713A CN 201310227171 A CN201310227171 A CN 201310227171A CN 103336755 A CN103336755 A CN 103336755A
Authority
CN
China
Prior art keywords
serial port
module
mode
serial ports
control
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.)
Granted
Application number
CN2013102271713A
Other languages
Chinese (zh)
Other versions
CN103336755B (en
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.)
92859 FORCES PLA
Original Assignee
92859 FORCES PLA
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 92859 FORCES PLA filed Critical 92859 FORCES PLA
Priority to CN201310227171.3A priority Critical patent/CN103336755B/en
Publication of CN103336755A publication Critical patent/CN103336755A/en
Application granted granted Critical
Publication of CN103336755B publication Critical patent/CN103336755B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention relates to a program-controlled multimode serial port distributor. The program-controlled multimode serial port distributor is mainly characterized in the technical aspect by comprising an FPGA (Field Programmable Gata Array) module, a power module, a plurality of MAX 232 serial port chips, a plurality of MAX 3160 serial port chips, and a memory module, wherein the power module is connected to the FPGA module, the memory module, the MAX 232 serial port chips and the MAX 3160 serial port chips, and supplies power for the FPGA module, the memory module, the MAX 232 serial port chips and the MAX 3160 serial port chips; the FPGA module is connected with the MAX 232 serial port chips, the MAX 3160 serial port chips and the memory module; one MAX 232 serial port chip serves as a control serial port and is connected with a host computer. The program-controlled multimode serial port distributor is designed reasonably, that is, a two-mode optional connection function of the multi-serial ports is realized due to the FPGA module and the serial port chips connected with the FPGA module; the working mode of the MAX 3160 serial port chips and the connection manner of any serial ports can be adjusted under the control of the host computer, so as to realize mode conversion and free interconnection functions of a plurality of serial port equipment. The program-controlled multimode serial port distributor has the characteristics of convenience in installation, reliable performance, and flexibility and convenience in use.

Description

Program control multi-mode serial ports divider
Technical field
The invention belongs to the serial port communication technology field, especially a kind of program control multi-mode serial ports divider.
Background technology
Serial communication is a kind of communication modes that transmits data by step-by-steps such as data signal line, ground wire, control lines.Because serial communication is that one one ground transmits information on a transmission line, used transmission line is few, therefore, can be widely used in the external unit of those and computing machine people-machine switching equipment not far from one another and serial storage such as terminal, printer, logic analyser, disk etc.Serial communication comprises RS232 serial ports and RS422 serial ports, a lot of communication facilitiess in some main equipments or system, have been comprised, these communication facilitiess need communicate to finish data exchanging function in real time by serial ports, the communication facilities of existing RS232 serial ports between the above-mentioned communication facilities, the communication facilities that the RS422 serial ports is arranged again, and the data interaction complex forms, how making the communication facilities of their distinct interface carry out efficient communication is the problem that presses for solution at present.
Summary of the invention
The objective of the invention is to overcome the deficiencies in the prior art, propose a kind of reasonable in design, can carry out effectively the multichannel interface conversion function program control multi-mode serial ports divider.
The present invention solves its technical matters and takes following technical scheme to realize:
A kind of program control multi-mode serial ports divider, comprise FPGA module, power module, a plurality of MAX232 serial port chip, a plurality of MAX3160 serial port chip and memory module, power module is connected to FPGA module, memory module, MAX232 serial port chip and MAX3160 serial port chip and is its power supply, the FPGA module is connected with MAX232 serial port chip, MAX3160 serial port chip, memory module, and one of them MAX232 serial port chip is joined as control serial ports and host computer.
And, described FPGA module comprises the bootstrapping module, the parsing of the data stream module, control register, connect mixed-media network modules mixed-media, control pin and data pins, bootstrapping module and control register are connected with program storage and data-carrier store in the memory module respectively, this bootstrapping module also is connected with control register and parsing of the data stream module, this parsing of the data stream module respectively with control serial ports, control register and connection mixed-media network modules mixed-media are connected, this control register is also with the control pin and be connected mixed-media network modules mixed-media and be connected, this connection mixed-media network modules mixed-media also is connected with data pins, and the control pin is connected with the MAX3160 serial port chip with the MAX232 serial port chip respectively with data pins.
And described host computer is connected be used to the mode of operation that FPGA is set with the parsing of the data stream module by the control serial ports, and the mode of operation of described FPGA is operational mode or debugging mode.
And described host computer is connected be used to the connected mode that any serial ports is set with the parsing of the data stream module by the control serial ports, and the connected mode of described any serial ports is interconnected, one-to-many connection or connected in series mutually in twos.
And described host computer is connected be used to the mode of operation that the MAX3160 chip is set with the parsing of the data stream module by the control serial ports, and the mode of operation of described MAX3160 chip is RS422 pattern or RS232 pattern.
And described memory module comprises program storage and data-carrier store.
Advantage of the present invention and good effect are:
The present invention is by any linkage function of many serial ports of FPGA module and be connected MAX232 serial port chip and two kinds of patterns of MAX3160 serial port chip realization, under the control of host computer, can adjust the mode of operation of MAX3160 interface and the connected mode of any serial ports, can realize that a plurality of serial equipment patterns change and free interconnecting function, have easy for installation, dependable performance, characteristics such as flexible and convenient to use.
Description of drawings
Fig. 1 is circuit block diagram of the present invention;
Fig. 2 is FPGA internal logic graph of a relation of the present invention.
Embodiment
Below in conjunction with accompanying drawing the present invention is further described:
A kind of program control multi-mode serial ports divider as shown in Figure 1, comprises FPGA module, power module, a plurality of MAX232 serial port chip, a plurality of MAX3160 serial port chip, memory module and switch is set.Power module is connected to the FPGA module, memory module and MAX232 serial port chip and MAX3160 serial port chip are its power supply, FPGA module and MAX232 serial port chip, the MAX3160 serial port chip, memory module, control serial ports and switch is set and be connected, FPGA module controls MAX232X chip, the MAX3160 serial port chip realizes the communication control function to each serial port chip, can distributing between any distribution serial ports in twos, interconnected or serial ports links to each other with a plurality of serial ports, the FPGA module can also arrange the mode of operation of MAX3160 serial port chip simultaneously, and the mode of operation of MAX3160 serial port chip comprises 422 serial ports patterns or 232 serial ports patterns; Each MAX232X chip all is connected with 9 pin RS232 serial ports to realize the RS232 communication function, and each MAX3160 serial port chip all connects 25 pin RS422 serial ports to realize RS422 communication function or RS232 communication function.In the present embodiment, the quantity of 9 pin RS232 serial ports is 16, and corresponding MAX232 serial port chip is 16, and the quantity of 25 pin RS422 serial ports is 30, and corresponding MAX3160 serial port chip is 30.In above-mentioned MAX232 serial port chip, with one of them MAX232 serial port chip as control serial ports, the FPGA module is joined by this control serial ports and host computer and is realized communication function with host computer, the connection that the FPGA module can receive host computer arranges order and is connected querying command with serial ports, on the one hand the order that arranges according to host computer arranges the mode of operation of each serial port chip, according to the querying command of host computer duty and the annexation of all serial ports of FPGA is sent to host computer on the other hand.The FPGA module realizes procedure stores and data storage function by memory module, this memory module comprises program storage and data-carrier store, wherein program storage is used for storage FPGA control program, data-carrier store is used for storage FPGA data, when program control multi-mode serial ports divider powered on, the FPGA module read data automatically to revert to the duty before the power down from memory module.The mode of operation that switch is used for FPGA is set, can finishes above-mentioned control function under operational mode, under debugging mode, host computer is finished the debug function to program control multi-mode serial ports divider.
As shown in Figure 2, the FPGA module comprises the bootstrapping module, the parsing of the data stream module, control register, connect mixed-media network modules mixed-media, control pin and data pins, bootstrapping module and control register are connected with program storage and data-carrier store in the memory module respectively, this bootstrapping module also is connected with control register and parsing of the data stream module, this parsing of the data stream module respectively with control serial ports, control register and connection mixed-media network modules mixed-media are connected, this control register is also with the control pin and be connected mixed-media network modules mixed-media and be connected, this connection mixed-media network modules mixed-media also is connected with data pins, and the control pin is connected with the MAX3160 serial port chip with the MAX232 serial port chip respectively with data pins.The principle of work of FPGA module is: the FPGA module realizes the functions such as control of the interconnected and serial ports pattern of computer program-control, many serial ports as the processing core of program control multimode serial ports.After system powered on, the program code that the bootstrapping module will be kept in the program register automatically was loaded among the FPGA, with the operation of control parsing of the data stream module and control register.Serial communication between the continual maintenance of parsing of the data stream module and the host computer: the parsing of the data stream module receives the data that host computer transmits, carrying out analysis judgment is order or tune-up data, if order, it is sent into control register and deposits in the data-carrier store preserve; If tune-up data is sent it into the connection mixed-media network modules mixed-media.The parsing of the data stream module collects from the data of controlling register, connection mixed-media network modules mixed-media it to be passed to host computer simultaneously.The order that control register transmits according to the parsing of the data stream module arranges the level of FPGA control pin, realizes the pattern control of work serial ports.The mode of operation of MAX3160 interface and the connected mode of any serial ports are adjusted in the order that the connection mixed-media network modules mixed-media transmits according to the parsing of the data stream module, realize that a plurality of serial equipment patterns change and free interconnecting function.
It is emphasized that; embodiment of the present invention is illustrative; rather than it is determinate; therefore the present invention is not limited to the embodiment described in the embodiment; every other embodiments that drawn by those skilled in the art's technical scheme according to the present invention belong to the scope of protection of the invention equally.

Claims (6)

1. program control multi-mode serial ports divider, it is characterized in that: comprise FPGA module, power module, a plurality of MAX232 serial port chip, a plurality of MAX3160 serial port chip and memory module, power module is connected to FPGA module, memory module, MAX232 serial port chip and MAX3160 serial port chip and is its power supply, the FPGA module is connected with MAX232 serial port chip, MAX3160 serial port chip, memory module, and one of them MAX232 serial port chip is joined as control serial ports and host computer.
2. program control multi-mode serial ports divider according to claim 1, it is characterized in that: described FPGA module comprises the bootstrapping module, the parsing of the data stream module, control register, connect mixed-media network modules mixed-media, control pin and data pins, bootstrapping module and control register are connected with program storage and data-carrier store in the memory module respectively, this bootstrapping module also is connected with control register and parsing of the data stream module, this parsing of the data stream module respectively with control serial ports, control register and connection mixed-media network modules mixed-media are connected, this control register is also with the control pin and be connected mixed-media network modules mixed-media and be connected, this connection mixed-media network modules mixed-media also is connected with data pins, and the control pin is connected with the MAX3160 serial port chip with the MAX232 serial port chip respectively with data pins.
3. program control multi-mode serial ports divider according to claim 2, it is characterized in that: described host computer is connected be used to the mode of operation that FPGA is set with the parsing of the data stream module by the control serial ports, and the mode of operation of described FPGA is operational mode or debugging mode.
4. program control multi-mode serial ports divider according to claim 2, it is characterized in that: described host computer is connected be used to the connected mode that any serial ports is set with the parsing of the data stream module by the control serial ports, and the connected mode of described any serial ports is interconnected, one-to-many connection or connected in series mutually in twos.
5. program control multi-mode serial ports divider according to claim 2, it is characterized in that: described host computer is connected be used to the mode of operation that the MAX3160 chip is set with the parsing of the data stream module by the control serial ports, and the mode of operation of described MAX3160 chip is RS422 pattern or RS232 pattern.
6. program control multi-mode serial ports divider according to claim 1, it is characterized in that: described memory module comprises program storage and data-carrier store.
CN201310227171.3A 2013-06-08 2013-06-08 Program control multimode serial port distributor Expired - Fee Related CN103336755B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310227171.3A CN103336755B (en) 2013-06-08 2013-06-08 Program control multimode serial port distributor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310227171.3A CN103336755B (en) 2013-06-08 2013-06-08 Program control multimode serial port distributor

Publications (2)

Publication Number Publication Date
CN103336755A true CN103336755A (en) 2013-10-02
CN103336755B CN103336755B (en) 2015-12-30

Family

ID=49244925

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310227171.3A Expired - Fee Related CN103336755B (en) 2013-06-08 2013-06-08 Program control multimode serial port distributor

Country Status (1)

Country Link
CN (1) CN103336755B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339238A (en) * 2016-08-26 2017-01-18 卢军 Serial port multi-mode automatic multiplexing chip quick programming system
CN110704352A (en) * 2019-09-25 2020-01-17 苏州浪潮智能科技有限公司 Multi-serial port management equipment, method and device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0506136A2 (en) * 1991-03-29 1992-09-30 International Business Machines Corporation Broadcast/switching apparatus for executing broadcast/multi-cast transfers over unbuffered asynchronous switching networks
US20040230711A1 (en) * 2003-05-15 2004-11-18 Samsung Electronics Co., Ltd. Method and apparatus for communication via serial multi-port, and recording medium
CN101799678A (en) * 2009-12-30 2010-08-11 北京宇航系统工程研究所 Three-way asynchronous serial-port data real-time synchronous transmitting system
CN202084028U (en) * 2011-06-03 2011-12-21 南京理工大学 Modularized multi-serial port expanding device
CN103136028A (en) * 2013-03-11 2013-06-05 西北工业大学 FLASH memorizer long-distance on-line upgrade method based on field programmable gate array (FPGA)
CN203376746U (en) * 2013-06-08 2014-01-01 中国人民解放军92859部队 Novel program control multi-mode serial port distributor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0506136A2 (en) * 1991-03-29 1992-09-30 International Business Machines Corporation Broadcast/switching apparatus for executing broadcast/multi-cast transfers over unbuffered asynchronous switching networks
US20040230711A1 (en) * 2003-05-15 2004-11-18 Samsung Electronics Co., Ltd. Method and apparatus for communication via serial multi-port, and recording medium
CN101799678A (en) * 2009-12-30 2010-08-11 北京宇航系统工程研究所 Three-way asynchronous serial-port data real-time synchronous transmitting system
CN202084028U (en) * 2011-06-03 2011-12-21 南京理工大学 Modularized multi-serial port expanding device
CN103136028A (en) * 2013-03-11 2013-06-05 西北工业大学 FLASH memorizer long-distance on-line upgrade method based on field programmable gate array (FPGA)
CN203376746U (en) * 2013-06-08 2014-01-01 中国人民解放军92859部队 Novel program control multi-mode serial port distributor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106339238A (en) * 2016-08-26 2017-01-18 卢军 Serial port multi-mode automatic multiplexing chip quick programming system
CN106339238B (en) * 2016-08-26 2020-03-24 卢军 Serial port multi-mode automatic multiplexing chip fast programming system
CN110704352A (en) * 2019-09-25 2020-01-17 苏州浪潮智能科技有限公司 Multi-serial port management equipment, method and device and storage medium

Also Published As

Publication number Publication date
CN103336755B (en) 2015-12-30

Similar Documents

Publication Publication Date Title
CN202838664U (en) Multi-signal and multi-communication protocol data acquisition equipment based on STM32
CN104615401A (en) FPGA (field programmable gate array) based KVM (kernel-based virtual machine) implementing method
CN104348673A (en) Debugging and testing method, main control board and business boards
CN105487999B (en) The extensive usb expansion device of tandem type and working method, system
CN109271330A (en) General BMC system based on integrated information system
CN104484303A (en) 1553B node circuit based on SoC (system on a chip) chip
CN105515673B (en) A kind of optical-fibre channel node card
CN103580975A (en) On-line reconfigurable generalized bus data conversion method
CN103067201A (en) Multi-protocol communication manager
CN103336755A (en) Program-controlled multimode serial port distributor
CN104298125B (en) Modularization CPCI distributing cabinets
CN103561116A (en) Reconfigurable PXI serial communication card and method for achieving remote reconfiguration through reconfigurable PXI serial communication card
CN208954104U (en) Multichannel SIM card read-write equipment
CN102436413B (en) Debugging system and debugging method of board power supply
CN203376746U (en) Novel program control multi-mode serial port distributor
CN104460857A (en) Peripheral component interconnect-express card and method and device for using same
CN204719748U (en) The intelligent management system of extensive USB device
CN204883709U (en) Treater system and backplate
CN207182023U (en) The network control board and modular instrument for being controlled and being communicated based on network
CN205427884U (en) Smart card array device
CN213122967U (en) RS485 signal sharing device
CN208781222U (en) A kind of condition monitoring computer based on day arteries and veins operating system
CN107818675A (en) Power information acquisition system and the micro- work(radio communication devices of NB IOT
CN1983998A (en) Serial telecommunication server for monitoring equipment state by Ethernet
CN204241910U (en) Based on the remote terminal unit unit test system of LPC1764 single-chip microcomputer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20151230

Termination date: 20180608