Summary of the invention
The technical problem to be solved by the present invention is variety classes laser or even same type laser different model
Micro-structure difference can all cause the difference of laser output frequency, power characteristic under identical working environment, in addition work as laser
Device works in different temperatures difference electric current, and output laser frequency, power can also change, and the present invention uses heredity first
Algorithm has carried out real-time modeling to laser, and obtains odd harmonic using the highest saturated absorption frequency stabilization method of precision frequency stabilization
After error signal, pid control parameter optimization is carried out using genetic planning, realizes adaptive frequency stabilization control.
The present invention solves the technical solution that above-mentioned technical problem uses are as follows: a kind of Distributed Feedback Laser based on current control is steady
Frequency method, this method carries out wavelength-electric current to laser in real time using genetic programming algorithm and models, accurate using model built
Setting laser frequency stabilization environment dc point, including current value, temperature value;Use the background of doppler saturated absorption light that disappears
Saturation-absorption spectrum signal is switched to odd harmonic error signal by road and phase sensitive detection principle;Use genetic algorithm optimization PID
Control parameter is realized and controls optimization under various lasers different operating environment, fastly quasi- frequency locking.
Specific frequency-stabilizing method is as follows:
Step 1: carrying out wavelength-current relationship to Distributed Feedback Laser used in frequency stabilization using genetic programming algorithm first and model,
The DC operation environment to steady Frequency point is determined using the model, is tested based on saturated absorption frequency stabilization, therefore selected Frequency point is
Frequency values at saturated absorption peak;
Step 2: adjustment Distributed Feedback Laser current controller, temperature controller make it export the obtained electric current of step 1
Value, temperature value, superposition swept-frequency signal are obtained saturation-absorption spectrum signal, store and led to using microprocessor and host computer
Letter, shows saturation-absorption spectrum signal in matlab;
Step 3: the saturation-absorption spectrum signal obtained to step 2 is modulated, and using phase sensitive detection principle, passes through lock
Phase amplification module and filter module export odd harmonic error signal, store the signal, and using microprocessor and host computer into
Row communication, shows once differentiation error signal in matlab;
Step 4: the error signal that step 3 obtains optimizes PID control using genetic programming algorithm in matlab
Device parameter is designed fitness function using overshoot, adjustment time, rise time as majorized function, P, I ginseng after optimization
Number, which is sent back to, realizes Digital PID Controller in microprocessor, control signal is output to Injection Current end by DAC, realizes closed loop
Frequency control, compares conventional PID control device, has more adaptivity.
The advantages of the present invention over the prior art are that: the advantages of the present invention over the prior art are that:
(1) present invention can not only reduce frequency locking using genetic planning intelligent algorithm to wavelength-current relationship Accurate Model
Process frequency range of search, and Frequency point is accurately picked up using current value after losing lock, it is steady to overcome saturated absorption method
Frequency frequency locking difficult problem.
(2) present invention realizes adaptive frequency stability contorting using Genetic Algorithm for PID Parameter Optimization.
Specific embodiment
With reference to the accompanying drawing and specific embodiment further illustrates the present invention.
As shown in figure 5, mainly including four modules the present invention is based on wavelength-current model frequency-stabilizing method, heredity is used
Algorithm models wavelength-electric current, obtains saturation-absorption spectrum signal based on saturated absorption frequency stabilization principle, is based on phase sensitive detection
Principle obtains once differentiation error signal, is optimized using genetic algorithm to pid control parameter, realizes self adaptive control.It ties below
Attached drawing is closed to illustrate frequency-stabilizing method of the invention.
Since laser works condition is different, even small architectural difference can all cause model error, and heredity is calculated
Method is that one kind does not need any priori knowledge, and the adaptive calculation of accurate model just can be obtained in the data measured by actual experiment
Method.Modeling procedure is carried out with genetic planning for what the present invention illustrated as shown in Figure 1, it is first determined uses institute during genetic planning
The termination set that needs, collection of functions, in order to keep model built accurate, present invention combination semiconductor laser is theoretical, and formula 1 is shown
Semiconductor laser carrier's rate equation is positively correlated due to obtaining laser output power during the experiment with frequency,
Final wavelength-current model is as shown in formula 2 after optimization, from the model it is found that Distributed Feedback Laser output frequency is not only by electric current shadow
It rings, and temperature is to directly affecting, therefore more acurrate using genetic programming algorithm model built.The present invention sets termination set
T={ λ, I, T, m } (m is constant), collection of functions be+,-, * ,/, ln, exp,, fitness is set according to the least square thought
Function.Set genetic algebra, population quantity, the parameters such as duplication, intersection, mutation probability.Finally obtain accurate wavelength-current-mode
Type.
Wherein, P is laser output power, ηdFor quantum efficiency,M is constant, and I, T are that laser instantaneously works electricity
Stream, temperature value, IthFor threshold current, I0, T0For the corresponding operating current of threshold current, operating temperature value, λ is wavelength value.
During frequency stabilization, temperature is the constant in a certain range, therefore set temperature value is fixed value a, will be to frequency stabilization
In model obtained by rate point (atomic gas saturated absorption peak) is updated to, current value is obtained.Adjust current controller, temperature control
Device, using the electric current, temperature as the DC quantity of frequency stabilization environment.
It is illustrated in figure 2 saturated absorption frequency stabilization optical path, including DFB1,1/2 λ wave plate 2, the first PBS 3, ISO 4, second
PBS 5,6,1/4 λ wave plate 7 of photodetector, bubble 8 and plane mirror 9;For the interference for the background of doppler that disappears, saturated absorption
Spectrum is obtained by difference photodetector, mainly includes that laser is arranged by above-mentioned operating condition, injects endlap to electric current
Triangular wave swept frequency signal is added to obtain saturation-absorption spectrum signal.
It is illustrated in figure 3 based on current control servo module, mainly includes that module, triangular signal occur for sine wave signal
Module, locking phase amplification module, pid control module occurs.Module occurs for sine wave signal, triangular wave generator module is all made of micro- place
It manages device control and realizes that locking phase amplification module is realized using program, actual functional capability is multiplier and filter, and ADC acquires photoelectricity
The saturation-absorption spectrum signal of detector output simultaneously stores in memory, by the modulated saturation-absorption spectrum signal and together
Frequency is multiplied with the sine wave signal of phase, and after digital filtering algorithm, high-frequency signal is filtered out, and obtained signal is first harmonic
Error signal.
Laser output wavelength-current model changes when laser difference or when working environment changes,
It is laser frequency is fast and quasi- lock to steady Frequency point, is needing to be directed in order to realize optimum control for different situations
Different models adjust laser pid parameter, therefore invention introduces the Adaptive PID Controls based on genetic algorithm.It is specific: from
Dissipate PID controller expression formula:
Wherein, U (k) is to export controlling value, k at the k momentp, ki, kdFor ratio, integral, differential coefficient, e (k) and e (k-1) is
The error amount at current time and last moment.
In order to use genetic algorithm optimization dynamic performance index, overshoot, rise time, regulating time summation are selected
Expression formula is the objective function in genetic algorithm:
Wherein σm, trm, tsmRespectively overshoot, adjustment time, the maximum value of rise time.J is target function value.
Adaptive response function:
Fit=1/J (5)
Wherein a1、a2、a3For weight, usually according to size between actual conditions distribution three, but need to meet a1+a2+
a3=1.Priority control parameter of the present invention is ratio and integral, and weights assigned is mainly a1、a2。
Controlled device in the present invention is laser injected value of current, and wherein e (k) value is every time sampling differential error signal
Obtained value.Wavelength-current model according to obtained by being used above genetic planning determines pid control parameter range, then at this
Stochastic production parameter population in range.According to natural selections principles such as selection cross and variations in genetic algorithm, reach optimization P,
I, D control parameter effect realizes Optimal Control.
Fig. 4 show entire frequency stabilization system flow chart, and collected laser diode current, temperature, frequency, power data are existed
It is modeled in genetic planning program, obtains accurate wavelength-current model, calculated by Matlab to steady Frequency point work electricity
Stream and temperature value, which is input in microprocessor by serial mode and controls laser diode current controller, temperature
It spends controller and exports corresponding current value, temperature value.It controls triangular wave swept frequency signal and exports saturation-absorption spectrum signal, by locking phase
Once differentiation error signal is obtained after amplification module modulation /demodulation, signal ADC is acquired and is stored in a manner of array, simultaneously
Once differentiation error signal is sent to host computer using microprocessor serial ports, is shown in Matlab, and by being lost in Matlab
Propagation algorithm carries out pid parameter optimization, and final P, I parameter optimization result is sent back in microprocessor, and Digital PID Controller believes control
Number pass through DAC export return current injection end, realize laser frequency locking.
Fig. 5 show the structural block diagram that frequency stabilization is realized based on wavelength-electric current modeling, as seen from Figure 5 entire frequency stabilization
The key modules of journey, including genetic planning is to current-wavelength modeling module, saturated absorption method light path module, path length control module,
And Optimization about control parameter module is carried out using genetic algorithm.