Ultrasonic data transceiver circuit

By using the first transistor, the second transistor and the diode in the ultrasonic data transceiver circuit, the data interaction between the ultrasonic sensor and the main control chip is realized, the circuit compatibility and security problems are solved, and the main control chip is avoided. The reference voltage is incompatible, improving the compatibility and safety of the circuit.

CN222014452UActive Publication Date: 2024-11-15SHENZHEN LONGHORN AUTOMOTIVE ELECTRONICS EQUIPCO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420268900.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-02-02
Publication Date
2024-11-15
Estimated Expiration
2034-02-02

AI Technical Summary

Technical Problem

When the internal reference voltage of the existing ultrasonic data transceiver circuit is less than 5V, the output of the data interaction pin of the ultrasonic sensor is greater than 5V and the high level output of the data interaction pin of the ultrasonic sensor is likely to damage the pins of the main control chip, resulting in poor circuit compatibility and safety. .

Method used

Using the first transistor Q1, the second transistor Q2 and the diode D, the second transistor Q2 is controlled to alternately turn on and off through the data reception pin to realize ultrasonic control data transmission in PWM form, and through the diode D Isolate the data reception pin and the data interaction pin, avoiding high-level voltage transmission to the main control chip, and improving compatibility and security.

Benefits of technology

The data interaction between the ultrasonic sensor and the main control chip is effectively realized, avoiding the problem of reference voltage incompatibility of the main control chip, improving the compatibility and safety of the circuit, and preventing reverse connection protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222014452U_ABST
    Figure CN222014452U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model provides an ultrasonic data transceiving circuit which comprises a main control chip, a first triode Q1, a second triode Q2 and a diode D, wherein the main control chip is provided with a data receiving pin and a data sending pin. The input end and the output end of the first triode Q1 are correspondingly connected with an external first pull-up power supply and a data receiving pin respectively, the control end of the first triode Q1 is connected with the positive electrode of the diode D through the first resistor R1, and the negative electrode of the diode D is connected with an external second pull-up power supply and serves as a communication port of the circuit to be connected with a data interaction pin of the ultrasonic sensor. The data receiving pin is also connected with the grounding end through a second resistor R2; the input end of the second triode Q2 is connected with the negative electrode of the diode D through a third resistor R3, and the control end and the output end of the second triode Q2 are correspondingly connected with a data sending pin and a grounding end respectively; the power supply voltage of the external first pull-up power supply is smaller than the power supply voltage of the external second pull-up power supply and is between the high level and the low level of a PWM square wave signal output when the ultrasonic sensor sends ultrasonic detection data to the main control chip. According to the embodiment, the compatibility and the safety of the circuit can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiment of the utility model relates to the technical field of ultrasonic circuits, and in particular to an ultrasonic data transceiver circuit. Background Art

[0002] In order to achieve effective control of the ultrasonic sensor and receive the ultrasonic detection data generated by the ultrasonic sensor when detecting obstacles, the existing ultrasonic sensor is usually connected to an ultrasonic data transceiver circuit.

[0003] An existing ultrasonic data transceiver circuit mainly realizes data transceiver control of an ultrasonic sensor through a main control chip. The main control chip is provided with a data receiving pin for receiving ultrasonic detection data and a data sending pin for sending ultrasonic control data. The data receiving pin and the data sending pin are usually connected to the data interaction pin of the ultrasonic sensor through a resistor respectively. The main control chip and the ultrasonic sensor both realize data transmission and reception based on the principle of single-line data transmission. The ultrasonic control data and the ultrasonic detection data are usually PWM square wave signals. When the data interaction pin of the ultrasonic sensor is in input mode, the data sending pin of the main control chip sends the ultrasonic control data to the ultrasonic sensor, and when the data interaction pin is in output mode, the ultrasonic sensor sends the ultrasonic detection data to the data receiving pin of the main control chip. When the data interaction pin of a conventional ultrasonic sensor is in output mode and sends ultrasonic detection data to the data receiving pin of the main control chip, the output of the PWM square wave signal is realized by alternately outputting a high level greater than 5V and a low level less than 5V.

[0004] However, the inventors found during the specific implementation that when the reference voltage inside the main control chip selected for the circuit is less than 5V (for example: 3.3V), the data interaction pin of the ultrasonic sensor outputs a high level greater than 5V in the output mode, which can easily damage the pin of the main control chip, and the circuit compatibility and safety are relatively poor. Utility Model Content

[0005] The technical problem to be solved by the embodiments of the utility model is to provide an ultrasonic data transceiver circuit, which can effectively improve the compatibility and safety of the circuit.

[0006] In order to solve the above technical problems, the embodiment of the utility model provides the following technical solutions: an ultrasonic data transceiver circuit, including a main control chip, the main control chip having a data receiving pin for receiving ultrasonic detection data and a data sending pin for sending ultrasonic control data, the circuit also includes a first transistor Q1, a second transistor Q2 and a diode D, wherein:

[0007] The input end of the first transistor Q1 is connected to an external first pull-up power supply, the control end of the first transistor Q1 is connected to the positive electrode of the diode D through the first resistor R1, the negative electrode of the diode D is connected to the external second pull-up power supply on the one hand, and is connected to the data exchange pin of the ultrasonic sensor as the communication port of the circuit on the other hand, the output end of the first transistor Q1 is connected to the data receiving pin, and the data receiving pin is also connected to the ground end through the second resistor R2;

[0008] The input end of the second transistor Q2 is connected to the cathode of the diode D through the third resistor R3, the control end of the second transistor Q2 is connected to the data sending pin, and the output end of the second transistor Q2 is connected to the ground end;

[0009] The supply voltage of the external first pull-up power supply is less than the supply voltage of the external second pull-up power supply and is between the high level and the low level of the PWM square wave signal output by the ultrasonic sensor when sending ultrasonic detection data to the main control chip.

[0010] Furthermore, the output end of the first transistor Q1 is connected to the data receiving pin through a fourth resistor R4.

[0011] Furthermore, the cathode of the diode D is connected to the external second pull-up power supply through a fifth resistor R5.

[0012] Furthermore, the cathode of the diode D is also connected to the ground terminal through the first capacitor C1.

[0013] Furthermore, the external first pull-up power source is also connected to the control end of the first transistor Q1 through a parallel body consisting of a second capacitor C2 and a sixth resistor R6.

[0014] After adopting the above technical scheme, the embodiment of the utility model has at least the following beneficial effects: the circuit of the embodiment of the utility model can effectively send ultrasonic control data in PWM form to the data interaction pin of the ultrasonic sensor by adding a first transistor Q1, a second transistor Q2 and a diode D, and using the data receiving pin to control the second transistor Q to be alternately turned on and off; and when the data interaction pin of the ultrasonic sensor sends ultrasonic detection data, since the supply voltage of the external first pull-up power supply is between the high level voltage and the low level voltage output by the data interaction pin, the first transistor Q is alternately turned on and off, so that the level state of the data receiving pin of the main control chip is alternately at a high level and a low level, thereby realizing the data transmission from the ultrasonic sensor to the main control chip; and, since the level voltage output by the data interaction pin is only used to control the conduction and disconnection of the first transistor Q1, it will not be transmitted to the data receiving pin of the main control chip, thereby avoiding the internal reference voltage of the main control chip being incompatible with the level voltage output by the data interaction pin; in addition, the diode D is used to isolate the data receiving pin and the data interaction pin and realize the anti-reverse connection protection of the circuit, thereby improving the compatibility and safety of the circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 The following is a circuit diagram of an optional embodiment of the ultrasonic data transceiver circuit of the utility model. DETAILED DESCRIPTION

[0016] The present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the following illustrative embodiments and descriptions are only used to explain the present invention and are not intended to limit the present invention. In addition, the embodiments and features in the embodiments of the present application may be combined with each other without conflict.

[0017] like Figure 1 As shown, an optional embodiment of the utility model provides an ultrasonic data transceiver circuit, including a main control chip 1, the main control chip 1 has a data receiving pin 10 for receiving ultrasonic data and a data sending pin 12 for sending ultrasonic control data, the circuit also includes a first transistor Q1, a second transistor Q2 and a diode D, wherein:

[0018] The input end of the first transistor Q1 is connected to the external first pull-up power supply 3, the control end of the first transistor Q1 is connected to the positive electrode of the diode D through the first resistor R1, the negative electrode of the diode D is connected to the external second pull-up power supply 5 on the one hand, and is connected to the data interaction pin 90 of the ultrasonic sensor 9 as the communication port 7 of the circuit on the other hand, the output end of the first transistor Q1 is connected to the data receiving pin 10, and the data receiving pin 10 is also connected to the ground end through the second resistor R2;

[0019] The input end of the second transistor Q2 is connected to the cathode of the diode D through the third resistor R3, the control end of the second transistor Q2 is connected to the data sending pin 12, and the output end of the second transistor Q2 is connected to the ground end; the supply voltage of the external first pull-up power supply 3 (for example: 5V) is less than the supply voltage of the external second pull-up power supply 5 (for example: 12V) and is between the high level and the low level of the PWM square wave signal output when the ultrasonic sensor 9 sends ultrasonic detection data to the main control chip 1.

[0020] The circuit of the embodiment of the utility model can effectively send ultrasonic control data in the form of PWM to the data interaction pin 90 of the ultrasonic sensor 9 by adding a first transistor Q1, a second transistor Q2 and a diode D, and using the data receiving pin 10 to control the second transistor Q2 to be alternately turned on and off; and when the data interaction pin 90 of the ultrasonic sensor 9 sends ultrasonic detection data, since the power supply voltage of the external first pull-up power supply 3 is between the high level voltage and the low level voltage output by the data interaction pin 90, the first transistor Q1 is alternately turned on and off, so that the main control chip 1 The level state of the data receiving pin 10 is alternately between a high level and a low level, thereby realizing the data transmission from the ultrasonic sensor 9 to the main control chip 1; moreover, since the level voltage output by the data interaction pin 90 is only used to control the conduction and disconnection of the first transistor Q1, it will not be transmitted to the data receiving pin 10 of the main control chip 1, thereby avoiding the internal reference voltage of the main control chip 1 being incompatible with the level voltage output by the data interaction pin 90; in addition, the data receiving pin 10 and the data interaction pin 90 are isolated and the circuit is protected against reverse connection through the diode D, thereby improving the compatibility and safety of the circuit.

[0021] In a specific implementation, the input end, output end and control end of the first transistor Q1 and the second transistor Q2 may be different according to the specific selection of the transistors, such as Figure 1 As shown in the figure, the first transistor Q1 is a PNP transistor, whose input end, output end and control end are respectively an emitter, a collector and a base; the second transistor Q2 is an NPN transistor, whose input end, output end and control end are respectively a collector, an emitter and a base; in addition, the ultrasonic sensor 9 sends ultrasonic detection data to the main control chip 1, which is based on the principle of single-line data transmission and uses time-sharing to send high and low levels of PWM square wave signals.

[0022] In an optional embodiment of the present invention, the output end of the first transistor Q1 is connected to the data receiving pin 10 through a fourth resistor R4. In this embodiment, the data receiving pin 10 of the main control chip 1 can be effectively protected by adding the fourth resistor R4.

[0023] In an optional embodiment of the present invention, the cathode of the diode D is connected to the external second pull-up power supply 5 through a fifth resistor R5. In this embodiment, the fifth resistor R5 is added to prevent the data interaction pin 90 of the ultrasonic sensor 9 from being directly connected to the external second pull-up power supply 5, thereby realizing circuit protection.

[0024] In an optional embodiment of the present invention, the cathode of the diode D is further connected to the ground terminal via a first capacitor C1. In this embodiment, by adding the first capacitor C1, the fluctuation and noise of the output voltage of the communication port 7 can be effectively reduced, thereby improving the stability of the circuit.

[0025] In an optional embodiment of the utility model, the external first pull-up power supply 3 is further connected to the control end of the first transistor Q1 through a parallel body composed of a second capacitor C2 and a sixth resistor R6. In this embodiment, by adding the second capacitor C2 and the sixth resistor R6, the two form an RC filter circuit, which effectively filters out interference in the input circuit of the external first pull-up power supply 3 and improves the stability of the circuit.

[0026] The embodiments of the utility model are described above in conjunction with the accompanying drawings, but the utility model is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the utility model, ordinary technicians in this field can also make many forms without departing from the scope of protection of the utility model and the claims, which all belong to the protection scope of the utility model.

Claims

1. An ultrasonic data transceiver circuit, comprising a main control chip, wherein the main control chip has a data receiving pin for receiving ultrasonic detection data and a data sending pin for sending ultrasonic control data, characterized in that: The circuit further includes a first transistor Q1, a second transistor Q2 and a diode D, wherein: The input end of the first transistor Q1 is connected to an external first pull-up power supply, the control end of the first transistor Q1 is connected to the positive electrode of the diode D through the first resistor R1, the negative electrode of the diode D is connected to the external second pull-up power supply on the one hand, and is connected to the data exchange pin of the ultrasonic sensor as the communication port of the circuit on the other hand, the output end of the first transistor Q1 is connected to the data receiving pin, and the data receiving pin is also connected to the ground end through the second resistor R2; The input end of the second transistor Q2 is connected to the cathode of the diode D through the third resistor R3, the control end of the second transistor Q2 is connected to the data sending pin, and the output end of the second transistor Q2 is connected to the ground end; The supply voltage of the external first pull-up power supply is less than the supply voltage of the external second pull-up power supply and is between the high level and the low level of the PWM square wave signal output by the ultrasonic sensor when sending ultrasonic detection data to the main control chip.

2. The ultrasonic data transceiver circuit according to claim 1, characterized in that: The output end of the first transistor Q1 is connected to the data receiving pin through a fourth resistor R4.

3. The ultrasonic data transceiver circuit according to claim 1, characterized in that: The cathode of the diode D is connected to the external second pull-up power source through a fifth resistor R5.

4. The ultrasonic data transceiver circuit according to claim 1, characterized in that: The cathode of the diode D is also connected to the ground terminal through the first capacitor C1.

5. The ultrasonic data transceiver circuit according to claim 1, characterized in that: The external first pull-up power source is also connected to the control end of the first transistor Q1 through a parallel body consisting of a second capacitor C2 and a sixth resistor R6.