A PLC-based control method for smooth speed planning of the slider of a fine-blanking machine

By using the PLC-based slider smooth speed planning control method in the precision machine, the 7-segment acceleration trapezoidal algorithm divides 15 interval segments and realizes 100Hz frequency refresh, the problem of cumbersome calculations and inflexible responses of conventional S-curve algorithms is solved. , improves the control accuracy and stability of the precision brushing machine.

CN115366467BActive Publication Date: 2024-11-26WUHAN HUAXIA FINEBLANKING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210930588.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-04
Publication Date
2024-11-26
Estimated Expiration
2042-08-04

AI Technical Summary

Technical Problem

The conventional S-curve algorithm in the slide motion control of existing fine presses is cumbersome to calculate and cannot meet the real-time speed change requirements of high-response control, resulting in unstable performance of fine presses.

Method used

Using the slider smooth speed planning control method based on PLC, the motion is divided into 15 interval segments, the relationship between speed and time is calculated through the 7-segment acceleration trapezoidal algorithm, and the slider speed refresh at 100Hz frequency is achieved through the cycle interruption, simplifying the Compute and improve real-time.

Benefits of technology

It realizes the smooth operation of the slider and the accuracy of speed control, reduces the PLC's calculation load, and improves the control accuracy and stability of the precision puncher.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115366467B_ABST
    Figure CN115366467B_ABST
Patent Text Reader

Abstract

The present invention relates to a PLC-based fine-blanking machine slider smooth speed planning control method. By transforming the motion formula, the upward motion of the fine-blanking machine slider is divided into 15 intervals to generate a speed planning curve. The present invention transforms the motion formula to avoid complex operations such as square root, simplifies the calculation process, and can achieve a given slider speed at a refresh frequency of 100HZ, with better real-time performance and higher speed control accuracy. The curve planning calculation of the present invention is relatively independent of the given real-time speed calculation, which reduces the calculation load of the PLC at the same time. The slider smooth speed control algorithm of the present invention makes the slider run more smoothly and the speed control more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of fine blanking machines, and more specifically to a PLC-based fine blanking machine slider smoothing speed planning control method. Background Art

[0002] In recent years, the fine-blanking industry has set higher goals for product quality and output, and therefore has put forward higher requirements for the slider motion performance of domestic fine-blanking machines. In the design of the control system for the actual fine-blanking machine, the slider of the fine-blanking machine quickly increases from zero speed to fast-forward speed, then decreases from fast-forward speed to detection speed, and then decreases from detection speed to blanking speed, until the slider speed drops to zero and the blanking process is completed. This process is short in time and has high response requirements, which is a key indicator affecting the performance of the fine-blanking machine. At present, the conventional control method of the fine-blanking machine is to process the step speed instruction to obtain a ramp speed signal, and then use the ramp speed signal to control the motor speed. However, simple ramping processing will cause discontinuous acceleration, resulting in an uneven speed curve, which has a relatively large impact on the hydraulic system of the fine-blanking machine and affects the accuracy and life of the fine-blanking machine.

[0003] At present, the common method to solve this problem is to use a smooth S-shaped speed curve instead of a ramp curve as the speed reference. The S-curve algorithm can ensure the smoothness of the slider during acceleration and deceleration due to the continuity of its acceleration curve design, thereby reducing the impact of the hydraulic system and improving the accuracy and life of the fine blanking machine. However, the planning and design of the conventional S-curve has the following problems in the actual PLC control system design of the fine blanking machine:

[0004] 1. Since the movement of the slider of the fine blanking machine can be divided into four stages: ① rapid mold closing; ② waste detection; ③ punching; ④ return. Using the conventional 7-segment S-curve algorithm, the entire movement process of the slider is divided into 28 intervals, which is cumbersome and complex. Multiple square root operations are performed in each cycle, which greatly increases the computing load of the PLC.

[0005] 2. The conventional S-curve algorithm plans control by controlling the speed increment, which cannot meet the real-time change requirements of the slider speed of the fine blanking machine in high-response control. Summary of the invention

[0006] The technical problem to be solved by the present invention is to provide a PLC-based fine-blanking machine slider smoothing speed planning control method, which can improve the control accuracy of the fine-blanking machine and make the equipment more stable and reliable.

[0007] The technical solution adopted by the present invention to solve the technical problem is: constructing a PLC-based fine-blanking machine slider smoothing speed planning control method, comprising the following steps:

[0008] S1. Divide the movement of the slider of the fine blanking machine into 15 ascending intervals, t1...t15 represents the running time of each interval; T0...T15 represents the starting time point of each interval; v0...v15 represents the starting speed of each interval; Ts represents the uniform acceleration time, and Tr represents the time required to accelerate from rest to maximum speed; a max represents the maximum acceleration, J represents the jerk;

[0009] S2. Take Ts and Tr as adjustable variables and calculate a max= v3 / (Tr-Ts), J=a max / Ts;

[0010] S3. Through the 7-segment acceleration trapezoidal algorithm formula, the functional relationship between the speed v of each interval and the real-time time t is calculated as follows:

[0011] Interval 1:

[0012] Interval 2: v = v1 + a max* (t-T1);

[0013] Interval 3:

[0014] Interval segment 4: v = v3;

[0015] Interval 5:

[0016] Interval 6: v = v5-a max* (t-T5);

[0017] Interval 7:

[0018] Interval segment 8: v = v7;

[0019] Interval 9:

[0020] Interval 10: v = v9-a max* (t-T9);

[0021] Interval 11:

[0022] Interval 12: v = v11;

[0023] Interval 13:

[0024] Interval 14: v = v13-a max* (t-T13);

[0025] Interval 15:

[0026] S4: By knowing the fast mold closing section stroke L1, the waste detection section stroke L2, the blanking section stroke L3, v3 = v4 = fast mold closing setting speed, v7 = v8 = waste detection setting speed, v11 = v12 = blanking setting speed, calculate:

[0027] t1=Ts, t2=Tr-2Ts, t3=Ts, t5=Ts, t7=Ts, t9=Ts,

[0028] t11=Ts, t13=Ts, t15 = Ts;

[0029] S5: From the relationship between speed v and time t in step S3, it is derived that:

[0030] v0=0, v2=v1+a max* t2, v3 = v4 = fast mold closing setting speed, J*t5 2 , v6=v5-a max* t6, v7 = v8 = waste detection setting speed, v10=v9-a max* t10, v11 = v12 = punching setting speed, v14=v13-a max* t14, v15 = 0;

[0031] S6: Through step S3, step S4 and step S5, by knowing the fast mold closing section stroke L1, the waste detection section stroke L2, the blanking section stroke L3, v3=v4=fast mold closing setting speed, v7=v8=waste detection setting speed, v11=v12=blanking setting speed, Ts represents the uniform acceleration section time, Tr represents the time required for acceleration from rest to maximum speed, and a speed planning curve is generated.

[0032] According to the above scheme, step S7 is also included: through the loop interrupt instruction, the PLC refreshes the slider speed set value at a frequency of 100 Hz, thereby realizing the slider smooth speed planning control.

[0033] According to the above scheme, step S8 is also included: a PLC program is written using the algorithm in steps S2-S5, downloaded to the PLC, and a speed curve is obtained through real-time data acquisition.

[0034] The PLC-based fine-blanking machine slide smoothing speed planning control method of the present invention has the following beneficial effects:

[0035] 1. The slider smoothing speed control algorithm of the present invention makes the slider run more smoothly and the speed control more accurate;

[0036] 2. The present invention simplifies the calculation process by converting the motion formula to avoid complex operations such as square root.

[0037] 2. The present invention realizes setting the slider speed at a refresh frequency of 100 Hz, which has better real-time performance and higher speed control accuracy;

[0038] 3. The curve planning calculation of the present invention is relatively independent from the given real-time speed calculation, which reduces the calculation load of the PLC at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The present invention will be further described below with reference to the accompanying drawings and embodiments, in which:

[0040] Figure 1 It is a schematic diagram of the operating curve of the upward stage of the slider movement;

[0041] Figure 2 It is a schematic diagram of the speed curve actually collected. DETAILED DESCRIPTION

[0042] In order to have a clearer understanding of the technical features, purposes and effects of the present invention, specific embodiments of the present invention are now described in detail with reference to the accompanying drawings.

[0043] The present invention provides a smooth speed planning control method for a fine blanking machine slider, the speed control method comprising the following steps:

[0044] Step 1: Using the 7-segment acceleration trapezoidal curve algorithm, the entire upward phase of the slider movement is planned into 15 interval segments.

[0045] like Figure 1 , t1...t15 represents the running time of each interval; T0...T15 represents the starting time of each interval; v0...v15 represents the starting speed of each interval; Ts represents the uniform acceleration time, Tr represents the time required to accelerate from rest to maximum speed. amax represents the maximum acceleration, and J represents the jerk;

[0046] Step 2: Take Ts and Tr as adjustable variables and calculate a max= v3 / (Tr-Ts), J=a max / Ts;

[0047] Step 3: From the 7-segment acceleration trapezoidal algorithm formula, the functional relationship between the speed v and the real-time time t of each interval can be calculated: Interval 1:

[0048] Interval 2: v = v1 + a max* (t-T1);

[0049] Interval 3:

[0050] Interval segment 4: v = v3;

[0051] Interval 5:

[0052] Interval 6: v = v5-a max* (t-T5);

[0053] Interval 7:

[0054] Interval segment 8: v = v7;

[0055] Interval 9:

[0056] Interval 10: v = v9-a max* (t-T9);

[0057] Interval 11:

[0058] Interval 12: v = v11;

[0059] Interval 13:

[0060] Interval 14: v = v13-a max* (t-T13);

[0061] Interval 15:

[0062] Step 4: Given the fast mold closing section stroke L1, the waste detection section stroke L2, and the blanking section stroke L3, v3 = v4 = fast mold closing setting speed, v7 = v8 = waste detection setting speed, v11 = v12 = blanking setting speed, such as Figure 1 , we can calculate

[0063] t1=Ts, t2=Tr-2Ts, t3=Ts, t5=Ts, t7=Ts, t9=Ts,

[0064] t11=Ts, t13=Ts, t15=Ts.

[0065] Step 5: From the relationship between speed v and time t in step 3, we can deduce:

[0066] v2=v1+a max* t2, v3 = v4 = fast mold closing setting speed,

[0067] v6=v5-a max* t6, v7 = v8 = waste detection setting speed, v10=v9-a max* t10, v11 = v12 = punching setting speed, v14=v13-a max* t14, v15 = 0

[0068] Step 6: Through steps 3, 4 and 5, with the known quick mold closing section stroke L1, waste detection section stroke L2, and blanking section stroke L3, v3 = v4 = quick mold closing setting speed, v7 = v8 = waste detection setting speed, v11 = v12 = blanking setting speed, Ts represents the uniform acceleration section time, and Tr represents the time required to accelerate from rest to maximum speed. Figure 1 Speed ​​planning curve.

[0069] Step 7: Through loop interruption, PLC can refresh the slider speed given value at a frequency of 100Hz, thereby realizing smooth slider speed planning control.

[0070] Step 8: Download the PLC program written by this control algorithm to the PLC, and obtain the following through real-time data collection: Figure 2 Speed ​​curve: The slider of this embodiment runs smoothly, the system vibration is significantly improved, and the effect is obvious.

[0071] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

Claims

1. A PLC-based fine-blanking machine slider smoothing speed planning control method, characterized in that: The following steps are involved: S1. Divide the movement of the slider of the fine blanking machine into 15 ascending intervals, t1...t15 represents the running time of each interval; T0...T15 represents the starting time point of each interval; v0...v15 represents the starting speed of each interval; Ts represents the uniform acceleration time, Tr represents the time required to accelerate from rest to maximum speed, a max represents the maximum acceleration, J represents the jerk; S2. Take Ts and Tr as adjustable variables and calculate a max= v3 / (Tr-Ts), J=a max / Ts; S3. Through the 7-segment acceleration trapezoidal algorithm formula, the functional relationship between the speed v of each interval and the real-time time t is calculated as follows: Interval 1: Interval 2: v = v1 + a max* (t-T1); Interval 3: Interval segment 4: v = v3; Interval 5: Interval 6: v = v5-a max* (t-T5); Interval 7: Interval segment 8: v = v7; Interval 9: Interval 10: v = v9-a max* (t-T9); Interval 11: Interval 12: v = v11; Interval 13: Interval 14: v = v13-a max* (t-T13); Interval 15: S4: By knowing the fast mold closing section stroke L1, the waste detection section stroke L2, the blanking section stroke L3, v3 = v4 = fast mold closing setting speed, v7 = v8 = waste detection setting speed, v11 = v12 = blanking setting speed, calculate: <h2 style=";text-align:left;direction:ltr">t1=Ts,t2=Tr-2Ts,t3=Ts,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> t5=Ts,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> t7=Ts,<h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> t9=Ts, t11=Ts, t13=Ts, t15=Ts; S5: From the relationship between speed v and time t in step S3, it is derived that: v0=0, v2=v1+a max* t2, v3 = v4 = fast mold closing setting speed, v6=v5-a max* t6, v7 = v8 = waste detection setting speed, v10=v9-a max* t10, v11 = v12 = punching setting speed, v14=v13-a max* t14, v15 = 0; S6: Through step S3, step S4 and step S5, by knowing the fast mold closing section stroke L1, the waste detection section stroke L2, the blanking section stroke L3, v3=v4=fast mold closing setting speed, v7=v8=waste detection setting speed, v11=v12=blanking setting speed, Ts represents the uniform acceleration section time, Tr represents the time required for acceleration from rest to maximum speed, and a speed planning curve is generated.

2. The PLC-based fine-blanking machine slide smoothing speed planning control method according to claim 1 is characterized in that: The method also includes step S7: through the cyclic interrupt instruction, the PLC refreshes the slider speed given value at a frequency of 100 Hz, thereby realizing the slider smooth speed planning control.

3. The PLC-based fine-blanking machine slide smoothing speed planning control method according to claim 1 is characterized in that: The method further comprises step S8: compiling a PLC program according to the algorithm in steps S2-S5, downloading the program to the PLC, and obtaining a speed curve through real-time data collection.