TECHNICAL FIELD
The invention belongs to the field of precise positioning and pointing, and specifically relates to the pointing error correction of a biaxial rotation system, including error collection, modeling and correction of distribution error using spherical cap function.
TECHNICAL BACKGROUND
The “biaxial rotation system” has many applications in practical engineering, such as the azimuth rotation axis and height rotation axis of the plane-type optical (radio) telescope and the photoelectric theodolite. Due to machining accuracy, assembly error and other reasons, there will always be a certain difference between the direction reading of the biaxial rotation system and the ideal position, which is called the direction error. Pointing error has a great influence on the performance of the biaxial rotation system: for the telescope, it shows that the observed object is not in the center of the field of view or out of the field of view, which affects the observation effect. For theodolite, pointing error affects the accuracy of angle measurement and ranging. On the numerical control five-axis machine tool, the pointing error of double swing milling head directly affects the shape accuracy of workpiece processing.
By measuring the pointing error of the twin-axis rotation system in all directions, establishing the pointing error model, and using the error model in the control system to modify, the pointing accuracy will be significantly improved. In the aspect of pointing error acquisition and correction control, there are relatively perfect solutions, but pointing error model still needs to be studied. First, the pointing model is a mathematical expression of the distribution of pointing errors on the spherical crown to realize the following functions:
- (1) Interpolation of data: the number of points with specific error measurement is very limited. In practical application, it is often necessary to obtain the pointing error between measurement points without measured values. In this case, a continuous mathematical model with errors is needed to obtain the error value of the position without measured data inside through interpolation.
- (2) compression of data: table is used to record the position and value of all error measurements. This table method has a large amount of data, and there is no uniform expression for the number and distribution of test data, which is extremely inconvenient to use.
The requirement of pointing error model is to provide higher fitting accuracy. The current pointing model is still insufficient in the above aspects:
- (1) Spherical harmonic function model: spherical harmonic function is a complete set of orthogonal functions on the whole sphere. As the orientation range of the biaxial rotation system only covers a part of the sphere (spherical crown), the normal equation conditions used in fitting model parameters are very large, with poor stability and easy to be affected by measurement noise.
- (2) Basic parameter model: compared with the spherical harmonic function model, the calculation is relatively stable, but the form of the model needs to be determined according to the frame form of the telescope, and fewer parameters are considered, which will affect the accuracy of correction;
- (3) Rack model: it is an extension of the basic parameter model, with high accuracy. The disadvantage is that it is not as stable as the basic parameter model.
SUMMARY OF THE INVENTION
In order to solve the problem of the above model, the present invention provides a correction method for the pointing error of the biaxial rotation system based on the spherical cap function. The specific technical scheme is as follows:
Method for correcting the pointing error of a biaxial rotation system based on the spherical cap function, comprising:
Error collection: selecting stars or radio distributed evenly in a star catalogue for tracking and observation to obtain the theoretical position and measurement position of the stars, and subtracting the measurement positions and the theoretical positions to obtain the error distribution; for the small twin-axis rotating system such as double swing milling head, the error distribution on the spherical cap is measured by laser tracker;
Error model fitting: selecting a suitable orthogonal spherical cap function for the obtained error distribution and performing fitting to calculate an error fitting coefficient; the orthogonal spherical cap function model comprising a hemispheric harmonic function HSH, a Zernike spherical cap function ZSF and a longitudinal spherical cap function LSF;
Error control and compensation: putting the error model and the related fitting coefficient into a pointing control system for compensation.
Further, the method specifically includes the following steps:
- S1, Error collecting;
- S2, Determining the maximum zenith angle and the fitting function;
The maximum zenith angle was determined, and the error obtained in step S1 was fitted using the orthogonal spherical cap function model to calculate the error fitting coefficient
- S3, Calculating the error fitting and the fitting coefficient was obtained;
- S4, Obtaining the pointing error model;
- S5, Putting it into the control system for error correction.
Further, step S1 includes:
- S1-1, Selecting theoretical value
Spherical crown is divided into s bins (optimizing evenly divided), measured in each bin, Zenith direction Band azimuth direction ϕ and the radial direction of the theoretical value r can be got.
- S1-2, The experimental equipment is used for testing and the measured value is obtained;
- S1-3, The theoretical and experimental values are subtracted to obtain the pointing error.
Further, step S2 includes:
- S2-1, Selecting the ith orthogonal spherical cap function model function;
- S2-2, Determining the corresponding angle to the jth direction (1≤j≤s);
- S2-3, Calculating the ith function value hij to form the fitting matrix.
Further, step S2 includes:
- (1) Hemispheric harmonic function:
Among
HSH is a complete set of orthogonal functions on a hemispheric plane;
- (2) Zernike Spherical cap function ZSF:
Among
is a complete set of orthogonal functions on the spherical cap, θ0 is the maximum Zenith angle of the spherical crown (0<θ0<π);
- (3) Longitudinal spherical cap function LSF:
Among,
LSF is a complete set of orthogonal functions on a spherical crown with a maximum Zenith angle θ0.
Further, step S2 includes: selection of maximum Zenith angle θ0: the maximum range of use for the height axis in a two-axis rotation system should be selected. When θ0 less than 90 degrees, the fitting function can choose the hemispheric harmonic function, or Zernike spherical cap function ZSF, or longitudinal spherical cap function LSF.
Further, the step S3 includes obtaining a coefficient in the direction of the Zenith angle θ, a coefficient in the direction of the Azimuth angle ϕ, and a coefficient in the radial r direction.
Further, the said step S4 includes obtaining the error model of Angle theta direction, obtaining the error model of Azimuth angle ϕ direction, and obtaining the error model of radial r direction.
Further, step S5 includes:
- S5-1, Getting pointing command;
- S5-2, Substituting the pointing command into the pointing error model of Zenith angle to obtain the pointing error of Zenith angle;
- S5-3, Fixing zenith pointing command;
- S5-4, Putting the modified command into the control system for execution.
The present invention has the following beneficial effects:
The model stability is strong and less susceptible to the effects of measurement noise adopting the method of the invention. There is no need to determine the form of the model according to the telescope rack form, and the correction accuracy is high.
DESCRIPTION OF THE FIGURES
FIG. 1 is the control flow chart of the method of the invention;
FIG. 2 is a schematic diagram of the correction model of spherical cap function;
FIG. 3 is a schematic diagram of the orthogonal biaxial rotation system;
FIG. 4 is the schematic diagram of correction of pointing through pointing error model.
DETAILED DESCRIPTION
The following is a further detailed description of the invention in combination with the attached drawings.
The method of the invention is applicable in two situations:
- (1) If the area covered by the error model is smaller than the hemisphere, HSH, ZSF and LSF can be used.
- (2) If the error model covers more than one hemisphere, both ZSF and LSF can be used, and the maximum Zenith angle θ0 can be determined according to the distribution of error data.
For convenience, the following discussion takes HSH as an example (ZSF and LSF are used in the same way as HSH)
The method and steps of the invention are shown in FIG. 1, including:
- Step 1: error collection
- Step 1-1 Selecting the theoretical value
Spherical crown is divided into s bins (optimizing evenly divided), measured in each bin, Zenith direction Band azimuth direction ϕ and the radial direction of the theoretical value rcan be got:
- Step 1-2 Testing with the experimental equipment to obtain the measured value
- Step 1-3 Subtracting the theoretical value from the experimental value to obtain the pointing error:
- Step 2: error model fitting
The error distribution obtained above is selected to fit the orthogonal spherical cap function model, and the error fitting coefficient was calculated. The orthogonal spherical cap function model includes HSH (Hemi-Spherical Harmonics), ZSF (Zernike Spherical Function) and LSF (Longitudinal Spherical Function).
- (1) the analytical expression formula of HSH is as follows:
Among, Pn|m| is the Associated Legendre Polynomial (Associated Legendre Polynomials) Here are the expressions:
HSH is a complete set of orthogonal functions on a hemispheric plane.
- (2) The analytic expression of Zernike spherical cap function ZSF:
Among, t=sin(θ/2)/sin(θ0/2). Rnm(t) is the Zernike polynomial, here is the expression:
ZSF is a complete set of orthogonal functions on a spherical crown with a maximum Zenith angle θ0.
- (3) Longitudinal spherical cap function LSF:
Among,
LSF is a complete set of orthogonal functions on a spherical crown with a maximum Zenith angle θ0.
Selection of maximum Zenith angle θ0: the maximum range of use for the height axis in a two-axis rotation system should be selected. When θ0 less than 90 degrees, the fitting function can choose the hemispheric harmonic function, or Zernike spherical cap function ZSF, or longitudinal spherical cap function LSF.
- S2-1, Selecting the ith HSH: HSHi (1≤i≤N);
- S2-2, Determining the corresponding angle (θj, ˜j) to the jth direction (1≤j≤s);
- S2-3, Calculating the function valuehij to the jth direction to form fitting matrix H.
- Step 3: Calculating the coefficients in the fitting model
- Step 3-1 Calculating the coefficient of Zenith angle θ
{right arrow over (A)}=[a1 a1 . . . aN]T=(HTH)−1HT(dΘ)
- Step 3-2 Calculating the coefficient of azimuth angle ϕ
{right arrow over (B)}=[b1 b2 . . . bN]T=(HTH)−1HT(dΦ)
- Step 3-3 Calculating the coefficient of radial direction r
{right arrow over (C)}=[c1 c2 . . . cN]T=(HTH)−1HT(dR)
- Step 4: Obtaining the pointing error model
- Step 4-1 The error model to direction θ of Zenith angle is as follows:
- Step 4-2 The error model to direction ϕ of Azimuth angle is as follows:
- Step 4-3 The error model to radical direction r is as follows:
- Step 5: Error correction by putting in the pointing control system, as shown in FIG. 2-3.
Taking Zenith angle θ as an example, correction is made through pointing error model.
- Step 5-1 Getting pointing command (θm, φm);
- Step 5-2 The pointing command is substituted into the pointing error model of Zenith angle, and the pointing error of Zenith angle is calculated:
- Step 5-3 Fixed zenith pointing command:
{circumflex over (θ)}m=θm−eθ
- Step 5-4 Put the modified command into the control system for execution. See FIG. 5 for the specific block diagram.
- Step 6: Put in the pointing control system for error correction
The azimuth flow is the same.
The correction of radial r is more complicated than Azimuth angle and Zenith angle, so it cannot be directly corrected. In five-axis numerical control equipment, its correction should be compensated by linear motion in three directions (X, Y, Z), and the formula is as follows:
Then put in the control system of X, Y and Z for correction;
As mentioned above is only a relatively good embodiment of the invention and is not used to restrict the invention. Any modification, equivalent replacement and improvement etc. made within the spirit and principles of the invention shall be included in the protection scope of the invention.