A Rotation Axis Control Algorithm for Cartesian Coordinate Equipment
A Cartesian coordinate, control algorithm technology, applied in program control, computer control, general control system, etc., can solve the problems of complex algorithm, data stall and stall, large amount of calculation, etc., to achieve good motion control, reduce operating load, avoid The effect of stall
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] A rotation axis control algorithm of a Cartesian coordinate device, comprising the following steps:
[0041] (a) Obtain the equivalent pulse numbers δx, δy, δz, δw of each axis of X, Y, Z, and W;
[0042](b) Set the virtual axis equivalent pulse number δv, take the maximum equivalent pulse number in the XYZ axis as the virtual axis equivalent pulse number δv=max(δx,δy,δz), and calculate the virtual axis and the equivalent pulse number according to the virtual axis and each axis The ratios Rx, Ry, and Rz of the three axes of XYZ, the calculation formula Rx = δv / δx, the calculation formulas of Ry and Rz are the same, the equivalent pulse number refers to the number of pulses that need to be sent to move the unit distance or angle, and the pulse equivalent is when the controller outputs a When the positioning control pulse is used, the displacement of the positioning control movement generated is the moving distance for linear motion, and the rotating distance for circular...
Embodiment 2
[0050] Such as figure 1 A schematic diagram of the dispensing head, figure 2 To process the trajectory map for the dispensing head, it is simplified as image 3 , the position pointed by the arrow represents the rotation angle of the needle on the dispensing head, that is, the rotation angle of the W axis, and the processing trajectory is arc P1P2P3→straight line P3P4→straight line P4P5→arc P5P6P7→straight line P7P1.
[0051] The steps of the rotation axis control algorithm in the Cartesian coordinate device are as follows:
[0052] (a) Obtain the equivalent pulse numbers δx, δy, δz, and δw of each axis X, Y, Z, and W axes, for example, the equivalent pulse number of the X axis is 252pul / mm, and the equivalent pulse number of the W axis is 10pul / °;
[0053] (b) Set the equivalent pulse number δv of the virtual axis, take the maximum equivalent pulse number in the XYZ axis as the equivalent pulse number of the virtual axis δv=max(δx,δy,δz), and calculate according to the vir...
Embodiment 3
[0077] For step (g) in embodiment 2, it is a calculation method mainly for calculating the allowable speed between each micro-line segment or linear interpolation line segment in the XYZW plane, and the calculation steps are described below for the XYZ axis plane:
[0078] 1) Obtain two adjacent micro-line segments P 1 P 2 ,P 2 P 3 The absolute coordinates of three points, P 1 (P 1x , P 1y , P 1z ), P 2 (P 2x , P 2y , P 2z ), P 3 (P 3x , P 3y , P 3z );
[0079] 2) Calculate the unit vectors of the two micro-line segments separately Among them, l1 and l2 are the lengths of two micro-line segments respectively;
[0080]
[0081]
[0082] 3) Let the velocity of P2 vector be v P2 , after Δt time, the vector velocity direction is changed by become The amount of speed change produced by the X, Y, and Z axes is, where the sum of α1 and α2 is 90 degrees;
[0083]
[0084] 4) According to the set X, Y, Z axis allowable jump speed, substitute into Δv in t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


