Connection structure of MCU and serial port module

By introducing a voltage conversion unit and an absorption unit into the serial port module connection between the MCU and the SOC chip, combined with the transistor switching unit, the problem of level mismatch is solved and high-reliability signal transmission and anti-interference capabilities are achieved.

CN221669861UActive Publication Date: 2024-09-06深圳市烽潮科技有限责任公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323361857.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2024-09-06
Estimated Expiration
2033-12-08

AI Technical Summary

Technical Problem

Due to the level mismatch between the MCU chip and the SOC chip during serial communication, signal transmission is unstable and error detection occurs. The existing connection structure is not reliable.

Method used

A connection structure is designed that includes a voltage conversion unit, an absorption unit, a first transistor switching unit and a second transistor switching unit. The voltage conversion unit converts 5V into 3.3V, and the absorption unit absorbs spike pulses to ensure signal transmission. stability.

Benefits of technology

It improves the connection reliability between MCU and serial port module, ensures the stability and anti-interference ability of signal transmission, and avoids false detection caused by voltage mismatch.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221669861U
    Figure CN221669861U
Patent Text Reader

Abstract

The utility model discloses a connecting structure of an MCU and a serial port module, which comprises a voltage conversion unit, an absorption unit, a first transistor switch unit and a second transistor switch unit, and the voltage conversion unit is electrically connected with the first transistor switch unit and the second transistor switch unit and is used for converting a first voltage into a second voltage to supply power. The absorption unit is electrically connected with the voltage conversion unit and is used for absorbing the spike pulse of the voltage conversion unit; the signal input end of the first transistor switch unit is used for being electrically connected with the signal output end of the MCU, and the signal output end of the first transistor switch unit is used for being electrically connected with the signal input end of the serial port module. The signal input end of the second transistor switch unit is used for being electrically connected with the signal output end of the serial port module, and the signal output end of the second transistor switch unit is used for being electrically connected with the signal input end of the MCU. The system provided by the utility model has the advantages of high reliability and strong anti-interference capability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of signal transmission, in particular to a connection structure between an MCU and a serial port module. Background Art

[0002] Microcontroller unit MCU and system-on-chip SOC are common chips in electronic devices. When MCU chip needs to communicate with SOC chip through serial port, since the port logic 1 level of MCU chip is 5V and the port logic 1 level of SOC chip is 3.3V, due to the mismatch of the two levels, if the serial port is directly connected, the high level voltage 5V output by MCU chip will cause overcurrent damage to the interface of SOC chip, and when the high level output by SOC chip is input into MCU chip, it is lower than the high level input voltage standard designed by chip, which will cause high level error of MCU chip input detection, so it is necessary to solve the conversion problem of two levels. At present, the commonly used method is to set a connection structure for level conversion between the serial port module of MCU chip and SOC chip. However, the reliability of the existing connection structure between MCU and serial port module is not high. Utility Model Content

[0003] The technical problem solved by the utility model is to provide a connection structure between an MCU and a serial port module with high reliability.

[0004] The utility model provides a connection structure between an MCU and a serial port module, comprising a voltage conversion unit, an absorption unit, a first transistor switch unit and a second transistor switch unit, wherein the voltage conversion unit is electrically connected to the first transistor switch unit and the second transistor switch unit, and is used to convert a first voltage into a second voltage to power the first transistor switch unit and the second transistor switch unit; the absorption unit is electrically connected to the voltage conversion unit, and is used to absorb the peak pulse of the voltage conversion unit; the signal input end of the first transistor switch unit is used to be electrically connected to the signal output end of the MCU, and the signal output end of the first transistor switch unit is used to be electrically connected to the signal input end of the serial port module; the signal input end of the second transistor switch unit is used to be electrically connected to the signal output end of the serial port module, and the signal output end of the second transistor switch unit is used to be electrically connected to the signal input end of the MCU.

[0005] Preferably, the voltage conversion unit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first capacitor, a diode, an inductor and a buck chip, wherein a first end of the first resistor is electrically connected to a first pin of the buck chip and a first end of the second resistor, and a second end of the first resistor is grounded; a first end of the third resistor is electrically connected to a second end of the second resistor, and a second end of the third resistor is electrically connected to the first transistor switch unit and the second transistor switch unit;

[0006] The first end of the fourth resistor is electrically connected to the first end of the first resistor, and the second end of the fourth resistor is electrically connected to the first end of the first capacitor; the second end of the first capacitor is electrically connected to the second end of the third resistor; the anode of the diode is grounded, and the cathode of the diode is electrically connected to the first end of the inductor; the first end of the inductor is electrically connected to the fifth pin of the buck chip, and the second end of the inductor is electrically connected to the second end of the third resistor; the third pin of the buck chip is used to receive the first voltage.

[0007] Preferably, the voltage conversion unit also includes a second capacitor, a fifth resistor and a sixth resistor, the first end of the second capacitor is electrically connected to the sixth pin of the buck chip and the seventh pin of the buck chip, and the second end of the second capacitor is grounded; the first end of the fifth resistor is used to receive the first voltage, and the second end of the fifth resistor is electrically connected to the seventh pin of the buck chip; the first end of the sixth resistor is electrically connected to the seventh pin of the buck chip, and the second end of the sixth resistor is grounded.

[0008] Preferably, the absorption unit includes a third capacitor and a seventh resistor, the first end of the third capacitor is electrically connected to the cathode of the diode, the second end of the third capacitor is electrically connected to the first end of the seventh resistor, and the second end of the seventh resistor is electrically connected to the fourth pin of the buck chip.

[0009] Preferably, the diode is a Schottky diode.

[0010] Preferably, the first transistor switch unit includes an eighth resistor, a ninth resistor and a first field effect transistor, the first end of the eighth resistor is electrically connected to the third pin of the buck chip, and the second end of the eighth resistor is electrically connected to the drain of the first field effect transistor; the first end of the ninth resistor is electrically connected to the source of the first field effect transistor, and the second end of the ninth resistor is electrically connected to the gate of the first field effect transistor; the source of the first field effect transistor is used to be electrically connected to the signal input end of the serial port module, the drain of the first field effect transistor is used to be electrically connected to the signal output end of the MCU, and the gate of the first field effect transistor is electrically connected to the second end of the third resistor.

[0011] Preferably, the second transistor switch unit includes a tenth resistor, an eleventh resistor and a second field effect transistor, the first end of the tenth resistor is electrically connected to the third pin of the buck chip, and the second end of the tenth resistor is electrically connected to the drain of the second field effect transistor; the first end of the eleventh resistor is electrically connected to the source of the second field effect transistor, and the second end of the eleventh resistor is electrically connected to the gate of the second field effect transistor; the source of the second field effect transistor is used to be electrically connected to the signal output end of the serial port module, the drain of the second field effect transistor is used to be electrically connected to the signal input end of the MCU, and the gate of the second field effect transistor is electrically connected to the second end of the third resistor.

[0012] Preferably, the first field effect transistor and the second field effect transistor are both N-channel enhancement type field effect transistors.

[0013] The utility model has the following beneficial effects: the utility model cooperates with the voltage conversion unit, the absorption unit, the first transistor switch unit and the second transistor switch unit, the voltage conversion unit is electrically connected to the first transistor switch unit and the second transistor switch unit, and is used to convert the first voltage into the second voltage to power the first transistor switch unit and the second transistor switch unit; the absorption unit is electrically connected to the voltage conversion unit, and is used to absorb the peak pulse of the voltage conversion unit. Therefore, the first transistor switch unit and the second transistor switch unit can obtain a stable second voltage, so the reliability is high when transmitting signals. In addition, the utility model also has the advantage of strong anti-interference ability. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 The utility model is a circuit diagram of a part of the circuit of the connection structure between the MCU and the serial port module. DETAILED DESCRIPTION

[0015] The present invention is described in detail below in conjunction with the accompanying drawings and embodiments. It should be noted that, if there is no conflict, the embodiments of the present invention and the various features in the embodiments can be combined with each other, all within the protection scope of the present invention.

[0016] See also Figure 1 The utility model provides a connection structure between an MCU and a serial port module, comprising a voltage conversion unit 1, an absorption unit 2, a first transistor switch unit 3 and a second transistor switch unit 4. The voltage conversion unit 1 is electrically connected to the first transistor switch unit 3 and the second transistor switch unit 4, and is used to convert a first voltage into a second voltage to supply power to the first transistor switch unit 3 and the second transistor switch unit 4. The absorption unit 2 is electrically connected to the voltage conversion unit 1, and is used to absorb the peak pulse of the voltage conversion unit 1.

[0017] The signal input end of the first transistor switch unit 3 is used to be electrically connected to the signal output end of the MCU, and the signal output end of the first transistor switch unit 3 is used to be electrically connected to the signal input end of the serial port module. The signal input end of the second transistor switch unit 4 is used to be electrically connected to the signal output end of the serial port module, and the signal output end of the second transistor switch unit 4 is used to be electrically connected to the signal input end of the MCU. Among them, MCU (MicroControl Unit) is a micro control unit in Chinese, also known as a single chip microcomputer (Single Chip Microcomputer) or a single chip microcomputer. In this embodiment, the first voltage is 5V and the second voltage is 3.3V.

[0018] The voltage conversion unit 1 includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first capacitor C1, a diode D, an inductor L and a buck chip U. The first end of the first resistor R1 is electrically connected to the first pin of the buck chip U and the first end of the second resistor R2, and the second end of the first resistor R1 is grounded. The first end of the third resistor R3 is electrically connected to the second end of the second resistor R2, and the second end of the third resistor R3 is electrically connected to the first transistor switch unit 3 and the second transistor switch unit 4.

[0019] The first end of the fourth resistor R4 is electrically connected to the first end of the first resistor R1, and the second end of the fourth resistor R4 is electrically connected to the first end of the first capacitor C1. The second end of the first capacitor C1 is electrically connected to the second end of the third resistor R3. The anode of the diode D is grounded, and the cathode of the diode D is electrically connected to the first end of the inductor L. The first end of the inductor L is electrically connected to the fifth pin of the buck chip U, and the second end of the inductor L is electrically connected to the second end of the third resistor R3. The third pin of the buck chip U is used to receive the first voltage.

[0020] The voltage conversion unit 1 further includes a second capacitor C2, a fifth resistor R5 and a sixth resistor R6, wherein a first end of the second capacitor C2 is electrically connected to the sixth pin of the buck chip U and the seventh pin of the buck chip U, and a second end of the second capacitor C2 is grounded. A first end of the fifth resistor R5 is used to receive the first voltage, and a second end of the fifth resistor R5 is electrically connected to the seventh pin of the buck chip U. A first end of the sixth resistor R6 is electrically connected to the seventh pin of the buck chip U, and a second end of the sixth resistor R6 is grounded.

[0021] The absorption unit 2 includes a third capacitor C3 and a seventh resistor R7, wherein a first end of the third capacitor C3 is electrically connected to the cathode of the diode D, a second end of the third capacitor C3 is electrically connected to a first end of the seventh resistor R7, and a second end of the seventh resistor R7 is electrically connected to a fourth pin of the buck chip U. The circuit has the advantages of simple structure and low cost, and preferably, the diode D is a Schottky diode D. Therefore, current mutation can be prevented, a stable signal path is provided, and components in the circuit are protected.

[0022] The first transistor switch unit 3 includes an eighth resistor R8, a ninth resistor R9 and a first field effect transistor Q1, wherein the first end of the eighth resistor R8 is electrically connected to the third pin of the buck chip U, and the second end of the eighth resistor R8 is electrically connected to the drain of the first field effect transistor Q1. The first end of the ninth resistor R9 is electrically connected to the source of the first field effect transistor Q1, and the second end of the ninth resistor R9 is electrically connected to the gate of the first field effect transistor Q1. The source of the first field effect transistor Q1 is used to be electrically connected to the signal input end of the serial port module, the drain of the first field effect transistor Q1 is used to be electrically connected to the signal output end of the MCU, and the gate of the first field effect transistor Q1 is electrically connected to the second end of the third resistor R3. Therefore, when the signal output end of the MCU sends a high level signal, the first field effect transistor Q1 is turned off, and when the signal output end of the MCU sends a low level signal, the first field effect transistor Q1 is turned on, thereby sending the signal of the MCU to the serial port module.

[0023] The second transistor switch unit 4 includes a tenth resistor R10, an eleventh resistor R11 and a second field effect transistor Q2, wherein the first end of the tenth resistor R10 is electrically connected to the third pin of the buck chip U, and the second end of the tenth resistor R10 is electrically connected to the drain of the second field effect transistor Q2. The first end of the eleventh resistor R11 is electrically connected to the source of the second field effect transistor Q2, and the second end of the eleventh resistor R11 is electrically connected to the gate of the second field effect transistor Q2. The source of the second field effect transistor Q2 is used to be electrically connected to the signal output end of the serial port module, the drain of the second field effect transistor Q2 is used to be electrically connected to the signal input end of the MCU, and the gate of the second field effect transistor Q2 is electrically connected to the second end of the third resistor R3.

[0024] In this embodiment, the first field effect transistor Q1 and the second field effect transistor Q2 are both N-channel enhancement field effect transistors, which have the advantages of fast switching speed and short response time. Therefore, when the signal output end of the serial port module sends a high-level signal, the second field effect transistor Q2 is turned off, and when the signal output end of the MCU sends a low-level signal, the second field effect transistor Q2 is turned on, thereby sending the signal of the serial port module to the MCU.

[0025] In summary, the utility model cooperates with the voltage conversion unit 1, the absorption unit 2, the first transistor switch unit 3 and the second transistor switch unit 4, and the voltage conversion unit 1 is electrically connected to the first transistor switch unit 3 and the second transistor switch unit 4, and is used to convert the first voltage into the second voltage to power the first transistor switch unit 3 and the second transistor switch unit 4. The absorption unit 2 is electrically connected to the voltage conversion unit 1, and is used to absorb the peak pulse of the voltage conversion unit 1. Therefore, the first transistor switch unit 3 and the second transistor switch unit 4 can obtain a stable second voltage, so the reliability is high when transmitting signals. In addition, the utility model also has the advantage of strong anti-interference ability.

[0026] The connection structure between the MCU and the serial port module provided by the utility model is described in detail above. The principle and implementation mode of the utility model are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of ​​the utility model. At the same time, for those of ordinary skill in the art, according to the idea of ​​the utility model, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification is only the implementation mode of the utility model, and does not limit the patent scope of the utility model. All equivalent structures or equivalent process changes made by using the contents of the specification and drawings of the utility model, or directly or indirectly used in other related technical fields, are similarly included in the patent protection scope of the utility model and should not be understood as limitations on the utility model.

Claims

1. A connection structure between an MCU and a serial port module, characterized in that: It includes a voltage conversion unit, an absorption unit, a first transistor switch unit and a second transistor switch unit. The voltage conversion unit is electrically connected to the first transistor switch unit and the second transistor switch unit, and is used to convert a first voltage into a second voltage to power the first transistor switch unit and the second transistor switch unit; the absorption unit is electrically connected to the voltage conversion unit, and is used to absorb the peak pulse of the voltage conversion unit; the signal input end of the first transistor switch unit is used to be electrically connected to the signal output end of the MCU, and the signal output end of the first transistor switch unit is used to be electrically connected to the signal input end of the serial port module; the signal input end of the second transistor switch unit is used to be electrically connected to the signal output end of the serial port module, and the signal output end of the second transistor switch unit is used to be electrically connected to the signal input end of the MCU.

2. The connection structure between the MCU and the serial port module as claimed in claim 1, characterized in that: The voltage conversion unit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a first capacitor, a diode, an inductor and a buck chip, wherein a first end of the first resistor is electrically connected to a first pin of the buck chip and a first end of the second resistor, and a second end of the first resistor is grounded; a first end of the third resistor is electrically connected to a second end of the second resistor, and a second end of the third resistor is electrically connected to the first transistor switch unit and the second transistor switch unit; The first end of the fourth resistor is electrically connected to the first end of the first resistor, and the second end of the fourth resistor is electrically connected to the first end of the first capacitor; the second end of the first capacitor is electrically connected to the second end of the third resistor; the anode of the diode is grounded, and the cathode of the diode is electrically connected to the first end of the inductor; the first end of the inductor is electrically connected to the fifth pin of the buck chip, and the second end of the inductor is electrically connected to the second end of the third resistor; the third pin of the buck chip is used to receive the first voltage.

3. The connection structure between the MCU and the serial port module as claimed in claim 2, characterized in that: The voltage conversion unit also includes a second capacitor, a fifth resistor and a sixth resistor, the first end of the second capacitor is electrically connected to the sixth pin of the buck chip and the seventh pin of the buck chip, and the second end of the second capacitor is grounded; the first end of the fifth resistor is used to receive the first voltage, and the second end of the fifth resistor is electrically connected to the seventh pin of the buck chip; the first end of the sixth resistor is electrically connected to the seventh pin of the buck chip, and the second end of the sixth resistor is grounded.

4. The connection structure between the MCU and the serial port module as claimed in claim 3, characterized in that: The absorption unit includes a third capacitor and a seventh resistor, the first end of the third capacitor is electrically connected to the cathode of the diode, the second end of the third capacitor is electrically connected to the first end of the seventh resistor, and the second end of the seventh resistor is electrically connected to the fourth pin of the buck chip.

5. The connection structure between the MCU and the serial port module as claimed in claim 2, characterized in that: The diode is a Schottky diode.

6. The connection structure between the MCU and the serial port module as claimed in claim 2, characterized in that: The first transistor switch unit includes an eighth resistor, a ninth resistor and a first field effect transistor, wherein the first end of the eighth resistor is electrically connected to the third pin of the buck chip, and the second end of the eighth resistor is electrically connected to the drain of the first field effect transistor; the first end of the ninth resistor is electrically connected to the source of the first field effect transistor, and the second end of the ninth resistor is electrically connected to the gate of the first field effect transistor; the source of the first field effect transistor is used to be electrically connected to the signal input end of the serial port module, the drain of the first field effect transistor is used to be electrically connected to the signal output end of the MCU, and the gate of the first field effect transistor is electrically connected to the second end of the third resistor.

7. The connection structure between the MCU and the serial port module as claimed in claim 6, characterized in that: The second transistor switch unit includes a tenth resistor, an eleventh resistor and a second field effect transistor, the first end of the tenth resistor is electrically connected to the third pin of the buck chip, and the second end of the tenth resistor is electrically connected to the drain of the second field effect transistor; the first end of the eleventh resistor is electrically connected to the source of the second field effect transistor, and the second end of the eleventh resistor is electrically connected to the gate of the second field effect transistor; the source of the second field effect transistor is used to be electrically connected to the signal output end of the serial port module, the drain of the second field effect transistor is used to be electrically connected to the signal input end of the MCU, and the gate of the second field effect transistor is electrically connected to the second end of the third resistor.

8. The connection structure between the MCU and the serial port module as claimed in claim 7, characterized in that: The first field effect transistor and the second field effect transistor are both N-channel enhancement type field effect transistors.