PROFILE CONTROL APPARATUS

Abstract: A profile control apparatus which prevents overcutting by a cutter at a corner portion by moving a tracer head ahead of the cutter. A first delay speed instruction V xm or V zm is determined by a first delay circuit (14a or 14c) having a time constant and a second delay speed instruction is determined by a second delay circuit (14b or 14d) having a time constant different from that of the first delay circuit for each speed instruction V x , V z for each axis determined on the basis of the displacement quantity ε x , ε y , ε z in the direction of each axis detected by the tracer head, and the difference V xs or V zs between the first and second delay speed instructions is calculated. An X-axis main motor and a Z-axis main motor are driven by the first delay speed instructions to operate the machine as a whole, and an X-axis sub-motor and a Z-axis sub-motor are driven by the differences in parallel with the movement described above so as to move only the tracer head and thereby to move the tracer head ahead of the cutter.

Description: Technical Field The present invention relates to a tracing control system, and more particularly, to a tracing control system by which overshot machining at corners and the like of a workpiece is prevented. Background Art A tracing control system uses a tracer head to detect amounts of displacement of respective axes applied to a stylus, and speed command values of the respective axes are calculated in a tracing calculating circuit by using these amounts of displacement. A cutter is moved relative to a workpiece by drive motors of the respective axes, in accordance with these speed command values, and at the same time, the tracer head is moved along the surface of a model at the same speed. This motion is repeated, and accordingly, the workpiece is machined to the same shape as the model. Tracing control systems of this kind, however, have a problem in that regions of the model at which the shape is abruptly changed cannot be precisely traced. Namely, when the stylus comes to corners and the like of the model, an over-run of the tracer head occurs due to a delay in the reaction of the servo systems, or to the inertia of the machine or the like, and as a result, the overshot machining into the workpiece by the amount of over-run, and thus the machining precision at corners is lost. Disclosure of the Invention The present invention has been created in view of the aforesaid drawbacks, and an object thereof is to provide a tracing control system by which overshot machining at corners, etc., of a workpiece is prevented, and thus the tracing control system has a high precision. To achieve the above object, in accordance with the present invention there is provided a tracing control system for machining a workpiece through tracing by calculating speed commands for respective axes, using the amount of change of displacement of a tracer head moising along the surface of a model, by moving a cutter relative to the workpiece, controlling the speed of the respective axes in accordance with said calculated speed commands, comprising a first delay means for obtaining first delay speed commands by delaying the above speed commands by predetermined time constants, a second delay means for obtaining second delay speed commands by delaying the above speed commands by time constants different from the above predetermined time constants, a difference calculating means for calculating differences between the above first delay speed commands and the above second delay speed commands, a first axis moving means for moving a predetermined axis based on the above first delay speed commands, and a second axis moving means for moving a specific axis to which said tracer head is attached in a manner such that it is superimposed on movement of the above predetermined axis and is parallel with the above predetermined axis, based on the above differences. In addition to a conventional entire machine axis, an axis for moving only a tracer head in a manner such that it is superimposed on a movement of this entire machine axis is provided, and two delay speed commands are obtained by delaying speed commands by different time constants. One of the delay speed commands is used for the entire machine axis, and the difference between the speed commands for the axis is used for moving only the tracer head. As a result, the tracer head always precedes the cutter, and when the tracer head comes to a corner and the axis speed is reduced, the amount by which the tracer head precedes the cutter is canceled out (relatively returned) by the amount corresponding to the reduction in the axis speed. This return amount can be made equal to the over-run amount of the tracer head by setting each of the time constants of the delay speed commands at appropriate values, and thus the amount of movement of the cutter is reduced by the amount of this over-run of the tracer head, and accordingly, the overshot machining is prevented. Brief Description of the Drawings Fig. 1 is a block diagram showing the hardware of a tracing control system according to an embodiment of the present invention; Fig. 2 is a diagram showing the arrangement of a tracing machine tool connected to a tracing control system according to an embodiment of the present invention; Fig. 3 is an illustration showing a corner of a model; and Fig. 4 is a graph showing chronological changes of the respective speed commands of one embodiment of the present invention. Best Mode of Carrying Out the Invention An embodiment of the present invention will hereinafter be described with reference to the drawings. Figure 1 is a block diagram showing the hardware of a tracing control system according to an embodiment of the present invention. In Fig. 1, a processor 11 reads a system program stored in a ROM 12a, through a bus 10, and controls the overall operation of a tracing control system 1 according to the system program. A RAM 12b stores amounts εx, εy, εz of displacement of respective axes detected by a tracer head, which will be described later, and other temporary data. A nonvolatile memory 12c is backed up by a battery (not shown), and stores various parameters such as tracing directions, tracing speeds, etc., entered from a control panel 2 through an interface 13. The processor 11 generates, for example, speed commands Vx in the X-axis direction and Vz in the Z-axis direction for surface tracing by the X-Z axes based on the amounts εx, εy, εz of displacement of the respective axes, and the commanded tracing direction and tracing speed, according to the known process. The speed command Vx is processed by a filter A14a with a predetermined leading time constant and trailing time constant, and becomes a delay speed command Vxm. The delay speed command Vxm is then converted to analog values by a D/A converter 16a, amplified by a servo amplifier 17a, and output, and accordingly, a main motor of the X-axis, which will be described later, is driven. At the same time, the speed command value Vx is converted into a delay speed command Vxb by a filter B14b having a leading time constant and a trailing time constant different from those of the delay speed command Vxm, and then a difference calculating circuit 15b subtracts the delay speed command Vxm from the delay speed command Vxb to obtain a delay speed command Vxs. The delay speed command Vxs is converted to analog values by a D/A converter 16b, amplified by a servo amplifier 17b, and output, and accordingly, a sub-motor of the X-axis, which will be described later, is driven. Delay speed commands Vzm and Vzs are obtained in the same way from the speed command Vz, and a main motor of the Z-axis and a sub-motor of the Z-axis are driven in accordance with these delay speed commands. The elements (filters C 14c and D 14d through to amplifiers 17c and 17d) used for this process are the same as those used for the X-axis process, and thus an explanation thereof is omitted. Figure 2 shows the arrangement of a tracing machine tool connected to the above tracing control system. In Fig. 2, a tracer head 31 detects amounts of displacement εx, εy, εz in each of the X-axis, the Y-axis and the Z-axis directions, generated by contact of a stylus 32 at the tip end of the tracer head with a model 33, and inputs the detected amounts to the tracing control system 1. A cutter 34 is attached to a column 35, and the column 35 is moved in the Z-axis direction by a main motor 36zm. Further, sub-motors 37zs and 37xs are attached to the column 35, and the tracer head 31 is further moved in the Z-axis direction and the X-axis direction in a manner such that the movement thereof is superimposed on the movement of the column 35 by these sub-motors 37zs and 37xs. A workpiece 38 is fixed on a table 39, and the table 39 is moved in the X-axis direction by a main motor 36xm. The main motors 36xm and 36zm are driven in accordance with the delay speed commands Vxm and Vzm, and the sub-motors 37xs and 37zs are driven in accordance with the delay speed commands Vxs and Vzs. Next, the movement of the tracer head and the cutter, when the tracer head 31 comes to, for example, a corner CN as shown in Fig. 3 and the speed in the X-axis direction is reduced (0 in this case), will be explained with reference to Fig. 4. In Fig. 4, the axis of ordinate shows the quantity of the speed command and the axis of abscissa shows time. Here, if the leading time constant of the delay speed command Vxm is T1 and the leading time constant of the delay speed command Vxb of output of the filter B14b in Fig. 1 is T2, the delay speed command Vxm and the delay speed command Vxb in the first transition can be expressed as follows: Vxm = vx (1 - e -t/T1 ) Vxb = vx (1 - e -t/T2 ) Also, if the trailing time constant of the delay speed command Vxm is T3 and the trailing time constant of the delay speed command Vxb is T4, the delay speed command Vxm and the delay speed command Vxb in the last transition can be expressed as follows: Vxm = vx·e -t/T3 Vxb = vx·e -t/T4 Note, as the delay speed command Vxs of the X-axis sub-motor can be expressed as Vxs = Vxb - Vxm, the tracer head precedes the cutter by the amount of movement shown by Δs1 in Fig. 4, after the first transition. Also, the tracer head is returned by the amount of movement shown by Δs2 in the figure, upon stopping. The precedence amount Δs1 and the return amount Δs2 are expressed as follows: Δs1 = ∫ (vx (1 - e -t/T2 ))dt -∫ (vx (1-e -t/T ¹))dt Δs2 = ∫vx·e -(t/T4) dt -∫vx·e -(t/T3) dt Further, in the present invention, as the respective time constants are set as: T2 = T4, T1 = T3 Δs1 = Δs2 = Δs is established, and the precedence amount of the tracer head in the first transition is completely canceled out upon stopping. Moreover, since Δs is equal to the amount of over-run of the tracer head, the amount of movement of the cutter is decreased by the over-run amount in comparison with the movement of the tracer head, and thus an unwanted excess machining is prevented. Note, the movement in the Z-axis direction is the same as described above, and thus an explanation thereof is omitted. Also, the movements of the column and the main table, and the movement of the tracer head which is superimposed thereon, are carried out along the two axes X and Z in the above explanation, but the number of axes can appropriately increased or decreased. In accordance with the present invention, as described above, since two delay speed commands are obtained by delaying the speed commands by different time constants, and one of these commands is used for the entire machine axis, and the difference in these speed commands for the axis is used for moving only the tracer head in a manner such that it is superimposed on the movement of this entire machine axis, the tracer head always precedes the cutter, and even if the tracer head over-runs the model at corners and the like, the cutter does not bite into the workpiece, and thus the precision of the tracing machining is improved.

Claims: A tracing control system for machining a workpiece through tracing by calculating speed commands for respective axes, using the amount of change of displacement of a tracer head moving along the surface of a model, by moving a cutter relative to the workpiece, controlling the speed of the respective axes in accordance with said calculated speed commands, comprising: first delay means for obtaining first delay speed commands by delaying the speed commands by predetermined time constants; second delay means for obtaining second delay speed commands by delaying the speed commands by time constants different from said predetermined time constants; difference calculating means for calculating differences between the first delay speed commands and the second delay speed commands; first axis moving means for moving a predetermined axis based on the first delay speed commands; and second axis moving means for moving a specific axis to which said tracer head is attached in a manner such that a movement of said specific axis is superimposed on a movement of the predetermined axis, and is parallel with the predetermined axis, based on said differences. A tracing control system according to claim 1, wherein the difference obtained by subtracting a leading time constant of said first delay means from a leading time constant of said second delay means is made equal to the difference obtained by subtracting a trailing time constant of said first delay means from a trailing time constant of said second delay means.

Inventors: ARAMAKI, HITOSHI, MATSUURA, HITOSHI
Applicants: FANUC LTD.
Application year: 1990
Main classification: B23Q35
IPC codes: B23Q35, G05B19, G05D3, B23Q33