CN104898501A - Passive four-path RS232 serial port concentrator - Google Patents

Passive four-path RS232 serial port concentrator Download PDF

Info

Publication number
CN104898501A
CN104898501A CN201510204268.1A CN201510204268A CN104898501A CN 104898501 A CN104898501 A CN 104898501A CN 201510204268 A CN201510204268 A CN 201510204268A CN 104898501 A CN104898501 A CN 104898501A
Authority
CN
China
Prior art keywords
voltage
circuit
input
serial
path
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
CN201510204268.1A
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.)
Yuxi Power Supply Bureau of Yunnan Power Grid Co Ltd
Original Assignee
Yuxi Power Supply Bureau of Yunnan Power Grid 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 Yuxi Power Supply Bureau of Yunnan Power Grid Co Ltd filed Critical Yuxi Power Supply Bureau of Yunnan Power Grid Co Ltd
Priority to CN201510204268.1A priority Critical patent/CN104898501A/en
Publication of CN104898501A publication Critical patent/CN104898501A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23049Control panel serial, RS232 connected to controller
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33185Rs232c switch box, break out box, to connect different devices

Abstract

The invention provides a passive four-path RS232 serial port concentrator. The passive four-path RS232 serial port concentrator is designed according to the problem of a requirement of an existing device for an externally-connected power source. The passive four-path RS232 serial port concentrator of the invention includes an input and output interface module, a serial port electricity taking module, a single-chip microcomputer and a four-path analog switch, wherein the input and output interface module is used for receiving and transmitting serial port signals and dividing the received signals into three paths and transmitting the three paths of signals to the other three modules, the serial port electricity taking module converts one path of signals into 3.3V stable voltage and outputs the 3.3V stable voltage to the single-chip microcomputer and the four-path analog switch so as to provide work voltage for the single-chip microcomputer and the four-path analog switch, and the single-chip microcomputer detects signals of four interfaces and controls the channels of the four-path analog switch, so that one-to-many communication of serial ports can be realized. The baud rate of data communication ranges from 300 to 115200Bd.

Description

Passive four road RS232 serial hubs
Technical field
The present invention relates to a kind of passive four road RS232 serial hubs.
Background technology
RS232 standard is a kind of conventional point-to-point communication standard, and in order to realize the one-to-many communication of serial ports, existing scheme comprises the multichannel serial breakout box of manual gating, and needs the one-to-many serial hub of external power supply.In some engineering, main control end needs to receive the information from each road while sending information to multiple terminal, and manual breakout box cannot realize this function, and the external power supply required for serial hub can be made troubles to construction.
Summary of the invention
For the problems referred to above, the invention provides one is not needing to transform main frame, and under not increasing the condition of external power supply, realizes the passive four road RS232 serial hubs of full duplex a pair four communication of serial ports.
For achieving the above object, the passive four road RS232 serial hubs of the present invention, comprise
Input/output interface module, receives and sends rs 232 serial interface signal, and being divided into by described rs 232 serial interface signal three road signals to be sent to serial ports electricity-fetching module, single-chip microcomputer and four path analoging switch be connected with described input/output interface module respectively respectively;
Serial ports electricity-fetching module, converts described for reception rs 232 serial interface signal to burning voltage, for the single-chip microcomputer that is connected with described serial ports electricity-fetching module and four path analoging switch provide operating voltage;
Single-chip microcomputer, detects the signal of four road interfaces, connects four path analoging switch, controls four path analoging switch and opens corresponding passage, thus realizes the one-to-many communication of serial ports.
Further, described serial ports electricity-fetching module comprises positive voltage input, output line, negative voltage input line, times voltage conversion circuit, directly change-over circuit, time delayed turn-off circuit, delayed start-up circuit and mu balanced circuit, wherein, the rs 232 serial interface signal inputing to serial ports electricity-fetching module splits into discontinuous positive input voltage one tunnel, a road negative input voltage in time through diode, and positive input voltage directly carries out voltage transitions through mu balanced circuit; Delayed start-up circuit stops negative voltage to be input to direct change-over circuit, negative voltage transition is positive voltage by times voltage conversion circuit, for the chip charging in direct change-over circuit, after charging complete, times voltage conversion circuit turns off by time delayed turn-off circuit, delayed start-up circuit is by open-minded for direct change-over circuit simultaneously, forms stable voltage supply.
Beneficial effect:
Compared with existing correlation technique, the present invention has following beneficial effect:
The present invention is used for receiving and sending rs 232 serial interface signal by input/output interface module, and the signal received is divided into three tunnels, a part of signal is converted to the burning voltage of 3.3V and exports to single-chip microcomputer and four path analoging switch as operating voltage by serial ports electricity-fetching module, the signal of microprocessor detect four road interface and control four path analoging switch and open corresponding passage, thus realize the one-to-many communication of serial ports, achieve full duplex a pair four communications of RS232 serial ports under without the condition of external power supply, plug and play, construction is simple.The each device of system is low energy-consumption electronic device, and entire system power consumption is low.
Accompanying drawing explanation
Fig. 1 is serial ports electricity-fetching module schematic diagram of the present invention.
Fig. 2 is the structured flowchart of the passive four road RS232 serial hubs of the present invention.
Embodiment
Below in conjunction with Figure of description, the present invention will be further described.
Embodiment
According to RS232 standard, logical one voltage is-3V to-15V, and logical zero voltage is+3V to+15V, and remain logical one during serial ports non-output signal, voltage is about-10V.
As shown in Figure 1, the passive four road RS232 serial hubs of the present invention comprise: input/output interface module, serial ports electricity-fetching module, single-chip microcomputer and four path analoging switch.Input/output interface module is responsible for the reception of signal, shunting and output, the signal that serial ports receives is divided into three parts through this module, be through the part that diode shunting enters serial ports electricity-fetching module respectively, be transported to through level conversion the part that single-chip microcomputer carries out logical process, and be directly linked into the signal section of analog switch.Input/output interface module will complete the coordination of each several part signal, should accomplish stable power-supplying and single-chip microcomputer identification, also needs to ensure that signal is undistorted, and controls the degree of amplitude decay, to ensure communication.Serial ports electricity-fetching module converts part signal to 3.3V burning voltage.Single-chip microcomputer is connected with input signal, monitor the change of each road signal, when detecting that arbitrary road has signal to input (being changed to 0), by output signal by analog switch for passage open, and keep a period of time (acquiescence 1ms), if continue to detect that this road has signal to input during keeping, continue to keep, period ignores the change of other road signals, until time-out does not detect that this road has signal input then to return original state.
As shown in Figure 2, serial ports electricity-fetching module comprises generating positive and negative voltage input-output line, times voltage conversion circuit, directly change-over circuit, time delayed turn-off circuit, delayed start-up circuit and mu balanced circuit.Utilize its voltage transitions characteristic that negative voltage is converted into positive voltage.When serial ports connects main frame, the part signal being input to serial ports electricity-fetching module splits into discontinuous positive and negative two-way input voltage in time through diode.The part of positive voltage input was directly entered mu balanced circuit and was carried out voltage transitions, and the part of negative voltage input will be converted to positive voltage by two voltage conversion circuits.After equipment is connected to main frame, delayed start-up circuit can stop negative voltage to be input to direct change-over circuit, negative voltage transition is positive voltage by times voltage conversion circuit, for the chip charging in direct change-over circuit, after charging complete, times voltage conversion circuit turns off by time delayed turn-off circuit, and delayed start-up circuit is by open-minded for direct change-over circuit simultaneously, thus forms stable voltage supply.
The passive four road RS232 serial hubs of the present invention, comprise input/output interface module, serial ports electricity-fetching module, single-chip microcomputer and analog switch, without the need to resetting main frame, and under not increasing the prerequisite of external power supply, achieve a pair four full-duplex communications of serial ports.
Described serial ports electricity-fetching module, can realize by the conversion of rs 232 serial interface signal to regulated output voltage, has no signal input to complete power supply when serial ports is connected; Can realize quick power supply, serial ports can produce stable output voltage after connecting immediately, ensure that system starts fast.
Input/output interface module is used for receiving and sending rs 232 serial interface signal, and the signal received is divided into three tunnels, deliver to other three modules respectively, a part of signal is converted to the burning voltage of 3.3V and exports to single-chip microcomputer and analog switch as operating voltage by serial ports electricity-fetching module, the signal of microprocessor detect four road interface and the corresponding passage of control simulation switch opens, thus realize the one-to-many communication of serial ports.Data communication baud rate is 300-115200Bd.
The present invention be should be understood that; above-described embodiment; further detailed description has been carried out to object of the present invention, technical scheme and beneficial effect; these are only embodiments of the invention; be not intended to limit the present invention, every within spiritual principles of the present invention, done any amendment, equivalent replacement, improvement etc.; all should be included within protection scope of the present invention, the protection domain that protection scope of the present invention should define with claim is as the criterion.

Claims (2)

1. passive four road RS232 serial hubs, is characterized in that: comprise
Input/output interface module, receives and sends rs 232 serial interface signal, and being divided into by described rs 232 serial interface signal three road signals to be sent to serial ports electricity-fetching module, single-chip microcomputer and four path analoging switch be connected with described input/output interface module respectively respectively;
Serial ports electricity-fetching module, converts described for reception rs 232 serial interface signal to burning voltage, for the single-chip microcomputer that is connected with described serial ports electricity-fetching module and four path analoging switch provide operating voltage;
Single-chip microcomputer, detects the signal of four road interfaces, connects four path analoging switch, controls four path analoging switch and opens corresponding passage, thus realizes the one-to-many communication of serial ports.
2. passive four road RS232 serial hubs according to claim 1, it is characterized in that: described serial ports electricity-fetching module comprises positive voltage input, output line, negative voltage input line, times voltage conversion circuit, directly change-over circuit, time delayed turn-off circuit, delayed start-up circuit and mu balanced circuit, wherein, the rs 232 serial interface signal inputing to serial ports electricity-fetching module splits into discontinuous positive input voltage one tunnel, a road negative input voltage in time through diode, and positive input voltage directly carries out voltage transitions through mu balanced circuit; Delayed start-up circuit stops negative voltage to be input to direct change-over circuit, negative voltage transition is positive voltage by times voltage conversion circuit, for the chip charging in direct change-over circuit, after charging complete, times voltage conversion circuit turns off by time delayed turn-off circuit, delayed start-up circuit is by open-minded for direct change-over circuit simultaneously, forms stable voltage supply.
CN201510204268.1A 2015-04-27 2015-04-27 Passive four-path RS232 serial port concentrator Pending CN104898501A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510204268.1A CN104898501A (en) 2015-04-27 2015-04-27 Passive four-path RS232 serial port concentrator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510204268.1A CN104898501A (en) 2015-04-27 2015-04-27 Passive four-path RS232 serial port concentrator

Publications (1)

Publication Number Publication Date
CN104898501A true CN104898501A (en) 2015-09-09

Family

ID=54031219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510204268.1A Pending CN104898501A (en) 2015-04-27 2015-04-27 Passive four-path RS232 serial port concentrator

Country Status (1)

Country Link
CN (1) CN104898501A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040213263A1 (en) * 1999-01-25 2004-10-28 Beckwith Robert W. Hub which converts scada protocols to the BLUEJAYTM protocol
CN2904383Y (en) * 2006-03-10 2007-05-23 哈尔滨九洲电气股份有限公司 High voltage frequency changer passive RS 232 optical fiber signal converter
CN201374719Y (en) * 2009-02-13 2009-12-30 中国人民解放军空军航空大学 Serial communication hub applicable to tree communication network
CN101694995A (en) * 2009-09-28 2010-04-14 江南大学 Passive RS232-485 signal converter
CN202353446U (en) * 2011-11-23 2012-07-25 深圳市宇泰科技有限公司 Serial port electric larceny circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040213263A1 (en) * 1999-01-25 2004-10-28 Beckwith Robert W. Hub which converts scada protocols to the BLUEJAYTM protocol
CN2904383Y (en) * 2006-03-10 2007-05-23 哈尔滨九洲电气股份有限公司 High voltage frequency changer passive RS 232 optical fiber signal converter
CN201374719Y (en) * 2009-02-13 2009-12-30 中国人民解放军空军航空大学 Serial communication hub applicable to tree communication network
CN101694995A (en) * 2009-09-28 2010-04-14 江南大学 Passive RS232-485 signal converter
CN202353446U (en) * 2011-11-23 2012-07-25 深圳市宇泰科技有限公司 Serial port electric larceny circuit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
盛琥等: "一种免微控器的RS232/485转换器", 《微计算机信息》 *

Similar Documents

Publication Publication Date Title
CN203933593U (en) Half-duplex RS-485 isolation communicating circuit
CN103778673A (en) Electronic communication device, electronic label and electronic non-stop charging system
CN104270203A (en) SFF double-light-emitting module with DDM function and optical communication system
CN109412575B (en) High-speed digital photoelectric coupler with selectable transmission directions
CN104898501A (en) Passive four-path RS232 serial port concentrator
CN203366045U (en) A digital quantity input-output device based on a CAN bus
CN210804414U (en) Circuit with reusable communication interface
CN105263232A (en) RS485 communication circuit, DMX (Digital Multiplex) controller and DMX control system
CN212137668U (en) Novel intelligent communication and electric energy pulse acquisition unit
CN204536793U (en) A kind of ore deposit pressure signal converter
CN108880826B (en) RS232 and RS485 combined interface
CN208971524U (en) Golden finger module reuse circuit and optical module
CN207637147U (en) It is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries
CN205093019U (en) RS485 communication circuit and DMX controller and control system
CN205451747U (en) LED display screen system based on power line carrier
CN206147596U (en) Switching identification circuit of computer and computer -based mainboard
CN204578559U (en) A kind of four road RS232 serial ports routers
CN205179180U (en) Mixed transmission system of coaxial cable in deep sea
CN105115608B (en) Ultrared single-photon detector clock signal and avalanche signal output device
CN109725563A (en) 100,000,000 1553B of one kind hair control bus termination board
CN202978945U (en) Three-phase electric energy meter communication module based on optical fiber communication mode
CN214381427U (en) Digital baseband processing board
CN103346894A (en) Interface switching circuit between chips and network equipment
CN106411366A (en) Communication system having double-row Bluetooth function
CN204440071U (en) Battery data acquisition device and charging management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20180622