RBF neural network modeling method for two-stage pendulum two-dimensional bridge crane based on IGBO

By adopting the RBF neural network modeling method for two-dimensional bridge cranes based on IGBO, the problems of complex and low-precision bridge crane models are solved, high-precision cargo control is achieved, and the working efficiency and safety of the crane are improved.

CN113239484BActive Publication Date: 2024-09-24ZHEJIANG UNIV OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110466935.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-28
Publication Date
2024-09-24
Estimated Expiration
2041-04-28

AI Technical Summary

Technical Problem

Existing bridge crane mechanism modeling methods are complex and lack precision, making it difficult to meet the control requirements of large industrial robots. This results in inaccurate control of cargo swing, affecting the crane's working efficiency and safety.

Method used

A two-dimensional bridge crane modeling method based on an improved genetic algorithm optimizer (IGBO) using a bi-level pendulum RBF neural network is adopted. By adjusting the parameters of the RBF neural network, a model is established to reflect the nonlinear characteristics of the bridge crane system. An improved gradient optimization algorithm is used to optimize the weights and kernel function center values ​​of the neural network.

Benefits of technology

The modeling accuracy of the bridge crane model has been improved, enabling high-precision control of the cargo position and swing angle, reducing cargo swaying, and improving the crane's working efficiency and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113239484B
    Figure CN113239484B
Patent Text Reader

Abstract

A RBF neural network modeling method for a two-stage pendulum two-dimensional bridge crane based on IGBO includes the following steps: 1) obtaining input and output data of a two-stage pendulum two-dimensional bridge crane system through experiments or on-site collection; 2) proposing a gradient-based optimization algorithm that improves global search and local search strategies, and proposing a two-stage pendulum two-dimensional bridge crane RBF neural network modeling method based on the algorithm; 3) setting the operating parameters of the algorithm, and taking the root mean square error between the output of the RBF neural network model and the actual output as the objective function of IGBO; 4) running IGBO to obtain the optimal parameter estimation value of the RBF neural network, and inputting the optimal value into the RBF neural network model to obtain a simulation model of the bridge crane. The RBF neural network modeling method of the present invention can simultaneously establish multiple output models of a two-stage pendulum two-dimensional bridge crane, and is also suitable for modeling other complex systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an intelligent optimization modeling method, in particular to an IGBO-based RBF neural network modeling method for a double-stage pendulum two-dimensional bridge crane. Background Art

[0002] Bridge cranes usually have X, Y and Z degrees of freedom and hook movement directions. On the one hand, the trolley that transports the goods can move left and right on the slide rail; the slide rail can move forward and backward on the bridge rail orthogonal to it; the hook suspended on the trolley can realize the up and down movement of the goods, and can rotate 180 degrees or 360 degrees. Since the number of available controllers of the bridge crane system is less than its degrees of freedom, the bridge crane system is a typical nonlinear underactuated system. The key issue in the study of bridge crane systems is how to quickly move the goods from the initial position to the target position while limiting the swing caused by the movement of the goods to a relatively small range. Excessive swing of the goods will directly affect the quality, work efficiency and safety of the bridge crane. If the bridge crane system fails to control the swing of the goods, on the one hand, it will be difficult for workers to realize the automatic control of the bridge crane, and the long-term difficulty in eliminating the swing of the goods will greatly affect the work efficiency of the crane; on the other hand, it may cause great damage to the goods and even the surrounding working environment. For these reasons, realizing and improving the control accuracy of the bridge crane system is of great significance to ensure production safety and improve production efficiency. A high-precision bridge crane model is the basis for achieving and improving precise control. The traditional mechanism modeling method commonly used at present is not only complex, but also has low modeling accuracy, which makes it difficult to adapt to the control requirements of large industrial robots such as bridge cranes. For this reason, intelligent optimization modeling methods represented by genetic algorithms have attracted attention.

[0003] Gradient-Based Optimizer (GBO) is a meta-heuristic algorithm proposed by Iman et al. in 2019. Inspired by Newton's method, the algorithm operates on the solution space through gradient search rules and local escape operators. The gradient search rule uses a gradient-based search method to improve the accuracy of local search and speed up the convergence of the algorithm; while the local escape operator helps the algorithm escape from the local optimal solution. However, the convergence accuracy of the basic gradient-based optimization algorithm still needs to be further improved. In the search process, there are phenomena such as easy to fall into the local optimum and slow convergence. Summary of the invention

[0004] In order to overcome the shortcomings of traditional bipolar pendulum two-dimensional bridge crane mechanism modeling methods such as complexity and low precision, the present invention proposes a RBF neural network modeling method for a two-stage pendulum two-dimensional bridge crane based on IGBO, and IGBO is used to adjust the parameters of the RBF neural network to establish a position output model, a first-stage pendulum angle output model and a second-stage pendulum angle output model of the bipolar pendulum two-stage bridge crane. The model established by this method can well reflect the nonlinear characteristics of the bridge crane system.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0006] An IGBO-based RBF neural network modeling method for a two-stage pendulum two-dimensional bridge crane comprises the following steps:

[0007] Step 1: Obtain the control force input data f of the two-stage swing bridge crane through actual measurement x ; Output data of the two-stage pendulum two-dimensional bridge crane system, the output data including the horizontal position d, the first pendulum swing angle θ and the second pendulum swing angle

[0008] Step 2: Establish the RBF neural network model of the bipolar pendulum two-dimensional bridge crane; the RBF neural network model has i n Input and o n = 3 outputs The representation of input x(k) and output y(k) is as follows:

[0009]

[0010]

[0011] Where k represents the sampling time; n x The number of water position data input; n θ The number of first-level pendulum angle data input; The number of secondary pendulum angle data input; n f The number of horizontal control force data input; n x 、n θ , n f are all positive integers, and is the number of input nodes of the RBF neural network; d(k-1) represents the horizontal position sampling data at time (k-1); θ(k-1) represents the sampling data of the first-order pendulum swing angle at time (k-1); represents the horizontal position sampling data at time (k-1); f x (k-1) represents the horizontal control force sampling data at time (k-1);

[0012] Step 3: Use the radial basis kernel function as the activation function of the hidden layer neurons of the RBF neural network;

[0013] Step 4: Normalize the sample data;

[0014] Step 5: Preset the parameters of the RBF neural network structure and the improved gradient-based optimization algorithm;

[0015] Step 6: using an improved gradient-based optimization algorithm to determine the weight w, the kernel function center value c, and the width parameter b of the RBF neural network, during the parameter adjustment process, the root mean square error between the model output of the RBF neural network and the actual output of the bipolar pendulum two-dimensional bridge crane is used as the loss function of the improved gradient-based optimization algorithm, wherein the actual output of the bipolar pendulum two-dimensional bridge crane includes a position output, a primary swing angle output, and a secondary swing angle output;

[0016] Step 7: Input the optimal parameter value obtained after completing step 6 into the RBF neural network, input the test data into the obtained RBF neural network, and simultaneously obtain the RBF neural network model of the position output, primary swing angle output and secondary swing angle output of the bipolar swing bridge crane.

[0017] Furthermore, in step 3, the mathematical expression of the radial basis kernel function is as follows:

[0018]

[0019] Where b is the width parameter of the Gaussian radial basis kernel function; ||×|| is the norm; is a set of feature vectors; is the center value of the kernel function in the jth hidden layer neuron.

[0020] Furthermore, in step 4, the normalization formula used is:

[0021]

[0022] in is the normalized vector, They are respectively the vectors consisting of the minimum and maximum values ​​of the samples to be normalized.

[0023] In step 5, the number of hidden layer nodes h of the RBF neural network n Determined according to the following empirical formula:

[0024] where d L is the length of the training sample; α is a constant between [2,10]; i n is the number of input nodes of the RBF neural network; on is the number of output nodes of the RBF neural network.

[0025] In step 6, the steps of the improved gradient-based optimization algorithm are:

[0026] Step 6.1: Set the population size of the algorithm to nP, the probability parameter pr, the number of variables to be solved D, the constant ε, the maximum evolutionary number MaxIt, and the number of neurons in the input layer, hidden layer, and output layer of the RBF neural network to i respectively. n ,h n , o n , parameters of the loss function;

[0027] Step 6.2: Initialize the population;

[0028] Step 6.3: Calculate the loss function values ​​of all individuals in the population, and express the best individual and the worst individual in the current population as and

[0029] Step 6.4: Randomly select four individuals from the current population and represent them as

[0030] Step 6.5: Based on the random individuals selected in step 6.4 and Execute the gradient search rule on the current individual to obtain the position vector Then perform an improved global search operation to obtain the position vector

[0031] Step 6.6: Based on the random individuals selected in step 6.4 and Execute the gradient search rule again on the current individual to obtain the position vector Then perform an improved local search operation to obtain the position vector

[0032] Step 6.7: Position vector obtained based on improved global search and local search operation to obtain the position vector Get the updated individual position vector

[0033] Step 6.8: Determine the type of local escape operator to be executed on the individual according to the random numbers r<pr and r≥pr, and obtain the updated individual after the local escape operator is updated;

[0034] Step 6.9: Determine whether the maximum evolutionary generation has been reached; if the maximum evolutionary generation MaxIt has been reached, output the current optimal individual; otherwise, go to step 6.3.

[0035] In step 6.3, the loss function e l Calculated according to the following formula:

[0036]

[0037] where λ i (i=1,2,3) is the set weight; They are the position output of the RBF neural network model, the first-stage pendulum angle output, and the second-stage pendulum angle output.

[0038] In step 6.5, the improved global search operation is as follows:

[0039] Improved global search strategy:

[0040]

[0041] in is the position vector to be updated; is the position vector obtained by the gradient search rule; The dimensions and position vector of Same, all its elements are random numbers between (0, 1); is a position vector randomly selected from the population; The representation of ω1,γ1 is as follows:

[0042]

[0043] where μ is calculated as follows:

[0044]

[0045] Where It is the current evolutionary generation;

[0046] In step 6.6, the improved local search operation is as follows:

[0047]

[0048] in is the current most individual position vector; ω2, γ2 are calculated in the same way as ω1, γ1.

[0049] The beneficial effects of the present invention are as follows: the global search strategy and the local search strategy of the gradient-based optimization algorithm are improved, the improved gradient-based optimization algorithm is used to adjust the RBF neural network parameters, and the displacement, the primary pendulum swing angle and the secondary pendulum swing angle of the bipolar pendulum two-dimensional bridge crane under the same output are modeled at the same time. The results show that the established RBF neural network model can better reflect the actual characteristics of the bipolar pendulum bridge crane. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 It is a block diagram of the RBF neural network modeling method for a two-stage pendulum two-dimensional bridge crane based on IGBO;

[0051] Figure 2 It is a schematic diagram of a bipolar pendulum two-dimensional bridge crane system;

[0052] Figure 3 It is the structural diagram of the RBF neural network used;

[0053] Figure 4 It is a comparison between the displacement output of the RBF neural network model optimized by IGBO and the actual position output of the bipolar pendulum two-position bridge crane;

[0054] Figure 5 It is a comparison between the first-stage pendulum swing angle output of the RBF neural network model optimized by IGBO and the actual first-stage pendulum swing angle output of the bipolar pendulum two-position bridge crane;

[0055] Figure 6 It is a comparison between the output of the secondary pendulum swing angle of the RBF neural network model optimized by IGBO and the actual secondary pendulum swing angle output of the bipolar pendulum two-position bridge crane. DETAILED DESCRIPTION

[0056] In conjunction with the accompanying drawings of the above invention, the technical solutions in the embodiments of the present invention are described more directly and clearly. Only some examples of the present invention are described here, not all examples. Other example results obtained by researchers in this field without making creative labor results all belong to the protection scope of the present invention. The following is a "bipolar pendulum two-dimensional bridge crane experimental platform" of the Robotics and Automation Research Institute of a certain university as an example.

[0057] Reference Figure 1 to Figure 6 , a RBF neural network modeling method for a two-stage pendulum two-dimensional bridge crane based on IGBO, the flow chart of the modeling method is shown in Figure 1 , including the following steps:

[0058] Step 1: The schematic diagram of the bipolar pendulum two-dimensional bridge crane system under study is shown in Figure 2 Through the platform, the horizontal control force input data of the bipolar pendulum two-dimensional bridge crane and the output data of the two-stage pendulum two-dimensional bridge crane system are obtained. The output data includes the horizontal position, the first-stage pendulum swing angle and the second-stage pendulum swing angle. The operating parameters of the bridge crane are: trolley mass M = 6.5kg, first-stage pendulum load mass m1 = 0.75kg, second-stage pendulum load mass m2 = 0.5kg, rope length is 1m, gravity acceleration g = 9.8m / s 2The crane operation adopts open-loop control, the target position is set to 0.6m, the sampling period is 10ms, and a total of 3 sets of data are collected. Each set of data contains horizontal control force input, horizontal position, first-level pendulum swing angle, and second-level pendulum swing angle. The data length is 2000. In order to increase the robustness of the training results, the horizontal control force input data, horizontal position output data, first-level pendulum swing angle output data, and second-level pendulum swing angle output data in the three sets of data are superimposed and averaged to obtain the averaged control force input f x , horizontal position d, primary pendulum angle θ, secondary pendulum angle The data length after taking the average value is still 2000; 1600 experimental data are extracted as training samples, and the remaining 400 data are used as test samples.

[0059] Step 2: Establish the RBF neural network model of the bipolar pendulum two-dimensional bridge crane. The RBF neural network structure diagram is shown in Figure 3 ; The RBF neural network model has a total of i n =9 inputs and o n = 3 outputs The input x(k) and output y(k) of the RBF neural network are expressed as follows:

[0060]

[0061]

[0062] Where k represents the sampling time; n x The number of water position data input; n θ =2 is the number of primary pendulum angle data input; The number of secondary pendulum angle data input; n f =2 is the number of horizontal control force data input; d(k-1) represents the horizontal position sampling data at time (k-1); θ(k-1) represents the sampling data of the first-order pendulum swing angle at time (k-1); represents the horizontal position sampling data at time (k-1); f x (k-1) represents the horizontal control force sampling data at time (k-1);

[0063] Step 3: Use the radial basis kernel function as the hidden layer activation function of the RBF neural network. The expression of the radial basis kernel function is as follows:

[0064]

[0065] Where b is the width parameter of the Gaussian radial basis kernel function; ||×|| is the norm; is a set of feature vectors; is the central value of the kernel function in the jth hidden layer neuron;

[0066] Step 4: Use the following formula to normalize the sample data:

[0067]

[0068] in is the normalized vector, are respectively the vectors consisting of the minimum and maximum values ​​of the samples to be normalized;

[0069] Step 5: Preset the RBF neural network structure parameters and the parameters of the improved gradient-based optimization algorithm; the number of nodes in the input layer and output layer of the RBF neural network is i n =9,o n =3, where the number of neurons in the hidden layer can be calculated according to the following empirical formula:

[0070]

[0071] where d L =1600 is the length of the training sample; α is a constant between [2,10], here α=3.4;

[0072] Step 6: Use the improved gradient-based optimization algorithm to determine the weights, kernel function center values, and function width parameters of the RBF neural network. During the parameter adjustment process, arrange the experimental data collected in step 1 in the form described in step 2, and then normalize the data according to the sample normalization method of step 4, and input the processed data into the RBF neural network. The root mean square error of the output of the RBF neural network and the actual output of the bipolar pendulum two-dimensional bridge crane is used as the loss function of the improved gradient-based optimization algorithm, and the actual output includes position output, primary swing angle output, and secondary swing angle output; the steps of parameter optimization are as follows:

[0073] Step 6.1: Set the population size of the algorithm to nP = 100, the probability parameter pr = 0.5, and the number of variables to be solved can be calculated based on the RBF neural network structure D = h n ·(1+i n +o n ), constant ε=0.005, maximum evolutionary number MaxIt=200, parameters of loss function in RBF neural network training process λ1=0.8, λ2=0.8, λ3=5;

[0074] Step 6.2: Randomly generate nP individuals to form the initial population;

[0075] Step 6.3: Calculate the loss function values ​​of all individuals in the population, and express the best individual and the worst individual in the current population as and The loss function e l It can be calculated according to the following formula:

[0076]

[0077] in They are the position output, the first-stage pendulum angle output, and the second-stage pendulum angle output obtained by the RBF neural network model.

[0078] Step 6.4: Randomly select four individuals from the current population and represent them as

[0079] Step 6.5: Based on the random individuals selected in step 6.4 and Execute the gradient search rule on the current individual to obtain the position vector Then perform an improved global search operation to obtain the position vector The improved global search strategy is as follows:

[0080]

[0081] in is the position vector to be updated; is the position vector obtained by the gradient search rule; The dimensions and position vector of Same, all its elements are random numbers between (0.1); is a position vector randomly selected from the population; The representation of ω1,γ1 is as follows:

[0082]

[0083] where μ is calculated as follows:

[0084]

[0085] Where It is the current evolutionary generation;

[0086] Step 6.6: Based on the random individuals selected in step 6.4 and Execute the gradient search rule again on the current individual to obtain the position vector Then perform an improved local search operation to obtain the position vector The improved local search strategy is as follows:

[0087]

[0088] in is the position vector of the most individual at present; ω2, γ2 are calculated in the same way as ω1, γ1;

[0089] Step 6.7: Position vector obtained based on improved global search and local search operation to obtain the position vector Get the updated individual position vector

[0090] Step 6.8: Determine the type of local escape operator to be executed on the individual according to the random numbers r<pr and r≥pr, and obtain the updated individual after the local escape operator is updated;

[0091] Step 6.9: Determine whether the maximum evolutionary generation has been reached; if the maximum evolutionary generation MaxIt has been reached, output the current optimal individual; otherwise, go to step 6.3.

[0092] Step 7: Input the optimal parameter values ​​obtained after step 6 into the RBF neural network, input 400 test data into the obtained RBF neural network, and the RBF neural network model position output is as follows: Figure 4 As shown; the first-level pendulum swing angle output of the RBF neural network model is as follows Figure 5 As shown; the RBF neural network model secondary pendulum swing angle output is as follows Figure 6 shown.

[0093] from Figures 4 to 6 It can be seen from the test results that the output of the RBF neural network model is basically consistent with the actual output of the bipolar pendulum two-dimensional bridge crane, and the error fluctuates only within a very small range. Therefore, the method of the present invention can achieve high-precision modeling.

Claims

1. A RBF neural network modeling method for a two-stage pendulum two-dimensional bridge crane based on IGBO, characterized in that: The method comprises the following steps: Step 1: Obtain the control force input data f of the double-stage pendulum two-dimensional bridge crane through actual measurement x ; Output data of the two-stage pendulum two-dimensional bridge crane system, the output data including the horizontal position d, the first pendulum swing angle θ and the second pendulum swing angle Step 2: Establish the RBF neural network model of the bipolar pendulum two-dimensional bridge crane; the RBF neural network model has i n Input and o n = 3 outputs The representation of input x(k) and output y(k) is as follows: Where k represents the sampling time; n x The number of water position data input; n θ The number of first-level pendulum angle data input; The number of secondary pendulum angle data input; n f The number of horizontal control force data input; n x 、n θ , n f are all positive integers, and is the number of input nodes of the RBF neural network; d(k-1) represents the horizontal position sampling data at time (k-1); θ(k-1) represents the sampling data of the first-order pendulum swing angle at time (k-1); represents the horizontal position sampling data at time (k-1); f x (k-1) represents the horizontal control force sampling data at time (k-1); Step 3: Use the radial basis kernel function as the activation function of the hidden layer neurons of the RBF neural network; Step 4: Normalize the sample data; Step 5: Preset the parameters of the RBF neural network structure and the improved gradient-based optimization algorithm; Step 6: using an improved gradient-based optimization algorithm to determine the weight w, the kernel function center value c, and the width parameter b of the RBF neural network, during the parameter adjustment process, the root mean square error between the model output of the RBF neural network and the actual output of the bipolar pendulum two-dimensional bridge crane is used as the loss function of the improved gradient-based optimization algorithm, wherein the actual output of the bipolar pendulum two-dimensional bridge crane includes a position output, a primary swing angle output, and a secondary swing angle output; Step 7: Input the optimal parameter value obtained after completing step 6 into the RBF neural network, input the test data into the obtained RBF neural network, and simultaneously obtain the RBF neural network model of the position output, primary swing angle output and secondary swing angle output of the bipolar swing bridge crane.

2. The IGBO-based RBF neural network modeling method for a two-stage pendulum two-dimensional bridge crane according to claim 1 is characterized in that: In step 3, the mathematical expression of the radial basis kernel function is as follows: Where b is the width parameter of the Gaussian radial basis kernel function; ||×|| is the norm; is a set of feature vectors; is the center value of the kernel function in the jth hidden layer neuron.

3. The IGBO-based double-stage pendulum two-dimensional bridge crane RBF neural network modeling method according to claim 1 or 2 is characterized in that: In step 4, the normalization formula used is: in is the normalized vector, They are respectively the vectors consisting of the minimum and maximum values ​​of the samples to be normalized.

4. The IGBO-based double-stage pendulum two-dimensional bridge crane RBF neural network modeling method according to claim 1 or 2 is characterized in that: In step 5, the number of hidden layer nodes h of the RBF neural network n Determined according to the following empirical formula: Among them, d L is the length of the training sample; α is a constant between [2,10]; i n is the number of input nodes of the RBF neural network; o n is the number of output nodes of the RBF neural network.

5. The RBF neural network modeling method for a two-stage pendulum two-dimensional bridge crane based on IGBO according to claim 1 is characterized in that: In step 6, the steps of the improved gradient-based optimization algorithm are: Step 6.1: Set the population size of the algorithm to nP, the probability parameter pr, the number of variables to be solved D, the constant ε, the maximum evolutionary number MaxIt, and the number of neurons in the input layer, hidden layer, and output layer of the RBF neural network to i respectively. n ,h n , o n , parameters of the loss function; Step 6.2: Initialize the population; Step 6.3: Calculate the loss function values ​​of all individuals in the population, and express the best individual and the worst individual in the current population as and Step 6.4: Randomly select four individuals from the current population and represent them as Step 6.5: Based on the random individuals selected in step 6.4 and Execute the gradient search rule on the current individual to obtain the position vector Then perform an improved global search operation to obtain the position vector Step 6.6: Based on the random individuals selected in step 6.4 and Execute the gradient search rule again on the current individual to obtain the position vector Then perform an improved local search operation to obtain the position vector Step 6.7: Position vector obtained based on improved global search and local search operation to obtain the position vector Get the updated individual position vector Step 6.8: Determine the type of local escape operator to be executed on the individual according to the random numbers r<pr and r≥pr, and obtain the updated individual after the local escape operator is updated; Step 6.9: Determine whether the maximum evolutionary generation has been reached; if the maximum evolutionary generation MaxIt has been reached, output the current optimal individual; otherwise, go to step 6.

3.

6. The RBF neural network modeling method for a two-stage pendulum two-dimensional bridge crane based on IGBO according to claim 5 is characterized in that: In step 6.3, the loss function e l Calculated according to the following formula: where λ i is the set weight, i = 1, 2, 3; d L is the length of the training sample; They are the position output of the RBF neural network model, the first-stage pendulum angle output, and the second-stage pendulum angle output.

7. The IGBO-based double-stage pendulum two-dimensional bridge crane RBF neural network modeling method according to claim 5 is characterized in that: In step 6.5, the improved global search operation is as follows: Improved global search strategy: in is the position vector to be updated; is the position vector obtained by the gradient search rule; The dimensions and position vector of Same, all its elements are random numbers between (0, 1); is a position vector randomly selected from the population; The representation of ω1,γ1 is as follows: where μ is calculated as follows: Where It is the current evolutionary generation.

8. The IGBO-based RBF neural network modeling method for a two-stage pendulum two-dimensional bridge crane according to claim 7 is characterized in that: In step 6.6, the improved local search operation is as follows: in is the current most individual position vector; ω2, γ2 are calculated in the same way as ω1, γ1.