Antenna detection circuit and method, vehicle-mounted equipment and vehicle
By employing a two-stage comparison amplification current hysteresis comparison method in the antenna detection circuit, the problem of high false judgment rate in existing antenna detection circuits is solved, and accurate detection of antenna in-situ status, short-circuit status, and overcurrent status is achieved, thereby improving the safety and reliability of the equipment.
Patent Information
- Application Number
- CN202310790263.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-28
- Publication Date
- 2025-01-07
AI Technical Summary
Existing antenna detection circuits compare the antenna's in-situ detection signal with a single threshold value, resulting in a high false positive rate and low accuracy.
By employing a controller, switching circuit, and in-situ detection circuit, and through a two-stage comparison amplification current hysteresis comparison, the coupling point voltage of the antenna is detected, thereby achieving accurate detection of the antenna's in-situ state, short-circuit state, and overcurrent state.
It improves the accuracy and safety of antenna detection, reduces the false positive rate, ensures the reliability and safety of the equipment, and avoids user safety risks caused by short circuits and overcurrent.
Smart Images

Figure CN119269895A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an antenna detection circuit, method, vehicle-mounted equipment and vehicle. Background Art
[0002] A self-driving car, also known as an unmanned vehicle, a computer-driven vehicle, or a wheeled mobile robot, is an intelligent vehicle that is unmanned through a computer system. The realization of self-driving technology depends on the continuous development of two types of technologies: "perception" and "decision-making". Among them, one of the core technologies of "perception" is vehicle-mounted positioning technology. Vehicle-mounted positioning technology relies on the all-weather and all-round characteristics of the global navigation satellite system (GNSS) to provide real-time positioning information for vehicles.
[0003] The realization of the above-mentioned vehicle positioning function depends on whether the antenna is working normally, so it is necessary to detect the abnormal state of the antenna, such as detecting the antenna's in-position state. However, the existing antenna detection circuit often compares the antenna's in-position detection signal with a specific single threshold value to determine the antenna's in-position state. However, this method may have misjudgments, resulting in low accuracy. Summary of the invention
[0004] The present application provides an antenna detection circuit, method, vehicle-mounted equipment and vehicle, which are used to improve the accuracy of antenna status detection.
[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:
[0006] In the first aspect, an antenna detection circuit is provided, including: a controller, a switch circuit and a presence detection circuit, wherein the output end of the controller is coupled with the control end of the switch circuit, the input end of the switch circuit is used to couple with a power supply, the output end of the switch circuit is coupled with the first input end of the presence detection circuit, the second input end of the presence detection circuit is used to couple with an antenna, and the node coupled with the antenna can also be called the coupling point of the antenna; the controller is used to control the switching circuit to be turned on or off, for example, the controller can be a microcontroller unit; the switch circuit is used to turn on or off the power supply voltage for the presence detection circuit; the presence detection circuit is used to receive the power supply voltage and detect the coupling point voltage of the antenna, and perform two-stage comparison and amplification on the coupling point voltage according to the power supply voltage to output a first indication signal, and the first indication signal is used to indicate whether the antenna is in place. Exemplarily, when the first indication signal is at a low level, the first indication signal can be used to indicate that the antenna is in place; when the first indication signal is at a high level, the first indication signal can be used to indicate that the antenna is not in place.
[0007] In the above technical solution, the antenna detection circuit can detect the coupling point voltage of the antenna, and perform two-stage comparison and amplification on the coupling point voltage according to the power supply voltage to realize current hysteresis comparison, so that the in-position detection current has a hysteresis interval. The hysteresis interval can make the switching standard of the antenna in-position state higher, the judgment result more accurate, and the safety higher.
[0008] In a possible implementation of the first aspect, the in-position detection circuit includes: a sampling circuit, a first-stage operational amplifier circuit, and a second-stage operational amplifier circuit; wherein the first end of the sampling circuit is coupled to the first input end of the second-stage operational amplifier circuit and serves as the first input end of the in-position detection circuit, the second end and the third end of the sampling circuit are respectively coupled to the first input end and the second input end of the first-stage operational amplifier circuit, the output end of the first-stage operational amplifier circuit is coupled to the second input end of the second-stage operational amplifier circuit, the output end of the second-stage operational amplifier circuit serves as the output end of the in-position detection circuit, and the second end of the sampling circuit is also used to couple with the antenna. In the above possible implementation, after the current generated by the antenna passes through the sampling circuit, the collected weak current signal is converted into a voltage signal (i.e., the coupling point voltage and the first comparison voltage), and the first-stage operational amplifier circuit compares and amplifies the converted voltage signal. When the first-stage operational amplifier circuit outputs a high voltage, the second-stage operational amplifier circuit outputs a low voltage, at which time it can be determined that the antenna is in position; when the first-stage operational amplifier circuit outputs a low voltage, the second-stage operational amplifier circuit outputs a high voltage, at which time it can be determined that the antenna is not in position. In this way, by performing two-stage comparison and amplification on the detected coupling point voltage of the antenna, it can be determined whether the antenna is in place according to the comparison result, thereby ensuring the accuracy of the antenna detection.
[0009] In a possible implementation of the first aspect, the sampling circuit is used to sample the coupling point voltage of the antenna and generate a first comparison voltage according to the power supply voltage; the first-stage operational amplifier circuit is used to compare the coupling point voltage and the first comparison voltage and amplify to output the first amplified voltage; the second-stage operational amplifier circuit is used to generate a second comparison voltage according to the power supply voltage, compare the first amplified voltage and the second comparison voltage and amplify to output a first indication signal. In the above possible implementation, the in-place detection circuit adopts a two-stage operational amplifier circuit design to realize the current hysteresis comparison function, that is, the current hysteresis comparison is realized for the in-place detection current. In this way, the in-place detection current has a hysteresis interval, and the hysteresis interval can make the switching standard of the antenna in-place state higher, the judgment result more accurate, and the safety higher. For example, the hysteresis interval can be 4mA to 10mA. When the presence detection current increases from a small value to 10mA (>10mA), the presence detection circuit will determine that the antenna has switched from an absent state to an present state; when the presence detection current decreases from a large value to 4mA (<4mA), the presence detection circuit will determine that the antenna has switched from an present state to an absent state.
[0010] In a possible implementation of the first aspect, the sampling circuit includes: a first resistor and a second resistor, one end of the first resistor and one end of the second resistor are coupled as a first end of the sampling circuit, the other end of the first resistor serves as a second end of the sampling circuit, and the other end of the second resistor serves as a third end of the sampling circuit.
[0011] In a possible implementation of the first aspect, the first-stage operational amplifier circuit includes: a first operational amplifier and a switching amplifier circuit; wherein the first input terminal and the second input terminal of the first operational amplifier are respectively used as the first input terminal and the second input terminal of the first-stage operational amplifier circuit, the output terminal of the first operational amplifier is coupled to the control terminal of the switching amplifier circuit, the second input terminal of the first operational amplifier is coupled to the input terminal of the switching amplifier circuit, the power supply terminal of the first operational amplifier is used to receive the power supply voltage, and the output terminal of the switching amplifier circuit is used as the output terminal of the first-stage operational amplifier circuit. In the above possible implementation, when the first-stage operational amplifier circuit outputs a high voltage, the triode in the switching amplifier circuit is turned on, and when the first-stage operational amplifier circuit outputs a low voltage, the triode in the switching amplifier circuit is turned off, so that the first-stage operational amplifier circuit can realize comparative amplification of the coupling point voltage and the first comparison voltage.
[0012] In a possible implementation of the first aspect, the switch amplifier circuit includes: a first transistor, a third resistor, a fourth resistor, and a fifth resistor; the control electrode of the first transistor is coupled to the control end of the switch amplifier circuit through the third resistor, the control end of the first transistor is coupled to the ground end through the fourth resistor, the first electrode of the first transistor is coupled to the ground end through the fifth resistor, and the second electrode of the first transistor is coupled to the input end of the switch amplifier circuit. In the above possible implementation, a simple and effective switch amplifier circuit is provided.
[0013] In a possible implementation of the first aspect, the second-stage operational amplifier circuit includes a first voltage divider circuit and an operational amplifier circuit; wherein the input end of the first voltage divider circuit serves as the first input end of the second-stage operational amplifier circuit, the output end of the first voltage divider circuit is coupled to the first input end of the operational amplifier circuit, the second input end of the operational amplifier circuit serves as the second input end of the second-stage operational amplifier circuit, and the output end of the operational amplifier circuit serves as the output end of the second-stage operational amplifier circuit. In the above possible implementation, the first voltage divider circuit can be used to generate a second comparison voltage according to the power supply voltage, and the operational amplifier circuit can compare the second comparison voltage with the first amplified voltage output by the first-stage operational amplifier to output first indication information, indicating whether the antenna is in place through the first indication information.
[0014] In a possible implementation of the first aspect, the first voltage divider circuit includes: a sixth resistor, a seventh resistor and an eighth resistor; one end of the sixth resistor serves as an input end of the first voltage divider circuit, the other end of the sixth resistor is coupled to one end of the seventh resistor and one end of the eighth resistor, the other end of the seventh resistor is coupled to the ground end, and the other end of the eighth resistor serves as an output end of the first voltage divider circuit.
[0015] In a possible implementation of the first aspect, the operational amplifier circuit includes a second operational amplifier, a ninth resistor, and a tenth resistor; wherein the first input terminal and the second input terminal of the second operational amplifier serve as the first input terminal and the second input terminal of the operational amplifier circuit respectively, one end of the ninth resistor is coupled to the first input terminal of the second operational amplifier, the output terminal of the second operational amplifier is coupled to the other end of the ninth resistor and one end of the tenth resistor, the other end of the tenth resistor serves as the output terminal of the operational amplifier circuit, and the power supply terminal of the second operational amplifier is used to receive the power supply voltage. In the above possible implementation, the second operational amplifier can compare the second comparison voltage with the first amplified voltage to output the first indication information, and indicate whether the antenna is in place through the first indication information.
[0016] In a possible implementation of the first aspect, the antenna detection circuit further includes: an overcurrent detection circuit, the input end of the overcurrent detection circuit is used to couple with the antenna, and the power supply end of the overcurrent detection circuit is used to receive the power supply voltage; the switch circuit is also used to select or disconnect the power supply voltage for powering the overcurrent detection circuit; the overcurrent detection circuit is used to receive the power supply voltage and detect the coupling point voltage of the antenna, generate a threshold voltage according to the power supply voltage, and compare the coupling point voltage with the threshold voltage to output a second indication signal, and the second indication signal is used to indicate whether the antenna is in an overcurrent state. In the above possible implementation, the overcurrent detection circuit can determine whether the antenna is overcurrent by comparing the coupling point voltage of the antenna with the threshold voltage, thereby ensuring the accuracy of the antenna detection, while improving the safety and reliability of the device and avoiding user safety risks caused by short circuits.
[0017] In a possible implementation of the first aspect, the overcurrent detection circuit includes: a third operational amplifier, a second voltage divider circuit, a current limiting resistor and a first capacitor; wherein the input end of the second voltage divider circuit and the power supply end of the third operational amplifier are both used to receive the power supply voltage, the output end of the second voltage divider circuit is coupled to the first input end of the third operational amplifier, the second input end of the third operational amplifier is used to couple with the antenna and is coupled to the ground end through the first capacitor, and the output end of the third operational amplifier is coupled to the output end of the overcurrent detection circuit through the current limiting resistor. In the above possible implementation, a simple and effective overcurrent detection circuit is provided, the second voltage divider circuit can be used to generate a threshold voltage, and the third operational amplifier can be used to compare the coupling point voltage of the antenna with the threshold voltage to output a second indication signal.
[0018] In a possible implementation of the first aspect, the antenna detection circuit further includes: a short-circuit detection circuit, the input end of which is used to couple with the antenna; the short-circuit detection circuit is used to detect the coupling point voltage of the antenna, and divide and sample the coupling point voltage to output a third indication signal, the third indication signal is used to indicate whether the antenna is in a short-circuit state. In the above possible implementation, the short-circuit detection circuit can determine whether the antenna is short-circuited by detecting whether the coupling point voltage of the antenna is 0, thereby ensuring the accuracy of the antenna detection, while improving the safety and reliability of the device, and avoiding user safety risks caused by short circuits.
[0019] In a possible implementation of the first aspect, the short-circuit detection circuit includes: a third voltage-dividing circuit, a sampling resistor and a second capacitor; wherein the input end of the third voltage-dividing circuit is used to couple with the antenna, the output end of the third voltage-dividing circuit is coupled with one end of the sampling resistor and one end of the second capacitor, the other end of the sampling resistor serves as the output end of the short-circuit detection circuit, and the other end of the second capacitor is coupled with a ground terminal. In the above possible implementation, a simple and effective short-circuit detection circuit is provided.
[0020] In a possible implementation of the first aspect, the controller is also used to receive an indication signal, and control the switching circuit to be turned on or off according to the indication information, and the indication signal includes at least one of a first indication signal, a second indication signal, or a third indication signal. In the above possible implementation, the controller can receive a first indication signal indicating whether the antenna is in place, a second indication signal indicating whether the antenna is overcurrent, and a third indication signal indicating whether the antenna is short-circuited, so that the controller can control the switching circuit to be turned on or off according to the received indication signal, such as disconnecting the switching circuit when the antenna is short-circuited or overcurrent occurs, thereby improving the safety and reliability of the antenna and the terminal device applied to the antenna detection circuit.
[0021] In a possible implementation of the first aspect, the switch circuit includes: a second transistor, a third capacitor, and an RC circuit; wherein the third capacitor is coupled between the control electrode and the first electrode of the second transistor, the RC circuit is coupled between the control electrode and the second electrode of the second transistor, the first electrode of the second transistor is also used to output a power supply voltage, the second electrode of the second transistor is also used to receive the power supply voltage, and the control terminal of the second transistor is also used to receive a control signal. In the above possible implementation, a simple and effective switch circuit is provided.
[0022] In a second aspect, an antenna detection method is provided, which is applied to an antenna detection circuit. The antenna detection circuit includes: a controller, a switch circuit and a presence detection circuit. The presence detection circuit is used to couple with an antenna. The method includes: the controller controls the switching circuit to be turned on or off; the switch circuit turns on or off a power supply voltage that supplies power to the presence detection circuit; the presence detection circuit receives the power supply voltage and detects a coupling point voltage of the antenna, and performs a two-stage comparison and amplification on the coupling point voltage according to the power supply voltage to output a first indication signal, and the first indication signal is used to indicate whether the antenna is in place.
[0023] In a possible implementation of the second aspect, the presence detection circuit includes: a sampling circuit, a first-stage operational amplifier circuit and a second-stage operational amplifier circuit: the sampling circuit samples the coupling point voltage of the antenna and generates a first comparison voltage based on the power supply voltage; the first-stage operational amplifier circuit compares the coupling point voltage with the first comparison voltage and amplifies to output a first amplified voltage; the second-stage operational amplifier circuit generates a second comparison voltage based on the power supply voltage, compares the first amplified voltage and the second comparison voltage and amplifies to output a first indication signal.
[0024] In a possible implementation of the first aspect, the antenna detection circuit also includes an overcurrent detection circuit, which is used to couple with the antenna, and the method also includes: the switching circuit switches on or off the power supply voltage that powers the overcurrent detection circuit; the overcurrent detection circuit receives the power supply voltage and detects the coupling point voltage of the antenna, generates a threshold voltage based on the power supply voltage, and compares the coupling point voltage with the threshold voltage to output a second indication signal, and the second indication signal is used to indicate whether the antenna is in an overcurrent state.
[0025] In a possible implementation of the first aspect, the antenna detection circuit also includes a short circuit detection circuit, which is used to couple with the antenna. The method also includes: the short circuit detection circuit detects the coupling point voltage of the antenna, and divides and samples the coupling point voltage to output a third indication signal, and the third indication signal is used to indicate whether the antenna is in a short circuit state.
[0026] In a possible implementation of the first aspect, the controller controls the switching circuit to be turned on or off, including: the controller receives an indication signal and controls the switching circuit to be turned on or off according to the indication information, and the indication signal includes at least one of a first indication signal, a second indication signal or a third indication signal.
[0027] In another aspect of the present application, a vehicle-mounted device is provided, which includes a power supply and an antenna detection circuit. The power supply is used to provide a power supply voltage for the antenna detection circuit. The antenna detection circuit is the antenna detection circuit provided by the above-mentioned first aspect or any possible implementation method of the first aspect.
[0028] In yet another aspect of the present application, a vehicle is provided, the vehicle comprising the on-board device provided by any one of the above aspects or a possible implementation of any one of the aspects.
[0029] It can be understood that the beneficial effects that can be achieved by any of the antenna detection methods, vehicle-mounted equipment and vehicles provided above can correspond to the beneficial effects of the antenna detection circuit provided above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;
[0031] Figure 2 A schematic diagram of the structure of an antenna detection circuit provided in an embodiment of the present application;
[0032] Figure 3 A schematic diagram of the structure of another antenna detection circuit provided in an embodiment of the present application;
[0033] Figure 4 A schematic diagram of the structure of another antenna detection circuit provided in an embodiment of the present application;
[0034] Figure 5 A schematic diagram of the structure of an overcurrent detection circuit provided in an embodiment of the present application;
[0035] Figure 6 A schematic diagram of the structure of a short circuit detection circuit provided in an embodiment of the present application;
[0036] Figure 7 A schematic diagram of the structure of another terminal device provided in an embodiment of the present application;
[0037] Figure 8 A schematic diagram of a flow chart of an antenna detection method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] The following will discuss the making and use of various embodiments in detail. However, it should be understood that many applicable inventive concepts provided by this application can be implemented in a variety of specific environments. The specific embodiments discussed are only illustrative of specific ways to implement and use this description and this technology, and do not limit the scope of this application.
[0039] Unless defined otherwise, all technical and scientific terms used herein have the same meanings as commonly understood by one of ordinary skill in the art.
[0040] Various circuits or other components may be described or referred to as being "configured to" perform one or more tasks. In this case, "configured to" is used to imply structure by indicating that the circuit / component includes structure (e.g., circuitry) that performs the one or more tasks during operation. Thus, even when the specified circuit / component is not currently operational (e.g., not turned on), the circuit / component may be referred to as being configured to perform the task. Circuits / components used with the phrase "configured to" include hardware, such as circuits that perform an operation, etc.
[0041] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the present application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, a, b and c; where a, b and c can be single or multiple.
[0042] The embodiments of the present application use words such as "first" and "second" to distinguish objects with similar names, functions or effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order. The term "coupled" is used to indicate electrical connection, including direct connection through wires or connection terminals or indirect connection through other devices. Therefore, "coupled" should be regarded as a broad electronic communication connection.
[0043] In this application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the words "exemplary" or "for example" is intended to present the related concepts in a concrete way.
[0044] A self-driving car, also known as an unmanned vehicle, a computer-driven vehicle, or a wheeled mobile robot, is an intelligent vehicle that is unmanned through a computer system. The realization of self-driving technology depends on the continuous development of two types of technologies: "perception" and "decision-making". Among them, one of the core technologies of "perception" is vehicle-mounted positioning technology. Vehicle-mounted positioning technology relies on the all-weather and all-round characteristics of the global navigation satellite system (GNSS) to provide real-time positioning information for vehicles.
[0045] The realization of the above-mentioned vehicle positioning function depends on whether the antenna is working normally, so it is necessary to detect the abnormal state of the antenna, such as the antenna's in-position state, short circuit state, and overcurrent state. However, the existing antenna detection circuit can usually only detect the antenna's in-position state, and specifically compares the antenna's in-position detection signal with a specific single threshold value to determine the antenna's in-position state. However, this method may have misjudgments, resulting in low accuracy.
[0046] Based on this, the embodiment of the present application provides an antenna detection circuit, which can be used to detect the antenna's in-place state, and when detecting the antenna's in-place state, it can judge it with different thresholds according to the changes in the antenna's signal parameters, thereby reducing the probability of misjudgment and improving accuracy. In addition, the antenna detection circuit can also be used to detect the short-circuit state and overcurrent state of the antenna, and control the power supply state of the antenna and the antenna detection circuit according to the detection results, thereby protecting the antenna, the antenna detection circuit, and the equipment using the circuit, thereby improving the safety and reliability of the product.
[0047] The technical solution provided in the embodiment of the present application can be applied to various terminal devices with antenna detection circuits. The terminal device may include, but is not limited to: a mobile phone, a tablet computer, a computer, a laptop computer, an ultra-mobile personal computer (ultra-mobile personal computer, umPC), a netbook, a camera, a camera, a wearable device, a vehicle (for example, a car, a bicycle, an electric car, an airplane, a ship, a train, a high-speed rail, etc.), a vehicle-mounted device, a virtual reality (virtual reality, VR) device, an augmented reality (augmented reality, AR) device or an intelligent robot, etc. For the convenience of description, the structure of the terminal device is illustrated below by taking a vehicle as an example.
[0048] Figure 1 A schematic diagram of the structure of a vehicle 100 with an automatic driving function provided in an embodiment of the present application. In one embodiment, the vehicle 100 is configured to be in a fully or partially automatic driving mode. For example, the vehicle 100 can control itself while in the automatic driving mode, and can determine the current state of the vehicle and its surrounding environment through human operation, determine the possible behavior of at least one other vehicle in the surrounding environment, and determine the confidence level corresponding to the possibility of the other vehicle performing the possible behavior, and control the vehicle 100 based on the determined information. When the vehicle 100 is in the automatic driving mode, the vehicle 100 can be set to operate without human interaction.
[0049] The vehicle 100 may include various subsystems, such as a travel system 102, a sensor system 104, a control system 106, one or more peripheral devices 108, and a power source 110, a computer system 112, and a user interface 116. Optionally, the vehicle 100 may include more or fewer subsystems, and each subsystem may include multiple elements. In addition, each subsystem and element of the vehicle 100 may be interconnected by wire or wirelessly.
[0050] The travel system 102 may include components that provide powered movement for the vehicle 100. In one embodiment, the travel system 102 may include an engine 118, an energy source 119, a transmission 120, and wheels / tires 121. The engine 118 may be an internal combustion engine, an electric motor, an air compression engine, or a combination of other types of engines, such as a hybrid engine consisting of a gasoline engine and an electric motor, or a hybrid engine consisting of an internal combustion engine and an air compression engine. The engine 118 converts the energy source 119 into mechanical energy.
[0051] Examples of energy source 119 include gasoline, diesel, other petroleum-based fuels, propane, other compressed gas-based fuels, ethanol, solar panels, batteries, and other sources of electricity. Energy source 119 may also provide energy to other systems of vehicle 100.
[0052] The transmission 120 can transmit mechanical power from the engine 118 to the wheels 121. The transmission 120 may include a gearbox, a differential, and a drive shaft. In one embodiment, the transmission 120 may also include other devices, such as a clutch. Among them, the drive shaft may include one or more shafts that can be coupled to one or more wheels 121.
[0053] The sensor system 104 may include several sensors that sense information about the environment surrounding the vehicle 100. For example, the sensor system 104 may include a positioning system 122 (the positioning system may be a global positioning system (GPS) system, or a Beidou system or other positioning systems), an inertial measurement unit (IMU) 124, a radar 126, a laser rangefinder 128, and a camera 130. The sensor system 104 may also include sensors of the internal systems of the monitored vehicle 100 (e.g., an in-vehicle air quality monitor, a fuel gauge, an oil temperature gauge, etc.). Sensor data from one or more of these sensors may be used to detect objects and their corresponding characteristics (position, shape, direction, speed, etc.). Such detection and recognition are key functions for the safe operation of the autonomous vehicle 100.
[0054] Positioning system 122 may be used to estimate the geographic location of vehicle 100. IMU 124 is used to sense position and orientation changes of vehicle 100 based on inertial acceleration. In one embodiment, IMU 124 may be a combination of an accelerometer and a gyroscope.
[0055] Radar 126 may utilize radio signals to sense objects within the surrounding environment of vehicle 100. In some embodiments, in addition to sensing objects, radar 126 may also be used to sense the speed and / or heading of an object.
[0056] The laser rangefinder 128 may utilize laser light to sense objects in the environment in which the vehicle 100 is located. In some embodiments, the laser rangefinder 128 may include one or more laser sources, a laser scanner, and one or more detectors, among other system components.
[0057] The camera 130 may be used to capture multiple images of the surrounding environment of the vehicle 100. The camera 130 may be a still camera or a video camera.
[0058] Control system 106 controls the operation of vehicle 100 and its components. Control system 106 may include various elements, including a steering system 132 , a throttle 134 , a brake unit 136 , a sensor fusion algorithm 138 , a computer vision system 140 , a path control system 142 , and an obstacle avoidance system 144 .
[0059] The steering system 132 is operable to adjust the forward direction of the vehicle 100. For example, in one embodiment, the steering system 132 may be a steering wheel system.
[0060] The throttle 134 is used to control the operating speed of the engine 118 and, in turn, the speed of the vehicle 100 .
[0061] The brake unit 136 is used to control the deceleration of the vehicle 100. The brake unit 136 can use friction to slow down the wheel 121. In other embodiments, the brake unit 136 can convert the kinetic energy of the wheel 121 into electric current. The brake unit 136 can also take other forms to slow down the rotation speed of the wheel 121 to control the speed of the vehicle 100.
[0062] The computer vision system 140 can be operated to process and analyze the images captured by the camera 130 in order to identify objects and / or features in the environment surrounding the vehicle 100. The objects and / or features may include traffic signs, road boundaries, and obstacles. The computer vision system 140 may use object recognition algorithms, structure from motion (SFM) algorithms, video tracking, and other computer vision techniques. In some embodiments, the computer vision system 140 can be used to map the environment, track objects, estimate the speed of objects, and the like.
[0063] The route control system 142 is used to determine the driving route of the vehicle 100. In some embodiments, the route control system 142 may combine data from the sensors 138, the GPS 122, and one or more predetermined maps to determine the driving route for the vehicle 100.
[0064] The obstacle avoidance system 144 is used to identify, evaluate, and avoid or otherwise negotiate potential obstacles in the environment of the vehicle 100 .
[0065] Of course, in one example, the control system 106 may include additional or alternative components other than those shown and described, or may also reduce some of the components shown above.
[0066] The vehicle 100 interacts with external sensors, other vehicles, other computer systems, or users through peripherals 108. The peripherals 108 may include a wireless communication system 146, an onboard computer 148, a microphone 150, and / or a speaker 152.
[0067] In some embodiments, the peripheral device 108 provides a means for the user of the vehicle 100 to interact with the user interface 116. For example, the onboard computer 148 can provide information to the user of the vehicle 100. The user interface 116 can also operate the onboard computer 148 to receive input from the user. The onboard computer 148 can be operated via a touch screen. In other cases, the peripheral device 108 can provide a means for the vehicle 100 to communicate with other devices located in the vehicle. For example, the microphone 150 can receive audio (e.g., voice commands or other audio input) from the user of the vehicle 100. Similarly, the speaker 152 can output audio to the user of the vehicle 100.
[0068] The wireless communication system 146 can communicate wirelessly with one or more devices directly or via a communication network. For example, the wireless communication system 146 can use 3G cellular communication, such as code division multiple access (code division multiple access, CDMA), EVDO, global system for mobile communications (global system for mobile communications, GSM) / general packet radio service technology (general packet radio service, GPRS), or 4G cellular communication, such as long term evolution (long term evolution, LTE), or 5G cellular communication. The wireless communication system 146 can use WiFi to communicate with a wireless local area network (wireless local area network, WLAN). In some embodiments, the wireless communication system 146 can use an infrared link, Bluetooth or ZigBee to communicate directly with the device. Other wireless protocols, such as various vehicle communication systems, for example, the wireless communication system 146 may include one or more dedicated short range communications (dedicated short range communications, DSRC) devices, which may include public and / or private data communications between vehicles and / or roadside stations.
[0069] The power source 110 can provide power to various components of the vehicle 100. In one embodiment, the power source 110 can be a rechargeable lithium-ion or lead-acid battery. One or more battery packs of such batteries can be configured as a power source to provide power to various components of the vehicle 100. In some embodiments, the power source 110 and the energy source 119 can be implemented together, such as in some all-electric vehicles.
[0070] Some or all functions of the vehicle 100 are controlled by a computer system 112. The computer system 112 may include at least one processor 113 that executes instructions 115 stored in a non-transitory computer-readable medium such as a memory 114. The computer system 112 may also be a plurality of computing devices that control individual components or subsystems of the vehicle 100 in a distributed manner.
[0071] Processor 113 may be any conventional processor, such as a commercially available central processing unit (CPU). Alternatively, the processor may be a dedicated device such as an application specific integrated circuit (ASIC) or other hardware based processor. Figure 1Functionally illustrated processor, memory and other elements of the computer in the same block, but those of ordinary skill in the art will appreciate that the processor, computer or memory may actually include multiple processors, computers or memories that may or may not be stored in the same physical housing. For example, the memory may be a hard drive or other storage medium that is located in a housing different from the computer. Therefore, references to processors or computers will be understood to include references to a collection of processors or computers or memories that may or may not operate in parallel. Different from using a single processor to perform the steps described herein, some components such as steering components and deceleration components may each have their own processors that only perform calculations related to the functions specific to the components.
[0072] In various aspects described herein, the processor may be located remote from the vehicle and in wireless communication with the vehicle. In other aspects, some of the processes described herein are performed on a processor disposed within the vehicle and others are performed by a remote processor, including taking the necessary steps to perform a single maneuver.
[0073] In some embodiments, the memory 114 may contain instructions 115 (e.g., program logic) that may be executed by the processor 113 to perform various functions of the vehicle 100, including those described above. The memory 114 may also contain additional instructions, including instructions to send data to, receive data from, interact with, and / or control one or more of the travel system 102, the sensor system 104, the control system 106, and the peripherals 108.
[0074] In addition to instructions 115, memory 114 may also store data such as road maps, route information, the vehicle's location, direction, speed, and other such vehicle data, and other information. Such information may be used by vehicle 100 and computer system 112 during operation of vehicle 100 in autonomous, semi-autonomous, and / or manual modes.
[0075] The user interface 116 is used to provide information to or receive information from a user of the vehicle 100. Optionally, the user interface 116 may include one or more input / output devices within the set of peripherals 108, such as a wireless communication system 146, an onboard computer 148, a microphone 150, and a speaker 152.
[0076] Computer system 112 may control functions of vehicle 100 based on input received from various subsystems (e.g., travel system 102, sensor system 104, and control system 106) and from user interface 116. For example, computer system 112 may utilize input from control system 106 in order to control steering system 132 to avoid obstacles detected by sensor system 104 and obstacle avoidance system 144. In some embodiments, computer system 112 may be operable to provide control over many aspects of vehicle 100 and its subsystems.
[0077] Alternatively, one or more of the above-mentioned components may be installed or associated separately from the vehicle 100. For example, the memory 114 may exist partially or completely separately from the vehicle 100. The above-mentioned components may be communicatively coupled together in a wired and / or wireless manner.
[0078] Optionally, the above components are only examples. In actual applications, the components in the above modules may be added or deleted according to actual needs. Figure 1 It should not be understood as limiting the embodiments of the present application.
[0079] An autonomous vehicle traveling on a road, such as vehicle 100 above, can identify objects in its surrounding environment to determine adjustments to the current speed. The objects can be other vehicles, traffic control devices, or other types of objects. In some examples, each identified object can be considered independently, and based on the object's respective characteristics, such as its current speed, acceleration, spacing from the vehicle, etc., can be used to determine the speed to be adjusted by the autonomous vehicle.
[0080] Optionally, the autonomous vehicle 100 or a computing device associated with the autonomous vehicle 100 (eg, Figure 1 The computer system 112, computer vision system 140, memory 114) can predict the behavior of the identified object based on the characteristics of the identified object and the state of the surrounding environment (e.g., traffic, rain, ice on the road, etc.). Optionally, each identified object depends on the behavior of each other, so all the identified objects can also be considered together to predict the behavior of a single identified object. The vehicle 100 can adjust its speed based on the predicted behavior of the identified object. In other words, the self-driving car can determine what stable state the vehicle will need to adjust to (e.g., accelerate, decelerate, or stop) based on the predicted behavior of the object. In this process, other factors can also be considered to determine the speed of the vehicle 100, such as the lateral position of the vehicle 100 in the road it is traveling on, the curvature of the road, the proximity of static and dynamic objects, etc.
[0081] In addition to providing instructions to adjust the speed of the autonomous vehicle, the computing device may also provide instructions to modify the steering angle of vehicle 100 so that the autonomous vehicle follows a given trajectory and / or maintains a safe lateral and longitudinal distance from objects near the autonomous vehicle (e.g., cars in adjacent lanes on the road).
[0082] The vehicle 100 may include a road vehicle, a water vehicle, an air vehicle, an industrial device, an agricultural device, or an entertainment device, etc. The vehicle may be a vehicle in a broad sense, for example, the vehicle may be a vehicle (such as a commercial vehicle, a passenger car, a motorcycle, a flying vehicle, a train, etc.), an industrial vehicle (such as a forklift, a trailer, a tractor, etc.), an engineering vehicle (such as an excavator, a bulldozer, a crane, etc.), an agricultural device (such as a lawn mower, a harvester, etc.), an amusement device, a toy vehicle, etc.
[0083] Figure 2 A structural schematic diagram of an antenna detection circuit provided in an embodiment of the present application, the antenna detection circuit can be applied to the terminal device provided above, for example, the antenna detection circuit can be applied to a vehicle to support the vehicle to implement an on-board positioning function.
[0084] The antenna detection circuit includes: a controller 10, a switch circuit 20 and a presence detection circuit 30. The output end of the controller 10 is coupled to the control end of the switch circuit 20, the input end of the switch circuit 20 is used to couple with a power supply, the output end of the switch circuit 20 is coupled to the first input end of the presence detection circuit 30, the second input end of the presence detection circuit 30 is used to couple with an antenna, and the node coupled with the antenna can also be called the coupling point of the antenna. Figure 2 In the figure, the first input terminal and the second input terminal of the bit detection circuit 30 are represented as ANT_P and ANT_N respectively.
[0085] The controller 10 is used to control the switching circuit 20 to be turned on or off. Exemplarily, the controller 10 can be used to output a control signal, and the control signal can be used to control the switching circuit 20 to be turned on or off. For example, when the control signal is at a high level, the control signal can be used to control the switching circuit 20 to be turned on; when the control signal is at a low level, the control signal can be used to control the switching circuit 20 to be turned off. Optionally, the controller 10 can be a microcontroller unit (MCU) or other device with a control function in the terminal device. The power supply can also be used to power the controller 10.
[0086] The switch circuit 20 is used to switch on or off the power supply voltage for supplying power to the presence detection circuit 30, and the power supply voltage may be provided by a power supply. The switch circuit 20 switches on the power supply voltage for supplying power to the presence detection circuit 30, which may also be referred to as the switch circuit 20 switching on the connection between the presence detection circuit 30 and the power supply, i.e., when the switch circuit 20 is in the switched-on state, the power supply voltage may supply power to the presence detection circuit 30 after passing through the switch circuit 20. Similarly, the switch circuit 20 disconnects the power supply voltage for supplying power to the presence detection circuit 30, which may also be referred to as the switch circuit 20 disconnecting the connection between the presence detection circuit 30 and the power supply, i.e., when the switch circuit 20 is in the disconnected state, the power supply voltage is disconnected, thereby no longer supplying power to the presence detection circuit 30. Optionally, the switch circuit 20 may also be used to switch on or start the power supply to the antenna.
[0087] The in-place detection circuit 30 is used to receive the power supply voltage and detect the coupling point voltage of the antenna, and perform two-stage comparison and amplification on the coupling point voltage according to the power supply voltage to output a first indication signal, and the first indication signal is used to indicate whether the antenna is in place. Among them, performing two-stage comparison and amplification on the coupling point voltage can refer to comparing the coupling point voltage under different antenna states with different thresholds, and is achieved by two-stage comparison and amplification. In addition, the in-place state of the antenna includes two states: in-place and out-of-place. The in-place antenna can refer to the normal connection of the antenna, and the out-of-place antenna can refer to the abnormal or disconnected connection of the antenna. The first indication signal is used to indicate whether the antenna is in place. Exemplarily, when the first indication signal is at a low level, the first indication signal can be used to indicate that the antenna is in place; when the first indication signal is at a high level, the first indication signal can be used to indicate that the antenna is not in place.
[0088] In a possible embodiment, Figure 3 As shown, the switch circuit 20 may include: a transistor M, a capacitor C, and an RC circuit. The capacitor is coupled between the control electrode and the first electrode of the transistor M, the RC circuit is coupled between the control electrode and the second electrode of the transistor M, the first electrode of the transistor M is also used to output the power supply voltage, the second electrode of the transistor M is also used to receive the power supply voltage, and the control end of the transistor M is also used to receive the control signal.
[0089] Optionally, the transistor M may be a metal-oxide-semiconductor (MOS) tube, and transistors are divided into two types: N (negative) type transistors and P (positive) type transistors. The transistor M includes a source (source, s), a drain (drain, d) and a gate (gate, g), and the conduction or shutoff of the transistor M can be controlled by controlling the level of the input to the gate of the transistor M. Among them, the gate of the transistor M can also be called a control electrode, the source is called a first electrode, and the drain is called a second electrode; or, the gate is called a control electrode, the drain is called a first electrode, and the source is called a second electrode.
[0090] Further, such as Figure 3 As shown, the presence detection circuit 30 may include: a sampling circuit 31, a first-stage operational amplifier circuit 32, and a second-stage operational amplifier circuit 33. The first end of the sampling circuit 31 is coupled to the first input end of the second-stage operational amplifier circuit 33 and serves as the first input end of the presence detection circuit 30, the second end and the third end of the sampling circuit 31 are coupled to the first input end and the second input end of the first-stage operational amplifier circuit 32, respectively, the output end of the first-stage operational amplifier circuit 32 is coupled to the second input end of the second-stage operational amplifier circuit 33, the output end of the second-stage operational amplifier circuit 33 serves as the output end of the presence detection circuit 30, and the second end of the sampling circuit 31 is also used to couple with the antenna.
[0091] In the in-position detection circuit 30, the sampling circuit 31 can be used to sample the coupling point voltage of the antenna and generate a first comparison voltage based on the power supply voltage; the first-stage operational amplifier circuit 32 can be used to compare the coupling point voltage with the first comparison voltage and amplify to output a first amplified voltage; the second-stage operational amplifier circuit 33 is used to generate a second comparison voltage based on the power supply voltage, compare the first amplified voltage with the second comparison voltage and amplify to output a first indication signal. Figure 3 The first indication signal is represented as / ANT_DET.
[0092] In a possible embodiment, Figure 3 As shown, the sampling circuit may include: a first resistor R1 and a second resistor R2, one end of the first resistor and one end of the second resistor are coupled as the first end of the sampling circuit 31, the other end of the first resistor R1 is used as the second end of the sampling circuit, and the other end of the second resistor R2 is used as the third end of the sampling circuit. The first end of the sampling circuit 31 can be used to receive the power supply voltage, the second end of the sampling circuit is used to sample the coupling point voltage of the antenna, and the third end of the sampling circuit 31 can be used to output the first comparison voltage.
[0093] In a possible embodiment, Figure 3 As shown, the first-stage operational amplifier circuit 32 may include: a first operational amplifier A1 and a switch amplifier circuit 321. The first input terminal and the second input terminal of the first operational amplifier A1 serve as the first input terminal and the second input terminal of the first-stage operational amplifier circuit 32, respectively; the output terminal of the first operational amplifier A1 is coupled to the control terminal of the switch amplifier circuit 321; the second input terminal of the first operational amplifier A1 is coupled to the input terminal of the switch amplifier circuit 321; the power supply terminal of the first operational amplifier A1 is used to receive the power supply voltage; and the output terminal of the switch amplifier circuit 321 serves as the output terminal of the first-stage operational amplifier circuit 32. Optionally, the first input terminal of the first operational amplifier A1 may be a negative phase input terminal, and the second input terminal of the first operational amplifier A1 may be a positive phase input terminal.
[0094] The first input terminal of the first operational amplifier A1 can be used to receive the coupling point voltage, the second input terminal of the first operational amplifier A1 can be used to receive the first comparison voltage, and the output terminal of the first operational amplifier A1 can be used to output a first comparison result, which can be a high level or a low level. Exemplarily, when the first comparison voltage is greater than the coupling point voltage, the output terminal of the first operational amplifier A1 can be used to output a high level; when the first comparison voltage is less than the coupling point voltage, the output terminal of the first operational amplifier A1 can be used to output a low level.
[0095] Optional, such as Figure 3 As shown, the switch amplifier circuit 321 may include: a first transistor T, a third resistor R3, a fourth resistor R4 and a fifth resistor R5. The control electrode of the first transistor T is coupled to the control terminal of the switch amplifier circuit 321 through the third resistor R3. The control terminal of the first transistor T1 is coupled to the ground terminal GND through the fourth resistor R4. The first electrode of the first transistor T is coupled to the ground terminal through the fifth resistor R5; the second electrode of the first transistor T is coupled to the input terminal of the switch amplifier circuit 321.
[0096] The first transistor T in the embodiment of the present application may be a triode, and the type of the triode may be NPN or PNP. The control electrode (also referred to as the control terminal) of the first transistor T may be the base of the triode, the first electrode of the first transistor T may be one of the emitter or the collector, and the second electrode of the first transistor T may be the other of the emitter or the collector. Figure 3 In the description, the first electrode of the first transistor T is taken as the emitter, and the second electrode of the first transistor T is the collector.
[0097] In the switch amplifier circuit 321, the control end of the switch amplifier circuit 321 (i.e., the end of the third resistor R3 away from the first transistor T) can be used to receive the first comparison result, the input end of the switch amplifier circuit 321 (i.e., the second electrode of the first transistor T) can be used to receive the first comparison voltage, and the output end of the switch amplifier circuit 321 (i.e., the first electrode of the first transistor T) can be used to output the first amplified voltage. Specifically, when the first comparison result output by the first operational amplifier A1 is a high level, the first transistor T is in a conducting state, and at this time, the output end of the switch amplifier circuit 321 is used to output a high level, which can also be called a first amplified voltage; when the first comparison result output by the first operational amplifier A1 is a low level, the first transistor T is in a cut-off state, that is, the switch amplifier circuit 321 is in a disconnected state, and at this time, the output end of the switch amplifier circuit 321 is used to output a low level.
[0098] In a possible embodiment, Figure 3 As shown, the second-stage operational amplifier circuit 33 includes a first voltage divider circuit 331 and an operational amplifier circuit 332. The input end of the first voltage divider circuit 331 serves as the first input end of the second-stage operational amplifier circuit 33, the output end of the first voltage divider circuit 331 is coupled to the first input end of the operational amplifier circuit 332, the second input end of the operational amplifier circuit 332 serves as the second input end of the second-stage operational amplifier circuit 33, and the output end of the operational amplifier circuit 332 serves as the output end of the second-stage operational amplifier circuit 33. The first voltage divider circuit 331 can be used to generate a second comparison voltage according to the power supply voltage, and the operational amplifier circuit 332 can be used to compare the second comparison voltage with the first amplified voltage to output a first indication signal.
[0099] Optionally, the first voltage divider circuit 331 includes: a sixth resistor R6, a seventh resistor R7 and an eighth resistor R8. One end of the sixth resistor R6 serves as an input end of the first voltage divider circuit 331, the other end of the sixth resistor R6 is coupled with one end of the seventh resistor R7 and one end of the eighth resistor R8, the other end of the seventh resistor R7 is coupled with the ground terminal GND, and the other end of the eighth resistor R8 serves as an output end of the first voltage divider circuit 331.
[0100] Optionally, the operational amplifier circuit 332 includes a second operational amplifier A2, a ninth resistor R9, and a tenth resistor R10. The first input terminal and the second input terminal of the second operational amplifier A2 serve as the first input terminal and the second input terminal of the operational amplifier circuit 332, respectively. One end of the ninth resistor R9 is coupled to the first input terminal of the second operational amplifier A2. The output terminal of the second operational amplifier A2 is coupled to the other end of the ninth resistor R9 and one end of the tenth resistor R10. The other end of the tenth resistor R10 serves as the output terminal of the operational amplifier circuit 332. The power supply terminal of the second operational amplifier A2 is used to receive the power supply voltage. Optionally, the first input terminal of the second operational amplifier A2 may be a positive phase input terminal, and the second input terminal of the first operational amplifier A1 may be a negative phase input terminal.
[0101] The above-mentioned in-place detection circuit 30 adopts the design of a two-stage operational amplifier circuit to realize the current hysteresis comparison function, that is, to realize the current hysteresis comparison for the in-place detection current (for example, the current of the first input terminal ANT_P or the second input terminal ANT_N of the in-place detection circuit 30). In this way, the in-place detection current has a hysteresis interval, and the hysteresis interval can make the switching standard of the antenna in-place state higher, the judgment result more accurate, and the safety higher. For example, the hysteresis interval can be 4mA to 10mA. When the in-place detection current increases from a small value to 10mA (>10mA), the in-place detection circuit 30 will judge that the antenna is switched from an out-of-place state to an in-place state; when the in-place detection current decreases from a large value to 4mA (<4mA), the in-place detection circuit 30 will judge that the antenna is switched from an in-place state to an out-of-place state.
[0102] In addition, according to the virtual short and virtual open characteristics of the operational amplifier circuit, the relationship between the output voltage Vout of the second operational amplifier A2 and the in-position detection current can be calculated, so that the hysteresis interval can be determined according to the relationship between the output voltage Vout of the second operational amplifier A2 and the in-position detection current. In practical applications, the hysteresis interval can be set by adjusting the resistance values of the resistors in the above circuit (for example, the resistance values of R1, R2, R5, R6, R7, R8 and R9).
[0103] In the embodiment of the present application, after the current generated by the antenna passes through the first resistor R1 and the second resistor R2 in the sampling circuit 31, the collected weak current signal is converted into a voltage signal (i.e., the coupling point voltage of the antenna and the first comparison voltage), and the converted voltage signal is compared and amplified by the first-stage operational amplifier circuit 32. When the first operational amplifier A1 outputs a high voltage, the transistor in the switch amplifier circuit 321 is turned on, and the second-stage operational amplifier circuit 33 outputs a low voltage, at which time it can be determined that the antenna is in place; when the first operational amplifier A1 outputs a low voltage, the transistor in the switch amplifier circuit 321 is turned off, and the second-stage operational amplifier circuit 33 outputs a high voltage, at which time it can be determined that the antenna is not in place. In this way, by performing two-stage comparison and amplification on the detected coupling point voltage of the antenna, it can be determined whether the antenna is in place based on the comparison result, thereby ensuring the accuracy of the antenna detection.
[0104] Further, such as Figure 4 As shown, the antenna detection circuit may further include an overcurrent detection circuit 40, an input end of the overcurrent detection circuit 40 is used to couple with the antenna, and a power supply end of the overcurrent detection circuit 40 is used to receive the power supply voltage.
[0105] The switch circuit 20 is also used to switch on or off the power supply voltage for the overcurrent detection circuit 40. The overcurrent detection circuit 40 is used to receive the power supply voltage and detect the coupling point voltage of the antenna, generate a threshold voltage according to the power supply voltage, and compare the coupling point voltage with the threshold voltage to output a second indication signal, the second indication signal is used to indicate whether the antenna is in an overcurrent state. Exemplarily, when the threshold voltage is greater than the coupling point voltage and the second indication signal is at a high level, the second indication signal can be used to indicate that the antenna is in an overcurrent state; when the threshold voltage is less than the coupling point voltage and the second indication signal is at a low level, the second indication signal can be used to indicate that the antenna is not in an overcurrent state.
[0106] In a possible embodiment, Figure 5 As shown, the overcurrent detection circuit 40 may include: a third operational amplifier A3, a second voltage divider circuit 41, a current limiting resistor R13 and a first capacitor C1. The input end of the second voltage divider circuit 41 and the power supply end of the third operational amplifier A3 are both used to receive the power supply voltage, the output end of the second voltage divider circuit 41 is coupled to the first input end of the third operational amplifier A3, the second input end of the third operational amplifier A3 is used to couple with the antenna and is coupled with the ground end through the first capacitor C1, and the output end of the third operational amplifier A3 is coupled with the output end of the overcurrent detection circuit 40 through the current limiting resistor R13. Optionally, the first input end of the third operational amplifier A3 may be a positive phase input end, and the second input end of the third operational amplifier A3 may be a negative phase input end. Figure 5 The second indication signal is denoted as ANT_OC.
[0107] Optionally, the second voltage divider circuit 41 may include an eleventh resistor R11 and a twelfth resistor R12, one end of the eleventh resistor R11 serves as an input end of the second voltage divider circuit 41, the other end of the eleventh resistor R11 is coupled to one end of the twelfth resistor R12 and serves as an output end of the second voltage divider circuit 41, and the other end of the twelfth resistor R12 is coupled to the ground terminal GND. A suitable threshold voltage may be set by setting the resistance value of the eleventh resistor R11 and the resistance value of the twelfth resistor R12, and the threshold voltage may also be referred to as an overcurrent point voltage.
[0108] In the antenna detection circuit, the second voltage divider circuit 41 in the overcurrent detection circuit 40 can divide the power supply voltage to generate a threshold voltage, and the third operational amplifier A3 can compare the coupling point voltage of the antenna with the threshold voltage to output a second indication signal for indicating that the antenna is overcurrent. That is, the overcurrent detection circuit 40 can determine whether the antenna is overcurrent by comparing the coupling point voltage of the antenna with the threshold voltage, thereby ensuring the accuracy of the antenna detection, while improving the safety and reliability of the equipment and avoiding user safety risks caused by short circuits.
[0109] Further, such as Figure 4 As shown, the antenna detection circuit may also include a short-circuit detection circuit 50, the input end of which is used to couple with the antenna. The short-circuit detection circuit 50 is used to detect the coupling point voltage of the antenna, and divide and sample the coupling point voltage to output a third indication signal, and the third indication signal is used to indicate whether the antenna is in a short-circuit state (it can also be referred to as whether the antenna is short-circuited). Exemplarily, when the third indication signal is at a low level (or the voltage value corresponding to the third indication signal is 0), the third indication signal can be used to indicate that the antenna is in a short-circuit state; when the third indication signal is at a high level (or the voltage value corresponding to the third indication signal is greater than 0), the third indication signal can be used to indicate that the antenna is not in a short-circuit state.
[0110] In a possible embodiment, Figure 6 As shown, the short circuit detection circuit 50 may include: a third voltage divider circuit 51, a sampling resistor R16 and a second capacitor C2. The input end of the third voltage divider circuit 51 is used to couple with the antenna, the output end of the third voltage divider circuit 51 is coupled with one end of the sampling resistor R16 and one end of the second capacitor C2, the other end of the sampling resistor R16 serves as the output end of the short circuit detection circuit 50, and the other end of the second capacitor C2 is coupled with the ground terminal GND. Figure 6 The third indication signal is represented as / ANT_ST.
[0111] Optionally, the third voltage divider circuit 51 may include a fourteenth resistor R14 and a fifteenth resistor R15, one end of the fourteenth resistor R14 serves as an input end of the third voltage divider circuit 51, the other end of the fourteenth resistor R14 is coupled to one end of the fifteenth resistor R15 and serves as an output end of the third voltage divider circuit 51, and the other end of the fifteenth resistor R15 is coupled to the ground terminal GND.
[0112] In the antenna detection circuit, the short circuit detection circuit 50 is relative to a voltage collection circuit, and is used to collect the voltage at the coupling point of the antenna. When the antenna is short-circuited, the coupling point of the antenna is grounded, and the short circuit detection circuit 50 detects that the voltage at the coupling point of the antenna is 0, so that the short circuit detection circuit 50 outputs a low voltage. When the antenna is not short-circuited, the coupling point of the antenna has a certain potential, and the short circuit detection circuit 50 detects that the voltage at the coupling point of the antenna is not 0, so that the short circuit detection circuit 50 outputs a high voltage. In this way, the short circuit detection circuit 50 can determine whether the antenna is short-circuited by detecting whether the voltage at the coupling point of the antenna is 0, thereby ensuring the accuracy of the antenna detection, while improving the safety and reliability of the device, and avoiding user safety risks caused by short circuits.
[0113] It can be understood that the structures of the in-situ detection circuit 30, the sampling circuit 31, the first-stage operational amplifier circuit 32, the second-stage operational amplifier circuit 33, the overcurrent detection circuit 40 and the short-circuit detection circuit 50 shown in the above embodiments are merely exemplary, and the above circuits can also be implemented by circuits of other structures having the same or similar functions. The above examples do not constitute a limitation to the embodiments of the present application.
[0114] Furthermore, the controller 10 is also used to: receive an indication signal, and control the switching circuit 20 to be turned on or off according to the indication information, wherein the indication signal includes at least one of a first indication signal, a second indication signal, or a third indication signal. In this way, the controller 10 can control the switching circuit 20 to be turned on or off according to the received indication signal, that is, generate a control signal according to the indication signal to control the switching circuit 20 to be turned on or off through the control signal. In addition, the controller 10 can also send feedback information to the back-end circuit to feed back various states of the antenna to the back-end circuit, so as to facilitate the protection of the back-end circuit.
[0115] In an embodiment of the present application, the controller 10 can receive a first indication signal for indicating whether the antenna is in place, a second indication signal for indicating whether the antenna is overcurrent, and a third indication signal for indicating whether the antenna is short-circuited, so that the controller 10 can control the switching circuit 20 to be turned on or off according to the received indication signal, such as disconnecting the switching circuit 20 when the antenna is short-circuited or overcurrent occurs, thereby improving the safety and reliability of the antenna and the terminal device applied to the antenna detection circuit.
[0116] Based on this, the embodiment of the present application also provides a terminal device, such as Figure 7 As shown, the terminal device includes a power supply and an antenna detection circuit, the power supply is used to provide a power supply voltage for the antenna detection circuit, and the antenna detection circuit can be any of the antenna detection circuits provided above. Optionally, the terminal device can be a vehicle-mounted device.
[0117] In another aspect of the present application, a vehicle is also provided, which may include the vehicle-mounted device provided above. Optionally, the vehicle may be an autonomous driving vehicle with a vehicle-mounted positioning function.
[0118] It can be understood that the detailed description of the antenna detection circuit in the above text can be referred to in the corresponding embodiments of the terminal device and the vehicle, and the embodiments of the present application will not be repeated here.
[0119] Figure 8 An antenna detection method is also provided in an embodiment of the present application. The method can be applied to the antenna detection circuit provided above. The antenna detection circuit includes: a controller, a switch circuit and a position detection circuit. The position detection circuit is used to couple with the antenna. The antenna detection can include the following steps.
[0120] S401: The controller controls the switching circuit to be turned on or off.
[0121] Exemplarily, the controller may output a control signal, and the control signal may be used to control the switching circuit to be turned on or off. For example, when the control signal is at a high level, the control signal may be used to control the switching circuit to be turned on; when the control signal is at a low level, the control signal may be used to control the switching circuit to be turned off. Optionally, the controller may be a microcontroller unit MCU, or may be other devices with control functions in the terminal device.
[0122] S402: The switch circuit switches on or off the power supply voltage for supplying power to the presence detection circuit.
[0123] The switch circuit switches on the power supply voltage for supplying power to the presence detection circuit, which can also be referred to as the switch circuit switching on the connection between the presence detection circuit and the power supply, i.e., when the switch circuit is in the switched-on state, the power supply voltage can supply power to the presence detection circuit after passing through the switch circuit. Similarly, the switch circuit disconnects the power supply voltage for supplying power to the presence detection circuit, which can also be referred to as the switch circuit disconnecting the connection between the presence detection circuit and the power supply, i.e., when the switch circuit is in the disconnected state, the power supply voltage is disconnected, thereby no longer supplying power to the presence detection circuit.
[0124] S403: The presence detection circuit receives the power supply voltage and detects the coupling point voltage of the antenna, performs two-stage comparison and amplification on the coupling point voltage according to the power supply voltage to output a first indication signal, wherein the first indication signal is used to indicate whether the antenna is in place.
[0125] Among them, performing two-stage comparison and amplification on the coupling point voltage may refer to comparing the coupling point voltage under different antenna states with different thresholds, and this is achieved through two-stage comparison and amplification. In addition, the antenna's in-place state includes two states: in-place and out-of-place. The antenna in-place may refer to a normal connection of the antenna, and the antenna out-of-place may refer to an abnormal or disconnected connection of the antenna. The first indication signal is used to indicate whether the antenna is in place. Exemplarily, when the first indication signal is at a low level, the first indication signal can be used to indicate that the antenna is in place; when the first indication signal is at a high level, the first indication signal can be used to indicate that the antenna is not in place.
[0126] In a possible embodiment, the in-position detection circuit includes a sampling circuit, a first-stage operational amplifier circuit, and a second-stage operational amplifier circuit. Accordingly, the above S403 may specifically include: the sampling circuit samples the coupling point voltage of the antenna, and generates a first comparison voltage according to the power supply voltage; the first-stage operational amplifier circuit compares the coupling point voltage with the first comparison voltage and amplifies it to output a first amplified voltage; the second-stage operational amplifier circuit generates a second comparison voltage according to the power supply voltage, compares the first amplified voltage with the second comparison voltage and amplifies it to output a first indication signal.
[0127] The above-mentioned in-place detection circuit realizes the current hysteresis comparison function, that is, it realizes the current hysteresis comparison of the in-place detection current. In this way, the in-place detection current has a hysteresis interval, and the hysteresis interval can make the switching standard of the antenna in-place state higher, the judgment result more accurate, and the safety higher. For example, the hysteresis interval can be 4mA~10mA. When the in-place detection current increases from a small value to 10mA (>10mA), the in-place detection circuit will judge that the antenna is switched from an out-of-place state to an in-place state; when the in-place detection current decreases from a large value to 4mA (<4mA), the in-place detection circuit will judge that the antenna is switched from an in-place state to an out-of-place state.
[0128] In the embodiment of the present application, after the current generated by the antenna passes through the first resistor and the second resistor in the sampling circuit, the collected weak current signal is converted into a voltage signal (i.e., the coupling point voltage and the first comparison voltage), and the converted voltage signal is compared and amplified by the first-stage operational amplifier circuit. When the first-stage operational amplifier circuit outputs a high voltage, the transistor in the switch amplifier circuit is turned on, and the second-stage operational amplifier circuit outputs a low voltage, at which time it can be determined that the antenna is in place; when the first-stage operational amplifier circuit outputs a low voltage, the transistor in the switch amplifier circuit is turned off, and the second-stage operational amplifier circuit outputs a high voltage, at which time it can be determined that the antenna is not in place. In this way, by performing a two-stage comparison and amplification on the detected coupling point voltage of the antenna, it is possible to determine whether the antenna is in place based on the comparison result, thereby ensuring the accuracy of the antenna detection and improving the safety of the device.
[0129] Furthermore, the antenna detection circuit also includes an overcurrent detection circuit, which is used to couple with the antenna. Accordingly, the method also includes: the switch circuit switches on or off the power supply voltage for the overcurrent detection circuit; the overcurrent detection circuit receives the power supply voltage and detects the coupling point voltage of the antenna, generates a threshold voltage according to the power supply voltage, and compares the coupling point voltage with the threshold voltage to output a second indication signal, and the second indication signal is used to indicate whether the antenna is in an overcurrent state. In this way, the overcurrent detection circuit can determine whether the antenna is overcurrent by comparing the coupling point voltage of the antenna with the threshold voltage, thereby ensuring the accuracy of the antenna detection, while improving the safety and reliability of the device and avoiding user safety risks caused by short circuits.
[0130] Furthermore, the antenna detection circuit also includes a short-circuit detection circuit, which is used to couple with the antenna. Accordingly, the method also includes: the short-circuit detection circuit detects the coupling point voltage of the antenna, and divides and samples the coupling point voltage to output a third indication signal, and the third indication signal is used to indicate whether the antenna is in a short-circuit state. In this way, the short-circuit detection circuit can determine whether the antenna is short-circuited by detecting whether the coupling point voltage of the antenna is 0, thereby ensuring the accuracy of the antenna detection, while improving the safety and reliability of the device and avoiding user safety risks caused by short circuits.
[0131] In a possible embodiment, the controller controls the switching circuit to be turned on or off, including: the controller receives an indication signal and controls the switching circuit to be turned on or off according to the indication information, and the indication signal includes at least one of a first indication signal, a second indication signal or a third indication signal.
[0132] In an embodiment of the present application, the controller can receive a first indication signal indicating whether the antenna is in place, a second indication signal whether the antenna is overcurrent, and a third indication signal whether the antenna is short-circuited, so that the controller can control the switching circuit to be turned on or off according to the received indication signal, such as disconnecting the switching circuit when the antenna is short-circuited or overcurrent occurs, thereby improving the safety and reliability of the antenna and the terminal device applied to the antenna detection circuit.
[0133] It can be understood that the detailed description of the antenna detection circuit in the above text can be referred to in the corresponding embodiments of the antenna detection method, and the embodiments of the present application will not be repeated here.
[0134] Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An antenna detection circuit, characterized in that: The antenna detection circuit comprises: a controller, a switch circuit and a presence detection circuit, wherein the output end of the controller is coupled to the control end of the switch circuit, the input end of the switch circuit is used to couple with a power supply, the output end of the switch circuit is coupled to the first input end of the presence detection circuit, and the second input end of the presence detection circuit is used to couple with the antenna; The controller is used to control the switching circuit to be turned on or off; The switch circuit is used to switch on or off the power supply voltage for supplying power to the presence detection circuit; The in-place detection circuit is used to receive the power supply voltage and detect the coupling point voltage of the antenna, and perform two-stage comparison and amplification on the coupling point voltage according to the power supply voltage to output a first indication signal, wherein the first indication signal is used to indicate whether the antenna is in place.
2. The antenna detection circuit according to claim 1, characterized in that: The in-situ detection circuit comprises: a sampling circuit, a first-stage operational amplifier circuit and a second-stage operational amplifier circuit; Among them, the first end of the sampling circuit is coupled to the first input end of the second-stage operational amplifier circuit and serves as the first input end of the presence detection circuit, the second end and the third end of the sampling circuit are respectively coupled to the first input end and the second input end of the first-stage operational amplifier circuit, the output end of the first-stage operational amplifier circuit is coupled to the second input end of the second-stage operational amplifier circuit, the output end of the second-stage operational amplifier circuit serves as the output end of the presence detection circuit, and the second end of the sampling circuit is also used to couple with the antenna.
3. The antenna detection circuit according to claim 2, characterized in that: The sampling circuit is used to sample the voltage at the coupling point of the antenna and generate a first comparison voltage according to the power supply voltage; The first-stage operational amplifier circuit is used to compare the coupling point voltage with the first comparison voltage and amplify it to output a first amplified voltage; The second-stage operational amplifier circuit is used to generate a second comparison voltage according to the power supply voltage, compare the first amplified voltage and the second comparison voltage and amplify them to output the first indication signal.
4. The antenna detection circuit according to claim 2 or 3, characterized in that: The sampling circuit includes: a first resistor and a second resistor, one end of the first resistor and one end of the second resistor are coupled as the first end of the sampling circuit, the other end of the first resistor is used as the second end of the sampling circuit, and the other end of the second resistor is used as the third end of the sampling circuit.
5. The antenna detection circuit according to any one of claims 2 to 4, characterized in that: The first-stage operational amplifier circuit includes: a first operational amplifier and a switching amplifier circuit; Among them, the first input terminal and the second input terminal of the first operational amplifier are respectively used as the first input terminal and the second input terminal of the first-stage operational amplifier circuit, the output terminal of the first operational amplifier is coupled to the control terminal of the switching amplifier circuit, the second input terminal of the first operational amplifier is coupled to the input terminal of the switching amplifier circuit, the power supply terminal of the first operational amplifier is used to receive the power supply voltage, and the output terminal of the switching amplifier circuit is used as the output terminal of the first-stage operational amplifier circuit.
6. The antenna detection circuit according to claim 5, characterized in that: The switch amplifier circuit comprises: a first transistor, a third resistor, a fourth resistor and a fifth resistor; The control electrode of the first transistor is coupled to the control end of the switching amplifier circuit through the third resistor, the control end of the first transistor is coupled to the ground end through the fourth resistor, the first electrode of the first transistor is coupled to the ground end through the fifth resistor, and the second electrode of the first transistor is coupled to the input end of the switching amplifier circuit.
7. The antenna detection circuit according to any one of claims 2 to 6, characterized in that: The second-stage operational amplifier circuit includes a first voltage divider circuit and an operational amplifier circuit; Among them, the input end of the first voltage divider circuit serves as the first input end of the second-stage operational amplifier circuit, the output end of the first voltage divider circuit is coupled to the first input end of the operational amplifier circuit, the second input end of the operational amplifier circuit serves as the second input end of the second-stage operational amplifier circuit, and the output end of the operational amplifier circuit serves as the output end of the second-stage operational amplifier circuit.
8. The antenna detection circuit according to claim 7, characterized in that: The first voltage divider circuit includes: a sixth resistor, a seventh resistor and an eighth resistor; One end of the sixth resistor serves as the input end of the first voltage divider circuit, the other end of the sixth resistor is coupled to one end of the seventh resistor and one end of the eighth resistor, the other end of the seventh resistor is coupled to the ground end, and the other end of the eighth resistor serves as the output end of the first voltage divider circuit.
9. The antenna detection circuit according to claim 7 or 8, characterized in that: The operational amplifier circuit includes a second operational amplifier, a ninth resistor and a tenth resistor; Among them, the first input terminal and the second input terminal of the second operational amplifier serve as the first input terminal and the second input terminal of the operational amplifier circuit respectively, one end of the ninth resistor is coupled to the first input terminal of the second operational amplifier, the output terminal of the second operational amplifier is coupled to the other end of the ninth resistor and one end of the tenth resistor, the other end of the tenth resistor serves as the output terminal of the operational amplifier circuit, and the power supply terminal of the second operational amplifier is used to receive the power supply voltage.
10. The antenna detection circuit according to any one of claims 1 to 9, characterized in that: The antenna detection circuit further includes: an overcurrent detection circuit, wherein an input end of the overcurrent detection circuit is used to couple with the antenna, and a power supply end of the overcurrent detection circuit is used to receive the power supply voltage; The switch circuit is further used to switch on or off the power supply voltage for supplying power to the overcurrent detection circuit; The overcurrent detection circuit is used to receive the power supply voltage and detect the coupling point voltage of the antenna, generate a threshold voltage according to the power supply voltage, and compare the coupling point voltage with the threshold voltage to output a second indication signal, wherein the second indication signal is used to indicate whether the antenna is in an overcurrent state.
11. The antenna detection circuit according to claim 10, characterized in that: The overcurrent detection circuit comprises: a third operational amplifier, a second voltage divider circuit, a current limiting resistor and a first capacitor; Among them, the input end of the second voltage divider circuit and the power supply end of the third operational amplifier are both used to receive the power supply voltage, the output end of the second voltage divider circuit is coupled to the first input end of the third operational amplifier, the second input end of the third operational amplifier is used to couple with the antenna and coupled with the ground end through the first capacitor, and the output end of the third operational amplifier is coupled with the output end of the overcurrent detection circuit through the current limiting resistor.
12. The antenna detection circuit according to any one of claims 1 to 11, characterized in that: The antenna detection circuit further includes: a short circuit detection circuit, wherein an input end of the short circuit detection circuit is used to couple with the antenna; The short-circuit detection circuit is used to detect the coupling point voltage of the antenna, and divide and sample the coupling point voltage to output a third indication signal, wherein the third indication signal is used to indicate whether the antenna is in a short-circuit state.
13. The antenna detection circuit according to claim 12, characterized in that: The short circuit detection circuit comprises: a third voltage divider circuit, a sampling resistor and a second capacitor; Among them, the input end of the third voltage divider circuit is used to couple with the antenna, the output end of the third voltage divider circuit is coupled with one end of the sampling resistor and one end of the second capacitor, the other end of the sampling resistor serves as the output end of the short-circuit detection circuit, and the other end of the second capacitor is coupled with the ground end.
14. The antenna detection circuit according to any one of claims 1 to 13, characterized in that: The controller is further used to receive an indication signal and control the switching circuit to be turned on or off according to the indication information, wherein the indication signal includes at least one of the first indication signal, the second indication signal or the third indication signal.
15. The antenna detection circuit according to any one of claims 1 to 14, characterized in that: The switch circuit includes: a second transistor, a third capacitor, and an RC circuit; Among them, the third capacitor is coupled between the control electrode and the first electrode of the second transistor, the RC circuit is coupled between the control electrode and the second electrode of the second transistor, the first electrode of the second transistor is also used to output the power supply voltage, the second electrode of the second transistor is also used to receive the power supply voltage, and the control end of the second transistor is also used to receive a control signal.
16. An antenna detection method, characterized in that: Applied in an antenna detection circuit, the antenna detection circuit includes: a controller, a switch circuit and a presence detection circuit, the presence detection circuit is used to couple with the antenna, and the method includes: The controller controls the switching circuit to be turned on or off; The switch circuit switches on or off the power supply voltage for supplying power to the presence detection circuit; The presence detection circuit receives the power supply voltage and detects the coupling point voltage of the antenna, performs two-stage comparison and amplification on the coupling point voltage according to the power supply voltage to output a first indication signal, wherein the first indication signal is used to indicate whether the antenna is in place.
17. The antenna detection method according to claim 16, characterized in that: The in-situ detection circuit comprises: a sampling circuit, a first-stage operational amplifier circuit and a second-stage operational amplifier circuit: The sampling circuit samples the voltage at the coupling point of the antenna and generates a first comparison voltage according to the power supply voltage; The first-stage operational amplifier circuit compares the coupling point voltage with the first comparison voltage and amplifies the voltage to output a first amplified voltage; The second-stage operational amplifier circuit generates a second comparison voltage according to the power supply voltage, compares and amplifies the first amplified voltage and the second comparison voltage to output the first indication signal.
18. The antenna detection method according to claim 16 or 17, characterized in that: The antenna detection circuit further includes an overcurrent detection circuit, and the overcurrent detection circuit is used to couple with the antenna. The method further includes: The switch circuit switches on or off the power supply voltage for supplying power to the overcurrent detection circuit; The overcurrent detection circuit receives the power supply voltage and detects the coupling point voltage of the antenna, generates a threshold voltage according to the power supply voltage, and compares the coupling point voltage with the threshold voltage to output a second indication signal, wherein the second indication signal is used to indicate whether the antenna is in an overcurrent state.
19. The antenna detection method according to any one of claims 16 to 18, characterized in that: The antenna detection circuit further includes a short circuit detection circuit, and the short circuit detection circuit is used to couple with the antenna. The method further includes: The short-circuit detection circuit detects the voltage at the coupling point of the antenna, and performs voltage division and sampling processing on the coupling point voltage to output a third indication signal, wherein the third indication signal is used to indicate whether the antenna is in a short-circuit state.
20. The antenna detection method according to any one of claims 16 to 19, characterized in that: The controller controls the switching circuit to be turned on or off, including: The controller receives an indication signal and controls the switching circuit to be turned on or off according to the indication information, wherein the indication signal includes at least one of the first indication signal, the second indication signal or the third indication signal.
21. A vehicle-mounted device, characterized in that: The vehicle-mounted device comprises a power supply and the antenna detection circuit according to any one of claims 1 to 15, wherein the power supply is used to provide a power supply voltage for the antenna detection circuit.
22. A vehicle, characterized in that: The vehicle includes the in-vehicle device according to claim 21.
Citation Information
Patent Citations
Method and circuit for detecting antenna, receiving circuit and decoding circuit
CN101741482A
Electronic equipment and antenna structure thereof, antenna voltage adjustment method and apparatus
CN109004359A
Detection unit, satellite antenna in-situ detection device and detection method
CN112835072A
Antenna detection circuit and vehicle-mounted equipment
CN213959732U
Vehicle-mounted communication terminal
CN217672496U
Cited By
Antenna detection circuit and method, and onboard device and vehicle
EP4718086A1
Antenna detection circuit and method, and onboard device and vehicle
WO2025001182A1