Trajectory display device for displaying trajectories of motor end and machine end
09546858 ยท 2017-01-17
Assignee
Inventors
Cpc classification
International classification
Abstract
A trajectory display device, by which an operator can visually and easily compare actual trajectories of a motor end and a machine end, and can easily determine a reason for deviation between the trajectories. The device has a motor-side position obtaining part which obtains positional information of a motor at predetermined sampling periods of time; a motor end actual coordinate calculating part which calculates an actual coordinate value of the motor end based on mechanical information and the positional information of the motor; a machine end data obtaining part which obtains point sequence data on an actual trajectory of the machine end; and a displaying part which displays and overlaps the actual coordinate of the motor end and the point sequence data of the machine end, as actual trajectories of the motor end and the machine end, so that central coordinates of the trajectories coincide with each other.
Claims
1. A trajectory display device for displaying a trajectory of a movable part which is moved along a circle or an arc based on a motion program, the trajectory display device comprising: a motor-side position obtaining part which obtains positional information of a motor for driving the movable part, from a motor-side detector arranged on the motor at predetermined sampling periods of time; a motor end actual coordinate calculating part which calculates an actual coordinate value of a motor end of the motor based on mechanical information and the positional information of the motor; a position measuring instrument which measures a position of the movable part and outputs the position of the movable part as a coordinate value of a point on an actual trajectory of a machine end at predetermined time intervals; a machine end data obtaining part which obtains the coordinate values of the points on the actual trajectory of the machine end as point sequence data; and a displaying part which displays the actual coordinate of the motor end and the point sequence data of the machine end, as the actual trajectory of the motor end and the actual trajectory of the machine end, respectively, wherein the actual trajectories of the motor end and the machine end are overlapped with each other so that a central coordinate of a circle or an arc constituted by the actual trajectory of the motor end coincides with a central coordinate of a circle or an arc constituted by the actual trajectory of the machine end; and a central coordinate calculating part which calculates the central coordinate of the circle or the arc constituted by the actual trajectory of the motor end, based on the actual coordinates of the motor end, wherein the central coordinate calculating part calculates the central coordinate of the circle or the arc constituted by the actual trajectory of the motor end, based on the actual coordinates of the motor end which are not included in a predetermined angular range including a quadrant projection.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The above and other objects, features and advantages of the present invention will be made more apparent by the following description of the preferred embodiments thereof with reference to the accompanying drawings wherein:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION
(11)
(12) A motor-side detector 22, such as an encoder or a resolver, is attached to each motor 16, whereby numerical controller 14 can obtain positional information of each motor 16. Numerical controller 14 carries out control (for example, feedback control) of each motor 16 based on a predetermined processing program and obtained positional information of each motor, so that movable part 18 is moved along a circle or an arc.
(13) Trajectory display device 10 has a motor-side position obtaining part 24 which obtains positional information of motor 16 from motor-side detector 22, at predetermined sampling periods of time; a motor end actual coordinate calculating part 26 which calculates an actual coordinate value of a motor end of the motor based on mechanical information and the positional information of motor 16; a machine end data obtaining part 28 which obtains coordinate values of points, as point sequence data, on an actual trajectory of a machine end with respect to movable part 18, from position measuring instrument; and a displaying part 30 which displays the actual coordinate of the motor end and the point sequence data of the machine end, as the actual trajectory of the motor end and the actual trajectory of the machine end, respectively, wherein the actual trajectories of the motor end and the machine end are overlapped with each other so that a central coordinate of a circle or an arc constituted by the actual trajectory of the motor end coincides with a central coordinate of a circle or an arc constituted by the actual trajectory of the machine end. Although trajectory display device 10 is illustrated as a device separated from numerical controller 14 in the embodiment of
(14) Next, an example of the procedure in trajectory display device 10 will be explained, with reference to a flowchart of
(15) First, in step S1, motor-side position obtaining part 24 obtains positional information of each motor 16 at predetermined sampling periods of time. Concretely, motor-side position obtaining part 24 obtains sine-wave positional information of each motor 16, from motor-side detector 22 attached to each motor. Otherwise, when numerical controller 14 controls each motor 16 by feedback control, positional information of each motor may be obtained as time series data from numerical controller 14.
(16) Next, in step S2, motor end actual coordinate calculating part 26 calculates the actual coordinate (X.sub.k(k.Math.t), Y.sub.k(k.Math.t)) of the motor end, based on mechanical information (the shape and dimension of a drive axis) and obtained positional information (x.sub.k(k.Math.t), x.sub.k(k.Math.t)) of the motors for driving X-axis 32 and Y-axis 34, wherein t is a sampling period of time and k=1, 2, . . . , N. In this regard, the motor end means the position of the motor calculated from positional information (such as the rotational position) of the motor obtained by the motor-side detector and from mechanical information such as the shape and dimension of a driver such as a feed axis directly connected to the motor. On the other hand, the machine end means the position of a representative point of the movable part (for example, the center of the table), which can be directly measured by the position detector, etc. Therefore, when there is no dimensional error or fluctuation in a mechanical unit between the motor end and the machine end, the actual trajectory of the motor end coincides with the actual trajectory of the machine end.
(17) In the example of
(18) By displaying the actual coordinates of the motor end obtained as such on the orthogonal coordinate system, the actual trajectory of the motor end can be displayed. For example,
(19) In the next step S3, as shown in
(20) Next, in step S4, displaying pat 30 displays the actual trajectory of the motor end obtained in step S2 (see
(21) As a result of the procedure of step S4, as shown in
(22) In addition, by displaying actual trajectory 38 of the motor end and actual trajectory 40 of the machine end while overlapping with each other so that the central coordinates thereof coincide with each other, an effect on the machine end due to adjustment of the trajectory of the motor end (such as servo adjustment of the motor) can be easily found by the operator.
(23) In order that the central coordinates of the two trajectories coincide with each other, various methods may be used. For example, as shown in
(24) Position measuring instrument 20, coincides with the program origin, whereby the central coordinates of the two trajectories coincide with each other.
(25) As shown in
(26)
(27) Further, as shown in
(28) According to the invention, the actual trajectory of the motor end and the actual trajectory of the machine end can be displayed in a contrastable manner, and thus the effect on the machine end due to adjustment of the trajectory of the motor end, and/or the factor in fluctuation of the actual trajectory of the machine end can be easily found by the operator.
(29) While the invention has been described with reference to specific embodiments chosen for the purpose of illustration, it should be apparent that numerous modifications could be made thereto, by one skilled in the art, without departing from the basic concept and scope of the invention.