COPY CONTROL SYSTEM

Abstract: A copy control system is designed to control the deceleration before an abrupt change in a model shape without laying voltage wires on a model. This system includes a memory (MEM) storing in advance data indicating a deceleration range, and position detectors (PCX, PCY PCZ) along the X-, Y-, Z-axes, it sequentially compares the data indicating the deceleration range with the detected results of the X- and Z-axis position dectectors (PCX, PCZ) and data interpolated in accordance with the detected result of the Y-axis position detector (PCY), thereby controlling the de­ celeration in accordance with the compared results.

Description: SPECIFICATION TRACER CONTROL SYSTEM FIELD OF ART The present invention relates to a tracer control system which is capable of preventing a decrease in the cutting accuracy at a point of a sudden change in the configuration of a model. TECHNICAL BACKGROUND In tracing, when a point of a sudden change in the configuration of a model, such as a corner portion or the like, is traced at the same tracing speed as that for other portions, biting of a cutter into a workpiece or similar trouble occurs, resulting in lowered cutting accuracy. It is general practice in the prior art to stick a potential wire on a model of an insulating material in the vicinity of a sudden-change point of its configuration so that when a metallic stylus makes contact with the potential wire to form a closed circuit, deceleration control is performed, thereby to prevent lowering of the cutting accuracy at the sudden-change point of the model configuration. But this method has the following defects because of the necessity of sticking the potential wire on the model. (1) Since the potential wire has a thickness, the model surface on which the potential wire is sticked cannot be traced accurately. (2) Sticking of the potential wire introduces the possibility of the model being damaged or stained. (3) Since the stylus slides directly on the potential wire, it is feared that no accurate deceleration control can be achieved owing to bad contact. DISCLOSURE OF THE INVENTION The present invention has overcome such defects as mentioned above, and has for its object to enable the deceleration control before the sudden-change point without the necessity of sticking the potential wire on the model, permitting high precision tracing. The present invention is provided with a memory having stored therein data representing a deceleration region and X-axis, Y-axis and Z-axis position dectectors, and interpolated data obtained by interpolating the data on the deceleration region on the basis of the result of detection by the Y-axis position detector is compared with the results of detection by the A-axis and Z-axis position detectors and then deceleration control is performed on the basis of the results of the comparison; accordingly, the deceleration control can be achieved without sticking the potential wire on the model. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram illustrating an embodiment of the present invention; Fig. 2 is a diagram explanatory of deceleration regions; and Fig. 3 is a diagram explanatory of stored contents of a memory. PREFERRED EMBODIMENT OF THE INVENTION For a better understanding of the present invention, a detailed description will be given of its embodiment. Fig. 1 is a block diagram illustrating an example of apparatus embodying the system of the present invention. Reference character DG indicates a displacement calculation circuit; IND designates an indexing circuit; ARN and ART identify velocity component calculation circuits; ADD denotes an adder; DC represents a distribution circuit; GC shows a gate circuit; DRX, DRY and DRZ refer to servo amplifiers; MX, MY and MZ signify morors; PCX, PCY and PCZ indicate position detectors; TR designates a tracer head; ST identifies a stylus; MDL denotes a model; W represents a workpiece; CT shows a cutter; DA1 and DA2 refer to DA converters; CNTX, CNTY and CNTZ signify reversible counters for counting pulses from the position detectors PCX, PXY and PCZ to indicate the current position; OPP identifies an operator panel; RS denotes a speed or like setting dial; BT represents a push button; KB shows a keyboard; DI refers to a data input unit; DO signifies a data output unit; MEM indicates a memory comprising a data memory part M1 and a control program part M2; and CPU designates a control unit. The stylus ST is brought into contact with the model MDL and fed by the motors, and displacement signal Ex, EY yand sz corresponding to the displacement of the stylus ST are provided from the tracer head TR. Based on the displacement signals ex and cz, the displacement calculation circuit DG produces a composite desplacement signal EMI3.1 and the indexing circuit IND produces displacement-direction signals sine and cos. The composite displacement signal C is applied to the adder ADD, wherein a difference Ac between it and a reference displacement signal c0 is obtained. In the velocity calculation circuits ARN and ART are obtained normal velocity VN and tangential velocity VT. In the distribution circuit DC a velocity command signal is produced based on the displacementdirection signals sine and cos0, and the velocity command signal is provided to that one of the servo amplifiers selected by the gate circuit GC. By the resulting amplified output the corresponding motor is driven, bodily feeding the cutter CT and the stylus ST. Since the above-described operation is well-known as tracer control, no further detailed description will be given. The memory MEM has stored therein data on a region where to perform deceleration control (hereinafter referred to as the deceleration region) in addition to data on the mode, trace direction, trace speed, pick feed direction, pick feed value, pick feed speed and trace return position of each of two-way tracing, one-way tracing and contour tracing. Now, consider, for example, the case of one-way tracing of a model shown in Fig. 2. In Fig. 2 portions surrounded by the one-dot chain lines are deceleration regions A to D, each of which is defined by two parallel planes perpendicular to the XY plane and two parallel planes perpendicular to the YZ plane. In the memory MEM are prestored, for the deceleration regions A to D, the X, Y and Z coordinates of points A1 to A3, A21 to A'3 B1 to B3, B'1 to B'3, C1, C2, C'1, C' C'1, D1, D2, D'1 and 2, on the basis of the Y coordinates in the case of the direction of tracing is the X-axis direction, as shown in Fig. 3. Incidentally, the Y coordinates of the points A1, A'1, B1, B'1, C1, C'1, D1 and D'1 are all Y1; the Y coordinates of the points A2, A'2, B2 and B'2 are all Y2; and the Y coordinates of the points A3, A'3, B3, B'3, C2, C'2, D2 and D'2 are all Y3. In this case, Y1 < Y2 < 3' XA'i < XAi' XB'i < XBi' XC'i < ACi' XD'i < XDi' ZAi < ZA'i' Bi < ZB'i' ZCi < C'i and Z Di < D'i (wherei = 1, 2, 3) The data input method used is as follows: In the case where the coordinate value of each point is known, it is input from the keyboard KB via the data input unit DI and, in the case where the coordinate value of each point is unknown, the stylus ST is moved to the position of each point and the push button BT is pressed to store the coordinate value of each point in the memory MEM. In the case of pressing the push button BT to store the coordinate value of each point, the control unit CPU reads thereinto count values of the reversible counters CNTX, CNTY and CNTZ at the time of the push button BT being pressed and stores the count values as the coordinate value of each point in the memory MEM as shown in Fig. 3. Now, when starting the one-way tracing from a point E1 in Fig. 2 along the X-axis in a direction of the arrow, the control unit CPU reads thereinto a count value YCNT of the reversible counter CNTY and compares the count value YCNT and the Y coordinates Y1, Y2 and Y3 stored in an area of the memory MEM corresponding to the deceleration region A to obtain that one of the Y coordinates larger than the count value YCNT which is the closest thereto and that one of the Y coordinates smaller than the count value YCNT which is the closest thereto, and the control unit stored such Y coordinates. In this case, since Y1 < YCNT < Y2, the control unit CPU stores the Y coordinates Y1 and Y2. Next, the control unit CPU reads thereinto the X coordinates XA1 and XAll and the Z coordinates ZAl and ZAXl of the points A1 and A' stored in the memory MEM on the basis of the Y coordinates Y1 and the X coordinates XA2 and XA,2 and the Z coordinates ZA2 and ZA±2 of the points A2 and A' 2 stored in the memory MEM on the basis of the Y coordinates Y Then the con 2 trol unit CPU performs data interpolation by computations of the following expressions (1) to (4), obtaining the X coordinates XF1 and XF,1 and the Z coordinates ZFl and ZFIi of the points F1 and F' EMI6.1 EMI7.1 After obtaining the X coordinates XF1 and XF,1 and the Z coordinates ZFl and #ZFl of the points F1 and F'1, the con- trol unit CPU stores them and sequentially compares them with count values XCNT and # ZCNT which are provided from the reversible counters CNTX and CNTZ via the data input unit DI. And when the count values XCNT and #ZCNT satisfy the conditions given by the following expressions (5) and (6), respectively, the control unit CPU decides it as indicating the deceleration region and applies a deceleration command via the data output unit DO and the DA converter DA2 to the velocity component calculation circuit ART, causing a decrease in the tracing feed speed. XFll < XCNT < XFS (5) F1 < ZCNT < ZFll (6) When the deceleration region A defined by the points A1, A2, A'1 and A'2 has been passed, that is, when the count values XcNT and #ZCNT no more satisfy the conditions given by expressions (5) and (6), the control unit CPU stops outputting of the deceleration command. Then, in the same manner as described above, the control unit interpolates data of the points B1 and B'1 and the points B2 and B'2 on the basis of the data stored in the area of the memory MEM corresponding to the deceleration region B, sequentially compares the interpolated data with the count values #CNT and #ZCNT of the reversible counters CNTX and CNTZ to decide whether the region being currently traced is the deceleration region and, if so, outputs the deceleration command as is the case with the foregoing. Also in connection with the deceleration regions C and D defined by the points C1, C2, C'1 and C'2 and the points D1, D2, D'1 and D'2, respectively, the interpolation of data and the comparison of the interpolated data with the count values XcNT and #ZCNT are similarly performed and the deceleration command is output on the basis of the comparison results. And, when tracing is started again from a point E2 after a pick feed, the control unit CPU reads the count value YCNT of the reversible counter CNTY, interpolates data representing the deceleration region on the basis of the count values, sequentially compares the interpolated data with the count values XCNT and #ZCNT and outputs the deceleration command on the basis of the comparison results in the same manner as described previously. As has been described in the foregoing, the present invention is provided with a memory having prestored data representing the deceleration region and X-axis, Y-axis and Z-axis position detecting comprised of the position detectors PCX, PCY and PCZ and reversible counters CNTX, CNTY and CNTZ; and the control unit CPU interpolates the data representing the deceleration region on the basis of the result of detection by the Y-axis position detecting means sequentially compares the interpolated data with the results of detection by the X-axis and Z-axis position detecting means and performs deceleration control on the basis of the comparison results. The present invention does not require sticking of a potential wire unlike in the prior art system, and hence has the advantage that the cutting accuracy can be raised. Furthermore, since the present invention interpolates the data representing the deceleration region, the invention is advantageous in that the capacity of the memory used can be reduced, and that an error can be decreased.

Claims: CLAIM A tracer control system which performs tracing of a point of a sudden change in the configuration of a model at a tracing speed reduced before the sudden-change point, characterized in that there are provided a memory having prestored therein data indicating a deceleration region and X-, Y- and Z-axis position detecting means; the data indicating the deceleration region is interpolated on the basis of the result of a detection by the Y-axis position detecting means; the interpolated data and the results of detections by the X- and Z-axis position detecting means are compared in a sequential order; and, deceleration control is performed on the basis of the results of the comparison.

Inventors: MATSUURA, HITOSHI, SAKURAI, HIROSHI, YAMAZAKI, ETUO
Applicants: FANUC LTD
Application year: 1982
Main classification: B23Q33
IPC codes: B23Q35, B23Q33, G05D3, G05B19