CN218243499U - Conversion circuit and conversion system of serial port communication level - Google Patents
Conversion circuit and conversion system of serial port communication level Download PDFInfo
- Publication number
- CN218243499U CN218243499U CN202221513309.7U CN202221513309U CN218243499U CN 218243499 U CN218243499 U CN 218243499U CN 202221513309 U CN202221513309 U CN 202221513309U CN 218243499 U CN218243499 U CN 218243499U
- Authority
- CN
- China
- Prior art keywords
- resistor
- power supply
- serial port
- communication level
- conversion circuit
- 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.)
- Active
Links
Images
Landscapes
- Logic Circuits (AREA)
Abstract
The utility model discloses a converting circuit and converting system of serial communication level, the converting circuit of serial communication level includes: the circuit comprises an NMOS tube, a switch diode, a first resistor, a second resistor and a third resistor; the drain electrode of the NMOS tube is respectively connected with one end of the first resistor and the negative electrode end of the switch diode, the grid end of the NMOS tube is connected with one end of the second resistor, the source end of the NMOS tube is respectively connected with the positive electrode end of the switch diode and one end of the third resistor, the other end of the first resistor is connected with the first power supply, and the other end of the second resistor and the other end of the third resistor are connected with the second power supply. The utility model discloses can be through setting up single NMOS pipe, can eliminate because of improving the consumption that NMOS pipe switching speed increased, reduce the circuit consumption, the energy saving also can realize the two-way communication function simultaneously.
Description
Technical Field
The utility model relates to a level shift circuit's technical field especially relates to a converting circuit and switching system of serial ports communication level.
Background
Universal Synchronous/Asynchronous serial Receiver/Transmitter (USART for short) is a full-duplex Universal Synchronous/Asynchronous serial transceiver module, whose interface is a highly flexible serial communication device capable of supporting Synchronous and Asynchronous control operations.
With the development of electronic technology, the demand of USART communication for voltage level conversion is increasing to meet the current complex high-performance use environment. At present, a voltage level conversion circuit commonly used in USART uses an NMOS circuit, and serial port levels are converted through the NMOS circuit so as to meet the USART communication requirement.
However, the conventional NMOS circuit has the following technical problems: when the NMOS conversion circuit performs level conversion, the conversion rate is low, and the conversion rate needs to be increased, but when the conversion rate is increased, a lower pull-up resistor is needed, and the pull-up resistor is less, which increases the consumption of the system.
SUMMERY OF THE UTILITY MODEL
The utility model provides a converting circuit and switching system of serial communication level, the converting circuit of serial communication level can.
The utility model discloses a first aspect of the embodiment provides a converting circuit of serial communication level, the converting circuit of serial communication level includes: the circuit comprises an NMOS tube, a switch diode, a first resistor, a second resistor and a third resistor;
the drain electrode of the NMOS tube is respectively connected with one end of the first resistor and the negative electrode end of the switch diode, the grid end of the NMOS tube is connected with one end of the second resistor, the source end of the NMOS tube is respectively connected with the positive electrode end of the switch diode and one end of the third resistor, the other end of the first resistor is connected with the first power supply, and the other end of the second resistor and the other end of the third resistor are connected with the second power supply.
In one possible implementation form of the first aspect, the first power supply and the second power supply have different power supply values.
In one possible implementation manner of the first aspect, a power supply value of the first power supply is 4-6 volts.
In one possible implementation manner of the first aspect, the power supply value of the first power supply is 5 volts.
In a possible implementation manner of the first aspect, the power supply value of the second power supply is 2-4 volts.
In one possible implementation manner of the first aspect, the power supply value of the second power supply is 3.3 volts.
A second aspect of the embodiments of the present invention provides a conversion system, the conversion system includes: the serial port communication level conversion circuit comprises a serial port communication level conversion circuit and two USART devices;
the input end of the serial port communication level conversion circuit is connected with the first USART device, the power supply end of the first USART device is connected with the second power supply, the output end of the serial port communication level conversion circuit is connected with the second USART device, and the power supply end of the second USART device is connected with the first power supply.
Compared with the prior art, the embodiment of the utility model provides a pair of converting circuit and conversion system of serial communication level, its beneficial effect lies in: the utility model discloses can be through setting up single NMOS pipe, can eliminate because of improving the consumption that NMOS pipe switching speed increased, reduce the circuit consumption, the energy saving also can realize the two-way communication function simultaneously.
Drawings
Fig. 1 is a schematic circuit diagram of an NMOS circuit according to an embodiment of the present invention;
fig. 2 is a schematic circuit diagram of a serial communication level conversion circuit according to an embodiment of the present invention;
fig. 3 is a schematic circuit diagram of a conversion system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts belong to the protection scope of the present invention.
Referring to fig. 1, a schematic circuit diagram of an NMOS circuit according to an embodiment of the present invention is shown.
Referring to fig. 1, the conventional NMOS circuit has the following technical problems: when the NMOS conversion circuit performs level conversion, the conversion rate is low, and the conversion rate needs to be increased, but when the conversion rate is increased, a lower pull-up resistor is needed, and the pull-up resistor is less, which increases the consumption of the system.
In order to solve the above problem, the following detailed embodiments will describe and explain a serial communication level conversion circuit provided in the embodiments of the present application.
Referring to fig. 2, a schematic circuit diagram of a serial port communication level conversion circuit according to an embodiment of the present invention is shown.
As an example, the serial port communication level conversion circuit may include:
the NMOS transistor Q1, the switch diode D1, the first resistor R1, the second resistor R2 and the third resistor R3;
the drain electrode of the NMOS tube Q1 is respectively connected with one end of the first resistor R1 and the negative pole end of the switch diode D1, the grid end of the NMOS tube Q1 is connected with one end of the second resistor R2, the source end of the NMOS tube Q1 is respectively connected with the positive pole end of the switch diode D1 and one end of the third resistor R3, the other end of the first resistor R1 is connected with a first power supply, and the other end of the second resistor R2 and the other end of the third resistor R3 are connected with a second power supply.
Optionally, the first power supply and the second power supply have different power supply values.
In one embodiment, the first power source has a power value of 4-6 volts.
Preferably, the power supply value of the first power supply is 5 volts.
In one embodiment, the second power source has a power supply value of 2-4 volts.
Preferably, the power supply value of the second power supply is 3.3 volts.
In this embodiment, the embodiment of the utility model provides a conversion circuit of serial ports communication level, its beneficial effect lies in: the utility model discloses can be through setting up single NMOS pipe, can eliminate because of improving the consumption that NMOS pipe switching speed increased, reduce the circuit consumption, the energy saving also can realize the two-way communication function simultaneously.
The embodiment of the present invention further provides a conversion system, see fig. 3, which shows a schematic circuit diagram of a conversion system provided by an embodiment of the present invention.
Wherein, as an example, the conversion system may include:
the serial port communication level conversion circuit and the two USART devices are arranged in the serial port communication level conversion circuit;
the input end of the serial port communication level conversion circuit is connected with a first USART device, the power supply end of the first USART device is connected with the second power supply VCCB, the output end of the serial port communication level conversion circuit is connected with a second USART device, and the power supply end of the second USART device is connected with the first power supply VCCA.
Specifically, the source terminal of the NMOS transistor, the positive terminal of the switching diode, and the connection terminal of one end of the third resistor may be used as the input terminal of the serial port communication level conversion circuit; the drain electrode of the NMOS tube, one end of the first resistor and the connecting end of the negative electrode end of the switch diode can be used as the output end of the serial port communication level conversion circuit.
Wherein the first power supply VCCA may supply power to the second USART device and the second power supply VCCB may supply power to the first USART device.
Referring to FIG. 3, in use, when the second USART is usedOutput voltage V of the device TX When the push-pull output is 5V high level, the input voltage V of the first USART device RX For pulling up 3.3V, the voltage level of the NMOS tube Q1 is the same as that of the second power supply VCCB GS =0V, and the NMOS tube Q1 is not conducted.
When the output voltage V of the second USART device TX When the push-pull output is 0V low level, the input voltage V of the second power supply VCCB and the first USART device RX The current (2) is firstly passed through a switch diode D1, so that the input end voltage RX of the first USART device is clamped to 0.7V, and when the voltage obtained by subtracting the input end voltage RX of the first USART device from the second power supply VCCB is greater than or equal to V of an NMOS tube Q1 GS At the threshold value, the NMOS transistor Q1 is turned on. Wherein, the input end voltage RX of the first USART device is less than 0.7V low level.
If the input end voltage RX of the first USART device is the same as the level of the second power supply VCCB, V of the NMOS transistor Q1 GS And =0V, the NMOS transistor Q1 is not turned on.
In this embodiment, the embodiment of the utility model provides a conversion system is provided, its beneficial effect lies in: the utility model discloses can eliminate because of improving the consumption that NMOS pipe switching speed increased, reduce the circuit consumption, the energy saving also can realize the two-way communication function simultaneously.
The foregoing is a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, a plurality of improvements and decorations can be made without departing from the principle of the present invention, and these improvements and decorations are also considered as the protection scope of the present invention.
Claims (7)
1. A serial port communication level conversion circuit is characterized by comprising: the device comprises an NMOS tube, a switch diode, a first resistor, a second resistor and a third resistor;
the drain electrode of the NMOS tube is respectively connected with one end of the first resistor and the negative electrode end of the switch diode, the grid end of the NMOS tube is connected with one end of the second resistor, the source end of the NMOS tube is respectively connected with the positive electrode end of the switch diode and one end of the third resistor, the other end of the first resistor is connected with the first power supply, and the other end of the second resistor and the other end of the third resistor are connected with the second power supply.
2. The serial port communication level conversion circuit according to claim 1, wherein the first power supply and the second power supply have different power supply values.
3. The serial port communication level conversion circuit according to claim 2, wherein the power value of the first power source is 4-6 volts.
4. The serial port communication level conversion circuit according to claim 3, wherein the power value of the first power source is 5 volts.
5. The serial port communication level conversion circuit according to claim 2, wherein the power supply value of the second power supply is 2-4 volts.
6. The serial port communication level conversion circuit according to claim 5, wherein the power value of the second power supply is 3.3 volts.
7. A conversion system, characterized in that the conversion system comprises: a conversion circuit for serial port communication levels as claimed in any one of claims 1 to 5, and two USART devices;
the input end of the serial port communication level conversion circuit is connected with the first USART device, the power supply end of the first USART device is connected with the second power supply, the output end of the serial port communication level conversion circuit is connected with the second USART device, and the power supply end of the second USART device is connected with the first power supply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202221513309.7U CN218243499U (en) | 2022-06-17 | 2022-06-17 | Conversion circuit and conversion system of serial port communication level |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202221513309.7U CN218243499U (en) | 2022-06-17 | 2022-06-17 | Conversion circuit and conversion system of serial port communication level |
Publications (1)
Publication Number | Publication Date |
---|---|
CN218243499U true CN218243499U (en) | 2023-01-06 |
Family
ID=84671941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202221513309.7U Active CN218243499U (en) | 2022-06-17 | 2022-06-17 | Conversion circuit and conversion system of serial port communication level |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN218243499U (en) |
-
2022
- 2022-06-17 CN CN202221513309.7U patent/CN218243499U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104596049B (en) | Current loop communication circuit and air-conditioner | |
CN218243499U (en) | Conversion circuit and conversion system of serial port communication level | |
CN109412575B (en) | High-speed digital photoelectric coupler with selectable transmission directions | |
CN210041792U (en) | Positive-voltage-to-negative-voltage logic circuit based on GaAs HEMT technology | |
CN211744437U (en) | Circuit for realizing RS485 and RS232 signal multiplexing | |
CN107733413B (en) | Intelligent switch circuit and intelligent terminal of pre-installation battery system | |
CN107659476B (en) | Communication device | |
CN101083463A (en) | Apparatus and method for bidirectional level conversion | |
WO2020047722A1 (en) | Data interface, chip and chip system | |
CN206835082U (en) | Serial ports isolates communication interface circuit and electronic equipment | |
CN203661030U (en) | Electrical level switching circuit and circuit board having same | |
CN209570933U (en) | Driving circuit | |
CN211606512U (en) | Isolation interface circuit based on high-speed optocoupler | |
CN213027995U (en) | Level conversion circuit | |
CN209488551U (en) | A kind of signal input circuit of NPN signal and PNP signal compatibility | |
CN209046639U (en) | A kind of data transmit-receive circuit and communication instrument | |
CN108322239B (en) | Close-range unidirectional power supply reverse communication circuit structure | |
CN207559972U (en) | A kind of level shifting circuit based on metal-oxide-semiconductor | |
CN218482773U (en) | Compatible circuit of power supply based on RS485 interface | |
CN220964858U (en) | Circuit structure and circuit device for high-speed communication by low-speed optocoupler | |
CN211981736U (en) | PMOS-based low-power-consumption redundant current-sharing circuit | |
CN214409977U (en) | USB automatic switching circuit | |
CN213482870U (en) | USB interface converter | |
CN211606793U (en) | Interface circuit and electronic equipment | |
CN211979537U (en) | NMOS-based low-power-consumption redundant current-sharing circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |