A method for optimizing the processing of turbine axis detection data based on ant colony algorithm

By applying the ant colony algorithm and the least squares support vector machine regression algorithm in the turbine axis detection, an error minimum optimization model is established, which solves the problems of heavy manual data processing and inconsistent accuracy in the turbine axis detection, and realizes the automation and intelligence of the axis detection. ization, improving detection accuracy and speed.

CN113076524BActive Publication Date: 2024-09-06HUNAN WULING POWER ENG +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110266878.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-11
Publication Date
2024-09-06
Estimated Expiration
2041-03-11

AI Technical Summary

Technical Problem

The existing hydraulic turbine axis detection technology has problems such as heavy manual reading and processing of data, inconsistent data accuracy, and unsatisfactory adjustment results. Moreover, the traditional 8-point detection method is difficult to achieve accurate and rapid axis adjustment.

Method used

The turbine axis detection data optimization processing method based on the ant colony algorithm is adopted, data is collected through multiple axis displacement sensors, a microprocessor and an analog-to-digital conversion module are used for data fitting processing, and the ant colony optimization least squares support vector machine regression algorithm is applied Establish an error minimum optimization model and obtain the optimal swing characteristic curve by fitting.

Benefits of technology

It realizes the automatic collection and processing of turbine axis detection data, breaks through the data collection and processing mode of traditional detection methods, improves detection accuracy and adjustment speed, reduces manual operations, and realizes the automation and intelligence of axis detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113076524B
    Figure CN113076524B
Patent Text Reader

Abstract

The present invention discloses a method for optimizing and processing turbine axis detection data based on ant colony algorithm, comprising: the turbine axis automatic detection system collects axis data through multiple axis displacement sensors; transmits to a microprocessor through a preset communication interface through an analog-to-digital conversion module; the microprocessor performs fitting processing on the axis data, and applies an ant colony optimization least squares support vector machine regression algorithm to establish an error minimum optimization model; based on the error minimum optimization model, the optimal swing characteristic curve is fitted. This method combines advanced embedded microprocessor technology with an ant colony algorithm for efficient data optimization processing, and can be applied to various occasions such as turbine installation, overhaul and maintenance, and axis adjustment. It is equipped with a communication interface and can be easily connected to various networks and information systems. It is highly automated, intelligent, and networked, and has a wide range of practicality and great engineering application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of water turbine generator monitoring, and in particular to a water turbine axis detection data optimization processing method based on ant colony algorithm. Background Art

[0002] Turbine axis detection is the basis for turbine operation, installation, overhaul and maintenance, and axis adjustment. Due to the increase in the capacity of a single unit of a hydropower unit and the increasing complexity of the unit structure, the operation stability of the hydropower unit has gradually become prominent, and higher requirements have been put forward for the operation, overhaul and maintenance, and axis adjustment of the unit. At present, a real-time detection system for the turbine axis dedicated to turbine operation control has been developed at home and abroad, but there is a lack of a high-intelligence axis detection system suitable for installation, overhaul and maintenance, and axis adjustment. As a result, during the installation, overhaul and maintenance of the turbine and axis adjustment, it is necessary to manually read, copy, and process the detection data, which often leads to time-consuming and labor-intensive adjustment of the turning axis, greatly prolonging the construction period. In addition, the arrangement of the detection points in the radial direction requires the use of an 8-point or 16-point circular setting with equal phases, and in the axis direction, multiple points are required to be in a straight line. The accuracy of the measurement point spacing is high, and it is difficult to ensure. The detection accuracy is closely related to the professional level and on-site experience of the technicians. The calculation results are often inconsistent, which directly affects the size and direction of the axis processing volume. In addition, from the perspective of axis data processing methods, the least squares method is currently mainly used at home and abroad to fit and analyze the data, which basically ignores the various factors that affect the straightness of the shaft system during the installation of the hydro-turbine generator set. In addition, equal phase detection often has problems such as inaccurate docking and difficult control, making it difficult to achieve accurate and rapid axis adjustment.

[0003] In addition, in recent years, with the development of embedded microprocessors and microcomputer computing in related technologies, research on automatic detection technology of turbine axis has begun. In particular, with the significant enhancement of the data capabilities of chips such as ARM (Advanced RISC Machine) and DSP (Digital Signal Processing), attention has begun to be paid to the use of more complex data processing algorithms of embedded microprocessors for processing axis data of any phase and any number of points. Summary of the invention

[0004] In view of the above situation, the present invention proposes a method for optimizing and processing turbine axis detection data based on ant colony algorithm suitable for embedded microprocessors, which realizes automatic collection and processing of arbitrary multi-point data measurement of the axis of the hydro-turbine generator set, overcomes the limitations of the existing axis detection data processing technology, breaks through the equal division and point number constraints of the data collection and processing method of the traditional equal-division 8-point detection method, and solves the technical problems of large data reading workload, complex data processing process, incompletely correct axis detection data processing results, and unsatisfactory adjustment results in the data collection and processing of axis detection during the existing turbine installation, overhaul and maintenance and axis adjustment due to manual reading and eight-point equal division control.

[0005] To achieve the above purpose, the technical solution adopted by the present invention is:

[0006] The embodiment of the present invention provides a method for optimizing and processing turbine axis detection data based on an ant colony algorithm, comprising the following steps:

[0007] The turbine axis automatic detection system collects axis data through multiple axis displacement sensors;

[0008] The analog-to-digital conversion module transmits the data to the microprocessor through the preset communication interface;

[0009] The microprocessor performs fitting processing on the axis data, and applies a least square support vector machine regression algorithm based on ant colony optimization to establish an optimization model with minimum error;

[0010] Based on the minimum error optimization model, an optimal swing characteristic curve is obtained by fitting.

[0011] Further, the analog-to-digital conversion module is transmitted to the microprocessor through the preset communication interface, including:

[0012] The data is transmitted to the microprocessor via RS485, RS232, RS422, Ethernet, Bluetooth, and WIFI through the analog-to-digital conversion module.

[0013] Furthermore, the microprocessor performs fitting processing on the axis data, and applies a least squares support vector machine regression algorithm based on ant colony optimization to establish an error minimum optimization model, including:

[0014] Step 1: Generate a data sample set from the axis data, let the data sample set T = {(x1, y1), (x2, y2), ..., (x i ,y i ),…,(x l ,y l )}, where i = 1,…,l; l is the number of measured swing data sets, 4≤l≤1000, (x i ,y i) represents the axis orientation measured at point i, and the axis offset measured at point i;

[0015] Step 2: Construct the least squares support vector machine nonlinear regression function. The construction process is:

[0016] 2.1) Let x = [x1 … x l ], let y=[y1 … y l ],z=[z1 … z l ], x is the axis direction vector, y is the axis direction vector, z is the data sample vector, z i Represents the i-point data sample;

[0017] 2.2) The expression of the fitted value z' of z based on the nonlinear regression function of the least squares support vector machine is given as follows:

[0018]

[0019] (1) In the formula, ω is the weight factor; b is the bias factor; is the nonlinear mapping function to be determined; express The dot product with ω;

[0020] Step 3: Obtain the kernel function K(z',z). The formula for obtaining the kernel function K(z',z) is:

[0021]

[0022] (2) In the formula, δ is the width parameter of the kernel function, z' is the data fitting vector of z;

[0023] Step 4: Construct the minimum optimization model of the maximum interval between the data fitting vector z' and the z data sample vector. The model expression is:

[0024]

[0025] (3) In the formula, η i is the allowable error, η=[η1η2…η l ] is the error vector;

[0026] Step 5: Simplify the minimum optimization model W(ω,η,b) and obtain the error minimum optimization model based on convex quadratic programming.

[0027] Furthermore, the fifth step specifically includes:

[0028] 5.1) Establish the Lagrange function according to formula (3):

[0029]

[0030] (4) In the formula, α=[α1α2…α l ] is the Lagrange multiplier, α≠0, i=1,…,l; λ is the penalty parameter; the value range of the penalty parameter is λ>0;

[0031] 5.2) Take partial derivatives of equation (4) and we have:

[0032] according to get

[0033]

[0034] according to get

[0035] λη i =-α i (6) According to get

[0036]

[0037] according to get

[0038]

[0039] 5.3) Simplify equations (5), (6), (7) and (8), and the specific process is as follows:

[0040] First, substitute equation (5) into equation (8) to obtain:

[0041]

[0042] The formula (2) Substituting into formula (9), we get

[0043]

[0044] According to formula (6), when i=j When η i =0;

[0045] Import symbol:

[0046]

[0047] Simplify formula (10) to

[0048]

[0049] At this time, equations (5) to (8) are simplified to a linear equation system:

[0050]

[0051] 5.4) According to formula (12), the error minimum optimization model U(α, λ, δ) based on convex quadratic programming is constructed, and its expression is:

[0052]

[0053] The constraint condition of formula (13) is

[0054]

[0055] Furthermore, based on the minimum error optimization model, an optimal swing characteristic curve is obtained by fitting, including:

[0056] Step 6: Use the ant colony algorithm to optimize the parameters λ and δ of the model U(α,λ,δ) and find the optimal trajectory λ of λ and δ * (α), δ * (α); the specific process is:

[0057] 6.1) Set the data sample size T and the maximum number of cycles T m The initial value of and the range of λ and δ, the data sample size T is set to l, the maximum number of cycles T m Set it to 1000, set the range of λ and δ to 0<λ≤100 and 0≤δ≤100 respectively;

[0058] 6.2) Give the initial value of the number of cycles k = 0, the initial value of λ λ(0) = 1 and the initial value of δ δ(0) = 1;

[0059] 6.3) Given the initial path d i =z i , i=1,2…,l;

[0060] 6.4) Calculate the initial pheromone concentration θ of the i-th data point i (0) and the initial fitness function:

[0061] θ i (0) = exp[Fit(d i )] (15)

[0062] Fit(d i )=-g(z) (16)

[0063] In formulas (15) and (16), d i is the initial path of the i-th ant, that is, the i-th data sample z i ;Fit(d i ) is the initial fitness function; g(z) is the decision function; θ iis the pheromone concentration of the i-th ant; k is the number of cycles;

[0064] 6.5) Given the decision function g(z,α), the decision function expression is

[0065]

[0066] In formula (17), b is the bias factor; K(z i ,z j ') is the kernel function; where z i is the i-th data sample; z j ' is the data sample after fitting;

[0067] 6.6) Randomly select n ants less than l from l ants, and then select the data with the largest pheromone concentration θ from these n data obj (k), the specific process is:

[0068] θ obj (k)=max{θ1(k),θ2(k),…,θ n (k)} (18)

[0069] 6.7) Path transfer, the specific process is as follows:

[0070] d i (k+1)=(1-λ(k))d i +λ(k)θ obj (k) (19)

[0071] 6.8) Pheromone update, the specific process is: the pheromone concentration θ of the i-th ant i (k) To update:

[0072] θ i (k+1)=(1-ρ)θ i (k)+Δθ i (k) (20)

[0073] In formula (20), ρ is the pheromone volatility coefficient, ρ∈(0,1), and ρ=0.4;

[0074] 6.9) Take ε = 0.0000001, if the number of cycles k is less than T m as well as Let k=k+1, and return to step 6.6);

[0075] 6.10) The optimization is completed and the optimal trajectory λ containing α is obtained * (α), δ * (α);

[0076] Step 7: Find the optimal value of α * =(α1 * ,α2 * ,…,α l * ) T ;

[0077] Step 8: According to α * Get the optimal value of λ and δ * =λ * (α * ) and δ * =δ * (α * );

[0078] Step 9: According to α * , * , δ * Find the kernel function K(z j ,z i '), find K(z j ,z i The process of ') is to solve equation (21), which is

[0079]

[0080] Step 10: Select i, 1≤i≤l, and calculate

[0081]

[0082] Step 11: Calculate the nonlinear mapping function The calculation process is to solve equation (23)

[0083]

[0084] In formula (23), the error vector η = [η1 η2 … η l ] = [0.001 0.001 … 0.001];

[0085] Step 12: Find the optimal fitting value z' * ,

[0086]

[0087] z' * It is the optimal swing characteristic curve.

[0088] Furthermore, the seventh step includes:

[0089] 7.1) Take any set of α 0 is α 0 =(α1 0 ,α20 ,…,α l 0 ) T =(0.01,0.01,…,0.01) T ;

[0090] 7.2) Set α 0 Substitution We get h(α 0 );

[0091] 7.3) Taking the derivative of h(α),

[0092] 7.4) α 1 =(α1 1 ,α2 1 ,…,α l 1 ) T ;

[0093] 7.5) According to α k+1 =(α1 k+1 ,α2 k+1 ,…,α l k+1 ) T Iterate sequentially;

[0094] 7.6) Until ε=(0.0000001,0.0000001,…,0.0000001) T , the iteration ends;

[0095] 7.7) If And k ≥ 100, the iteration ends;

[0096] 7.8) Output the current α * =(α1 * ,α2 * ,…,α l * ) T =α k+1 .

[0097] Compared with the prior art, the present invention has the following beneficial effects:

[0098] An ant colony algorithm-based method for optimizing and processing turbine axis detection data proposed in an embodiment of the present invention, through the application of the ant colony optimization least squares support vector machine regression algorithm in a turbine axis automatic detection system with a microprocessor as the core component, proves that the use of the ant colony algorithm can be applicable to the data optimization processing needs of turbine axis detection for embedded microprocessors, and can process axis detection data of any phase and any number of points.

[0099] It helps to change the traditional data collection mode and data processing mode in the process of turbine installation, overhaul and maintenance and axis adjustment in hydropower plants, combines advanced embedded microprocessor technology with the ant colony algorithm for efficient data optimization processing, eliminates the complex and arduous manual operations of data collection and data processing, and makes the data collection process and data processing process of axis detection in the process of turbine installation, overhaul and maintenance and axis adjustment automated and intelligent.

[0100] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings.

[0101] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0102] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0103] Figure 1 A flow chart of a method for optimizing processing of turbine axis detection data based on ant colony algorithm provided in an embodiment of the present invention.

[0104] Figure 2 Another flow chart of a method for optimizing and processing turbine axis detection data based on an ant colony algorithm is provided for an embodiment of the present invention.

[0105] Figure 3 The flowchart of the optimization process for finding the optimal trajectory of the parameters λ and δ of the minimum error optimization model based on the ant colony algorithm.

[0106] Figure 4 The figure is a flow chart of the process of obtaining the optimal value of the parameter α of the minimum error optimization model based on the ant colony algorithm.

[0107] Figure 5 A schematic diagram of a turbine axis automatic detection system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0108] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0109] The present invention provides a method for optimizing and processing turbine axis detection data based on ant colony algorithm. Figure 1 As shown, the method includes:

[0110] S10: The turbine axis automatic detection system collects axis data through multiple axis displacement sensors;

[0111] S20: transmitting to the microprocessor through the preset communication interface via the analog-to-digital conversion module;

[0112] S30: The microprocessor performs fitting processing on the axis data, and applies a least squares support vector machine regression algorithm based on ant colony optimization to establish an optimization model with minimum error;

[0113] S40: Based on the minimum error optimization model, an optimal swing characteristic curve is obtained by fitting.

[0114] See also Figure 2 , Figure 2 First, we construct a nonlinear regression function based on the least squares support vector machine, which is expressed as Then, construct the kernel function, the expression is Construct and simplify the error minimum optimization model based on convex quadratic programming as follows: The optimal trajectory of the parameters λ and δ of the error-minimizing optimization model is optimized by ant colony optimization, and the optimal trajectory λ containing α is obtained. * (α), δ * (α), the Newton iteration method is used to iteratively obtain the optimal value of α, and finally the optimal fitting value z' is obtained * .

[0115] The method for optimizing and processing turbine axis detection data based on ant colony algorithm provided in the embodiment of the present invention overcomes the limitations of existing axis detection and processing technologies, and solves the technical problems of existing detection methods due to manual reading and processing and eight-point equally divided turning wheels, such as large amount of calculation, complex process, great debugging difficulty, incompletely correct axis processing scheme, and unsatisfactory adjustment results.

[0116] The error minimum optimization model can fit the complex axis swing data into a regular sinusoidal correction curve, receive and process the axis data in real time, and generate the swing characteristic curve in real time. This method fits the turbine axis detection data and mainly uses the ant colony optimization least squares support vector machine regression algorithm to establish the optimal objective function model and the optimal swing characteristic curve.

[0117] By adopting the ant colony optimization method to improve the least squares support vector machine regression, it can be used to process complex turbine axis data with fast fitting speed and high accuracy.

[0118] The specific algorithm process of the above steps S30-S40 is as follows:

[0119] Step 1: Generate a data sample set from the axis data collected by the system, let the data sample set T = {(x1, y1), (x2, y2), …, (x i ,y i ),…,(x l ,y l )}, where i = 1,…,l; l is the number of swing data sets actually measured, which can be arbitrarily selected within the range of 4≤l≤1000, (x i ,y i ) represents the axis orientation measured at point i, and the axis offset measured at point i;

[0120] Step 2: Construct the least squares support vector machine nonlinear regression function. The construction process is:

[0121] 2.1) Let x = [x1 … x l ], let y=[y1 … y l ],z=[z1 … z l ], x is the axis direction vector, y is the axis direction vector, z is the data sample vector, z i Represents the i-point data sample;

[0122] 2.2) The expression of the fitted value z' of z based on the nonlinear regression function of the least squares support vector machine is given as follows:

[0123]

[0124] (1) In the formula, ω is the weight factor; b is the bias factor; is the nonlinear mapping function to be determined; express The dot product with ω;

[0125] Step 3: Obtain the kernel function K(z',z). The formula for obtaining the kernel function K(z',z) is:

[0126]

[0127] (2) In the formula, δ is the width parameter of the kernel function, z' is the data fitting vector of z;

[0128] Step 4: Construct the minimum optimization model of the maximum interval between the data fitting vector z' and the z data sample vector. The model expression is:

[0129]

[0130] (3) In the formula, η i is the allowable error, η=[η1 η2 … η l ] is the error vector;

[0131] Step 5: Simplify the minimum optimization model W(ω,η,b) to obtain the error minimum optimization model based on convex quadratic programming. Specifically include:

[0132] 5.1) Establish the Lagrange function according to formula (3):

[0133]

[0134] (4) In the formula, α=[α1 α2 … α l ] is the Lagrange multiplier, α≠0, i=1,…,l; λ is the penalty parameter, and the value range of the penalty parameter is λ>0. The larger the penalty parameter, the greater the loss of the objective function and the fewer outliers.

[0135] 5.2) Take partial derivatives of equation (4) and we have:

[0136] according to get

[0137]

[0138] according to get

[0139] λη i =-α i (6)

[0140] according to get

[0141]

[0142] according to get

[0143]

[0144] 5.3) Simplify equations (5), (6), (7) and (8), and the specific process is as follows:

[0145] First, substitute equation (5) into equation (8) to obtain:

[0146]

[0147] The formula (2) Substituting into formula (9), we get

[0148]

[0149] According to formula (6), when i=j When η i =0;

[0150] Import symbol:

[0151]

[0152] Simplify formula (10) to

[0153]

[0154] At this time, equations (5) to (8) are simplified to a linear equation system:

[0155]

[0156] 5.4) According to formula (12), the error minimum optimization model U(α, λ, δ) based on convex quadratic programming is constructed, and its expression is:

[0157]

[0158] The constraint condition of formula (13) is

[0159]

[0160] Step 6: Use the ant colony algorithm to optimize the parameters λ and δ of the model U(α,λ,δ) and find the optimal trajectory λ of λ and δ * (α), δ * (α); participate Figure 3 , Figure 3 This is a flow chart of the optimization process for finding the optimal trajectory of the parameters λ and δ of the minimum error optimization model based on the ant colony algorithm, including parameter initialization, path transfer, pheromone update, and checking iteration termination.

[0161] The specific process of the sixth step is:

[0162] 6.1) Set the data sample size T and the maximum number of cycles T mThe initial value of and the range of λ and δ, the data sample size T is set to l, the maximum number of cycles T m Set it to 1000, set the range of λ and δ to 0<λ≤100 and 0≤δ≤100 respectively;

[0163] 6.2) Give the initial value of the number of cycles k = 0, the initial value of λ λ(0) = 1 and the initial value of δ δ(0) = 1;

[0164] 6.3) Given the initial path d i =z i , i=1,2…,l;

[0165] 6.4) Calculate the initial pheromone concentration θ of the i-th data point i (0) and the initial fitness function:

[0166] θ i (0) = exp[Fit(d i )] (15)

[0167] Fit(d i )=-g(z) (16)

[0168] In formulas (15) and (16), d i is the initial path of the i-th ant, that is, the i-th data sample z i ;Fit(d i ) is the initial fitness function; g(z) is the decision function; θ i is the pheromone concentration of the i-th ant; k is the number of cycles;

[0169] 6.5) Given the decision function g(z,α), the decision function expression is

[0170]

[0171] In formula (17), b is the bias factor; K(z i ,z j ') is the kernel function; where z i is the i-th data sample; z j ' is the data sample after fitting;

[0172] 6.6) Randomly select n ants less than l from l ants, and then select the data with the largest pheromone concentration θ from these n data obj (k), the specific process is:

[0173] θ obj (k)=max{θ1(k),θ2(k),…,θ n (k)} (18)

[0174] k is the number of cycles. After the initial value is given, the number of cycles increases. The maximum value of k is T m ;

[0175] 6.7) Path transfer, the specific process is as follows:

[0176] d i (k+1)=(1-λ(k))d i +λ(k)θ obj (k) (19)

[0177] 6.8) Pheromone update, the specific process is: the pheromone concentration θ of the i-th ant i (k) To update:

[0178] θ i (k+1)=(1-ρ)θ i (k)+Δθ i (k) (20)

[0179] In formula (20), ρ is the pheromone volatility coefficient, ρ∈(0,1), and ρ=0.4;

[0180] 6.9) Take ε = 0.0000001, if the number of cycles k is less than T m as well as Let k=k+1, and return to step 6.6);

[0181] 6.10) The optimization is completed and the optimal trajectory λ containing α is obtained * (α), δ * (α);

[0182] Step 7: Find the optimal value of α * =(α1 * ,α2 * ,…,α l * ) T ; See Figure 4 , Figure 4 This is a flow chart of the process of obtaining the optimal value of the parameter α of the error minimum optimization model based on the ant colony algorithm. α is iterated mainly through the Newton iteration method to obtain the optimal value of α.

[0183] Find the optimal value of α * The specific process is:

[0184] 7.1) Take any set of α 0 is α 0 =(α1 0 ,α2 0 ,…,α l 0 )T =(0.01,0.01,…,0.01) T ;

[0185] 7.2) Set α 0 Substitution We get h(α 0 );

[0186] 7.3) Taking the derivative of h(α),

[0187] 7.4) α 1 =(α1 1 ,α2 1 ,…,α l 1 ) T ;

[0188] 7.5) According to α k+1 =(α1 k+1 ,α2 k+1 ,…,α l k+1 ) T Iterate sequentially;

[0189] 7.6) Until ε=(0.0000001,0.0000001,…,0.0000001) T , the iteration ends;

[0190] 7.7) If And k ≥ 100, the iteration ends;

[0191] 7.8) Output the current α * =(α1 * ,α2 * ,…,α l * ) T =α k+1 .

[0192] Step 8: According to α * Get the optimal value of λ and δ * =λ * (α * ) and δ * =δ * (α * );

[0193] Step 9: According to α * , * ,δ * Find the kernel function K(z i ,zj '), find K(z i ,z j The process of ') is to solve equation (21), which is

[0194]

[0195] Step 10: Select i, 1≤i≤l, and calculate

[0196]

[0197] Step 11: Calculate the nonlinear mapping function The calculation process is to solve equation (23)

[0198]

[0199] In formula (23), the error vector η = [η1 η2 … η l ] = [0.001 0.001 … 0.001];

[0200] Step 12: Find the optimal fitting value z' * ,

[0201]

[0202] z' * It is the optimal swing characteristic curve.

[0203] For example, the present invention can utilize a turbine axis automatic detection system with an ARM11 series S3C6410 ARM microprocessor as a core device, and construct a convex quadratic programming model with the collected turbine axis detection data, and use the ant colony optimization least squares support vector machine regression algorithm to fit a swing characteristic curve consisting of a position and its swing value, and obtain the maximum swing azimuth and its axis offset according to the optimization objective function model. This can not only fully, truly and accurately provide a theoretical basis for the axis adjustment plan of the hydro-generator, but also save the complex and arduous manual operations of data collection and data processing, and can make the data collection process and data processing process of axis detection during turbine installation, overhaul and maintenance and axis adjustment automated and intelligent.

[0204] See also Figure 5 This is the schematic diagram of the turbine axis automatic detection system with the ARM11 series S3C6410 ARM microprocessor as the core device. The turbine axis detection data optimization processing method based on the ant colony algorithm can be applied.

[0205] Axis data is collected through multiple axis displacement sensors, and after passing through the analog-to-digital conversion module, it is transmitted to the ARM microprocessor through communication interfaces such as RS485, RS232, RS422, Ethernet, Bluetooth, and WIFI. Based on this processor, the ant colony algorithm is used for complex data optimization processing, which can process axis data and operation of any phase and any number of points. It is equipped with different signal acquisition devices such as digital micrometers and photoelectric sensors, and can be used in various occasions such as turbine installation, overhaul and maintenance, and axis adjustment. It is equipped with communication interfaces such as RS485, RS232, RS422, Ethernet, Bluetooth, and WIFI, and can be easily connected to various networks and information systems. It is highly automated, intelligent, and networked, and can be widely used in various occasions such as turbine operation, installation, overhaul and maintenance, and axis adjustment, with great engineering application value.

[0206] The processor performs data analysis and calculation, which is specifically implemented by the ant colony optimization least squares support vector machine regression algorithm of the present invention. After the data processing is completed, it is displayed on the host computer interface through human-computer interaction, which is convenient for maintenance personnel to read the relevant data volume of the axis adjustment.

[0207] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for optimizing and processing turbine axis detection data based on ant colony algorithm, characterized in that: The following steps are involved: The turbine axis automatic detection system collects axis data through multiple axis displacement sensors; The analog-to-digital conversion module transmits the data to the microprocessor through the preset communication interface; The microprocessor performs fitting processing on the axis data, and applies a least square support vector machine regression algorithm based on ant colony optimization to establish an optimization model with minimum error; Based on the minimum error optimization model, an optimal swing characteristic curve is obtained by fitting; The analog-to-digital conversion module is transmitted to the microprocessor through the preset communication interface, including: Transmitted to microprocessor via RS485, RS232, RS422, Ethernet, Bluetooth, WIFI through analog-to-digital conversion module; The microprocessor performs fitting processing on the axis data, applies the least squares support vector machine regression algorithm based on ant colony optimization, and establishes an error minimum optimization model; based on the error minimum optimization model, the optimal swing characteristic curve is fitted; including: Step 1: Generate a data sample set from the axis data, let the data sample set T = {(x1, y1), (x2, y2), ..., (x i ,y i ),…,(x l ,y l )}, where i = 1,…,l; l is the number of measured swing data sets, 4≤l≤1000, (x i ,y i ) represents the axis orientation measured at point i, and the axis offset measured at point i; Step 2: Construct the least squares support vector machine nonlinear regression function. The construction process is: 2.1) Let x = [x1 … x l ], let y=[y1 … y l ],z=[z1 … z l ], x is the axis direction vector, y is the axis direction vector, z is the data sample vector, z i Represents the i-point data sample; 2.2) The expression of the fitting value z′ of z based on the nonlinear regression function of the least squares support vector machine is given as follows: (1) In the formula, ω is the weight factor; b is the bias factor; is the nonlinear mapping function to be determined; express The dot product with ω; Step 3: Obtain the kernel function K(z′,z). The formula for obtaining the kernel function K(z′,z) is: (2) In the formula, δ is the width parameter of the kernel function, z′ is the data fitting vector of z; Step 4: Construct the minimum optimization model of the maximum interval between the data fitting vector z′ and the z data sample vector. The model expression is: (3) In the formula, η i is the allowable error, η=[η1 η2 … η l ] is the error vector; Step 5: Simplify the minimum optimization model W(ω,η,b) to obtain the error minimum optimization model based on convex quadratic programming; the fifth step specifically includes: 5.1) Establish the Lagrange function according to formula (3): (4) In the formula, α=[α1 α2 … α l ] is the Lagrange multiplier, α≠0, i=1,…,l; λ is the penalty parameter; the value range of the penalty parameter is λ>0; 5.2) Take partial derivatives of equation (4) and we have: according to get according to get lee i =-a i (6) according to get according to get 5.3) Simplify equations (5), (6), (7) and (8), and the specific process is as follows: First, substitute equation (5) into equation (8) to obtain: The formula (2) Substituting into formula (9), we get According to formula (6), when i=j When η i =0; Import symbol: Simplify formula (10) to At this time, equations (5) to (8) are simplified to a linear equation system: 5.4) According to formula (12), the error minimum optimization model U(α, λ, δ) based on convex quadratic programming is constructed, and its expression is: The constraint condition of formula (13) is Step 6: Use the ant colony algorithm to optimize the parameters λ and δ of the model U(α,λ,δ) and find the optimal trajectory λ of λ and δ * (α), δ * (α); the specific process is: 6.1) Set the initial values ​​of the data sample size T, the maximum number of cycles Tm, and the ranges of λ and δ. Set the data sample size T to l and the maximum number of cycles Tm to m Set it to 1000, set the range of λ and δ to 0<λ≤100 and 0≤δ≤100 respectively; 6.2) Give the initial value of the number of cycles k = 0, the initial value of λ λ(0) = 1 and the initial value of δ δ(0) = 1; 6.3) Given the initial path d i =z i , i=1,2...,l; 6.4) Calculate the initial pheromone concentration θ of the i-th data point i (0) and the initial fitness function: θ i (0) = exp[Fit(d i )] (15) Fit(d i )=-g(z) (16) In formulas (15) and (16), d i is the initial path of the i-th ant, that is, the i-th data sample z i ;Fit(d i ) is the initial fitness function; g(z) is the decision function; θ i is the pheromone concentration of the i-th ant; k is the number of cycles; 6.5) Given the decision function g(z,α), the decision function expression is In formula (17), b is the bias factor; K(z i ,z j ′) is the kernel function; where z i is the i-th data sample; z j ′ is the data sample after fitting; 6.6) Randomly select n ants less than l from l ants, and then select the data with the largest pheromone concentration θ from these n data obj (k), the specific process is: i obj (k)=max{θ1(k),θ2(k),…,θ n (k)} (18) 6.7) Path transfer, the specific process is as follows: d i (k+1)=(1-λ(k))d i +λ(k)θ obj (k) (19) 6.8) Pheromone update, the specific process is: the pheromone concentration θ of the i-th ant i (k) To update: θ i (k+1)=(1-ρ)θ i (k)+Δθ i (k) (20) In formula (20), ρ is the pheromone volatility coefficient, ρ∈(0,1), and ρ=0.4; 6.9) Take ε = 0.0000001, if the number of cycles k is less than T m as well as Let k=k+1, and return to step 6.6); 6.10) The optimization is completed and the optimal trajectory λ containing α is obtained * (α), δ * (α); Step 7: Find the optimal value of α * =(α1 * ,α2 * ,…,α l * ) T ; Step 8: According to α * Get the optimal value of λ and δ * =λ * (α * ) and δ * =δ * (α * ); Step 9: According to α * , * , δ * Find the kernel function K(z i ,z j ′), find K(z i ,z j The process of ′) is to solve equation (21), which is Step 10: Select i, 1≤i≤l, and calculate Step 11: Calculate the nonlinear mapping function The calculation process is to solve equation (23) In formula (23), the error vector η = [η1 η2 … η l ] = [0.001 0.001 … 0.001]; Step 12: Find the optimal fitting value z′ * , z′ * is the optimal swing characteristic curve; the seventh step comprises: 7.1) Take any set of α 0 is α 0 =(α1 0 ,α2 0 ,…,α l 0 ) T =(0.01,0.01,…,0.01) T ; 7.2) Set α 0 Substitution We get h(α 0 ); 7.3) Taking the derivative of h(α), 7.4) α 1 =(α1 1 ,α2 1 ,…,α l 1 ) T ; 7.5) According to α k+1 =(α1 k+1 ,α2 k+1 ,…,α l k+1 ) T Iterate sequentially; 7.6) Until ε=(0.0000001,0.0000001,…,0.0000001) T , the iteration ends; 7.7) If And k ≥ 100, the iteration ends; 7.8) Output the current α * =(α1 * ,α2 * ,…,α l * ) T =α k+1 .