Disclosure of Invention
The embodiment of the application aims to provide a method, a system and a medium for automatically detecting frequency locking and unlocking of a laser signal, which are used for periodically detecting a frequency discrimination signal through a detection time node to obtain frequency locking information; and performing periodic lock loss detection; the output frequency of the laser is precisely controlled at a set frequency.
The embodiment of the application also provides a laser signal automatic frequency locking and unlocking detection method, which comprises the following steps:
generating a frequency scanning interval by scanning a frequency feasible interval of the laser, searching for the existence interval of the frequency discrimination signal in the frequency scanning interval, and marking the existence interval as the frequency discrimination signal interval to obtain frequency discrimination signal interval distribution information;
generating a noise interval in a frequency scanning interval according to the frequency discrimination signal interval distribution information, and randomly sampling in the noise interval to acquire environmental noise characteristics;
scanning a frequency discrimination signal interval through a modulation signal, carrying out noise reduction treatment on environmental noise through a weighted average coefficient, judging the existence of the signal and acquiring signal characteristics through a signal to noise ratio, wherein the scanning process is carried out periodically, and the read scanning signal is a control result of the previous period and is used as feedback of control parameters;
judging whether the signal characteristics meet the requirements;
if the requirements are not met, generating correction information, and adjusting parameter information of the modulation signal according to the correction information;
if the requirement is met, the current laser output frequency is stabilized by hardware, and frequency locking information is obtained; checking the frequency locking effect, and entering hardware locking;
Judging whether the frequency locking information is invalid after locking;
if the frequency locking information is invalid, the parameter information of the modulation signal is secondarily adjusted;
and if the frequency locking information is not invalid, performing periodic lock losing detection.
Optionally, in the method for detecting automatic frequency locking and unlocking of a laser signal according to the embodiment of the present application, a frequency scanning interval is generated by scanning a frequency feasible interval of a laser, and a presence interval of a frequency discrimination signal is searched in the frequency scanning interval and recorded as a frequency discrimination signal interval, so as to obtain distribution information of the frequency discrimination signal interval, which specifically includes:
scanning the PZT of the laser, reversely incident the modulated light beam and the unmodulated light beam into the absorption cell, and generating a four-wave mixing effect to obtain a saturated absorption spectrum signal;
mixing the saturated absorption spectrum signal with the beat frequency signal, and demodulating to obtain a frequency discrimination curve;
and analyzing according to the frequency discrimination curve to generate a frequency discrimination signal.
Optionally, in the method for detecting automatic frequency locking and unlocking of a laser signal according to the embodiment of the present application, a noise interval in a frequency scanning interval is generated according to distribution information of a frequency discrimination signal interval, and random sampling is performed in the noise interval to obtain an environmental noise characteristic; further comprises:
Acquiring a frequency scanning interval, and dividing the frequency scanning interval into a signal area and a no-signal area;
searching a frequency discrimination signal interval in a signal area, and searching light interference information and noise distribution information in a signal-free area;
calculating a signal to noise ratio according to the light interference information and the noise distribution information; judging whether the signal to noise ratio is larger than a preset ratio;
if the error signal is larger than the first threshold value, determining that an error signal exists between the selected areas;
if the error signal is less than the selected interval, the error signal is not determined to exist in the selected interval.
Optionally, in the method for automatic frequency locking and lock loss detection of a laser signal according to the embodiment of the present application, a frequency discrimination signal interval is scanned by a modulation signal, and noise reduction is performed on environmental noise by a weighted average coefficient, so as to obtain a noise reduction result, which specifically includes:
acquiring triangular wave parameters, taking triangular waves as modulation signals, and scanning in a section where frequency discrimination signals exist by using the triangular waves to obtain a sampling curve;
removing high-order interference by using weighted average and fast Fourier transform, and integrating a sampling curve to obtain integrated information;
determining a zero crossing point of the frequency discrimination signal according to the integral information, and calculating the slope of the frequency discrimination signal;
the modulation parameters are optimized using a multiparameter programming approach such that the frequency discrimination signal slope is maximized and in phase with the triangular wave signal.
Optionally, in the method for detecting automatic frequency locking and loss of locking of a laser signal according to the embodiment of the present application, if the requirement is not met, correction information is generated, and parameter information of a modulation signal is adjusted according to the correction information, specifically:
acquiring parameter information of a triangular wave, wherein the parameter information of the triangular wave comprises amplitude, period and sampling frequency of the triangular wave;
calculating the amplitude of the triangular wave according to the amplitude of the triangular wave, and setting the period and sampling frequency of the triangular wave to be fixed values;
and (3) adjusting the amplitude of the triangular wave through the correction information to optimize the environmental noise, so as to obtain a noise optimization result.
Optionally, in the method for detecting automatic frequency locking and unlocking of a laser signal according to the embodiment of the present application, the method further includes, after the noise optimization result is obtained by adjusting the amplitude of the triangular wave by the correction information to optimize the environmental noise:
extracting a frequency discrimination signal from the frequency discrimination signal interval distribution information and generating a frequency discrimination curve;
dividing the result of the fast Fourier transform of the frequency discrimination curve into a plurality of sections of vectors which are used for representing components with different frequencies;
taking norms of the characteristic vectors of the different frequency components to form a new characteristic vector;
and (3) obtaining a form corresponding to the frequency discrimination curve through the Euclidean space segmentation, and correspondingly adjusting the control parameters to obtain a frequency discrimination curve adjustment result.
In a second aspect, an embodiment of the present application provides a system for detecting automatic frequency locking and unlocking of a laser signal, where the system includes: the device comprises a memory and a processor, wherein the memory comprises a program of an automatic laser signal frequency locking and unlocking detection method, and the program of the automatic laser signal frequency locking and unlocking detection method realizes the following steps when being executed by the processor:
generating a frequency scanning interval by scanning a frequency feasible interval of the laser, searching for the existence interval of the frequency discrimination signal in the frequency scanning interval, and marking the existence interval as the frequency discrimination signal interval to obtain frequency discrimination signal interval distribution information;
generating a noise interval in a frequency scanning interval according to the frequency discrimination signal interval distribution information, and randomly sampling in the noise interval to acquire environmental noise characteristics;
scanning a frequency discrimination signal interval through a modulation signal, carrying out noise reduction treatment on environmental noise through a weighted average coefficient, judging the existence of the signal through a signal-to-noise ratio, and acquiring signal characteristics; the scanning process is periodically carried out, and the read scanning signal is the control result of the previous period and is used as feedback of control parameters;
judging whether the signal characteristics meet the requirements;
if the requirements are not met, generating correction information, and adjusting parameter information of the modulation signal according to the correction information;
If the requirement is met, the current laser output frequency is stabilized by hardware, and frequency locking information is obtained; checking the frequency locking effect, and entering hardware locking;
judging whether the frequency locking information is invalid after locking;
if the frequency locking information is invalid, the parameter information of the modulation signal is secondarily adjusted;
and if the frequency locking information is not invalid, performing periodic lock losing detection.
Optionally, in the system for automatic frequency locking and unlocking detection of a laser signal according to the embodiment of the present application, a frequency scanning interval is generated by scanning a frequency feasible interval of a laser, and a presence interval of a frequency discrimination signal is searched in the frequency scanning interval and recorded as a frequency discrimination signal interval, so as to obtain distribution information of the frequency discrimination signal interval, which specifically includes:
scanning the PZT of the laser, reversely incident the modulated light beam and the unmodulated light beam into the absorption cell, and generating a four-wave mixing effect to obtain a saturated absorption spectrum signal;
mixing the saturated absorption spectrum signal with the beat frequency signal, and demodulating to obtain a frequency discrimination curve;
and analyzing according to the frequency discrimination curve to generate a frequency discrimination signal.
Optionally, in the system for automatic frequency locking and unlocking detection of a laser signal according to the embodiment of the present application, a noise interval in a frequency scanning interval is generated according to distribution information of the frequency discrimination signal interval, and random sampling is performed in the noise interval to obtain an environmental noise characteristic; further comprises:
Acquiring a frequency scanning interval, and dividing the frequency scanning interval into a signal area and a no-signal area;
searching a frequency discrimination signal interval in a signal area, and searching light interference information and noise distribution information in a signal-free area;
calculating a signal to noise ratio according to the light interference information and the noise distribution information; judging whether the signal to noise ratio is larger than a preset ratio;
if the error signal is larger than the first threshold value, determining that an error signal exists between the selected areas;
if the error signal is less than the selected interval, the error signal is not determined to exist in the selected interval.
In a third aspect, an embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium includes a laser signal automatic frequency locking and unlocking detection method program, where when the laser signal automatic frequency locking and unlocking detection method program is executed by a processor, the foregoing steps of the laser signal automatic frequency locking and unlocking detection method are implemented.
As can be seen from the above, according to the method, system and medium for automatic frequency locking and unlocking detection of laser signals provided by the embodiments of the present application, a frequency scanning interval is generated by scanning a frequency feasible interval of a laser, and a frequency scanning interval is searched for a frequency discrimination signal existence interval, and the frequency discrimination signal existence interval is recorded as a frequency discrimination signal interval, so as to obtain frequency discrimination signal interval distribution information; generating a noise interval in a frequency scanning interval according to the frequency discrimination signal interval distribution information, and randomly sampling in the noise interval to acquire environmental noise characteristics; scanning the frequency discrimination signal interval through a modulation signal, and carrying out noise reduction treatment on environmental noise through a weighted average coefficient to obtain a noise reduction result; acquiring the frequency of a laser corresponding to the zero point of the frequency discrimination signal, and locking the frequency of the laser; setting a detection time node, and performing periodic detection on the frequency discrimination signal through the detection time node to obtain frequency locking information; and performing periodic lock loss detection; the output frequency of the laser is precisely controlled at a set frequency.
Additional features and advantages of the application will be set forth in the description which follows.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that like reference numerals and letters refer to like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, fig. 1 is a flowchart of a method for detecting automatic frequency locking and unlocking of a laser signal according to some embodiments of the present application. The method for detecting the automatic frequency locking and the unlocking of the laser signal is used in terminal equipment and comprises the following steps:
s101, scanning a frequency feasible section of a laser to generate a frequency scanning section, searching a frequency discrimination signal existence section in the frequency scanning section, and marking the frequency discrimination signal existence section as a frequency discrimination signal section to obtain frequency discrimination signal section distribution information;
s102, generating a noise section in a frequency scanning section according to frequency discrimination signal section distribution information, and randomly sampling in the noise section to obtain environmental noise characteristics;
s103, scanning a frequency discrimination signal interval through a modulation signal, carrying out noise reduction treatment on environmental noise through a weighted average coefficient, judging the existence of the signal according to a signal-to-noise ratio, and acquiring signal characteristics; the scanning process is periodically carried out, and the read scanning signal is the control result of the previous period and is used as feedback of control parameters;
S104, judging whether the signal characteristics meet the requirements; if the requirements are not met, generating correction information, and adjusting parameter information of the modulation signal according to the correction information; if the requirement is met, the current laser output frequency is stabilized by hardware, and frequency locking information is obtained; checking the frequency locking effect, and entering hardware locking;
s105, judging whether the frequency locking information is invalid after locking; if the frequency locking information is invalid, the parameter information of the modulation signal is secondarily adjusted; and if the frequency locking information is not invalid, performing periodic lock losing detection.
The method for detecting the automatic frequency locking and the unlocking of the laser signal comprises the following steps:
sweep frequency stage: scanning a feasible interval of the PZT frequency of the laser to find out an interval where a frequency discrimination signal possibly exists;
acquiring noise: randomly sampling in a section without frequency discrimination signals to obtain the mean value and standard deviation of noise in the environment;
coarse adjustment stage: and scanning in the interval where the frequency discrimination signal exists by using a triangular wave, reducing the interference of noise by using a weighted average mode, removing the interference of a higher-order term by using a fast Fourier change, and integrating a sampling curve to find the zero crossing point of the frequency discrimination signal.
And (3) optimizing: and the modulation parameters are optimized by using a multi-parameter programming mode, so that the slope of the frequency discrimination signal is maximum and is in phase with the triangular wave signal, and the hardware PID stability is facilitated.
Wherein the PID (proportional), integral, differential) controller is composed of a proportional unit P, an integral unit I and a differential unit D. The PID control is based on proportional control; integral control may eliminate steady state errors, but may increase overshoot; differential control can accelerate the response speed of a large inertial system and weaken the overshoot trend.
PZT chinese represents lead zirconate titanate piezoelectric ceramics (english name: piezoelectric ceramic transducer): wherein P is an abbreviation of Pb, Z is an abbreviation of Zr, and T is an abbreviation of Ti.
Fine tuning: gradually reducing the amplitude of the triangular wave and maintaining the centering symmetry of the frequency discrimination signal until the frequency discrimination signal exists just within the whole period of the triangular wave.
Locking: the laser frequency is stabilized at the zero point of the frequency discrimination signal using a hardware PID to control the laser frequency to stabilize at the desired frequency.
And (3) detecting loss of lock: and (3) periodically detecting the signal, judging whether the lock is lost, and repeating the steps after the lock is lost.
Referring to fig. 2, fig. 2 is a flow chart of obtaining a frequency discrimination signal of a method for detecting automatic frequency locking and unlocking of a laser signal according to some embodiments of the present application. According to the embodiment of the invention, the frequency scanning interval is generated by scanning the frequency feasible interval of the laser, the existence interval of the frequency discrimination signal is searched in the frequency scanning interval and is recorded as the frequency discrimination signal interval, and the distribution information of the frequency discrimination signal interval is obtained, specifically:
S201, scanning the PZT of the laser, and reversely entering an absorption cell by using a modulated light beam and an unmodulated light beam to generate a four-wave mixing effect to obtain a saturated absorption spectrum signal;
s202, mixing a saturated absorption spectrum signal with a beat frequency signal, and demodulating to obtain a frequency discrimination curve;
and S203, analyzing according to the frequency discrimination curve to generate a frequency discrimination signal.
Specifically, in the sweep frequency stage, the PZT of the laser is scanned, a frequency discrimination curve is acquired, the frequency discrimination signal is a signal obtained by enabling modulated light beams and unmodulated light beams to enter an absorption tank, and due to the nonlinear four-wave mixing effect, sideband transfer occurs, and detection light and sideband beat frequency signals pass through the frequency discriminator.
Referring to fig. 3, fig. 3 is a flowchart of error signal determination of a method for automatic frequency locking and unlocking detection of a laser signal according to some embodiments of the present application. According to the embodiment of the invention, a noise interval in a frequency scanning interval is generated according to the frequency discrimination signal interval distribution information, and random sampling is carried out in the noise interval to obtain the environmental noise characteristics; further comprises:
s301, acquiring a frequency scanning interval, and dividing the frequency scanning interval into a signal area and a no-signal area;
s302, searching a frequency discrimination signal interval in a signal area, and searching optical interference information and noise distribution information in a signal-free area;
S303, calculating a signal to noise ratio according to the light interference information and the noise distribution information; judging whether the signal to noise ratio is larger than a preset ratio;
s304, if the error signal exists in the selected area, judging that the error signal exists in the selected area;
if the error signal is smaller than S305, it is determined that the error signal does not exist in the selected section.
It should be noted that, when an error signal exists, an error between a laser signal and an atomic transition frequency is obtained by a modulation transfer spectrometry, and a frequency discrimination curve is subjected to signal processing to optimize control parameters, so that a zero crossing point of the error signal is located at a triangular wave offset position as far as possible, and the output frequency of the laser corresponds to the transition frequency of rubidium atoms, thereby realizing a better frequency locking effect.
According to the embodiment of the invention, the frequency discrimination signal interval is scanned by the modulation signal, and the noise reduction treatment is carried out on the environmental noise by the weighted average coefficient, so as to obtain the noise reduction result, which comprises the following steps:
acquiring triangular wave parameters, taking triangular waves as modulation signals, and scanning in a section where frequency discrimination signals exist by using the triangular waves to obtain a sampling curve;
removing high-order interference by using weighted average and fast Fourier transform, and integrating a sampling curve to obtain integrated information;
Determining a zero crossing point of the frequency discrimination signal according to the integral information, and calculating the slope of the frequency discrimination signal;
the modulation parameters are optimized using a multiparameter programming approach such that the frequency discrimination signal slope is maximized and in phase with the triangular wave signal.
It should be noted that, in the fine tuning stage, the complex product is used to integrate the frequency discrimination curve, the interpolation method is used to obtain the zero crossing point, the locking point is centered as much as possible according to the curve form, and the hardware PID is used to maintain the output voltage on the rubidium atom transition frequency.
According to the embodiment of the invention, if the requirement is not met, generating correction information, and adjusting parameter information of the modulation signal according to the correction information, wherein the parameter information specifically comprises:
acquiring parameter information of a triangular wave, wherein the parameter information of the triangular wave comprises amplitude, period and sampling frequency of the triangular wave;
calculating the amplitude of the triangular wave according to the amplitude of the triangular wave, and setting the period and sampling frequency of the triangular wave to be fixed values; the main purpose is to change the bias of the triangular wave, the amplitude is used for reducing the length of a signal interval, and the period and the sampling rate are fixed values of hardware;
and (3) adjusting the amplitude of the triangular wave through the correction information to optimize the environmental noise, so as to obtain a noise optimization result.
According to the embodiment of the invention, the amplitude of the triangular wave is adjusted through the correction information to optimize the environmental noise, and after the noise optimization result is obtained, the method further comprises the following steps:
Extracting a frequency discrimination signal from the frequency discrimination signal interval distribution information and generating a frequency discrimination curve;
dividing the result of the fast Fourier transform of the frequency discrimination curve into a plurality of sections of vectors which are used for representing components with different frequencies;
taking norms of the characteristic vectors of the different frequency components to form a new characteristic vector;
and (3) obtaining a form corresponding to the frequency discrimination curve through the Euclidean space segmentation, and correspondingly adjusting the control parameters to obtain a frequency discrimination curve adjustment result.
It should be noted that, the result after the fast fourier transform is divided into multiple segments according to different frequencies, for example, a direct current (zero frequency) component indicates that a zero crossing point of a frequency discrimination signal actually has offset instead of actual zero, and if a low frequency signal has two peaks, the phase signal is extremely bad; the actual division is not completely carried out according to the same length, so that the norm of the frequency division is taken to form a new vector for judgment on the basis of the frequency division.
According to the embodiment of the invention, the principle of MTS frequency stabilization is that a modulated light beam and an unmodulated light beam are reversely incident into an absorption cell to generate a four-wave mixing effect, a saturated absorption spectrum signal is obtained, and the saturated absorption spectrum signal is demodulated after being mixed with a beat frequency signal to obtain a frequency discrimination curve, wherein the formula is as follows:
In the aboveCalculating;
in the abovePerforming calculation, wherein the value of n is { -1, -1/2, 1};
is the natural line width of spectral line->For the amount of frequency mismatch +.>For the detection phase of the pump light modulation field, FDS represents the frequency discrimination curve and G represents the correction constant.
When the output frequency of the laserWhen the laser frequency is consistent with the rubidium atom transition frequency, the zero crossing point of the frequency discrimination curve is embodied. In order to facilitate the stabilization of the error signal using the hardware circuit PID, the modulation phase thereof should be made to be +.>=0 or->At=0, interference of another term is avoided.
According to the embodiment of the invention, the result after the FFT of the frequency discrimination curve is divided into a plurality of segments, the norm of each segment of vector is taken to form a new vector, the corresponding form of the frequency discrimination curve can be obtained by dividing Euclidean space, and the control parameters are correspondingly adjusted to obtain the optimal effect.
Because the PZT has mechanical return errors, the triangular wave phase is advanced in the phase of the frequency discrimination signal, the laser frequency is stabilized at the zero point of the frequency discrimination signal by using a hardware PID, so that the laser frequency is controlled to be stabilized at the required frequency, the adjustment is performed by using a relative adjustment mode, and the control voltage of the hardware PID is calculated.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an automatic frequency locking and unlocking detection system for laser signals according to some embodiments of the present application. In a second aspect, an embodiment of the present application provides a laser signal automatic frequency locking and unlocking detection system 4, which includes: the memory 41 and the processor 42, the memory 41 includes a program of the automatic frequency locking and unlocking detection method of the laser signal, and the following steps are implemented when the program of the automatic frequency locking and unlocking detection method of the laser signal is executed by the processor:
generating a frequency scanning interval by scanning a frequency feasible interval of the laser, searching for the existence interval of the frequency discrimination signal in the frequency scanning interval, and marking the existence interval as the frequency discrimination signal interval to obtain frequency discrimination signal interval distribution information;
generating a noise interval in a frequency scanning interval according to the frequency discrimination signal interval distribution information, and randomly sampling in the noise interval to acquire environmental noise characteristics;
scanning a frequency discrimination signal interval through a modulation signal, carrying out noise reduction treatment on environmental noise through a weighted average coefficient, judging the existence of the signal through a signal-to-noise ratio, and acquiring signal characteristics; the scanning process is periodically carried out, and the read scanning signal is the control result of the previous period and is used as feedback of control parameters;
Judging whether the signal characteristics meet the requirements;
if the requirements are not met, generating correction information, and adjusting parameter information of the modulation signal according to the correction information;
if the requirement is met, the current laser output frequency is stabilized by hardware, and frequency locking information is obtained; checking the frequency locking effect, and entering hardware locking;
judging whether the frequency locking information is invalid after locking;
if the frequency locking information is invalid, the parameter information of the modulation signal is secondarily adjusted;
and if the frequency locking information is not invalid, performing periodic lock losing detection.
The method for detecting the automatic frequency locking and the unlocking of the laser signal comprises the following steps:
sweep frequency stage: scanning a feasible interval of the PZT frequency of the laser to find out an interval where a frequency discrimination signal possibly exists;
acquiring noise: randomly sampling in a section without frequency discrimination signals to obtain the mean value and standard deviation of noise in the environment;
coarse adjustment stage: and scanning in the interval where the frequency discrimination signal exists by using a triangular wave, reducing the interference of noise by using a weighted average mode, removing the interference of a higher-order term by using a fast Fourier change, and integrating a sampling curve to find the zero crossing point of the frequency discrimination signal.
And (3) optimizing: and the modulation parameters are optimized by using a multi-parameter programming mode, so that the slope of the frequency discrimination signal is maximum and is in phase with the triangular wave signal, and the hardware PID stability is facilitated.
Wherein the PID (proportional), integral, differential) controller is composed of a proportional unit P, an integral unit I and a differential unit D. The PID control is based on proportional control; integral control may eliminate steady state errors, but may increase overshoot; differential control can accelerate the response speed of a large inertial system and weaken the overshoot trend.
PZT chinese represents lead zirconate titanate piezoelectric ceramics (english name: piezoelectric ceramic transducer): wherein P is an abbreviation of Pb, Z is an abbreviation of Zr, and T is an abbreviation of Ti.
Fine tuning: gradually reducing the amplitude of the triangular wave and maintaining the centering symmetry of the frequency discrimination signal until the frequency discrimination signal exists just within the whole period of the triangular wave.
Locking: the laser frequency is stabilized at the zero point of the frequency discrimination signal using a hardware PID to control the laser frequency to stabilize at the desired frequency.
And (3) detecting loss of lock: and (3) periodically detecting the signal, judging whether the lock is lost, and repeating the steps after the lock is lost.
According to the embodiment of the invention, the frequency scanning interval is generated by scanning the frequency feasible interval of the laser, the existence interval of the frequency discrimination signal is searched in the frequency scanning interval and is recorded as the frequency discrimination signal interval, and the distribution information of the frequency discrimination signal interval is obtained, specifically:
Scanning the PZT of the laser, reversely incident the modulated light beam and the unmodulated light beam into the absorption cell, and generating a four-wave mixing effect to obtain a saturated absorption spectrum signal;
mixing the saturated absorption spectrum signal with the beat frequency signal, and demodulating to obtain a frequency discrimination curve;
and analyzing according to the frequency discrimination curve to generate a frequency discrimination signal.
Specifically, in the sweep frequency stage, the PZT of the laser is scanned, a frequency discrimination curve is acquired, the frequency discrimination signal is a signal obtained by enabling modulated light beams and unmodulated light beams to enter an absorption tank, and due to the nonlinear four-wave mixing effect, sideband transfer occurs, and detection light and sideband beat frequency signals pass through the frequency discriminator.
According to the embodiment of the invention, a noise interval in a frequency scanning interval is generated according to the frequency discrimination signal interval distribution information, and random sampling is carried out in the noise interval to obtain the environmental noise characteristics; further comprises:
acquiring a frequency scanning interval, and dividing the frequency scanning interval into a signal area and a no-signal area;
searching a frequency discrimination signal interval in a signal area, and searching light interference information and noise distribution information in a signal-free area;
calculating a signal to noise ratio according to the light interference information and the noise distribution information; judging whether the signal to noise ratio is larger than a preset ratio;
If the error signal is larger than the first threshold value, determining that an error signal exists between the selected areas;
if the error signal is less than the selected interval, the error signal is not determined to exist in the selected interval.
It should be noted that, when an error signal exists, an error between a laser signal and an atomic transition frequency is obtained by a modulation transfer spectrometry, and a frequency discrimination curve is subjected to signal processing to optimize control parameters, so that a zero crossing point of the error signal is located at a triangular wave offset position as far as possible, and the output frequency of the laser corresponds to the transition frequency of rubidium atoms, thereby realizing a better frequency locking effect.
According to the embodiment of the invention, the frequency discrimination signal interval is scanned by the modulation signal, and the noise reduction treatment is carried out on the environmental noise by the weighted average coefficient, so as to obtain the noise reduction result, which comprises the following steps:
acquiring triangular wave parameters, taking triangular waves as modulation signals, and scanning in a section where frequency discrimination signals exist by using the triangular waves to obtain a sampling curve;
removing high-order interference by using weighted average and fast Fourier transform, and integrating a sampling curve to obtain integrated information;
determining a zero crossing point of the frequency discrimination signal according to the integral information, and calculating the slope of the frequency discrimination signal;
The modulation parameters are optimized using a multiparameter programming approach such that the frequency discrimination signal slope is maximized and in phase with the triangular wave signal.
It should be noted that, in the fine tuning stage, the complex product is used to integrate the frequency discrimination curve, the interpolation method is used to obtain the zero crossing point, the locking point is centered as much as possible according to the curve form, and the hardware PID is used to maintain the output voltage on the rubidium atom transition frequency.
According to the embodiment of the invention, if the requirement is not met, generating correction information, and adjusting parameter information of the modulation signal according to the correction information, wherein the parameter information specifically comprises:
acquiring parameter information of a triangular wave, wherein the parameter information of the triangular wave comprises amplitude, period and sampling frequency of the triangular wave;
calculating the amplitude of the triangular wave according to the amplitude of the triangular wave, and setting the period and sampling frequency of the triangular wave to be fixed values; the main purpose is to change the bias of the triangular wave, the amplitude is used for reducing the length of a signal interval, and the period and the sampling rate are fixed values of hardware;
and (3) adjusting the amplitude of the triangular wave through the correction information to optimize the environmental noise, so as to obtain a noise optimization result.
According to the embodiment of the invention, the amplitude of the triangular wave is adjusted through the correction information to optimize the environmental noise, and after the noise optimization result is obtained, the method further comprises the following steps:
Extracting a frequency discrimination signal from the frequency discrimination signal interval distribution information and generating a frequency discrimination curve;
dividing the result of the fast Fourier transform of the frequency discrimination curve into a plurality of sections of vectors which are used for representing components with different frequencies;
taking norms of the characteristic vectors of the different frequency components to form a new characteristic vector;
and (3) obtaining a form corresponding to the frequency discrimination curve through the Euclidean space segmentation, and correspondingly adjusting the control parameters to obtain a frequency discrimination curve adjustment result.
It should be noted that, the result after the fast fourier transform is divided into multiple segments according to different frequencies, for example, a direct current (zero frequency) component indicates that a zero crossing point of a frequency discrimination signal actually has offset instead of actual zero, and if a low frequency signal has two peaks, the phase signal is extremely bad; the actual division is not completely carried out according to the same length, so that the norm of the frequency division is taken to form a new vector for judgment on the basis of the frequency division.
According to the embodiment of the invention, the principle of MTS frequency stabilization is that a modulated light beam and an unmodulated light beam are reversely incident into an absorption cell to generate a four-wave mixing effect, a saturated absorption spectrum signal is obtained, and the saturated absorption spectrum signal is demodulated after being mixed with a beat frequency signal to obtain a frequency discrimination curve, wherein the formula is as follows:
In the aboveCalculating;
in the abovePerforming calculation, wherein the value of n is { -1, -1/2, 1};
is the natural line width of spectral line->For the amount of frequency mismatch +.>For the detection phase of the pump light modulation field, FDS represents the frequency discrimination curve and G represents the correction constant.
When the output frequency of the laserWhen the laser frequency is consistent with the rubidium atom transition frequency, the zero crossing point of the frequency discrimination curve is embodied. In order to facilitate the stabilization of the error signal using the hardware circuit PID, the modulation phase thereof should be made to be +.>=0 or->At=0, interference of another term is avoided.
According to the embodiment of the invention, the result after the FFT of the frequency discrimination curve is divided into a plurality of segments, the norm of each segment of vector is taken to form a new vector, the corresponding form of the frequency discrimination curve can be obtained by dividing Euclidean space, and the control parameters are correspondingly adjusted to obtain the optimal effect.
Because the PZT has mechanical return errors, the triangular wave phase is advanced in the phase of the frequency discrimination signal, the laser frequency is stabilized at the zero point of the frequency discrimination signal by using a hardware PID, so that the laser frequency is controlled to be stabilized at the required frequency, the adjustment is performed by using a relative adjustment mode, and the control voltage of the hardware PID is calculated.
In a third aspect, an embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium includes a laser signal automatic frequency locking and unlocking detection method program, where when the laser signal automatic frequency locking and unlocking detection method program is executed by a processor, the foregoing steps of the laser signal automatic frequency locking and unlocking detection method are implemented.
As can be seen from the above, according to the method, system and medium for automatic frequency locking and unlocking detection of laser signals provided by the embodiments of the present application, a frequency scanning interval is generated by scanning a frequency feasible interval of a laser, and a frequency scanning interval is searched for a frequency discrimination signal existence interval, and the frequency discrimination signal existence interval is recorded as a frequency discrimination signal interval, so as to obtain frequency discrimination signal interval distribution information; generating a noise interval in a frequency scanning interval according to the frequency discrimination signal interval distribution information, and randomly sampling in the noise interval to acquire environmental noise characteristics; scanning the frequency discrimination signal interval through a modulation signal, and carrying out noise reduction treatment on environmental noise through a weighted average coefficient to obtain a noise reduction result; acquiring the frequency of a laser corresponding to the zero point of the frequency discrimination signal, and locking the frequency of the laser; setting a detection time node, and performing periodic detection on the frequency discrimination signal through the detection time node to obtain frequency locking information; and performing periodic lock loss detection; the output frequency of the laser is precisely controlled at a set frequency.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of units is only one logical function division, and there may be other divisions in actual implementation, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.