Search

CN-122026907-A - Sensor signal processing method and related device

CN122026907ACN 122026907 ACN122026907 ACN 122026907ACN-122026907-A

Abstract

The application provides a sensor signal processing method and a related device, which are applied to electronic equipment, wherein the electronic equipment comprises a sensor and a current ADC module, the sensor comprises a receiving module and a signal amplifying module, the method comprises the steps of collecting a first signal through the receiving module, wherein the first signal comprises a first direct current component and a first alternating current component, counteracting the first direct current component through the current ADC module by utilizing a preset current value, amplifying and converting the first alternating current component through the signal amplifying module to obtain a voltage signal, processing the voltage signal to obtain a sensor signal, and outputting the sensor signal. By adopting the embodiment of the application, the direct current component in the current signal received by the sensor can be removed while the alternating current component is maintained, so that the signal amplifying circuit is not easy to saturate.

Inventors

  • WANG JIAN
  • LI XIAN

Assignees

  • 深圳市茂捷半导体有限公司

Dates

Publication Date
20260512
Application Date
20260109

Claims (10)

  1. 1. A sensor signal processing method, which is applied to an electronic device, wherein the electronic device comprises a sensor and a current ADC module, the sensor comprises a receiving module and a signal amplifying module, and the method comprises: Collecting a first signal by the receiving module, wherein the first signal comprises a first direct current component and a first alternating current component; counteracting the first direct current component by the current ADC module using a preset current value; Amplifying and converting the first alternating current component through the signal amplifying module to obtain a voltage signal; and processing the voltage signal to obtain a sensor signal, and outputting the sensor signal.
  2. 2. The method of claim 1, wherein the method further comprises: Collecting a second signal by the receiving module in a non-transmitting time period of the sensor, wherein the second signal only comprises a second direct current signal; and carrying out quantization processing on the second direct current signal through the current ADC module to obtain the preset current value.
  3. 3. The method of claim 1 or 2, wherein the receiving module comprises a PD module equivalent to one photodiode and parasitic capacitance; The receiving module is used for converting light emitted by an object into a current signal.
  4. 4. The method of claim 1 or 2, wherein the signal amplification module comprises a TIA circuit; The TIA circuit is used for amplifying and converting a current signal into a voltage signal.
  5. 5. A method according to claim 1 or 2, wherein the current ADC module is equivalent to a variable current sink.
  6. 6. The method of claim 1 or 2, wherein the current ADC module comprises successive approximation logic, a transistor circuit comprising a vbias terminal and a v_tia terminal, and a comparator having one terminal for inputting a reference voltage vref; the successive approximation logic is used for generating a control signal; The vbias terminal is used for providing bias for the transistor to work in a proper area, and the transistor circuit realizes current-voltage conversion to generate a target voltage signal at the v_tia terminal; the comparator is used for comparing the target voltage signal with the vref to obtain a comparison result and feeding back the comparison result to the successive approximation logic; the successive approximation logic is further configured to adjust the control signal according to the comparison signal, so as to achieve a cancellation effect of canceling the first dc component.
  7. 7. A sensor signal processing device is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a sensor and a current ADC module, the sensor comprises a receiving module and a signal amplifying module, the device comprises an acquisition unit, a counteracting unit and a processing unit, The acquisition unit is used for acquiring a first signal through the receiving module, wherein the first signal comprises a first direct current component and a first alternating current component; the offset unit is used for offset the first direct current component by the current ADC module through a preset current value; The processing unit is used for amplifying and converting the first alternating current component through the signal amplifying module to obtain a voltage signal, processing the voltage signal to obtain a sensor signal and outputting the sensor signal.
  8. 8. The apparatus of claim 7, wherein the apparatus is further specifically configured to: Collecting a second signal by the receiving module in a non-transmitting time period of the sensor, wherein the second signal only comprises a second direct current signal; and carrying out quantization processing on the second direct current signal through the current ADC module to obtain the preset current value.
  9. 9. An electronic device comprising a processor, a memory for storing one or more programs and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-6.
  10. 10. A computer readable storage medium, characterized in that a computer program is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-6.

Description

Sensor signal processing method and related device Technical Field The application relates to the technical field of sensors, in particular to a sensor signal processing method and a related device. Background Along with the rapid development of sensor technology, the application of the sensor is also various, and the received physical signals have various forms such as light, sound, magnetism and the like. The sensor receives these signals and converts them into voltage or current signals. In general, a current signal includes a direct current component and an alternating current component, but the alternating current component includes required information, and the direct current component only increases the input dynamic range of a circuit, so that the difficulty of processing the alternating current signal is increased, but the alternating current component of the current signal to be processed by the sensor is usually weak, and the direct current component of the current signal has a large change range because of the complexity of an external environment. The prior art in the field of sensors deals with this situation mainly by limiting the amplification of the received current signal, so that the sensor cannot detect the processing of weak current signals or the saturation of the receiving circuit when the limitation is insufficient to cause the direct current component of the received current signal to be too large. Disclosure of Invention The embodiment of the application provides a sensor signal processing method and a related device, which ensure that a signal amplifying circuit is not easy to saturate by removing a direct current component in a current signal received by a sensor while keeping an alternating current component. In a first aspect, an embodiment of the present application provides a sensor signal processing method, which is applied to an electronic device, where the electronic device includes a sensor and a current ADC module, and the sensor includes a receiving module and a signal amplifying module, and the method includes: Collecting a first signal by the receiving module, wherein the first signal comprises a first direct current component and a first alternating current component; counteracting the first direct current component by the current ADC module using a preset current value; Amplifying and converting the first alternating current component through the signal amplifying module to obtain a voltage signal; and processing the voltage signal to obtain a sensor signal, and outputting the sensor signal. In a second aspect, an embodiment of the present application provides a sensor signal processing apparatus, which is applied to an electronic device, where the electronic device includes a sensor and a current ADC module, the sensor includes a receiving module and a signal amplifying module, the apparatus includes an acquisition unit, a cancellation unit and a processing unit, where, The acquisition unit is used for acquiring a first signal through the receiving module, wherein the first signal comprises a first direct current component and a first alternating current component; the offset unit is used for offset the first direct current component by the current ADC module through a preset current value; The processing unit is used for amplifying and converting the first alternating current component through the signal amplifying module to obtain a voltage signal, processing the voltage signal to obtain a sensor signal and outputting the sensor signal. In a third aspect, an embodiment of the present application provides an electronic device comprising a processor, a memory for storing one or more programs and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method according to the first aspect. In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute instructions of steps in a method as described in the first aspect. The embodiment of the application has the following beneficial effects: The sensor signal processing method and the related device are applied to electronic equipment, the electronic equipment comprises a sensor and a current ADC module, the sensor comprises a receiving module and a signal amplifying module, the receiving module is used for collecting a first signal, the first signal comprises a first direct current component and a first alternating current component, the current ADC module is used for counteracting the first direct current component by utilizing a preset current value, the signal amplifying module is used for amplifying and converting the first alternating current component to obtain a voltage signal, the voltage signal is processed to obtain a sensor signal, the sensor signal is output, namely, the receiving module is added with the current ADC module, and