The alignment system of a high power laser facility is used for deviation adjustment of beams. For an already running facility, the error caused by the vibrations will be magnified through beam transmitting and lead to beam deviation[
Collection Of theses on high power laser and plasma physics, Volume. 12, Issue 1, 16(2014)
Application of image processing based on multiple filters in an alignment system
Beam alignment depends on CCD real-time image analysis and processing. In order to improve the quality of the alignment, multiple filters are used in far-field and near-field image processings. These multiple filters are constituted of an average filter and a median filter in different connection sequences, so that they can deal with different kinds of noise. To reduce the effect of the unknown nonlinear relationship between motor running steps and deviation pixels, a feasible methodology is offered to improve this phenomenon and a fuzzy algorithm is applied to the motor feedback control process. Because of the fuzzy control it is not necessary to establish an accurate mathematical model, so the impact of the nonlinear relationship will be reduced.
1. Introduction
The alignment system of a high power laser facility is used for deviation adjustment of beams. For an already running facility, the error caused by the vibrations will be magnified through beam transmitting and lead to beam deviation[
In this paper, an improved multiple filter method for image denoising is proposed to replace traditional single filter methods. These multiple filters are constituted of an average filter and a median filter in different connection sequences, so that all advantages of both filters can be combined. Then, an adaptive step feedback adjustment mechanism is built to improve the alignment quality and processing time.
2. Multiple filter denoising
For the average filter algorithm, also called the neighborhood linear average method, the basic idea is use the average gray value of several neighboring pixels instead of the gray value of each pixel. The neighborhood is usually constituted of four or eight pixels that are around one pixel, as shown in Figure
Figure 1.The neighborhood of an average filter; the point ‘’ is the selected pixel. (a) The neighborhood is constituted of four pixels; this is the simplest mode. (b) The neighborhood is constituted of eight pixels; the precision will be better than with four pixels.
For a given image, we can use a two-dimensional function to describe all pixels of this image. For a pixel point
, supposing that the neighborhood is
(
is even), the output of the average filter
is calculated by
The basic idea of a median filter is to sort all gray values of each pixel in one neighborhood first, and then to use the middle position gray value instead of the gray value of the center pixel of the neighborhood. The neighborhood is usually constituted of nine or 25 pixels that are around one pixel, as shown in Figure
Figure 2.The neighborhood of a median filter; the center point is the selected pixel. (a) The neighborhood is constituted of nine pixels; this is the most commonly used mode. (b) The neighborhood is constituted of 25 pixels; the precision will be better than for the mode with nine pixels but requires more processing time.
For a given image, a two-dimensional function can describe all pixels. For a pixel point
, supposing that the neighborhood is
(
is odd), so that there are
gray values
in this neighborhood, the value in the middle position will output as the selected pixel gray value after sorting, so the output of the median filter
can be expressed by
In order to combine the advantages of these filters, multiple filters are built to perform the image processing; these multiple filters are constituted of an average filter and a median filter in different connection sequencess. According to the sequence of connection, there are two types of multiple filter, the median–linear filter and the linear–median filter.
For the median–linear filter, referred to as ML, the output is calculated by
For the linear–median filter, referred to as LM, the output is calculated by
For the median–linear filter, median filtering will be performed first. This procedure can remove the salt and pepper noise without losing image data. It also has the ability to weaken the effect of Gaussian noise. Then the average filter is used to filter most of Gaussian noise. Since the median filtering has the ability to distinguish the edge, the boundary of the spot image and the noise will have a significantly improved result. Under these circumstances, if the spot area of the image is large enough and the gray values of the spot and the noise have an obvious difference, then the effect of blurring that is produced by the median filter can be ignored.
If the noise is in the form of isolated points appearing in the image and rarely affects multiple pixels, and the gray values of the spot and the noise are closer, then the linear–median filter will be better.
Figure 3.Original images of the near and far fields. (a), (b) Near-field images. (c), (d) Far-field images.
Figure 4.Images of threshold processing without a filter. (a), (b) Near-field images. (c), (d) Far-field images.
After the performance of image denoising, the threshold gravity method[,
is the gray value of one pixel and the gray threshold value is set as
, then the threshold procedure can be expressed as
When the center of gravity method is used to calculate centrality, a binarized matrix is actually calculated to obtain the center coordinates , as follows:
The original beam images that are captured by digital CCDs are shown in Figure
If we directly perform threshold processing on these images without denoising, the results are shown in Figure
For the near-field images, using the median–linear filter to denoise first and then performing the threshold processing, the detailed procedure is as follows:
The results of processing the image are shown in Figure
The detailed procedure for the far field is similar to the above steps; the only difference is that the average filtering is performed first, and then the median filter is used to remove salt and pepper noise as well as to restore the clarity of the images. The results are shown in Figure
Figure 5.Near-field images after multiple filters. (a), (e) The original images captured by near-field CCD. (b), (f) After use of a median–linear filter with 25 pixels. (c), (g) After use of an average filter with eight pixels. (d), (h) The images after threshold processing has been performed.
Figure 6.Far-field images after multiple filters. (a), (e) The original images captured by far-field CCD. (b), (f) After use of an average filter with eight pixels. (c), (g) After use of a median–linear filter with 25 pixels. (d), (h) The images after threshold processing has been performed.
3. Motor feedback control
The processed image captured by digital CCD is used to calculate the deviation, and the feedback control is used to align the beam path, which is accomplished by converting the deviation into motor rotation steps. The image center calculation and motor rotation are key factors, which directly affect the reflector adjustment. To finish the alignment in the shortest time, parallel alignment is conducted in the multi-path laser system. Therefore, the speed of image processing for a single path determines the alignment efficiency of the whole system[
Figure 7.The results of the iteration method without a filter.
Figure 8.The result of the adaptive variable step method with filter denoising.
Ideally, the motor rotation step number is a fixed value corresponding to a pixel, according to the step number; it is only necessary to align once to adjust the beam center back to the reference position. However, as it is affected by interference factors, the relation between the pixel and the motor rotation step number is nonlinear in real time. The alignment feedback adjustment procedure adopts multiple iterations to adjust the beam path until the deviation of the beam center position is acceptable. The number of iterations is a random function of the pixel and the motor step number, which theoretically depends on the goodness of the fit between the random function and the nonlinear relationship. Therefore, the adjustment time fluctuates violently.
In order to eliminate the influence of the nonlinear relation between the pixel and the motor rotation step number, and moreover to reduce the number of iterations of mirror adjustment, we introduce a fuzzy control algorithm to rapidly align the beam with the specified center. The fuzzy control algorithm can realize universal approximation performance of the unknown control structure and obtain an adaptive variable related to the pixel and motor rotation step number. In other words, the real-time adaptive variable step control is determined by the actual deviation distance, which is determined by a fuzzy decision in accordance with the fuzzy rule. This ensures the fast and accurate automatic alignment, and enhances the robustness of the system [
First, fuzzy linguistic rules are used to change the experience and knowledge of the facility into fuzzy control rules. Because this process does not depend on an accurate mathematical model of the controlled object, we can ignore the effect of non-linear quantitative distance adjustment when the deviation is large. The real-time adaptive variable step will reduce when the spot center approaches the reference position; when it is close to the reference position, the adaptive variable step will become small. The adaptive variable step value is determined by the specific evaluation function and is quantified by fuzzy rules.
The fuzzy control uses a two-dimensional fuzzy controller. The deviation and the deviation change
are inputs, their corresponding linguistic variables are set as
and
, the output is the control quantity
and the corresponding linguistic variable is set as
.
The linguistic variable value set of and
can be expressed as
The linguistic variable value set of can be expressed as
The corresponding meanings are negative-big/negative-medium/negative-small/negative-zero/positive-zero/positive-small/positive-medium/positive-big.
The fuzzy rule of and
is
The conditional statement of the fuzzy control rules is
The ,
, and
respectively belong to deviation set
, deviation change
, and control quantity set
. Equation (
|
When the alignment is begun, CCDs will capture beam images for processing to obtain the deviation and the amount of deviation change
. Then, according to Equations (
and
; thus, the output of the control quantity
can be obtained from Equation (
determines the variable step size and number of rotation steps. The above procedures should be repeated until the center of the beam reaches the specified location.
4. Experimental results
In order to verify the validity of the image processing and fuzzy control in this paper, the following experiment is conducted. A small simulation platform is built in accordance with the SG II ninth beam path, which is driven by a motor to move 14 reflectors. The platform is monitored by seven sets of optical imaging systems composed of CCDs and optical lenses. In the experiment, the reflectors in a path are moved by some random steps to deflect the beam center. Then, the beam path is adjusted to make the beam center return to the reference position. The experiment is repeated 100 times, and the corresponding alignment times are recorded to be plotted as shown in Figures
Figure
In these 100 experiments, the fastest image processing time is 9 s (in SF1 far-field CCD) and the slowest image processing time is 57 s (in SF7 near-field CCD); the main processing time distribution is 27–46 s. The far-field image processing time is faster than the near-field image processing time. Because the image is processed three times, the time cost is increased, but the fuzzy control can effectively reduce the amount of iteration adjustment and save time. By using the fuzzy control, the adjustment can be finished in 3–5 steps and the accuracy is up to 1 pixel; the old scheme needs 6–10 adjustment steps and the accuracy is only up to
1 pixel.
5. Conclusion
This method provides improved image processing of a laser alignment system based on mean filtering and median filtering, which is combined with the operating characteristics of a large amount of Gaussian noise and impulse noise in the imaging process of the laser alignment system. The correction speed of the path center and the computational accuracy are improved by different hybrid filters in accordance with the near- and far-field spot features. In addition, an adaptive step feedback adjustment mechanism based on a fuzzy algorithm is built to lower the impact of the nonlinear random relation between the unit pixel and motor adjustment steps. It improves the fast automatic alignment capability and the robustness of the system.
[2] Mendoza D. R.[M]. International Congress on Instrumentation in Aerospace Simulation Facilities(1997).
[4] Bose T.[M]. Digital Signal and Image Processing(2003).
[5] Gupta V., Shandilya M.[M]. International Conference on Engineering(2012).
[7] Liu L., Kuang G. Y.[J]. J. Image Grap., 14, 622(2009).
[8] Lv F. N., Liu D. Z., Xu R. F., Cao J. Z., Fan D. Y.[J]. Opt. Technol., 31, 335(2005).
[11] Kovacic Z., Bogdan S.[M]. Fuzzy Controller Design Theory and Applications Y. Hu, L. Zhang, Y. Liu, and Y. Chen (trans.)(2010).
Get Citation
Copy Citation Text
Peiying Zeng, Baoqiang Zhu, De’an Liu, Jianqiang Zhu. Application of image processing based on multiple filters in an alignment system[J]. Collection Of theses on high power laser and plasma physics, 2014, 12(1): 16
Category:
Received: Apr. 15, 2014
Accepted: --
Published Online: Jun. 2, 2017
The Author Email: