A system and method for precise positioning control of a swing chute
By combining the BP neural network PID control system with laser radar and sensors, the chute position control is optimized, solving the problem of insufficient chute position control accuracy in intelligent loading, achieving high-precision chute position control, and improving the loading effect.
Patent Information
- Application Number
- CN202210382592.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-13
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-04-13
AI Technical Summary
The existing intelligent chute position control accuracy is insufficient and cannot reach the level of manual operation. The traditional PID control error is about ±3%, which affects the loading effect.
A PID control system based on BP neural network is used, combined with servo cylinders, proportional valves, laser radar and linear displacement sensors. The chute position control is optimized through laser positioning and displacement positioning algorithms, and the neural network is used to calculate PID control parameters to reduce errors.
The chute position control accuracy has been improved, and the error is controlled below ±1%, surpassing manual operation accuracy and improving the intelligent level of loading.
Smart Images

Figure CN115032885B
Abstract
Description
Technical Field
[0001] The invention relates to a system and method for precise positioning control of a swing chute, a system and a process method applied to an automated transport machinery, and a precise positioning control system and method for a chute of a quantitative loading station. Background Art
[0002] The fast quantitative loading system is an important part of the construction of intelligent mines. Therefore, intelligent loading technology is the core technology that needs to be broken through. At present, most material loading systems have a low degree of intelligence, and the batching and unloading process modes are relatively simple. Among them, the unloading process is particularly critical. How to accurately control the movement trajectory and movement position of the chute is the key to realizing intelligent unloading. Accurately controlling the movement trajectory of the chute can accurately put the material into the moving train car and ensure that there is no material spillage and no collision.
[0003] The shape of the swing chute is similar to a rectangular parallelepiped. During the loading process, the focus should be on the front and rear edges of the chute. Since the movement trajectory of the swing chute has two degrees of freedom, including lifting and lowering and extending and retracting, it is necessary to accurately control the relative positions of the front and rear edges of the chute and the front and rear rails of the train car in a two-dimensional plane, thereby realizing an intelligent loading process.
[0004] The existing intelligent control of chute position is still far behind the manual control accuracy and cannot reach the level of manual operation. Using traditional PID control to control the chute position, no matter how the PID parameters are optimized, the final control error is around ±3%. It is precisely because of this error that the actual loading effect will be seriously affected. How to control the chute position more accurately is a problem that needs to be solved. Summary of the invention
[0005] In order to overcome the problems of the prior art, the present invention proposes a system and method for precise positioning control of a swing chute. The system and method are based on the classic PID control, add precise control settings and optimize the chute position control technology, and control the control error to less than 1%.
[0006] The object of the present invention is achieved as follows: a system for precise positioning control of a swing chute, comprising a servo cylinder installed on the chute, wherein the servo cylinder is connected to a proportional valve and a servo hydraulic station pipeline in sequence, the servo hydraulic station is electrically connected to a central controller with a PID control subsystem based on a BP neural network, the central controller is electrically connected to a laser radar, a linear displacement sensor, and an angle sensor, and calibration points for calibrating the laser radar position are respectively arranged at the front and rear ends of the outlet of the chute.
[0007] Furthermore, the PID control subsystem based on BP neural network includes: a PID controller, a learning algorithm module, a BP neural network module, and a feedback channel including the laser radar, a linear displacement sensor, an angle sensor, a laser positioning operator and a displacement positioning operator.
[0008] Furthermore, the calibration point is a galvanized pipe installed on the left or right side of the front and rear ends of the chute outlet and extending outward.
[0009] A method for precise positioning control of a swing chute using the above system comprises the following steps:
[0010] Step 1, collect information: chute geometry, chute initial position, chute target position;
[0011] The chute dimensions include:
[0012] Step 2, chute start: open the proportional valve and start the servo hydraulic cylinder to make the chute start to swing downward and extend;
[0013] Step 3, calculate the current position of the chute: use the parameters of the laser radar and the linear displacement sensor to calculate the current position coordinate values of the front and rear edges of the chute through the laser positioning algorithm and the displacement positioning algorithm respectively, compare the position coordinate values obtained by the two calculations, and accurately determine the current position of the chute;
[0014] The laser positioning algorithm includes the following sub-steps:
[0015] Sub-step 1, determine the position relationship: determine the position relationship of each calculation element by calculating the geometric dimensions of the chute: the two-dimensional space quadrilateral formed by the rear edge of the chute outlet to the front edge, the front edge to the front calibration point, the front calibration point to the rear calibration point, and the rear calibration point to the rear edge; the swing center of the chute, and the laser radar position;
[0016] Sub-step 2, establish the coordinate system: establish three coordinate systems, coordinate system 1: take the swing center of the chute as the origin of the coordinate system, the horizontal direction is the x-axis, and the vertical direction is the y-axis; coordinate system 2: take the position of the laser radar as the origin of the coordinate system, the horizontal direction is the x-axis, and the vertical direction is the y-axis; coordinate system 3: take the midpoint of the line connecting the previous calibration point to the later calibration point as the origin of the coordinate system, the line connecting the previous calibration point to the later calibration point as the x-axis, and the line between the midpoint of the line connecting the previous calibration point to the later calibration point and the swing center of the chute as the y-axis;
[0017] Sub-step 3: Position determination process: Since the positional relationship of the four points of the rear edge to the front edge, the front edge to the front calibration point, the front calibration point to the rear calibration point, and the rear calibration point to the rear edge of the chute outlet is determined and fixed when the chute is designed, the detected front calibration point and rear calibration point can determine the precise position of the front edge and the rear edge; in coordinate system 3, the coordinates of the front edge and the rear edge can be expressed by trigonometric functions through the coordinate values of the front calibration point and the rear calibration point; in coordinate system 2, the coordinate values of the front calibration point and the rear calibration point scanned by the laser radar (the precise distance from the laser radar to the front calibration point and the rear calibration point) are used to determine the transformation formula between coordinate system 2 and coordinate system 3, and the coordinate values of the front edge and the rear edge can be transformed into coordinate system 2 through coordinate transformation; the spatial positions of coordinate system 2 and coordinate system 1 are determined and fixed by the chute design, so the coordinate values of the front edge and the rear edge can be transformed into coordinate system 1, thereby obtaining the coordinate values of the front edge and the rear edge of the chute in coordinate system 1;
[0018] Step 4, chute action feedback: compare the current position of the chute with the target position of the chute. If there is an error, the error is sent to the PID controller and BPNN, and K is calculated by BPNN. p , K i , K d The control parameters are input into the PID controller and go to step 5. If there is no error, go to step 6. At the same time, the input and output parameters of the PID controller are sent to the learning algorithm module for learning and training.
[0019] Step 5, adjust the chute action: the PID controller drives each proportional valve according to the input parameters, so that each servo cylinder moves, drives the chute to swing and extend, and returns to step 3 to continue monitoring the position of the chute;
[0020] Step 6, end: close the proportional valve, stop the servo hydraulic cylinder, and the chute reaches the target position.
[0021] Furthermore, the displacement positioning algorithm includes the following sub-steps:
[0022] Sub-step 4, determining the position coordinates of the front end of the cylinder: In coordinate system 1, the coordinates of the front end of the servo cylinder can be calculated by the extension length of the cylinder detected by the linear displacement sensor and the swing angle of the chute detected by the angle sensor;
[0023] Sub-step 5, determining the position values of the front and rear edges of the chute: the front end position of the servo cylinder and the front and rear edges of the chute form a fixed triangle, the values of the three sides of the triangle are determined and fixed by the chute design, and the angle values of the three corners of the triangle can be obtained according to the values of the three sides;
[0024] Sub-step 6, determine the coordinate values of the front and rear edges of the chute: the chute cylinder extension line divides the triangle into two triangles, and the three sides of these two triangles are fixed and determined by the chute design. The coordinate values of the front and rear edges of the chute are calculated based on the front end coordinates of the servo cylinder and the side lengths and angles of the two triangles.
[0025] The advantages and beneficial effects of the present invention are as follows: the present invention optimizes the chute position control technology. Since the swing chute is mostly driven by a hydraulic cylinder, it is necessary to use an electro-hydraulic coordinated control method to optimize the control system and improve the position control accuracy of the chute. The neural network technology is combined with PID control to construct a new controller model. In order to improve the control accuracy of the chute, a servo cylinder and a proportional valve are used to replace the original conventional cylinder and control valve. In order to improve the chute position detection accuracy, a conventional linear displacement sensor plus an angle sensor plus a laser radar two-dimensional imaging technology are used to jointly ensure the accuracy of the chute position detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.
[0027] Figure 1 is a schematic diagram of a structural diagram of a system according to Embodiment 1 of the present invention;
[0028] Figure 2 is a schematic diagram of the structure of the system according to the first embodiment of the present invention, Figure 1 Middle A-direction view;
[0029] Figure 3 is a principle block diagram of the system described in Embodiment 2 of the present invention;
[0030] Figure 4 is a block diagram of the BP NN neural network structure of the system described in the second embodiment of the present invention;
[0031] Figure 5 is a flow chart of the method described in Embodiment 4 of the present invention;
[0032] Figure 6 is a coordinate schematic diagram of the laser positioning algorithm described in the fourth embodiment of the present invention;
[0033] Figure 7 It is a coordinate diagram of the displacement positioning algorithm described in Example 5 of the present invention. DETAILED DESCRIPTION
[0034] Embodiment 1:
[0035] This embodiment is a system for precise positioning control of a swing chute. Figure 1 , 2This embodiment includes a telescopic servo cylinder 1 and a swing traction servo cylinder 2, the telescopic servo cylinder and the swing servo cylinder are respectively connected to their respective proportional valves, each proportional valve is connected to the servo hydraulic station pipeline, the servo hydraulic station is electrically connected to a central controller with a PID control subsystem based on a BP neural network, the central controller is electrically connected to a laser radar 3, a linear displacement sensor 4, and an angle sensor 5, and the front and rear ends of the outlet of the chute are respectively provided with calibration points for laser radar calibration positions, including a front calibration point 201 and a rear calibration point 202.
[0036] The swing chute described in this embodiment is a device installed on the automatic loading station for bulk materials, which is specially used to guide the materials dropped from the weighing bin into the carriage. The swing chute usually includes a swing part 6 and a telescopic part 7. The swing of the swing chute usually relies on the traction of a winch and a steel rope. This traditional traction method is not accurate and cannot meet the requirements of intelligent loading. Therefore, this embodiment uses a servo cylinder with precise positioning capability as the power source for the swing of the traction chute. The telescopic servo cylinder is driven by the telescopic servo cylinder, and the telescopic servo cylinder is installed on both sides of the telescopic part of the swing chute.
[0037] The shape of the swing chute is similar to a rectangular parallelepiped. During the loading process, the focus should be on the front and rear edges of the chute. Since the motion trajectory of the swing chute has two degrees of freedom, including lifting and lowering and extending and retracting, it is necessary to accurately control the relative positions of the front and rear edges of the chute and the front and rear rails of the train car in a two-dimensional plane, thereby realizing an intelligent loading process.
[0038] In order to accurately calculate the position of the front and rear edges of the swinging chute, this embodiment sets the swing center of the swinging chute as the base point, establishes a two-dimensional plane coordinate, and calculates the precise position coordinates of the front and rear edges of the swinging chute through two sets of computing devices including a laser radar and a laser positioning operator and a linear displacement sensor, an angle sensor and a displacement positioning operator.
[0039] The purpose of setting up two sets of computing devices is to improve the reliability of computing. In the actual loading process, due to the influence of dust, the laser beam of the laser radar is often weakened or even completely blocked, and the linear displacement sensor and angle sensor are also affected by the fast-flowing materials and produce errors. Therefore, setting up two sets of measurement and computing devices can eliminate the measurement influence caused by interference factors and generate accurate position results.
[0040] In order to accurately determine the leading and trailing edges of the swing chute, this embodiment optimizes the chute position control technology based on the classic PID control, that is, the control system is optimized using the electro-hydraulic coordinated control method, the neural network technology is combined with the PID control, a new controller model is constructed, and the servo cylinder and proportional valve are used to replace the original conventional cylinder and control valve to further improve the chute position detection accuracy. The two sets of measurement and calculation devices mentioned above ensure the accuracy of the swing chute position detection. The control model is constructed by combining the neural network with the PID control, and the chute position control accuracy can be increased to ±0.5%.
[0041] The calibration points are markers installed at the front and rear edges of the swing chute outlet to reflect the laser beam under the irradiation of the laser radar, thereby determining the precise position of the front and rear edges of the swing chute outlet. The calibration points must be made of materials with good reflective properties and have isotropic reflective properties in two-dimensional space. Simply put, a circular object in two-dimensional space should be a disk or a round rod in three-dimensional space.
[0042] The PID control subsystem of the BP neural network can be a finished PID controller with BP, or a device combining a PID controller with a software module. The software module can be installed in a central controller. The central controller is an electronic device with computing and storage functions, and can be an industrial PC or other corresponding electronic device.
[0043] The laser radar, linear displacement sensor and angle sensor can adopt mature products on the market to reduce costs and reduce failure rates.
[0044] The "front and rear" mentioned in this embodiment and the following embodiments refer to: the part of the swing chute outlet that first contacts the front edge of the car body is the "front edge", and the part of the swing chute outlet opposite to the "front edge" is the "rear edge"; the "left and right" mentioned are determined according to the left and right of a normal vehicle, that is, the left and right are determined according to the driver's seat facing the front of the vehicle.
[0045] Embodiment 2:
[0046] This embodiment is an improvement of the first embodiment, and is a refinement of the PID control subsystem of the first embodiment. The PID control subsystem based on the BP neural network described in this embodiment includes: a PID controller, a learning algorithm module, a BP neural network module, and a feedback channel including the laser radar, a linear displacement sensor, an angle sensor, a laser positioning operator, and a displacement positioning operator, such as Figure 3 shown.
[0047] This embodiment can be simplified as a classic negative feedback system, except that this embodiment adds the calculation and learning of PID control parameters by the BP neural network, and uses artificial intelligence to solve uncertainties in the calculation, making the PID control more accurate.
[0048] The PID controller can be a conventional controller, and the BP neural network module and the learning algorithm module can be software modules or specially designed hardware chips.
[0049] Figure 3 middle, y r is the target position value of the chute, y is the current position value of the chute, e is the feedback error, u is the output value of the PID controller, BP NN is the neural network, and its structure diagram is as follows: Figure 4 As shown, Kp, Ki, and Kd are three parameters of the PID controller, which are calculated by the neural network algorithm.
[0050] The structural diagram of BP NN neural network is as follows Figure 4 As shown, X=(x1,x2,....x n ) T , is the input feature vector, Y=(y1,y2,....y n ) T is the output feature vector, ω ij is the connection weight from the input layer to the first hidden layer, ω jl is the connection weight from the first layer to the second layer, ω lh is the connection weight from the second layer to the third layer. In this embodiment, the input feature vector is the difference between the target position coordinates and the current position coordinates of the front and rear edges of the chute; the output feature vector is the three parameters of the PID controller.
[0051] The laser positioning operator and displacement positioning operator are devices that use plane geometry and trigonometric functions to calculate coordinates. This device can quickly swing the precise position of the front and rear edges of the chute outlet through extremely simple trigonometric functions. The advantage of using this calculation method is that it can greatly save computing resources. The two operators can be compiled as software modules and installed in digital electronic computing equipment on site, or special hardware chips can be designed. Since the calculation process is very simple, both the software module and the hardware chip have very simple structures, so that the digital electronic computing equipment installed on site can also be very simple, which can greatly reduce the overall cost of the equipment.
[0052] Embodiment three:
[0053] This embodiment is an improvement of the above embodiment and a refinement of the calibration points in the above embodiment. The calibration points described in this embodiment are galvanized pipes installed on the left or right side of the front and rear ends of the chute outlet and extending outward.
[0054] The calibration point described in this embodiment is a line in three-dimensional space, and there is a line formed by a pipe. Since the surface of the galvanized pipe has been treated, the surface has strong reflective properties, and the cross-sectional shape of the pipe is a circle in a two-dimensional plane, which meets the isotropic properties of two-dimensional plane reflection.
[0055] Embodiment 4:
[0056] This embodiment is a method for precise positioning control of a swing chute using the system described in the above embodiment. The core of the method is to use two sets of measurement and calculation devices. Both sets of calculation devices use the calculation method of plane geometry and its trigonometric functions. The two sets of measurement and calculation devices verify each other, eliminate interference factors, and achieve the purpose of accurate measurement. Since the calculation process is very simple, it can be implemented in simple digital electronic equipment, greatly reducing the overall cost. At the same time, the calculation learning function of the PB NN neural network is used to further improve the control accuracy of PID.
[0057] The method described in this embodiment specifically includes the following steps, and the process is shown in FIG. Figure 5 :
[0058] Step 1, collect information: chute geometry, chute initial position, chute target position.
[0059] The information described in this embodiment is the geometric dimensions that have been determined when the swing chute is designed, as well as the coordinate positions in the coordinate system x1Oy1 with the swing center of the swing chute as the origin. The chute dimensions include: the distance gb from the front end of the telescopic servo cylinder to the front edge of the chute outlet (see Figure 7 ), the distance from the front end of the telescopic servo cylinder to the rear edge of the swing chute outlet ga, the distance between the front and rear edges of the swing chute ab, the distance OD from the laser radar to the swing center of the swing chute, the coordinate position of the laser radar in the coordinate system x1Oy1, the distance BA from the front calibration point to the rear calibration point, and the distance Bb from the front calibration point to the front edge of the swing chute outlet (see Figure 6 ), the distance Aa from the rear marking point to the rear edge of the swing chute outlet.
[0060] In order to facilitate calculation, the midpoint C between the two calibration points A and B can be connected to the origin O of the coordinate system x1Oy1, and the connecting line CO is perpendicular to AB, such as Figure 6 shown.
[0061] Step 2, chute start: open the proportional valve and start each servo hydraulic cylinder to make the chute start to swing downward and extend.
[0062] The initial position of the swing chute is usually when the telescopic servo cylinder movement direction line is horizontal or nearly horizontal, and the cylinder rods of the swing traction servo cylinder and the telescopic servo cylinder are both in a retracted state. When the swing chute is started, the cylinder rod of the swing traction servo cylinder begins to extend, causing the telescopic part of the chute to move downward, and the cylinder rod of the telescopic servo cylinder also extends to extend the telescopic part of the chute.
[0063] Step 3, calculate the current position of the chute: use the parameters of the laser radar and linear displacement sensor to calculate the current position coordinate values of the front and rear edges of the chute through the laser positioning algorithm and the displacement positioning algorithm respectively, compare the position coordinate values obtained by the two calculations, and accurately determine the current position of the chute.
[0064] This step uses two measurement methods to calculate the current position and coordinates of the chute: laser positioning algorithm and displacement positioning algorithm.
[0065] The laser positioning algorithm includes the following sub-steps:
[0066] Sub-step 1, determine the position relationship: determine the position relationship of each calculation element by calculating the geometric dimensions of the chute: the two-dimensional space quadrilateral ABba formed by the rear edge of the chute outlet to the front edge ab, the front edge to the front calibration point bB, the front calibration point to the rear calibration point BA, and the rear calibration point to the rear edge Aa; the swing center O of the chute, the laser radar position D, such as Figure 6 shown.
[0067] Two galvanized pipes with a length of 1m and a diameter of 40mm are welded on the side of the chute. The galvanized pipes are used as calibration points for laser radar scanning. The welding positions of the two galvanized pipes need to be determined according to actual needs. In practical applications, the galvanized pipes are as close to the front and rear edges of the chute as possible and will not be bumped by surrounding objects. In order to facilitate data processing, the position points of the two galvanized pipes and the center point of the chute rotation form an isosceles triangle AOB, as shown in Figure 1 As shown. Among them, points B and A are the positions of the front and rear calibration points, and points b and a are the positions of the front and rear chute edges. It should be noted that the calibration point and the front and rear edges of the chute are both a line, but in the two-dimensional coordinate system of the chute movement, it is a point.
[0068] Sub-step 2, establish coordinate systems: establish three coordinate systems, coordinate system 1 (x1Oy1): take the swing center O of the chute as the origin of the coordinate system, the horizontal direction is the x-axis, and the vertical direction is the y-axis; coordinate system 2 (x2Dy2): take the position D of the laser radar as the origin of the coordinate system, the horizontal direction is the x-axis, and the vertical direction is the y-axis; coordinate system 3 (x3Cy3): take the midpoint C of the line connecting the previous calibration point to the later calibration point as the origin of the coordinate system, the line connecting the previous calibration point to the later calibration point as the x-axis, and the line connecting the midpoint of the line connecting the previous calibration point to the later calibration point and the swing center of the chute as the y-axis. The y-axis is actually the height of the isosceles triangle ΔAOB, as shown in Figure 6shown.
[0069] The scanning point of the multi-line laser radar falls on the galvanized pipe (mark point), which will form several short laser dot lines. The dot lines have obvious spatial coordinate characteristics. The spatial coordinate position of the galvanized pipe can be easily obtained through laser point cloud clustering classification and data filtering (x2 A , y2 A ), (x2 B , y2 B ). The coordinate system established based on the center position of the laser radar is as follows Figure 6 Coordinate system 2 in the figure, wherein coordinate system 1 is the coordinate system centered on the center point of rotation of the chute, and coordinate system 3 is the coordinate system centered on the midpoint of the line connecting the two calibration points.
[0070] Sub-step 3: Position determination process: Since the positional relationship of the four points of the rear edge to the front edge, the front edge to the front calibration point, the front calibration point to the rear calibration point, and the rear calibration point to the rear edge of the chute outlet is determined and fixed when the chute is designed, the detected front calibration point and rear calibration point can determine the precise position of the front edge and the rear edge; in coordinate system 3, the coordinates of the front edge and the rear edge can be expressed by trigonometric functions through the coordinate values of the front calibration point and the rear calibration point; in coordinate system 2, the coordinate values of the front calibration point and the rear calibration point scanned by the laser radar (the precise distance from the laser radar to the front calibration point and the rear calibration point) are used to determine the transformation formula between coordinate system 2 and coordinate system 3, and through the coordinate transformation, the coordinate values of the front edge and the rear edge can be transformed into coordinate system 2; the spatial positions of coordinate system 2 and coordinate system 1 are determined and fixed by the chute design, so the coordinate values of the front edge and the rear edge can be transformed into coordinate system 1, thereby obtaining the coordinate values of the front edge and the rear edge of the chute in coordinate system 1.
[0071] The four points A, B, a, and b form a quadrilateral ABba in two-dimensional space, and the lengths of its four sides are the fixed dimensions of the chute design. In coordinate system 3, the coordinates of a and b can be obtained by (x3 A ,y3 A )、(x3 B ,y3 B ) The coordinate values are expressed by trigonometric functions. In coordinate system 2, the coordinate values of A and B scanned by the laser radar are used to determine the transformation formula between coordinate system 2 and coordinate system 3. Through coordinate transformation, the coordinate values of points a and b can be transformed into coordinate system 2. The spatial positions of coordinate system 2 and coordinate system 1 are also the dimensions determined when the chute is designed. Therefore, the coordinate values of points a and b can be transformed into coordinate system 1, thereby obtaining the spatial position of the edge of the chute.
[0072] The displacement positioning algorithm actually adopts the combined action of a displacement sensor and an angle sensor to measure the positions of the front and rear edges of the chute, which can be calculated by a geometric method or by an analytical geometric method of a coordinate system.
[0073] The position parameters obtained by the two calculation methods usually have certain errors. The two parameters can be calculated using the average method, and the weight method is used to calculate the final accurate value.
[0074] Step 4, chute action feedback: compare the current position of the chute with the target position of the chute. If there is an error, the error is sent to the PID controller and BPNN, and K is calculated by BPNN. p , K i , K d The control parameters are input into the PID controller and go to step 5. If there is no error, go to step 6. At the same time, the input and output parameters of the PID controller are sent to the learning algorithm module for learning and training.
[0075] The existing automatic control of the chute position is still far behind the manual control accuracy. The traditional PID control is used to control the chute position. No matter how the PID parameters are optimized, the final control error is about ±3%. It is precisely because of such an error that the actual loading effect will be seriously affected. For this reason, this step adds a neural network artificial intelligence processing method on the basis of traditional PID control to optimize the PID control parameters and form a more accurate control strategy, so that the automatic control accuracy reaches or even exceeds the accuracy of manual control.
[0076] Step 5, adjust the chute action: The PID controller drives each proportional valve according to the input parameters, activates each servo cylinder, drives the chute to swing and extend, and returns to step 3 to continue monitoring the position of the chute.
[0077] The control of the chute position is actually carried out continuously. It is a way of implementing monitoring and requires more computing resources. In order to solve the problem of excessive occupation of computing resources, this embodiment adopts a simple geometric algorithm to simplify the calculation process, thereby saving computing resources and speeding up the calculation speed.
[0078] Step 6, end: close the proportional valve, stop the servo hydraulic cylinder, and the chute reaches the target position.
[0079] When the chute reaches the specified position, the control process ends.
[0080] Embodiment five:
[0081] This embodiment is an improvement of the fourth embodiment, and is a refinement of the displacement positioning algorithm of the fourth embodiment. The displacement positioning algorithm described in this embodiment:
[0082] In this embodiment, the coordinate system is set to x1Oy1. Figure 7The front end of the oil cylinder and the front and rear edges of the chute form a triangle Δabg, the specific coordinates of which can be determined by the extension length of the oil cylinder ( Figure 7 Og line) and the swing angle θ1 (see Figure 7 The position of the front end g of the cylinder and the front and rear edges b and a of the chute form a fixed triangle Δabg. The values of the three sides of this triangle are the fixed dimensions of the chute design. The angle values of the three angles of the triangle can be obtained according to the values of the three sides. The extension line Ogd in the telescopic direction of the chute cylinder can divide the triangle Δabg into two triangles Δagd and Δbgd. The three sides of the two triangles are also determined by the chute design and can be obtained by actual measurement. Therefore, the value of θ2 can be calculated from the three sides of the side triangle Δbgd. The front edge coordinates of the chute can be calculated from the front end coordinates g of the cylinder and the angle value of (θ1-θ2). Similarly, the rear edge coordinates of the chute can also be calculated by the same method.
[0083] The specific steps are as follows:
[0084] Sub-step 4, determine the position coordinates of the front end of the cylinder: In coordinate system 1 (x1Oy1), the coordinate g of the front end of the servo cylinder can be calculated by the cylinder extension length detected by the linear displacement sensor and the chute swing angle detected by the angle sensor.
[0085] Sub-step 5, determining the position values of the front and rear edges of the chute: the front end position g of the servo cylinder and the front edge b and rear edge a of the chute form a fixed triangle Δabg, the values of the three sides of the triangle are fixed by the chute design, and the angle values of the three corners of the triangle can be obtained according to the values of the three sides.
[0086] Sub-step 6, determine the coordinate values of the front and rear edges of the chute: the chute cylinder extension line divides the triangle Δabg into two triangles Δagd and Δbgd. The three sides of these two triangles are fixed and determined by the chute design. The coordinate values of the front and rear edges of the chute are calculated based on the g coordinates of the front end of the servo cylinder and the side lengths and angles of the two triangles.
[0087] Finally, it should be noted that the above is only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred arrangement scheme, a person of ordinary skill in the art should understand that the technical solution of the present invention (such as the installation position of sensors and cylinders, the application of various formulas, the sequence of steps, etc.) can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for precise positioning control of a swing chute, the method comprising a servo oil cylinder installed on the chute, the servo oil cylinder being connected to a proportional valve and a servo hydraulic station pipeline in sequence, the servo hydraulic station being electrically connected to a central controller with a PID control subsystem based on a BP neural network, the central controller being electrically connected to a laser radar, a linear displacement sensor, and an angle sensor, the front and rear ends of the outlet of the chute being respectively provided with calibration points for calibrating the position of the laser radar; the PID control subsystem based on a BP neural network comprising: PID controller, learning algorithm module, BP neural network module, and feedback channel including the laser radar, linear displacement sensor, angle sensor, laser positioning operator and displacement positioning operator, the calibration point is installed on the galvanized pipe extending outward on the left or right side of the front and rear ends of the chute outlet; characterized in that it includes the following steps: Step 1, collect information: chute geometry, chute initial position, chute target position; The chute dimensions include: Step 2, chute start: open the proportional valve and start the servo hydraulic cylinder to make the chute start to swing downward and extend; Step 3, calculate the current position of the chute: use the parameters of the laser radar and the linear displacement sensor to calculate the current position coordinate values of the front and rear edges of the chute through the laser positioning algorithm and the displacement positioning algorithm respectively, compare the position coordinate values obtained by the two calculations, and accurately determine the current position of the chute; The laser positioning algorithm includes the following sub-steps: Sub-step 1, determine the position relationship: determine the position relationship of each calculation element by calculating the geometric dimensions of the chute: the two-dimensional space quadrilateral formed by the rear edge of the chute outlet to the front edge, the front edge to the front calibration point, the front calibration point to the rear calibration point, and the rear calibration point to the rear edge; the swing center of the chute, and the laser radar position; Sub-step 2, establish the coordinate system: establish three coordinate systems, coordinate system 1: take the swing center of the chute as the origin of the coordinate system, the horizontal direction is the x-axis, and the vertical direction is the y-axis; coordinate system 2: take the position of the laser radar as the origin of the coordinate system, the horizontal direction is the x-axis, and the vertical direction is the y-axis; coordinate system 3: take the midpoint of the line connecting the previous calibration point to the later calibration point as the origin of the coordinate system, the line connecting the previous calibration point to the later calibration point as the x-axis, and the line between the midpoint of the line connecting the previous calibration point to the later calibration point and the swing center of the chute as the y-axis; Sub-step 3: Position determination process: Since the positional relationship of the four points of the rear edge to the front edge, the front edge to the front calibration point, the front calibration point to the rear calibration point, and the rear calibration point to the rear edge of the chute outlet is determined and fixed when the chute is designed, the detected front calibration point and rear calibration point can determine the precise position of the front edge and the rear edge; in coordinate system 3, the coordinates of the front edge and the rear edge are expressed by trigonometric functions through the coordinate values of the front calibration point and the rear calibration point; in coordinate system 2, the coordinate values of the front calibration point and the rear calibration point scanned by the laser radar, that is: the precise distance of the front calibration point and the rear calibration point is measured by the laser radar, the coordinates of the front calibration point and the rear calibration point are calculated, and the transformation formula between coordinate system 2 and coordinate system 3 is determined. Through the coordinate transformation, the coordinate values of the front edge and the rear edge are transformed into coordinate system 2; the spatial positions of coordinate system 2 and coordinate system 1 are determined and fixed by the chute design, so the coordinate values of the front edge and the rear edge are transformed into coordinate system 1, so that the coordinate values of the front edge and the rear edge of the chute are obtained in coordinate system 1; Step 4, chute action feedback: compare the current position of the chute with the target position of the chute. If there is an error, the error is sent to the PID controller and BP neural network, and the BP neural network calculates K p , K i , K d The control parameters are input into the PID controller and go to step 5. If there is no error, go to step 6. At the same time, the input and output parameters of the PID controller are sent to the learning algorithm module for learning and training. Step 5, adjust the chute action: the PID controller drives each proportional valve according to the input parameters, so that each servo cylinder moves, drives the chute to swing and extend, and returns to step 3 to continue monitoring the position of the chute; Step 6, end: close the proportional valve, stop the servo hydraulic cylinder, and the chute reaches the target position.
2. The method according to claim 1, characterized in that The displacement positioning algorithm includes the following sub-steps: Sub-step 4, determining the position coordinates of the front end of the cylinder: In coordinate system 1, the coordinates of the front end of the servo cylinder can be calculated by the extension length of the cylinder detected by the linear displacement sensor and the swing angle of the chute detected by the angle sensor; Sub-step 5, determining the position values of the front and rear edges of the chute: the front end position of the servo cylinder and the front and rear edges of the chute form a fixed triangle, the values of the three sides of the triangle are determined and fixed by the chute design, and the angle values of the three corners of the triangle are obtained according to the values of the three sides; Sub-step 6, determine the coordinate values of the front and rear edges of the chute: the chute cylinder extension line divides the triangle into two triangles, and the three sides of these two triangles are fixed and determined by the chute design. The coordinate values of the front and rear edges of the chute are calculated based on the front end coordinates of the servo cylinder and the side lengths and angles of the two triangles.
