CN202503496U - Level converter - Google Patents
Level converter Download PDFInfo
- Publication number
- CN202503496U CN202503496U CN 201220091570 CN201220091570U CN202503496U CN 202503496 U CN202503496 U CN 202503496U CN 201220091570 CN201220091570 CN 201220091570 CN 201220091570 U CN201220091570 U CN 201220091570U CN 202503496 U CN202503496 U CN 202503496U
- Authority
- CN
- China
- Prior art keywords
- level
- module
- resistance
- triode
- interface module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Electronic Switches (AREA)
Abstract
The utility model is applicable to the field of level interfaces and provides a level converter. The level converter comprises a level conversion module, a first interface module, a second interface module and an optical coupler isolation module, wherein the level conversion module is used for realizing mutual conversion between transistor-transistor logic (TTL) level and level 232; the first interface module and the second interface module are used for matching and connecting the level converter with target modules on the two ends; the optical coupler isolation module is used for fault protection; and the first interface module, the level conversion module, the optical coupler isolation module and the second interface module are orderly connected between the target modules on the two ends. The level converter disclosed by the utility model uses the level conversion module to realize mutual high speed conversion between TTL level and level 232, is convenient for transmitting data and can improve development efficiency; and optoelectronic isolation is carried out by the optical coupler isolation module to realize the fault protection.
Description
Technical field
The utility model belongs to the electric level interface field, relates in particular to a kind of level translator.
Background technology
In application development process, the problem that needs 232 level and Transistor-Transistor Logic level to change each other, special this transducer of exploitation does not have this series products in the market temporarily.
The utility model content
In view of this, a kind of level translator that can realize mutual conversion between 232 level and the Transistor-Transistor Logic level is provided.
The utility model is achieved in that a kind of level translator, comprising: the level switch module that is used to realize the mutual conversion between Transistor-Transistor Logic level and 232 level; Be used for first interface module and second interface module that said level translator is connected with the object module coupling at two ends; And the light-coupled isolation module that is used for error protection; Said first interface module, said level switch module, said light-coupled isolation module and said second interface module are connected in turn between the said object module at said two ends.
Further, said first interface module is 232 interfaces, and said second interface module is the TTL interface.
Further, said level switch module comprises level transferring chip (U2) and peripheral circuit thereof.
Further, said light-coupled isolation module comprises: photoelectrical coupler (U1), triode (Q1), second resistance (R2), the 3rd resistance (R3), the 4th resistance (R4) and the 5th resistance (R5); The emitter of triode is connected to the base stage of triode (Q1) in the photoelectrical coupler (U1) through the 3rd resistance (R3); The collector electrode of triode is connected to+the 5V power supply in the photoelectrical coupler (U1); The anode of diode is connected to the VCC power supply in the photoelectrical coupler (U1), and the negative electrode of diode connects an end of the 5th resistance (R5); The grounded emitter of triode (Q1), the collector electrode of triode (Q1) is connected to+the 5V power supply through second resistance (R2); The 4th resistance R 4 is connected between the base stage and ground of said triode (Q1); When the level of the other end of said the 5th resistance (R5) is high level, not conducting of said photoelectrical coupler (U1), the level of the collector electrode of said triode (Q1) is a high level; When the level of the other end of said the 5th resistance (R5) is low level, said photoelectrical coupler (U1) conducting, the level of the collector electrode of said triode (Q1) is a low level.
Above-mentioned level translator adopts level switch module to realize the mutual high-speed transitions between Transistor-Transistor Logic level and 232 level, can make things convenient for data forwarding, improves development efficiency; Carry out photoelectricity through the light-coupled isolation module simultaneously and isolate, realize error protection.
Description of drawings
Fig. 1 is the modular structure sketch map of the level translator that provides of the utility model embodiment;
Fig. 2 is the circuit diagram of the power supply of the level translator that provides of the utility model embodiment;
Fig. 3 is the circuit diagram of the level switch module of the level translator that provides of the utility model embodiment;
Fig. 4 is the circuit diagram of the photoelectric isolation module of the level translator that provides of the utility model embodiment.
Embodiment
For the purpose, technical scheme and the advantage that make the utility model is clearer,, the utility model is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the utility model, and be not used in qualification the utility model.
The level translator that the utility model embodiment provides is mainly used in the occasion that needs 232 level and Transistor-Transistor Logic level conversion; This level translator links to each other with the equipment that needs level conversion respectively.Fig. 1 shows the modular structure of the level translator that the utility model provides, and for the ease of explanation, only shows the part relevant with the utility model.
Level translator comprises: the level switch module 2 that is used to realize the mutual conversion between Transistor-Transistor Logic level and 232 level; Be used for first interface module 1 and second interface module 4 that said level translator is connected with the object module coupling at two ends; And the light-coupled isolation module 3 that is used for error protection; Wherein first interface module 1, level switch module 2, light-coupled isolation module 3 and second interface module 4 are connected in turn between the object module at two ends.
The level translator that the utility model embodiment provides can be realized high-speed transitions between Transistor-Transistor Logic level and 232 level; When using this level translator; This level translator is connected between two equipment that need conversion, and this level translator need not independent power supply, the inner conversion of using special chip can accomplish 232 level and Transistor-Transistor Logic level; And adopt optocoupler to isolate between two equipment, communication speed can reach 38400bps.
In the utility model, first interface module 1 is 232 interfaces, and second interface module 4 is the TTL interface.Two interface module functions mainly are to accomplish being connected of this adaptation and two ends object module.
The level translator that the utility model embodiment provides can also link to each other with 232 serial ports of computer; Link to each other from the PC nine needles serial port, inner completion 232 level and Transistor-Transistor Logic level are changed, and isolate through optocoupler; Be unlikely to occur to burn computer after the faults such as short circuit, thereby guarantee safe in utilization.
Fig. 2 shows the circuit diagram of this level translator power supply; The voltage that the PC serial ports provides after diode D2 and the diode D3 rectification, surely arrives 5V through a voltage stabilizing didoe D4 with voltage through diode D1 again, is level switch module 2 power supplies.Through this circuit, need not to connect power supply more separately and enter.
Fig. 3 shows the physical circuit of level switch module 2; Level switch module 2 comprises level transferring chip U2 and peripheral circuit thereof, and wherein level transferring chip U2 comprises 16 pins, and the 1st pin C1+ representes voltage multiplication of voltage charge pump capacitance cathode access point; The 2nd pin V+ representes that charge pump produces+5.5V voltage; The 3rd pin C1-representes voltage multiplication of voltage charge pump electric capacity negative pole access point; The 4th pin C2+ representes reversed charge pump capacitance cathode access point; The 5th pin C2-representes reversed charge pump electric capacity negative pole access point; The 6th pin V-representes that charge pump produces-5.5V voltage; The 7th pin T1OUT representes the output of RS-232 level; The 8th pin T2OUT representes the output of RS-232 level; The 9th pin R1IN representes to receive the input of RS232 level; The 10th pin R2IN representes to receive the input of RS232 level; The 11st pin R1OUT representes the output of TTL/CMOS level; The 12nd pin R2OUT representes the output of TTL/CMOS level; The 13rd pin T1IN representes the input of TTL/CMOS level; The 14th pin T2IN representes the input of TTL/CMOS level; The 15th pin GND representes earth terminal; The 16th pin VCC represent power end (+3.3V to+5V).The transmission of 232 level is connected to the 8th pin of level transferring chip U2, and the reception of 232 level is connected to the 7th pin of level transferring chip U2; The transmission of Transistor-Transistor Logic level is connected to the 9th pin of level transferring chip U2, and the reception of Transistor-Transistor Logic level is connected to the 10th pin of level transferring chip U2.In the inner conversion of accomplishing level of level transferring chip U2.Peripheral circuit has comprised capacitor C 4, C5, C6, C7 and the C8 of the effect of decoupling, and guarantees the operate as normal of level transferring chip U2.
Fig. 4 shows the physical circuit of photoelectric isolation module 3, and the function of light-coupled isolation module mainly provides a kind of protection, if one bring out faults such as existing short circuit, is unlikely to burn other end circuit.Light-coupled isolation module 3 comprises: photoelectrical coupler U1, triode Q1, second resistance R 2, the 3rd resistance R 3, the 4th resistance R 4 and the 5th resistance R 5; The emitter of triode is connected to the base stage of triode Q1 among the photoelectrical coupler U1 through the 3rd resistance R 3; The collector electrode of triode is connected to+the 5V power supply among the photoelectrical coupler U1; The anode of diode is connected to the VCC power supply among the photoelectrical coupler U1, and the negative electrode of diode connects an end of the 5th resistance R 5; The grounded emitter of triode Q1, the collector electrode of triode Q1 is connected to+the 5V power supply through second resistance R 2; The 4th resistance R 4 is connected between the base stage and ground of triode Q1; When the level of the other end of the 5th resistance R 5 is high level, not conducting of photoelectrical coupler U1, the level of the collector electrode of triode Q1 by on draw and be high level; When the level of the other end of the 5th resistance R 5 is low level, photoelectrical coupler U1 conducting, triode Q1 conducting, the level of the collector electrode of triode Q1 is drawn to be low level.Through this circuit, accomplish the transmission of signal, and can provide photoelectricity to isolate.
The level translator that the utility model embodiment provides adopts level switch module to realize the mutual high-speed transitions between Transistor-Transistor Logic level and 232 level, can make things convenient for data forwarding, improves development efficiency; Carry out photoelectricity through the light-coupled isolation module simultaneously and isolate, realize error protection.
The above is merely the preferred embodiment of the utility model; Not in order to restriction the utility model; Any modification of being done within all spirit and principles at the utility model, be equal to replacement and improvement etc., all should be included within the protection range of the utility model.
Claims (4)
1. a level translator is characterized in that, comprising:
Be used to realize the level switch module of the mutual conversion between Transistor-Transistor Logic level and 232 level;
Be used for first interface module and second interface module that said level translator is connected with the object module coupling at two ends; And
The light-coupled isolation module that is used for error protection;
Said first interface module, said level switch module, said light-coupled isolation module and said second interface module are connected in turn between the said object module at said two ends.
2. level translator as claimed in claim 1 is characterized in that, said first interface module is 232 interfaces, and said second interface module is the TTL interface.
3. level translator as claimed in claim 1 is characterized in that, said level switch module comprises level transferring chip (U2) and peripheral circuit thereof.
4. level translator as claimed in claim 1 is characterized in that, said light-coupled isolation module comprises:
Photoelectrical coupler (U1), triode (Q1), second resistance (R2), the 3rd resistance (R3), the 4th resistance (R4) and the 5th resistance (R5);
The emitter of triode is connected to the base stage of triode (Q1) in the photoelectrical coupler (U1) through the 3rd resistance (R3); The collector electrode of triode is connected to+the 5V power supply in the photoelectrical coupler (U1); The anode of diode is connected to the VCC power supply in the photoelectrical coupler (U1), and the negative electrode of diode connects an end of the 5th resistance (R5);
The grounded emitter of triode (Q1), the collector electrode of triode (Q1) is connected to+the 5V power supply through second resistance (R2);
The 4th resistance R 4 is connected between the base stage and ground of said triode (Q1);
When the level of the other end of said the 5th resistance (R5) is high level, not conducting of said photoelectrical coupler (U1), the level of the collector electrode of said triode (Q1) is a high level; When the level of the other end of said the 5th resistance (R5) is low level, said photoelectrical coupler (U1) conducting, the level of the collector electrode of said triode (Q1) is a low level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220091570 CN202503496U (en) | 2012-03-13 | 2012-03-13 | Level converter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201220091570 CN202503496U (en) | 2012-03-13 | 2012-03-13 | Level converter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN202503496U true CN202503496U (en) | 2012-10-24 |
Family
ID=47040093
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201220091570 Expired - Fee Related CN202503496U (en) | 2012-03-13 | 2012-03-13 | Level converter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN202503496U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103701453A (en) * | 2013-12-17 | 2014-04-02 | 迈普通信技术股份有限公司 | Level switching circuit used for serial communication between single-chip microcomputer and upper computer |
CN112208382A (en) * | 2020-09-21 | 2021-01-12 | 上海思寒环保科技有限公司 | Intelligent charging device of cleaning vehicle |
-
2012
- 2012-03-13 CN CN 201220091570 patent/CN202503496U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103701453A (en) * | 2013-12-17 | 2014-04-02 | 迈普通信技术股份有限公司 | Level switching circuit used for serial communication between single-chip microcomputer and upper computer |
CN112208382A (en) * | 2020-09-21 | 2021-01-12 | 上海思寒环保科技有限公司 | Intelligent charging device of cleaning vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN200986685Y (en) | Level switching circuit | |
CN203444468U (en) | Communication convertor | |
CN102385340A (en) | Programmable logic controller (PLC) controlling system and signal collection circuit thereof | |
CN102857208B (en) | High-speed bidirectional communication isolating circuit based on dual optocouplers | |
CN202503496U (en) | Level converter | |
CN203827374U (en) | Network switch for long-distance transmission | |
CN204965416U (en) | RS485 bus serial ports device | |
CN111930661A (en) | Long-distance active lightning 3-interface extender | |
CN203133832U (en) | Anti-jamming communication interface circuit | |
CN203434990U (en) | Optical signal transceiver based on chip FTRJ-8519 | |
CN201751900U (en) | Novel type isolator for USB equipment | |
CN206178789U (en) | USB keeps apart changes optic fibre circuit | |
CN204442342U (en) | A kind of circuit differential signal being converted to single-ended signal | |
CN205192546U (en) | Flow monitor | |
CN205070976U (en) | Quick digital level shifting circuit | |
CN104519623A (en) | Transmission system based on DALI (digital addressable lighting interface) protocol control commands | |
CN205912030U (en) | A isolated transmission circuit for encoder | |
CN208046583U (en) | A kind of concatenated trigger signal control circuit of multichannel IGBT switches | |
CN216356675U (en) | Interconnection device between unequal potential chips | |
CN210142998U (en) | Serial port-to-optical fiber circuit for remote transmission | |
CN204347106U (en) | A kind of voltage sample buffer circuit | |
CN105703186B (en) | A kind of intelligent garbage bin data cable | |
CN201556200U (en) | Parallel port data acquisition unit | |
CN218825218U (en) | Input/output module for SPI communication | |
CN201557104U (en) | RS232 communication isolation circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20121024 Termination date: 20160313 |
|
CF01 | Termination of patent right due to non-payment of annual fee |