CN220709332U - Port state detection circuit and angular radar position detection system - Google Patents
Port state detection circuit and angular radar position detection system Download PDFInfo
- Publication number
- CN220709332U CN220709332U CN202322395646.1U CN202322395646U CN220709332U CN 220709332 U CN220709332 U CN 220709332U CN 202322395646 U CN202322395646 U CN 202322395646U CN 220709332 U CN220709332 U CN 220709332U
- Authority
- CN
- China
- Prior art keywords
- circuit
- port
- voltage
- resistor
- detected
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 64
- 239000000725 suspension Substances 0.000 claims abstract description 3
- 239000003990 capacitor Substances 0.000 claims description 25
- 238000000034 method Methods 0.000 abstract 1
- 102100039435 C-X-C motif chemokine 17 Human genes 0.000 description 9
- 101000889048 Homo sapiens C-X-C motif chemokine 17 Proteins 0.000 description 9
- 238000010586 diagram Methods 0.000 description 3
- 230000005283 ground state Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 239000000969 carrier Substances 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Radar Systems Or Details Thereof (AREA)
Abstract
The application relates to a port state detection circuit and a radar position detection system, wherein the port state detection circuit comprises a switch circuit, a voltage division circuit, a power supply circuit and an anti-reflection circuit; the anti-reflection circuit is connected with the port to be detected and used for preventing the port to be detected from being short-circuited with a power supply, and the port to be detected comprises a grounding state and a suspension state; the voltage division circuit is connected with the anti-reflection circuit, and the power supply circuit is connected to the connection point of the voltage division circuit and the anti-reflection circuit; the power supply circuit is used for providing a conducting voltage for the switch circuit through the voltage dividing circuit; a voltage dividing circuit for dividing the voltage supplied from the power supply circuit; the switch circuit is connected with the voltage dividing circuit and is used for switching on the switch or switching off the switch according to the voltage after voltage division; when the port to be detected is in a suspended state, the switch circuit is conducted; when the port to be detected is in a grounding state, the switch circuit is closed. According to the method and the device, the state of the port to be detected can be accurately detected through the port state detection circuit, and then the accuracy of radar position identification is improved.
Description
Technical Field
The utility model relates to the technical field of automobile radars, in particular to a port state detection circuit and an angle radar position detection system.
Background
Radar is mainly used as a sensing sensor for detecting the surrounding environment; in particular in the field of intelligent automobiles, radars have become the core sensors for autopilot and assisted driving, whose role is also becoming increasingly prominent. Radar sensors, which are usually installed on vehicles, need to be fed back accurately to the autopilot controller or to the vehicle at the location of the vehicle.
In the related art, in the aspect of identifying four angle radars of an automobile, each angle radar is connected with a control device by using two paths of connectors, the two paths of connectors transmit two paths of state information of the corresponding angle radars to the control device, and the control device realizes the identification of radar positions according to the preset corresponding relation between radar positions and the two paths of state information. However, in the actual application of the whole vehicle, the positions of the four angle radars are all identified at the same position, so that the error of the whole vehicle is caused, namely, the radar position identification accuracy is lower.
Aiming at the problem of low accuracy of radar position identification in the related art, no effective solution is proposed at present.
Disclosure of Invention
In view of the above, it is necessary to provide a port state detection circuit and an angular radar position detection system.
In a first aspect, the present embodiment provides a port state detection circuit, including: a switch circuit, a voltage dividing circuit, a power supply circuit and an anti-reflection circuit;
the anti-reflection circuit is connected with the port to be detected and used for preventing the port to be detected from being short-circuited with a power supply, and the port to be detected comprises a grounding state and a suspension state;
the voltage dividing circuit is connected with the anti-reflection circuit, and the power supply circuit is connected to a connection point of the voltage dividing circuit and the anti-reflection circuit;
the power supply circuit is used for providing a conducting voltage for the switch circuit through the voltage dividing circuit;
the voltage dividing circuit is used for dividing the voltage provided by the power supply circuit;
the switch circuit is connected with the voltage dividing circuit and is used for switching on or switching off the switch according to the voltage after voltage division; when the port to be detected is in a suspended state, the switch circuit is conducted; and when the port to be detected is in a grounding state, the switch circuit is closed.
In one embodiment, the switching circuit includes: the switching tube, the first resistor and the first power supply;
the drain electrode of the switching tube is connected with one end of a first resistor, and the other end of the first resistor is connected to a first power supply; the source electrode of the switching tube is grounded; the grid electrode of the switching tube is connected to the voltage dividing circuit.
In one embodiment, the on voltage of the switching tube is 0.8V-1.5V.
In one embodiment, the switching circuit further comprises an output port;
the output port is connected to a connection point of the drain electrode of the switching tube and the first resistor and is used for outputting the state of the port to be detected.
In one embodiment, the voltage dividing circuit comprises a first capacitor, a second resistor and a third resistor;
one end of the third resistor is connected with the grid electrode of the switching tube, and the other end of the third resistor is connected to the anti-reflection circuit;
one end of the second resistor is connected to a connection point between the third resistor and the grid electrode of the switching tube, and the other end of the second resistor is grounded;
one end of the first capacitor is connected to a connection point between the third resistor and the grid electrode of the switch tube, and the other end of the first capacitor is grounded.
In one embodiment, the second resistor has the same resistance as the third resistor.
In one embodiment, the power supply circuit includes: a fourth resistor and a second power supply;
one end of the fourth resistor is connected with the second power supply, and the other end of the fourth resistor is connected to a connection point between the third resistor and the anti-reflection circuit.
In one embodiment, the anti-reflection circuit comprises a diode;
the positive pole of the diode is connected with the third resistor, and the negative pole of the diode is connected with the port to be detected.
In one embodiment, the port state detection circuit further comprises a second capacitor;
one end of the second capacitor is connected to the cathode of the diode, and the other end of the second capacitor is grounded.
In a second aspect, the present embodiment provides an angular radar position detection system, the system comprising: control device and four angle radars;
the four corner radars are respectively arranged at four corners of the radar carrier; each corner radar is correspondingly provided with two ports, and each port comprises a grounding state and a suspending state;
the control device is connected with the two ports of each angle radar through the port state detection circuits of any embodiment of the plurality of first aspects, and is used for acquiring states of the two ports of each angle radar; and determining the position of the angle radar in the radar carrier according to the states of the two ports of each angle radar.
The port state detection circuit comprises a switch circuit, a voltage division circuit, a power supply circuit and an anti-reflection circuit; the anti-reflection circuit is connected with the port to be detected, so that the port to be detected is prevented from being damaged by the short-circuit power supply of the port to be detected; the on or off state of the switch circuit is controlled through the voltage dividing circuit and the power supply circuit, so that the monitoring of the state of the port to be detected is realized; when the port to be detected is in a suspended state, the anti-reflection circuit is in a closed state, and the power supply circuit and the voltage dividing circuit provide voltages required for switching on for the switching circuit, so that the switching circuit is controlled to be switched on; when the port to be detected is in a grounding state, the anti-reflection circuit is in a conducting state, and the voltage provided by the voltage dividing circuit cannot reach the conducting condition of the switching circuit, so that the switching circuit is in a closing state. According to the on or off state of the switch circuit, the state of the corresponding port to be detected can be accurately determined, the position of the corresponding angle radar is determined according to the state of the port to be detected, and then the accuracy of radar position identification can be improved.
Drawings
In order to more clearly illustrate the technical solutions of embodiments or conventional techniques of the present application, the drawings required for the descriptions of the embodiments or conventional techniques will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
FIG. 1 is a block diagram of an overall port state detection circuit according to an embodiment;
FIG. 2 is a schematic diagram of a port status detection circuit according to an embodiment;
FIG. 3 is a schematic diagram of two sets of port state detection circuits according to an embodiment.
Reference numerals illustrate:
100. a switching circuit; 200. a voltage dividing circuit; 300. an anti-reflection circuit; 400. a power supply circuit; 500. a port to be detected; 510. a first port to be detected; 520. and the second port to be detected.
Detailed Description
In order to facilitate an understanding of the present application, a more complete description of the present application will now be provided with reference to the relevant figures. Examples of the present application are given in the accompanying drawings. This application may, however, be embodied in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first resistance may be referred to as a second resistance, and similarly, a second resistance may be referred to as a first resistance, without departing from the scope of the present application. Both the first resistor and the second resistor are resistors, but they are not the same resistor.
It is to be understood that in the following embodiments, "connected" is understood to mean "electrically connected", "communicatively connected", etc., if the connected circuits, modules, units, etc., have electrical or data transfer between them.
It is understood that "at least one" means one or more and "a plurality" means two or more. "at least part of an element" means part or all of the element.
As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," and/or the like, specify the presence of stated features, integers, steps, operations, elements, components, or groups thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof. Also, the term "and/or" as used in this specification includes any and all combinations of the associated listed items.
In the related art, in the aspect of identifying four angle radars of an automobile, the situation that the positions of the four angle radars are all identified on the same position exists, so that the error of the whole automobile is caused, and the accuracy of radar position identification cannot be ensured. To this end, the present application proposes a port state detection circuit and an angular radar position detection system.
In one embodiment, as shown in FIG. 1, the port state detection circuit includes: a switching circuit 100, a voltage dividing circuit 200, a power supply circuit 400, and an anti-reflection circuit 300;
the anti-reflection circuit 300 is connected with the port 500 to be detected, and is used for preventing the port 500 to be detected from being short-circuited with a power supply, wherein the port 500 to be detected comprises a grounding state and a suspending state;
the voltage dividing circuit 200 is connected with the anti-reflection circuit 300, and the power supply circuit 400 is connected to a connection point of the voltage dividing circuit 200 and the anti-reflection circuit 300;
a power supply circuit 400 for providing a turn-on voltage to the switching circuit 100 through the voltage dividing circuit 200;
a voltage dividing circuit 200 for dividing a voltage supplied from the power supply circuit 400;
the switch circuit 100 is connected with the voltage dividing circuit 200 and is used for switching on or switching off a switch according to the voltage after voltage division; when the port 500 to be detected is in a suspended state, the switch circuit 100 is turned on; when the port 500 to be detected is in the grounded state, the switch circuit 100 is turned off.
The anti-reflection circuit 300 comprises a conducting state and a closing state, and the anti-reflection circuit 300 also has unidirectional conductivity; the port to be detected further includes a ground offset state, where the ground offset state is that the voltage to ground of the port to be detected 500 is not 0V after being grounded, and a voltage offset is generated.
Specifically, when the port 500 to be detected shorts the power supply, the anti-reverse circuit 300 utilizes unidirectional conductivity, so that the power supply shorted by the port 500 to be detected cannot pass through the anti-reverse circuit 300, damage to the port state detection circuit caused by the shorted power supply is prevented, and anti-reverse connection protection of the port state detection circuit is realized.
Specifically, the state of the port 500 to be detected determines the on or off state of the anti-reflection circuit 300; for example, when the port 500 to be detected is in the grounded state, the anti-reflection circuit 300 is in the on state; when the port 500 to be detected is in a suspended state, the anti-reflection circuit 300 is in a closed state; when the port 500 to be detected is in the ground offset state, the anti-reflection circuit 300 is in the on state.
Specifically, the voltage dividing circuit 200 is connected to the anti-reflection circuit 300, and the power supply circuit 400 is connected to a connection point between the voltage dividing circuit 200 and the anti-reflection circuit 300, for implementing voltage dividing processing. For example, when the port 500 to be detected is in the grounded state, the anti-reflection circuit 300 is in the conductive state, and according to the unidirectional conductivity of the anti-reflection circuit 300, the voltage at the connection point of the voltage dividing circuit 200, the anti-reflection circuit 300 and the power supply circuit 400 depends on the conduction voltage drop of the anti-reflection circuit 300, and the voltage at the connection point is further divided by the voltage dividing circuit 200, where the conduction voltage drop of the anti-reflection circuit 300 is the voltage value required for conduction; similarly, when the port 500 to be detected is in the ground offset state, the anti-reflection circuit 300 is in a conductive state, and according to the unidirectional conductivity of the anti-reflection circuit 300, the voltage at the connection point of the voltage dividing circuit 200, the anti-reflection circuit 300 and the power supply circuit 400 depends on the conductive voltage drop of the anti-reflection circuit 300, and the voltage at the connection point is divided by the voltage dividing circuit 200; when the port 500 to be detected is in the suspended state, the anti-reflection circuit 300 is in the off state, and the power circuit 400 provides the voltage for the voltage dividing circuit 200, so as to realize voltage division.
Specifically, the voltage provided by the power circuit 400 is divided by the voltage dividing circuit 200 to provide the on voltage for the switch circuit 100. For example, when the port 500 to be detected is in the suspended state, the anti-reflection circuit 300 is in the off state, and at this time, the power supply circuit 400 is required to provide the switch circuit 100 with the on voltage, and the voltage output from the power supply circuit 400 is divided by the voltage dividing circuit 200, so as to ensure that the voltage output by the voltage dividing circuit 200 is sufficient to turn on the switch circuit 100.
Specifically, the voltage dividing circuit 200 is configured to divide a voltage provided by the power supply circuit 400. For example, when the port 500 to be detected is in a floating state, the voltage at the connection point of the voltage dividing circuit 200, the anti-reflection circuit 300 and the power circuit 400 is provided by the power circuit 400, the voltage at the connection point needs to be divided by the voltage dividing circuit 200, and the switch circuit 100 can be turned on by the divided voltage.
Specifically, the switch circuit 100 is provided with a conduction condition, that is, a conduction voltage; if the input voltage of the switching circuit 100 reaches the conduction condition, the switch can be turned on; otherwise, the switch is turned off. For example, when the port 500 to be detected is in the ground state or the ground offset state, the anti-reflection circuit 300 is in the conductive state, and according to the unidirectional conductivity of the anti-reflection circuit 300, the voltage at the connection point of the anti-reflection circuit 300 and the voltage dividing circuit 200 depends on the conduction voltage drop of the anti-reflection circuit 300, the voltage dividing circuit 200 divides the voltage at the connection point, and the voltage obtained by the voltage division cannot reach the conduction condition of the switch circuit 100, that is, cannot meet the voltage required by the conduction of the switch circuit 100; when the port 500 to be detected is in a suspended state, the anti-reflection circuit 300 is in a closed state, and at this time, the voltage at the connection point of the voltage dividing circuit 200, the anti-reflection circuit 300 and the power supply circuit 400 is provided by the power supply circuit 400, the voltage at the connection point is divided by the voltage dividing circuit 200, and the voltage obtained by the voltage division can reach the conduction condition of the switch circuit 100, i.e. the voltage required by the conduction of the switch circuit 100 can be satisfied.
In this embodiment, according to the on or off state of the switch circuit 100, the state of the corresponding port 500 to be detected can be accurately determined, and the position of the corresponding angular radar is determined according to the state of the port 500 to be detected, so that the accuracy of radar position identification can be improved.
In one embodiment, referring to fig. 2, the switching circuit 100 includes a switching tube Q, a first resistor R1, and a first power supply VCC1; the drain electrode of the switching tube Q is connected with one end of a first resistor R1, and the other end of the first resistor R1 is connected to a first power supply VCC1; the source electrode of the switching tube Q is grounded; the gate of the switching transistor Q is connected to the voltage dividing circuit 200.
Specifically, the switching tube Q includes a drain, a source, and a gate. The grid electrode of the switching tube Q is connected to the voltage dividing circuit 200, when the voltage provided by the voltage dividing circuit 200 reaches the conduction condition of the switching tube Q, the switching tube Q is conducted, namely the drain electrode and the source electrode of the switching tube Q are conducted, namely the first power supply VCC1 is grounded after passing through the first resistor R1; when the voltage provided by the voltage dividing circuit 200 does not reach the conducting condition of the switching tube Q, the switching tube Q is turned off, i.e. the drain electrode and the source electrode of the switching tube Q are disconnected, i.e. the first power supply VCC1 is not grounded after passing through the first resistor R1; the voltage provided by the voltage divider 200 is the voltage between the gate and the source, and is referred to as Vgs; the on condition, i.e., the on voltage between the gate and the source, is denoted as Vgsth.
In this embodiment, the switch circuit 100 can determine the state of the switch circuit 100 according to the state of the port 500 to be detected based on the on characteristic of the switch tube Q, and further can determine the level signal corresponding to the port to be detected, so as to provide support for accurately identifying the radar position.
In one embodiment, the turn-on voltage of the switching tube Q is 0.8V-1.5V.
Wherein, the on voltage is 0.8V-1.5V, namely the opening voltage Vgsth between the grid electrode and the source electrode is 0.8V-1.5V, the 0.8V is the minimum opening voltage of Vgsth, and the 1.5V is the maximum opening voltage of Vgsth.
Specifically, when the voltage between the gate and the source of the switching tube Q is smaller than the minimum Vgsth on voltage, that is, vgs is smaller than the minimum Vgsth on voltage, the switching tube Q is turned off; when the voltage between the grid electrode and the source electrode of the switching tube Q is larger than or equal to the minimum starting voltage of Vgsth, namely Vgs is larger than or equal to the minimum starting voltage of Vgsth, the switching tube Q is conducted; when the voltage between the grid electrode and the source electrode of the switching tube Q is overlarge, namely Vgs is overlarge, the switching tube Q is damaged; wherein the gate-source voltage is provided by the voltage divider circuit 200. The protection voltage of the gate-source voltage Vgs of the switching transistor Q is generally greater than 10V. For example, when the gate-source voltage of the switching transistor Q is 0.7V, that is, vgs is 0.7V, vgs of the switching transistor Q is smaller than the minimum on voltage of Vgsth at this time, and thus the switching transistor Q is turned off.
In this embodiment, the on voltage of the switching transistor Q is used to provide a data reference for the selection of the elements in the voltage dividing circuit 200, so as to control the switching of the on or off state of the switching circuit 100 through the voltage dividing circuit 200.
In one embodiment, the switch circuit 100 further includes an output port IO, where the output port IO is connected to a connection point between the drain of the switch tube Q and the first resistor R1, and is used for outputting the state of the port 500 to be detected.
Wherein, the state of the port 500 to be detected corresponds to the output signal of the output port IO; wherein the output signal comprises a level signal comprising a high level signal and a low level signal.
Specifically, referring to fig. 2, when the port 500 to be detected is in a suspended state, the switching tube Q is turned on, the output port IO is pulled down to be grounded, and the output signal is a low level signal; when the port 500 to be detected is in the ground state or the ground offset state, the switching tube Q is turned off, the output port IO is pulled up to the first power VCC1, and the output signal is a high level signal.
In this embodiment, through the output port IO, a level signal corresponding to the state of the port 500 to be detected can be output, so that the control device is convenient to monitor, and further accurate identification of the state of the port 500 to be detected is realized.
In one embodiment, the voltage divider circuit 200 includes a first capacitor C1, a second resistor R2, and a third resistor R3;
one end of the third resistor R3 is connected with the grid electrode of the switching tube Q, and the other end of the third resistor R3 is connected to the anti-reflection circuit 300;
one end of the second resistor R2 is connected to a connection point between the third resistor R3 and the grid electrode of the switch tube Q, and the other end of the second resistor R2 is grounded;
one end of the first capacitor C1 is connected to a connection point between the third resistor R3 and the gate of the switching tube Q, and the other end of the first capacitor C1 is grounded.
The second resistor R2 and the third resistor R3 form a voltage dividing resistor; the first capacitor C1 is used for protecting the switching tube Q.
Specifically, referring to fig. 2, one end of the third resistor R3 is connected to the gate of the switching tube Q, and the other end of the third resistor R3 is connected to the anti-reflection circuit 300, and at this time, the voltage at the connection point B between the third resistor R3 and the anti-reflection circuit 300 is the input voltage of the voltage division circuit 200; the voltage of the connection point C between the second resistor R2, the third resistor R3 and the grid electrode of the switching tube Q is the voltage divided by the voltage dividing circuit 200; the voltage divided by the voltage dividing circuit 200 is transmitted to the gate of the switching tube Q, that is, the voltage of the connection point C is transmitted to the gate of the switching tube Q, so as to control the on or off state of the switching tube Q.
The first capacitor C1 is connected to a connection point C between the third resistor R3 and the gate of the switching tube Q for protecting the switching tube Q. For example, when the switching tube Q is an insulated gate field effect tube, the voltage between the gate of the switching tube Q and the source of the switching tube Q cannot be greater than 20V, the first capacitor C1 is connected to the connection point C, and when the voltage input by the port 500 to be detected has a pulse voltage, the first capacitor C1 can act as a buffer, so that the switching tube Q is prevented from being damaged.
In this embodiment, the voltage dividing circuit 200 can control the state of the switching tube Q, and when the voltage input to the port 500 to be detected has a pulse voltage, the risk of damaging the switching tube Q can be reduced.
In one embodiment, the second resistor R2 has the same resistance as the third resistor R3.
Specifically, referring to fig. 2, when the resistance of the second resistor R2 is equal to the resistance of the third resistor R3, the voltage of the connection point B is divided, so that the voltage of the connection point C is half of the voltage of the connection point B. In this embodiment, the second resistor R2 and the third resistor R3 have the same resistance value, so that voltage division processing can be efficiently implemented, and further the processing efficiency of the port state detection circuit is improved.
In one embodiment, the power supply circuit 400 includes a fourth resistor R4 and a second power supply VCC2;
one end of the fourth resistor R4 is connected to the second power VCC2, and the other end of the fourth resistor R4 is connected to a connection point between the third resistor R3 and the anti-reflection circuit 300.
Specifically, referring to fig. 2, the fourth resistor R4 is configured to be pulled up to the second power source VCC2 to provide power for the switching tube Q; for example, when the port 500 to be detected is in the suspended state, the anti-reflection circuit 300 is in the off state, and at this time, the voltage at the connection point B between the fourth resistor R4, the third resistor R3 and the anti-reflection circuit 300 is provided by the power circuit 400, and the voltage dividing circuit 200 divides the voltage at the connection point B to obtain the voltage at the connection point C, so as to control the switch Q to be turned on.
In this embodiment, through the power circuit 400, when the port 500 to be detected is in a suspended state, a turn-on voltage is provided for the switching tube Q, so that the switching tube Q is prevented from outputting an error level signal due to failure to reach the turn-on voltage, and the accuracy of identifying the state of the port 500 to be detected is improved.
In one embodiment, anti-reflection circuit 300 includes a diode D; the positive pole of the diode D is connected with the third resistor R3, and the negative pole of the diode D is connected with the port 500 to be detected.
Specifically, referring to fig. 2, diode D has unidirectional conductivity, i.e., has anti-reverse protection, and a conduction voltage drop of less than 0.4V. For example, when the to-be-detected port 500 shorts the power supply, the diode D utilizes unidirectional conductivity, so that the to-be-detected port 500 shorts the power supply to be detected cannot pass through the diode D, and the risk of damage to the switching tube Q caused by excessive voltage is avoided. When the port 500 to be detected is in the floating state, the diode D is in the off state, and the voltage at the connection point B of the diode D, the voltage dividing circuit 200 and the power circuit 400 is provided by the power circuit 400.
Further, the diode D also has a clamping voltage effect, i.e. the voltage between the anode and the cathode of the diode D is equal to the conduction voltage drop of the diode D. For example, when the port 500 to be detected is in the grounded state or the grounded offset state, the diode D is in the conductive state, and the voltage of the connection point B is not affected by the power circuit 400, the voltage of the connection point B depends on the conductive voltage drop of the diode D, that is, the voltage of the connection point B is equal to the sum of the voltage of the diode D and the conductive voltage drop, where the voltage of the diode D depends on the state of the port 500 to be detected; for example, if the on-voltage drop of the diode D is 0.4V, when the port 500 to be detected is in the grounded state, the voltage of the cathode of the diode D is 0V, and the voltage of the connection point B is equal to 0.4V; when the port 500 to be detected is in a grounded offset state and the offset voltage is +1v, the voltage of the negative electrode of the diode D is 1V, and the voltage of the connection point B is equal to 1.4V.
In this embodiment, the diode D not only can avoid the risk of damage to the components in the port state detection circuit, but also can adjust the voltage of the connection point B in time according to the state of the port 500 to be detected, and then control the voltage of the connection point C through the voltage division circuit 200, thereby realizing the state of the switching tube Q, and improving the accuracy of identifying the state of the port 500 to be detected.
In one embodiment, the port state detection circuit further includes a second capacitor C2; one end of the second capacitor C2 is connected to the cathode of the diode D, and the other end of the second capacitor C2 is grounded.
Specifically, the second capacitor C2 is an electrostatic impedance capacitor, and is used for preventing the inside of the port state detection circuit from being broken down when static electricity exists, so that the safety of the port state detection circuit is improved.
In a specific embodiment, referring to fig. 2, the on-voltage drop of diode D is optionally 0.32V; the turn-on voltage of the switching tube Q is 0.8V-1.5V, namely the turn-on voltage Vgsth between the grid electrode and the source electrode is 0.8V-1.5V, the resistance value of the first resistor R1 is 3KΩ, the resistance value of the second resistor R2 is 20KΩ, the resistance value of the third resistor R3 is 20KΩ, the resistance value of the fourth resistor R4 is 10KΩ, the voltage of the first power supply VCC1 is 3.3V, the voltage of the second power supply VCC2 is 5V, the volume of the first capacitor C1 is 0.1 μF, and the volume of the second capacitor is 100PF.
When the port 500 to be detected is in a suspended state, the diode D is in a closed state, and at this time, the power supply circuit 400 provides a voltage, namely the second power supply VCC2 provides a voltage of 5V, the voltage of the connection point B is 4V after being divided by the fourth resistor R4, and then the voltage of the connection point C is 2V after being divided by the voltage dividing circuit 200; because Vgsth of the switching tube Q selected in the embodiment is 0.8V-1.5V, the voltage of the connection point C is greater than the maximum starting voltage of Vgsth, that is, the voltage of the connection point C is greater than 1.5V, the switching tube Q is turned on, that is, the drain electrode and the source electrode of the switching tube Q are turned on, that is, the first power VCC1 is grounded after passing through the first resistor R1, at this time, the output port IO is pulled down to be grounded, that is, the voltage of the output port IO is 0V, that is, the output port IO outputs a low level signal, so that the level state identified by the control device GPIO port is 0. It should be noted that, the voltage at the connection point C can ensure that the switching tubes Q of different batches can be turned on.
When the port 500 to be detected is in a grounding state, the diode D is in a conducting state, the cathode of the diode D is 0V, and according to the action of the clamping voltage of the diode D, the voltage of the connecting point B is the sum of the cathode of the diode D and the conducting voltage drop, namely the voltage of the connecting point B is 0.32V, and then the voltage is divided by the voltage dividing circuit 200, so that the voltage of the connecting point C is 0.16V; therefore, the voltage of the connection point C is smaller than the minimum on voltage of Vgsth, that is, the voltage of the connection point C is smaller than 0.8V, the switching tube Q is turned off, that is, the drain electrode and the source electrode of the switching tube Q are disconnected, that is, the first power supply VCC1 is connected with the output port IO through the first resistor R1, that is, the voltage of the output port IO is 3.3V, that is, the output port IO outputs the high level signal, so that the level state identified by the control device GPIO port is 1.
When the port 500 to be detected is in a grounded offset state and the offset voltage is +1v, the diode D is in a conducting state, the cathode of the diode D is +1v, and according to the action of the clamping voltage of the diode D, the voltage of the connection point B is the sum of the cathode of the diode D and the conducting voltage drop, that is, the voltage of the connection point B is 1.32V, and then the voltage of the connection point B is divided by the voltage dividing circuit 200, so that the voltage of the connection point C is 0.66V; therefore, the voltage of the connection point C is smaller than the minimum on voltage of Vgsth, that is, the voltage of the connection point C is smaller than 0.8V, the switching tube Q is turned off, that is, the drain electrode and the source electrode of the switching tube Q are disconnected, that is, the first power supply VCC1 is connected with the output port IO through the first resistor R1, that is, the voltage of the output port IO is 3.3V, that is, the output port IO outputs the high level signal, so that the level state identified by the control device GPIO port is 1.
When the port 500 to be detected is shorted to a 12V power supply, the voltage at the connection point B is less than 5V due to the unidirectional conductivity of the diode D, and the voltage at the connection point C is also less than 5V through the voltage dividing circuit 200, so that the switching tube Q is not damaged, because the Vgs protection voltage of the switching tube Q is generally greater than 10V.
In this embodiment, when the port 500 to be detected is suspended, the level state identified by the GPIO port of the control device is 0; when the port 500 to be detected is in a grounding state or a grounding offset state, the level state identified by the GPIO port of the control device is 1, and the state of the port to be detected is accurately converted into a level signal which can be identified by the control device through the port state detection circuit, so that the control device can accurately determine the radar position, and the accuracy of radar position identification is improved; especially when the port 500 to be detected is in the ground offset state, the state of the port 500 to be detected is not recognized as a suspended state by mistake, and the error reporting of the whole vehicle is avoided.
In one embodiment, the identification of four corner radar locations is preferably accomplished using two sets of port state detection circuits.
Specifically, referring to fig. 3, a set of port state detection circuits can only output two level signals, namely a high level signal and a level signal; if the identification of the positions of the four corner radars is realized, two groups of port state detection circuits with the same working principle are required to be arranged for each corner radar so as to realize the identification of the positions of the four corner radars.
For example, each angular radar has a first port to be detected 510 and a second port to be detected 520, and each angular radar has two sets of port state detection circuits corresponding to each angular radar, including a first output port IO1 and a second output port IO2; if the first to-be-detected port 510 of the pre-set left front radar is in a suspended state, and the second to-be-detected port 520 is in a suspended state, the corresponding first output port IO1 is a low-level signal, and the second output port IO2 is a low-level signal, that is, the level state read by the control device GPIO port is 00; if the first to-be-detected port 510 of the pre-set front right radar is in a suspended state, and the second to-be-detected port 520 is in a grounded state, the corresponding first output port IO1 is a low-level signal, and the second output port IO2 is a high-level signal, that is, the level state read by the control device GPIO port is 01; if the first to-be-detected port 510 of the left rear radar is preset to be in a grounded state, and the second to-be-detected port 520 is in a suspended state, the corresponding first output port IO1 is a high-level signal, and the second output port IO2 is a low-level signal, that is, the level state read by the control device GPIO port is 10; if the first to-be-detected port 510 of the pre-set right rear radar is in a grounded state, and the second to-be-detected port 520 is in a grounded state, the corresponding first output port IO1 is a high-level signal, and the second output port IO2 is a high-level signal, that is, the level state read by the control device GPIO port is 11.
Further, in the ground offset test, the ground line of the port 500 to be detected is required to be offset to +1v, that is, the port 500 to be detected is in the ground offset state; the port state detection circuit of this embodiment can ensure that the level signal output by the output port IO when the port 500 to be detected is in the ground offset state is consistent with the level signal output by the output port IO when the port 500 to be detected is in the ground state, i.e. is a high level signal. For example, when the first to-be-detected port 510 is in the ground offset state, the corresponding first output port IO1 is a high level signal; when the second port to be detected 520 is in the ground offset state, the corresponding second output port IO2 is a high level signal; therefore, even when the port 500 to be detected is in the ground offset state, the four-angle radar identification will not fail, and thus the error report of the whole vehicle will not be caused.
In this embodiment, according to the first to-be-detected port 510 and the second to-be-detected port 520 of each angular radar, a corresponding level signal CAN be obtained through a port state detection circuit, so that the control device GPIO port reports the identified level state, that is, the position of the identified angular radar in the whole vehicle, to an autopilot controller or the whole vehicle through a CAN or other protocols. In particular, when the first port to be detected 510 or the second port to be detected 520 is in the ground offset state, the four angular radar positions can be accurately identified.
In one embodiment, there is a first diode D1 and a second diode D2 for each angular radar, and the reverse voltages of the first diode D1 and the second diode D2 are both 30V. When the first to-be-detected port 510 and the second to-be-detected port 520 are short-circuited to the 12V power supply, the reverse voltages of the first diode D1 and the second diode D2 are both 30V, so that the reverse protection function of the port state detection circuit can be satisfied, the risk of damage to elements in the port state detection circuit is reduced, and the safety of the port state detection circuit is improved.
In one embodiment, an angular radar position detection system comprises: control device and four angle radars;
the four corner radars are respectively arranged at four corners of the radar carrier; each angle radar is correspondingly provided with two ports, and each port comprises a grounding state and a suspending state;
the control device is connected with the two ports of each angle radar through a plurality of port state detection circuits and any one of the port state detection circuits in the embodiment, and is used for acquiring states of the two ports of each angle radar; the position of the horn radar in the radar carrier is determined from the state of the two ports of each horn radar.
Radar carriers include, but are not limited to, automobiles, robots; the control device includes, but is not limited to, an MCU (Microcontroller Unit, micro control unit), an SOC (System Of Chip). The control device comprises a plurality of GPIO ports for receiving level signals output by the output ports IO of the port state detection circuits.
According to the embodiment, the control device reads the level signal output by the output port IO of the corresponding port state detection circuit of each angle radar, so that the detection of the position of each angle radar is realized, and the specific position of each angle radar in the whole vehicle is accurately obtained.
According to the port state detection circuit and the angular radar position detection system, in the first aspect, the accuracy of radar position detection is improved, and particularly, when the port 500 to be detected is in a grounding offset state, the radar position can still be accurately identified, and the whole vehicle fault is avoided; in the second aspect, the safety of the port state detection circuit is improved, and especially when the port 500 to be detected is short-circuited to the power supply, the port state detection circuit can be protected from reverse connection, and the damage risk of elements in the port state detection circuit is reduced.
In the description of the present specification, reference to the term "some embodiments," "other embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.
Claims (10)
1. A port state detection circuit, comprising: a switch circuit, a voltage dividing circuit, a power supply circuit and an anti-reflection circuit;
the anti-reflection circuit is connected with the port to be detected and used for preventing the port to be detected from being short-circuited with a power supply, and the port to be detected comprises a grounding state and a suspension state;
the voltage dividing circuit is connected with the anti-reflection circuit, and the power supply circuit is connected to a connection point of the voltage dividing circuit and the anti-reflection circuit;
the power supply circuit is used for providing a conducting voltage for the switch circuit through the voltage dividing circuit;
the voltage dividing circuit is used for dividing the voltage provided by the power supply circuit;
the switch circuit is connected with the voltage dividing circuit and is used for switching on or switching off the switch according to the voltage after voltage division; when the port to be detected is in a suspended state, the switch circuit is conducted; and when the port to be detected is in a grounding state, the switch circuit is closed.
2. The port state detection circuit of claim 1, wherein the switching circuit comprises: the switching tube, the first resistor and the first power supply;
the drain electrode of the switching tube is connected with one end of a first resistor, and the other end of the first resistor is connected to a first power supply; the source electrode of the switching tube is grounded; the grid electrode of the switching tube is connected to the voltage dividing circuit.
3. The port state detection circuit of claim 2, wherein,
the on voltage of the switching tube is 0.8V-1.5V.
4. The port state detection circuit of claim 2, wherein the switching circuit further comprises an output port;
the output port is connected to a connection point of the drain electrode of the switching tube and the first resistor and is used for outputting the state of the port to be detected.
5. The port state detection circuit of claim 2, wherein the voltage divider circuit comprises a first capacitor, a second resistor, and a third resistor;
one end of the third resistor is connected with the grid electrode of the switching tube, and the other end of the third resistor is connected to the anti-reflection circuit;
one end of the second resistor is connected to a connection point between the third resistor and the grid electrode of the switching tube, and the other end of the second resistor is grounded;
one end of the first capacitor is connected to a connection point between the third resistor and the grid electrode of the switch tube, and the other end of the first capacitor is grounded.
6. The port state detection circuit of claim 5, wherein,
the second resistor has the same resistance as the third resistor.
7. The port state detection circuit of claim 5, wherein the power supply circuit comprises: a fourth resistor and a second power supply;
one end of the fourth resistor is connected with the second power supply, and the other end of the fourth resistor is connected to a connection point between the third resistor and the anti-reflection circuit.
8. The port state detection circuit of claim 7, wherein the anti-reflection circuit comprises a diode;
the positive pole of the diode is connected with the third resistor, and the negative pole of the diode is connected with the port to be detected.
9. The port state detection circuit of claim 8, wherein the port state detection circuit further comprises a second capacitance;
one end of the second capacitor is connected to the cathode of the diode, and the other end of the second capacitor is grounded.
10. An angular radar position detection system, the system comprising: control device and four angle radars;
the four corner radars are respectively arranged at four corners of the radar carrier; each corner radar is correspondingly provided with two ports, and each port comprises a grounding state and a suspending state;
the control device is connected with two ports of each angular radar through a plurality of port state detection circuits according to any one of claims 1-9, and is used for acquiring states of the two ports of each angular radar; and determining the position of the angle radar in the radar carrier according to the states of the two ports of each angle radar.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202322395646.1U CN220709332U (en) | 2023-09-04 | 2023-09-04 | Port state detection circuit and angular radar position detection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202322395646.1U CN220709332U (en) | 2023-09-04 | 2023-09-04 | Port state detection circuit and angular radar position detection system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN220709332U true CN220709332U (en) | 2024-04-02 |
Family
ID=90438300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202322395646.1U Active CN220709332U (en) | 2023-09-04 | 2023-09-04 | Port state detection circuit and angular radar position detection system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN220709332U (en) |
-
2023
- 2023-09-04 CN CN202322395646.1U patent/CN220709332U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9478975B2 (en) | Protection circuit and related method | |
CN107255782B (en) | A kind of high-voltage interlocking detection circuit and interlocking signal detection method | |
CN104569597A (en) | Method and device for detecting insulation resistance of power battery | |
CN103605017A (en) | Detection method of vehicle switch quantity signal | |
CN109387737B (en) | Needle seat and plastic shell connection state detection system | |
CN105891653A (en) | Electrical load controller with fault detection | |
CN106452423B (en) | Relay driving chip and ammeter | |
CN220709332U (en) | Port state detection circuit and angular radar position detection system | |
CN105973274B (en) | A kind of signal deteching circuit and device | |
CN107681638A (en) | Power supply protection equipment for ship electronic chart system | |
CN204712991U (en) | A kind of flash driving circuit | |
CN112688684A (en) | Addressing circuit, method and apparatus | |
CN216216832U (en) | Dual-input signal synchronous detection circuit | |
CN209486164U (en) | Microcontroller power supply low-voltage detection circuit without A D interface and internal reference voltage | |
CN111090272B (en) | Fault diagnosis device and method and vehicle | |
CN104122816A (en) | Electric vehicle high-speed digital input circuit | |
CN110890883A (en) | Conversion device and system for infrared photoelectric switch signals | |
CN110350473B (en) | Control circuit, method and device | |
CN215894733U (en) | Voltage signal detection circuit, power supply device and electric device | |
CN209982101U (en) | Charging state detection circuit and device | |
CN111338263A (en) | Low-cost key circuit with hardware logic | |
CN220924038U (en) | Angular radar communication control circuit and vehicle control system | |
CN215642286U (en) | Switching value acquisition circuit, switch controller, switch debugging system and electric vehicle | |
CN218956772U (en) | Signal output circuit and intelligent power module | |
CN210640867U (en) | Conversion device and system for infrared photoelectric switch signals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |