Output circuit and method compatible with source type and drain type interface circuits and laser radar

By designing an output circuit that is compatible with source and sink interface circuits, the first switching transistor, inverter and bidirectional current detection circuit are used to improve the compatibility and reliability of lidar, solving the problem of poor compatibility of lidar and reliability of solid-state relays. Solve the problem of deficiencies and achieve compatibility and high-reliability output for different interface circuits.

CN112764011BActive Publication Date: 2024-08-30WUHAN WANJI INFORMATION TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011566204.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-25
Publication Date
2024-08-30
Estimated Expiration
2040-12-25

AI Technical Summary

Technical Problem

Existing lidar has poor compatibility and is difficult to be compatible with source and sink interface circuits, resulting in increased production costs and inconvenience for users. In addition, solid-state relays have insufficient overload sensitivity and anti-interference capabilities, making it difficult to meet the high reliability requirements of industrial applications. .

Method used

Design an output circuit that is compatible with source and sink interface circuits. It uses a first switching transistor, an inverter and a second switching transistor to achieve selective output of NPN and PNP switching signals through a control signal and a bidirectional current detection circuit. , and set up an overvoltage protection circuit to prevent circuit overload.

Benefits of technology

It improves the compatibility and working reliability of lidar, can selectively output switching signals according to different types of interface circuits, prevents circuit overload caused by excessive current, and keeps the power supply voltage within a predetermined range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112764011B
    Figure CN112764011B
Patent Text Reader

Abstract

The present disclosure relates to an output circuit and method compatible with source-type and drain-type interface circuits and a laser radar, wherein the output circuit may include a first switch transistor, an inverter, and a second switch transistor, wherein the gate of the first switch transistor is used to receive a control signal, and the drain of the first switch transistor is used to output a PNP switch signal; the input of the inverter is connected to the drain of the first switch transistor, and the output of the inverter is connected to the gate of the second switch transistor to control the action of the second switch transistor; and the source of the second switch transistor is used to output an NPN switch signal. The output circuit and method of the present disclosure can selectively output an NPN switch signal or a PNP switch signal according to different types of interface circuits, thereby improving the compatibility of the laser radar.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of laser radar technology. More specifically, the present disclosure relates to an output circuit and method for compatible source-type and sink-type interface circuits and a laser radar. Background Art

[0002] As the core sensor of the intelligent collision avoidance system, LiDAR is widely used in industrial fields such as Automated Guided Vehicle (AGV) and industrial robots. In actual application, LiDAR can detect objects in its scanning area by emitting laser beams, and when obstacles or intruders enter the scanning area, LiDAR can output alarm signals through input / output, so that AGVs and industrial robots can perform operations such as deceleration, parking and alarm after receiving the alarm signal, thereby protecting the safety of people and equipment at industrial sites.

[0003] However, since the interface circuits for receiving alarm signals of AGVs and industrial robots are usually divided into source type and sink type, and the source type and sink type interface circuits need to be connected to the corresponding NPN type or PNP type output interface laser radars, laser radar manufacturers generally need to design and produce two types of NPN and PNP laser radars to meet the needs of different users, which greatly increases the production costs of laser radar manufacturers. In addition, in actual use, some users may not know whether they need to use NPN laser radars or PNP laser radars, which brings a lot of trouble and inconvenience to users.

[0004] In this regard, although relevant literature has proposed the use of solid-state relays to achieve compatibility of different types of interfaces, solid-state relays are more sensitive to overload and have poor anti-interference and radiation resistance capabilities, resulting in low operating reliability, making it difficult to meet the high reliability requirements in industrial applications.

[0005] Therefore, it is necessary to develop an output circuit or laser radar to improve the poor compatibility of traditional laser radar. Summary of the invention

[0006] In order to solve one or more of the technical problems mentioned above, the present disclosure provides an output circuit and method compatible with source-type and drain-type interface circuits, and a laser radar, so as to improve the problem of poor compatibility of traditional laser radars.

[0007] In a first aspect, the present disclosure provides an output circuit compatible with source-type and sink-type interface circuits, the output circuit may include a first switching transistor, an inverter, and a second switching transistor, wherein the gate of the first switching transistor is used to receive a control signal, and the drain of the first switching transistor is used to output a PNP-type switching signal; the input of the inverter is connected to the drain of the first switching transistor, and the output of the inverter is connected to the gate of the second switching transistor for controlling the action of the second switching transistor; and the source of the second switching transistor is used to output an NPN-type switching signal.

[0008] In an exemplary embodiment, the output circuit may further include: a first diode, an anode of the first diode is connected to the drain of the first switching transistor to output a PNP type switching signal through the cathode of the first diode; and / or a second diode, a cathode of the second diode is connected to the source of the second switching transistor to output an NPN type switching signal through the anode of the second diode.

[0009] In an exemplary embodiment, the output circuit may further include a bidirectional current detection circuit, and the cathode of the first diode is connected to the input end of the bidirectional current detection circuit so that the control current flows unidirectionally from the drain of the first switching transistor to the input end of the bidirectional current detection circuit; and / or the anode of the second diode is connected to the input end of the bidirectional current detection circuit so that the control current flows unidirectionally from the input end of the bidirectional current detection circuit to the source of the second switching transistor.

[0010] In an exemplary embodiment, the output circuit may further include: a common-phase converter, wherein an input terminal of the common-phase converter is used to receive a control signal, and an output terminal of the common-phase converter is connected to a gate of the first switch transistor.

[0011] In an exemplary embodiment, the bidirectional current detection circuit may have a feedback terminal, which is used to output a voltage feedback signal. The feedback terminal of the bidirectional current detection circuit can be connected to the enable terminal of the inverter to control the operation and shutdown of the inverter; and the feedback terminal of the bidirectional current detection circuit can also be connected to the enable terminal of the common-phase converter to control the operation and shutdown of the common-phase converter.

[0012] In an exemplary embodiment, the bidirectional current detection circuit may include a current sampling circuit, a voltage detection circuit and a voltage feedback circuit, wherein the current sampling circuit includes a resistor; the voltage detection circuit is connected in parallel at both ends of the current sampling circuit to measure the voltage value at both ends of the current sampling circuit and convert it into a voltage signal; and the input end of the voltage feedback circuit is connected to the output end of the voltage detection circuit, and the output end of the voltage feedback circuit is used as the feedback end of the bidirectional current detection circuit.

[0013] In an exemplary embodiment, the voltage feedback circuit may include a threshold circuit and a voltage comparator, wherein the threshold circuit is used to generate a threshold voltage, and the voltage comparator is used to output a voltage feedback signal when the voltage signal output by the voltage detection circuit is greater than the threshold voltage.

[0014] In an exemplary embodiment, the output circuit may further include a bootstrap circuit for boosting the control signal, wherein the input of the bootstrap circuit is used to receive the control signal from the in-phase converter, and the output of the bootstrap circuit is connected to the gate of the first switching transistor.

[0015] In an exemplary embodiment, the output circuit may further include a controller, wherein an output terminal of the controller is connected to an input terminal of the in-phase converter for outputting a control signal.

[0016] In an exemplary embodiment, the output terminal of the bidirectional current detection circuit can be used to connect to an external device to serve as the output terminal of the output circuit.

[0017] In an exemplary embodiment, the output circuit may further include an overvoltage protection circuit, the output end of which is connected to the drain of the first switching transistor and the drain of the second switching transistor, so as to control the supply voltage to remain within a predetermined range when the supply voltage is higher than a predetermined value.

[0018] In a second aspect, the present disclosure also provides a laser radar, which may include the output circuit described in the first aspect and its multiple embodiments above.

[0019] In a third aspect, the present disclosure also provides a method for compatible source-type and sink-type interface circuits, which may include: providing a control signal to the gate of a first switching transistor to output a first logic level that is the same as the logic of the control signal via the drain of the first switching transistor so as to output a PNP-type switching signal; providing the first logic level to an inverter to convert it into a second logic level that is opposite to the logic of the control signal; and providing the second logic level to the gate of a second switching transistor so as to output an NPN-type switching signal via the source of the second switching transistor.

[0020] In an exemplary embodiment, the method for compatible source-type and sink-type interface circuits may further include: providing a first diode at the drain of the first switching transistor, the anode of the first diode being connected to the drain of the first switching transistor to output a PNP-type switching signal through the cathode of the first diode; and providing a second diode at the source of the second switching transistor, the cathode of the second diode being connected to the source of the second switching transistor to output an NPN-type switching signal through the anode of the second diode.

[0021] In an exemplary embodiment, the method for compatible source and sink type interface circuits may further include: providing a common-phase converter, wherein the input of the common-phase converter is used to receive a control signal, and the output of the common-phase converter goes to the gate of the first switch transistor.

[0022] In an exemplary embodiment, the method for compatible source-type and sink-type interface circuits may also include: providing a bidirectional current detection circuit, the cathode of the first diode being connected to the input end of the bidirectional current detection circuit so that the control current flows unidirectionally from the drain of the first switching transistor to the input end of the bidirectional current detection circuit; and / or the anode of the second diode being connected to the input end of the bidirectional current detection circuit so that the control current flows unidirectionally from the input end of the bidirectional current detection circuit to the source of the second switching transistor.

[0023] In an exemplary embodiment, the bidirectional current detection circuit may have a feedback terminal, which is used to output a voltage feedback signal. The feedback terminal of the bidirectional current detection circuit can be connected to the enable terminal of the inverter to control the operation and shutdown of the inverter; and the feedback terminal of the bidirectional current detection circuit can also be connected to the enable terminal of the common-phase converter to control the operation and shutdown of the common-phase converter.

[0024] In an exemplary embodiment, the bidirectional current detection circuit may include a current sampling circuit, a voltage detection circuit and a voltage feedback circuit, the current sampling circuit includes a resistor; the voltage detection circuit is connected in parallel at both ends of the current sampling circuit to measure the voltage value at both ends of the current sampling circuit and convert it into a voltage signal; and the input end of the voltage feedback circuit is connected to the output end of the voltage detection circuit, and the output end of the voltage feedback circuit is used as the feedback end of the bidirectional current detection circuit.

[0025] In an exemplary embodiment, the voltage feedback circuit may include a threshold circuit and a voltage comparator, wherein the threshold circuit is used to generate a threshold voltage, and the voltage comparator is used to output a voltage feedback signal when the voltage signal output by the voltage detection circuit is greater than the threshold voltage.

[0026] The output circuit and method of the exemplary embodiment of the present disclosure can selectively output an NPN-type switching signal or a PNP-type switching signal according to different types of interface circuits by providing a first switching transistor, a second switching transistor, and an inverter, so that the laser radar with the output circuit of the present disclosure can be compatible with source-type and drain-type interface circuits, thereby improving the compatibility of the laser radar. In addition, the output circuit and method in some embodiments of the present disclosure can prevent circuit overload caused by excessive current by providing a bidirectional current detection circuit and an overvoltage protection circuit, and can keep the power supply voltage within a predetermined range, thereby improving the working reliability of the laser radar. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] By reading the detailed description below with reference to the accompanying drawings, the above and other purposes, features and advantages of the exemplary embodiments of the present disclosure will become readily understood. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, and the same or corresponding reference numerals represent the same or corresponding parts, wherein:

[0028] Figure 1 is a schematic diagram showing an output circuit of a compatible source-type and sink-type interface circuit according to an exemplary embodiment of the present disclosure;

[0029] Figure 2 is a schematic diagram showing an output circuit of a compatible source-type and sink-type interface circuit according to another exemplary embodiment of the present disclosure;

[0030] Figure 3 is a schematic diagram showing a bidirectional current detection circuit of an output circuit according to an exemplary embodiment of the present disclosure; and

[0031] Figure 4 is a flow chart illustrating a method of compatible source and sink type interface circuits according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present disclosure.

[0033] It should be understood that the terms "first", "second", "third", "fourth", etc. in the claims, specifications and drawings of the present disclosure are used to distinguish different objects rather than to describe a specific order. The terms "include" and "comprise" used in the specifications and claims of the present disclosure indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or their collections.

[0034] It should also be understood that the terms used in this disclosure are only for the purpose of describing specific embodiments and are not intended to limit the disclosure. As used in this disclosure and claims, the singular forms of "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise. It should also be further understood that the term "and / or" used in this disclosure and claims refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations.

[0035] As used in this specification and claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0036] The specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0037] Figure 1 is a schematic diagram illustrating an output circuit of a compatible source-type and sink-type interface circuit according to an exemplary embodiment of the present disclosure.

[0038] like Figure 1 As shown, an exemplary embodiment of the present disclosure provides an output circuit compatible with source-type and sink-type interface circuits, and the output circuit may include: a first switch transistor 100, a second switch transistor 200, and an inverter 300. Specifically, the gate of the first switch transistor 100 is used to receive a control signal, and the drain of the first switch transistor 100 is used to output a PNP-type switch signal; the input end of the inverter 300 is connected to the drain of the first switch transistor 100, and the output end of the inverter 300 is connected to the gate of the second switch transistor 200 to control the action of the second switch transistor 200; and the source of the second switch transistor 200 is used to output an NPN-type switch signal.

[0039] Specifically, in an exemplary embodiment, the first switch transistor 100 may include a triode switch, such as an NMOS transistor high-end switch or a PMOS transistor high-end switch. The source of the first switch transistor 100 may be used to connect the control voltage VCC, and the gate of the first switch transistor 100 may be used to receive a control signal output by the controller of the laser radar. When the control signal is at a low level "0", the first switch transistor 100 is turned off, and at this time, no control current flows out of the drain of the first switch transistor 100, so the drain of the first switch transistor 100 outputs a low level "0". When the above control signal is at a high level "1", the first switch transistor 100 is turned on, and at this time, a control current flows out of the drain of the first switch transistor 100, so the drain of the first switch transistor 100 outputs a high level "1".

[0040] Further, in an exemplary embodiment, the second switch transistor 200 may also include a triode switch, such as an NMOS transistor low-end switch or a PMOS transistor low-end switch. The source of the second switch transistor 200 may be used to connect the control voltage VCC, and the gate of the second switch transistor 200 may be used to receive a control signal output by the controller of the laser radar. When the control signal is at a low level "0", the second switch transistor 200 is turned off, and no control current flows out of the drain of the second switch transistor 200. When the control signal is at a high level "1", the second switch transistor 200 is turned on, and a control current flows out of the drain of the second switch transistor 200.

[0041] Further, in an exemplary embodiment, the inverter 300 can be used to invert the phase of the input signal by 180 degrees, and can include an inverter circuit, such as a CMOS inverter circuit. In addition, the inverter 300 can have an input terminal, an output terminal, and an enable terminal, the enable terminal can be used to control the operation and shutdown of the inverter 300, and the initial state of the inverter 300 is a working state, that is, an enabled state. It can be understood that when a low level "0" is input to the input terminal of the inverter 300, the output terminal of the inverter 300 outputs a high level "1"; and when a high level "1" is input to the input terminal of the inverter 300, the output terminal of the inverter 300 outputs a low level "0".

[0042] In the following, further reference will be made to Figure 1 The output process of the switching signal of the output circuit when the output circuit of the present disclosure is connected to an external device having a source interface circuit or a sink interface circuit is described in detail.

[0043] In an exemplary application scenario, it can be assumed that: when the laser radar does not detect an obstacle, the control signal output by the laser radar to the input end of the output circuit of the present invention is a low level "0"; and when the laser radar detects an obstacle, the control signal output by the laser radar to the input end of the output circuit of the present invention is a high level "1".

[0044] In the first case, when the interface circuit of the external device is a leakage interface circuit, the external device receives a PNP type switch signal, so the laser radar needs to be connected to the external device as a PNP type sensor. In this case, when a signal is triggered, the output end of the output circuit is connected to the power supply and outputs a high level, and the current flows from the power supply through the output end of the output circuit to the external device, and then flows through the external device to the ground end.

[0045] Therefore, reference Figure 1 It can be understood that, in the case where the interface circuit of the external device is a leakage type interface circuit, when the laser radar does not detect an obstacle, the laser radar outputs a low level "0" to the input end of the output circuit of the present disclosure. The gate of the first switch transistor 100, as the input end of the output circuit of the present disclosure, receives the low level "0" and turns off the first switch transistor 100, so that the current cannot flow to the external device through the first switch transistor 100, and therefore no current flows in the external device, which is a low level "0".

[0046] When the laser radar detects an obstacle, the laser radar outputs a high level "1" to the input end of the output circuit of the present invention. The gate of the first switch transistor 100, as the input end of the output circuit of the present invention, receives the high level "1" and turns on the first switch transistor 100, so that the current can flow directly to the external device through the drain of the first switch transistor 100. Therefore, the current flows in the external device as a high level "1".

[0047] Therefore, it can be understood that when the interface circuit of the external device is a leakage type interface circuit, when the laser radar outputs "0", the external device receives "0"; and when the laser radar outputs "1", the external device receives "1". In other words, when the interface circuit of the external device is a leakage type interface circuit, when a signal is triggered, the output end of the output circuit is connected to the power supply, and the current can flow from the power supply to the external device through the output end of the output circuit. Therefore, the output circuit of the present disclosure can be connected to an external device with a leakage type interface circuit as a PNP type sensor.

[0048] In the second case, when the interface circuit of the external device is a source interface circuit, the external device receives an NPN switch signal, so the laser radar needs to be connected to the external device as an NPN sensor. In this case, when a signal is triggered, the output terminal of the output circuit is connected to the ground terminal and outputs a low level, and the current flows from the power supply through the external device to the output terminal of the output circuit, and then flows to the ground terminal.

[0049] Therefore, reference Figure 1 It can be understood that, in the case where the interface circuit of the external device is a source type interface circuit, when the laser radar does not detect an obstacle, the laser radar outputs a low level "0" to the input end of the output circuit of the present disclosure. The gate of the first switch transistor 100, as the input end of the output circuit of the present disclosure, receives the low level "0" and turns off the first switch transistor 100, so that the drain of the first switch transistor 100 outputs a low level "0". Further, since the input end of the inverter is connected to the drain of the first switch transistor 100, the inverter receives the low level "0" and outputs a high level "1" to the gate of the second switch transistor 200, so that the second switch transistor 200 is turned on, so that the current can flow from the external device to the source of the second switch transistor 200, and flow to the ground terminal through the drain of the second switch transistor 200, so that there is current flowing in the external device as a high level "1".

[0050] When the laser radar detects an obstacle, the laser radar outputs a high level "1" to the input end of the output circuit of the present invention. The gate of the first switch transistor 100, as the input end of the output circuit of the present invention, receives the high level "1" and turns on the first switch transistor 100, so that the drain of the first switch transistor 100 outputs a high level "1". Further, since the input end of the inverter is connected to the drain of the first switch transistor 100, the inverter receives the high level "1" and outputs a low level "0" to the gate of the second switch transistor 200, so that the second switch transistor 200 is turned off, so that current cannot flow from the external device to the drain of the second switch transistor 200, so no current flows in the external device as a low level "0".

[0051] Therefore, it can be understood that when the interface circuit of the external device is a source-type interface circuit, when the laser radar outputs "0", the external device receives "1"; and when the laser radar outputs "1", the external device receives "0". In other words, when the interface circuit of the external device is a source-type interface circuit, when a signal is triggered, the output terminal of the output circuit is connected to the ground terminal, and the current can flow from the external device to the ground terminal through the output terminal of the output circuit. Therefore, the output circuit of the present disclosure can be connected to an external device with a source-type interface circuit as an NPN-type sensor.

[0052] Therefore, combining the two situations described above, it can be understood that the output circuit of the present invention is compatible with external devices with source-type interface circuits and external devices with drain-type interface circuits, thereby improving the problem of poor compatibility of traditional lidars.

[0053] In an exemplary embodiment, Figure 1 As shown, the output circuit according to the exemplary embodiment of the present disclosure may further include: a first diode 400 , the anode of which is connected to the drain of the first switch transistor 100 to output a PNP type switch signal through the cathode of the first diode 400 .

[0054] Specifically, the anode of the first diode 400 can be connected to the drain of the first switch transistor 100, and the cathode of the first diode 400 can be used as the output end of the output circuit for outputting the PNP type switch signal. Since the first diode 400 has a unidirectional conduction characteristic, when the interface circuit of the external device is a source type interface circuit, no current can flow into the output circuit when the second switch transistor 200 is turned off, and the current can also be blocked from flowing from the external device to the input end of the inverter 300, so as to prevent the input end of the inverter 300 from being disturbed.

[0055] Figure 2 is a schematic diagram illustrating an output circuit of a compatible source-type and sink-type interface circuit according to another exemplary embodiment of the present disclosure.

[0056] In an exemplary embodiment, Figure 2 As shown, the output circuit according to the exemplary embodiment of the present disclosure may further include: a second diode 500 , the cathode of the second diode 500 is connected to the source of the second switch transistor 200 to output an NPN type switch signal through the anode of the second diode 500 .

[0057] Specifically, the cathode of the second diode 500 can be connected to the source of the second switch transistor 200, and the anode of the second diode 500 can be used as the output end of the output circuit for outputting the NPN type switch signal. Since the second diode 500 has a unidirectional conduction characteristic, the control current can flow unidirectionally from the output end of the output circuit to the source of the second switch transistor 200.

[0058] In an exemplary embodiment, Figure 2As shown, the output circuit according to the exemplary embodiment of the present disclosure may also include: a common-phase converter 600, which can be used to increase the current of the control signal. The common-phase converter 600 has an input terminal, an output terminal and an enable terminal, and the enable terminal can be used to control the operation and shutdown of the common-phase converter 600, and the initial state of the common-phase converter 600 is a working state, that is, an enable state. The input terminal of the common-phase converter 600 is used to receive the control signal, and the output terminal of the common-phase converter 600 goes to the gate of the first switch transistor 100 to increase the current of the control signal.

[0059] In an exemplary embodiment, Figure 2 As shown, the output circuit according to the exemplary embodiment of the present disclosure may further include a bidirectional current detection circuit 700, which can be used to detect the magnitude of the current of the output circuit. The input and output ends of the above-mentioned bidirectional current detection circuit 700 can be connected to the first diode 400 and / or the second diode 500, and the output end of the bidirectional current detection circuit 700 can be used as the output end of the output circuit for connecting to an external device.

[0060] Specifically, the cathode of the first diode 400 can be connected to the input end of the bidirectional current detection circuit 700, so that the control current flows unidirectionally from the drain of the first switch transistor 100 to the input end of the bidirectional current detection circuit 700. Alternatively, the anode of the second diode 500 can also be connected to the input end of the bidirectional current detection circuit 700, so that the control current flows unidirectionally from the input end of the bidirectional current detection circuit 700 to the source of the second switch transistor 200.

[0061] In an exemplary embodiment, Figure 2 As shown, the bidirectional current detection circuit 700 may have a feedback terminal, which is used to output a voltage feedback signal, and the feedback terminal of the bidirectional current detection circuit 700 may be connected to the enable terminal of the inverter 300 to control the operation and shutdown of the inverter 300. In addition, in an exemplary embodiment, the feedback terminal of the bidirectional current detection circuit 700 may also be connected to the enable terminal of the in-phase converter 600 to control the operation and shutdown of the in-phase converter 600.

[0062] It can be understood that the bidirectional current detection circuit 700 can be used to detect the magnitude of the current in the output circuit. When the current in the output circuit is too large, the feedback end of the bidirectional current detection circuit 700 can send a voltage feedback signal to the enable end of the common-phase converter 600 and / or the inverter 300 to shut down the common-phase converter 600 and / or the inverter 300 to prevent the output circuit from overloading.

[0063] Figure 3is a schematic diagram illustrating a bidirectional current detection circuit of an output circuit according to an exemplary embodiment of the present disclosure.

[0064] In an exemplary embodiment, Figure 3 As shown, the above-mentioned bidirectional current detection circuit 700 may include a current sampling circuit 610, a voltage detection circuit 620 and a voltage feedback circuit 630, wherein the current sampling circuit 610 may include a resistor; the voltage detection circuit 620 may be connected in parallel at both ends of the current sampling circuit 610 to measure the voltage value at both ends of the current sampling circuit 610 and convert it into a voltage signal; and the input end of the voltage feedback circuit 630 may be connected to the output end of the voltage detection circuit 620 to receive the voltage signal, and the output end of the voltage feedback circuit 630 is used as the feedback end of the bidirectional current detection circuit 700.

[0065] In an exemplary embodiment, the voltage feedback circuit 630 may include a threshold circuit and a voltage comparator. Specifically, the threshold circuit may be used to generate a threshold voltage, and the voltage comparator may be used to compare the voltage signal output by the voltage detection circuit 620 with the threshold voltage, and output a voltage feedback signal when the voltage signal output by the voltage detection circuit 620 is greater than the threshold voltage.

[0066] In an exemplary embodiment, Figure 2 As shown, the output circuit according to the exemplary embodiment of the present disclosure may further include a bootstrap circuit 800 for boosting the control signal, the input end of the bootstrap circuit 800 is used to receive the control signal from the in-phase converter 600, and the output end of the bootstrap circuit 800 is connected to the gate of the first switch transistor 100 to output the control signal to the gate of the first switch transistor 100. In particular, in an exemplary embodiment, the above-mentioned bootstrap circuit 800 may include a basic bootstrap circuit, an undervoltage lockout circuit, and a bootstrap voltage clamp circuit.

[0067] In an exemplary embodiment, Figure 2 As shown, the output circuit according to the exemplary embodiment of the present disclosure may further include a controller 900, which is used to output a control signal of the laser radar. Specifically, the output end of the controller 900 can be connected to the input end of the in-phase converter 600 to output the control signal.

[0068] In an exemplary embodiment, Figure 2As shown, the output circuit according to the exemplary embodiment of the present disclosure may further include an overvoltage protection circuit 1100, the output end of which may be connected to the drain of the first switch transistor 100 and the drain of the second switch transistor 200, so as to control the supply voltage to remain within a predetermined range when the supply voltage is higher than a predetermined value. Therefore, the output circuit of the exemplary embodiment of the present disclosure can improve the reliability of the output circuit by setting the overvoltage protection circuit.

[0069] In addition, the present disclosure also provides a laser radar, which may include the output circuit described in the above multiple exemplary embodiments. Specifically, the output circuit can be used to output the control signal (such as an alarm signal) of the laser radar to various control terminals, such as outputting the alarm signal of detecting an intruder entering the scanning area to the control device of the AGV vehicle.

[0070] Figure 4 is a schematic diagram illustrating a method of compatible source type and sink type interface circuits according to an exemplary embodiment of the present disclosure.

[0071] like Figure 4 As shown, the present disclosure also provides a method for compatible source-type and drain-type interface circuits, which may include: providing a control signal to the gate of a first switching transistor to output a first logic level that is the same as the logic of the control signal via the drain of the first switching transistor, so as to output a PNP-type switching signal (S100); providing the first logic level to an inverter to convert it into a second logic level that is opposite to the logic of the control signal (S200); and providing the second logic level to the gate of a second switching transistor to output an NPN-type switching signal via the source of the second switching transistor (S300).

[0072] In an exemplary embodiment, Figure 4 As shown, the method of the compatible source and drain type interface circuit of the present disclosure may further include: providing a first diode at the drain of the first switch transistor, the anode of the first diode being connected to the drain of the first switch transistor, so as to output a PNP type switch signal through the cathode of the first diode (S400). Further, the method according to the exemplary embodiment of the present disclosure may further include: providing a second diode at the source of the second switch transistor, the cathode of the second diode being connected to the source of the second switch transistor, so as to output an NPN type switch signal through the anode of the second diode (S500).

[0073] In an exemplary embodiment, Figure 4As shown, the method of compatible source and sink type interface circuits according to an exemplary embodiment of the present disclosure may also include: providing a common-phase converter, the input end of the common-phase converter is used to receive a control signal, and the output end of the common-phase converter goes to the gate of the first switching transistor (S600).

[0074] In an exemplary embodiment, Figure 4 As shown, the method for compatible source and drain type interface circuits may also include: providing a bidirectional current detection circuit, and the input end of the bidirectional current detection circuit may be connected to the cathode of the first diode, so that the control current flows unidirectionally from the drain of the first switch transistor to the input end of the bidirectional current detection circuit (S700). Optionally, the input end of the bidirectional current detection circuit may also be connected to the anode of the second diode, so that the control current flows unidirectionally from the input end of the bidirectional current detection circuit to the source of the second switch transistor.

[0075] Further, in an exemplary embodiment, the above-mentioned bidirectional current detection circuit may have a feedback terminal, which is used to output a voltage feedback signal, and the feedback terminal of the bidirectional current detection circuit may be connected to the enable terminal of the inverter to control the operation and shutdown of the inverter. Optionally, the feedback terminal of the bidirectional current detection circuit may also be connected to the enable terminal of the in-phase converter to control the operation and shutdown of the in-phase converter.

[0076] Furthermore, in an exemplary embodiment, the above-mentioned bidirectional current detection circuit may include a current sampling circuit, a voltage detection circuit and a voltage feedback circuit, the current sampling circuit includes a resistor; the voltage detection circuit is connected in parallel at both ends of the current sampling circuit to measure the voltage value at both ends of the current sampling circuit and convert it into a voltage signal; the input end of the voltage feedback circuit is connected to the output end of the voltage detection circuit, and the output end of the voltage feedback circuit is used as the feedback end of the bidirectional current detection circuit.

[0077] Furthermore, in an exemplary embodiment, the voltage feedback circuit may include a threshold circuit and a voltage comparator, wherein the threshold circuit is used to generate a threshold voltage, and the voltage comparator is used to output a voltage feedback signal when the voltage signal output by the voltage detection circuit is greater than the threshold voltage.

[0078] In combination with the various exemplary embodiments described above, those skilled in the art may understand that the present disclosure has at least the following two beneficial effects.

[0079] On the one hand, the output circuit of the exemplary embodiment of the present disclosure can selectively output an NPN type switching signal or a PNP type switching signal by setting a first switching transistor, a second switching transistor and an inverter. Therefore, the laser radar with the output circuit of the present disclosure can be compatible with source type and drain type interface circuits, thereby improving the problem of poor compatibility of traditional laser radars.

[0080] On the other hand, the output circuit of the exemplary embodiment of the present disclosure can prevent circuit overload and keep the supply voltage within a predetermined range by setting a bidirectional current detection circuit and an overvoltage protection circuit, thereby improving the operating reliability of the laser radar with the output circuit of the present disclosure.

[0081] In the above description of this specification, unless otherwise clearly specified and limited, the terms "fixed", "installed", "connected" or "connected" should be understood in a broad sense. For example, with regard to the term "connection", it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be the internal connection of two elements or the interaction relationship between two elements. Therefore, unless otherwise clearly defined in this specification, those skilled in the art can understand the specific meanings of the above terms in this disclosure according to the specific circumstances.

[0082] According to the above description of this specification, those skilled in the art may also understand that the terms used below, such as "up", "down", "front", "back", "left", "right", "length", "width", "thickness", "vertical", "horizontal", "top", "bottom", "inside", "outside", "axial", "radial", "circumferential", "center", "longitudinal", "lateral", "clockwise" or "counterclockwise", etc., which indicate orientation or position relationship, are based on the orientation or position relationship shown in the drawings of this specification, and are only for the purpose of facilitating the explanation of the scheme of the present disclosure and simplifying the description, rather than explicitly or implicitly indicating that the device or element involved must have the specific orientation, be constructed and operate in a specific orientation. Therefore, the above-mentioned orientation or position relationship terms cannot be understood or interpreted as limitations on the scheme of the present disclosure.

[0083] In addition, the terms "first" or "second" used in this specification to refer to numbers or ordinals are only used for descriptive purposes and cannot be understood as explicitly or implicitly indicating relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of this specification, the meaning of "plurality" is at least two, such as two, three or more, etc., unless otherwise clearly and specifically defined.

[0084] Although this specification has shown and described a plurality of embodiments of the present disclosure, it is obvious to those skilled in the art that such embodiments are provided by way of example only. Those skilled in the art will think of many changes, modifications and alternatives without departing from the ideas and spirit of the present disclosure. It should be understood that in the process of practicing the present disclosure, various alternatives to the embodiments of the present disclosure described herein may be adopted. The attached claims are intended to define the scope of protection of the present disclosure, and therefore cover the modular composition, equivalent or alternatives within the scope of these claims.

Claims

1. An output circuit compatible with source type and sink type interface circuits, the output circuit comprising a first switching transistor, an inverter and a second switching transistor, wherein: The gate of the first switch transistor is used to receive a control signal, and the drain of the first switch transistor is used to output a PNP type switch signal; The input end of the inverter is connected to the drain of the first switch transistor, and the output end of the inverter is connected to the gate of the second switch transistor to control the action of the second switch transistor; and The inverter is used to invert the phase of the input signal by 180 degrees; The source of the second switch transistor is used to output an NPN type switch signal.

2. The output circuit according to claim 1, wherein: The output circuit further comprises: a first diode, wherein an anode of the first diode is connected to a drain of the first switching transistor so as to output a PNP type switching signal through a cathode of the first diode; and / or A second diode, wherein a cathode of the second diode is connected to a source of the second switch transistor so as to output an NPN type switch signal through an anode of the second diode.

3. The output circuit according to claim 2, wherein: The output circuit further includes a bidirectional current detection circuit, and The cathode of the first diode is connected to the input end of the bidirectional current detection circuit so that the control current flows unidirectionally from the drain of the first switch transistor to the input end of the bidirectional current detection circuit; and / or The anode of the second diode is connected to the input end of the bidirectional current detection circuit so that the control current flows unidirectionally from the input end of the bidirectional current detection circuit to the source of the second switch transistor.

4. The output circuit according to claim 3, wherein: The output circuit further includes: A common-phase converter, wherein the input end of the common-phase converter is used to receive a control signal, and the output end of the common-phase converter is connected to the gate of the first switch transistor.

5. The output circuit according to claim 4, wherein: The bidirectional current detection circuit has a feedback terminal, and the feedback terminal is used to output a voltage feedback signal. The feedback terminal of the bidirectional current detection circuit is connected to the enable terminal of the inverter to control the operation and shutdown of the inverter; and The feedback terminal of the bidirectional current detection circuit is also connected to the enable terminal of the in-phase converter to control the operation and shutdown of the in-phase converter.

6. The output circuit according to claim 5, wherein: The bidirectional current detection circuit includes a current sampling circuit, a voltage detection circuit and a voltage feedback circuit, wherein: The current sampling circuit includes a resistor; The voltage detection circuit is connected in parallel to both ends of the current sampling circuit to measure the voltage value at both ends of the current sampling circuit and convert it into a voltage signal; and The input end of the voltage feedback circuit is connected to the output end of the voltage detection circuit, and the output end of the voltage feedback circuit is used as a feedback end of the bidirectional current detection circuit.

7. The output circuit according to claim 6, wherein: The voltage feedback circuit includes a threshold circuit and a voltage comparator. The threshold circuit is used to generate a threshold voltage. The voltage comparator is used to output a voltage feedback signal when the voltage signal output by the voltage detection circuit is greater than the threshold voltage.

8. The output circuit according to any one of claims 4 to 7, wherein: The output circuit further comprises a bootstrap circuit for boosting the control signal, an input terminal of the bootstrap circuit is used to receive the control signal from the in-phase converter, and an output terminal of the bootstrap circuit is connected to the gate of the first switching transistor.

9. The output circuit according to any one of claims 4 to 7, wherein: The output circuit further comprises a controller, wherein an output terminal of the controller is connected to an input terminal of the in-phase converter for outputting a control signal.

10. The output circuit according to any one of claims 3 to 7, wherein: The output end of the bidirectional current detection circuit is used to be connected to an external device to serve as the output end of the output circuit.

11. The output circuit according to any one of claims 1 to 7, wherein: The output circuit further comprises an overvoltage protection circuit, the output end of which is connected to the drain of the first switching transistor and the drain of the second switching transistor, so as to control the supply voltage to remain in a predetermined range when the supply voltage is higher than a predetermined value.

12. A laser radar comprising the output circuit according to any one of claims 1-11.

13. A method for compatible source and sink interface circuits, comprising: Providing a control signal to the gate of the first switch transistor to output a first logic level having the same logic as the control signal through the drain of the first switch transistor, so as to output a PNP type switch signal; Providing the first logic level to an inverter to be converted into a second logic level which is opposite in logic to the control signal; as well as The second logic level is provided to the gate of the second switch transistor so as to output an NPN type switch signal via the source of the second switch transistor.

14. The method according to claim 13, further comprising: Providing a first diode at the drain of the first switch transistor, wherein the anode of the first diode is connected to the drain of the first switch transistor, so as to output a PNP type switch signal through the cathode of the first diode; as well as A second diode is provided at the source of the second switch transistor, and a cathode of the second diode is connected to the source of the second switch transistor to output an NPN type switch signal through an anode of the second diode.

15. The method according to claim 14, further comprising: Providing a common-phase converter, wherein an input end of the common-phase converter is used to receive a control signal, and an output end of the common-phase converter is connected to a gate of the first switching transistor; as well as A bidirectional current detection circuit is provided, wherein the cathode of the first diode is connected to the input end of the bidirectional current detection circuit so that the control current flows unidirectionally from the drain of the first switch transistor to the input end of the bidirectional current detection circuit; and / or the anode of the second diode is connected to the input end of the bidirectional current detection circuit so that the control current flows unidirectionally from the input end of the bidirectional current detection circuit to the source of the second switch transistor; The bidirectional current detection circuit has a feedback terminal, which is used to output a voltage feedback signal. The feedback terminal of the bidirectional current detection circuit is connected to the enable terminal of the inverter to control the operation and shutdown of the inverter; and the feedback terminal of the bidirectional current detection circuit is also connected to the enable terminal of the in-phase converter to control the operation and shutdown of the in-phase converter; The bidirectional current detection circuit includes a current sampling circuit, a voltage detection circuit and a voltage feedback circuit, wherein the current sampling circuit includes a resistor; the voltage detection circuit is connected in parallel at both ends of the current sampling circuit to measure the voltage value at both ends of the current sampling circuit and convert it into a voltage signal; and the input end of the voltage feedback circuit is connected to the output end of the voltage detection circuit, and the output end of the voltage feedback circuit is used as the feedback end of the bidirectional current detection circuit; and The voltage feedback circuit includes a threshold circuit and a voltage comparator. The threshold circuit is used to generate a threshold voltage. The voltage comparator is used to output a voltage feedback signal when the voltage signal output by the voltage detection circuit is greater than the threshold voltage.

Citation Information

Patent Citations

  • Method and apparatus for protecting digital output circuits

    CN101639697A

  • Output circuit for programmable logic controller

    CN106896775A