Search

CN-118670512-B - Circuit, method and radar for detecting ambient light

CN118670512BCN 118670512 BCN118670512 BCN 118670512BCN-118670512-B

Abstract

The application relates to a circuit, a method and a radar for detecting ambient light, wherein the circuit for detecting the ambient light comprises a photosensitive element, an electric signal conditioning circuit, a detection processing unit and a digital processing unit, wherein the photosensitive element is used for converting a received optical signal into a current signal, the electric signal conditioning circuit is coupled with the photosensitive element and used for converting the current signal into a voltage signal, the detection processing unit is coupled with the electric signal conditioning circuit and used for converting the voltage signal into a digital signal based on a voltage threshold value, and the digital processing unit is coupled with the detection processing unit and used for processing the digital signal to obtain ambient light information. According to the application, the ambient light can be detected, the sunlight noise resistance of the laser radar is improved, the accuracy of the detection result of the laser radar is improved, and the personal safety and property safety of a user are further improved.

Inventors

  • GONG CHANGSHENG
  • WANG JIAXIN

Assignees

  • 深圳市速腾聚创科技有限公司

Dates

Publication Date
20260505
Application Date
20230316

Claims (12)

  1. 1. A circuit for detecting ambient light, comprising: the photosensitive component is used for converting the received optical signal into a current signal; the electric signal conditioning circuit is coupled with the photosensitive component and is used for converting the current signal into a voltage signal; A detection processing unit coupled to the electrical signal conditioning circuit for converting the voltage signal over M time units into a digital signal over the M time units based on a voltage threshold; The digital processing unit is coupled with the detection processing unit and is used for superposing the digital signals in the M time units in a starting time alignment mode to obtain an ambient light digital signal; The digital processing unit is further used for filtering the environment light digital signal to obtain environment light information, and the filtering is used for optimizing the environment light digital signal based on historical environment light information and/or future environment light information.
  2. 2. The circuit of claim 1, wherein: The photosensitive component is specifically used for converting an ambient light signal received in M time units into a current signal in the M time units.
  3. 3. The circuit of claim 2, wherein: The photosensitive component is also used for outputting P groups of current signals, and each group of current signals comprises current signals in M time units; The digital processing unit is specifically configured to superimpose P groups of ambient light digital signals corresponding to the P groups of current signals in a time alignment manner, so as to obtain ambient light digital signals.
  4. 4. The circuit of claim 2, wherein the electrical signal conditioning circuit comprises: The voltage conversion circuit is coupled with the photosensitive element and is used for carrying out voltage conversion on current signals from the photosensitive element in the M time units; And the first amplifying circuit is coupled with the voltage conversion circuit and is used for amplifying the voltage converted signals to obtain the voltage signals in the M time units.
  5. 5. The circuit of claim 1, wherein the detection processing unit comprises: a threshold generation circuit for outputting the voltage threshold; the comparison circuit is respectively coupled with the electric signal conditioning circuit and the threshold generating circuit and is used for respectively comparing the voltage signals with the voltage threshold values in the M time units to obtain comparison results; And the histogram generation circuit is coupled with the comparison circuit and is used for generating a histogram based on the comparison result to obtain the digital signal.
  6. 6. The circuit of claim 4, wherein the detection processing unit comprises: a threshold generation circuit for outputting the voltage threshold; the comparison circuit is respectively coupled with the electric signal conditioning circuit and the threshold generating circuit and is used for respectively comparing the voltage signals with the voltage threshold values in the M time units to obtain comparison results; and the accumulation circuit is coupled with the comparison circuit and is used for obtaining the digital signal based on accumulation operation of the comparison result.
  7. 7. The circuit of claim 6, wherein the accumulation circuit comprises: The counter is coupled with the comparison circuit and is used for counting the number of pulses to obtain the digital signal; And/or And the carry chain is coupled with the comparison circuit and is used for calculating the addition operation result of the pulse width of each voltage signal in the M time units.
  8. 8. The circuit of claim 4, wherein the electrical signal conditioning circuit further comprises: The filtering circuit is coupled with the first amplifying circuit and is used for filtering the voltage signals in the M time units to obtain filtered voltage signals; and the second amplifying circuit is coupled with the filtering circuit and is used for amplifying the filtered voltage signal to obtain the voltage signal in the M time units.
  9. 9. A radar, comprising: The circuit for detecting ambient light according to any one of claims 1 to 8 for obtaining ambient light information; And the processor is coupled with the circuit for detecting the ambient light and is used for processing the received laser signal based on the ambient light information so as to reduce the interference of the ambient light on the laser signal.
  10. 10. A method of detecting ambient light, comprising: converting the received optical signal into a current signal; converting the current signal into a voltage signal; Converting the voltage signal in M time units into a digital signal in the M time units based on a voltage threshold; Superposing the digital signals in the M time units in a starting time alignment mode to obtain an ambient light digital signal; the method further comprises the step of filtering the environment light digital signal to obtain environment light information, wherein the step of filtering is based on historical environment light information and/or future environment light information, and the step of optimizing the environment light digital signal.
  11. 11. The method as recited in claim 10, further comprising: And processing the received laser signal based on the ambient light information to reduce interference of the ambient light on the laser signal.
  12. 12. An electronic device, comprising: processor, and Memory having stored thereon executable code which, when executed by the processor, causes the processor to perform the method according to claim 10 or 11.

Description

Circuit, method and radar for detecting ambient light Technical Field The present application relates to the field of computer technologies, and in particular, to a circuit, a method, and a radar for detecting ambient light. Background With rapid development of computer technology, information technology, and the like, auxiliary driving and automatic driving functions, and the like, are increasingly entering into the daily life of the masses. Taking an autopilot technology as an example, the radar can acquire environmental information, so that a decision system of autopilot adopts driving strategies, such as obstacle avoidance and the like, which are adaptive to the environmental information. The applicant finds that the influence of the ambient light on the detection result of the laser radar is larger, the sunlight noise resistance of the laser radar is not easy to improve on the basis of low cost and low power consumption in the related art, and the accuracy of the detection result of the laser radar is not easy to improve. Disclosure of Invention In order to solve or partially solve the problems in the related art, the application provides a circuit, a method and a radar for detecting ambient light, which can detect the ambient light, improve the sunlight noise resistance of the laser radar, improve the accuracy of the detection result of the laser radar, and further improve the personal safety and property safety of a user. The first aspect of the application provides a circuit for detecting ambient light, which comprises a photosensitive component, an electric signal conditioning circuit, a detection processing unit and a digital processing unit. The light sensing device is used for converting a received light signal into a current signal, the electric signal conditioning circuit is coupled with the light sensing device and used for converting the current signal into a voltage signal, the detection processing unit is coupled with the electric signal conditioning circuit and used for converting the voltage signal into a digital signal based on a voltage threshold value, and the digital processing unit is coupled with the detection processing unit and used for processing the digital signal to obtain ambient light information. A second aspect of the application provides a radar comprising a circuit and a processor as described above for detecting ambient light. The processor is coupled with the circuit for detecting the ambient light and is used for processing the received laser signal based on the ambient light information so as to reduce interference of the ambient light on the laser signal. A third aspect of the present application provides a method of detecting ambient light, comprising converting a received light signal into a current signal, converting the current signal into a voltage signal, converting the voltage signal into a digital signal based on a voltage threshold, and processing the digital signal to obtain ambient light information. A fourth aspect of the application provides an electronic device comprising a processor and a memory having executable code stored thereon which, when executed by the processor, causes the processor to perform a method as described above. A fifth aspect of the application provides a computer readable storage medium having executable code stored thereon, which when executed by a processor of an electronic device causes the processor to perform a method as above. A sixth aspect of the application provides a computer program product comprising executable code which when executed implements a method as above. The technical scheme provided by the application can comprise the following beneficial effects: in some embodiments of the present application, a photosensitive element is used to convert an optical signal into a current signal and to convert the current signal into a digital signal based on a voltage threshold in order to reduce interference of ambient light on the laser. In this embodiment, an analog-to-digital conversion (ADC) sampling manner is not used, so that ambient light can be sampled, which not only simplifies circuit design, but also reduces cost and power consumption. In addition, in some embodiments of the present application, the digital processing unit superimposes the digital signals in M time units in a manner of starting time alignment, so as to obtain the ambient light digital signal. Therefore, the influence of the ambient light on the laser under the environments of high illumination, light pollution and the like can be effectively improved. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application as claimed. Drawings The foregoing and other objects, features and advantages of the application will be apparent from the following more particular descriptions of exemplary embodiments of the application as illustrat