A method and system for processing optical sensing signals
By employing a sine wave-driven and phase-adjusted optical sensing signal processing method, the problem of insufficient signal-to-noise ratio in weak optical signal detection is solved, achieving high-precision optical signal detection, which is suitable for optical analysis instruments.
Patent Information
- Application Number
- CN202210822195.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-12
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2042-07-12
AI Technical Summary
Existing technologies for detecting weak light signals suffer from insufficient signal-to-noise ratio, making it difficult to meet the requirements for high-precision detection.
The light source is driven by a sine wave. The light intensity signal in the optical path is received by a photodetector and multiplied and summed. At the same time, the phase of the sine wave is adjusted within a preset phase range, and the maximum signal calculation result is selected to drive the light source, thereby realizing phase-locked amplification and adaptive adjustment.
It improves the signal detection quality of weak light signals, reduces noise, and enhances the signal-to-noise ratio, making it suitable for the design of analytical instruments based on optical principles.
Smart Images

Figure CN116086602B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of signal detection technology, and in particular to a method and system for optical sensing signal processing. Background Technology
[0002] In the design of analytical instruments based on optical principles, the principle of light absorption of substances is usually used in the design of instruments. That is, by exciting a light source and making the light emitted by the laser source pass through the optical path mixed with the substance to be tested, the changes in light intensity when the substance to be tested is present and when it is absent are detected and compared, thereby determining the content or concentration of the substance to be tested.
[0003] However, in practical applications, since the light intensity in the optical path is usually a weak signal, as the detection accuracy increases, higher requirements are placed on the signal-to-noise ratio of the detected signal. Therefore, a method for detecting weak signals with a high signal-to-noise ratio is needed to meet these requirements. Summary of the Invention
[0004] In view of the shortcomings of the prior art described above, the purpose of this application is to provide a method and system for optical sensing signal processing to solve the technical problems existing in the prior art.
[0005] To achieve the above and other related objectives, this application provides a method for processing optical sensing signals, the method comprising the following steps:
[0006] A light source is acquired, and the light source is driven by a sine wave to obtain the corresponding sine wave signal;
[0007] The sinusoidal wave signal generated by the light source is used to illuminate the optical path containing the carrier material, and the light intensity signal after the optical path is illuminated is received.
[0008] The received light intensity signal is processed by the sinusoidal signal generated by the light source, and the result of the signal processing is recorded; wherein, the processing includes multiplication and / or summation.
[0009] The phase of the sine wave is adjusted within a preset sine wave phase range, and the phase-adjusted light intensity signal and the phase-adjusted sine wave signal are calculated and the signal calculation results are recorded; the maximum signal calculation result is selected from all the recorded signal calculation results, and the light source is driven to generate a sine wave signal according to the phase corresponding to the maximum signal calculation result.
[0010] Optionally, after driving the light source to generate a sinusoidal signal based on the phase corresponding to the maximum signal calculation result, the method further includes:
[0011] A preset time period is obtained, and the phase of the sine wave is adjusted based on the time period. The phase-adjusted light intensity signal and the phase-adjusted sine wave signal are then processed, and the signal processing results are recorded.
[0012] The maximum signal calculation result is selected from all recorded signal calculation results, and the light source is driven to generate a sine wave signal based on the phase corresponding to the maximum signal calculation result.
[0013] Optionally, the process of sinusoidally driving the light source includes:
[0014] Obtain a predetermined or real-time determined sine wave D, denoted as D = sin(2π*f*t), where f is the frequency of the driving signal and t is the time series;
[0015] The light source is subjected to a sine wave D = sin(2πf*t) to generate a corresponding sine wave signal.
[0016] Optionally, when receiving the light intensity signal after the optical path illumination is completed, the method includes:
[0017] The light intensity signal after the optical path illumination is completed is received by a photodetector and denoted as L. i Where i∈[0,N], and N is the length of the data record;
[0018] The received light intensity signal is filtered to obtain the filtered data, which is: L' i =a0L i +a1L i+1 +a2L i+2 +a3L i+3 Where a0, a1, a2, and a3 are the filter coefficients.
[0019] Optionally, the process of performing calculations on the received light intensity signal and the sinusoidal signal generated by the light source, and recording the result of the signal calculation, includes:
[0020] Obtain the lock-in amplified reference signal generated by the light source under sinusoidal wave drive. Where f represents the same frequency as the driving signal. For phase parameters;
[0021] The lock-in amplified reference signal is discretized according to a preset signal sampling time interval to obtain the discretized reference signal. i∈[0,N], Δt is the signal sampling time interval;
[0022] The filtered light intensity signal is multiplied and summed with the discretized reference signal to obtain the signal processing result:
[0023] Optionally, the process of adjusting the phase of the sine wave within a preset sine wave phase range, performing calculations on the phase-adjusted light intensity signal and the phase-adjusted sine wave signal, and recording the signal calculation results; and selecting the maximum signal calculation result from all recorded signal calculation results, and driving the light source to generate a sine wave signal based on the phase corresponding to the maximum signal calculation result includes:
[0024] Obtain the preset sine wave phase range and the single phase adjustment value, and adjust the phase of the lock-in amplified reference signal based on the single phase adjustment value, and record the adjusted phase as . j∈[1,720];
[0025] The phase-adjusted light intensity signal and the phase-adjusted sine wave signal are processed, and the result of the signal processing is recorded as S. j ;
[0026] The largest signal processing result is selected from all recorded signal processing results and denoted as S. M ; and the result of the maximum signal operation S M The corresponding phase is denoted as
[0027] make And obtain the lock-in amplification reference signal at this time.
[0028] This application also provides an optical sensing signal processing system, the system comprising:
[0029] The light source module is used to acquire a light source;
[0030] The first signal generation module is used to drive the light source with a sine wave to obtain a corresponding sine wave signal;
[0031] The optical path module is used to irradiate the optical path containing the carrier material with the sinusoidal wave signal generated by the light source, and to receive the light intensity signal after the optical path irradiation is completed.
[0032] The signal processing module is used to perform calculations between the received light intensity signal and the sinusoidal signal generated by the light source, and record the signal processing results; wherein, the calculations include: multiplication and / or summation.
[0033] The phase adjustment module is used to adjust the phase of the sine wave within a preset sine wave phase range, and to perform calculations on the phase-adjusted light intensity signal and the phase-adjusted sine wave signal, and record the signal calculation results.
[0034] The signal filtering module is used to filter out the largest signal operation result from all recorded signal operation results;
[0035] The second signal generation module is used to drive the light source to generate a sine wave signal based on the phase corresponding to the maximum signal calculation result.
[0036] Optionally, the process of the first signal generation module driving the light source with a sine wave includes:
[0037] Obtain a predetermined or real-time determined sine wave D, denoted as D = sin(2π*f*t), where f is the frequency of the driving signal and t is the time series;
[0038] The light source is subjected to a sine wave D = sin(2π*f*t) to generate a corresponding sine wave signal;
[0039] When receiving the light intensity signal after the optical path illumination is completed, the optical path module includes:
[0040] The light intensity signal after the optical path illumination is completed is received by a photodetector and denoted as L. i Where i∈[0,N], and N is the length of the data record;
[0041] The received light intensity signal is filtered to obtain the filtered data, which is: L' i =a0L i +a1L i+1 +a2L i+2 +a3L i+3 Where a0, a1, a2, and a3 are the filter coefficients.
[0042] Optionally, the process by which the signal processing module performs calculations on the received light intensity signal and the sinusoidal signal generated by the light source, and records the signal processing results, includes:
[0043] Obtain the lock-in amplified reference signal generated by the light source under sinusoidal wave drive. Where f represents the same frequency as the driving signal. For phase parameters;
[0044] The lock-in amplified reference signal is discretized according to a preset signal sampling time interval to obtain the discretized reference signal. i∈[0,N], Δt is the signal sampling time interval;
[0045] The filtered light intensity signal is multiplied and summed with the discretized reference signal to obtain the signal processing result:
[0046] Optionally, the phase adjustment module adjusts the phase of the sine wave within a preset sine wave phase range, performs calculations on the phase-adjusted light intensity signal and the phase-adjusted sine wave signal, and records the signal calculation results; the signal filtering module filters out the maximum signal calculation result from all recorded signal calculation results; and the process by which the second signal generation module drives the light source to generate a sine wave signal based on the phase corresponding to the maximum signal calculation result includes:
[0047] Obtain the preset sine wave phase range and the single phase adjustment value, and adjust the phase of the lock-in amplified reference signal based on the single phase adjustment value, and record the adjusted phase as . j∈[1,720];
[0048] The phase-adjusted light intensity signal and the phase-adjusted sine wave signal are processed, and the result of the signal processing is recorded as S. j ;
[0049] The largest signal processing result is selected from all recorded signal processing results and denoted as S. M ; and the result of the maximum signal operation S M The corresponding phase is denoted as
[0050] make And obtain the lock-in amplification reference signal at this time.
[0051] As described above, this application provides a light sensing signal processing method and system, which has the following beneficial effects: First, the acquired light source is driven by a sine wave to obtain a corresponding sine wave signal; then, the sine wave signal generated by the light source illuminates the optical path containing the carrier material, and the light intensity signal after the optical path is illuminated is received; then, the received light intensity signal and the sine wave signal generated by the light source are processed, and the signal processing result is recorded; wherein, the processing includes: multiplication operation and / or summation operation; then, the sine wave is phase-adjusted within a preset sine wave phase range, and the phase-adjusted light intensity signal and the phase-adjusted sine wave signal are processed, and the signal processing result is recorded; and finally, the maximum signal processing result is selected from all the recorded signal processing results, and the light source is driven to generate a sine wave signal according to the phase corresponding to the maximum signal processing result. Therefore, this application achieves phase-locked amplification and adaptive adjustment by setting the excitation signal of the light source in the optical path to a sinusoidal wave drive, receiving the light intensity signal passing through the optical path via a photodetector, and multiplying and accumulating the received light intensity signal with a sinusoidal wave signal of the same frequency as the light source trigger signal. Simultaneously, the phase of the sinusoidal wave signal is continuously adjusted to maximize its calculated value. Through the optical sensing signal processing method described in this application, weak light signals with high noise and low signal-to-noise ratio can be detected in the design of optical principle-based analytical instruments. This not only improves the quality of signal detection but also lays the foundation for subsequent design and analysis. Attached Figure Description
[0052] Figure 1 This is a schematic flowchart of a photosensitive signal processing method provided in an embodiment of this application;
[0053] Figure 2 This is a schematic diagram illustrating the principle of a photosensitive signal processing method provided in one embodiment of this application;
[0054] Figure 3 This is a schematic flowchart of a photosensitive signal processing method provided in another embodiment of this application;
[0055] Figure 4 This is a schematic diagram of the hardware structure of a photosensitive signal processing system provided in one embodiment of this application. Detailed Implementation
[0056] The following specific examples illustrate the implementation of this application. Those skilled in the art can easily understand other advantages and effects of this application from the content disclosed in this specification. This application can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of this application. It should be noted that, unless otherwise specified, the following embodiments and features in the embodiments can be combined with each other.
[0057] It should be noted that the illustrations provided in this embodiment are only schematic representations of the basic concept of this application. Therefore, the drawings only show the components related to this application and are not drawn according to the number, shape and size of the components in actual implementation. In actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0058] Please see Figure 1 and Figure 2 As shown in an exemplary embodiment, this embodiment provides an optical sensing signal processing method, which includes the following steps:
[0059] S110, acquire a light source and drive the light source with a sine wave to obtain a corresponding sine wave signal. Specifically, the process of driving the light source with a sine wave may include: acquiring a predetermined or real-time determined sine wave D, denoted as D = sin(2π*f*t), where f is the driving signal frequency and t is the time series; driving the light source based on the sine wave D = sin(2π*f*t) to generate a corresponding sine wave signal.
[0060] S120, the sinusoidal wave signal generated by the light source is used to illuminate the optical path containing the carrier material, and the light intensity signal after the optical path is illuminated is received. Specifically, in receiving the light intensity signal after the optical path is illuminated, this embodiment may include: receiving the light intensity signal after the optical path is illuminated through a photodetector and denoting it as L. i Where i∈[0,N], and N is the data record length; the received light intensity signal is filtered to obtain the filtered data, and we have: L' i =a0L i +a1L i+1 +a2L i+2 +a3L i+3 Where a0, a1, a2, and a3 are the filter coefficients.
[0061] S130, the received light intensity signal is processed by the sinusoidal signal generated by the light source, and the result is recorded; wherein, the processing includes multiplication and / or summation. Specifically, the process of processing the received light intensity signal by the sinusoidal signal generated by the light source and recording the result includes: obtaining the lock-in amplified reference signal generated by the light source under sinusoidal wave drive. Where f represents the same frequency as the driving signal. The phase parameter is used; the lock-in amplified reference signal is discretized according to a preset signal sampling time interval to obtain the discretized reference signal. i∈[0,N], Δt is the signal sampling time interval; the filtered light intensity signal is multiplied and summed with the discretized reference signal to obtain the signal processing result:
[0062] S140: Within a preset sinusoidal wave phase range, the phase of the sinusoidal wave is adjusted, and the phase-adjusted light intensity signal and the phase-adjusted sinusoidal wave signal are compared and the signal calculation results are recorded. Specifically, a preset sinusoidal wave phase range and a single phase adjustment value are obtained, and the phase of the lock-in amplified reference signal is adjusted based on the single phase adjustment value, and the adjusted phase is recorded as... j∈[1,720]; Perform calculations on the phase-adjusted light intensity signal and the phase-adjusted sine wave signal, and record the signal calculation result as S. j .
[0063] S150: The maximum signal processing result is selected from all recorded signal processing results, and the light source is driven to generate a sinusoidal signal based on the phase corresponding to the maximum signal processing result. Specifically, the maximum signal processing result is selected from all recorded signal processing results, denoted as S. M ; and the result of the maximum signal operation S M The corresponding phase is denoted as make And obtain the lock-in amplification reference signal at this time.
[0064] Therefore, this embodiment achieves phase-locked amplification and adaptive adjustment by setting the excitation signal of the light source in the optical path to a sinusoidal wave drive, receiving the light intensity signal passing through the optical path via a photodetector, and multiplying and accumulating the received light intensity signal with a sinusoidal wave signal of the same frequency as the light source trigger signal. Simultaneously, the phase of the sinusoidal wave signal is continuously adjusted to maximize its calculated value. This optical sensing signal processing method described in this embodiment enables the detection of weak light signals with high noise and low signal-to-noise ratio in the design of optical principle-based analytical instruments. This not only improves the quality of signal detection but also lays the foundation for subsequent design and analysis.
[0065] According to the above description, in an exemplary embodiment, after driving the light source to generate a sinusoidal signal based on the phase corresponding to the maximum signal calculation result, the method may further include: obtaining a preset time period, and continuing to adjust the phase of the sinusoidal wave based on the time period; performing calculations on the phase-adjusted light intensity signal and the phase-adjusted sinusoidal wave signal, and recording the signal calculation results; filtering out the maximum signal calculation result from all recorded signal calculation results, and driving the light source to generate a sinusoidal signal based on the phase corresponding to the maximum signal calculation result. Therefore, this embodiment repeats the calculation in step S140 at certain time intervals and updates the phase parameters, thereby achieving an adaptive filtering effect. In this embodiment, the time period can be preset according to actual conditions, and no specific numerical limit is specified here.
[0066] In another exemplary embodiment, such as Figure 2 and Figure 3 As shown, this embodiment provides a method for processing optical sensing signals, including the following steps:
[0067] Step 1: Set the excitation signal of the light source in the optical path to a sine wave drive;
[0068] Step 2: Receive the light intensity signal passing through the optical path using a photodetector and perform filtering processing;
[0069] Step 3: Multiply and sum the received light intensity signal with the sinusoidal signal excited by the light source at the same frequency, and record the calculation result;
[0070] Step 4: Adjust the phase of the multiplied sine wave signal, perform the operation in Step 3, and record the maximum result and the corresponding phase parameters;
[0071] Step 5: Repeat the calculation in Step 4 at certain time intervals and update its parameters to achieve the effect of adaptive filtering.
[0072] Specifically, in step one, in this embodiment, the excitation signal of the light source in the optical path is set as a sinusoidal signal driving D = sin(2π*f*t), where f is the frequency of the driving signal and t is the time sequence.
[0073] In step two, the process of receiving the light intensity signal passing through the optical path using a photodetector and performing filtering in this embodiment is as follows: First, the light intensity signal passing through the photodetector is recorded as L. i , i∈[0,N], where N is the data record length; then, according to the low-pass filtering principle, the filtered data is L' i =a0L i +a1L i+1 +a2L i+2+a3L i+3 , where a0, a1, a2, a3 are the filter coefficients.
[0074] In step three, the process of multiplying and summing the received light intensity signal with the sinusoidal signal excited by the light source at the same frequency, and recording the calculation result, is as follows: First, according to the lock-in amplification principle, the lock-in amplification reference signal is set as... Where f is the same frequency as the driving signal. The phase parameter is used; simultaneously, the reference signal is discretized according to the signal sampling time interval, and the discretized signal is... i∈[0,N], where Δt is the signal sampling time interval; then, the filtered light intensity signal is multiplied by the reference signal and summed, i.e.
[0075] In step four, the process of adjusting the phase of the multiplied sine wave signal, performing the calculation in step three, and recording the phase parameter corresponding to the maximum result of the calculation is as follows: First, adjust the phase value of the lock-in amplification reference signal. The range is varied from 0° to 360° in 0.5° increments, and denoted as follows: j∈[1,720]; then, for each adjusted phase value, the corresponding calculation results are recorded as S according to the calculation method in step three. j j∈[1,720]; finally, for the operation result S j Compare and put S j The phase parameter corresponding to the maximum value of the operation result Record as
[0076] In step five, this embodiment repeats the operation in step four at certain time intervals, and updates the phase value of the lock-in amplification reference signal during the operation, that is, makes... This achieves the effect of adaptive filtering.
[0077] Therefore, this embodiment first sets the light source excitation signal in the optical path to a sinusoidal wave drive. Then, a photodetector receives the light intensity signal passing through the optical path. The received light intensity signal is multiplied and accumulated with a phase-locked amplified sinusoidal wave reference signal of the same frequency as the light source trigger signal to obtain the amplification result. Simultaneously, at certain time intervals, a phase search operation is performed on the phase of the phase-locked amplification reference signal. That is, the phase of the reference signal is adjusted from 0° to 360° at certain phase intervals, and corresponding amplification operations are performed for each. The phase value corresponding to the maximum amplification result is selected, and the phase of the phase-locked amplification reference signal is updated, thereby achieving the effect of phase-locked amplification and adaptive adjustment.
[0078] In summary, this application provides a method for processing optical sensing signals. First, a sinusoidal wave is used to drive the acquired light source to obtain a corresponding sinusoidal wave signal. Then, the sinusoidal wave signal generated by the light source illuminates an optical path containing a carrier material, and the light intensity signal after the optical path is illuminated is received. Next, the received light intensity signal and the sinusoidal wave signal generated by the light source are processed, and the result of the signal processing is recorded. The processing includes multiplication and / or summation. Then, the phase of the sinusoidal wave is adjusted within a preset sinusoidal wave phase range, and the phase-adjusted light intensity signal and the phase-adjusted sinusoidal wave signal are processed, and the result of the signal processing is recorded. Finally, the maximum signal processing result is selected from all the recorded signal processing results, and the light source is driven to generate a sinusoidal wave signal based on the phase corresponding to the maximum signal processing result. Therefore, this method achieves phase-locked amplification and adaptive adjustment by setting the excitation signal of the light source in the optical path to a sinusoidal wave drive, receiving the light intensity signal passing through the optical path via a photodetector, and multiplying and accumulating the received light intensity signal with a sinusoidal wave signal of the same frequency as the light source trigger signal. Simultaneously, the phase of the sinusoidal wave signal is continuously adjusted to maximize its calculated value. This optical sensing signal processing method described herein enables the detection of weak light signals with high noise and low signal-to-noise ratio in the design of optical principle-based analytical instruments. This not only improves the quality of signal detection but also lays the foundation for subsequent design and analysis.
[0079] like Figure 4 As shown, this application also provides an optical sensing signal processing system, the system comprising:
[0080] Light source module 410 is used to acquire a light source;
[0081] The first signal generation module 420 is used to drive the light source with a sine wave to obtain a corresponding sine wave signal. Specifically, the process of driving the light source with a sine wave may include: acquiring a predetermined or real-time determined sine wave D, denoted as D = sin(2π*f*t), where f is the driving signal frequency and t is the time series; and driving the light source based on the sine wave D = sin(2π*f*t) to generate a corresponding sine wave signal.
[0082] The optical path module 430 is used to illuminate the optical path containing the carrier material with a sinusoidal wave signal generated by the light source, and to receive the light intensity signal after the optical path irradiation is completed. Specifically, in receiving the light intensity signal after the optical path irradiation is completed, this embodiment may include: receiving the light intensity signal after the optical path irradiation is completed through a photodetector, and denoting it as L. i Where i∈[0,N], and N is the data record length; the received light intensity signal is filtered to obtain the filtered data, and we have: L' i =a0L i +a1Li+1 +a2L i+2 +a3L i+3 Where a0, a1, a2, and a3 are the filter coefficients.
[0083] The signal processing module 440 is used to perform calculations between the received light intensity signal and the sinusoidal signal generated by the light source, and record the signal processing results; wherein the calculations include multiplication and / or summation. Specifically, the process of performing calculations between the received light intensity signal and the sinusoidal signal generated by the light source and recording the signal processing results includes: obtaining the lock-in amplified reference signal generated by the light source under sinusoidal wave drive. Where f represents the same frequency as the driving signal. The phase parameter is used; the lock-in amplified reference signal is discretized according to a preset signal sampling time interval to obtain the discretized reference signal. i∈[0,N], Δt is the signal sampling time interval; the filtered light intensity signal is multiplied and summed with the discretized reference signal to obtain the signal processing result:
[0084] The phase adjustment module 450 is used to adjust the phase of the sine wave within a preset sine wave phase range, and to perform calculations on the phase-adjusted light intensity signal and the phase-adjusted sine wave signal, recording the signal calculation results. Specifically, it acquires the preset sine wave phase range and the single phase adjustment value, adjusts the phase of the lock-in amplified reference signal based on the single phase adjustment value, and records the adjusted phase as... j∈[1,720]; Perform calculations on the phase-adjusted light intensity signal and the phase-adjusted sine wave signal, and record the signal calculation result as S. j .
[0085] The signal filtering module 460 is used to filter out the maximum signal operation result from all recorded signal operation results. Specifically, the maximum signal operation result, denoted as S, is filtered out from all recorded signal operation results. M ; and the result of the maximum signal operation S M The corresponding phase is denoted as
[0086] The second signal generation module 470 is used to drive the light source to generate a sinusoidal signal based on the phase corresponding to the maximum signal calculation result. Specifically, as described above, let... And obtain the lock-in amplification reference signal at this time.
[0087] Therefore, this embodiment achieves phase-locked amplification and adaptive adjustment by setting the excitation signal of the light source in the optical path to a sinusoidal wave drive, receiving the light intensity signal passing through the optical path via a photodetector, and multiplying and accumulating the received light intensity signal with a sinusoidal wave signal of the same frequency as the light source trigger signal. Simultaneously, the phase of the sinusoidal wave signal is continuously adjusted to maximize its calculated value. This optical sensing signal processing method described in this embodiment enables the detection of weak light signals with high noise and low signal-to-noise ratio in the design of optical principle-based analytical instruments. This not only improves the quality of signal detection but also lays the foundation for subsequent design and analysis.
[0088] According to the above description, in an exemplary embodiment, after driving the light source to generate a sinusoidal signal based on the phase corresponding to the maximum signal calculation result, the method may further include: obtaining a preset time period, and continuing to adjust the phase of the sinusoidal wave based on the time period; performing calculations on the phase-adjusted light intensity signal and the phase-adjusted sinusoidal wave signal, and recording the signal calculation results; filtering out the maximum signal calculation result from all recorded signal calculation results, and driving the light source to generate a sinusoidal signal based on the phase corresponding to the maximum signal calculation result. Therefore, this embodiment repeats the calculation in step S140 at certain time intervals and updates the phase parameters, thereby achieving an adaptive filtering effect. In this embodiment, the time period can be preset according to actual conditions, and no specific numerical limit is specified here.
[0089] In another embodiment of this application, an optical sensing signal processing system is also provided for performing the following steps:
[0090] Step 1: Set the excitation signal of the light source in the optical path to a sine wave drive;
[0091] Step 2: Receive the light intensity signal passing through the optical path using a photodetector and perform filtering processing;
[0092] Step 3: Multiply and sum the received light intensity signal with the sinusoidal signal excited by the light source at the same frequency, and record the calculation result;
[0093] Step 4: Adjust the phase of the multiplied sine wave signal, perform the operation in Step 3, and record the maximum result and the corresponding phase parameters;
[0094] Step 5: Repeat the calculation in Step 4 at certain time intervals and update its parameters to achieve the effect of adaptive filtering.
[0095] Specifically, in step one, in this embodiment, the excitation signal of the light source in the optical path is set as a sinusoidal signal driving D = sin(2π*f*t), where f is the frequency of the driving signal and t is the time sequence.
[0096] In step two, the process of receiving the light intensity signal passing through the optical path using a photodetector and performing filtering in this embodiment is as follows: First, the light intensity signal passing through the photodetector is recorded as L. i , i∈[0,N], where N is the data record length; then, according to the low-pass filtering principle, the filtered data is L' i =a0L i +a1L i+1 +a2L i+2 +a3L i+3 , where a0, a1, a2, a3 are the filter coefficients.
[0097] In step three, the process of multiplying and summing the received light intensity signal with the sinusoidal signal excited by the light source at the same frequency, and recording the calculation result, is as follows: First, according to the lock-in amplification principle, the lock-in amplification reference signal is set as... Where f is the same frequency as the driving signal. The phase parameter is used; simultaneously, the reference signal is discretized according to the signal sampling time interval, and the discretized signal is... i∈[0,N], where Δt is the signal sampling time interval; then, the filtered light intensity signal is multiplied by the reference signal and summed, i.e.
[0098] In step four, the process of adjusting the phase of the multiplied sine wave signal, performing the calculation in step three, and recording the phase parameter corresponding to the maximum result of the calculation is as follows: First, adjust the phase value of the lock-in amplification reference signal. The range is varied from 0° to 360° in 0.5° increments, and denoted as follows: j∈[1,720]; then, for each adjusted phase value, the corresponding calculation results are recorded as S according to the calculation method in step three. j j∈[1,720]; finally, for the operation result S j Compare and put S j The phase parameter corresponding to the maximum value of the operation result Record as
[0099] In step five, this embodiment repeats the operation in step four at certain time intervals, and updates the phase value of the lock-in amplification reference signal during the operation, that is, makes... This achieves the effect of adaptive filtering.
[0100] Therefore, this embodiment first sets the light source excitation signal in the optical path to a sinusoidal wave drive. Then, a photodetector receives the light intensity signal passing through the optical path. The received light intensity signal is multiplied and accumulated with a phase-locked amplified sinusoidal wave reference signal of the same frequency as the light source trigger signal to obtain the amplification result. Simultaneously, at certain time intervals, a phase search operation is performed on the phase of the phase-locked amplification reference signal. That is, the phase of the reference signal is adjusted from 0° to 360° at certain phase intervals, and corresponding amplification operations are performed for each. The phase value corresponding to the maximum amplification result is selected, and the phase of the phase-locked amplification reference signal is updated, thereby achieving the effect of phase-locked amplification and adaptive adjustment.
[0101] In summary, this application provides a photosensitive signal processing system. First, a sinusoidal wave drive is applied to the acquired light source to obtain a corresponding sinusoidal wave signal. Then, the sinusoidal wave signal generated by the light source illuminates an optical path containing a carrier material, and the light intensity signal after illumination is received. Next, the received light intensity signal and the sinusoidal wave signal generated by the light source are processed, and the processing result is recorded. The processing includes multiplication and / or summation. Then, the phase of the sinusoidal wave is adjusted within a preset phase range, and the phase-adjusted light intensity signal and the phase-adjusted sinusoidal wave signal are processed, with the processing result recorded. Finally, the maximum processing result is selected from all recorded processing results, and the light source is driven to generate a sinusoidal wave signal based on the phase corresponding to the maximum processing result. Therefore, this system achieves phase-locked amplification and adaptive adjustment by setting the excitation signal of the light source in the optical path to a sinusoidal wave drive, receiving the light intensity signal passing through the optical path via a photodetector, and multiplying and accumulating the received light intensity signal with a sinusoidal wave signal of the same frequency as the light source trigger signal. Simultaneously, the phase of the sinusoidal wave signal is continuously adjusted to maximize its calculated value. This optical sensing signal processing method described in this system enables the detection of weak light signals with high noise and low signal-to-noise ratio in the design of optical principle-based analytical instruments. This not only improves the quality of signal detection but also lays the foundation for subsequent design and analysis.
[0102] Therefore, this application effectively overcomes the various shortcomings of the prior art and has high industrial application value.
[0103] The above embodiments are merely illustrative of the principles and effects of this application and are not intended to limit this application. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of this application. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in this application should still be covered by the claims of this application.
Claims
1. A method for processing optical sensing signals, characterized in that, The method includes the following steps: A light source is acquired, and the light source is driven by a sine wave to obtain the corresponding sine wave signal; The sinusoidal wave signal generated by the light source is used to illuminate the optical path containing the carrier material, and the light intensity signal after the optical path is illuminated is received. The received light intensity signal is processed by the sinusoidal signal generated by the light source, and the result of the signal processing is recorded; wherein, the processing includes multiplication and / or summation. Within a preset sine wave phase range, the phase of the sine wave is adjusted, and the phase-adjusted light intensity signal and the phase-adjusted sine wave signal are calculated and the signal calculation results are recorded; and the maximum signal calculation result is selected from all the recorded signal calculation results, and the light source is driven to generate a sine wave signal according to the phase corresponding to the maximum signal calculation result. The process of sinusoidally driving the light source includes: acquiring a predetermined or real-time determined sine wave D, denoted as D = sin(2π*f*t), where f is the driving signal frequency and t is the time series; and driving the light source based on the sine wave D = sin(2π*f*t) to generate a corresponding sine wave signal. When receiving the light intensity signal after the optical path illumination is completed, the method includes: receiving the light intensity signal after the optical path illumination is completed through a photodetector, and recording it as L. i Where i∈[0,N], and N is the data record length; the received light intensity signal is filtered to obtain the filtered data, and we have: L' i =a0L i +a1L i+1 +a2L i+2 +a3L i+3 Where a0, a1, a2, and a3 are filter coefficients; The process of performing calculations on the received light intensity signal and the sinusoidal signal generated by the light source, and recording the result, includes: obtaining the lock-in amplified reference signal generated by the light source under sinusoidal wave drive. Where f represents the same frequency as the driving signal. The phase parameter is used; the lock-in amplified reference signal is discretized according to a preset signal sampling time interval to obtain the discretized reference signal. Δt is the signal sampling time interval; the filtered light intensity signal is multiplied and summed with the discretized reference signal to obtain the signal processing result: The process of adjusting the phase of a sine wave within a preset sine wave phase range, performing calculations on the phase-adjusted light intensity signal and the phase-adjusted sine wave signal, and recording the signal calculation results; and selecting the maximum signal calculation result from all recorded signal calculation results, and driving the light source to generate a sine wave signal based on the phase corresponding to the maximum signal calculation result, includes: obtaining a preset sine wave phase range and a single phase adjustment value, adjusting the phase of the lock-in amplified reference signal based on the single phase adjustment value, and recording the adjusted phase as... The phase-adjusted light intensity signal and the phase-adjusted sine wave signal are processed, and the result of the signal processing is recorded as S. j The largest signal processing result is selected from all recorded signal processing results and denoted as S. M ; and the result of the maximum signal operation S M The corresponding phase is denoted as make And obtain the lock-in amplification reference signal at this time.
2. The optical sensing signal processing method according to claim 1, characterized in that, After driving the light source to generate a sine wave signal based on the phase corresponding to the maximum signal calculation result, the method further includes: A preset time period is obtained, and the phase of the sine wave is adjusted based on the time period. The phase-adjusted light intensity signal and the phase-adjusted sine wave signal are then processed, and the signal processing results are recorded. The maximum signal calculation result is selected from all recorded signal calculation results, and the light source is driven to generate a sine wave signal based on the phase corresponding to the maximum signal calculation result.
3. A light sensing signal processing system, characterized in that, The system includes: The light source module is used to acquire a light source; The first signal generation module is used to drive the light source with a sine wave to obtain a corresponding sine wave signal; The optical path module is used to irradiate the optical path containing the carrier material with the sinusoidal wave signal generated by the light source, and to receive the light intensity signal after the optical path irradiation is completed. The signal processing module is used to perform calculations between the received light intensity signal and the sinusoidal signal generated by the light source, and record the signal processing results; wherein, the calculations include: multiplication and / or summation. The phase adjustment module is used to adjust the phase of the sine wave within a preset sine wave phase range, and to perform calculations on the phase-adjusted light intensity signal and the phase-adjusted sine wave signal, and record the signal calculation results. The signal filtering module is used to filter out the largest signal operation result from all recorded signal operation results; The second signal generation module is used to drive the light source to generate a sine wave signal based on the phase corresponding to the maximum signal calculation result; The process of the first signal generation module driving the light source with a sine wave includes: acquiring a predetermined or real-time determined sine wave D, denoted as D = sin(2π*f*t), where f is the driving signal frequency and t is the time sequence; and driving the light source based on the sine wave D = sin(2π*f*t) to generate a corresponding sine wave signal. When receiving the light intensity signal after the optical path illumination is completed, the optical path module includes: receiving the light intensity signal after the optical path illumination is completed through a photodetector, and denoting it as L. i Where i∈[0,N], and N is the data record length; the received light intensity signal is filtered to obtain the filtered data, and we have: L' i =a0L i +a1L i+1 +a2L i+2 +a3L i+3 Where a0, a1, a2, and a3 are filter coefficients; The process by which the signal processing module performs calculations on the received light intensity signal and the sinusoidal signal generated by the light source, and records the signal processing results, includes: acquiring the lock-in amplified reference signal generated by the light source under sinusoidal wave drive. Where f represents the same frequency as the driving signal. The phase parameter is used; the lock-in amplified reference signal is discretized according to a preset signal sampling time interval to obtain the discretized reference signal. Δt is the signal sampling time interval; the filtered light intensity signal is multiplied and summed with the discretized reference signal to obtain the signal processing result: The phase adjustment module adjusts the phase of the sine wave within a preset sine wave phase range, and performs calculations on the phase-adjusted light intensity signal and the phase-adjusted sine wave signal, recording the signal calculation results; the signal filtering module filters out the maximum signal calculation result from all recorded signal calculation results; and the process by which the second signal generation module drives the light source to generate a sine wave signal based on the phase corresponding to the maximum signal calculation result includes: acquiring a preset sine wave phase range and a single phase adjustment value, adjusting the phase of the lock-in amplified reference signal based on the single phase adjustment value, and recording the adjusted phase as... The phase-adjusted light intensity signal and the phase-adjusted sine wave signal are processed, and the result of the signal processing is recorded as S. j The largest signal processing result is selected from all recorded signal processing results and denoted as S. M ; and the result of the maximum signal operation S M The corresponding phase is denoted as make And obtain the lock-in amplification reference signal at this time.
Citation Information
Patent Citations
Sine wave modulation-based high-sensitivity laser methane measuring device and method thereof
CN105527247A
Optical signall processor and process thereof
CN1746616A