A communication interface circuit

By using a combination of microprocessor and resistor components in the communication interface circuit, the problem of external interface damage affecting product functions is solved, and a low-power and low-cost communication interface design is realized, with waterproof, anti-static and high voltage protection. Impact protection function.

CN108540122BActive Publication Date: 2024-12-06GUIZHOU HUAXU TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810409581.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-05-02
Publication Date
2024-12-06
Estimated Expiration
2038-05-02

AI Technical Summary

Technical Problem

When the external interface is destroyed, the existing communication interface circuit will affect the normal use of other functions of the product, and will be complex in maintenance, with high power consumption and cost.

Method used

Design a communication interface circuit, including a microprocessor, a communication interface, a pull-up resistor, a first switching tube, a first diode, a direct blocking capacitor, a first resistor, a second resistor, a third resistor and a fourth resistor, Through the combination of direct blocking capacitors and switch tubes, ensure that the short-circuit or open pins of the communication interface will not cause power consumption, and thermistors and TVS diodes are installed in the sealing device to prevent static and high voltage shocks.

Benefits of technology

It realizes the normal use of other functions of the product when the communication interface is destroyed, reduces power consumption and cost, has waterproof, anti-static, and high-voltage shock protection functions, and does not require external communication interface chips.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108540122B_ABST
    Figure CN108540122B_ABST
Patent Text Reader

Abstract

The present invention discloses a communication interface circuit, which is provided with a microprocessor, a communication interface, a pull-up resistor, a first switch tube, a first diode, a DC blocking capacitor, a first resistor, a second resistor, a third resistor and a fourth resistor, wherein when the communication interface is damaged, the short circuit or open circuit of the three pins of the communication interface will not cause power consumption and will not affect the normal use of other functions of the product. The present invention overcomes the technical problem that in the existing communication interface circuit, when the external interface is damaged, the normal use of other functions of the product will be affected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of interfaces, and in particular to a communication interface circuit. Background Art

[0002] With the development of the Internet of Things and artificial intelligence technology, the intelligence of products is gradually improving, and at the same time, the power consumption and cost of products are also required to be lower and lower, which makes product maintenance more and more complicated and difficult. Usually, an external communication interface is required to support the maintenance function of the product, and this external interface usually requires the addition of a communication interface chip. When the external interface is damaged, it may even affect the normal use of other functions of the product. Summary of the invention

[0003] In order to solve the above technical problems, an object of the present invention is to provide a communication interface circuit.

[0004] The technical solution adopted by the present invention is: a communication interface circuit, including a microprocessor, a communication interface, a pull-up resistor, a first switch tube, a first diode, a DC blocking capacitor, a first resistor, a second resistor, a third resistor and a fourth resistor, one end of the DC blocking capacitor and one end of the first resistor are both connected to a data receiving pin of the communication interface, the other end of the first resistor is connected to a data receiving pin of the microprocessor, the other end of the DC blocking capacitor is respectively connected to the negative electrode of the first diode and one end of the third resistor, the other end of the third resistor is respectively connected to one end of the fourth resistor and a control end of the first switch tube, the negative output end of the first switch tube is connected to the other end of the fourth resistor, the negative output end of the first switch tube and the positive electrode of the first diode are both grounded; the positive output end of the first switch tube is respectively connected to an interrupt pin of the microprocessor and one end of the pull-up resistor, the other end of the pull-up resistor is connected to a power supply; the data sending pin of the communication interface is connected to one end of the second resistor, the other end of the second resistor is connected to the data sending pin of the microprocessor, and the ground pin of the communication interface is grounded.

[0005] Furthermore, the communication interface circuit also includes a first TVS diode and a second TVS diode, the data receiving pin of the communication interface is connected to the cathode of the first TVS diode, the data sending pin of the communication interface is connected to the cathode of the second TVS diode, and the anode of the first TVS diode and the anode of the second TVS diode are both grounded.

[0006] Furthermore, the communication interface circuit also includes a first thermistor and a second thermistor, a data receiving pin of the communication interface is connected to one end of the first thermistor, and the other end of the first thermistor is respectively connected to the cathode of the first TVS diode, one end of the DC blocking capacitor, and one end of the first resistor; a data sending pin of the communication interface is connected to one end of the second thermistor, and the other end of the second thermistor is respectively connected to the cathode of the second TVS diode and one end of the second resistor.

[0007] Furthermore, the first thermistor and the second thermistor are both positive temperature coefficient thermistors.

[0008] Furthermore, the communication interface is an audio socket.

[0009] Furthermore, the audio socket is a dual-channel gold-plated audio socket.

[0010] Furthermore, the first switch tube is a first NPN transistor, the base of the first NPN transistor is the control end of the first switch tube, the collector of the first NPN transistor is the positive output end of the first switch tube, and the emitter of the first NPN transistor is the negative output end of the first switch tube.

[0011] Furthermore, the microprocessor includes a single chip microcomputer.

[0012] Furthermore, the microprocessor, the pull-up resistor, the first switch tube, the first diode, the DC blocking capacitor, the first resistor, the second resistor, the third resistor and the fourth resistor are arranged inside the sealing device.

[0013] Furthermore, the sealing device is a plastic sealing device.

[0014] The beneficial effects of the present invention are:

[0015] The present invention discloses a communication interface circuit, which is provided with a microprocessor, a communication interface, a pull-up resistor, a first switch tube, a first diode, a DC blocking capacitor, a first resistor, a second resistor, a third resistor and a fourth resistor, wherein when the communication interface is damaged, the short circuit or open circuit of the three pins of the communication interface will not cause power consumption and will not affect the normal use of other functions of the product. The present invention overcomes the technical problem that in the existing communication interface circuit, when the external interface is damaged, the normal use of other functions of the product will be affected. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The specific implementation of the present invention will be further described below in conjunction with the accompanying drawings:

[0017] Figure 1 It is a circuit diagram of a specific embodiment of a communication interface circuit of the present invention. DETAILED DESCRIPTION

[0018] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.

[0019] refer to Figure 1 , Figure 1 The invention discloses a circuit diagram of a specific embodiment of a communication interface circuit, comprising a microprocessor MCU, a communication interface J1, a pull-up resistor R5, a first switch tube Q1, a first diode D1, a DC blocking capacitor C1, a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4. The communication interface J1 is used to connect to the serial port of a maintenance tool of a product. One end of the DC blocking capacitor C1 and one end of the first resistor R1 are both connected to a data receiving pin WRXD of the communication interface J1. The other end of the first resistor R1 is connected to a data receiving pin RXD of the microprocessor MCU. The other end of the DC blocking capacitor C1 is respectively connected to the cathode of the first diode D1 and one end of the third resistor R3. The third resistor R The other end of the first switch tube Q3 is respectively connected to one end of the fourth resistor R4 and the control end of the first switch tube Q1, the negative output end of the first switch tube Q1 is connected to the other end of the fourth resistor R4, the negative output end of the first switch tube Q1 and the positive electrode of the first diode D1 are both grounded; the positive output end of the first switch tube Q1 is respectively connected to the interrupt pin RXD_INT of the microprocessor MCU and one end of the pull-up resistor R5, the other end of the pull-up resistor R5 is connected to the power supply, in this embodiment, the power supply is a 3.3V power supply; the data sending pin WTXD of the communication interface J1 is connected to one end of the second resistor R2, the other end of the second resistor R2 is connected to the data sending pin TXD of the microprocessor MCU, and the ground pin GND of the communication interface J1 is grounded.

[0020] Among them, the first switch tube Q1 is a first NPN transistor, the base of the first NPN transistor is the control end of the first switch tube Q1, the collector of the first NPN transistor is the positive output end of the first switch tube Q1, and the emitter of the first NPN transistor is the negative output end of the first switch tube Q1. The communication interface J1 is a dual-channel gold-plated audio socket. In addition, the microprocessor MCU is a low-power microprocessor and is the data processing center of the product. The microprocessor can be implemented using a single-chip microcomputer. RXD_INT is the interrupt capture IO of the microprocessor MCU, and RXD and TXD are the serial communication port UART of the microprocessor MCU. The serial communication port UART is used by the product to set, upgrade, and maintain product parameters. In the low-power sleep mode of the microprocessor MCU, RXD and TXD are set to IO output mode and both output "0", RXD_INT is set to interrupt capture input IO, and the DC isolation capacitor C1 has a DC isolation function. In this case, the voltage of any pin of the communication interface J1 is 0V. When the communication interface J1 is damaged, its 3 pins are short-circuited or open-circuited, which will not cause power consumption; when the communication interface J1 is flooded, the power consumption will not increase, and the gold-plated audio socket has a strong anti-oxidation ability. The communication interface circuit of the present invention does not require a communication interface chip, has low waterproof requirements, and is lower in cost;

[0021] In practice, reference Figure 1 When the serial port of the maintenance tool is connected to the communication interface J1 of the product, the TXD of the serial port of the maintenance tool is connected to the WRXD of the communication interface J1. At this time, WRXD is pulled up by the TXD of the maintenance tool to a high level (since the first resistor R1 is 2K, WRXD will not be pulled down by the RXD of the microprocessor MCU); when a maintenance tool is connected to the product for communication, the start bit "0" of the serial port protocol will drive the first switch tube Q1 through the DC blocking capacitor C1, so that the RXD_INT voltage is 0V. At this time, the microprocessor MCU will capture the interrupt signal and exit the low-power sleep mode and enter the normal mode. After entering the normal mode, the microprocessor MCU sets TXD and RXD to the serial port mode, so that the microprocessor MCU can communicate normally with the maintenance tool to set, upgrade, and maintain product parameters.

[0022] As a further improvement of the technical solution, refer to Figure 1The communication interface circuit also includes a first TVS diode T1, a second TVS diode T2, a first thermistor PT1 and a second thermistor PT2. The data receiving pin WRXD of the communication interface J1 is connected to one end of the first thermistor PT1, and the other end of the first thermistor PT1 is respectively connected to the cathode of the first TVS diode T1, one end of the DC blocking capacitor C1, and one end of the first resistor R1; the data sending pin WTXD of the communication interface J1 is connected to one end of the second thermistor PT2, and the other end of the second thermistor PT2 is respectively connected to the cathode of the second TVS diode T2 and one end of the second resistor R2, and the anode of the first TVS diode T1 and the anode of the second TVS diode T2 are both grounded. The first thermistor PT1 and the second thermistor PT2 are both positive temperature coefficient thermistors. In this embodiment, the first TVS diode T1 and the second TVS diode T2 can protect the circuit from being damaged by static electricity. The non-operating current of the first thermistor PT1 and the second thermistor PT2 is 20mA. When the first TVS diode T1 and the second TVS diode T2 perform protection actions under a surge of 1kV or a continuous high voltage of 420V, the first thermistor PT1 and the second thermistor PT2 trigger thermal protection and become high resistance. The first TVS diode T1 and the second TVS diode T2 will not be damaged, thereby ensuring that the entire circuit will not be damaged under a surge of 1kV or a continuous high voltage of 420V.

[0023] As a further improvement of the technical solution, refer to Figure 1 The microprocessor MCU, the pull-up resistor R5, the first switch tube Q1, the first diode D1, the DC blocking capacitor C1, the first resistor R1, the second resistor R2, the third resistor R3, the fourth resistor R4, the first TVS diode T1, the second TVS diode T2, the first thermistor PT1 and the second thermistor PT2 are arranged inside the sealing device, which is a plastic sealing device, i.e., the shell of the product, and can realize waterproof protection for the whole circuit. The communication interface J1 is arranged outside the product shell, which is convenient for connecting with the serial port of the maintenance tool.

[0024] The communication interface circuit of the present invention can not only meet the needs of product parameter setting, upgrading, maintenance, etc.; it does not require a communication interface chip, has low waterproof requirements, and has lower costs; and the communication interface has protection functions, which can prevent static electricity and high voltage shocks, and even if it is damaged manually, it will not affect the power consumption of the product; the standby power consumption of the communication interface is very low, close to zero power consumption.

[0025] The above is a specific description of the preferred implementation of the present invention, but the invention is not limited to the embodiments. Those skilled in the art can make various equivalent modifications or substitutions without violating the spirit of the present invention. These equivalent modifications or substitutions are all included in the scope defined by the claims of this application.

Claims

1. A communication interface circuit, characterized in that: The invention comprises a microprocessor, a communication interface, a pull-up resistor, a first switch tube, a first diode, a DC blocking capacitor, a first resistor, a second resistor, a third resistor and a fourth resistor, wherein one end of the DC blocking capacitor and one end of the first resistor are both connected to a data receiving pin of the communication interface, the other end of the first resistor is connected to a data receiving pin of the microprocessor, the other end of the DC blocking capacitor is respectively connected to a negative electrode of the first diode and one end of a third resistor, the other end of the third resistor is respectively connected to one end of a fourth resistor and a control end of the first switch tube, the negative output end of the first switch tube is connected to the other end of the fourth resistor, the negative output end of the first switch tube and the positive electrode of the first diode are both grounded; the positive output end of the first switch tube is respectively connected to an interrupt pin of the microprocessor and one end of the pull-up resistor, the other end of the pull-up resistor is connected to a power supply; the data sending pin of the communication interface is connected to one end of the second resistor, the other end of the second resistor is connected to a data sending pin of the microprocessor, and the ground pin of the communication interface is grounded.

2. The communication interface circuit according to claim 1, characterized in that: The communication interface circuit also includes a first TVS diode and a second TVS diode. The data receiving pin of the communication interface is connected to the cathode of the first TVS diode, the data sending pin of the communication interface is connected to the cathode of the second TVS diode, and the anode of the first TVS diode and the anode of the second TVS diode are both grounded.

3. The communication interface circuit according to claim 2, characterized in that: The communication interface circuit also includes a first thermistor and a second thermistor, a data receiving pin of the communication interface is connected to one end of the first thermistor, and the other end of the first thermistor is respectively connected to the cathode of the first TVS diode, one end of the DC blocking capacitor, and one end of the first resistor; a data sending pin of the communication interface is connected to one end of the second thermistor, and the other end of the second thermistor is respectively connected to the cathode of the second TVS diode and one end of the second resistor.

4. The communication interface circuit according to claim 3, characterized in that: The first thermistor and the second thermistor are both positive temperature coefficient thermistors.

5. The communication interface circuit according to any one of claims 1 to 4, characterized in that: The communication interface is an audio socket.

6. The communication interface circuit according to claim 5, characterized in that: The audio socket is a dual-channel gold-plated audio socket.

7. The communication interface circuit according to any one of claims 1 to 4, characterized in that: The first switch tube is a first NPN transistor, the base of the first NPN transistor is the control end of the first switch tube, the collector of the first NPN transistor is the positive output end of the first switch tube, and the emitter of the first NPN transistor is the negative output end of the first switch tube.

8. The communication interface circuit according to any one of claims 1 to 4, characterized in that: The microprocessor includes a single chip microcomputer.

9. The communication interface circuit according to any one of claims 1 to 4, characterized in that: The microprocessor, the pull-up resistor, the first switch tube, the first diode, the DC blocking capacitor, the first resistor, the second resistor, the third resistor and the fourth resistor are arranged inside the sealing device.

10. The communication interface circuit according to claim 9, characterized in that: The sealing device is a plastic sealing device.