CN102546841A - Multimode serial port communication system and implementation method thereof - Google Patents
Multimode serial port communication system and implementation method thereof Download PDFInfo
- Publication number
- CN102546841A CN102546841A CN2011102193293A CN201110219329A CN102546841A CN 102546841 A CN102546841 A CN 102546841A CN 2011102193293 A CN2011102193293 A CN 2011102193293A CN 201110219329 A CN201110219329 A CN 201110219329A CN 102546841 A CN102546841 A CN 102546841A
- Authority
- CN
- China
- Prior art keywords
- communication
- transistor
- mode
- optical fiber
- 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.)
- Granted
Links
Images
Landscapes
- Optical Communication System (AREA)
- Electronic Switches (AREA)
Abstract
The invention discloses a multimode serial port communication system and an implementation method thereof. The multimode serial port communication system is used for communication between communication ports, and comprises a power module, a gate circuit module, a logic selector switch, an operating mode selector switch, a level conversion chip, a transistor-transistor logic (TTL) communication interface module, an RS-232 communication interface module and a fiber optical transceiver module. By the system, the optical communication of an RS-232 level, the optical communication of a TTL level and the electrical communication of the RS-232 level and the TTL level can be realized, and communication logics can be converted in an optical communication mode. The system is diversified in communication mode and wide in application range, and also has the advantages of long communication distance, high anti-electromagnetic interference capability, small circuit volume and the like.
Description
Technical field
The present invention relates to communication technique field, particularly a kind of serial communication technology with multiple mode of operation.
Background technology
Serial communication is to use the most a kind of communication modes at present.So-called serial communication is meant that a kind of communication modes of data is transmitted in step-by-step through data signal line, ground wire, control line etc.The data wire that this communication mode uses is few, in telecommunication, can practice thrift communications cost.Wherein, RS-232 serial communication mode has the international standard of standard because of it, and is accepted extensively and use by people, and has become the standard interface that has between the serial communication function device.
But owing to there are defectives such as anti-electromagnetic interference performance difference and communication distance weak point, the range of application of RS-232 serial communication is very limited.At present, the main mode that addresses the above problem is to use optical-fibre communications, and it uses light signal as communication media, and communication distance is improved greatly, has also solved the problem of electromagnetic interference simultaneously.
Yet existing serial ports optical-fibre communications equipment generally can only provide single mode of operation, and under the optical communication pattern, the communication modes of positive logic can only be provided generally, and range of application is narrower.
In view of this, a kind of technology of any switching of the mode of operation commonly used that can realize the RS-232 serial communication need be provided.
Summary of the invention
Weak point in view of above-mentioned prior art; The object of the present invention is to provide a kind of multi-mode serial communications system and its implementation, the problems such as communication modes of positive logic can only be provided under, the optical communication pattern single with mode of operation between the RS-232 serial communication equipment that solves prior art.
In order to achieve the above object, the present invention has taked following technical scheme:
A kind of multi-mode serial communications system that is used for carrying out between the PORT COM communication is characterized in that, said multi-mode serial communications system comprises:
The mode of operation selector switch; Be connected in the gate circuit module; Be used to send the selection signal of communication mode, said communication mode comprises: first communication mode, second communication mode and the 3rd communication pattern, said first communication mode are the electric communication between Transistor-Transistor Logic level and the RS-232 level; Said second communication mode is the optical communication between the Transistor-Transistor Logic level, and said the 3rd communication pattern is the optical communication between the RS-232 level;
The optical fiber transceiver module is used to realize the conversion of the signal of telecommunication and light signal;
The gate circuit module; Be used to receive the selection signal of said communication mode; And select corresponding gate circuit, and be connected in the optical fiber transceiver module, be used for the electrical signal conversion of said optical fiber transceiver module output is become the Transistor-Transistor Logic level signal; The Transistor-Transistor Logic level conversion of signals that is input to said optic module is become the signal of telecommunication of part driving force, to drive said optical fiber transceiver module;
The logic selector switch is connected in said gate circuit module, is used for the conversion of the said gate circuit module realization of control communication logic under said the 3rd communication pattern;
Level transferring chip is connected in said optical fiber transceiver module and said gate circuit module, is used under said first communication mode, realizing the conversion of RS-232 level signal and Transistor-Transistor Logic level signal; The TTL communication interface module is connected in said level transferring chip and said PORT COM, is used to carry out the transmission and the reception of Transistor-Transistor Logic level signal;
The RS-232 communication interface module is connected in said level transferring chip and said PORT COM, is used to carry out the transmission and the reception of RS-232 level signal;
Power module connects said gate circuit module and said level transferring chip, is used to provide working power.
The described multi-mode serial communications system that is used for carrying out between the PORT COM communication, wherein, said optical fiber transceiver module comprises: electricity sends processing unit, electricity receives processing unit, optical fiber transmitting element and optical fiber receiving element; Said electricity sends processing unit and is connected with the optical fiber transmitting element, is used for the signal of telecommunication of input is converted into light signal output; Said optical fiber receiving element receives processing unit with electricity and is connected, and is used for the light signal of input is converted into signal of telecommunication output.
The described multi-mode serial communications system that is used for carrying out between the PORT COM communication, wherein, said optical fiber receiving element is the HFBR2414 chip, said optical fiber transmitting element is the HFBR1414 chip.
The described multi-mode serial communications system that is used for carrying out between the PORT COM communication, wherein, said optical fiber receiving element is the HFBR2316 chip, said optical fiber transmitting element is the HFBR1312 chip.
The described multi-mode serial communications system that is used for carrying out between the PORT COM communication, wherein, said level transferring chip comprises that model is the acp chip of MAX232A.
The described multi-mode serial communications system that is used for carrying out between the PORT COM communication, wherein, said logic selector switch is the toggle switch of general two grade of three end output.
The described multi-mode serial communications system that is used for carrying out between the PORT COM communication, wherein, said mode of operation selector switch is general dibit encoding device, the combinational logic input value of said general dibit encoding device is: 00,01,10,11.
The described multi-mode serial communications system that is used for carrying out between the PORT COM communication, wherein, combinational logic input value 00 corresponding first communication mode; Combinational logic input value 01 and 10 corresponding second communication modes; Combinational logic input value 11 corresponding the 3rd communication patterns.
A kind of implementation method of above-mentioned multi-mode serial communications system wherein, may further comprise the steps:
S1, said power module energized;
S2, according to user's input instruction, said mode of operation selector switch control gate circuit module carries out the selection of first communication mode, second communication mode and the 3rd communication pattern; If select first communication mode, then carry out S3, if select second communication mode then to carry out S4, if the 3rd communication pattern of selection is then carried out S5;
S3; Under first communication mode; Said level transferring chip realizes the conversion of Transistor-Transistor Logic level signal and RS-232 level signal; Said TTL communication interface module carries out the transmission and the reception of Transistor-Transistor Logic level signal with corresponding PORT COM, and said RS-232 communication interface module carries out the transmission and the reception of RS-232 level signal with corresponding PORT COM;
S4; Under second communication mode; Said level transferring chip short circuit, said RS-232 communication interface module is disconnected, and said logic selector switch control gate circuit module is realized the conversion of communication logic; Said gate circuit module, optical fiber transceiver module are realized the conversion of Transistor-Transistor Logic level signal and light signal, and said TTL communication interface module carries out optical communication with corresponding PORT COM;
S5; Said level transferring chip converts the RS-232 level signal into the Transistor-Transistor Logic level signal; Said TTL communication interface module is disconnected; Said logic selector switch control gate circuit module is realized the conversion of communication logic, and said gate circuit module, optical fiber transceiver module are realized the conversion of Transistor-Transistor Logic level signal and light signal, and said RS-232 communication interface module carries out optical communication with corresponding PORT COM.
The implementation method of described multi-mode serial communications system, wherein, gate circuit module, optical fiber transceiver module are realized the conversion of Transistor-Transistor Logic level signal and light signal among said step S4 and the S5, its concrete grammar is:
S41, when the Transistor-Transistor Logic level signal sent, said gate circuit module was converted into the signal of telecommunication with the Transistor-Transistor Logic level signal and sends to the optical fiber transceiver module, and said optical fiber transceiver module is converted into the signal of telecommunication light signal and sends to the TTL communication interface module;
S42, when the Transistor-Transistor Logic level signal received, said optical fiber transceiver module was converted into light signal the signal of telecommunication and sends to the gate circuit module.
Multi-mode serial communications system provided by the invention and its implementation; Said multi-mode serial communications system is used for carrying out between the PORT COM communication; Comprise: power module, gate circuit module, logic selector switch, mode of operation selector switch, level transferring chip, TTL communication interface module, RS-232 communication interface module and optical fiber transceiver module; It can realize the optical communication of RS-232 level, the optical communication of Transistor-Transistor Logic level and the electric communication of RS-232 level and Transistor-Transistor Logic level, can also under the optical communication pattern, realize the conversion of communication logic.Its communication mode variation, applicable situation is wider, simultaneously, also has advantages such as communication distance is far away, anti-electromagnetic interference capability strong, the circuit volume is little.
Description of drawings
Fig. 1 is the structural representation of multi-mode serial communications system provided by the present invention.
Fig. 2 is the structural representation of the optical fiber transceiver module of preferred embodiment of the present invention.
Fig. 3 is the first communication mode structural representation of preferred embodiment of the present invention.
Fig. 4 is the second communication mode structural representation of preferred embodiment of the present invention.
Fig. 5 is the 3rd communication mode configuration sketch map of preferred embodiment of the present invention.
Fig. 6 is the flow chart of multi-mode serial communications system implementation method of the present invention.
Embodiment
The invention provides a kind of multi-mode serial communications system and its implementation, said multi-mode serial communications system can be realized the optical communication of RS-232 level, the optical communication of Transistor-Transistor Logic level and the electric communication of RS-232 level and Transistor-Transistor Logic level.For making the object of the invention, technical scheme and effect clearer, clear and definite, below with reference to accompanying drawing and give an actual example to further explain of the present invention.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
RS-232 is a kind of serial physical interface standard that the EIA of EIA formulates, and when adopting the telecommunication cable of 150pF/m, maximum communication distance is 15m; If the capacitance of every meter cable reduces, communication distance can increase.RS-232 has stipulated the electrical standard of oneself because its development before the TTL circuit, so its level be not+5V and ground, but adopt negative logic, i.e. logical zero :+5V to+15V, logical one :-5V is to-15V.Transistor-Transistor Logic level is then stipulated, logical zero: less than 0.4V, logical one :+3V arrives+5V.Therefore, RS-232 can not directly link to each other with Transistor-Transistor Logic level, must carry out level conversion during use, otherwise the TTL circuit will be burnt out.
See also Fig. 1, Fig. 1 is the structural representation of multi-mode serial communications system provided by the present invention.As shown in the figure, said multi-mode serial communications system comprises power module 100, gate circuit module 200, logic selector switch 500, mode of operation selector switch 400, level transferring chip 300, TTL communication interface module 700, RS-232 communication interface module 600 and optical fiber transceiver module 800.Said power module 100 connects gate circuit module 200 and level transferring chip 300; Said RS-232 communication interface module 600, mode of operation selector switch 400 are connected gate circuit module 200 with logic selector switch 500; Said optical fiber transceiver module 800 connects level transferring chip 300 and gate circuit module 200; Said TTL communication interface module 700 connects level transferring chip 300 and gate circuit module 200, and said level transferring chip 300 connects RS-232 communication interface module 600 and gate circuit module 200.
Specifically, said power module 100 is used to the working power that provides suitable, in embodiments of the present invention, adopts direct current supply DC5V/0.2A, and the power consumption of whole multi-mode serial communications system is extremely low, also makes things convenient for the user to select power supply.Said power module mainly is the DC power supply DC5V/0.2A input that connects outside input; Output to each chip of system and the feeder ear of functional module after handling through filter circuit then, for each chip and functional module in the system provide power supply (because the required power supply of each chip and functional module can be different).
Said gate circuit module 200 is used to realize the Transistor-Transistor Logic level signal of optical fiber transceiver module 800 (optical fiber transceiver module 800 further comprises optic fiber transceiver module and optical fiber sending module) and the conversion of the signal of telecommunication: the Transistor-Transistor Logic level signal of being responsible for becoming the electrical signal conversion of optic fiber transceiver module output standard; The Transistor-Transistor Logic level conversion of signals that responsible handle is input to the standard of optical fiber sending module becomes the signal of telecommunication with certain driving force, to drive the optical fiber sending module.In addition; Under the control of mode of operation selector switch 400, can realize the switching of communication mode; Said communication mode comprises: first communication mode, second communication mode and the 3rd communication pattern; Said first communication mode is the electric communication between Transistor-Transistor Logic level and the RS-232 level, and said second communication mode is the optical communication between the Transistor-Transistor Logic level, and said the 3rd communication pattern is the optical communication between the RS-232 level.Said gate circuit module 200 can also realize the conversion of communication logic when the optical communication pattern under the control of logic selector switch 500.Said level transferring chip 300 is used to realize the conversion of RS-232 level signal and Transistor-Transistor Logic level signal.Said TTL communication interface module 700 is used for carrying out with PORT COM the transmission and the reception of Transistor-Transistor Logic level signal.Said RS-232 communication interface module 600 is used for carrying out with PORT COM the transmission and the reception of RS-232 level signal.Said optical fiber transceiver module 800 is used to realize the conversion of the signal of telecommunication and light signal.
Further; Said level transferring chip 300 can adopt U.S. letter company specially for the rs-232 standard serial ports design of computer the single supply level transferring chip--MAX232A is as acp chip; The peripheral ceramic condenser that adopts 0.1uF, this chip power-consumption is low, uses very extensively; Because of its structure is a prior art, just no longer specifically narration here.
See also Fig. 2, as shown in the figure, said optical fiber transceiver module 800 comprises that further electricity sends processing unit 810, electricity receives processing unit 820, optical fiber transmitting element 830 and optical fiber receiving element 840; Said electricity sends processing unit 810 and is connected with optical fiber transmitting element 830, is used for that the signal of telecommunication that gate circuit module 200 is imported is converted into light signal and outputs to PORT COM; Said optical fiber receiving element 820 receives processing unit 840 with electricity and is connected, and is used for that the light signal that PORT COM is imported is converted into the signal of telecommunication and outputs to gate circuit module 200.Further, the HFBR2414 chip that said optical fiber receiving element is produced for Agilent company, the HFBR1414 chip that said optical fiber transmitting element is produced for Agilent company.Perhaps the optical fiber receiving element adopts the HFBR2414 chip, and the optical fiber transmitting element adopts the HFBR1414 chip.
Specify three kinds of communication modes below respectively.See also Fig. 3, Fig. 3 is the first communication mode structural representation.After user input instruction arrives the mode of operation selector switch; Select first communication mode; After being the electric communication between Transistor-Transistor Logic level and the RS-232 level; Said level transferring chip 300 is changed Transistor-Transistor Logic level signal and RS-232 level signal, and TTL communication interface module 700 carries out the transmission and the reception of Transistor-Transistor Logic level signal with corresponding PORT COM, and RS-232 communication interface module 600 carries out the transmission and the reception of RS-232 level signal with corresponding PORT COM.
Please continue to consult Fig. 4, Fig. 4 is the structural representation of second communication mode.After user input instruction arrives the mode of operation selector switch; Select second communication mode; After being the optical communication between the Transistor-Transistor Logic level; The logic selector switch can the control gate circuit module be realized the conversion (the communication logic that is change-over circuit is positive logic or negative logic) of communication logic, and said gate circuit module 200, optical fiber transceiver module 800 are realized the conversion of Transistor-Transistor Logic level signals and light signal, and said TTL communication interface module 700 carries out optical communication with corresponding PORT COM.Further; Said gate circuit module, optical fiber transceiver module realize that the conversion of Transistor-Transistor Logic level signal and light signal specifically comprises: when the Transistor-Transistor Logic level signal sends; Said gate circuit module is converted into the Transistor-Transistor Logic level signal signal of telecommunication that adapts to the optical fiber transceiver module and sends to the optical fiber transceiver module, and said optical fiber transceiver module is converted into the signal of telecommunication light signal and sends to the TTL communication interface module; When the Transistor-Transistor Logic level signal received, said optical fiber transceiver module was converted into light signal the signal of telecommunication and sends to the gate circuit module.
Please further consult Fig. 5, Fig. 5 is the structural representation of the 3rd communication pattern.After user input instruction arrives the mode of operation selector switch; Select the 3rd communication pattern; After being the optical communication between the RS-232 level, the logic selector switch can the control gate circuit module be realized the conversion (the communication logic that is change-over circuit is positive logic or negative logic) of communication logic, and said TTL communication interface module is disconnected; Then; Said level transferring chip 300 converts the RS-232 level signal into the Transistor-Transistor Logic level signal, and said gate circuit module 200, optical fiber transceiver module 800 are realized the conversion of Transistor-Transistor Logic level signals and light signal, and said RS-232 communication interface module carries out optical communication with corresponding PORT COM.
The present invention also provides the implementation method of above-mentioned multi-mode serial communications system, and as shown in Figure 6, it may further comprise the steps:
S1, the power module energized;
S2, according to user's input instruction, said mode of operation selector switch control gate circuit module carries out the selection of first communication mode, second communication mode and the 3rd communication pattern; If select first communication mode then to carry out S3, if select second communication mode then to carry out S4, if the 3rd communication pattern of selection is then carried out S5;
S3; Under first communication mode; Said level transferring chip realizes the conversion of Transistor-Transistor Logic level signal and RS-232 level signal; Said TTL communication interface module carries out the transmission and the reception of Transistor-Transistor Logic level signal with corresponding PORT COM, and said RS-232 communication interface module carries out the transmission and the reception of RS-232 level signal with corresponding PORT COM;
S4; Under second communication mode; Said level transferring chip short circuit, said RS-232 communication interface module is disconnected, and said logic selector switch control gate circuit module is realized the conversion of communication logic; Said gate circuit module, optical fiber transceiver module are realized the conversion of Transistor-Transistor Logic level signal and light signal, and said TTL communication interface module carries out optical communication with corresponding PORT COM;
S5; Under the 3rd communication pattern; Said level transferring chip converts the RS-232 level signal into the Transistor-Transistor Logic level signal, and said TTL communication interface module is disconnected, and said logic selector switch control gate circuit module is realized the conversion of communication logic; Said gate circuit module, optical fiber transceiver module are realized the conversion of Transistor-Transistor Logic level signal and light signal, and said RS-232 communication interface module carries out optical communication with corresponding PORT COM.
Further, gate circuit module, optical fiber transceiver module are realized the conversion of Transistor-Transistor Logic level signal and light signal among said step S4 and the S5, and its concrete grammar is:
S41, when the Transistor-Transistor Logic level signal sent, said gate circuit module was converted into the signal of telecommunication with the Transistor-Transistor Logic level signal and sends to the optical fiber transceiver module, and said optical fiber transceiver module is converted into the signal of telecommunication light signal and sends to the TTL communication interface module;
S42, when the Transistor-Transistor Logic level signal received, said optical fiber transceiver module was converted into light signal the signal of telecommunication and sends to the gate circuit module.
Simultaneously, multi-mode serial communications system of the present invention and its implementation can adopt the toggle switch of general two grade of three end output to be used as the logic selector switch, can be welded direct on the circuit board, also can be installed on the panel of equipment.In addition, also select a general dibit encoding device to be used as the mode of operation selector switch, the combinational logic input value of said general dibit encoding device is: 00,01,10,11.In embodiments of the present invention, combinational logic input value 00 corresponding first communication mode; Combinational logic input value 01 and 10 corresponding second communication modes; Combinational logic input value 11 corresponding the 3rd communication patterns.
Multi-mode serial communications system provided by the invention and its implementation; Said multi-mode serial communications system is used for carrying out between the PORT COM communication; Comprise: power module, gate circuit module, logic selector switch, mode of operation selector switch, level transferring chip, TTL communication interface module, RS-232 communication interface module and optical fiber transceiver module; It can realize the optical communication of RS-232 level, the optical communication of Transistor-Transistor Logic level and the electric communication of RS-232 level and Transistor-Transistor Logic level, can also under the optical communication pattern, realize the conversion of communication logic.Its communication mode variation, applicable situation is wider, simultaneously, also has advantages such as communication distance is far away, anti-electromagnetic interference capability strong, the circuit volume is little.
It is understandable that, concerning those of ordinary skills, can be equal to replacement or change according to technical scheme of the present invention and inventive concept thereof, and all these changes or replacement all should belong to the protection range of the appended claim of the present invention.
Claims (10)
1. a multi-mode serial communications system that is used for carrying out between the PORT COM communication is characterized in that, said multi-mode serial communications system comprises:
The mode of operation selector switch; Be connected in the gate circuit module; Be used to send the selection signal of communication mode, said communication mode comprises: first communication mode, second communication mode and the 3rd communication pattern, said first communication mode are the electric communication between Transistor-Transistor Logic level and the RS-232 level; Said second communication mode is the optical communication between the Transistor-Transistor Logic level, and said the 3rd communication pattern is the optical communication between the RS-232 level;
The optical fiber transceiver module is used to realize the conversion of the signal of telecommunication and light signal;
The gate circuit module; Be used to receive the selection signal of said communication mode; And select corresponding gate circuit, and be connected in the optical fiber transceiver module, be used for the electrical signal conversion of said optical fiber transceiver module output is become the Transistor-Transistor Logic level signal; The Transistor-Transistor Logic level conversion of signals that is input to said optic module is become the signal of telecommunication of part driving force, to drive said optical fiber transceiver module;
The logic selector switch is connected in said gate circuit module, is used for the conversion of the said gate circuit module realization of control communication logic under said the 3rd communication pattern;
Level transferring chip is connected in said optical fiber transceiver module and said gate circuit module, is used under said first communication mode, realizing the conversion of RS-232 level signal and Transistor-Transistor Logic level signal; The TTL communication interface module is connected in said level transferring chip and said PORT COM, is used to carry out the transmission and the reception of Transistor-Transistor Logic level signal;
The RS-232 communication interface module is connected in said level transferring chip and said PORT COM, is used to carry out the transmission and the reception of RS-232 level signal;
Power module connects said gate circuit module and said level transferring chip, is used to provide working power.
2. the multi-mode serial communications system that is used for carrying out between the PORT COM communication according to claim 1 is characterized in that, said optical fiber transceiver module comprises: electricity sends processing unit, electricity receives processing unit, optical fiber transmitting element and optical fiber receiving element; Said electricity sends processing unit and is connected with the optical fiber transmitting element, and the signal of telecommunication of the adaptation optical fiber transceiver module that is used for the gate circuit module is imported is converted into light signal and outputs to PORT COM; Said optical fiber receiving element receives processing unit with electricity and is connected, and is used for that the light signal that PORT COM is imported is converted into the signal of telecommunication and outputs to the gate circuit module.
3. the multi-mode serial communications system that is used for carrying out between the PORT COM communication according to claim 2 is characterized in that: said optical fiber receiving element is the HFBR2414 chip, and said optical fiber transmitting element is the HFBR1414 chip.
4. the multi-mode serial communications system that is used for carrying out between the PORT COM communication according to claim 2 is characterized in that: said optical fiber receiving element is the HFBR2316 chip, and said optical fiber transmitting element is the HFBR1312 chip.
5. the multi-mode serial communications system that is used for carrying out between the PORT COM communication according to claim 1 is characterized in that: said level transferring chip comprises that model is the acp chip of MAX232A.
6. the multi-mode serial communications system that is used for carrying out between the PORT COM communication according to claim 1 is characterized in that: said logic selector switch is the toggle switch of general two grade of three end output.
7. the multi-mode serial communications system that is used for carrying out between the PORT COM communication according to claim 1; It is characterized in that: said mode of operation selector switch is general dibit encoding device, and the combinational logic input value of said general dibit encoding device is: 00,01,10,11.
8. the multi-mode serial communications system that is used for carrying out between the PORT COM communication according to claim 7 is characterized in that: combinational logic input value 00 corresponding first communication mode; Combinational logic input value 01 and 10 corresponding second communication modes; Combinational logic input value 11 corresponding the 3rd communication patterns.
9. the implementation method of the described multi-mode serial communications system of claim 1 is characterized in that, may further comprise the steps:
S1, said power module energized;
S2, according to user's input instruction, said mode of operation selector switch control gate circuit module carries out the selection of first communication mode, second communication mode and the 3rd communication pattern; If select first communication mode then to carry out S3, if select second communication mode then to carry out S4, if the 3rd communication pattern of selection is then carried out S5;
S3; Under first communication mode; Said level transferring chip realizes the conversion of Transistor-Transistor Logic level signal and RS-232 level signal; Said TTL communication interface module carries out the transmission and the reception of Transistor-Transistor Logic level signal with corresponding PORT COM, and said RS-232 communication interface module carries out the transmission and the reception of RS-232 level signal with corresponding PORT COM;
S4; Under second communication mode; Said level transferring chip short circuit, said RS-232 communication interface module is disconnected, and said logic selector switch control gate circuit module is realized the conversion of communication logic; Said gate circuit module, optical fiber transceiver module are realized the conversion of Transistor-Transistor Logic level signal and light signal, and said TTL communication interface module carries out optical communication with corresponding PORT COM;
S5; Under the 3rd communication pattern; Said level transferring chip converts the RS-232 level signal into the Transistor-Transistor Logic level signal, and said TTL communication interface module is disconnected, and said logic selector switch control gate circuit module is realized the conversion of communication logic; Said gate circuit module, optical fiber transceiver module are realized the conversion of Transistor-Transistor Logic level signal and light signal, and said RS-232 communication interface module carries out optical communication with corresponding PORT COM.
10. the implementation method of multi-mode serial communications system according to claim 9 is characterized in that, gate circuit module, optical fiber transceiver module are realized the conversion of Transistor-Transistor Logic level signal and light signal among said step S4 and the S5, and its concrete grammar is:
S41, when the Transistor-Transistor Logic level signal sent, said gate circuit module was converted into the signal of telecommunication with the Transistor-Transistor Logic level signal and sends to the optical fiber transceiver module, and said optical fiber transceiver module is converted into the signal of telecommunication light signal and sends to the TTL communication interface module;
S42, when the Transistor-Transistor Logic level signal received, said optical fiber transceiver module was converted into light signal the signal of telecommunication and sends to the gate circuit module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110219329.3A CN102546841B (en) | 2011-08-02 | 2011-08-02 | Multimode serial port communication system and implementation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110219329.3A CN102546841B (en) | 2011-08-02 | 2011-08-02 | Multimode serial port communication system and implementation method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102546841A true CN102546841A (en) | 2012-07-04 |
CN102546841B CN102546841B (en) | 2014-09-10 |
Family
ID=46352786
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110219329.3A Expired - Fee Related CN102546841B (en) | 2011-08-02 | 2011-08-02 | Multimode serial port communication system and implementation method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102546841B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219104A (en) * | 2013-05-30 | 2014-12-17 | 研祥智能科技股份有限公司 | Serial port test device |
CN109800203A (en) * | 2019-01-25 | 2019-05-24 | 山东超越数控电子股份有限公司 | A kind of RS232 serial ports RXD and TXD automatic switch-over circuit and its switching method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2502324Y (en) * | 2001-09-06 | 2002-07-24 | 铁道部株洲电力机车研究所 | Data memory transfer device |
CN201509189U (en) * | 2009-09-24 | 2010-06-16 | 孙新江 | 485 interface converter |
CN201576272U (en) * | 2009-12-01 | 2010-09-08 | 西安终南信息技术有限公司 | Multi-purpose serial port converting device |
-
2011
- 2011-08-02 CN CN201110219329.3A patent/CN102546841B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2502324Y (en) * | 2001-09-06 | 2002-07-24 | 铁道部株洲电力机车研究所 | Data memory transfer device |
CN201509189U (en) * | 2009-09-24 | 2010-06-16 | 孙新江 | 485 interface converter |
CN201576272U (en) * | 2009-12-01 | 2010-09-08 | 西安终南信息技术有限公司 | Multi-purpose serial port converting device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104219104A (en) * | 2013-05-30 | 2014-12-17 | 研祥智能科技股份有限公司 | Serial port test device |
CN109800203A (en) * | 2019-01-25 | 2019-05-24 | 山东超越数控电子股份有限公司 | A kind of RS232 serial ports RXD and TXD automatic switch-over circuit and its switching method |
Also Published As
Publication number | Publication date |
---|---|
CN102546841B (en) | 2014-09-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107426551B (en) | FPGA-based full-mode Cameralink digital image optical transceiver receiving end and transmitting end | |
CN101404001B (en) | Serial port signal and USB signal compatible control circuit board and communication data cable | |
CN101916959B (en) | Laser switching-off device and switching-off method thereof | |
CN103095367B (en) | The method of light mouth rate adaptation and optical network device | |
US9294290B2 (en) | Optical cable assemblies with low-speed data pass-through architecture and sleep mode operation | |
CN111881072B (en) | High-speed USB TYPE-C interface device supporting bidirectional transmission and graphic signal generator | |
CN102324922A (en) | Low voltage difference signal drive circuit and digital signal conveyer | |
CN208044591U (en) | A kind of switching device and server that SATA and PCIE is shared | |
CN102347992B (en) | Network device and network server capable of supporting photoelectric switching | |
CN102546841B (en) | Multimode serial port communication system and implementation method thereof | |
CN104009781B (en) | A kind of wireless Bluetooth adapter being applicable to portable terminal device | |
CN202693267U (en) | Optical fiber test apparatus | |
CN209570926U (en) | A kind of signal converting module and multi-channel interface switching device | |
CN204031181U (en) | A kind of optical module | |
CN112799989B (en) | Interface switching circuit and communication device | |
CN201708803U (en) | Data transmitting and receiving circuit used in wind power converter | |
CN207801943U (en) | A kind of list multimode universal optical fibre transceiver | |
CN103064813B (en) | The method of bus transfer and system | |
CN207184485U (en) | A kind of optical module switching device and system | |
CN206370050U (en) | The telecommunication circuit of computer and electromagnetic compatibility instrument | |
CN214474537U (en) | Network equipment and network communication system | |
CN103630987B (en) | CFP optical module | |
CN110598227A (en) | Serial port communication system convenient for PCB wiring | |
CN103684935A (en) | Adaptive method and system for photoelectric network port of Ethernet | |
CN204926072U (en) | Communication interface integrated circuit board suitable for flexible direct current transmission real -time simulation of system platform |
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 |
Granted publication date: 20140910 Termination date: 20200802 |
|
CF01 | Termination of patent right due to non-payment of annual fee |