Bidirectional level conversion circuits, electronic devices and electronic systems

By setting up independent signal conversion channels between devices operating at different voltages and using a combination of switching elements and pull-up resistors, the problem of level conversion between devices with different voltages is solved, realizing a low-cost and simple level conversion scheme for automatic identification of communication direction, which simplifies system design and reduces circuit board area.

CN224987425UActive Publication Date: 2026-11-17江西吉安奥海科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522643796.9
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-12-12
Publication Date
2026-11-17
Estimated Expiration
2035-12-12

AI Technical Summary

Technical Problem

In the existing technology, when devices with different operating voltages are directly connected, there is a risk that the high-voltage device will damage the interface of the low-voltage device or the output of the low-voltage device cannot be reliably recognized by the high-voltage device. In addition, the existing level conversion schemes are costly or complex in structure and require additional directional control signals, which is inconvenient to use.

Method used

Two independent signal conversion channels are used to handle level conversion in different directions. A combination of switching elements and pull-up resistors is used to automatically identify the communication direction and complete the level conversion without the need for external direction control signals, thus simplifying system design.

Benefits of technology

It achieves low-cost, simple bidirectional level conversion, automatically identifies the communication direction, simplifies system design, and reduces circuit board area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224987425U_ABST
    Figure CN224987425U_ABST
Patent Text Reader

Abstract

This utility model discloses a bidirectional level conversion circuit, electronic device, and electronic system, including a first signal conversion channel and a second signal conversion channel. The first signal conversion channel includes a first switching element and a first pull-up resistor connected in series; the second signal conversion channel includes a second switching element and a second pull-up resistor connected in series. By setting two independent signal conversion channels, level conversion in different directions is handled separately. When the first device sends a signal to the second device, the first conversion channel operates; when the second device sends a signal to the first device, the second conversion channel operates. This separate design allows the bidirectional level conversion circuit to automatically identify the communication direction and complete the corresponding conversion without the need for an external direction control signal, simplifying system design. Simultaneously, by using a simple combination of switching elements and pull-up resistors, a low-cost level conversion scheme is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of electronic circuit technology, and in particular to a bidirectional level conversion circuit, electronic equipment, and electronic system. Background Technology

[0002] In electronic system integration, when devices with different operating voltages, such as a 3.3V microcontroller and a 5V sensor, need to communicate bidirectionally, direct connection may result in the high-voltage device damaging the interface of the low-voltage device, or the low-voltage device's output not being reliably recognized by the high-voltage device.

[0003] Current level conversion solutions, such as dedicated conversion chips, increase cost and area, while bidirectional conversion circuits built with discrete components are often complex in structure or require additional direction control signals, making them inconvenient to use. Therefore, there is a need for a simple, low-cost bidirectional level conversion solution that does not require direction control. Utility Model Content

[0004] This utility model provides a bidirectional level conversion circuit, electronic device, and electronic system to solve the problem of how to provide a bidirectional level conversion scheme that is simple in structure, low in cost, and requires no direction control.

[0005] A bidirectional level conversion circuit is used for level conversion during bidirectional signal communication between a first device and a second device, and includes a first signal conversion channel and a second signal conversion channel; The first signal conversion channel is connected between the transmitting end of the first device and the power supply end of the second device, and the output of the first signal conversion channel is connected to the receiving end of the second device. The first signal conversion channel includes a first switching element and a first pull-up resistor connected in series. The first end of the first pull-up resistor is connected to the power supply end of the second device, and the second end of the first pull-up resistor and the first end of the first switching element are connected to a first node. The first node is connected to the receiving end of the second device, and the second end of the first switching element is connected to the transmitting end of the first device. The second signal conversion channel is connected between the transmitting end of the second device and the power supply end of the first device, and the output of the second signal conversion channel is connected to the receiving end of the first device. The second signal conversion channel includes a second switching element and a second pull-up resistor connected in series. The first end of the second pull-up resistor is connected to the power supply end of the first device, and the second end of the second pull-up resistor and the first end of the second switching element are connected to a second node. The second node is connected to the receiving end of the first device, and the second end of the second switching element is connected to the transmitting end of the second device. The power supply voltage of the first device is lower than that of the second device.

[0006] Furthermore, the first switching element and the second switching element are transistors or field-effect transistors.

[0007] Furthermore, both the first switching element and the second switching element are NPN transistors; The emitter of the first switching element is connected to the transmitting end of the first device, and the collector of the first switching element is connected to the receiving end of the second device and the second end of the first pull-up resistor; The emitter of the second switching element is connected to the transmitting end of the second device, and the collector of the second switching element is connected to the receiving end of the first device and the second end of the second pull-up resistor.

[0008] Furthermore, the first signal conversion channel also includes a first base bias resistor, which is connected between the base of the first switching element and the power supply terminal of the first device. The second signal conversion channel further includes a second base bias resistor, which is connected between the base of the second switching element and the power supply terminal of the second device.

[0009] Furthermore, the first device is supplied with a power supply voltage of 3.3V, and the second device is supplied with a power supply voltage of 5V.

[0010] Furthermore, the first signal conversion channel and the second signal conversion channel are integrated into the same integrated circuit package.

[0011] Furthermore, the first device is a microcontroller, and the second device is one of a sensor, a memory, or a communication module.

[0012] An electronic device includes the bidirectional level conversion circuit described above.

[0013] An electronic system includes: a first device operating at a first voltage, a second device operating at a second voltage higher than the first voltage, and the aforementioned bidirectional level conversion circuit; The bidirectional level conversion circuit is connected between the first device and the second device.

[0014] This invention provides a bidirectional level conversion circuit, electronic device, and electronic system. By setting up two independent signal conversion channels, level conversion in different directions is handled separately. When the first device sends a signal to the second device, the first conversion channel operates; when the second device sends a signal to the first device, the second conversion channel operates. This separate design allows the bidirectional level conversion circuit to automatically identify the communication direction and complete the corresponding conversion without the need for external direction control signals, simplifying system design. Furthermore, by using a simple combination of switching elements and pull-up resistors, a low-cost level conversion solution is achieved. Attached Figure Description

[0015] To more clearly illustrate the technical solutions of the embodiments of this utility model, the drawings used in the description of the embodiments of this utility model will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0016] Figure 1 This is a schematic diagram of an electronic system in one embodiment of the present invention.

[0017] In the diagram: 1. First signal conversion channel; 2. Second signal conversion channel. Detailed Implementation

[0018] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present utility model.

[0019] It should be understood that this invention can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein. Rather, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of this invention to those skilled in the art.

[0020] To fully understand this utility model, detailed structures and steps will be presented in the following description to illustrate the technical solution proposed by this utility model. Preferred embodiments of this utility model are described in detail below; however, in addition to these detailed descriptions, this utility model may have other embodiments.

[0021] like Figure 1As shown, this embodiment provides a bidirectional level conversion circuit for level conversion during bidirectional signal communication between a first device U1 and a second device U2. It includes a first signal conversion channel 1 and a second signal conversion channel 2. The first signal conversion channel 1 is connected between the transmitting end of the first device U1 and the power supply end of the second device U2, and its output is connected to the receiving end of the second device U2. The first signal conversion channel 1 includes a first switching element Q2 and a first pull-up resistor R2 connected in series. The first end of the first pull-up resistor R2 is connected to the power supply end of the second device U2, and the second end of the first pull-up resistor R2 and the first end of the first switching element Q2 are connected to a first node. The first node is connected to the receiving end of the second device U2. The second terminal of the switching element Q2 is connected to the transmitting terminal of the first device U1; the second signal conversion channel 2 is connected between the transmitting terminal of the second device U2 and the power supply terminal of the first device U1, and the output of the second signal conversion channel 2 is connected to the receiving terminal of the first device U1; the second signal conversion channel 2 includes a second switching element Q1 and a second pull-up resistor R3 connected in series, the first terminal of the second pull-up resistor R3 is connected to the power supply terminal of the first device U1, the second terminal of the second pull-up resistor R3 and the first terminal of the second switching element Q1 are connected to a second node, the second node is connected to the receiving terminal of the first device U1, and the second terminal of the second switching element Q1 is connected to the transmitting terminal of the second device U2; wherein, the power supply voltage of the first device U1 is less than the power supply voltage of the second device U2.

[0022] In this specific application, the first device U1 is a microcontroller U1 operating at 3.3V, and the second device U2 is a peripheral module U2 operating at 5V. The first switching element Q2 is an NPN transistor. Figure 1 The middle label is Q2; the second switching element Q1 is an NPN transistor, which is attached. Figure 1 The first pull-up resistor R2 has a resistance of 10kΩ and is connected between the 5V power supply and the receiving terminal RX2 of the second device U2. The second pull-up resistor R3 has a resistance of 10kΩ and is connected between the 3.3V power supply and the receiving terminal RX1 of the first device U1.

[0023] The working principle of this embodiment is as follows: Figure 1As shown, when the first device U1 sends a signal to the second device U2, the first signal conversion channel 1 operates. When the transmitting end TX1 of the first device U1 outputs a high level of 3.3V, the emitter potential of transistor Q2 is 3.3V. If the base potential of transistor Q2 is also 3.3V at this time, the potential difference between the base and emitter of transistor Q2 is zero, and transistor Q2 is in the off state. The receiving end RX2 of the second device U2 is pulled up to 5V through the first pull-up resistor R2, thus realizing the conversion of the high level from 3.3V to 5V. When the transmitting end TX1 of the first device U1 outputs a low level of 0V, the emitter potential of transistor Q2 is 0V. If the base of transistor Q2 obtains a positive voltage through appropriate biasing, transistor Q2 will saturate and be pulled down to a potential close to 0V, realizing the transmission of a low level. Similarly, when the second device U2 sends a signal to the first device U1, the second signal conversion channel 2 operates. When the transmitting end TX2 of the second device U2 outputs a 5V high level, the emitter potential of transistor Q1 is 5V. If the base potential of transistor Q1 is also 5V, then transistor Q1 is cut off, and the receiving end RX1 of the first device U1 is pulled up to 3.3V through the second pull-up resistor R3. When the transmitting end TX2 of the second device U2 outputs a 0V low level, transistor Q1 is turned on, and the receiving end RX1 of the first device U1 is pulled down to near 0V. This design achieves bidirectional automatic level conversion without the need for a direction control signal. The circuit structure is simple, and reliable level conversion can be achieved using only a few common discrete components.

[0024] This embodiment uses two independent signal conversion channels to handle level conversion in different directions. When the first device U1 sends a signal to the second device U2, the first conversion channel operates; when the second device U2 sends a signal to the first device U1, the second conversion channel operates. This separate design allows the bidirectional level conversion circuit to automatically identify the communication direction and complete the corresponding conversion without requiring an external direction control signal, simplifying system design. Furthermore, a low-cost level conversion solution is achieved through a simple combination of switching elements and pull-up resistors.

[0025] In one embodiment, the first switching element Q2 and the second switching element Q1 are transistors or field-effect transistors.

[0026] In this embodiment, the first switching element Q2 and the second switching element Q1 can be selected from different types of semiconductor switching devices. In one implementation, both use N-channel enhancement-mode MOSFETs. The source of the MOSFET is connected as the second terminal to the corresponding transmitting terminal, the drain is connected as the first terminal to the second terminal of the corresponding pull-up resistor and the receiving terminal, and the gate is connected to the corresponding bias voltage through an appropriate resistor. In another implementation, a PNP transistor can be used with corresponding circuit adjustments to achieve the same function.

[0027] In one embodiment, both the first switching element Q2 and the second switching element Q1 are NPN transistors; the emitter of the first switching element Q2 is connected to the transmitting end of the first device U1, and the collector of the first switching element Q2 is connected to the receiving end of the second device U2 and the second end of the first pull-up resistor R2; the emitter of the second switching element Q1 is connected to the transmitting end of the second device U2, and the collector of the second switching element Q1 is connected to the receiving end of the first device U1 and the second end of the second pull-up resistor R3.

[0028] In this embodiment, the first switching element Q2 is an NPN transistor, with its emitter directly connected to the transmitting pin TX1 of the first device U1, and its collector connected to the receiving pin RX2 of the second device U2 and pulled up to 5V through the first pull-up resistor R2. The second switching element Q1 also uses an NPN transistor, with its emitter connected to the transmitting pin TX2 of the second device U2, and its collector connected to the receiving pin RX1 of the first device U1 and pulled up to 3.3V through the second pull-up resistor R3. This connection method ensures the normal operating bias of the transistor.

[0029] In one embodiment, the first signal conversion channel 1 further includes a first base bias resistor R1, which is connected between the base of the first switching element Q2 and the power supply terminal of the first device U1; the second signal conversion channel 2 further includes a second base bias resistor R4, which is connected between the base of the second switching element Q1 and the power supply terminal of the second device U2.

[0030] In this embodiment, the first base bias resistor R1 is 10kΩ and is connected between the base of the first switching element Q2 and the 3.3V power supply. The second base bias resistor R4 is 10kΩ and is connected between the base of the second switching element Q1 and the 5V power supply. The first base bias resistor R1 and the second base bias resistor R4 ensure that when the corresponding transmitting end outputs a high level, the base of the first switching element Q2 or the second switching element Q1 is reliably pulled up to the corresponding power supply voltage, so that the first switching element Q2 or the second switching element Q1 is completely turned off; when the transmitting end outputs a low level, sufficient base drive current is provided to the first switching element Q2 or the second switching element Q1 to saturate and conduct.

[0031] In one embodiment, the first device U1 is supplied with a power supply voltage of 3.3V, and the second device U2 is supplied with a power supply voltage of 5V.

[0032] In this embodiment, the first device U1 is an STM32 series microcontroller with an operating voltage of 3.3V. The second device U2 is an HC-SR04 ultrasonic sensor module with an operating voltage of 5V. This bidirectional level conversion circuit is connected between the two to achieve bidirectional conversion between 3.3V and 5V levels. The first pull-up resistor R2 and the second base bias resistor R4 are connected to the 5V power supply, and the first base bias resistor R1 and the second pull-up resistor R3 are connected to the 3.3V power supply.

[0033] In one embodiment, the first signal conversion channel 1 and the second signal conversion channel 2 are integrated in the same integrated circuit package.

[0034] In this embodiment, the entire level conversion circuit is integrated into an SOT23-6 or SOIC-8 package, forming a complete bidirectional level converter chip. This bidirectional level converter chip includes a first switching element Q2 and a first pull-up resistor R2, a second switching element Q1 and a second pull-up resistor R3, a first base bias resistor R1 and a second base bias resistor R4, providing standard level conversion functionality. It can directly replace discrete component solutions, reducing board area.

[0035] In one embodiment, the first device U1 is a microcontroller, and the second device U2 is one of a sensor, a memory, or a communication module.

[0036] This embodiment provides an electronic device, including the bidirectional level conversion circuit described above.

[0037] This embodiment provides an electronic system, including: a first device U1 operating at a first voltage, a second device U2 operating at a second voltage higher than the first voltage; and the aforementioned bidirectional level conversion circuit; the bidirectional level conversion circuit is connected between the first device U1 and the second device U2.

[0038] The above embodiments are only used to illustrate the technical solutions of this utility model, and are not intended to limit it. Although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this utility model, and should all be included within the protection scope of this utility model.

Claims

1. A bidirectional level conversion circuit for level conversion during bidirectional signal communication between a first device and a second device, characterized in that, Includes a first signal conversion channel and a second signal conversion channel; The first signal conversion channel is connected between the transmitting end of the first device and the power supply end of the second device, and the output of the first signal conversion channel is connected to the receiving end of the second device. The first signal conversion channel includes a first switching element and a first pull-up resistor connected in series. The first end of the first pull-up resistor is connected to the power supply end of the second device, and the second end of the first pull-up resistor and the first end of the first switching element are connected to a first node. The first node is connected to the receiving end of the second device, and the second end of the first switching element is connected to the transmitting end of the first device. The second signal conversion channel is connected between the transmitting end of the second device and the power supply end of the first device, and the output of the second signal conversion channel is connected to the receiving end of the first device. The second signal conversion channel includes a second switching element and a second pull-up resistor connected in series. The first end of the second pull-up resistor is connected to the power supply end of the first device, and the second end of the second pull-up resistor and the first end of the second switching element are connected to a second node. The second node is connected to the receiving end of the first device, and the second end of the second switching element is connected to the transmitting end of the second device. The power supply voltage of the first device is lower than that of the second device.

2. The bidirectional level conversion circuit according to claim 1, characterized in that, The first switching element and the second switching element are transistors or field-effect transistors.

3. The bidirectional level conversion circuit according to claim 2, characterized in that, Both the first switching element and the second switching element are NPN transistors; The emitter of the first switching element is connected to the transmitting end of the first device, and the collector of the first switching element is connected to the receiving end of the second device and the second end of the first pull-up resistor; The emitter of the second switching element is connected to the transmitting end of the second device, and the collector of the second switching element is connected to the receiving end of the first device and the second end of the second pull-up resistor.

4. The bidirectional level conversion circuit according to claim 3, characterized in that, The first signal conversion channel further includes a first base bias resistor, which is connected between the base of the first switching element and the power supply terminal of the first device. The second signal conversion channel further includes a second base bias resistor, which is connected between the base of the second switching element and the power supply terminal of the second device.

5. The bidirectional level conversion circuit according to claim 1, characterized in that, The first device is powered by 3.3V, and the second device is powered by 5V.

6. The bidirectional level conversion circuit according to claim 1, characterized in that, The first signal conversion channel and the second signal conversion channel are integrated into the same integrated circuit package.

7. The bidirectional level conversion circuit according to claim 1, characterized in that, The first device is a microcontroller, and the second device is one of a sensor, a memory, or a communication module.

8. An electronic device, characterized in that, Includes a bidirectional level conversion circuit as described in any one of claims 1 to 7.

9. An electronic system, characterized in that, include: A first device operating at a first voltage, and a second device operating at a second voltage higher than the first voltage; And a bidirectional level conversion circuit as described in any one of claims 1 to 7; The bidirectional level conversion circuit is connected between the first device and the second device.