Programming-free electronic cam curve generation method and system with chord arc correction function
By introducing the chord arc correction function in the calculation of electronic cam curves, the problem of difficulty in cutting materials with a large thickness in the prior art is solved, and efficient and accurate cutting effect of thick materials is achieved.
Patent Information
- Application Number
- CN202410590447.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-05-13
AI Technical Summary
The existing electronic cam curves are difficult to be suitable for cutting materials with larger thicknesses, and are unable to achieve efficient cutting.
By introducing the chord arc correction function in the calculation of electronic cam curves, the cutting cycle is divided into different processes according to the material thickness and the cutting blade movement length, the corresponding electronic cam curve is calculated, and the synchronous motion of the chord length and arc length is realized, and the curve equation is automatically generated. .
It realizes efficient cutting of materials with a certain thickness, simplifies the programming process, and improves cutting accuracy and efficiency.
Smart Images

Figure CN118466403B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic cam control, and in particular to a method and system for generating a programming-free electronic cam curve with a chord correction function. Background Art
[0002] The electronic cam can control the movement of the main shaft and the slave shaft according to the constructed curve equation, so that the position of the slave shaft corresponds to the position of the main shaft to satisfy the corresponding relationship set by the curve equation, thereby realizing various complex mechanical operations. In addition, the electronic cam has high programming flexibility and control accuracy, which can make the motion control of machinery and equipment more accurate and efficient. Therefore, the electronic cam is widely used in various fields such as automobile manufacturing, metallurgy, mechanical processing, textiles, printing, food packaging, water conservancy and hydropower; however, when using the electronic cam for material cutting, the electronic cam curve planned in the prior art can only be applied to the cutting of thinner materials, such as paper, and cannot be applied to the cutting of materials with a certain thickness. Summary of the invention
[0003] In order to realize the cutting operation of materials with a certain thickness, the present application provides a programming-free electronic cam curve generation method and system with a chord arc correction function.
[0004] In the first aspect, the present application provides a programming-free electronic cam curve generation method with a chord correction function, which adopts the following technical solution: the main axis of the electronic cam is a linear axis, which is used to drive the material to make a uniform linear motion in the horizontal direction; the slave axis of the electronic cam is a rotating axis, which is used to drive the cutter to make a circular motion; the cutter is used to cut the material; the method comprises:
[0005] Based on the material thickness h, cutting points a, b and c are planned on the circular motion trajectory of the cutter; wherein the cutting point a is the point where the tip of the cutter contacts the material, the cutting point b is the point where the cutter completely cuts off the material, and the cutting point c is the point where the cutter completely withdraws from the material;
[0006] According to the movement direction of the cutter, the area where the cutter moves from cutting point b to cutting point c is recorded as the first cutting area, the area where the cutter moves from cutting point c to cutting point a is recorded as the adjustment area, and the area where the cutter moves from cutting point a to cutting point b is recorded as the second cutting area;
[0007] Calculate the chord length ac and arc length ac respectively, and use the chord length ac as the travel length L of the material in the first cutting area and the second cutting area ac , the arc length ac is taken as the movement length C of the cutter in the first cutting area and the second cutting area ac ;
[0008] Based on the travel length L of the material to complete one cutting切长 , the travel length L of the material in the first cutting area and the second cutting area ac , taking the cutting point b as the starting point, the value ranges of the main axis position x in the first cutting area, the adjustment area, and the second cutting area are obtained;
[0009] Based on a pre-constructed electronic cam curve calculation model, the electronic cam curve corresponding to the first cutting area, the electronic cam curve corresponding to the adjustment area, and the electronic cam curve corresponding to the second cutting area are calculated respectively.
[0010] By adopting the above technical solution, in the process of calculating the electronic cam curve, by considering the material thickness h, a complete cutting cycle is divided into different processes, the chord is used as the material travel length, and the arc is used as the cutter movement length, so that the cutter is synchronized with the feed in the chord direction, and the chord arc correction function is realized. The corresponding electronic cam curve is calculated for different processes. When using it, it is only necessary to set the material thickness h, the total length C of the cutter to complete a circular motion, and the total length C of the cutter to complete a circular motion. 周长 , the travel length L of the material to complete one cutting 切长 These three parameters can automatically generate the corresponding curve equation, realizing programming-free calculation of the electronic cam curve and ensuring the cutting effect for materials with a certain thickness.
[0011] In a specific implementation scheme, based on a pre-built electronic cam curve calculation model, calculating the electronic cam curve corresponding to the first cutting area specifically includes:
[0012] Based on the first cutting area restriction condition, construct the functional relationship x1(α) between the main axis position x and the angle α, the functional relationship y1(α) between the slave axis position y and the angle α, and the functional relationship v1(α) between the slave axis speed v and the angle α;
[0013] Wherein, α is the angle between a point on the motion path of the cutter in the first cutting area and the cutting point b; the first cutting area restriction condition includes: the speed component of the cutter in the horizontal direction is consistent with the travel speed of the material;
[0014] Based on the functional relationship x1(α) and the functional relationship y1(α), a functional relationship y1(x) between the slave axis position y and the master axis position x is obtained;
[0015] Based on the functional relationship x1(α) and the functional relationship v1(α), a functional relationship v1(x) between the slave axis speed v and the master axis position x is obtained;
[0016] Based on the value range of the main axis position x in the first cutting area, the functional relationship y1(x) between the slave axis position y and the main axis position x, and the functional relationship v1(x) between the slave axis speed v and the main axis position x, an electronic cam curve corresponding to the first cutting area is constructed.
[0017] In a specific implementation scheme, based on a pre-built electronic cam curve calculation model, calculating the electronic cam curve corresponding to the adjustment area specifically includes:
[0018] Based on the material thickness h, calculating the angle θ between the cutting point c and the cutting point b; r is the radius of the circular motion of the cutter;
[0019] Based on the total length C of the cutter completing one circular motion 周长 , the travel length L of the material to complete one cutting 切长 and the movement length C of the cutter in the first cutting area and the second cutting area ac , the angle θ, the travel length L of the material in the first cutting area and the second cutting area ac , judge (C 周长 -C ac )*cosθ and L 切长 -L ac size;
[0020] If (C 周长 -C ac )*cosθ>L 切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the first movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the first movement mode; wherein the first movement mode represents that according to the movement direction of the cutter, the movement process of the cutter in the adjustment area includes an acceleration section and a deceleration section;
[0021] If (C 周长 -C ac )*cosθ=L 切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the second movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the second movement mode; wherein the second movement mode indicates that the cutter maintains a uniform speed in the adjustment area, and the speed of the cutter in the adjustment area is consistent with the speed of the cutter at the cutting point a and the cutting point c;
[0022] If (C 周长 -C ac )*cosθ<L 切长 -L ac, it is determined that the movement of the cutter in the adjustment area is the third movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the third movement mode; wherein, the third movement mode represents that according to the movement direction of the cutter, the movement process of the cutter in the adjustment area includes a deceleration section and an acceleration section.
[0023] In a specific implementation scheme, calculating the electronic cam curve corresponding to the adjustment area when the cutter is in the first motion mode specifically includes:
[0024] Constructing a dimensionless function set corresponding to the adjustment area; the dimensionless function set includes a dimensionless displacement function Y(X), a dimensionless velocity function V(X) and a dimensionless acceleration function A(X);
[0025] The dimensionless displacement function Y(X) represents the functional relationship between the slave axis position Y and the master axis position X in a dimensionless case, Y(X)=D0+D1X+D2X 2 +D3X 3 +D4X 4 +D5X 5 The dimensionless velocity function V(X) represents the functional relationship between the slave axis velocity V and the spindle position X in a dimensionless case, V(X) = D1 + 2D2X + 3D3X 2 +4D4X 3 +5D5X 4 The dimensionless acceleration function A(X) represents the functional relationship between the slave axis acceleration A and the spindle position X in a dimensionless case, A(X)=2D2+6D3X+12D4X 2 +20D5X 3 ; D0, D1, D2, D3, D4, D5 are all coefficients;
[0026] Constructing a first motion mode boundary condition; the first motion mode boundary condition includes:
[0027]
[0028] △y represents the movement length of the cutter in the adjustment area, △y=C ca ; △x represents the travel length of the material in the adjustment area, △x=L ca ; Based on the first motion mode boundary condition and the dimensionless function set corresponding to the adjustment zone, the values of coefficients D0, D1, D2, D3, D4, and D5 are calculated, and the calculated values of D0, D1, D2, D3, D4, and D5 are substituted into the function Y(X) and the function V(X) respectively to obtain the functional relationship Y between the slave axis position Y and the master axis position X in the dimensionless case. 21 (X), and the functional relationship between the slave axis speed V and the master axis position X21 (X);
[0029] In the dimensionless case, the functional relationship between the slave axis position Y and the master axis position X is Y 21 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the real situation 21 (x);
[0030] In the dimensionless case, the functional relationship between the slave axis speed V and the master axis position X is V 21 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis speed v and the master axis position x in the real situation 21 (x);
[0031] Based on the value range of the main axis position x in the adjustment area, the functional relationship y between the slave axis position y and the main axis position x 21 (x), the functional relationship v between the slave axis speed v and the master axis position x 21 (x), constructing an electronic cam curve corresponding to the adjustment area.
[0032] By adopting the above technical solution, when (C 周长 -C ac )*cosθ>L 切长 -L ac In this case, it is necessary to control the cutter to accelerate first and then decelerate in the adjustment area, and plan the electronic cam curve so that the horizontal component of the cutter speed is equal to the material travel speed at the cutting point c and the cutting point a.
[0033] In a specific implementation scheme, calculating the electronic cam curve corresponding to the adjustment area when the cutter is in the second motion mode specifically includes:
[0034] Construct the dimensionless displacement function Y corresponding to the adjustment area respectively 22 (X) and the dimensionless velocity function V 22 (X); the dimensionless displacement function Y 22 (X), represents the functional relationship between the slave axis position Y and the master axis position X in a dimensionless case, Y 22 (X) = X / cosθ; the dimensionless velocity function V 22 (X), represents the functional relationship between the slave axis speed V and the master axis position X in a dimensionless case, V 22 (X) = 1 / cosθ;
[0035] In the dimensionless case, the functional relationship between the slave axis position Y and the master axis position X is Y 22(X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the real situation 22 (x);
[0036] In the dimensionless case, the functional relationship between the slave axis speed V and the master axis position X is V 22 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis speed v and the master axis position x in the real situation 22 (x);
[0037] Based on the value range of the main axis position x in the adjustment area, the functional relationship y between the slave axis position y and the main axis position x 22 (x), the functional relationship v between the slave axis speed v and the master axis position x 22 (x), constructing an electronic cam curve corresponding to the adjustment area.
[0038] By adopting the above technical solution, when C ca *cosθ=L ca In this case, the cutter needs to be controlled to keep moving at a constant speed in the adjustment area, and the speed of the cutter in the adjustment area is consistent with the speed at the cutting point a and the cutting point c.
[0039] In a specific implementation scheme, calculating the electronic cam curve corresponding to the adjustment area when the cutter is in the third motion mode specifically includes:
[0040] Constructing a dimensionless function set corresponding to the adjustment area; the dimensionless function set includes a dimensionless displacement function Y(X), a dimensionless velocity function V(X) and a dimensionless acceleration function A(X);
[0041] The dimensionless displacement function Y(X) represents the functional relationship between the slave axis position Y and the master axis position X in a dimensionless case, Y(X)=D0+D1X+D2X 2 +D3X 3 +D4X 4 +D5X 5 The dimensionless velocity function V(X) represents the functional relationship between the slave axis velocity V and the spindle position X in a dimensionless case, V(X) = D1 + 2D2X + 3D3X 2 +4D4X 3 +5D5X 4 The dimensionless acceleration function A(X) represents the functional relationship between the slave axis acceleration A and the spindle position X in a dimensionless case, A(X)=2D2+6D3X+12D4X 2 +20D5X 3 ; D0, D1, D2, D3, D4, D5 are all coefficients;
[0042] Set the master-slave axis length ratio K = △y / △x, calculate the value of the master-slave axis length ratio K, and compare the master-slave axis length ratio K with the master-slave axis reference length ratio K0;
[0043] Where △y represents the movement length of the cutter in the adjustment area, △y=C ca ; △x represents the travel length of the material in the adjustment area, △x=L ca ;
[0044] If K≥K0, it is determined that there is no zero-speed waiting section between the deceleration section and the acceleration section of the cutter in the adjustment zone; a zero-speed waiting boundary condition is constructed, and based on the dimensionless function set corresponding to the adjustment zone and the zero-speed waiting boundary condition, the electronic cam curve corresponding to the adjustment zone is calculated;
[0045] If K<K0, it is determined that there is a zero-speed waiting section between the deceleration section and the acceleration section of the adjustment area; then the deceleration section boundary condition is constructed, and based on the dimensionless function set corresponding to the adjustment area and the deceleration section boundary condition, the value range of the spindle position x in the deceleration section of the adjustment area is obtained, and the electronic cam curve corresponding to the deceleration section of the adjustment area is calculated;
[0046] Constructing the boundary conditions of the acceleration section, and based on the dimensionless function set corresponding to the adjustment zone and the boundary conditions of the acceleration section, obtaining the value range of the spindle position x in the acceleration section of the adjustment zone, and calculating the electronic cam curve corresponding to the acceleration section of the adjustment zone; based on the value range of the spindle position x in the adjustment zone, the value range of the spindle position x in the deceleration section of the adjustment zone, and the value range of the spindle position x in the acceleration section of the adjustment zone, obtaining the value range of the spindle position x in the zero-speed waiting section of the adjustment zone, and calculating the electronic cam curve corresponding to the zero-speed waiting section of the adjustment zone;
[0047] Based on the electronic cam curve corresponding to the deceleration section of the adjustment area, the electronic cam curve corresponding to the zero-speed waiting section of the adjustment area, and the electronic cam curve corresponding to the acceleration section of the adjustment area, an electronic cam curve corresponding to the adjustment area is constructed.
[0048] By adopting the above technical solution, when (C 周长 -C ac )*cosθ<L 切长 -L acIn this case, it is necessary to control the cutter to decelerate first and then accelerate in the adjustment area, and compare the master-slave axis length ratio K with the master-slave axis reference length ratio K0. If K≥K0, it means that the cutter has no zero-speed waiting section between the deceleration section and the acceleration section. Therefore, by constructing a boundary condition of no zero-speed waiting, the electronic cam curve corresponding to the adjustment area can be calculated; if K<K0, it means that the cutter has a zero-speed waiting section between the deceleration section and the acceleration section. After the speed of the cutter is reduced to 0 in the deceleration section, it needs to wait for a period of time before accelerating. Therefore, the electronic cam curves are calculated for the deceleration section and the acceleration section respectively, and finally the electronic cam curve of the adjustment area is constructed.
[0049] In a specific implementation scheme, constructing a zero-speed waiting boundary condition, and calculating the electronic cam curve corresponding to the adjustment area based on the dimensionless function set corresponding to the adjustment area and the zero-speed waiting boundary condition, specifically includes:
[0050] Constructing a zero-speed waiting boundary condition, the zero-speed waiting boundary condition includes:
[0051]
[0052] Based on the dimensionless function set corresponding to the zero-speed waiting boundary condition and the adjustment zone, the values of coefficients D0, D1, D2, D3, D4, and D5 are calculated, and the calculated values of D0, D1, D2, D3, D4, and D5 are substituted into functions Y(X) and V(X) respectively to obtain the functional relationship Y between the slave axis position Y and the master axis position X in the dimensionless case. 23 (X), and the functional relationship between the slave axis speed V and the master axis position X 23 (X);
[0053] In the dimensionless case, the functional relationship between the slave axis position Y and the master axis position X is Y 23 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the real situation 23 (x);
[0054] In the dimensionless case, the functional relationship between the slave axis speed V and the master axis position X is V 23 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis speed v and the master axis position x in the real situation 23 (x);
[0055] Based on the value range of the main axis position x in the adjustment area, the functional relationship y between the slave axis position y and the main axis position x 23 (x), the functional relationship v between the slave axis speed v and the master axis position x 23(x), constructing an electronic cam curve corresponding to the adjustment area.
[0056] In a specific feasible implementation scheme, the deceleration segment boundary condition is constructed, and based on the dimensionless function set corresponding to the adjustment zone and the deceleration segment boundary condition, the value range of the spindle position x in the deceleration segment of the adjustment zone is obtained, and the electronic cam curve corresponding to the deceleration segment of the adjustment zone is calculated, which specifically includes:
[0057] Construct the deceleration section boundary conditions; the deceleration section boundary conditions include:
[0058]
[0059] △y0 represents the movement length of the cutter in the deceleration section of the adjustment area, and △x0 represents the travel length of the material in the deceleration section of the adjustment area;
[0060] Based on the boundary conditions of the deceleration section and the dimensionless function set corresponding to the adjustment zone, the expressions of coefficients D0, D1, D2, D3, D4, and D5 are calculated, and the coefficients D0, D1, D2, D3, D4, and D5 are represented by △x0 and △y0;
[0061] Based on the relationship between △y0 and △y, and the relationship between △y0 and △x0, the values of △y0 and △x0 are calculated; wherein △y0=△y / 2, △y0 / △x0=K0;
[0062] Based on the values of △y0 and △x0, the values of coefficients D0, D1, D2, D3, D4, and D5 are obtained. The calculated values of D0, D1, D2, D3, D4, and D5 are substituted into functions Y(X) and V(X) respectively to obtain the functional relationship Y between the slave axis position Y and the master axis position X in the deceleration stage in the dimensionless case. 24 (X), and the functional relationship V between the speed V of the slave axis and the position X of the main axis in the deceleration stage 24 (X);
[0063] In the case of non-dimensionalization, the functional relationship Y between the slave axis position Y and the main axis position X in the deceleration section 24 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the deceleration stage in real situation 24 (x);
[0064] In the case of non-dimensionalization, the functional relationship between the speed V of the slave axis and the position X of the main axis in the deceleration stage is V 24 (X), through coordinate offset and scaling, is converted into the functional relationship v between the speed v of the slave axis and the position x of the main axis in the deceleration stage. 24 (x);
[0065] Based on the value range of the spindle position x in the adjustment zone and the value of the travel length △x0 of the material in the deceleration section of the adjustment zone, the value range of the spindle position x in the deceleration section of the adjustment zone is obtained;
[0066] Based on the value range of the main shaft position x in the deceleration section of the adjustment area, the functional relationship y between the slave shaft position y and the main shaft position x 24 (x), the functional relationship v between the slave axis speed v and the master axis position x 24 (x), constructing an electronic cam curve corresponding to the deceleration section of the adjustment area;
[0067] Constructing the acceleration segment boundary conditions, obtaining the value range of the spindle position x in the acceleration segment of the adjustment zone based on the dimensionless function set corresponding to the adjustment zone and the acceleration segment boundary conditions, and calculating the electronic cam curve corresponding to the acceleration segment of the adjustment zone, specifically including:
[0068] Constructing the acceleration section boundary conditions; the acceleration section boundary conditions include:
[0069]
[0070] △y1 represents the movement length of the cutter in the acceleration section of the adjustment area, and △x1 represents the travel length of the material in the acceleration section of the adjustment area;
[0071] Based on the boundary conditions of the acceleration section and the dimensionless function set corresponding to the adjustment zone, the expressions of coefficients D0, D1, D2, D3, D4, and D5 are calculated, and the coefficients D0, D1, D2, D3, D4, and D5 are represented by △x1 and △y1;
[0072] Based on the relationship between △y1 and △y, and the relationship between △y1 and △x1, the values of △y1 and △x1 are calculated; wherein △y1=△y / 2, △y1 / △x1=K0;
[0073] Based on the values of △y1 and △x1, the values of coefficients D0, D1, D2, D3, D4, and D5 are obtained. The calculated values of D0, D1, D2, D3, D4, and D5 are substituted into functions Y(X) and V(X) respectively to obtain the functional relationship Y between the slave axis position Y and the master axis position X in the acceleration stage in the dimensionless case. 25 (X), and the functional relationship V between the speed V of the slave axis and the position X of the main axis in the deceleration stage 25 (X);
[0074] In the dimensionless case, the functional relationship Y between the slave axis position Y and the master axis position X in the acceleration section 25 (X), through coordinate offset and scaling, converted to the actual situation, the functional relationship y between the slave axis position y and the master axis position x in the acceleration stage 25 (x);
[0075] In the dimensionless case, the functional relationship between the slave axis speed V and the main axis position X in the acceleration section is V 25 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis velocity v and the master axis position x in the acceleration phase in real conditions. 25 (x);
[0076] Based on the value range of the spindle position x in the adjustment zone and the value of the travel length △x1 of the material in the deceleration section of the adjustment zone, the value range of the spindle position x in the acceleration section of the adjustment zone is obtained;
[0077] Based on the value range of the main axis position x in the acceleration section of the adjustment area, the functional relationship y between the slave axis position y and the main axis position x 25 (x), the functional relationship v between the slave axis speed v and the master axis position x 25 (x), constructing an electronic cam curve corresponding to the deceleration section of the adjustment area.
[0078] In a specific implementation method, based on a pre-built electronic cam curve calculation model, calculating the electronic cam curve corresponding to the second cutting area specifically includes:
[0079] Based on the second cutting area restriction condition, construct the functional relationship x3(β) between the main axis position x and the angle β, the functional relationship y3(β) between the slave axis position y and the angle α, and the functional relationship v3(β) between the slave axis speed v and the angle β;
[0080] Wherein, β is the angle between a point on the motion path of the cutter in the second cutting area and the cutting point b; the restriction condition of the second cutting area includes: the speed component of the cutter in the horizontal direction is consistent with the travel speed of the material;
[0081] Based on the functional relationship x3(β) and the functional relationship y3(β), a functional relationship y3(x) between the slave axis position y and the master axis position x is obtained;
[0082] Based on the functional relationship x3(β) and the functional relationship v3(β), a functional relationship v3(x) between the slave axis velocity v and the master axis position x is obtained;
[0083] Based on the value range of the main shaft position x in the second cutting area, the functional relationship y3(x) between the slave shaft position y and the main shaft position x, and the functional relationship v3(x) between the slave shaft speed v and the main shaft position x, an electronic cam curve corresponding to the second cutting area is constructed.
[0084] In a second aspect, the embodiment of the present application provides a programming-free electronic cam curve generation system with a chord arc correction function, which adopts the following technical solution: the system applies the above-mentioned programming-free electronic cam curve generation method with a chord arc correction function, the main axis of the electronic cam is a linear axis, which is used to drive the material to make a uniform linear motion in the horizontal direction; the slave axis of the electronic cam is a rotating axis, which is used to drive the cutter to make a circular motion; the cutter is used to cut the material; the system includes a cutting point planning module, an area division module, and an electronic cam curve calculation module;
[0085] The cutting point planning module is used to plan cutting points a, b and c on the circular motion trajectory of the cutter based on the material thickness h; wherein the cutting point a is the point where the tip of the cutter contacts the material, the cutting point b is the point where the cutter completely cuts off the material, and the cutting point c is the point where the cutter completely withdraws from the material;
[0086] The area division module is used to record the area where the cutter moves from cutting point b to cutting point c as the first cutting area, the area where the cutter moves from cutting point c to cutting point a as the adjustment area, and the area where the cutter moves from cutting point a to cutting point b as the second cutting area according to the direction of movement of the cutter;
[0087] The electronic cam curve calculation module is used to calculate the chord length ac and the arc length ac respectively, and the chord length ac is used as the travel length L of the material in the first cutting area and the second cutting area. ac , the arc length ac is taken as the movement length C of the cutter in the first cutting area and the second cutting area ac ;
[0088] The electronic cam curve calculation module is also used to calculate the travel length L of the material after one cutting. 切长 , the travel length L of the material in the first cutting area and the second cutting area ac , taking the cutting point b as the starting point, the value ranges of the main axis position x in the first cutting area, the adjustment area, and the second cutting area are obtained;
[0089] The electronic cam curve calculation module is further used to calculate the electronic cam curve corresponding to the first cutting area, the electronic cam curve corresponding to the adjustment area and the electronic cam curve corresponding to the second cutting area based on a pre-constructed electronic cam curve calculation model.
[0090] In summary, the technical solution of this application includes at least the following beneficial technical effects:
[0091] 1. The electronic cam curve generation method of the present application, in the process of calculating the electronic cam curve, by considering the material thickness h, a complete cutting cycle is divided into different processes, the chord is used as the material travel length, and the arc is used as the cutter movement length, so that the cutter is synchronized with the feed in the chord direction, and the chord arc correction function is realized. The corresponding electronic cam curve is calculated for different processes. When using it, it is only necessary to set the material thickness h, the total length C of the cutter to complete a circular motion, and the total length C of the cutter to complete a circular motion. 周长 , the travel length L of the material to complete one cutting 切长 These three parameters can automatically generate the corresponding curve equation, realize the programming-free calculation of the electronic cam curve, and ensure the cutting effect for materials with a certain thickness. BRIEF DESCRIPTION OF THE DRAWINGS
[0092] Figure 1 This is a first flow chart of a method for generating a programming-free electronic cam curve with a chord arc correction function in an embodiment of the present application;
[0093] Figure 2 is a schematic diagram of a cutter cutting a material in an embodiment of the present application;
[0094] Figure 3 This is a second flow chart of the method for generating a programming-free electronic cam curve with a chord correction function in an embodiment of the present application. DETAILED DESCRIPTION
[0095] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0096] The embodiment of the present application provides a programming-free electronic cam curve generation method with a chord arc correction function, wherein the main axis of the electronic cam is a linear axis, which is used to drive the material to perform uniform linear motion in the horizontal direction; the slave axis of the electronic cam is a rotating axis, which is used to drive the cutter to perform circular motion; the cutter is used to cut the material;
[0097] like Figure 1 As shown, the method comprises steps S1-S5:
[0098] S1, based on the material thickness h, plan cutting points a, b and c on the circular motion trajectory of the cutter; wherein, cutting point a is the point where the tip of the cutter contacts the material, cutting point b is the point where the cutter completely cuts off the material, and cutting point c is the point where the cutter completely withdraws from the material.
[0099] Preferably, in order to ensure the cutting effect on the material, the length of the cutter is equal to the thickness h of the material; Figure 2As shown, the distance between the cutting point a and the material, the distance between the cutting point c and the material, and the thickness of the material are all h, and the cutter moves in a counterclockwise direction.
[0100] S2, according to the direction of movement of the cutter, the area where the cutter moves from cutting point b to cutting point c is recorded as the first cutting area, the area where the cutter moves from cutting point c to cutting point a is recorded as the adjustment area, and the area where the cutter moves from cutting point a to cutting point b is recorded as the second cutting area.
[0101] S3, respectively calculating the chord length ac and the arc length ac, and taking the chord length ac as the travel length L of the material in the first cutting area and the second cutting area ac , the arc length ac is taken as the movement length C of the cutter in the first cutting area and the second cutting area ac .
[0102] S4, based on the travel length L of the material to complete one cutting 切长 , the travel length L of the material in the first cutting area and the second cutting area ac , taking the cutting point b as the starting point, the spindle position x is obtained in the range of the first cutting area, the adjustment area and the second cutting area; among them, the travel length L of the material to complete one cutting 切长 , that is, the total travel length of the material in the first cutting area, the adjustment area and the second cutting area.
[0103] S5, based on a pre-constructed electronic cam curve calculation model, respectively calculating the electronic cam curve corresponding to the first cutting area, the electronic cam curve corresponding to the adjustment area, and the electronic cam curve corresponding to the second cutting area.
[0104] The electronic cam curve includes a relationship curve between the slave shaft position y and the master shaft position x, and a relationship curve between the slave shaft speed v and the master shaft position x.
[0105] Since in the process of the cutter cutting the material, in the first cutting area and the second cutting area, the position of the material to be cut is consistent with the knife hanging point in the vertical direction, when the cutter is at the cutting point a, the position of the material to be cut is directly below the cutting point a, and when the cutter is at the cutting point c, the position of the material to be cut is directly below the cutting point c; that is, in the process of the cutter moving from the cutting point a to the cutting point c according to the moving direction, the position of the material to be cut also moves from directly below the cutting point a to directly below the cutting point c; therefore, the length of the chord ac can be used as the travel length L of the material in the first cutting area and the second cutting area ac , and according to the material travel length L ac The travel length L of the material to complete one cut 切长, we can take the cutting point b as the starting point and get the value range of the main axis position x in the first cutting area, the adjustment area and the second cutting area as follows:
[0106] The value range of the spindle position x in the first cutting area is The spindle position x in the adjustment area has a value range of The value range of the spindle position x in the second cutting area is It can be understood that the travel length L of the material to complete one cutting 切长 , which is the length between two adjacent positions of the material to be cut, that is, the length that the material travels when the cutter completes a circular motion along the motion trajectory.
[0107] In a possible implementation, step S5, based on a pre-built electronic cam curve calculation model, calculates the electronic cam curve corresponding to the first cutting area, specifically including steps A1-A4:
[0108] A1, based on the first cutting area restriction condition, construct the functional relationship x1(α) between the main axis position x and the angle α, the functional relationship y1(α) between the slave axis position y and the angle α, and the functional relationship v1(α) between the slave axis speed v and the angle α;
[0109] Among them, Figure 2 As shown, α is the angle between a point on the cutter motion path in the first cutting area and the cutting point b; the first cutting area restriction conditions include: the cutter's velocity component in the horizontal direction is consistent with the material's travel speed; the cutter and the material to be cut position are consistent in the vertical direction;
[0110] According to the first cropping area restriction condition, we can get: sinα=x / r, that is, x1(α)=r*sinα; we can also get: y=r*α, that is, y1(α)=r*α; we can also get: Right now v feed is the material travel speed, and r is the radius of the circular motion of the cutter.
[0111] A2, based on the functional relationship x1(α) and the functional relationship y1(α), obtain the functional relationship y1(x) between the slave axis position y and the master axis position x;
[0112] It can be obtained that the functional relationship between the slave axis position y and the master axis position x is: y1(x)=r*α,
[0113] A3, based on the functional relationship x1(α) and the functional relationship v1(α), obtain the functional relationship v1(x) between the slave axis speed v and the master axis position x;
[0114] It can be obtained that the functional relationship between the slave axis speed v and the main axis position x is:
[0115] A4, based on the value range of the main axis position x in the first cutting area, the functional relationship y1(x) between the slave axis position y and the main axis position x, and the functional relationship v1(x) between the slave axis speed v and the main axis position x, an electronic cam curve corresponding to the first cutting area is constructed.
[0116] It can be obtained that the electronic cam curve corresponding to the first cutting area is:
[0117]
[0118] Therefore, in order to improve the cutting effect and ensure the synchronous movement of the cutter and the material, the functional relationship y1(x) between the slave axis position y and the spindle position x, and the functional relationship v1(x) between the slave axis speed v and the spindle position x in the first cutting area are calculated respectively. Combined with the value range of the spindle position x in the first cutting area, the electronic cam curve corresponding to the first cutting area is constructed.
[0119] In one possible implementation, combining Figure 3 , step S5, based on the pre-built electronic cam curve calculation model, calculating the electronic cam curve corresponding to the adjustment area, specifically including steps B1-B4:
[0120] B1, based on the material thickness h, calculate the angle θ between the cutting point c and the cutting point b; r is the radius of the circular motion of the cutter;
[0121] Based on the total length C of the cutter completing one circular motion 周长 , the travel length L of the material to complete one cutting 切长 and the calculated movement length C of the cutter in the first cutting area and the second cutting area ac , the angle θ, the travel length L of the material in the first cutting area and the second cutting area ac , judge (C 周长 -C ac )*cosθ and L 切长 -L ac size.
[0122] Furthermore, C 周长 is the total length of the cutter completing one circular motion, that is Figure 2 Circumference of the middle circle; C ac is the movement length of the cutter in the first cutting area and the second cutting area, that is Figure 2 According to the cutter movement direction and the arc length of the arc ac, the cutter movement length C in the adjustment area can be calculated.ca , C ca =C 周长 -C ac ; According to the travel length L of the material to complete one cutting 切长 and the travel length L of the material in the first cutting area and the second cutting area ac , the travel length L of the material in the adjustment area can be calculated ca , L ca =L 切长 -L ac .
[0123] B2, if (C 周长 -C ac )*cosθ>L 切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the first movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the first movement mode; wherein, the first movement mode represents that according to the movement direction of the cutter, the movement process of the cutter in the adjustment area includes an acceleration section and a deceleration section, specifically, the movement of the cutter in the adjustment area is first accelerated and then decelerated.
[0124] In a possible implementation, in step B2, calculating the electronic cam curve corresponding to the adjustment area when the cutter is in the first motion mode specifically includes steps B21-B25:
[0125] B21, construct a dimensionless function set corresponding to the adjustment area; the dimensionless function set includes a dimensionless displacement function Y(X), a dimensionless velocity function V(X) and a dimensionless acceleration function A(X); the dimensionless displacement function Y(X) represents the functional relationship between the slave axis position Y and the master axis position X in a dimensionless case, Y(X)=D0+D1X+D2X 2 +D3X 3 +D4X 4 +D5X 5 The dimensionless velocity function V(X) represents the functional relationship between the slave axis velocity V and the spindle position X in a dimensionless case, V(X) = D1 + 2D2X + 3D3X 2 +4D4X 3 +5D5X 4 The dimensionless acceleration function A(X) represents the functional relationship between the slave axis acceleration A and the spindle position X in a dimensionless case, A(X)=2D2+6D3X+12D4X 2 +20D5X 3 ; D0, D1, D2, D3, D4, and D5 are all coefficients.
[0126] According to the dimensionless function set, we can see that: with the fifth-order polynomial Y(X) = D0+D1X+D2X 2 +D3X 3 +D4X 4 +D5X 5 , as the basic function for fitting the relationship between the main axis position and the slave axis position in the adjustment area, by differentiating the functional relationship Y(X), the functional relationship V(X) can be obtained; by differentiating the functional relationship V(X), the functional relationship A(X) can be obtained.
[0127] B22, constructing a first motion mode boundary condition; the first motion mode boundary condition includes:
[0128]
[0129] △y represents the movement length of the cutter in the adjustment area, △y=C ca ; △x represents the travel length of the material in the adjustment area, △x=L ca .
[0130] According to the boundary conditions of the first motion mode above, it can be seen that: in this case, the speed of the cutter at the cutting point c is consistent with that at the cutting point a, and the acceleration of the cutter at the cutting point c and at the cutting point a is both 0.
[0131] B23, based on the first motion mode boundary condition and the dimensionless function set corresponding to the adjustment area, calculate the values of coefficients D0, D1, D2, D3, D4, and D5, substitute the calculated values of D0, D1, D2, D3, D4, and D5 into function Y(X) and function V(X) respectively, and obtain the functional relationship Y between the slave axis position Y and the master axis position X in the dimensionless case. 21 (X), and the functional relationship between the slave axis speed V and the master axis position X 21 (X).
[0132] B24, the functional relationship Y between the slave axis position Y and the master axis position X in the dimensionless case 21 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the real situation 21 (x);
[0133] In the dimensionless case, the functional relationship between the slave axis speed V and the master axis position X is V 21 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis speed v and the master axis position x in the real situation 21 (x).
[0134] B25, based on the value range of the spindle position x in the adjustment zone, the functional relationship y between the slave axis position y and the spindle position x 21 (x), the functional relationship v between the slave axis speed v and the master axis position x 21 (x), constructing an electronic cam curve corresponding to the adjustment area.
[0135] in, That is, in y 21 In the formula of (x), the conversion relationship between the spindle position X in the dimensionless case and the spindle position x in the real case is: Right now v 21 (x) = v feed *V 21 (X).
[0136] For example, the function in the dimensionless case can be converted into the function in the real case by coordinate shifting and scaling in the following way:
[0137] Set X = x / x a , Y=y / y a , and construct the state transition function: when x = 0, X = 0, Y = 0; when x = x a When X=1, Y=y a / x a , X=x / x a , Y=y / y a Substitute the function relationship Y 21 (X) and the functional relationship V 21 (X), and combined with the state transition function, we can get the functional relationship y 21 (x) and the functional relationship v 21 (x);
[0138] In a particular curve, x a ,y a The value of is a known value, that is, there is a certain proportional relationship between the dimensionless value in the dimensionless case and the true value in the true case.
[0139] Therefore, when (C 周长 -C ac )*cosθ>L 切长 -L ac In this case, it is necessary to control the cutter to accelerate first and then decelerate in the adjustment area, and plan the electronic cam curve so that the horizontal component of the cutter speed is equal to the material travel speed at the cutting point c and the cutting point a, which is convenient for the next cutting.
[0140] B3, if (C 周长 -C ac )*cosθ=L切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the second movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the second movement mode; wherein, the second movement mode indicates that the cutter maintains a uniform motion in the adjustment area, and the speed of the cutter in the adjustment area is consistent with the speed of the cutter at the cutting point a and the cutting point c.
[0141] In a possible implementation, in step B3, calculating the electronic cam curve corresponding to the adjustment area when the cutter is in the second motion mode specifically includes steps B31-B34:
[0142] B31, respectively construct the dimensionless displacement function Y corresponding to the adjustment area 22 (X) and the dimensionless velocity function V 22 (X); the dimensionless displacement function Y 22 (X), represents the functional relationship between the slave axis position Y and the master axis position X in a dimensionless case, Y 22 (X) = X / cosθ; the dimensionless velocity function V 22 (X), represents the functional relationship between the slave axis speed V and the master axis position X in a dimensionless case, V 22 (X) = 1 / cosθ;
[0143] B32, the functional relationship Y between the slave axis position Y and the master axis position X in the dimensionless case 22 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the real situation 22 (x);
[0144] B33, the functional relationship between the slave axis speed V and the master axis position X in the dimensionless case V 22 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis speed v and the master axis position x in the real situation 22 (x);
[0145] B34, based on the value range of the main axis position x in the adjustment area, the functional relationship y between the slave axis position y and the main axis position x 22 (x), the functional relationship v between the slave axis speed v and the master axis position x 22 (x), constructing an electronic cam curve corresponding to the adjustment area.
[0146] in:
[0147]
[0148] Therefore, when (C 周长-C ac )*cosθ=L 切长 -L ac In this case, it is necessary to control the cutter to keep moving at a constant speed in the adjustment area, and the speed of the cutter in the adjustment area is consistent with the speed at cutting point a and cutting point c, so that when the next point to be cut of the material reaches the position corresponding to cutting point a, the cutter will move to cutting point a, which is convenient for the next cutting.
[0149] B4, if (C 周长 -C ac )*cosθ<L 切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the third movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the third movement mode; wherein, the third movement mode represents that according to the movement direction of the cutter, the movement process of the cutter in the adjustment area includes a deceleration section and an acceleration section, specifically, the movement of the cutter in the adjustment area first decelerates and then accelerates.
[0150] In a possible implementation, in step B4, calculating the electronic cam curve corresponding to the adjustment area when the cutter is in the third motion mode specifically includes steps B41-B44:
[0151] B41, constructing a dimensionless function set corresponding to the adjustment area; the dimensionless function set includes a dimensionless displacement function Y(X), a dimensionless velocity function V(X) and a dimensionless acceleration function A(X);
[0152] The dimensionless displacement function Y(X) represents the functional relationship between the slave axis position Y and the master axis position X in a dimensionless case, Y(X)=D0+D1X+D2X 2 +D3X 3 +D4X 4 +D5X 5 The dimensionless velocity function V(X) represents the functional relationship between the slave axis velocity V and the spindle position X in a dimensionless case, V(X) = D1 + 2D2X + 3D3X 2 +4D4X 3 +5D5X 4 The dimensionless acceleration function A(X) represents the functional relationship between the slave axis acceleration A and the spindle position X in a dimensionless case, A(X)=2D2+6D3X+12D4X 2 +20D5X 3 ; D0, D1, D2, D3, D4, D5 are all coefficients;
[0153] B42, set the master-slave axis length ratio K = △y / △x, calculate the value of the master-slave axis length ratio K, and compare the master-slave axis length ratio K with the master-slave axis reference length ratio K0;
[0154] Where △y represents the movement length of the cutter in the adjustment area, △y=C ca ; △x represents the travel length of the material in the adjustment area, △x=L ca ;
[0155] B43, if K≥K0, it is determined that there is no zero-speed waiting section between the deceleration section and the acceleration section of the cutter in the adjustment zone; a zero-speed waiting boundary condition is constructed, and based on the dimensionless function set corresponding to the adjustment zone and the zero-speed waiting boundary condition, the electronic cam curve corresponding to the adjustment zone is calculated;
[0156] B44, if K<K0, it is determined that there is a zero-speed waiting section between the deceleration section and the acceleration section of the adjustment zone; then the deceleration section boundary condition is constructed, and based on the dimensionless function set corresponding to the adjustment zone and the deceleration section boundary condition, the value range of the spindle position x in the deceleration section of the adjustment zone is obtained, and the electronic cam curve corresponding to the deceleration section of the adjustment zone is calculated;
[0157] Constructing the boundary conditions of the acceleration section, and based on the dimensionless function set corresponding to the adjustment zone and the boundary conditions of the acceleration section, obtaining the value range of the spindle position x in the acceleration section of the adjustment zone, and calculating the electronic cam curve corresponding to the acceleration section of the adjustment zone; based on the value range of the spindle position x in the adjustment zone, the value range of the spindle position x in the deceleration section of the adjustment zone, and the value range of the spindle position x in the acceleration section of the adjustment zone, obtaining the value range of the spindle position x in the zero-speed waiting section of the adjustment zone, and calculating the electronic cam curve corresponding to the zero-speed waiting section of the adjustment zone;
[0158] Based on the electronic cam curve corresponding to the deceleration section of the adjustment area, the electronic cam curve corresponding to the zero-speed waiting section of the adjustment area, and the electronic cam curve corresponding to the acceleration section of the adjustment area, an electronic cam curve corresponding to the adjustment area is constructed.
[0159] Therefore, when (C 周长 -C ac )*cosθ<L 切长 -L acIn this case, it is necessary to control the cutter to decelerate first and then accelerate in the adjustment area, and compare the master-slave axis length ratio K with the master-slave axis reference length ratio K0. If K≥K0, it means that the cutter has no zero-speed waiting section between the deceleration section and the acceleration section. Therefore, by constructing a boundary condition of no zero-speed waiting, the electronic cam curve corresponding to the adjustment area can be calculated; if K<K0, it means that the cutter has a zero-speed waiting section between the deceleration section and the acceleration section. After the speed of the cutter is reduced to 0 in the deceleration section, it needs to wait for a period of time before accelerating. Therefore, the electronic cam curves are calculated for the deceleration section and the acceleration section respectively, and finally the electronic cam curve of the adjustment area is constructed.
[0160] In a possible implementation manner, before step B42, comparing the master-slave axis length ratio K with the master-slave axis reference length ratio K0, the following steps are also included:
[0161] Construct a critical point condition function; the critical point condition function includes:
[0162]
[0163] Based on the critical point condition function and the dimensionless function set corresponding to the adjustment zone, the expressions of coefficients D0, D1, D2, D3, D4, and D5 are calculated, and the coefficients D0, D1, D2, D3, D4, and D5 are represented by K0;
[0164] The value of the reference slope ratio K0 is determined according to the following conditions: when the cutter moves in the adjustment area, there is a critical point on the cutter motion trajectory. Because the speed is going to reverse, the speed has an extreme point in the interval. The speed and acceleration of the cutter at the critical point are both 0.
[0165] That is to say, when the cutter needs to slow down first and then speed up in the adjustment area, if the corresponding cutting length L of the material 切长 The speed of the cutter will reach 0 in the deceleration stage. If we still use the calculation method of accelerating first and then decelerating, the cutter will rotate in the opposite direction, which is not what we want to happen. Therefore, a zero-speed waiting section is required to be correct. Then we can call the condition that the speed of the cutter is reduced to 0 when it decelerates in the adjustment area as the critical condition. First, we need to obtain the critical value of the cutting length that produces reversal, and let Δy / Δx=K0, so as to calculate the reference length ratio K0 of the master and slave axes.
[0166] In a possible implementation, in step B43, a zero-speed waiting boundary condition is constructed, and based on the dimensionless function set corresponding to the adjustment area and the zero-speed waiting boundary condition, an electronic cam curve corresponding to the adjustment area is calculated, specifically including steps B431-B434:
[0167] B431, constructing a zero-speed waiting boundary condition, wherein the zero-speed waiting boundary condition includes:
[0168]
[0169] △y represents the movement length of the cutter in the adjustment area, △y=C ca ; △x represents the travel length of the material in the adjustment area, △x=L ca ; B432, based on the dimensionless function set corresponding to the zero-speed waiting boundary condition and the adjustment zone, calculate the values of coefficients D0, D1, D2, D3, D4, and D5, and substitute the calculated values of D0, D1, D2, D3, D4, and D5 into function Y(X) and function V(X) respectively to obtain the functional relationship Y between the slave axis position Y and the master axis position X in the dimensionless case. 23 (X), and the functional relationship between the slave axis speed V and the master axis position X 23 (X);
[0170] B433, the functional relationship Y between the slave axis position Y and the master axis position X in the dimensionless case 23 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the real situation 23 (x);
[0171] In the dimensionless case, the functional relationship between the slave axis speed V and the master axis position X is V 23 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis speed v and the master axis position x in the real situation 23 (x);
[0172] B434, based on the value range of the main axis position x in the adjustment zone, the functional relationship y between the slave axis position y and the main axis position x 23 (x), the functional relationship v between the slave axis speed v and the master axis position x 23 (x), constructing an electronic cam curve corresponding to the adjustment area.
[0173] Therefore, through steps B431-B434, it can be calculated that when K≥K0, the cutter movement in the adjustment area is taken as a whole, and the electronic cam curve corresponding to the adjustment area is calculated.
[0174] in:
[0175]
[0176] That is, in y 23 In the formula of (x), the conversion relationship between the spindle position X in the dimensionless case and the spindle position x in the real case is: Right now v 23 (x) = v feed *V 23 (X).
[0177] In a possible implementation, in step B44, the deceleration segment boundary condition is constructed, and based on the dimensionless function set corresponding to the adjustment zone and the deceleration segment boundary condition, the value range of the spindle position x in the deceleration segment of the adjustment zone is obtained, and the electronic cam curve corresponding to the deceleration segment of the adjustment zone is calculated, which specifically includes steps B441-B447:
[0178] B441, constructing the deceleration section boundary conditions; the deceleration section boundary conditions include:
[0179]
[0180] △y0 represents the movement length of the cutter in the deceleration section of the adjustment area, and △x0 represents the travel length of the material in the deceleration section of the adjustment area;
[0181] B442, based on the boundary conditions of the deceleration section and the dimensionless function set corresponding to the adjustment zone, calculate the expressions of coefficients D0, D1, D2, D3, D4, and D5, and represent the coefficients D0, D1, D2, D3, D4, and D5 with △x0 and △y0;
[0182] B443, based on the relationship between △y0 and △y, and the relationship between △y0 and △x0, calculate the values of △y0 and △x0; wherein △y0=△y / 2, △y0 / △x0=K0;
[0183] B444, based on the values of △y0 and △x0, obtain the values of coefficients D0, D1, D2, D3, D4, and D5. Substitute the calculated values of D0, D1, D2, D3, D4, and D5 into functions Y(X) and V(X) respectively to obtain the functional relationship Y between the slave axis position Y and the master axis position X in the deceleration stage in the dimensionless case. 24 (X), and the functional relationship V between the speed V of the slave axis and the position X of the main axis in the deceleration stage 24 (X);
[0184] B445, the functional relationship Y between the slave axis position Y and the master axis position X in the deceleration stage when the dimension is non-dimensional. 24 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the deceleration stage in real situation 24 (x);
[0185] In the case of non-dimensionalization, the functional relationship between the speed V of the slave axis and the position X of the main axis in the deceleration stage is V 24(X), through coordinate offset and scaling, is converted into the functional relationship v between the speed v of the slave axis and the position x of the main axis in the deceleration stage. 24 (x);
[0186] B446, based on the value range of the spindle position x in the adjustment zone and the value of the travel length △x0 of the material in the deceleration section of the adjustment zone, obtain the value range of the spindle position x in the deceleration section of the adjustment zone;
[0187] B447, based on the value range of the main shaft position x in the deceleration section of the adjustment area, the functional relationship y between the slave shaft position y and the main shaft position x 24 (x), the functional relationship v between the slave axis speed v and the master axis position x 24 (x), constructing an electronic cam curve corresponding to the deceleration section of the adjustment area.
[0188] Among them, the value range of the spindle position x in the deceleration section of the adjustment area is
[0189] That is, in y 24 In the formula of (x), the conversion relationship between the spindle position X in the dimensionless case and the spindle position x in the real case is: Right now v 24 (x) = v feed *0.5333*V 24 (X).
[0190] Through the above steps B441-B447, according to the constructed deceleration section boundary conditions, the values of coefficients D0, D1, D2, D3, D4, and D5 are calculated, and then the dimensionless function is obtained, which is then converted into a real function, so that the electronic cam curve corresponding to the deceleration section can be constructed.
[0191] In a possible implementation, in step B44, constructing the acceleration segment boundary conditions, and based on the dimensionless function set corresponding to the adjustment zone and the acceleration segment boundary conditions, obtaining the value range of the spindle position x in the acceleration segment of the adjustment zone, and calculating the electronic cam curve corresponding to the acceleration segment of the adjustment zone, specifically includes:
[0192] B4411, constructing the boundary conditions of the acceleration section; the boundary conditions of the acceleration section include:
[0193]
[0194] △y1 represents the movement length of the cutter in the acceleration section of the adjustment area, and △x1 represents the travel length of the material in the acceleration section of the adjustment area;
[0195] B4412, based on the boundary conditions of the acceleration section and the dimensionless function set corresponding to the adjustment zone, calculate the expressions of coefficients D0, D1, D2, D3, D4, and D5, and represent the coefficients D0, D1, D2, D3, D4, and D5 with △x1 and △y1;
[0196] B4413, based on the relationship between △y1 and △y, and the relationship between △y1 and △x1, calculate the values of △y1 and △x1; wherein △y1=△y / 2, △y1 / △x1=K0;
[0197] B4414, based on the values of △y1 and △x1, obtain the values of coefficients D0, D1, D2, D3, D4, and D5. Substitute the calculated values of D0, D1, D2, D3, D4, and D5 into functions Y(X) and V(X) respectively to obtain the functional relationship Y between the slave axis position Y and the master axis position X in the acceleration stage in the dimensionless case. 25 (X), and the functional relationship V between the speed V of the slave axis and the position X of the main axis in the deceleration stage 25 (X);
[0198] B4415, the functional relationship Y between the slave axis position Y and the master axis position X in the acceleration phase is non-dimensionalized. 25 (X), through coordinate offset and scaling, converted to the actual situation, the functional relationship y between the slave axis position y and the master axis position x in the acceleration stage 25 (x);
[0199] In the dimensionless case, the functional relationship between the slave axis speed V and the main axis position X in the acceleration section is V 25 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis velocity v and the master axis position x in the acceleration phase in real conditions. 25 (x);
[0200] B4416, based on the value range of the spindle position x in the adjustment zone and the value of the travel length △x1 of the material in the deceleration section of the adjustment zone, obtain the value range of the spindle position x in the acceleration section of the adjustment zone;
[0201] B4417, based on the value range of the main axis position x in the acceleration section of the adjustment zone, the functional relationship y between the slave axis position y and the main axis position x 25 (x), the functional relationship v between the slave axis speed v and the master axis position x 25 (x), constructing an electronic cam curve corresponding to the deceleration section of the adjustment area.
[0202] Among them, the value range of the spindle position x in the acceleration section of the adjustment area is:
[0203]
[0204] That is, in y 25 In the formula of (x), the conversion relationship between the spindle position X in the dimensionless case and the spindle position x in the real case is: Right now v 25 (x) = v feed *0.5333*V 25 (X).
[0205] Through the above steps B4411-B4417, according to the constructed acceleration segment boundary conditions, the values of coefficients D0, D1, D2, D3, D4, and D5 are calculated, and then the dimensionless function is obtained, which is then converted into a function in the real situation, so that the electronic cam curve corresponding to the acceleration segment can be constructed.
[0206] In a possible implementation, in step B44, based on the value range of the spindle position x in the adjustment area, the value range of the spindle position x in the deceleration section of the adjustment area, and the value range of the spindle position x in the acceleration section of the adjustment area, the value range of the spindle position x in the zero-speed waiting section of the adjustment area is obtained, and the electronic cam curve corresponding to the zero-speed waiting section of the adjustment area is calculated; specifically including:
[0207] Based on the value range of the spindle position x in the deceleration section of the adjustment area and the value range of the spindle position x in the acceleration section of the adjustment area, the value range of the spindle position x in the zero-speed waiting section of the adjustment area is obtained;
[0208] Setting the slave axis to remain stationary in the zero-speed waiting section can obtain the zero-speed waiting section, the functional relationship y between the slave axis position y and the master axis position x 26 (x), the functional relationship between the slave axis speed v and the master axis position x 26 (x);
[0209] Based on the value range of the spindle position x in the zero-speed waiting section of the adjustment area, the functional relationship y between the slave axis position y and the spindle position x 26 (x), the functional relationship between the slave axis speed v and the master axis position x 26 (x), constructing an electronic cam curve corresponding to the zero-speed waiting section in the adjustment area.
[0210] Therefore, the value range of the spindle position x in the zero-speed waiting section of the adjustment area can be obtained as follows: The cutter is stationary in the zero-speed waiting section, and the electronic cam curve corresponding to the zero-speed waiting section in the adjustment area is:
[0211]
[0212] Through the above steps, the electronic cam curve corresponding to the zero-speed waiting section in the adjustment area can be obtained.
[0213] In a possible implementation manner, step S5, calculating the electronic cam curve corresponding to the second cutting area based on a pre-built electronic cam curve calculation model, specifically includes:
[0214] C1, based on the second cutting area restriction condition, construct the functional relationship x3(β) between the main axis position x and the angle β, the functional relationship y3(β) between the slave axis position y and the angle α, and the functional relationship v3(β) between the slave axis speed v and the angle β;
[0215] Wherein, β is the angle between a point on the motion path of the cutter in the second cutting area and the cutting point b; the restriction conditions of the second cutting area include: the velocity component of the cutter in the horizontal direction is consistent with the moving speed of the material; the cutter and the position of the material to be cut are consistent in the vertical direction;
[0216] C2, based on the functional relationship x3(β) and the functional relationship y3(β), obtain the functional relationship y3(x) between the slave axis position y and the master axis position x;
[0217] C3, based on the functional relationship x3(β) and the functional relationship v3(β), obtain the functional relationship v3(x) between the slave axis speed v and the master axis position x;
[0218] C4, based on the value range of the spindle position x in the second cutting area, the functional relationship y3(x) between the slave axis position y and the spindle position x, and the functional relationship v3(x) between the slave axis speed v and the spindle position x, construct an electronic cam curve corresponding to the second cutting area.
[0219] Similarly, according to the above calculation process of the resistance cam curve of the first cutting area, we can get:
[0220]
[0221] I will not go into details here.
[0222] Therefore, in order to improve the cutting effect and ensure the synchronous movement of the cutter and the material, the functional relationship y3(x) between the slave position y and the main axis position x, and the functional relationship v3(x) between the slave speed v and the main axis position x in the second cutting area are calculated respectively. Combined with the value range of the main axis position x in the second cutting area, the electronic cam curve corresponding to the second cutting area is constructed. In the second cutting area, the cutter moves counterclockwise from the cutting point a to the cutting point b, and the speed of the cutter hanging point on the disc, that is, the cutter speed changes from v feed / cosθ decelerates to the material travel speed v feedThe same value is ensured, and the speed component of the cutter in the horizontal direction is equal to the material travel speed v feed Consistent; for the convenience of calculation, the cutting point b can be taken as the starting point and the cutting point a as the end point.
[0223] It should be noted that in this embodiment, when converting the dimensionless function relationship into the real function relationship, it is converted into a function of the real position of the main axis and the real position of the slave axis, and a function of the real position of the main axis and the real speed of the slave axis through coordinate offset and scaling.
[0224] Therefore, in the electronic cam curve generation method of the present application, in the process of calculating the electronic cam curve, by considering the material thickness h, a complete cutting cycle is divided into different processes, the chord is used as the material travel length, and the arc is used as the cutter movement length, so that the cutter is synchronized with the feed in the chord direction, and the chord arc correction function is realized. The corresponding electronic cam curve is calculated for different processes. When using it, it is only necessary to set the material thickness h, the total length C of the cutter to complete a circular motion, and the total length C of the cutter to complete a circular motion. 周长 , the travel length L of the material to complete one cutting 切长 These three parameters can automatically generate the corresponding curve equation, realize the programming-free calculation of the electronic cam curve, and ensure the cutting effect for materials with a certain thickness.
[0225] In summary, through the programming-free electronic cam curve generation method with chord arc correction function of the present application, the electronic cam curve can be obtained as follows:
[0226] When (C 周长 -C ac )*cosθ>L 切长 -L ac When , the electronic cam curve is:
[0227]
[0228]
[0229] When (C 周长 -C ac )*cosθ=L 切长 -L ac When , the electronic cam curve is:
[0230]
[0231]
[0232] When (C 周长 -C ac )*cosθ<L 切长 -L ac, and K≥K0; where K=△y / △x; the electronic cam curve is:
[0233]
[0234]
[0235] When (C 周长 -C ac )*cosθ<L 切长 -L ac , and K<K0; where K=△y / △x; the electronic cam curve is:
[0236]
[0237]
[0238] A person skilled in the art can select different relationship equations according to different known conditions to obtain the relationship curve between the slave axis position y and the main axis position x, the relationship curve between the slave axis speed v and the main axis position x, and the total length C of a circular motion of the cutter by setting the material thickness h and the total length C of a circular motion of the cutter. 周长 , the travel length L of the material to complete one cutting 切长 According to these three parameters, the corresponding electronic cam curve can be generated based on the chord correction function without programming.
[0239] The programming-free electronic cam curve generation method with chord correction function of the present application generates an electronic cam curve for cross-cutting of thick materials through chord correction and fifth-order polynomial, and the cutting area must always ensure that the speed component of the knife in the material travel direction is consistent with the material travel speed. Therefore, it is difficult to obtain a perfect curve by tracing points for the electronic cam curve of thick material cutting. In terms of calculation method, the present application avoids the problem of the material cutting length L 切长 The knife axis reversal caused by excessive length is eliminated, and the algorithm is further optimized for this scenario to avoid the problem of excessive acceleration caused by asymmetric acceleration and deceleration. This method simplifies production debugging and has high reliability. Due to the chasing shearing method in the automation industry, the knife needs to move back and forth, while this method moves the knife in the same direction, which is more efficient. It is highly practical in scenarios requiring efficient cutting and has a wide range of applications in fields such as steel plate cutting.
[0240] The embodiment of the present application provides a programming-free electronic cam curve generation system with a chord arc correction function, and applies the above-mentioned programming-free electronic cam curve generation method with a chord arc correction function. The main axis of the electronic cam is a linear axis, which is used to drive the material to make a uniform linear motion in the horizontal direction; the slave axis of the electronic cam is a rotating axis, which is used to drive the cutter to make a circular motion; the cutter is used to cut the material; the system includes a cutting point planning module, a region division module, and an electronic cam curve calculation module;
[0241] The cutting point planning module is used to plan cutting points a, b and c on the circular motion trajectory of the cutter based on the material thickness; wherein the cutting point a is the point where the tip of the cutter contacts the material, the cutting point b is the point where the cutter completely cuts off the material, and the cutting point c is the point where the cutter completely withdraws from the material;
[0242] The area division module is used to record the area where the cutter moves from cutting point b to cutting point c as the first cutting area, the area where the cutter moves from cutting point c to cutting point a as the adjustment area, and the area where the cutter moves from cutting point a to cutting point b as the second cutting area according to the direction of movement of the cutter;
[0243] The electronic cam curve calculation module is used to calculate the chord length ac and the arc length ac respectively, and the chord length ac is used as the travel length L of the material in the first cutting area and the second cutting area. ac , the arc length ac is taken as the movement length C of the cutter in the first cutting area and the second cutting area ac ;
[0244] The electronic cam curve calculation module is also used to calculate the travel length L of the material after one cutting. 切长 , the travel length L of the material in the first cutting area and the second cutting area ac , taking the cutting point b as the starting point, the value ranges of the main axis position x in the first cutting area, the adjustment area, and the second cutting area are obtained;
[0245] The electronic cam curve calculation module is further used to calculate the electronic cam curve corresponding to the first cutting area, the electronic cam curve corresponding to the adjustment area and the electronic cam curve corresponding to the second cutting area based on a pre-constructed electronic cam curve calculation model.
[0246] The electronic cam curve includes a relationship curve between the slave shaft position y and the master shaft position x, and a relationship curve between the slave shaft speed v and the master shaft position x.
[0247] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A programming-free electronic cam curve generation method with chord arc correction function, It is characterized in that The main axis of the electronic cam is a linear axis, which is used to drive the material to move in a uniform linear motion in the horizontal direction; The slave axis of the electronic cam is a rotating axis, which is used to drive the cutter to make a circular motion; the cutter is used to cut the material; the method includes: Based on the material thickness h, cutting points a, b and c are planned on the circular motion trajectory of the cutter; wherein the cutting point a is the point where the tip of the cutter contacts the material, the cutting point b is the point where the cutter completely cuts off the material, and the cutting point c is the point where the cutter completely withdraws from the material; According to the movement direction of the cutter, the area where the cutter moves from cutting point b to cutting point c is recorded as the first cutting area, the area where the cutter moves from cutting point c to cutting point a is recorded as the adjustment area, and the area where the cutter moves from cutting point a to cutting point b is recorded as the second cutting area; Calculate the chord length ac and arc length ac respectively, and use the chord length ac as the travel length L of the material in the first cutting area and the second cutting area ac , the arc length ac is taken as the movement length C of the cutter in the first cutting area and the second cutting area ac ; Based on the travel length L of the material to complete one cutting 切长 , the travel length L of the material in the first cutting area and the second cutting area ac , taking the cutting point b as the starting point, the value ranges of the main axis position x in the first cutting area, the adjustment area, and the second cutting area are obtained; Based on a pre-constructed electronic cam curve calculation model, respectively calculating the electronic cam curve corresponding to the first cutting area, the electronic cam curve corresponding to the adjustment area, and the electronic cam curve corresponding to the second cutting area; Calculating the electronic cam curve corresponding to the first cutting area based on a pre-built electronic cam curve calculation model specifically includes: Based on the first cutting area restriction condition, construct the functional relationship between the main axis position x and the angle α 1 (α), the functional relationship between the slave axis position y and the angle α 1 (α), the functional relationship between the axis velocity v and the angle α 1 (α); wherein α is the angle between a point on the cutter motion path in the first cutting area and the cutting point b; the first cutting area restriction conditions include: The speed component of the cutter in the horizontal direction is consistent with the traveling speed of the material; Based on the functional relationship x 1 (α) and the functional relationship y 1 (α), and obtain the functional relationship y between the slave axis position y and the master axis position x 1 (x); Based on the functional relationship x 1 (α) and the functional relationship v 1 (α), and obtain the functional relationship v between the slave axis speed v and the master axis position x 1 (x); Based on the value range of the main axis position x in the first cutting area, the functional relationship y between the slave axis position y and the main axis position x 1 (x), the functional relationship v between the slave axis speed v and the master axis position x 1 (x), constructing an electronic cam curve corresponding to the first cutting area; Based on the pre-built electronic cam curve calculation model, the electronic cam curve corresponding to the adjustment area is calculated, specifically including: based on the material thickness h, calculating the angle θ between the cutting point c and the cutting point b; r is the radius of the circular motion of the cutter; Based on the total length C of the cutter completing one circular motion 周长 , the travel length L of the material to complete one cutting 切长 and the movement length C of the cutter in the first cutting area and the second cutting area ac , the angle θ, the travel length L of the material in the first cutting area and the second cutting area ac , judge (C 周长 -C ac )*cosθ and L 切长 -L ac size; If (C 周长 -C ac )*cosθ>L 切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the first movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the first movement mode; wherein the first movement mode represents that according to the movement direction of the cutter, the movement process of the cutter in the adjustment area includes an acceleration section and a deceleration section; If (C 周长 -C ac )*cosθ=L 切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the second movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the second movement mode; wherein the second movement mode indicates that the cutter maintains a uniform speed in the adjustment area, and the speed of the cutter in the adjustment area is consistent with the speed of the cutter at the cutting point a and the cutting point c; If (C 周长 -C ac )*cosθ<L 切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the third movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the third movement mode; wherein the third movement mode indicates that according to the movement direction of the cutter, the movement process of the cutter in the adjustment area includes a deceleration section and an acceleration section; Calculating the electronic cam curve corresponding to the second cutting area based on a pre-built electronic cam curve calculation model specifically includes: Based on the second cutting area restriction condition, construct the functional relationship between the main axis position x and the angle β 3 (β), the functional relationship between the slave axis position y and the angle α 3 (β), the functional relationship between the axis velocity v and the angle β 3 (β); Wherein, β is the angle between a point on the motion path of the cutter in the second cutting area and the cutting point b; the restriction condition of the second cutting area includes: the speed component of the cutter in the horizontal direction is consistent with the travel speed of the material; Based on the functional relationship x 3 (β) and the functional relationship y 3 (β), and obtain the functional relationship y between the slave axis position y and the master axis position x 3 (x); Based on the functional relationship x 3 (β) and the functional relationship v 3 (β), and obtain the functional relationship v between the slave axis speed v and the master axis position x 3 (x); Based on the value range of the main axis position x in the second cutting area, the functional relationship y between the slave axis position y and the main axis position x 3 (x), the functional relationship v between the slave axis speed v and the master axis position x 3 (x), construct the electronic cam curve corresponding to the second cutting area.
2. The method for generating a programming-free electronic cam curve with a chord correction function according to claim 1, It is characterized in that Calculating the electronic cam curve corresponding to the adjustment area when the cutter is in the first motion mode specifically includes: Constructing a dimensionless function set corresponding to the adjustment area; the dimensionless function set includes a dimensionless displacement function Y(X), a dimensionless velocity function V(X) and a dimensionless acceleration function A(X); The dimensionless displacement function Y(X) represents the functional relationship between the slave axis position Y and the master axis position X in a dimensionless case, Y(X)=D 0 +D 1 X+D 2 X 2 +D 3 X 3 +D 4 X 4 +D 5 X 5 The dimensionless velocity function V(X) represents the functional relationship between the slave axis velocity V and the spindle position X in a dimensionless case, V(X) = D 1 +2D 2 X+3D 3 X 2 +4D 4 X 3 +5D 5 X 4 The dimensionless acceleration function A(X) represents the functional relationship between the slave axis acceleration A and the spindle position X in a dimensionless case, A(X) = 2D 2 +6D 3 X+12D 4 X 2 +20D 5 X 3 ;D 0 , D 1 , D 2 , D 3 , D 4 , D 5 All are coefficients; Constructing a first motion mode boundary condition; the first motion mode boundary condition includes: △y represents the movement length of the cutter in the adjustment area, △y=C ca ; △x represents the travel length of the material in the adjustment area, △x=L ca ; Based on the first motion mode boundary condition and the dimensionless function set corresponding to the adjustment area, calculate the coefficient D 0 , D 1 , D 2 , D 3 , D 4 , D 5 The value of D 0 , D 1 , D 2 , D 3 , D 4 , D 5 Substitute the values into the function Y(X) and the function V(X) respectively, and obtain the functional relationship Y between the slave axis position Y and the master axis position X in the dimensionless case. 21 (X), and the functional relationship between the slave axis speed V and the master axis position X 21 (X); In the dimensionless case, the functional relationship between the slave axis position Y and the master axis position X is Y 21 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the real situation 21 (x); In the dimensionless case, the functional relationship between the slave axis speed V and the master axis position X is V 21 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis speed v and the master axis position x in the real situation 21 (x); Based on the value range of the main axis position x in the adjustment area, the functional relationship y between the slave axis position y and the main axis position x 21 (x), the functional relationship v between the slave axis speed v and the master axis position x 21 (x), constructing an electronic cam curve corresponding to the adjustment area.
3. The method for generating a programming-free electronic cam curve with a chord correction function according to claim 1, It is characterized in that Calculating the electronic cam curve corresponding to the adjustment area when the cutter is in the second motion mode specifically includes: Construct the dimensionless displacement function Y corresponding to the adjustment area respectively 22 (X) and the dimensionless velocity function V 22 (X); the dimensionless displacement function Y 22 (X), represents the functional relationship between the slave axis position Y and the master axis position X in a dimensionless case, Y 22 (X) = X / cosθ; the dimensionless velocity function V 22 (X), represents the functional relationship between the slave axis speed V and the master axis position X in a dimensionless case, V 22 (X) = 1 / cosθ; In the dimensionless case, the functional relationship between the slave axis position Y and the master axis position X is Y 22 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the real situation 22 (x); In the dimensionless case, the functional relationship between the slave axis speed V and the master axis position X is V 22 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis speed v and the master axis position x in the real situation 22 (x); Based on the value range of the main axis position x in the adjustment area, the functional relationship y between the slave axis position y and the main axis position x 22 (x), the functional relationship v between the slave axis speed v and the master axis position x 22 (x), constructing an electronic cam curve corresponding to the adjustment area.
4. The method for generating a programming-free electronic cam curve with a chord correction function according to claim 1, It is characterized in that Calculating the electronic cam curve corresponding to the adjustment area when the cutter is in the third motion mode specifically includes: Constructing a dimensionless function set corresponding to the adjustment area; the dimensionless function set includes a dimensionless displacement function Y(X), a dimensionless velocity function V(X) and a dimensionless acceleration function A(X); The dimensionless displacement function Y(X) represents the functional relationship between the slave axis position Y and the master axis position X in a dimensionless case, Y(X)=D 0 +D 1 X+D 2 X 2 +D 3 X 3 +D 4 X 4 +D 5 X 5 The dimensionless velocity function V(X) represents the functional relationship between the slave axis velocity V and the spindle position X in a dimensionless case, V(X) = D 1 +2D 2 X+3D 3 X 2 +4D 4 X 3 +5D 5 X 4 The dimensionless acceleration function A(X) represents the functional relationship between the slave axis acceleration A and the spindle position X in a dimensionless case, A(X) = 2D 2 +6D 3 X+12D 4 X 2 +20D 5 X 3 ;D 0 , D 1 , D 2 , D 3 , D 4 , D 5 All are coefficients; Set the master-slave axis length ratio K = △y / △x, calculate the value of the master-slave axis length ratio K, and compare the master-slave axis length ratio K with the master-slave axis reference length ratio K0; Where △y represents the movement length of the cutter in the adjustment area, △y=C ca ; △x represents the travel length of the material in the adjustment area, △x=L ca ; If K≥K0, it is determined that there is no zero-speed waiting section between the deceleration section and the acceleration section of the cutter in the adjustment zone; a zero-speed waiting boundary condition is constructed, and based on the dimensionless function set corresponding to the adjustment zone and the zero-speed waiting boundary condition, the electronic cam curve corresponding to the adjustment zone is calculated; If K<K0, it is determined that there is a zero-speed waiting section between the deceleration section and the acceleration section of the adjustment area; then the deceleration section boundary condition is constructed, and based on the dimensionless function set corresponding to the adjustment area and the deceleration section boundary condition, the value range of the spindle position x in the deceleration section of the adjustment area is obtained, and the electronic cam curve corresponding to the deceleration section of the adjustment area is calculated; Constructing the boundary conditions of the acceleration section, and based on the dimensionless function set corresponding to the adjustment zone and the boundary conditions of the acceleration section, obtaining the value range of the spindle position x in the acceleration section of the adjustment zone, and calculating the electronic cam curve corresponding to the acceleration section of the adjustment zone; based on the value range of the spindle position x in the adjustment zone, the value range of the spindle position x in the deceleration section of the adjustment zone, and the value range of the spindle position x in the acceleration section of the adjustment zone, obtaining the value range of the spindle position x in the zero-speed waiting section of the adjustment zone, and calculating the electronic cam curve corresponding to the zero-speed waiting section of the adjustment zone; Based on the electronic cam curve corresponding to the deceleration section of the adjustment area, the electronic cam curve corresponding to the zero-speed waiting section of the adjustment area, and the electronic cam curve corresponding to the acceleration section of the adjustment area, an electronic cam curve corresponding to the adjustment area is constructed.
5. The method for generating a programming-free electronic cam curve with a chord arc correction function according to claim 4, It is characterized in that Constructing a zero-speed waiting boundary condition, and calculating an electronic cam curve corresponding to the adjustment area based on a dimensionless function set corresponding to the adjustment area and the zero-speed waiting boundary condition, specifically including: Constructing a zero-speed waiting boundary condition, the zero-speed waiting boundary condition includes: Based on the dimensionless function set corresponding to the zero-speed waiting boundary condition and the adjustment zone, the coefficient D is calculated. 0 , D 1 , D 2 , D 3 , D 4 , D 5 The value of D 0 , D 1 , D 2 , D 3 , D 4 , D 5 Substitute the values into the function Y(X) and the function V(X) respectively, and obtain the functional relationship Y between the slave axis position Y and the master axis position X in the dimensionless case. 23 (X), and the functional relationship between the slave axis speed V and the master axis position X 23 (X); In the dimensionless case, the functional relationship between the slave axis position Y and the master axis position X is Y 23 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the real situation 23 (x); In the dimensionless case, the functional relationship between the slave axis speed V and the master axis position X is V 23 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis speed v and the master axis position x in the real situation 23 (x); Based on the value range of the main axis position x in the adjustment area, the functional relationship y between the slave axis position y and the main axis position x 23 (x), the functional relationship v between the slave axis speed v and the master axis position x 23 (x), constructing an electronic cam curve corresponding to the adjustment area.
6. The method for generating a programming-free electronic cam curve with a chord arc correction function according to claim 4, It is characterized in that Constructing the deceleration segment boundary conditions, and based on the dimensionless function set corresponding to the adjustment zone and the deceleration segment boundary conditions, obtaining the value range of the spindle position x in the deceleration segment of the adjustment zone, and calculating the electronic cam curve corresponding to the deceleration segment of the adjustment zone, specifically including: Construct the deceleration section boundary conditions; the deceleration section boundary conditions include: △y 0 Indicates the movement length of the cutter in the deceleration section of the adjustment area, △x 0 Indicates the travel length of the material in the deceleration section of the adjustment area; Based on the deceleration section boundary conditions and the dimensionless function set corresponding to the adjustment zone, the coefficient D is calculated. 0 , D 1 , D 2 , D 3 , D 4 , D 5 The expression of the coefficient D 0 , D 1 , D 2 , D 3 , D 4 , D 5 Use △x 0 and △y 0 express; Based on △y 0 The relationship between △y and 0 and △x 0 The relationship between 0 and △x 0 The value of ; where △y 0 =△y / 2,△y 0 / △x 0 =K0; Based on △y 0 and △x 0 The value of coefficient D 0 , D 1 , D 2 , D 3 , D 4 , D 5 The value of D 0 , D 1 , D 2 , D 3 , D 4 , D 5 Substitute the values into the function Y(X) and the function V(X) respectively, and obtain the functional relationship Y between the slave axis position Y and the master axis position X in the deceleration stage in the dimensionless case. 24 (X), and the functional relationship V between the speed V of the slave axis and the position X of the master axis in the deceleration stage 24 (X); In the case of non-dimensionalization, the functional relationship Y between the slave axis position Y and the main axis position X in the deceleration section 24 (X), through coordinate offset and scaling, converted to the functional relationship y between the slave axis position y and the master axis position x in the deceleration stage in real situation 24 (x); In the case of non-dimensionalization, the functional relationship between the speed V of the slave axis and the position X of the main axis in the deceleration stage is V 24 (X), through coordinate offset and scaling, is converted into the functional relationship v between the speed v of the slave axis and the position x of the main axis in the deceleration stage. 24 (x); Based on the value range of the spindle position x in the adjustment zone and the travel length △x of the material in the deceleration section of the adjustment zone 0 The value of , obtains the value range of the spindle position x in the deceleration section of the adjustment area; Based on the value range of the main shaft position x in the deceleration section of the adjustment area, the functional relationship y between the slave shaft position y and the main shaft position x 24 (x), the functional relationship v between the slave axis speed v and the master axis position x 24 (x), constructing an electronic cam curve corresponding to the deceleration section of the adjustment area; Constructing the acceleration segment boundary conditions, obtaining the value range of the spindle position x in the acceleration segment of the adjustment zone based on the dimensionless function set corresponding to the adjustment zone and the acceleration segment boundary conditions, and calculating the electronic cam curve corresponding to the acceleration segment of the adjustment zone, specifically including: Constructing the acceleration section boundary conditions; the acceleration section boundary conditions include: △y 1 Indicates the movement length of the cutter in the acceleration section of the adjustment area, △x 1 Indicates the travel length of the material in the acceleration section of the adjustment area; Based on the boundary conditions of the acceleration section and the dimensionless function set corresponding to the adjustment zone, the coefficient D is calculated. 0 , D 1 , D 2 , D 3 , D 4 , D 5 The expression of the coefficient D 0 , D 1 , D 2 , D 3 , D 4 , D 5 Use △x 1 and △y 1 express; Based on △y 1 The relationship between △y and 1 and △x 1 The relationship between 1 and △x 1 The value of; Among them, △y 1 =△y / 2,△y 1 / △x 1 =K0; Based on △y 1 and △x 1 The value of coefficient D 0 , D 1 , D 2 , D 3 , D 4 , D 5 The value of D 0 , D 1 , D 2 , D 3 , D 4 , D 5 Substitute the values of into the function Y(X) and the function V(X) respectively, and obtain the functional relationship Y between the slave axis position Y and the master axis position X in the acceleration stage in the dimensionless case. 25 (X), and the functional relationship V between the speed V of the slave axis and the position X of the main axis in the deceleration stage 25 (X); In the dimensionless case, the functional relationship Y between the slave axis position Y and the master axis position X in the acceleration section 25 (X), through coordinate offset and scaling, converted to the actual situation, the functional relationship y between the slave axis position y and the master axis position x in the acceleration stage 25 (x); In the dimensionless case, the functional relationship between the slave axis speed V and the main axis position X in the acceleration section is V 25 (X), through coordinate offset and scaling, is converted into the functional relationship v between the slave axis velocity v and the master axis position x in the acceleration phase in real conditions. 25 (x); Based on the value range of the spindle position x in the adjustment zone and the travel length △x of the material in the deceleration section of the adjustment zone 1 The value of , obtains the value range of the spindle position x in the acceleration section of the adjustment area; Based on the value range of the main axis position x in the acceleration section of the adjustment area, the functional relationship y between the slave axis position y and the main axis position x 25 (x), the functional relationship v between the slave axis speed v and the master axis position x 25 (x), constructing an electronic cam curve corresponding to the deceleration section of the adjustment area.
7. A programming-free electronic cam curve generation system with chord arc correction function, It is characterized in that The main axis of the electronic cam is a linear axis, which is used to drive the material to make uniform linear motion in the horizontal direction; the slave axis of the electronic cam is a rotating axis, which is used to drive the cutter to make circular motion; the cutter is used to cut the material; the system includes a cutting point planning module, an area division module, and an electronic cam curve calculation module; The cutting point planning module is used to plan cutting points a, b and c on the circular motion trajectory of the cutter based on the material thickness; wherein the cutting point a is the point where the tip of the cutter contacts the material, the cutting point b is the point where the cutter completely cuts off the material, and the cutting point c is the point where the cutter completely withdraws from the material; The area division module is used to record the area where the cutter moves from cutting point b to cutting point c as the first cutting area, the area where the cutter moves from cutting point c to cutting point a as the adjustment area, and the area where the cutter moves from cutting point a to cutting point b as the second cutting area according to the direction of movement of the cutter; The electronic cam curve calculation module is used to calculate the chord length ac and the arc length ac respectively, and the chord length ac is used as the travel length L of the material in the first cutting area and the second cutting area. ac , the arc length ac is taken as the movement length C of the cutter in the first cutting area and the second cutting area ac ; The electronic cam curve calculation module is also used to calculate the travel length L of the material after one cutting. 切长 , the travel length L of the material in the first cutting area and the second cutting area ac , taking the cutting point b as the starting point, the value ranges of the main axis position x in the first cutting area, the adjustment area, and the second cutting area are obtained; The electronic cam curve calculation module is further used to calculate the electronic cam curve corresponding to the first cutting area, the electronic cam curve corresponding to the adjustment area, and the electronic cam curve corresponding to the second cutting area respectively based on a pre-constructed electronic cam curve calculation model; The electronic cam curve calculation module calculates the electronic cam curve corresponding to the first cutting area based on a pre-built electronic cam curve calculation model, specifically including: Based on the first cutting area restriction condition, construct the functional relationship between the main axis position x and the angle α 1 (α), the functional relationship between the slave axis position y and the angle α 1 (α), the functional relationship between the axis velocity v and the angle α 1 (α); wherein α is the angle between a point on the cutter motion path in the first cutting area and the cutting point b; the first cutting area restriction conditions include: The speed component of the cutter in the horizontal direction is consistent with the traveling speed of the material; Based on the functional relationship x 1 (α) and the functional relationship y 1 (α), and obtain the functional relationship y between the slave axis position y and the master axis position x 1 (x); Based on the functional relationship x 1 (α) and the functional relationship v 1 (α), and obtain the functional relationship v between the slave axis speed v and the master axis position x 1 (x); Based on the value range of the main axis position x in the first cutting area, the functional relationship y between the slave axis position y and the main axis position x 1 (x), the functional relationship v between the slave axis speed v and the master axis position x 1 (x), constructing an electronic cam curve corresponding to the first cutting area; The electronic cam curve calculation module calculates the electronic cam curve corresponding to the adjustment area based on a pre-built electronic cam curve calculation model, specifically including: Based on the material thickness h, calculating the angle θ between the cutting point c and the cutting point b; r is the radius of the circular motion of the cutter; Based on the total length C of the cutter completing one circular motion 周长 , the travel length L of the material to complete one cutting 切长 and the movement length C of the cutter in the first cutting area and the second cutting area ac , the angle θ, the travel length L of the material in the first cutting area and the second cutting area ac , judge (C 周长 -C ac )*cosθ and L 切长 -L ac size; If (C 周长 -C ac )*cosθ>L 切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the first movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the first movement mode; wherein the first movement mode represents that according to the movement direction of the cutter, the movement process of the cutter in the adjustment area includes an acceleration section and a deceleration section; If (C 周长 -C ac )*cosθ=L 切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the second movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the second movement mode; wherein the second movement mode indicates that the cutter maintains a uniform speed in the adjustment area, and the speed of the cutter in the adjustment area is consistent with the speed of the cutter at the cutting point a and the cutting point c; If (C 周长 -C ac )*cosθ<L 切长 -L ac , it is determined that the movement of the cutter in the adjustment area is the third movement mode, and the electronic cam curve corresponding to the adjustment area is calculated when the cutter is in the third movement mode; wherein the third movement mode indicates that according to the movement direction of the cutter, the movement process of the cutter in the adjustment area includes a deceleration section and an acceleration section; The electronic cam curve calculation module calculates the electronic cam curve corresponding to the second cutting area based on a pre-built electronic cam curve calculation model, specifically including: Based on the second cutting area restriction condition, construct the functional relationship between the main axis position x and the angle β 3 (β), the functional relationship between the slave axis position y and the angle α 3 (β), the functional relationship between the axis velocity v and the angle β 3 (β); Wherein, β is the angle between a point on the motion path of the cutter in the second cutting area and the cutting point b; the restriction condition of the second cutting area includes: the speed component of the cutter in the horizontal direction is consistent with the travel speed of the material; Based on the functional relationship x 3 (β) and the functional relationship y 3 (β), and obtain the functional relationship y between the slave axis position y and the master axis position x 3 (x); Based on the functional relationship x 3 (β) and the functional relationship v 3 (β), and obtain the functional relationship v between the slave axis speed v and the master axis position x 3 (x); Based on the value range of the main axis position x in the second cutting area, the functional relationship y between the slave axis position y and the main axis position x 3 (x), the functional relationship v between the slave axis speed v and the master axis position x 3 (x), construct the electronic cam curve corresponding to the second cutting area.
Citation Information
Patent Citations
Electronic cam curve generation method
CN103744346A
Non-programming electronic cam curve generating method for transection
CN106406219A
Design method of sine wave generator, sine wave generator and storage medium
CN114297805A
Cutter-driven cutting follow-up shearing control method, system and equipment
CN116810485A
Method for preparing data for grinding non-complete round workpiece and non-complete round workpiece grinding machine
JP2006106959A
