Summary of the invention
For solving the problems referred to above that prior art exists; The present invention will propose the advantage of a kind of abundant combination Type B Cutter Radius Compensation Method and C type Cutter Radius Compensation Method; Both can solve the Type B Cutter Radius Compensation Method causes wedge angle burn, the frequent acceleration and deceleration of needs that can avoid the transition of C type Cutter Radius Compensation Method broken line to cause again to cause being difficult to improving the compound transition cutter radius compensation of the cam contour wedge angle Straight Line and Arc algorithm of the problem of process velocity at the sharp corner overstand.
To achieve these goals, technical scheme of the present invention is following: the compound transition cutter radius compensation of a kind of cam contour wedge angle Straight Line and Arc algorithm may further comprise the steps:
A, cutter are mended Algorithm Analysis
A1, known cam contour wedge angle programming track are OA, AF; Tool radius is r; The central track of cutter of JB for OA being setovered behind the tool radius r; The central track of cutter of EK for AF being setovered behind the tool radius r, AB, AE are called the tool radius vector, and B and E point are respectively the starting point and the terminal point of B cutter benefit or C cutter benefit;
A2, cross B point prolongs a δ along the JB direction distance, arrive a D along the distance that the opposite direction of EK prolongs a δ with reason E point to a some C; The δ value is chosen according to fabrication process condition, generally gets δ=0.1~1mm;
A3, cross the parallel lines that some C makes AB, cross the parallel lines that some D makes AE, two parallel lines intersect at a N;
A4, be the center of circle with N, | NC| or | ND| is a radius, is that C, terminal point are the circular arc of D as starting point;
A5, line segment BC, circular arc C D and line segment DE are the central track of cutter of the compound transition Cutter Radius Compensation Method of Straight Line and Arc, are called for short the D cutter and mend;
A6, when the cam contour wedge angle is the obtuse angle, the extended line of central track of cutter JB and EK meets at the I point, the equal in length of BI and EI, its length is represented with λ; If λ is not more than δ, then to adopt with the A point be the center of circle for this sharp corner, and tool radius r is that the circular arc BE of radius makes the B cutter and makes amends for one's faults and cross, and crosses otherwise adopt above-mentioned D cutter to make amends for one's faults;
B, transit point coordinate Calculation
AB, AF are the tool radius vector, and formula (1) and formula (2) are then arranged:
OB=OA+AB (1)
OE=OA+AE (2)
If α is the deflection of programming vector OA, β is the deflection of programming vector AF; Known A point coordinate is (X
a, Y
a), the coordinate of then putting B and E can be calculated by formula (3) and formula (4) respectively:
(3)
Y
b=Y
a±r?cosα
(4)
Y
e=Y
a±r?cosβ
The left cutter added time is got top symbol, the right cutter added time side's of taking off symbol in the formula;
Can get by the vector summation:
OC=OB+BC (5)
OD=OE+ED (6)
Because | BC|=|ED|=δ, can be calculated by formula (7) and formula (8) respectively so extend the coordinate of some C and D:
X
c=X
b+δcosα
(7)
Y
c=Y
b+δsinα
X
d=X
e-δcosβ
(8)
Y
d=Y
e-δsinβ
Calculate the coordinate of transition arc center of circle N below, because:
ON=OC+CN (9)
ON=OD+DN (10)
If the radius of transition arc is r ', promptly | CN|=|DN|=r can be got by formula (9) and (10):
The left cutter added time is got top symbol, the right cutter added time side's of taking off symbol in the formula;
Therefore, can get the N point coordinate by formula (9) and formula (10):
X
n=X
c-r′sinα=X
d-r′sinβ (12)
Y
n=Y
c+r′cosα=Y
d+r′cosβ
C, cutter are reconstructed upright and cancellation
C1, cutter are reconstructed immediately, are the center of circle with cam contour wedge angle A point, and tool radius r is that radius is drawn circle, crosses the tangent line OB that the O point is made circle, and B is the point of contact;
Central track of cutter behind C2, the profile AF that will the programme biasing tool radius r is EK, and AB, AE are the tool radius vector, and B and E point then are respectively starting point and the terminal point that cutter is reconstructed upright transition section;
C2, cross B point prolongs a δ along the OB direction distance, arrive a D along the distance that the opposite direction of EK prolongs a δ with reason E point to a some C; The δ value is chosen according to fabrication process condition, generally gets δ=0.1~1mm;
C3, cross the parallel lines that some C makes AB, cross the parallel lines that some D makes AE, two parallel lines intersect at a N;
C4, be the center of circle with N, | NC| or | ND| is a radius, is that C, terminal point are the circular arc of D as starting point;
C5, line segment OB, line segment BC, circular arc C D and line segment DE are the cutter of the compound transition Cutter Radius Compensation Method of Straight Line and Arc and reconstruct central track of cutter immediately;
C6, when the cam contour wedge angle is the obtuse angle, the extended line of central track of cutter OB and EK meets at the I point, the equal in length of BI and EI, its length is represented with λ; If λ is not more than δ, be the center of circle then with the A point, tool radius r is that radius is made circular arc BE; Line segment OB, circular arc BE and line segment EK are the cutter of the compound transition Cutter Radius Compensation Method of Straight Line and Arc and reconstruct central track of cutter immediately;
Central track of cutter when C7, the cancellation of cutter benefit is identical with the central track of cutter that cutter is reconstructed immediately, but in the opposite direction.
Compared with prior art, the present invention has following beneficial effect:
1, because the present invention at cam contour wedge angle transition position, has extended central track of cutter, makes cutter no longer contact all the time, solved B cutter benefit effectively and caused the wedge angle burn at the sharp corner overstand with the A point.
2, because the present invention has adopted arc transition at cam contour wedge angle transition position, make central track of cutter smoothly continuous, solved the C cutter effectively and mended the frequent acceleration and deceleration of needs that the broken line transition causes, be difficult to improve the problem of process velocity.
3, the central track of cutter length of D cutter benefit of the present invention is long slightly than B cutter benefit central track of cutter, and it is short to mend central track of cutter than the C cutter.