Control method based on jacking mechanism and control system thereof

By combining the fuzzy PID algorithm with the PI controller, combined with the motor Hall sensor to obtain the number and speed of the rotors, and calculating the pulse modulation waveform, the problems of position uncertainty and photoelectric signal failure of the jacking mechanism are solved, and precise angle control and equipment are realized. The service life is extended and the control accuracy and system robustness are improved.

CN118672137AInactive Publication Date: 2024-09-20QINGDAO WEICHEN ZHICHEN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410689822.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing control method of the jacking mechanism has problems such as position uncertainty, response time delay and photoelectric signal failure, resulting in inaccurate control and shortened equipment service life.

Method used

The fuzzy PID algorithm is combined with the PI controller to obtain the number and speed of the rotors through the motor Hall sensor, calculate the pulse modulation waveform, and achieve precise angle control. When the photoelectric is damaged, the software program is used to avoid stalling and extend the service life of the electric drum. .

Benefits of technology

It achieves adaptive initialization and precise positioning, improves control accuracy and system robustness, ensures stable motion control under different load conditions, extends equipment service life and improves safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118672137A
    Figure CN118672137A
Patent Text Reader

Abstract

The invention relates to a control method and system based on a jacking mechanism, and the method comprises the following steps: 1), obtaining the rotation range of a rotor of an electric roller which drives the jacking mechanism to lift, and calculating the maximum stroke of the operation of the electric roller; 2) calculating and controlling the output pulse modulation waveform through a fuzzy PID algorithm to obtain a pulse signal; and (3) driving the electric roller to accurately reach the ascending or descending position based on the pulse signal obtained in the step (2). The method has the advantages that self-adaptive initialization and accurate positioning are achieved, the problem of position uncertainty after power-on is solved, and the accuracy of the starting point of each operation is ensured. And in combination with the use of a motor Hall sensor, the position detection precision is further improved, and the accuracy of subsequent control is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a control method based on a jacking mechanism and a control system thereof, belonging to the field of industrial control. Background Art

[0002] The existing control method of the lifting mechanism is to connect the input signals of two extreme photoelectrics to the PLC or other IO system, and control the operation and stop of the electric drum through the input status of the two photoelectric signals. Since there is a certain delay in the acquisition and transmission of the photoelectric signal, the response time of the entire system is affected.

[0003] The rotation angle of the existing lifting mechanism is positioned by two extreme photoelectric sensors. The final rotation angle of the lifting is affected by factors such as the installation position and response cycle of the workers, making the control of the rotation angle inaccurate. This device forms a closed-loop control method between the required rotation angle of the electric drum and the actual rotation angle through the driver, making each rotation angle more accurate.

[0004] The existing lifting mechanism realizes limit control through limit photoelectric and block. If the photoelectric is damaged, the block will trigger the stall of the electric roller, which will affect the service life of the electric roller. This device realizes limit control through software program, limit photoelectric and block. If the photoelectric is damaged, the program can realize precise angle control and will not trigger the stall of the electric roller, thus increasing the service life of the electric roller. Summary of the invention

[0005] In order to overcome the defects of the prior art, the present invention provides a control method based on a jacking mechanism. The technical solution of the present invention is:

[0006] A control method based on a jacking mechanism comprises the following steps:

[0007] 1) Obtain the rotor rotation range of the motor that drives the lifting mechanism to rise and fall, and calculate the maximum stroke of the electric drum;

[0008] 2) Calculate the pulse modulation waveform of the control output through the fuzzy PID algorithm and PI controller to obtain the pulse signal;

[0009] 3) Based on the pulse signal obtained in step 2), the electric roller is driven to accurately reach the rising or falling position.

[0010] The step 1) is specifically as follows:

[0011] 1.1) Due to the initial power-on, the initial position of the electric roller is uncertain. After power-on, it rotates in one direction to trigger a photoelectric or stall for a fixed time, then stops and records the current position; then rotates in the opposite direction to trigger another photoelectric or stall for a fixed time, and records the number of rotors that rotate. The difference is the number of rotors that the motor needs to rotate;

[0012] 1.2) Use the motor Hall sensor to obtain the number of rotors rotating in the motor, and calculate the number of revolutions that the motor can rotate according to the number of rotors and the number of motor pole pairs; calculate the maximum angle of the reciprocating motion of the electric roller according to the number of revolutions that the motor can rotate and the reduction ratio; calculate the maximum stroke that the electric roller can run according to the maximum angle of the reciprocating motion of the electric roller and the electric roller model, specifically:

[0013] The maximum number of revolutions that the motor can run = the number of rotors that the motor rotates / (the number of motor pole pairs * 6); the rotation angle of the electric roller = the maximum number of revolutions that the motor can run / the reduction ratio of the electric roller * 360;

[0014] The maximum travel distance that the electric roller can run = the rotation angle of the electric roller / 360*(2*π*radius of the electric roller).

[0015] The step 2) is specifically as follows:

[0016] 2.1) Fuzzification: The maximum rising angle of the electric roller is 180°. During the rising process, the step angle of the electric roller to be rotated is calculated according to the speed. The error e between the target angle of rotation and the actual angle of rotation and the rate of change of e de / dt are used as the input of the fuzzy controller. The domain range is defined as [-90°, 90°], and the membership function uses the triangular membership function; the triangular membership function formula is as follows:

[0017]

[0018] Among them, a, b and c represent the left endpoint, peak point and right endpoint of the triangle respectively;

[0019] 2.2) Fuzzy reasoning: According to the membership of e and the membership of de / dt, combined with the Kp reasoning table, Ki reasoning table and Kd reasoning table, the membership values ​​of the three PID parameters Kp, Ki and Kd are obtained; among which, the Kp reasoning table:

[0020]

[0021]

[0022] Ki inference table:

[0023]

[0024] Kd inference table:

[0025]

[0026] 2.3) Defuzzification: After obtaining the membership degree of each PID parameter, the centroid method is used to calculate the final coefficient value of the item;

[0027] The centroid method calculation formula is as follows:

[0028] Z is the final coefficient value after defuzzification, u(z r ) is z r The membership value, z r is the value of the fuzzy set; the specific calculation method is:

[0029] 2.3.1) Obtain the current position and true speed of the motor rotor based on multiple Hall position sensors;

[0030] 2.3.2) Calculate the angle step value of the electric roller, and calculate the number of rotors that the motor needs to rotate according to the angle that the electric roller needs to rotate;

[0031] 2.3.3) Obtaining the output duty cycle of the motor according to the number of rotors to be rotated by the motor and the reference speed of the motor;

[0032] 2.3.4) Due to the different weights of the goods, the fuzzy PID algorithm is used to calculate the PID parameter values ​​during the rising and falling processes, and then the PI regulator is used to adjust the duty cycle to be output according to the reference speed, and the pulse modulated output signal is obtained according to the output duty cycle.

[0033] The adjustment formula of the PI regulator in step 2.3.4) is: duty cycle = previous duty cycle + Kp*(speed value deviation - previous speed value deviation) + Ki*speed value deviation.

[0034] A control system for realizing a control method based on a lifting mechanism, comprising a frame, an electric roller and an electric roller driver for driving the electric roller to rotate are mounted on the frame, a descent limit photoelectric sensor is mounted on the frame on one side of the electric roller, and a rise limit photoelectric sensor is mounted on the frame on the other side of the electric roller, the descent limit photoelectric sensor is connected to the input port of the descent limit photoelectric sensor of the electric roller driver, the rise limit photoelectric sensor is connected to the input port of the upper descent limit photoelectric sensor of the electric roller driver, the control input signal terminal, the rise limit output signal terminal and the descent limit output signal terminal of the electric roller driver are all connected to a PLC; a photoelectric detection baffle is mounted on the electric roller, and the photoelectric detection baffle rotates with the rotation of the electric roller; the lifting mechanism mounted on the frame is driven by the electric roller, and the lifting mechanism is guided by a guide column.

[0035] The advantages of the present invention are:

[0036] 1. Adaptive initialization and precise positioning: It solves the problem of position uncertainty after power-on and ensures the accuracy of the starting point of each operation. Combined with the use of motor Hall sensors, the accuracy of position detection is further improved, ensuring the accuracy of subsequent control.

[0037] 2. Application of fuzzy PID algorithm: By processing the error (e) and its rate of change (de / dt) through fuzzy logic, dynamic adjustment of control parameters (Kp, Ki, Kd) is achieved. This not only improves the robustness of the system, but also makes the control process smoother and more responsive, especially when rapid adjustment is required to cope with load changes or external interference; it simplifies the design complexity of the controller while maintaining the optimization and adaptability of the control effect.

[0038] 3. Dynamic adjustment capability: Considering the impact of changes in cargo weight on the ascending and descending process, this control method can adjust the output duty cycle in real time through the combination of fuzzy PID algorithm and PI regulator to ensure that the electric roller can achieve stable and efficient motion control under different load conditions. This dynamic adjustment capability is crucial to improving the versatility and efficiency of the system.

[0039] 4. Improve system efficiency and safety: By precisely controlling the movement stroke and speed of the electric roller, unnecessary energy consumption is reduced and the safety of the operation is improved. Especially in applications such as logistics and manufacturing that require precise position control, it can effectively avoid safety hazards such as overload and collision, and protect the safety of equipment and personnel. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic diagram of the process of the present invention.

[0041] Figure 2 yes Figure 1 Get the electric roller travel flow chart.

[0042] Figure 3 yes Figure 1 Flowchart of PID fuzzy algorithm.

[0043] Figure 4 It is a structural schematic diagram of the control system of the present invention. DETAILED DESCRIPTION

[0044] The present invention will be further described below in conjunction with specific embodiments, and the advantages and features of the present invention will become clearer as the description proceeds. However, these embodiments are exemplary only and do not constitute any limitation to the scope of the present invention. It should be understood by those skilled in the art that the details and forms of the technical solution of the present invention may be modified or replaced without departing from the spirit and scope of the present invention, but these modifications and replacements all fall within the scope of protection of the present invention.

[0045] See also Figures 1 to 4 The present invention relates to a control method based on a jacking mechanism, comprising the following steps:

[0046] 1) Obtain the rotor rotation range of the motor that drives the lifting mechanism to rise and fall, and calculate the maximum stroke of the electric drum;

[0047] 2) Calculate the pulse modulation waveform of the control output through the fuzzy PID algorithm and PI controller to obtain the pulse signal;

[0048] 3) Based on the pulse signal obtained in step 2), the electric roller is driven to accurately reach the rising or falling position.

[0049] The step 1) is specifically as follows:

[0050] 1.1) Due to the initial power-on, the initial position of the electric roller is uncertain. After power-on, it rotates in one direction to trigger a photoelectric or stall for a fixed time, then stops and records the current position; then rotates in the opposite direction to trigger another photoelectric or stall for a fixed time, and records the number of rotors that rotate. The difference is the number of rotors that the motor needs to rotate;

[0051] 1.2) Use the motor Hall sensor to obtain the number of rotors rotating in the motor, and calculate the number of revolutions that the motor can rotate according to the number of rotors and the number of motor pole pairs; calculate the maximum angle of the reciprocating motion of the electric roller according to the number of revolutions that the motor can rotate and the reduction ratio; calculate the maximum stroke that the electric roller can run according to the maximum angle of the reciprocating motion of the electric roller and the electric roller model, specifically:

[0052] The maximum number of revolutions that the motor can run = the number of rotors that the motor rotates / (the number of motor pole pairs * 6); the rotation angle of the electric roller = the maximum number of revolutions that the motor can run / the reduction ratio of the electric roller * 360;

[0053] The maximum travel distance that the electric roller can run = the rotation angle of the electric roller / 360*(2*π*radius of the electric roller).

[0054] The step 2) is specifically as follows:

[0055] 2.1) Fuzzification: The maximum rising angle of the electric roller is 180°. During the rising process, the step angle of the electric roller to be rotated is calculated according to the speed. The error e between the target angle of rotation and the actual angle of rotation and the rate of change of e de / dt are used as the input of the fuzzy controller. The domain range is defined as [-90°, 90°], and the membership function uses the triangular membership function; the triangular membership function formula is as follows:

[0056]

[0057] Among them, a, b and c represent the left endpoint, peak point and right endpoint of the triangle respectively;

[0058] The domain range table is as follows:

[0059] NB NM NS Z0 PS PM PB -90° -60° -30° 0 30° 60° 90°

[0060] Among them, N stands for Negative; P stands for Positive; B stands for Big; M stands for Middle; S stands for Small.

[0061] 2.2) Fuzzy reasoning: According to the membership of e and the membership of de / dt, combined with the Kp reasoning table, Ki reasoning table and Kd reasoning table, the membership values ​​of the three PID parameters Kp, Ki and Kd are obtained; among which, the Kp reasoning table:

[0062]

[0063]

[0064] Ki inference table:

[0065]

[0066] Kd inference table:

[0067]

[0068] 2.3) Defuzzification: After obtaining the membership degree of each PID parameter, the centroid method is used to calculate the final coefficient value of the item;

[0069] The centroid method calculation formula is as follows: Z is the final coefficient value after defuzzification, u(z r ) is z r The membership value, z r is the value of the fuzzy set; the specific calculation method is:

[0070] 2.3.1) Obtain the current position and true speed of the motor rotor based on multiple Hall position sensors;

[0071] 2.3.2) Calculate the angle step value of the electric roller, and calculate the number of rotors that the motor needs to rotate according to the angle that the electric roller needs to rotate;

[0072] 2.3.3) Obtaining the output duty cycle of the motor according to the number of rotors to be rotated by the motor and the reference speed of the motor;

[0073] 2.3.4) Due to the different weights of the goods, the fuzzy PID algorithm is used to calculate the PID parameter values ​​during the rising and falling processes, and then the PI regulator is used to adjust the duty cycle to be output according to the reference speed, and the pulse modulated output signal is obtained according to the output duty cycle.

[0074] The adjustment formula of the PI regulator in step 2.3.4) is: duty cycle = previous duty cycle + Kp*(speed value deviation - previous speed value deviation) + Ki*speed value deviation.

[0075] like Figure 4 As shown, the present invention also relates to a control system for realizing a control method based on a lifting mechanism, comprising a frame 7, on which an electric roller 3 and an electric roller driver 4 for driving the electric roller 3 to rotate are mounted, a descent limit photoelectric sensor 1 is mounted on the frame on one side of the electric roller 3, and a rise limit photoelectric sensor 2 is mounted on the frame on the other side of the electric roller 3, the descent limit photoelectric sensor 1 is connected to an input port 401 of the descent limit photoelectric sensor 1 of the electric roller driver 4, the rise limit photoelectric sensor 2 is connected to an input port 402 of the upper descent limit photoelectric sensor 2 of the electric roller driver 4, and the control input signal terminal 403, the rise position output signal terminal 404 and the descent position output signal terminal 405 of the electric roller driver 4 are all connected to a PLC; a photoelectric detection baffle 5 is mounted on the electric roller 3, and the photoelectric detection baffle 5 rotates with the rotation of the electric roller 3; the lifting mechanism mounted on the frame 7 is driven by the electric roller 3, and the lifting mechanism is guided by a guide column 6.

[0076] The working principle of the present invention is: when the PLC does not output, the electric roller reverses and the lifting mechanism descends, and when the PLC outputs, the electric roller rotates forward and the lifting mechanism rises; the rising-in-place output signal terminal 404 and the falling-in-place output signal terminal 405 are both connected to the PLC, informing the PLC of the in-place signal and executing subsequent actions; the photoelectric detection baffle 5 is fixed together with the electric roller 3, and when the electric roller 3 rotates, the photoelectric detection baffle 5 will rotate together and reach a fixed position to trigger the falling-in-place limit photoelectric sensor 1 or the rising-in-place limit photoelectric sensor 2.

[0077] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A control method based on a jacking mechanism, characterized in that: The following steps are involved: 1) Obtain the rotor rotation range of the motor that drives the lifting mechanism to rise and fall, and calculate the maximum stroke of the electric drum; 2) Calculate the pulse modulation waveform of the control output through the fuzzy PID algorithm and PI controller to obtain the pulse signal; 3) Based on the pulse signal obtained in step 2), the electric roller is driven to accurately reach the rising or falling position.

2. The control method based on the lifting mechanism according to claim 1 is characterized in that: The step 1) is specifically as follows: 1.1) Due to the initial power-on, the initial position of the electric roller is uncertain. After power-on, it rotates in one direction to trigger a photoelectric or stall for a fixed time, then stops and records the current position; then rotates in the opposite direction to trigger another photoelectric or stall for a fixed time, and records the number of rotors that rotate. The difference is the number of rotors that the motor needs to rotate; 1.2) Use the motor Hall sensor to obtain the number of rotors rotating in the motor, and calculate the number of revolutions that the motor can rotate according to the number of rotors and the number of motor pole pairs; calculate the maximum angle of the reciprocating motion of the electric roller according to the number of revolutions that the motor can rotate and the reduction ratio; calculate the maximum stroke that the electric roller can run according to the maximum angle of the reciprocating motion of the electric roller and the electric roller model, specifically: The maximum number of revolutions that the motor can run = the number of rotors that the motor rotates / (the number of motor pole pairs * 6); the rotation angle of the electric roller = the maximum number of revolutions that the motor can run / the reduction ratio of the electric roller * 360; The maximum travel distance that the electric roller can run = the rotation angle of the electric roller / 360*(2*π*radius of the electric roller).

3. The control method based on the lifting mechanism according to claim 1 or 2, characterized in that: The step 2) is specifically as follows: 2.1) Fuzzification: The maximum rising angle of the electric roller is 180°. During the rising process, the step angle of the electric roller to be rotated is calculated according to the speed. The error e between the target angle of rotation and the actual angle of rotation and the rate of change of e de / dt are used as the input of the fuzzy controller. The domain range is defined as [-90°, 90°], and the membership function uses the triangular membership function; the triangular membership function formula is as follows: Among them, a, b and c represent the left endpoint, peak point and right endpoint of the triangle respectively; 2.2) Fuzzy reasoning: According to the membership of e and the membership of de / dt, combined with the Kp reasoning table, Ki reasoning table and Kd reasoning table, the membership values ​​of the three PID parameters Kp, Ki and Kd are obtained; among which, the Kp reasoning table: Ki inference table: Kd inference table: 2.3) Defuzzification: After obtaining the membership degree of each PID parameter, the centroid method is used to calculate the final coefficient value of the item; The centroid method calculation formula is as follows: Z is the final coefficient value after defuzzification, u(z r ) is z r The membership value, z r is the value of the fuzzy set; the specific calculation method is: 2.3.1) Obtain the current position and true speed of the motor rotor based on multiple Hall position sensors; 2.3.2) Calculate the angle step value of the electric roller, and calculate the number of rotors that the motor needs to rotate according to the angle that the electric roller needs to rotate; 2.3.3) Obtaining the output duty cycle of the motor according to the number of rotors to be rotated by the motor and the reference speed of the motor; 2.3.4) Due to the different weights of the goods, the fuzzy PID algorithm is used to calculate the PID parameter values ​​during the rising and falling processes, and then the PI regulator is used to adjust the duty cycle to be output according to the reference speed, and the pulse modulated output signal is obtained according to the output duty cycle.

4. The control method based on the lifting mechanism according to claim 3 is characterized in that: The adjustment formula of the PI regulator in step 2.3.4) is: duty cycle = previous duty cycle + Kp*(speed value deviation - previous speed value deviation) + Ki*speed value deviation.

5. A control system for implementing the control method based on a jacking mechanism according to any one of claims 1 to 4, characterized in that: The invention comprises a frame, on which an electric roller and an electric roller driver for driving the electric roller to rotate are mounted, a descent limit photoelectric sensor is mounted on the frame on one side of the electric roller, and a rise limit photoelectric sensor is mounted on the frame on the other side of the electric roller, the descent limit photoelectric sensor is connected to the input port of the descent limit photoelectric sensor of the electric roller driver, and the rise limit photoelectric sensor is connected to the input port of the upper descent limit photoelectric sensor of the electric roller driver, and the control input signal terminal, the rise limit output signal terminal and the descent limit output signal terminal of the electric roller driver are all connected to the PLC; a photoelectric detection baffle is mounted on the electric roller, and the photoelectric detection baffle rotates with the rotation of the electric roller; a lifting mechanism mounted on the frame is driven by the electric roller, and the lifting mechanism is guided by a guide column.