Methods for acquiring interference signals, methods and devices for recovering spectral signals.
By dynamically adjusting the circuit amplification gain during the acquisition of interferometric signals, and based on the mapping relationship between optical path difference and gain coefficient, the problem of interferogram distortion caused by conventional digital denoising algorithms is solved, and high signal-to-noise ratio spectral signal recovery is achieved.
Patent Information
- Application Number
- CN202510632187.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-15
- Publication Date
- 2026-11-17
AI Technical Summary
In existing technologies, conventional digital denoising algorithms such as median filtering and low-pass filtering are prone to causing distortion of interferograms when processing them, which affects the accuracy of spectral signal recovery.
During the acquisition of the interference signal, the current optical path difference of the reference laser is obtained, and the circuit amplification gain is dynamically adjusted based on the predetermined mapping relationship between the optical path difference and the gain coefficient to obtain the first Fourier interference signal, thereby reducing circuit noise interference and avoiding distortion caused by subsequent filtering processing.
It effectively improves the signal-to-noise ratio of the interference signal and spectrum, avoids interference pattern distortion, and enhances the accuracy of spectral signal recovery.
Smart Images

Figure CN123111471A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of signal processing technology, and in particular to methods for acquiring interference signals, methods for recovering spectral signals, and apparatus. Background Technology
[0002] A Fourier Transform Spectrometer (FTS) is a spectral analysis device based on the principle of interferometry. It measures interferograms and uses Fourier transform to retrieve spectral information. It has advantages such as high light throughput, wide spectral coverage and high resolution, and is widely used in chemical detection, environmental monitoring, astronomical observation and other fields.
[0003] Currently, in order to improve the signal-to-noise ratio of the interferogram and thus the final spectral signal, related technologies usually process the interferogram output by the Fourier spectrometer, such as performing conventional digital denoising algorithms like median filtering and low-pass filtering.
[0004] However, using conventional digital denoising algorithms such as median filtering and low-pass filtering to process the acquired interferogram can easily lead to distortion of the interferogram, which in turn affects the accuracy of the recovered spectral signal.
[0005] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0006] The main objective of this application is to provide a method for acquiring interference signals, a method for recovering spectral signals, and an apparatus for doing so. The aim is to solve the technical problem that using conventional digital denoising algorithms such as median filtering and low-pass filtering to process the acquired interferograms can easily lead to distortion of the interferograms, thereby affecting the accuracy of the recovered spectral signals.
[0007] To achieve the above objectives, this application proposes a method for acquiring interference signals, the method comprising:
[0008] During the acquisition of the interference signal, the current optical path difference of the reference laser is obtained;
[0009] The current first gain coefficient corresponding to the current optical path difference is determined based on the first correspondence relationship, wherein the first correspondence relationship is the mapping relationship between different optical path differences and the first gain coefficient;
[0010] The first Fourier interference signal is obtained by adjusting the circuit amplification gain of the acquisition interference signal through the current first gain coefficient.
[0011] In one embodiment, before the step of determining the current first gain coefficient corresponding to the current optical path difference based on the first correspondence, the method further includes:
[0012] Calculate the equal optical path interference signal corresponding to the white light signal;
[0013] The DC signal is removed from the equal optical path interference signal to obtain the AC signal in the equal optical path interference signal;
[0014] Calculate the envelope of the AC signal in the equal optical path interference signal;
[0015] Based on the envelope, a first correspondence is determined that characterizes the first gain coefficient corresponding to different optical path differences.
[0016] In one embodiment, the step of determining the first correspondence characterizing the first gain coefficient corresponding to different optical path differences based on the envelope includes:
[0017] After normalizing the envelope, a second correspondence is obtained that characterizes the second gain coefficient corresponding to different optical path differences; wherein, the second correspondence is characterized by a continuous function.
[0018] After discretizing the second correspondence, a first correspondence is obtained that characterizes the first gain coefficient corresponding to different optical path differences.
[0019] In one embodiment, the step of obtaining a second correspondence characterizing the second gain coefficient corresponding to different optical path differences after normalizing the envelope includes:
[0020] After normalizing the envelope based on the intensity value of the envelope at zero optical path, a second correspondence relationship is obtained that characterizes the second gain coefficient corresponding to different optical path differences.
[0021] In one embodiment, the step of normalizing the envelope based on the intensity value of the envelope at zero optical path to obtain a second correspondence characterizing the second gain coefficient corresponding to different optical path differences includes:
[0022] For the intensity values of different optical path differences along the envelope, the second correspondence is obtained after the following normalization process:
[0023] Calculate the intensity value of the envelope at zero optical path as a reference intensity value;
[0024] The ratio between the reference intensity value and the intensity values of different optical path differences on the envelope is calculated to obtain a second correspondence characterizing the second gain coefficient corresponding to different optical path differences.
[0025] In one embodiment, the step of discretizing the second correspondence to obtain a first correspondence characterizing the first gain coefficient corresponding to different optical path differences includes:
[0026] Based on N step size coefficients and the wavelength of the reference laser, the second correspondence is discretized to obtain a first correspondence characterizing the first gain coefficient corresponding to different optical path differences; where N is an integer greater than 1.
[0027] In one embodiment, the step of discretizing the second correspondence based on N step size coefficients and the wavelength of the reference laser to obtain a first correspondence characterizing the first gain coefficient corresponding to different optical path differences includes:
[0028] Calculate the product between the N step size coefficients and the wavelength of the reference laser to obtain the corresponding N step sizes;
[0029] For each optical path difference, if the optical path difference is greater than the (k-1)th step size and less than or equal to the kth step size, the product between the second gain coefficient corresponding to the optical path difference and the kth step size is calculated to obtain the first gain coefficient corresponding to the optical path difference; where k is an integer greater than 2 and less than N.
[0030] In one embodiment, the step of adjusting the circuit amplification gain of the acquisition interference signal by the current first gain coefficient to obtain the first Fourier interference signal includes:
[0031] Calculate the product of the current first gain coefficient and the preset base gain to obtain the circuit amplification gain corresponding to the current optical path difference;
[0032] The collected interference signal is amplified by the circuit amplification gain corresponding to the current optical path difference to obtain the first Fourier interference signal.
[0033] Furthermore, to achieve the above objectives, this application also proposes a method for recovering spectral signals, the method comprising:
[0034] A first Fourier interference signal is obtained; wherein, the first Fourier interference signal is a signal obtained by amplifying the gain of the circuit that acquires the interference signal by adjusting the current first gain coefficient, and the current first gain coefficient is determined based on a first correspondence and the current optical path difference of the reference laser, and the first correspondence is the mapping relationship between different optical path differences and the first gain coefficient;
[0035] Based on the first Fourier interference signal and the first correspondence, the original second Fourier interference signal is reconstructed; wherein, the second Fourier interference signal is used to be equivalent to the Fourier interference signal before the amplification gain of the adjustment circuit;
[0036] Based on the second Fourier interference signal, the corresponding spectral signal is determined.
[0037] In one embodiment, the step of reconstructing the original second Fourier interference signal based on the first Fourier interference signal and the first correspondence includes:
[0038] The original second Fourier interference signal is obtained by calculating the ratio between the first Fourier interference signal and the first gain coefficient corresponding to different optical path differences.
[0039] Furthermore, to achieve the above objectives, this application also proposes an interference signal acquisition device, the device comprising:
[0040] The acquisition module is used to acquire the current optical path difference of the reference laser during the acquisition of the interference signal;
[0041] The first determining module is used to determine the current first gain coefficient corresponding to the current optical path difference based on a first correspondence relationship, wherein the first correspondence relationship is a mapping relationship between different optical path differences and the first gain coefficient.
[0042] The adjustment module is used to adjust the circuit amplification gain of the acquired interference signal through the current first gain coefficient to obtain the first Fourier interference signal.
[0043] Furthermore, to achieve the above objectives, this application also proposes a spectral signal recovery device, the device comprising:
[0044] The acquisition module is used to acquire a first Fourier interference signal; wherein, the first Fourier interference signal is a signal obtained by amplifying the gain of the circuit that acquires the interference signal by adjusting the current first gain coefficient, and the current first gain coefficient is determined based on a first correspondence and the current optical path difference of the reference laser, and the first correspondence is a mapping relationship between different optical path differences and the first gain coefficient;
[0045] The restoration module is used to restore the original second Fourier interference signal based on the first Fourier interference signal and the first correspondence; wherein the second Fourier interference signal is used to be equivalent to the Fourier interference signal before the amplification gain of the adjustment circuit;
[0046] The second determining module is used to determine the corresponding spectral signal based on the second Fourier interference signal.
[0047] In addition, to achieve the above objectives, this application also proposes an electronic device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the interference signal acquisition method as described above, or the steps of the spectral signal recovery method as described above.
[0048] One or more technical solutions proposed in this application have at least the following technical effects:
[0049] This application pre-obtains a first correspondence between different optical path differences and a first gain coefficient. This facilitates the determination of the current first gain coefficient corresponding to the current optical path difference of the reference laser during the acquisition of the interference signal. The amplification gain of the circuit acquiring the interference signal is then adjusted using this first gain coefficient to amplify the interference signal and obtain the first Fourier interference signal. This reduces the interference of circuit noise. Through this operation, this application eliminates the need for filtering the interferogram after acquisition to improve the signal-to-noise ratio. It effectively avoids interferogram distortion while maintaining a high signal-to-noise ratio, thereby significantly improving the accuracy of the subsequent spectral signal recovery. Attached Figure Description
[0050] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0051] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0052] Figure 1 This is one of the flowcharts illustrating the method for acquiring interference signals provided in this application;
[0053] Figure 2 This is the second flowchart illustrating the method for acquiring interference signals provided in this application;
[0054] Figure 3 This is the third flowchart illustrating the method for acquiring interference signals provided in this application;
[0055] Figure 4 This is the fourth flowchart illustrating the method for acquiring interference signals provided in this application;
[0056] Figure 5 This is one of the flowcharts illustrating the spectral signal recovery method provided in this application;
[0057] Figure 6 This is the second flowchart illustrating the spectral signal recovery method provided in this application;
[0058] Figure 7 This is a schematic diagram of the optical path interferogram in the spectral signal recovery method provided in this application;
[0059] Figure 8This is a schematic diagram of the upper envelope of the optical path interferogram in the spectral signal recovery method provided in this application;
[0060] Figure 9 This is a schematic diagram of the isometric gradient dynamic gain in the spectral signal recovery method provided in this application;
[0061] Figure 10 This is a schematic diagram of the gradual gradient dynamic gain in the spectral signal recovery method provided in this application;
[0062] Figure 11 This is a schematic diagram of the structure of the interference signal acquisition device provided in this application;
[0063] Figure 12 This is a schematic diagram of the structure of the spectral signal recovery device provided in this application;
[0064] Figure 13 This is a schematic diagram of the structure of the electronic device provided in this application.
[0065] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0066] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0067] Unless otherwise defined, all technical and scientific terms used in this application have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used in this application is for the purpose of describing particular embodiments only and is not intended to limit this application; the terms "comprising" and "having" and any variations thereof in the specification, claims and foregoing description of the drawings are intended to cover non-exclusive inclusion.
[0068] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.
[0069] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application can be combined with other embodiments.
[0070] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.
[0071] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0072] In related technologies, after acquiring interferograms using a Fourier spectrometer, conventional digital denoising algorithms such as median filtering and low-pass filtering are typically used to process the interferograms to further improve the spectral signal-to-noise ratio. However, these processes can easily lead to distortion of the interferograms, thus affecting the accuracy of the reconstructed spectrum.
[0073] To address the aforementioned issues, this application provides a method for acquiring interference signals, a method for recovering spectral signals, and an apparatus for doing so. The aim is to amplify the effective signal quantity during data acquisition, thereby reducing the interference of circuit noise on the interference signal and thus improving the signal-to-noise ratio of the interference signal and the spectrum. This method is not limited to random thermal noise and quantization noise.
[0074] It should be noted that the executing entity of the embodiments of this application can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device capable of performing the above functions. The embodiments of this application and the following examples will be described using an electronic device as an example.
[0075] The embodiments of this application and the following embodiments will be described in detail below.
[0076] This application provides a method for acquiring interference signals, referring to... Figure 1 , Figure 1 This is one of the flowcharts illustrating the method for acquiring interference signals provided in this application. The method includes steps S101 to S103:
[0077] Step S101: During the acquisition of the interference signal, the current optical path difference of the reference laser is obtained.
[0078] It should be noted that the reference laser is the laser emitted by the reference laser in the Fourier spectrometer.
[0079] It should also be noted that optical path difference refers to the difference in optical path length between two beams of light. It characterizes the difference in their "equivalent paths" caused by the different path lengths or refractive indices of the medium during the propagation of two beams of light.
[0080] In some embodiments, the acquired interference signal can be characterized in the form of an interferogram, which is a graphical representation of the spatial or optical path difference distribution of the interference phenomenon, and is usually presented in the form of a two-dimensional image or curve.
[0081] Step S102: Determine the current first gain coefficient corresponding to the current optical path difference based on the first correspondence relationship, wherein the first correspondence relationship is the mapping relationship between different optical path differences and the first gain coefficient.
[0082] It should be noted that the first correspondence can be obtained in advance through experiments, tests, and other methods.
[0083] Step S103: Adjust the circuit amplification gain of the acquisition interference signal by the current first gain coefficient to obtain the first Fourier interference signal.
[0084] It should be noted that in a Fourier transform spectrometer, circuit amplification gain refers to the electronic amplification factor used to enhance the output electrical signal of the detector. Its core purpose is to improve the signal-to-noise ratio of weak light signals and ensure the accuracy of subsequent digitization and Fourier transform processing.
[0085] Specifically, in the process of acquiring the interference signal, this application first obtains the current optical path difference of the reference laser, then determines the current first gain coefficient corresponding to the current optical path difference based on the pre-obtained first correspondence, and then adjusts the circuit amplification gain of the acquisition interference signal through the current first gain coefficient to obtain the first Fourier interference signal based on dynamic gain acquisition, which effectively improves the spectral signal-to-noise ratio.
[0086] Compared to related technologies that do not optimize the acquisition of interference signals but only perform filtering and other processing on the interferograms after acquisition, which easily leads to interference pattern distortion, this application dynamically adjusts the circuit amplification gain for acquiring interference signals based on the current first gain coefficient corresponding to the current optical path difference during the acquisition process. The signal-to-noise ratio of the interferogram corresponding to the first Fourier interference signal is effectively improved, eliminating the need for further filtering and processing of the interferogram. While ensuring the signal-to-noise ratio of the interferogram, it can effectively avoid distortion caused by reprocessing the interferogram, thereby effectively improving the accuracy of the subsequent reconstructed spectrum.
[0087] In some embodiments, a specific implementation is provided that amplifies the gain by adjusting the circuit using the current first gain coefficient. In the above... Figure 1 Based on the corresponding embodiments, Figure 2 This is the second flowchart illustrating the method for acquiring interference signals provided in this application. Figure 2 As shown, step S103 above includes steps S1031 to S1032:
[0088] Step S1031: Calculate the product between the current first gain coefficient and the preset base gain to obtain the circuit amplification gain corresponding to the current optical path difference.
[0089] It should be noted that the above-mentioned basic gain can be tested and set according to the actual situation, such as by the user setting it independently based on the light signal strength.
[0090] Step S1032: The collected interference signal is amplified by the circuit amplification gain corresponding to the current optical path difference to obtain the first Fourier interference signal.
[0091] For example, suppose the current first gain coefficient corresponding to the current optical path difference x is represented by G. discrete (x), where the fundamental gain is represented by G0, then during the actual interferogram acquisition process, the circuit amplification gain G analog (x) satisfies:
[0092] G analog (x)=G discrete (x)*G0;
[0093] G0 is set by the user based on the intensity of the optical signal.
[0094] This application provides a method for acquiring interference signals. A first correspondence between different optical path differences and a first gain coefficient is pre-obtained. This facilitates the determination of the current first gain coefficient corresponding to the current optical path difference of the reference laser during interference signal acquisition, based on the first correspondence. The amplification gain of the circuit acquiring the interference signal is then adjusted using the current first gain coefficient to amplify the interference signal and obtain a first Fourier interference signal. This reduces the interference of circuit noise. Through the above operations, this application eliminates the need for filtering the acquired interferogram to improve the signal-to-noise ratio. It effectively avoids interferogram distortion while maintaining a high signal-to-noise ratio, thereby significantly improving the accuracy of subsequent spectral signal recovery.
[0095] In some embodiments, a specific implementation method for obtaining the first correspondence is provided. Figure 3 This is the third flowchart illustrating the method for acquiring interference signals provided in this application. Figure 3 As shown, before step S102, the following steps S301 to S304 may be included:
[0096] Step S301: Calculate the equal optical path interference signal corresponding to the white light signal.
[0097] It should be noted that since white light is composed of monochromatic light with continuous wavelengths, the white light signal can be used as a reference light signal to obtain the first correspondence. While ensuring that the first correspondence has a certain adaptability to different lights, it can avoid obtaining the corresponding first correspondence for each type of light in advance, making the operation simpler and more convenient.
[0098] In some embodiments, depending on the actual situation, the first correspondence relationship can be obtained by using equal optical path interference signals corresponding to different optical signals. The obtained first correspondence relationship can be more adapted to different optical signals, thereby effectively adjusting the circuit amplification gain and improving the signal-to-noise ratio.
[0099] For example, based on an ideal white light signal S(σ) with consistent intensity across all wavelength bands, theoretical simulations yield the equal optical path interference pattern I(x) of this white light signal:
[0100]
[0101] Where σ represents the wave number (unit: cm) -1 ), where x represents the optical path difference (unit: cm), and the optical path difference x∈[0,L], σ min and σ max Indicates the spectral range.
[0102] Step S302: Remove the DC signal from the equal optical path interference signal to obtain the AC signal in the equal optical path interference signal.
[0103] It should be noted that interference signals typically include both DC and AC signals. In the interferogram acquired by a Fourier spectrometer, the DC signal does not contain diverse spectral information; the spectral information is mainly reflected in the AC signal. Generally, the hardware circuit will perform DC blocking to retain only the AC signal. After that, the AC signal is amplified and enters an ADC (Analog-to-digital converter) to convert the analog signal into a digital signal.
[0104] Step S303: Calculate the envelope of the AC signal in the equal optical path interference signal.
[0105] It should be noted that AC signals refer to signals whose voltage or current changes periodically with time (such as sine waves, square waves, etc.); while the envelope is the contour line describing the change of signal amplitude over time, which can be understood as the "outer boundary" of the signal amplitude change. The envelope does not contain the details of high-frequency oscillations, but it reflects the overall amplitude change pattern of the signal.
[0106] In some embodiments, the AC signal in the above-mentioned equal optical path interference signal is, for example, a sine wave signal, and the envelope is, for example, the upper envelope or lower envelope of the sine wave signal.
[0107] In other embodiments, the methods for calculating the envelope include, but are not limited to, Hilbert transform, wavelet transform, peak detection, moving average, least squares curve fitting, etc. The method can be selected for envelope calculation according to the actual situation, and no limitation is imposed here.
[0108] For example, the AC component I of the DC signal is removed from the equal optical path interferogram I(x) of the white light signal generated by theoretical calculation. AC (x), calculate the upper envelope C of the AC quantity in the interferogram. up (x):
[0109]
[0110] C up (x)=Contour up (I AC (x));
[0111] Where k represents a coefficient, which can be set according to the actual situation. Contour up The method for calculating the upper envelope is not limited to Hilbert transform, wavelet transform, peak detection, moving average, least squares curve fitting, etc.
[0112] Step S304: Based on the envelope, determine the first correspondence that characterizes the first gain coefficient corresponding to different optical path differences.
[0113] In some embodiments, a specific implementation method is provided for determining the first correspondence based on the envelope. In the above... Figure 3 Based on the corresponding embodiments, Figure 4 This is the fourth flowchart illustrating the method for acquiring interference signals provided in this application. Figure 4 As shown, step S304 above includes steps S3041 to S3042:
[0114] Step S3041: After normalizing the envelope, a second correspondence relationship is obtained that characterizes the second gain coefficient corresponding to different optical path differences;
[0115] The second correspondence is characterized by a continuous function.
[0116] It should be noted that this application scales the amplitude of the envelope to a uniform range (such as 0 to 1 or -1 to 1), which can eliminate interference from the absolute amplitude and allow different signals to be compared under the same reference.
[0117] It should also be noted that since the equal optical path interference signal corresponding to the white light signal and the processed envelope are both continuous functions with optical path difference as the independent variable, the second correspondence obtained after normalizing the envelope is a continuous function.
[0118] In some embodiments, a specific implementation of processing the envelope to obtain the second correspondence is provided. Step S3041 above may include the following steps:
[0119] Step S3041-1: After normalizing the envelope based on the intensity value of the envelope at zero optical path, a second correspondence relationship is obtained that characterizes the second gain coefficient corresponding to different optical path differences.
[0120] Specifically, for the aforementioned envelope, since the intensity value is the highest at zero optical path difference, the corresponding intensity value will rapidly decrease as the optical path difference increases. This will result in a significant difference between the intensity value acquired subsequently and the intensity value at zero optical path difference. Therefore, this application can normalize the intensity values at other optical path differences based on the intensity value at zero optical path difference, as a second correspondence for adjusting the amplification gain. In other words, the circuit amplification gain at other optical path differences can be adjusted through the second correspondence, so that the intensity values at other optical path differences are close to the intensity value at zero optical path difference, effectively reducing the impact of intensity value attenuation.
[0121] In other embodiments, a specific implementation is provided that normalizes the envelope based on the intensity value of the envelope at zero optical path. Step S3041-1 above may include the following steps:
[0122] For the intensity values of different optical path differences along the envelope, the second correspondence is obtained after the following normalization process:
[0123] Calculate the intensity value of the envelope at zero optical path as a reference intensity value;
[0124] The ratio between the reference intensity value and the intensity values of different optical path differences on the envelope is calculated to obtain a second correspondence characterizing the second gain coefficient corresponding to different optical path differences.
[0125] For example, taking the upper envelope as an example, let the upper envelope C... up C in (x) up (0) is used as a reference for normalization to obtain the gain coefficient G. continuous (x), which is the second correspondence:
[0126]
[0127] Among them, C up (0) is the intensity value at zero optical path difference in the upper envelope, Gcontinuous (x)≥1.
[0128] Step S3042: After discretizing the second correspondence, a first correspondence representing the first gain coefficient corresponding to different optical path differences is obtained.
[0129] It should be noted that, in order to minimize the processing load caused by dynamic gain adjustment while ensuring a certain signal-to-noise ratio, this application sets up a method to discretize the second correspondence represented by the continuous function to obtain a discretized first correspondence, so as to use the first correspondence to dynamically adjust the circuit amplification gain when acquiring interference signals.
[0130] In some embodiments, a specific implementation method is provided for discretizing the second correspondence to obtain the first correspondence. Step S3042 above may include the following steps:
[0131] Step S3042-1: Based on N step size coefficients and the wavelength of the reference laser, the second correspondence is discretized to obtain the first correspondence representing the first gain coefficient corresponding to different optical path differences;
[0132] Where N is an integer greater than 1.
[0133] It should be noted that the N step size coefficients can be set to be the same or different, and are usually greater than 0. Since the wavelength of the reference laser is constant, when the N step size coefficients are the same, the step size is fixed; when the N step size coefficients are different, the step size is not fixed. This application does not impose any restrictions on this.
[0134] In other embodiments, a specific implementation is provided that discretizes the second correspondence based on N step size coefficients and the wavelength of the reference laser. Step S3042-1 above may include the following steps:
[0135] Step S3042-11: Calculate the product between the N step size coefficients and the wavelength of the reference laser to obtain the corresponding N step sizes.
[0136] Step S3042-12: For each optical path difference among different optical path differences, if the optical path difference is greater than the (k-1)th step size and less than or equal to the kth step size, calculate the product between the second gain coefficient corresponding to the optical path difference and the kth step size to obtain the first gain coefficient corresponding to the optical path difference.
[0137] Where k is an integer greater than 2 and less than N.
[0138] For example, the continuously varying gain coefficients are adjusted according to α. k *λ laser The step size is discretized, αk >0 means dividing the optical path difference range [0,L] into k-1 segments, each segment having a length of α. k *λ laser Obtain the gradient transform gain coefficient G discrete (x), which is the first correspondence:
[0139] G discrete (x)=G continuous (α k *λ laser If x>α k-1 *λ laser And x≤α k *λ laser ;
[0140] Where, λ laser The wavelength of the reference laser can also be understood as the wavelength emitted by the reference laser; when discretizing the gain step, the coefficient α k It can be a variable value or a fixed value, i.e., a fixed step size.
[0141] This application also provides a method for recovering spectral signals, referring to... Figure 5 , Figure 5 This is one of the flowcharts illustrating the spectral signal recovery method provided in this application, which includes steps S501 to S503:
[0142] Step S501: Obtain the first Fourier interference signal;
[0143] Wherein, the first Fourier interference signal is a signal obtained by amplifying the gain of the circuit that acquires the interference signal by adjusting the current first gain coefficient. The current first gain coefficient is determined based on the first correspondence and the current optical path difference of the reference laser. The first correspondence is the mapping relationship between different optical path differences and the first gain coefficient.
[0144] Step S502: Based on the first Fourier interference signal and the first correspondence, the original second Fourier interference signal is reconstructed;
[0145] The second Fourier interference signal is equivalent to the Fourier interference signal before the gain is amplified by the adjustment circuit.
[0146] Step S503: Determine the corresponding spectral signal based on the second Fourier interference signal.
[0147] In some embodiments, a specific implementation for reconstructing the second Fourier interference signal is provided. Step S502 above includes the following steps:
[0148] The original second Fourier interference signal is obtained by calculating the ratio between the first Fourier interference signal and the first gain coefficient corresponding to different optical path differences.
[0149] For example, obtaining the first Fourier interferometric signal I based on dynamic gain adaptive After (x), before recovering the spectral signal, it is also necessary to first convert I... adaptive (x) is converted into the second Fourier interference signal I, which is equivalent to the signal before the gain is amplified by the adjustment circuit. recover (x):
[0150]
[0151] At this point, it is assumed that the recovered second Fourier interference signal I recover If (x) is the interference signal with the same gain, then it can be considered that the second Fourier interference signal I is used. recover The spectral signal recovered by (x) is a spectral signal that is not affected by the previous dynamic gain.
[0152] In some embodiments, I can be used recover (x) Perform apodization, phase correction, Fourier transform and other processing to recover the spectral signal.
[0153] The following examples illustrate the interference signal acquisition method and spectral signal recovery method provided in this application, applied to scenarios where interference signals are acquired using a Fourier spectrometer. The aim is to dynamically adjust the circuit amplification gain at different optical path differences during the interferogram acquisition process in real time. Figure 6 This is the second flowchart illustrating the spectral signal recovery method provided in this application, as shown below. Figure 6 As shown, the main steps include:
[0154] Step S601: Calculate the equal optical path interferogram of an ideal white light signal with consistent intensity across all bands;
[0155] Specifically, Figure 7 This is a schematic diagram of the optical path interferogram in the spectral signal recovery method provided in this application, as shown below. Figure 7 As shown, the equal optical path interference pattern here is also the white light interference pattern with consistent intensity across all wavelengths. Based on the ideal white light signal S(σ) with consistent intensity across all wavelengths, the equal optical path interference pattern I(x) of this white light signal is obtained through theoretical simulation calculation:
[0156]
[0157] Where σ represents the wave number (unit: cm) -1 ), where x represents the optical path difference (unit: cm), and the optical path difference x∈[0,L], σ min and σ max Indicates the spectral range.
[0158] Step S602: Calculate the upper envelope of the AC portion in the equal path interference diagram of the white light signal;
[0159] Specifically, the AC component of the DC signal is removed from the equal optical path interferogram I(x) of the white light signal generated by theoretical calculation. AC (x), calculate the upper envelope C of the AC quantity in the interferogram. up (x):
[0160]
[0161] C up (x)=Contour up (I Ac (x));
[0162] Where k represents a coefficient, which can be set according to the actual situation. Contour up The method for calculating the upper envelope is not limited to Hilbert transform, wavelet transform, peak detection, moving average, least squares curve fitting, etc.
[0163] Figure 8 This is a schematic diagram of the upper envelope of the optical path interferogram in the spectral signal recovery method provided in this application, as shown below. Figure 8 As shown, the upper envelope is the line connecting the interference peaks.
[0164] Step S603: Normalize the upper envelope to obtain the second correspondence;
[0165] Specifically, the upper envelope C up C in (x) up (0) is used as a reference for normalization to obtain the gain coefficient G. continuous (x), which is the second correspondence:
[0166]
[0167] Among them, C up (0) is the intensity value at zero optical path difference in the upper envelope, G continuous (x)≥1.
[0168] Step S604: Perform step discretization on the second correspondence according to a preset step size to obtain the first correspondence;
[0169] Specifically, the continuously varying gain coefficients are determined according to α. k *λ laser The step size is discretized, α k >0 means dividing the optical path difference range [0,L] into k-1 segments, each segment having a length of α. k *λlaser Obtain the gradient transform gain coefficient G discrete (x), which is the first correspondence:
[0170] G discrete (x)=G continuous (α k *λ laser If x>α k-1 *λ laser And x≤α k *λ laser ;
[0171] Where, λ laser The wavelength of the reference laser can also be understood as the wavelength emitted by the reference laser; when discretizing the gain step, the coefficient α k It can be a variable value or a fixed value, i.e., a fixed step size.
[0172] Figure 9 This is a schematic diagram of the isometric gradient dynamic gain in the spectral signal recovery method provided in this application, as shown below. Figure 9 As shown, the ideal gain coefficient is considered to be the gain coefficient corresponding to the second correspondence. During discretization, if α... k If the value is fixed, then the curve of the equidistant gradient dynamic gain will be obtained as the first correspondence; Figure 10 This is a schematic diagram of the gradual gradient dynamic gain in the spectral signal recovery method provided in this application, as shown below. Figure 10 As shown, if α k If the value is a variable, then the curve of the gradual gradient dynamic gain will be obtained as the first correspondence;
[0173] contrast Figure 9 and Figure 10 As can be seen, the curve of the gradual gradient dynamic gain is closer to the curve corresponding to the ideal gain coefficient.
[0174] Step S605: Based on the optical path difference of the laser interference signal as feedback, the circuit amplification gain is dynamically adjusted during acquisition to obtain the first Fourier interference signal;
[0175] Specifically, during the Fourier interferometric signal acquisition process, based on the reference laser λ laser The optical path difference measurement feedback is based on the preset gain coefficient G. discrete (x) Dynamically adjust the gain coefficient of the AC quantity in the interferogram to obtain the first Fourier interferometric signal I with dynamic gain. adaptive (x); During the actual interferogram acquisition process, the circuit amplification gain G analog (x) satisfies:
[0176] G analog (x)=G discrete (x)*G0;
[0177] G0 is set by the user based on the intensity of the optical signal.
[0178] Step S606: Based on the current first gain coefficient corresponding to the current optical path difference, obtain the second Fourier interference signal under the same gain condition;
[0179] Specifically, when recovering the spectral signal from the interferogram, the dynamic gain interferogram I obtained by measurement is used. adaptive (x) and preset gain coefficient G discrete (x), recovering the second Fourier interference signal I. recover (x):
[0180]
[0181] Step S607: After processing the second Fourier interference signal by apodization, phase correction, and Fourier transform, the spectral signal is recovered.
[0182] Specifically, it is possible to target I recover (x) Perform apodization, phase correction, Fourier transform and other processing to recover the spectral signal.
[0183] In the embodiments of this application, at least the following beneficial effects exist:
[0184] 1) Based on the characteristic that the AC part of the interference signal is strong near zero optical path and weak far from zero optical path, high-quality interference signal acquisition is achieved by combining dynamic gain, reducing the interference of circuit noise on weak interference signals, thereby improving the signal-to-noise ratio of the interference signal and ultimately improving the signal-to-noise ratio of the spectrum.
[0185] 2) This method is applicable to Fourier spectrometers, including but not limited to near-infrared, mid-infrared, long-infrared, and Fourier Raman spectrometers. It is a general method for improving the spectral signal-to-noise ratio of Fourier spectrometers.
[0186] 3) The improved spectral signal-to-noise ratio achieved by Fourier spectrometer interferogram acquisition based on dynamic gain has a significant performance improvement effect on subdivided scenarios using spectra for classification, qualitative and quantitative quantification.
[0187] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the method of acquiring interference signals or the method of recovering spectral signals in this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0188] This application also provides an interference signal acquisition device. Figure 11 This is a schematic diagram of the structure of the interference signal acquisition device provided in this application, as shown below. Figure 11As shown, the interference signal acquisition device includes:
[0189] The acquisition module 1101 is used to acquire the current optical path difference of the reference laser during the acquisition of the interference signal;
[0190] The first determining module 1102 is used to determine the current first gain coefficient corresponding to the current optical path difference based on a first correspondence relationship, wherein the first correspondence relationship is a mapping relationship between different optical path differences and the first gain coefficient.
[0191] The adjustment module 1103 is used to adjust the circuit amplification gain of the acquired interference signal through the current first gain coefficient to obtain the first Fourier interference signal.
[0192] The interference signal acquisition device provided in this application, employing the interference signal acquisition method described in the above embodiments, can solve the technical problem that processing the acquired interferogram using conventional digital denoising algorithms such as median filtering and low-pass filtering easily leads to interferogram distortion. Compared with the prior art, the beneficial effects of the interference signal acquisition device provided in this application are the same as those of the interference signal acquisition method provided in the above embodiments, and other technical features in the interference signal acquisition device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0193] This application also provides a device for recovering spectral signals. Figure 12 This is a schematic diagram of the spectral signal recovery device provided in this application, as shown below. Figure 12 As shown, the spectral signal recovery device includes:
[0194] The module 1201 is used to obtain a first Fourier interference signal; wherein, the first Fourier interference signal is a signal obtained by amplifying the gain of the circuit that acquires the interference signal by adjusting the current first gain coefficient, and the current first gain coefficient is determined based on a first correspondence and the current optical path difference of the reference laser, and the first correspondence is a mapping relationship between different optical path differences and the first gain coefficient.
[0195] The restoration module 1202 is used to restore the original second Fourier interference signal based on the first Fourier interference signal and the first correspondence; wherein, the second Fourier interference signal is equivalent to the Fourier interference signal before the amplification gain of the adjustment circuit;
[0196] The second determining module 1203 is used to determine the corresponding spectral signal based on the second Fourier interference signal.
[0197] The spectral signal recovery apparatus provided in this application, employing the spectral signal recovery method described in the above embodiments, can solve the technical problem of how to improve the accuracy of the recovered spectral signal. Compared with the prior art, the beneficial effects of the spectral signal recovery apparatus provided in this application are the same as those of the spectral signal recovery method provided in the above embodiments, and other technical features in the spectral signal recovery apparatus are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0198] This application provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the interference signal acquisition method or the spectral signal recovery method in the above embodiments.
[0199] The following is for reference. Figure 13 , Figure 13 This is a schematic diagram of the structure of an electronic device provided in this application, illustrating a structure suitable for implementing the embodiments of this application. The electronic devices in the embodiments of this application may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 13 The electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0200] like Figure 13As shown, the electronic device may include a processing unit 1301 (e.g., a central processing unit, a graphics processing unit, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1302 or a program loaded from a storage device 1303 into a random access memory (RAM) 1304. The RAM 1304 also stores various programs and data required for the operation of the electronic device. The processing unit 1301, ROM 1302, and RAM 1304 are interconnected via a bus 1305. An input / output (I / O) interface 1306 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1306: input devices 1307 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1308 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1303 including, for example, magnetic tape, hard disk, etc.; and communication devices 1309. Communication device 1309 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. While electronic devices with various systems are shown in the figures, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.
[0201] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1303, or installed from ROM 1302. When the computer program is executed by processing device 1301, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0202] The electronic device provided in this application, employing the interference signal acquisition method or spectral signal recovery method described in the above embodiments, can solve the technical problem that processing the acquired interferogram using conventional digital denoising algorithms such as median filtering and low-pass filtering easily leads to interferogram distortion, thereby affecting the accuracy of the recovered spectral signal. Compared with the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the interference signal acquisition method or spectral signal recovery method provided in the above embodiments, and other technical features of this electronic device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0203] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0204] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0205] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A method of collecting an interference signal, characterized by, The method includes: During the acquisition of the interference signal, the current optical path difference of the reference laser is obtained; The current first gain coefficient corresponding to the current optical path difference is determined based on the first correspondence relationship, wherein the first correspondence relationship is the mapping relationship between different optical path differences and the first gain coefficient; The first Fourier interference signal is obtained by adjusting the circuit amplification gain of the acquisition interference signal through the current first gain coefficient.
2. The method of claim 1, wherein, Before the step of determining the current first gain coefficient corresponding to the current optical path difference based on the first correspondence, the method further includes: Calculate the equal optical path interference signal corresponding to the white light signal; The DC signal is removed from the equal optical path interference signal to obtain the AC signal in the equal optical path interference signal; Calculate the envelope of the AC signal in the equal optical path interference signal; Based on the envelope, a first correspondence is determined that characterizes the first gain coefficient corresponding to different optical path differences.
3. The method of claim 2, wherein, The step of determining the first correspondence between the first gain coefficients representing different optical path differences based on the envelope includes: After normalizing the envelope, a second correspondence is obtained that characterizes the second gain coefficient corresponding to different optical path differences; wherein, the second correspondence is characterized by a continuous function. After discretizing the second correspondence, a first correspondence is obtained that characterizes the first gain coefficient corresponding to different optical path differences.
4. The method of claim 3, wherein, The step of obtaining a second correspondence characterizing the second gain coefficient corresponding to different optical path differences after normalizing the envelope includes: After normalizing the envelope based on the intensity value of the envelope at zero optical path, a second correspondence relationship is obtained that characterizes the second gain coefficient corresponding to different optical path differences.
5. The method of claim 4, wherein, The step of normalizing the envelope based on the intensity value of the envelope at zero optical path to obtain a second correspondence characterizing the second gain coefficient corresponding to different optical path differences includes: For the intensity values of different optical path differences along the envelope, the second correspondence is obtained after the following normalization process: Calculate the intensity value of the envelope at zero optical path as a reference intensity value; The ratio between the reference intensity value and the intensity values of different optical path differences on the envelope is calculated to obtain a second correspondence characterizing the second gain coefficient corresponding to different optical path differences.
6. The method of claim 3, wherein, The step of discretizing the second correspondence to obtain the first correspondence representing the first gain coefficient corresponding to different optical path differences includes: Based on N step size coefficients and the wavelength of the reference laser, the second correspondence is discretized to obtain a first correspondence characterizing the first gain coefficient corresponding to different optical path differences; where N is an integer greater than 1.
7. The method of claim 6, wherein, The step of discretizing the second correspondence based on N step size coefficients and the wavelength of the reference laser to obtain the first correspondence characterizing the first gain coefficient corresponding to different optical path differences includes: Calculate the product between the N step size coefficients and the wavelength of the reference laser to obtain the corresponding N step sizes; For each optical path difference, if the optical path difference is greater than the (k-1)th step size and less than or equal to the kth step size, the product between the second gain coefficient corresponding to the optical path difference and the kth step size is calculated to obtain the first gain coefficient corresponding to the optical path difference; where k is an integer greater than 2 and less than N.
8. The method according to any one of claims 1 to 7, characterized in that, The step of adjusting the circuit amplification gain of the acquired interference signal through the current first gain coefficient to obtain the first Fourier interference signal includes: Calculate the product of the current first gain coefficient and the preset base gain to obtain the circuit amplification gain corresponding to the current optical path difference; The collected interference signal is amplified by the circuit amplification gain corresponding to the current optical path difference to obtain the first Fourier interference signal.
9. A method for recovering a spectral signal, characterized in that, The method includes: A first Fourier interference signal is obtained; wherein, the first Fourier interference signal is a signal obtained by amplifying the gain of the circuit that acquires the interference signal by adjusting the current first gain coefficient, and the current first gain coefficient is determined based on a first correspondence and the current optical path difference of the reference laser, and the first correspondence is the mapping relationship between different optical path differences and the first gain coefficient; Based on the first Fourier interference signal and the first correspondence, the original second Fourier interference signal is reconstructed; wherein, the second Fourier interference signal is used to be equivalent to the Fourier interference signal before the amplification gain of the adjustment circuit; Based on the second Fourier interference signal, the corresponding spectral signal is determined.
10. The method as described in claim 9, characterized in that, The step of reconstructing the original second Fourier interference signal based on the first Fourier interference signal and the first correspondence includes: The original second Fourier interference signal is obtained by calculating the ratio between the first Fourier interference signal and the first gain coefficient corresponding to different optical path differences.
11. A device for acquiring interference signals, characterized in that, The device includes: The acquisition module is used to acquire the current optical path difference of the reference laser during the acquisition of the interference signal; The first determining module is used to determine the current first gain coefficient corresponding to the current optical path difference based on a first correspondence relationship, wherein the first correspondence relationship is a mapping relationship between different optical path differences and the first gain coefficient. The adjustment module is used to adjust the circuit amplification gain of the acquired interference signal through the current first gain coefficient to obtain the first Fourier interference signal.
12. A device for recovering spectral signals, characterized in that, The device includes: The acquisition module is used to acquire a first Fourier interference signal; wherein, the first Fourier interference signal is a signal obtained by amplifying the gain of the circuit that acquires the interference signal by adjusting the current first gain coefficient, and the current first gain coefficient is determined based on a first correspondence and the current optical path difference of the reference laser, and the first correspondence is a mapping relationship between different optical path differences and the first gain coefficient; The restoration module is used to restore the original second Fourier interference signal based on the first Fourier interference signal and the first correspondence; wherein the second Fourier interference signal is used to be equivalent to the Fourier interference signal before the amplification gain of the adjustment circuit; The second determining module is used to determine the corresponding spectral signal based on the second Fourier interference signal.
13. An electronic device, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the method for acquiring an interference signal as described in any one of claims 1 to 8, or the steps of the method for recovering a spectral signal as described in any one of claims 9 to 10.
