CN103514136A - Multi-serial port conversion device - Google Patents

Multi-serial port conversion device Download PDF

Info

Publication number
CN103514136A
CN103514136A CN201210213858.7A CN201210213858A CN103514136A CN 103514136 A CN103514136 A CN 103514136A CN 201210213858 A CN201210213858 A CN 201210213858A CN 103514136 A CN103514136 A CN 103514136A
Authority
CN
China
Prior art keywords
module
gating
signal
serial interface
interface signal
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
CN201210213858.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 Industrial Park New Hongbo Communication Technology Co Ltd
Original Assignee
Suzhou Industrial Park New Hongbo Communication Technology Co Ltd
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 Industrial Park New Hongbo Communication Technology Co Ltd filed Critical Suzhou Industrial Park New Hongbo Communication Technology Co Ltd
Priority to CN201210213858.7A priority Critical patent/CN103514136A/en
Publication of CN103514136A publication Critical patent/CN103514136A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

The invention relates to a multi-serial port conversion device which comprises an electric level conversion module, an alternate gating module and a core control module. The electric level conversion module is used for receiving a plurality of first RS232 serial port signals and converting the signals into a plurality of corresponding second RS232 serial port signals. The alternate gating module is connected with the second RS232 serial port signals and used for gating one of the second RS232 serial port signals in a time-sharing mode to serve as effective output. The core control module outputs first enable signals used for selecting the second RS232 serial port signals to the alternate gating module and then receives and transmits the second RS232 serial port signals. The alternate gating module outputs second enable signals used for gating one of the second RS232 serial port signals in a time-sharing mode according to the output of the first enable signals, and the core control module comprises a data protocol conversion unit and a data output module. The data protocol conversion unit analyzes, processes and converts the received second RS232 serial port signals to effective information sections. The data output module is used for receiving the effective information sections and sending the effective information sections to a central monitoring platform. The multi-serial port conversion device has the advantages of being simple in structure, easy and convenient to install, convenient to use and low in cost.

Description

Many serial ports conversion equipment
Technical field
The present invention relates to serial communication applied technical field, relate in particular to a kind of many serial ports conversion equipment.
Background technology
Serial technology is widely used in the every nook and cranny of electronic communication industry, and especially maximum, the way of output is the easiest a kind of full duplex serial communication modes appears the earliest, uses in RS232.For making up the series of problems such as the communication distance of RS232 is short, common mode interference is serious, and EIA level mode and general Transistor-Transistor Logic level are incompatible, newly born again RS422/RS485 and the CAN bus serial ports of differential type.In engineering application, RS232 serial ports is compared a great defect with CAN bus with RS422/RS485: cannot be connected a plurality of nodes simultaneously.But in the projects such as a lot of intelligent communications, security protection, building, the output signal of distributed sensing detection point is probably the simplest RS232 rs 232 serial interface signal at present.In mega project, usually there will be more than ten RS232 serial ports to need to be connected to the situation that CSRC platform is monitored simultaneously.Because CSRC platform serial ports input interface is limited, and RS232 does not support multinode and connects, so this seems simple interface problem, becomes a lot of engineering project company stubborn problem.
Existing serial ports controller equipment can only be realized simple single channel serial ports RS232 to the conversion of RS422/RS485 interface, can not realize the conversion and control that serial ports multichannel is input to single channel output.If expand the serial line interface of master control platform, cost is also excessive.
Summary of the invention
The object of the present invention is to provide a kind of simple in structure, simple installation, easy to use, many serial ports conversion equipment cheaply.
For realizing aforementioned object, the present invention adopts following technical scheme: a kind of many serial ports conversion equipment, comprising:
Level switch module, in order to receive some roads the one RS232 rs 232 serial interface signal, then converts corresponding some roads the 2nd RS232 rs 232 serial interface signal to;
Gating module, connects some roads the 2nd RS232 rs 232 serial interface signal in turn, and some roads the 2nd RS232 rs 232 serial interface signal Zhong mono-tunnel the 2nd RS232 rs 232 serial interface signal connecting in order to timesharing gating is as effective output;
Kernel control module, output in order to the first enable signal of selecting the 2nd RS232 rs 232 serial interface signal to gating module in turn, receive and dispatch again the 2nd RS232 rs 232 serial interface signal by conduct is effectively exported after timesharing gating, the described module of gating is in turn exported in order to timesharing gating one tunnel the 2nd RS232 rs 232 serial interface signal the second enable signal as effective output according to described the first enable signal, and described kernel control module comprises the data protocol converting unit of the 2nd RS232 rs 232 serial interface signal as effectively output of reception being analyzed, processed and converts to effective information section;
Data outputting module, in order to receive effective information section and effective information section be sent to CSRC platform.
As a further improvement on the present invention, described data outputting module comprises that then the reception effective information section forming according to the communications protocol that receives CSRC platform is sent to effect signal segment RS485 driver, CAN transceiver and the GPRS module of CSRC platform.
As a further improvement on the present invention, described kernel control module comprise in order to be connected with gating module in turn and in order to transmitting-receiving by after timesharing gating as effectively first signal port and the secondary signal port being connected with RS485 driver, CAN transceiver and GPRS module respectively, the 3rd signal port and the 4th signal port of the 2nd RS232 rs 232 serial interface signal of output.
As a further improvement on the present invention, described kernel control module comprises and being connected with gating module in turn and in order to export 6 enable signal ports of the first enable signal.
As a further improvement on the present invention, the described module of gating in turn comprises three or eight code translators that receive the first enable signal and export the second enable signal.
As a further improvement on the present invention, the described module of gating in turn also comprises the field effect transistor module of the second enable signal triggering that connects the 2nd RS232 rs 232 serial interface signal and exported by three or eight code translators.
As a further improvement on the present invention, comprise the field effect transistor of 2 opposite directions in described each field effect module, the signal of each field effect transistor module is corresponding with a corresponding road the 2nd RS232 rs 232 serial interface signal in level switch module.
As a further improvement on the present invention, the field effect transistor module number arranging in the logical module of described news mostly in turn is most 8 times of three or the eight code translator quantity that arrange in gating module in turn.
As a further improvement on the present invention, described level switch module comprises some sub-level switch modules, and described every sub-level switch module can receive two-way the one RS232 rs 232 serial interface signal.
The present invention is by level switch module, gating module, kernel control module and the large functional module of data outputting module four solve many serial ports transfer problem in turn, and the present invention has simple in structure, simple installation, easy to use, advantage cheaply.
Accompanying drawing explanation
Fig. 1 is the module diagram of many serial ports conversion equipment in one embodiment of the invention.
Embodiment
Refer to Fig. 1, the many serial ports conversion equipment in one embodiment of the invention comprises level switch module (not label), gating module 2, kernel control module 3 and data outputting module (not label) in turn.Then the outside RS232 rs 232 serial interface signal of this many serial ports conversion equipment reception converts thereof into effective information section and exports CSRC platform 5 to.The one RS232 rs 232 serial interface signal is by on-the-spot sensing measuring control point 6 outputs, on-the-spot sensing measuring control point 6 is a plurality of, each on-the-spot sensing measuring control point 6 output one tunnel the one RS232 rs 232 serial interface signal, thereby a RS232 rs 232 serial interface signal is also many groups, every group of RS232 rs 232 serial interface signal sends a road the one RS232 rs 232 serial interface signal to level switch module.Below, the four module in this many serial ports conversion equipment is described in detail.
Level switch module is in order to receive some roads the one RS232 rs 232 serial interface signal, then converts corresponding some roads the 2nd RS232 rs 232 serial interface signal to.Level switch module is mainly for the treatment of the level conversion of a RS232 rs 232 serial interface signal, in order to solve RS232 rs 232 serial interface signal output EIA level and a Transistor-Transistor Logic level compatibling problem.Level switch module comprises a plurality of sub-level switch modules 11.In the present embodiment, the model of this sub-level switch module 11 is MAX3232, and each sub-level switch module 11 can receive two-way the one RS232 rs 232 serial interface signal and convert thereof into the 2nd RS232 rs 232 serial interface signal output of corresponding two-way.As: on-the-spot sensing measuring control point 6 outputting ten one tunnel the one RS232 rs 232 serial interface signals, need 6 sub-level switch modules 11.
Some roads the 2nd RS232 rs 232 serial interface signal that gating module 2 connects in above-mentioned level switch module in turn, some roads the 2nd RS232 rs 232 serial interface signal Zhong mono-tunnel the 2nd RS232 rs 232 serial interface signal connecting in order to timesharing gating is as effective output.Concrete which the 2nd RS232 rs 232 serial interface signal of gating is determined by kernel control module 3 below.This in turn gating module 2 comprise three or eight code translators 21 and field effect transistor module 22.Three or eight code translators 21 select which the 2nd RS232 rs 232 serial interface signal of gating to export the second enable signal according to kernel control module 3.Field effect transistor module 22 is in order to connect some roads the 2nd RS232 rs 232 serial interface signal, and the second enable signal of being exported by three or eight code translators 21 triggers.At the second enable signal, trigger after field effect transistor module 22, be connected Yi road the 2nd RS232 rs 232 serial interface signal with the field effect transistor module 22 being triggered by timesharing gating, thereby set up effectively communication connection by timesharing gating Yi road the 2nd RS232 rs 232 serial interface signal and kernel control module 3.
In the present embodiment, three or eight code translators 21 and field effect transistor module 22 are a plurality of.The field effect transistor (not label) that comprises 2 opposite directions in each field effect transistor module 22, the signal of each field effect transistor module 22 is corresponding with a corresponding road the 2nd RS232 rs 232 serial interface signal in level switch module.In configuration, field effect transistor module 22 quantity of setting mostly are 8 times of three or eight code translator 21 quantity of setting most, and the model that is provided with in the present embodiment 2 three or eight code translator 21, three eight code translators 21 is 74LS138.
Kernel control module 3 then using the two RS232 rs 232 serial interface signal as effective output of reception is analyzed, is processed and converted effective information section as the 2nd RS232 rs 232 serial interface signal of effectively output in order to transmitting-receiving after timesharing gating and exported.Kernel control module 3 comprises in order to the 2nd RS232 rs 232 serial interface signal as effectively output of reception is analyzed, to be processed and to convert to the data protocol converting unit 31 of effective information section.Data protocol converting unit 31 adopts different User Agreements to analyze the effective effective information section of center controlling platform 5 according to the 2nd RS232 rs 232 serial interface signal on each received road.At this, in order to guarantee the reliability of data, at one time in, data protocol converting unit 31 can only receive and process a road the 2nd RS232 rs 232 serial interface signal.Because a RS232 rs 232 serial interface signal is generally a plurality of, thereby the 2nd corresponding RS232 rs 232 serial interface signal is a plurality of, and data protocol converting unit 31 which the 2nd RS232 rs 232 serial interface signal of reception are determined by kernel control module 3, simultaneously, because above-mentioned the 2nd RS232 rs 232 serial interface signal of having mentioned concrete gating is determined by kernel control module 3, so, kernel control module 3 can output one group in order to select to need which the first enable signal of the 2nd RS232 rs 232 serial interface signal of concrete gating to gating module 2 in turn, in turn gating module 2 according to the first enable signal output in order to timesharing gating one tunnel the 2nd RS232 rs 232 serial interface signal as the second enable signal of effective output to field effect transistor module 22 and trigger this field effect transistor module 22.Kernel control module 3 comprise be connected with gating module 2 in turn and in order to 6 enable signal ports (not label) of exporting the first enable signal with in order to be connected and to be strobed the effectively first signal port 32 of the 2nd RS232 rs 232 serial interface signal of output of rear conduct in order to transmitting-receiving with gating module 2 in turn.
Data outputting module is in order to receive effective information section and effective information section is sent to CSRC platform 5.Data outputting module comprises that the reception effective information Duan Bingzai forming according to the communication information that receives CSRC platform 5 is sent to effective information section RS485 driver 41, CAN transceiver 42 and the GPRS module 43 of CSRC platform 5.
In the present embodiment, because kernel control module 3 has 4 independently serialization controllers, so kernel control module 3 can be according to the demand of CSRC platform 5, by 4 independently serialization controller be configured to RS232 mode, RS485 mode, CAN bus and GPRS wireless mode, and form respectively in order to be connected with gating module 2 in turn and in order to receive and dispatch the first signal port of the 2nd RS323 serial port signal, and with RS485 driver 41, the secondary signal port of CAN transceiver 42 and GPRS module 43 (not label), the 3rd signal port (not label) and the 4th signal port (not label).
By above-mentioned level switch module, gating module, kernel control module and the large functional module of data outputting module four solve many serial ports transfer problem in turn, and the conversion equipment of the many serial ports in the present embodiment has simple in structure, simple installation, easy to use, advantage cheaply.
Although be example object, the preferred embodiment of the present invention is disclosed, but those of ordinary skill in the art will recognize, in the situation that not departing from by the disclosed scope and spirit of the present invention of appending claims, various improvement, increase and replacement are possible.

Claims (9)

1. the conversion equipment of serial ports more than, is characterized in that: described many serial ports conversion equipment comprises:
Level switch module, in order to receive some roads the one RS232 rs 232 serial interface signal, then converts corresponding some roads the 2nd RS232 rs 232 serial interface signal to;
Gating module, connects some roads the 2nd RS232 rs 232 serial interface signal in turn, and some roads the 2nd RS232 rs 232 serial interface signal Zhong mono-tunnel the 2nd RS232 rs 232 serial interface signal connecting in order to timesharing gating is as effective output;
Kernel control module, output in order to the first enable signal of selecting the 2nd RS232 rs 232 serial interface signal to gating module in turn, receive and dispatch again the 2nd RS232 rs 232 serial interface signal by conduct is effectively exported after timesharing gating, the described module of gating is in turn exported in order to timesharing gating one tunnel the 2nd RS232 rs 232 serial interface signal the second enable signal as effective output according to described the first enable signal, and described kernel control module comprises the data protocol converting unit of the 2nd RS232 rs 232 serial interface signal as effectively output of reception being analyzed, processed and converts to effective information section;
Data outputting module, in order to receive effective information section and effective information section be sent to CSRC platform.
2. many serial ports conversion equipment according to claim 1, is characterized in that: described data outputting module comprises that then the reception effective information section forming according to the communications protocol that receives CSRC platform is sent to effect signal segment RS485 driver, CAN transceiver and the GPRS module of CSRC platform.
3. many serial ports conversion equipment according to claim 2, is characterized in that: described kernel control module comprise in order to be connected with gating module in turn and in order to transmitting-receiving by after timesharing gating as effectively first signal port and the secondary signal port being connected with RS485 driver, CAN transceiver and GPRS module respectively, the 3rd signal port and the 4th signal port of the 2nd RS232 rs 232 serial interface signal of output.
4. many serial ports conversion equipment according to claim 1, is characterized in that: described kernel control module comprises and being connected with gating module in turn and in order to export 6 enable signal ports of the first enable signal.
5. many serial ports conversion equipment according to claim 4, is characterized in that: the described module of gating in turn comprises three or eight code translators that receive the first enable signal and export the second enable signal.
6. many serial ports conversion equipment according to claim 5, is characterized in that: the described module of gating in turn also comprises the field effect transistor module of the second enable signal triggering that connects the 2nd RS232 rs 232 serial interface signal and exported by three or eight code translators.
7. many serial ports conversion equipment according to claim 6, it is characterized in that: in described each field effect module, comprise the field effect transistor of 2 opposite directions, the signal of each field effect transistor module is corresponding with a corresponding road the 2nd RS232 rs 232 serial interface signal in level switch module.
8. many serial ports conversion equipment according to claim 7, is characterized in that: the field effect transistor module number arranging in the logical module of described news mostly in turn is most 8 times of three or the eight code translator quantity that arrange in gating module in turn.
9. many serial ports conversion equipment according to claim 1, is characterized in that: described level switch module comprises some sub-level switch modules, and described every sub-level switch module can receive two-way the one RS232 rs 232 serial interface signal.
CN201210213858.7A 2012-06-27 2012-06-27 Multi-serial port conversion device Pending CN103514136A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210213858.7A CN103514136A (en) 2012-06-27 2012-06-27 Multi-serial port conversion device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210213858.7A CN103514136A (en) 2012-06-27 2012-06-27 Multi-serial port conversion device

Publications (1)

Publication Number Publication Date
CN103514136A true CN103514136A (en) 2014-01-15

Family

ID=49896884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210213858.7A Pending CN103514136A (en) 2012-06-27 2012-06-27 Multi-serial port conversion device

Country Status (1)

Country Link
CN (1) CN103514136A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704406A (en) * 2017-10-31 2018-02-16 珠海全志科技股份有限公司 Chip testing exception monitoring device, method, computer equipment and storage medium
CN109753050A (en) * 2019-01-28 2019-05-14 西安爱生技术集团公司 A kind of Portable unmanned machine handling controller test macro and test method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771630B1 (en) * 1999-02-06 2004-08-03 Freescale, Semiconductor, Inc. Multi channel controller
CN101464724A (en) * 2007-12-18 2009-06-24 鸿富锦精密工业(深圳)有限公司 Multi-channel master-salve equipment communication circuit
CN202150110U (en) * 2011-06-02 2012-02-22 安徽工程大学 Multi-serial-port multi-path time division multiplexing serial communication device based on singlechip microcomputer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6771630B1 (en) * 1999-02-06 2004-08-03 Freescale, Semiconductor, Inc. Multi channel controller
CN101464724A (en) * 2007-12-18 2009-06-24 鸿富锦精密工业(深圳)有限公司 Multi-channel master-salve equipment communication circuit
CN202150110U (en) * 2011-06-02 2012-02-22 安徽工程大学 Multi-serial-port multi-path time division multiplexing serial communication device based on singlechip microcomputer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704406A (en) * 2017-10-31 2018-02-16 珠海全志科技股份有限公司 Chip testing exception monitoring device, method, computer equipment and storage medium
CN109753050A (en) * 2019-01-28 2019-05-14 西安爱生技术集团公司 A kind of Portable unmanned machine handling controller test macro and test method

Similar Documents

Publication Publication Date Title
CN102591291B (en) Industrial controller and human-machine interface bidirectional data transmission system and method
CN101303680B (en) Method and apparatus for expanding multiple serial ports of terminal
CN202611765U (en) Safety monitoring system in mining
CN103345845A (en) Traffic signal control system with self-healing function
CN203133584U (en) CAN communication interface, cable monitor and cable monitoring system
CN105306352A (en) Industrial field bus protocol gateway device
CN103440754A (en) Wireless distribution type network data monitoring system
CN103514136A (en) Multi-serial port conversion device
CN202711246U (en) Application expanding system with 485 buses and 232 buses
CN202735809U (en) Mining intrinsic safe type control substation
CN203397201U (en) CPLD or FPGA based high-speed synchronous serial communication circuit
CN203476374U (en) Hydraulic support electrohydraulic control system
CN202535382U (en) Bidirectional data transmission system of industrial controller and human-machine interface
CN101216999A (en) A split type traffic signal controlling machine system
CN102946276B (en) Special optical fiber hub for railway
CN204312134U (en) A kind of mining supervising device
CN204423035U (en) A kind of DT-CM128 bus acquisition monitoring device
CN202935897U (en) Sudden-stop lock switch position recognition device of belt conveyor
CN203299811U (en) ABS unibus communication device of automobile anti-lock brake system
CN203503137U (en) Wireless-distribution-type network data monitoring system
CN103129582A (en) Intelligent monitoring system of metal mine underground ramp transportation
CN204168294U (en) A kind of novel crossed redundancy link structure of optical-electrical converter
CN204576495U (en) A kind of dual bus arbitration control device
CN202261355U (en) Active relaying and distributing device
CN204400365U (en) A kind of electric terminal being applicable to elevator

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

RJ01 Rejection of invention patent application after publication