Serial port communication circuit

By designing the level conversion circuit unit and the interface circuit unit, the resistor, capacitor and diode are used to match the level conversion chip, the serial communication circuit structure is simplified, the problems of complex structure and high cost in the existing technology are solved, and the level matching is achieved and low-cost solutions for communications.

CN221946486UActive Publication Date: 2024-11-01JWIPC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323624837.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-11-01
Estimated Expiration
2033-12-28

AI Technical Summary

Technical Problem

The existing serial communication circuit has complex structure and high cost. It is necessary to add dedicated serial transceivers and digital isolators to the periphery of the MCU serial port to achieve level conversion and level matching.

Method used

A serial communication circuit including a level conversion circuit unit and an interface circuit unit is designed, and the power is realized through the level conversion chip using a first resistor, a second resistor, a first capacitor, a first diode and a level conversion chip. The circuit structure is simplified by flat conversion and connected to the level conversion chip through the serial port chip in the interface circuit unit.

Benefits of technology

It realizes a serial communication circuit with a simple structure and low cost, which can effectively realize level matching and communication in different power supply systems, reducing circuit complexity and cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221946486U_ABST
    Figure CN221946486U_ABST
Patent Text Reader

Abstract

The utility model discloses a serial port communication circuit which comprises a level conversion circuit unit and an interface circuit unit, the level conversion circuit unit comprises a first resistor, a second resistor, a first capacitor, a first diode and a level conversion chip, the first end of the first resistor is used for being electrically connected with a first power supply, and the second end of the first resistor is used for being electrically connected with a second power supply; the second end of the first resistor is electrically connected with the first pin of the level conversion chip. The first end of the second resistor is used for being electrically connected with a second power supply and a fifth pin of the level conversion chip, and the second end of the first resistor is grounded. The first end of the first capacitor is used for being electrically connected with a second power supply and the eighth pin of the level conversion chip, and the second end of the first capacitor is grounded. The anode of the first diode is electrically connected with the first end of the first resistor, and the second end of the first diode is electrically connected with the second end of the first resistor. And a sixth pin of the level conversion chip is electrically connected with the interface circuit unit. The utility model has the advantages of simple structure and low cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of communication, in particular to a serial port communication circuit. Background Art

[0002] With the development of science and technology, computers have entered thousands of households. With the development of computers, the universal serial port (UART) used in computers has also been widely used. As a simple and applicable communication interface, the universal serial port has a strong vitality. With the emergence of various new communication methods, the universal serial port still plays an irreplaceable role in the field of communication. In the circuit of the existing serial communication system, it is generally necessary to add a dedicated serial transceiver to the periphery of the MCU serial port to realize level conversion. In different power supply systems, it is also necessary to add a digital isolator to realize level matching in order to realize communication. Therefore, the existing serial communication circuit structure is complex and the cost is high. Utility Model Content

[0003] The technical problem solved by the utility model is to provide a serial communication circuit with simple structure and low cost.

[0004] The utility model provides a serial communication circuit, comprising a level conversion circuit unit and an interface circuit unit, wherein the level conversion circuit unit comprises a first resistor, a second resistor, a first capacitor, a first diode and a level conversion chip, wherein a first end of the first resistor is used to be electrically connected to a first power supply, and a second end of the first resistor is electrically connected to a first pin of the level conversion chip;

[0005] The first end of the second resistor is used to be electrically connected to the second power supply and the fifth pin of the level conversion chip, and the second end of the second resistor is grounded; the first end of the first capacitor is used to be electrically connected to the second power supply and the eighth pin of the level conversion chip, and the second end of the first capacitor is grounded; the anode of the first diode is electrically connected to the first end of the first resistor, and the cathode of the first diode is electrically connected to the second end of the first resistor; the sixth pin of the level conversion chip is electrically connected to the interface circuit unit.

[0006] Preferably, the level conversion circuit unit further includes a second capacitor, a first end of the second capacitor is electrically connected to the second end of the first resistor, and a second end of the second capacitor is grounded.

[0007] Preferably, the level conversion circuit unit also includes a third resistor, a first end of the third resistor is used to be electrically connected to the second power supply, and a second end of the third resistor is electrically connected to the fifth pin of the level conversion chip; the fifth pin of the level conversion chip is electrically connected to the second power supply through the third resistor.

[0008] Preferably, the fourth pin of the level conversion chip is grounded.

[0009] Preferably, the interface circuit unit includes a third capacitor and a serial port chip, the first end of the third capacitor is electrically connected to the first pin of the serial port chip, the second end of the third capacitor is electrically connected to the second pin of the serial port chip; the twelfth pin of the serial port chip is electrically connected to the sixth pin of the level conversion chip.

[0010] Preferably, the interface circuit unit also includes a fourth resistor and a fourth capacitor, the first end of the fourth resistor is used to be electrically connected to the second power supply, and the second end of the fourth resistor is electrically connected to the twenty-sixth pin of the serial port chip; the first end of the fourth capacitor is electrically connected to the twenty-sixth pin of the serial port chip, and the second end of the fourth capacitor is grounded.

[0011] Preferably, the interface circuit unit further includes a second diode, an anode of the second diode is electrically connected to the first end of the fourth resistor, and a cathode of the second diode is electrically connected to the second end of the fourth resistor.

[0012] Preferably, the interface circuit unit further includes a fifth resistor, a first end of the fifth resistor is electrically connected to the twenty-sixth pin of the serial port chip, and a second end of the fifth resistor is electrically connected to the twenty-third pin of the serial port chip.

[0013] Preferably, the interface circuit unit further includes a fifth capacitor, a first end of the fifth capacitor is electrically connected to the twenty-fourth pin of the serial port chip, and a second end of the fifth capacitor is electrically connected to the twenty-eighth pin of the serial port chip.

[0014] Preferably, the interface circuit unit further includes a sixth resistor, a first end of the sixth resistor is electrically connected to the twenty-second pin of the serial port chip, and a second end of the sixth resistor is used to be electrically connected to the controller.

[0015] The utility model has the following beneficial effects: the utility model cooperates between a level conversion circuit unit and an interface circuit unit, the level conversion circuit unit includes a first resistor, a second resistor, a first capacitor, a first diode and a level conversion chip, the first end of the first resistor is used to be electrically connected to the first power supply, and the second end of the first resistor is electrically connected to the first pin of the level conversion chip; the first end of the second resistor is used to be electrically connected to the second power supply and the fifth pin of the level conversion chip, and the second end of the first resistor is grounded; the first end of the first capacitor is used to be electrically connected to the second power supply and the eighth pin of the level conversion chip, and the second end of the first capacitor is grounded; the anode of the first diode is electrically connected to the first end of the first resistor, and the second end of the first diode is electrically connected to the second end of the first resistor; the sixth pin of the level conversion chip is electrically connected to the interface circuit unit. The circuit has the advantages of simple structure and low cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 The utility model is a circuit diagram of a level conversion circuit unit of a serial communication circuit.

[0017] Figure 2 The utility model is a circuit diagram of an interface circuit unit of a serial communication circuit. DETAILED DESCRIPTION

[0018] 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.

[0019] See also Figure 1 and Figure 2 The utility model provides a serial communication circuit, including a level conversion circuit unit and an interface circuit unit, wherein the level conversion circuit unit includes a first resistor R1, a second resistor R2, a first capacitor C1, a first diode D1 and a level conversion chip U1, wherein a first end of the first resistor R1 is used to be electrically connected to a first power supply, and a second end of the first resistor R1 is electrically connected to a first pin of the level conversion chip U1.

[0020] The first end of the second resistor R2 is used to be electrically connected to the second power supply and the fifth pin of the level conversion chip U1, and the second end of the second resistor R2 is grounded. The first end of the first capacitor C1 is used to be electrically connected to the second power supply and the eighth pin of the level conversion chip U1, and the second end of the first capacitor C1 is grounded.

[0021] The anode of the first diode D1 is electrically connected to the first end of the first resistor R1, and the cathode of the first diode D1 is electrically connected to the second end of the first resistor R1. The sixth pin of the level conversion chip U1 is electrically connected to the interface circuit unit. The second pin, the third pin, the sixth pin and the seventh pin of the level conversion chip U1 are used to transmit data signals. It can be understood that the data signal can be converted into a level after passing through the level conversion chip U1. For example, it can be converted from 3.3V to 5V. The model of the level conversion chip U1 is RS0102YUTDS8.

[0022] The level conversion circuit unit further includes a second capacitor C2, a first end of the second capacitor C2 is electrically connected to the second end of the first resistor R1, and a second end of the second capacitor C2 is grounded. The input voltage is filtered by the second capacitor C2, so that a stable voltage can be obtained.

[0023] The level conversion circuit unit further includes a third resistor R3, a first end of the third resistor R3 is used to be electrically connected to the second power supply, and a second end of the third resistor R3 is electrically connected to the fifth pin of the level conversion chip U1. The fifth pin of the level conversion chip U1 is electrically connected to the second power supply through the third resistor R3. The fourth pin of the level conversion chip U1 is grounded.

[0024] The interface circuit unit includes a third capacitor C3 and a serial port chip U2, wherein a first end of the third capacitor C3 is electrically connected to a first pin of the serial port chip U2, and a second end of the third capacitor C3 is electrically connected to a second pin of the serial port chip U2. A twelfth pin of the serial port chip U2 is electrically connected to a sixth pin of the level conversion chip U1. The model of the serial port chip U2 is SP3243EBEY.

[0025] The interface circuit unit further includes a fourth resistor R4 and a fourth capacitor C4, wherein a first end of the fourth resistor R4 is electrically connected to the second power supply, and a second end of the fourth resistor R4 is electrically connected to the 26th pin of the serial port chip U2. A first end of the fourth capacitor C4 is electrically connected to the 26th pin of the serial port chip U2, and a second end of the fourth capacitor C4 is grounded.

[0026] The interface circuit unit further includes a second diode D2 and a fifth resistor R5, wherein an anode of the second diode D2 is electrically connected to a first end of the fourth resistor R4, and a cathode of the second diode D2 is electrically connected to a second end of the fourth resistor R4. A first end of the fifth resistor R5 is electrically connected to a 26th pin of the serial port chip U2, and a second end of the fifth resistor R5 is electrically connected to a 23rd pin of the serial port chip U2.

[0027] The interface circuit unit further includes a fifth capacitor C5, a sixth capacitor C6, a seventh capacitor C7 and a sixth resistor R6, wherein a first end of the fifth capacitor C5 is electrically connected to the twenty-fourth pin of the serial port chip U2, and a second end of the fifth capacitor C5 is electrically connected to the twenty-eighth pin of the serial port chip U2. A first end of the sixth capacitor C6 is electrically connected to the third pin of the serial port chip U2, and a second end of the sixth capacitor C6 is grounded. The seventh capacitor C7 is connected in parallel to the sixth capacitor C6. A first end of the sixth resistor R6 is electrically connected to the twenty-second pin of the serial port chip U2, and a second end of the sixth resistor R6 is used to be electrically connected to a controller.

[0028] In summary, the utility model cooperates between the level conversion circuit unit and the interface circuit unit, and the level conversion circuit unit includes a first resistor R1, a second resistor R2, a first capacitor C1, a first diode D1 and a level conversion chip U1. The first end of the first resistor R1 is used to be electrically connected to the first power supply, and the second end of the first resistor R1 is electrically connected to the first pin of the level conversion chip U1. The first end of the second resistor R2 is used to be electrically connected to the second power supply and the fifth pin of the level conversion chip U1, and the second end of the first resistor R1 is grounded. The first end of the first capacitor C1 is used to be electrically connected to the second power supply and the eighth pin of the level conversion chip U1, and the second end of the first capacitor C1 is grounded. The anode of the first diode D1 is electrically connected to the first end of the first resistor R1, and the second end of the first diode D1 is electrically connected to the second end of the first resistor R1. The sixth pin of the level conversion chip U1 is electrically connected to the interface circuit unit. The circuit has the advantages of simple structure and low cost.

[0029] The serial communication circuit provided by the utility model is introduced 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 it 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 serial communication circuit, characterized in that: It includes a level conversion circuit unit and an interface circuit unit, wherein the level conversion circuit unit includes a first resistor, a second resistor, a first capacitor, a first diode and a level conversion chip, wherein a first end of the first resistor is used to be electrically connected to a first power supply, and a second end of the first resistor is electrically connected to a first pin of the level conversion chip; The first end of the second resistor is used to be electrically connected to the second power supply and the fifth pin of the level conversion chip, and the second end of the second resistor is grounded; the first end of the first capacitor is used to be electrically connected to the second power supply and the eighth pin of the level conversion chip, and the second end of the first capacitor is grounded; the anode of the first diode is electrically connected to the first end of the first resistor, and the cathode of the first diode is electrically connected to the second end of the first resistor; the sixth pin of the level conversion chip is electrically connected to the interface circuit unit.

2. The serial communication circuit according to claim 1, characterized in that: The level conversion circuit unit further includes a second capacitor, a first end of the second capacitor is electrically connected to the second end of the first resistor, and a second end of the second capacitor is grounded.

3. The serial communication circuit according to claim 1, characterized in that: The level conversion circuit unit also includes a third resistor, a first end of the third resistor is used to be electrically connected to the second power supply, and a second end of the third resistor is electrically connected to the fifth pin of the level conversion chip; the fifth pin of the level conversion chip is electrically connected to the second power supply through the third resistor.

4. The serial communication circuit according to claim 1, characterized in that: The fourth pin of the level conversion chip is grounded.

5. The serial communication circuit according to claim 1, characterized in that: The interface circuit unit includes a third capacitor and a serial port chip, wherein a first end of the third capacitor is electrically connected to a first pin of the serial port chip, and a second end of the third capacitor is electrically connected to a second pin of the serial port chip; a twelfth pin of the serial port chip is electrically connected to a sixth pin of the level conversion chip.

6. The serial communication circuit according to claim 5, characterized in that: The interface circuit unit also includes a fourth resistor and a fourth capacitor, wherein the first end of the fourth resistor is used to be electrically connected to the second power supply, and the second end of the fourth resistor is electrically connected to the twenty-sixth pin of the serial port chip; the first end of the fourth capacitor is electrically connected to the twenty-sixth pin of the serial port chip, and the second end of the fourth capacitor is grounded.

7. The serial communication circuit according to claim 6, characterized in that: The interface circuit unit further includes a second diode, an anode of the second diode is electrically connected to the first end of the fourth resistor, and a cathode of the second diode is electrically connected to the second end of the fourth resistor.

8. The serial communication circuit according to claim 7, characterized in that: The interface circuit unit further includes a fifth resistor, a first end of the fifth resistor is electrically connected to the twenty-sixth pin of the serial port chip, and a second end of the fifth resistor is electrically connected to the twenty-third pin of the serial port chip.

9. The serial communication circuit according to claim 5, characterized in that: The interface circuit unit further includes a fifth capacitor, a first end of the fifth capacitor is electrically connected to the twenty-fourth pin of the serial port chip, and a second end of the fifth capacitor is electrically connected to the twenty-eighth pin of the serial port chip.

10. The serial communication circuit according to claim 5, characterized in that: The interface circuit unit further includes a sixth resistor, a first end of the sixth resistor is electrically connected to the twenty-second pin of the serial port chip, and a second end of the sixth resistor is electrically connected to the controller.