AU683788B2 - Apparatus and method for feedback-adjusting working condition for improving dimensional accuracy of processed workpieces - Google Patents
Apparatus and method for feedback-adjusting working condition for improving dimensional accuracy of processed workpieces Download PDFInfo
- Publication number
- AU683788B2 AU683788B2 AU45685/96A AU4568596A AU683788B2 AU 683788 B2 AU683788 B2 AU 683788B2 AU 45685/96 A AU45685/96 A AU 45685/96A AU 4568596 A AU4568596 A AU 4568596A AU 683788 B2 AU683788 B2 AU 683788B2
- Authority
- AU
- Australia
- Prior art keywords
- value
- values
- compensating
- workpieces
- present
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired
Links
Landscapes
- Automatic Control Of Machine Tools (AREA)
Description
AUSTRALIA
PATENTS ACT 1990 COMPLETE SPECIFICATION FOR A STANDARD PATENT
ORIGINAL
:Name of Applicant: Actual Inventors: a.o.
a° :::Address of Service: Invention Title: TOYOTA JIDOSHA KABUSHIKI KAISHA Chisato KATO, Takahiro KOBAYASHI and Kazuo KITAO SHELSTON WATERS MARGARET STREET SYDNEY NSW 2000 "APPARATUS AND METHOD FOR FEEDBACK-ADJUSTING WORKING CONDITION FOR IMPROVING DIMENSIONAL ACCURACY OF PROCESSED WORKPIECES" Details of Original Application No. 33020/93 dated 12th February, 1993 The following statement is a full description of this invention, including the best method of performing it known to us:- TITLE OF THE INVENTION APPARATUS AND METHOD FOR FEEDBACK-ADJUSTING WORKING CONDITION FOR IMPROVING DIMENSIONAL ACCURACY OF PROCESSED WORKPIECUS BACKGROUND OF THE INVENTION Field of the Invention The present invention relates in general to a feedback compensating apparatus used with a controller for a working machine. a metal working machine such as a 10 grinding machine), which apparatus is adapted to adjust the working condition of the working machine by f eeding back to.
the controller a compensating signal or data obtained during and/or after a working operation on the workpiece, so that the controller controls the working machine so as to improve 15 the dimensional accuracy of the workpiece processed by the see* *machine. More particularly, the present invention is concerned with techniques for improving the accuracy of adjustment of the working condition by the compensating apparatus.
20 Discussion of the Prior J rt aFor assuring high dimensional accuracy of processed portions of a workpir c, after the workpiece is machined, ground or otherwise procesled, there are available various feedback control methods such as an in-process control method, a post-process control method, and a hybrid control method. These control methods are practiced, for S-2 example, to finish inner cylindrical surfaces of cylinder bores formed in cylinder blocks of an engine of a motor vehicle, or outer cylindrical surfaces of a crankshaft of such engine, with high precision, so that the dimension such as the inside diameter of the finished cylinder bores or outside diameter of ground journals of the crankshaft is as close to the nominal value as possible.
The in-process control employs an in-process measuring device for measuring the dimension of the working portion of the workpiece during a working operation on the workpiece, so that the working operation is terminated when :1 the measured dimension coincides with the nominal value.
Usually, the in-process control is based on an assumption that the desired or nominal dimension is obtained 15 when the actually measured dimension reaches a reference value corresponding to the nominal dimension. To this end, the dimension of the working portion of the workpiece is 00* continuously measured, and the measured dimension is compared with the reference value, to determine the moment 0 20 when the actually measured dimension becomes equal to the reference value.
The post-process control employs a post-process measuring device for measuring the dimension of the working portion of the workpiece after the working portion has been processed or finished. A difference of the actually measured dimension from the nominal value, namely, a dimensional error of the finished workpiece is fed back to the I MWWM 3 controller for the working machine, so that the working data such as numerical control data (NC data) subsequently used by the machine for effecting the working operation on the following workpiece or workpieces are suitably adjusted so as to eliminate or reduce the dimensional error.
The post-process measuring device does not necessarily acts on the workpiece or its working portion immediately after the appropriate working operation, but may operate in a mode in which the measurement is effected a given length of time after the working operation, during which the other working portions or other workpieces are L* 0 machined or otherwise processed.
The hybrid control, which is a combination of the in-process and post-process control methods, is adapted to 15 feed back the dimensional error of the processed workpieces obtained by the measurement by the post-process measuring device, to compensate the reference value used in the in-process control, for zeroing the post-process dimez~sional error.
However, the known control methods indicated above and the apparatus to practice these known methods suffer from a problem that the control logics, rules and programs used in the known systems do not permit sufficiently high accuracy of adjustment of the working condition of the working machine. One presumed reason for the insufficient accuracy in the prior art lies in the mere use of the dimensional error per se to adjust the working condition, s -4whereas various other factors or parameters affect the actual dimensions of the working portions of the workpieces and should be taken into account for improved accuracy of compensation of the working condition to eliminate the dimensional error.
It is an object of the present invention to overcome or at least ameliorate one or more deficiency of the prior art.
SUMMARY OF THE INVENTION Accordingly, in a first aspect, the invention provides a feedback compensating apparatus for a working system including a working machine for successively processing a plurality of workpieces, machine control means for determining a 1 :0 working condition of said working machine on the basis of an extraneous signal, and controlling said working machine according to the determined working condition, and a measuring device for measuring actual dimensions of working portions of the workpieces processed by said working machine, said feedback compensating apparatus being used with said machine control means and said measuring device, and 15 characterized by comprising: data obtaining means for obtaining dimensional data on the basis of outputs of said measuring device, said dimensional data including a dimensional error of the processed workpieces, and a variable indicative of a tendency of change in said dimensional error of the workpieces, said data obtaining means obtaining a present value of an estimated dimension of the working portions of the workpieces on the basis of a predetermined first number of successive measured values represented by the outputs of said measuring device, when each of the workpieces is measured by the measuring device, said predetermined first number of successive measured values consisting of a currently r~ppsmeasured value currently obtained by said measuring device and at least one measured value which precedes said currently measured value; said data obtaining means obtaining a present dimensional error which is a difference of said present value of said estimated dimension from a nominal dimension of the working portion of said each workpiece, said data obtaining means obtaining a present value of said variable, on the basis of a predetermined second number of successive dimensional error values, when said present dimensional error value is obtained, said predetermined second number of successive dimensional error values consisting of said present dimensional error value and at least one dimensional error 10 value which precedes said present dimensional error value; said data obtaining means including at least one of dimension estimating means and variable obtaining means, said dimension estimating means obtaining said present value of said estimated dimension by inserting said predetermined first number of successive measured values into a predetermined equation, when the number of the 15 successive measured values currently available is not smaller than said predetermined first number, said dimension estimating means obtaining said present value of said estimated dimension by substituting said currently measured value for said present value of said estimated dimension, when the number of said successive measured values currently available is smaller than said predetermined first number, said variable obtaining means obtaining said present value of said variable in a standard manner when the number of the successive dimensional error values currently available is not smaller than said predetermined second number, and in a special manner different from said
-III
-6standard manner for said variable, when the number of said successive dimensional error values currently available is smaller than said predetermined second number; and compensating means for determining a compensating signal as said extraneous signal on the basis of said present value of said estimated dimension and said present value of said variable, and applying said compensating signal to said machine control means, to adjust said working condition of said working machine.
In the feedback compensating apparatus constructed according to the first aspect of this invention described above, the data obtaining means includes the dimension estimating means and/or the variable obtaining means which operate as described above.
10 Namely, when the number of the successive measured values of the workpieces currently available to obtain the present value of the estimated dimension is smaller than the •predetermined number, the dimension estimating means operates in a special mode in which the present value of the estimated dimension is obtained in the special manner different from the standard manner practiced when the number of the currently available successive measured values is equal to or larger than the predetermined number. When S. the number of the successive dimensional error values currently available to obtain the 9999 present value of the variable indicative of the tendency of change in the dimensional error is smaller than the predetermined number, the variable obtaining means operates in a special mode in which the present value of the variable is obtained in the special manner different from the standard manner practiced when the number of the currently available successive dimensional error values is equal to or larger than the predetermnnined number.
-7- According to the above arrangement, the estimated dimension of the processed workpieces can be obtained even when the number of the currently available successive measured values is smaller than the required number, if the data obtaining means is provided with the dimension estimating means is provided. Similarly, thle variable indicated above can be obtained even when the number of the currently available successive dimensional error values is smaller than the required number, if the data obtaining means is provided with the variable obtaining means. Accordingly, the provision of the dimension estimating means and/or the variable obtaining means effectively reduces or eliminates a time during which it is impossible to determine the 10 compensating signal on the basis of the dimensional data, due to shortage of the **currently available data on the measured dimensions of the workpieces and the variable indicative of the tendency of change in the dimensional error.
In a second aspect, the invention provides a feedback compensating apparatus for a working system including a working machine for successively processing a plurality of workpieces, machine control means for determining a working condition of said working machine on the basis of an extraneous signal, and controlling said working machine according to the determined working condition, and a measuring device for measuring actual dimensions of working portions of the workpieces processed by said working machine, said feedback compensating apparatus being used with said machine control means and said measuring device, and characterized by comprising: data obtaining means for obtaining dimensional data on the basis of outputs of said measuring device, said dimensional data including a dimensional error of the processed workpieces, and a variable indicative of a tendency of change in said dimensional error ~ss~rparup r~L-~ll
A
-8of the workpieces, said data obtaining means obtaining a present value of an estimated dimension of the working portions of the workpieces on the basis of a predetermined first number of successive measured values represented by the outputs of said measuring device, when each of the workpieces is measured by the measuring device, said predetermined first number of successive measured values consisting of a currently measured .value currently obtained by said measuring device and at least one measured value which precedes said currently measured val said data obtaining means obtaining a present dimensional error which is a difference of said present value of said estimated dimension from a nominal dimension 10 of the working portion of said each workpiece, said data obtaining means obtaining a present value of said variable, on the basis of a predetermined second number of successive dimensional error values, when said present dimensional error value is obtained, said predetermined second number of successive dimensional error values
V.
S consisting of said present dimensional error value and at least one dimensional error 000 15 value which precedes said present dimensional error value; said data obtaining means including at least one of dimension estimating means and variable obtaining means, said dimension estimating means obtaining said present value of said estimated dimension by inserting said predetermined first number of successive measured values into a predetermined standard equation, when the number of the successive measured values currently available is not smaller than said predetermined first number, said dimension estimating means obtaining said present value of said estimated dimension by inserting successive measured values currently available whose number is smaller than said predetermined first number, into an appropriate one of special equations which correspond to respective number smaller than said predetermined first number, when the number of said successive measured values currently available is smaller than said predetermined first number; and compensating means for determining a compensating signal as said extraneous signal on the basis of said present value of said estimated dimension and said present value of said variable, and applying said compensating signal to said machine control means, to adjust said working condition of said working machine.
In a third aspect, the invention provides a feedback compensating apparatus for a working system including a working machine for successively processing a plurality 10 of workpieces, machine control means for determining a working condition of said working machine on the basis of an extraneous signal, and controlling said working machine according to the determined working condition, and a measuring device for measuring actual dimensions of working portions of the workpieces processed by said oe.
0 working machine, said feedback compensating apparatus being used with said machine :*oo 15 control means and said measuring device, and characterized by comprising: 4 sdata obtaining means for obtaining dimensional data on the basis of outputs of said measuring device, said dimensional data including a dimensional error of the processed workpieces, and a variable indicative of a tendency of change in said dimensional error of the workpieces, said data obtaining means obtaining a present value of an estimated dimension of the working portions of the workpieces on the basis of a predetermined first number of successive measured values represented by the outputs of said measuring device, when each of the workpie.es is measured by the measuring device, said predetermined first number of successive measured values consisting of a currently ~lp I~Ch~l--l measured value currently obtained by said measuring device and at least one measured value which precedes said currently measured value; said data obtaining means obtaining a present dimensional error which is a difference of said present value of said estimated dimension from a nominal dimension of the working portion of said each workpiece, said data obtaining means obtaining a present value of said variable, on the basis of a predetermined second number of successive dimensional error values, when said present dimensional error value is obtained, said predetermined second number of successive dimensional error values consisting of said present dimensional error value and at least one dimensional error 10 value which precedes said present dimensional error value; e* said data obtaining means including at least one of dimension estimating means and variable obtaining means, said dimension estimating means obtaining said present value of said estimated dimension in a standard manner when the number of the successive measured values currently available is not smaller than said predetermined 15 first number, and in a special manner different from said standard manner, when the number of said successive measured values currently available is smaller than said predetermined first number, said variable obtaining means obtaining said present value of said variable by inserting said predetermined second number of dimensional error values into a predetermined standard equation, when the number of the successive dimensional error values currently available is not smaller than said predetermined second number, said variable obtaining means obtaining said present value of said variable by inserting successive dimensional error values currently available whose number is smaller than said predetermined second number, into an appropriate one of s L- -11special equations which correspond to respective number smaller than said predetermined number, when the number of said successive dimensional error values currently available is smaller than said predetermined second number; and compensating means for determining a compensating signal as said extraneous signal on the basis of said present value of said estimated dimension and said present value of said variable, and applying said compensating signal to said machine control means, to adjust said working condition of said working machine.
In a fourth aspect, the invention provides a method of processing a plurality of workpieces by a working system including a working machine for successively 10 processing said plurality of workpieces, machine control means for determining a °working condition of said working machine on the basis of an extraneous signal, and 09 controlling said working machine according to the determined working condition, and a measuring device for measuring actual dimensions of working portions of the e*t workpieces processed by said working machine, said method being characterized by *9 comprising: a step of obtaining dimensional data on the basis of outputs of said measuring t° de, 'ce, said dimensional data including a dimensional error of the processed workpieces, and a variable indicative of a tendency of change in said dimensional error of the workpieces, said step of obtaining dimensional data including the sub-steps of (a) obtaining a present value of an estimated dimension of the working portions of the workpieces on the basis of a predetermined first number of successive measured values represented by the outputs of said measuring device, when each of the workpieces is measured by the measuring device, said predetermined number of successive measured -I Fl -12values consisting of a currently measured value currently obtained by said measuring device and at least one measured value which precedes said currently measured value, obtaining a present dimensional error value which is a difference of said present value of said estimated dimension from a nominal dimension of the working portion of said each workpiece, and obtaining a present value of said variable, on the basis of a predetermined second number of successive dimensional error values, when said present dimensional error value is obtained, said predetermined number of successive dimensional error values consisting of said present dimensional error value and at least one error value which precedes said present dimensional error value; and a step of determining a compensating signal as said extraneous signal on the basis of said present value of said estimated dimension and said present value of said variable, and applying said compensating signal to said machine control means, to adjust said V i: working condition of said working machine, and wherein said step of obtaining see.
dimensional data is characterized by comprising at least one of two features and g 15 said feature consisting in obtaining said present value of said estimated dimension in a standard manner when the number of the successive measured values currently available is not smaller than said predetermined first number, and in a special manner different from said standard manner, when the number of said successive measured values currently available is smaller than said predetermined first number, said feature consisting in obtaining said present value of said variable in a standard manner when the number of the successive dimensional error values currently available is not smaller than said predetermined second number, and in a special manner differern from said standard manner for said variable, when the number of said successive dimensional error ZiL\ values currently available is smaller than said predetermined second number.
L I 12a- The term "working portion" used herein may be a cylindrical surface of the workpiece which has the same diameter over the entire axial length, or each of a plurality of coaxial cylindrical surfaces of the workpiece which have different diameters at respective axial positions. In the former case, the cylindrical surface as the working portion has only one "dimension" within the meaning of the present invention. In the latter case, each of the cylindrical surfaces having different diameters has the "dimension".
The term "to adjust the working condition" used herein is interpreted to mean any adjustment which eventually causes a change in the working condition of the machine, and which may be a direct adjustment of a specific parameter that determines the working condition, or an indirect adjustment of a parameter whose change will result in a change in the working condition.
The term "compensating signal" used herein is interpreted to mean a signal to be fed from the compensating means to the machine control means, which signal may be a 0* 15 signal indicative of an amount of adjustment of the currently established working 0* S0: 0condition of the machine, or a signal indicating that the actually measured dimensional error of the workpiece or the actually obtained tendency of change in the dimensional error is not held within a tolerable range. In the former case, the compensating means may be adapted to determine a compensating value on the basis of at least the dimensional error and the variable indicative of the tendency of change in the dimensional error, and apply to the machine control means the compensating signal indicative of the compensating value, so that the working condition of the machine is adjusted according to the compensating value. In the latter case, the compensating means may be adapted to determine on the basis of the dimensional error and the
I--
-12bvariable, whether the dimensional error of the workpiece is held within the tolerable range or not, and further adapted to apply the compensating signal to the machine control means when the dimensional error is outside the tolerable range, so that the working condition is adjusted by a predetermined amount according to the compensating signal. In this case, the compensating means may be arranged to produce the compensating signal each time the excessive dimensional error of the workpiece is detected, or when the excessive dimensional error is detected two or more successive times. Alternatively, the machine control means may be adapted to adjust the working condition each time the compensating signal is received from the compensating means, or when the two or more successive compensating signals are received.
i• A first advantage of the present invention, at least in a preferred form, is that it provides a feed back compensating apparatus for use with machine control means of a working system, which apparatus assures improved accuracy of adjustment of the working condition of the working machine of the system, with suitable factors taken into account to determine a compensating signal to adjust the working condition.
l A second advantage of the present invention, once again, at least in a preferred form, is that it provides a method of processing the workpiece with high precision, while adjusting the working condition of the working machine, with suitable factors taken into account so as to assure improved dimensional accuracy of the processed workpiece.
BRIEF DESCRIPTION OF THE DRAWINGS The invention will now be described, by way of example only, with reference to the accompanying drawings, in which: 12c Fig. 1 is a schematic view showing a working system in the form of a honing system incorporating a a *e
S
S 0*S C S S S S
S.
13 feedback compensating apparatus constructed according to one embodiment of this invention for adjusting the working condition of the honing system so as to eliminate a dimensional error of the honed workpiece; Fig. 2 is a flow chart illustrating a control program stored in a read-only memory of a computer used in a control device for the honing system of Fig. 1; Fig. 3 is a graph indicating membership functions associated with a dimensional error R, which are stored in the read-only memory for adjusting the working condition of the honing system; Fig. 4 is a graph indicating membership functions associated with a derivative T of the error R, which are also stored in the read-only memory; 44 15 Fig. 5 is a graph indicating stored membership functions associated with a compensating value U used to adjust the working condition; Fig. 6 is a graph indicating stored membership functions associated with number MS of the workpieces 20 between honing station and post-process measuring device of the honing system; Fig. 7 is a view schematically showing kinds of data to be stored in an auxiliary memory of the honing system; 25 Fig. 8 is a graph indicating an example of a succession of measured values obtained by the post-process measuring device of the embodiment of Fig. 1; I I 0 -14 Fig. 9 is a graph indicating a succession of moving averages of the measured values of Fig. 8; Fig. 10 is a graph indicating an advantage of the feedback compensating apparatus of the above embodiment, which was exhibited by simulation; Fig. 11 is a graph indicating the performance of a comparative counterpart apparatus also exhibited by simulation; Fig. 12 is a graph indicating another advantage of the apparatus of the same embodiment exhibited by another simulation; Fig. 13 is a graph indicating the performance of a comparative apparatus counterpart apparatus; Fig. 14 is a schematic view depicting a modified form of the feedback compensating apparatus of the above embodiment, for explaining the principle of obtaining the number of the workpieces between the honing station and the post-process measuring device; Fig. 15 is a schematic view similar to that of 20 Fig. 14, depicting a further modified form of the apparatus; Fig. 16 is a schematic view also similar to that of Fig. 14, depicting a still further modification of the apparatus; Fig. 17 is a flow chart illustrating a control 25 program stored in a read-only memory of a computer of a control device used in another embodiment of the present invention; 15 Fig. 18 is a graph similar to those of Figs. indicating membership functions associated with a second derivative D of the dimensional error R, which are stored in the read-only memory for adjusting the working condition of the honing system; Fig. 19 is a view illustrating a group of fuzzy rules indicated in Table 1, which is used in the second embodiment of Fig. 17; Figs. 20, 21, 22 and 23 are views similar to that of Fig. 19, illustrating respective groups of fuzzy rules indicated in Tables 2, 3, 4 and Fig 24. is a graph indicating an advantage of the feedback compensating apparatus of the second embodiment of Fig. 17, which was exhibited by simulation; Fig. 25 is a graph indicating the performance of a 4. comparative counterpart apparatus also exhibited by simulation; Fig. 26 is a graph indicating an another advantage of the apparatus of the second embodiment exhibited by 20 simulation; Fig. 27 is a schematic view showing a working system in the form of a grinding system incorporating a feedback compensating apparatus constructed according to a third embodiment of this invention; 25 Fig. 28 is a perspective view showing the workpiece in the form of a crankshaft to be ground by an array of grinding wheels of the grinding system of Fig. 27; 16 Fig. 29 is a schematic view of the grinding system, showing the details of a grinding machine; Figs. 30A and 30 B are flow charts illustrating a portion of a compensating routine executed by a computer of a control device used for the grinding system of Fig. 27, for adjusting the grinding condition; Figs. 31A and 31B are flow charts illustrating another portion of the compensating routine; Figs. 32A, 32B, 33, 34A, 34B, 35A and 35B are flow charts illustrating other portions of the compensating routine; Fig. 36 is a block diagram schematically showing the flows of the compensating routine of Figs. 30-35; Fig. 37 is a graph indicating weighting coefficients used in second step of Fig. 36; Fig. 38 is a graph schematically indicating a range in which the weighting rate of the weighting coefficients is variable; s Fig. 39 is a view explaining the number K of 20 measured values X necessary to obtain a moving average P according to a standard method in the third embodiment; Fig. 40 is a view explaining the number K *0O* according to a first special method (substitution averaging method) for the moving average in the third embodiment; S* 25 Fig. 41 is a view explaining the number K according to a second special method (sub-averaging method) for the moving average in the third embodiment; 17 Fig. 42 is a graph schematically showing an operation performed in third step of Fig. 36; Fig. 43 is a graph schematically showing an operation performed in fourth step of Fig. 36; Fig. 44 is a graph schematically showing sixth step of Fig. 36; Fig. 45 is a graph explaining an example of a process implemented by the compensating routine of Figs.
30-35 to obtain final compensating value U* from measured values X; Fig. 46 is a view schematically showing an operation performed in seventh step of Fig. 36; Fig. 47 is a graph schematically indicating "intermittent" compensation implemented in the third embodiment; Fig. 48 is a graph schematically showing a first method for the "intermittent" compensation of Fig. 47; Fig. 49 is a graph schematically showing one form of the first method of Fig. 48; 20 Fig. 50 is a graph schematically showing a second method for the "intermittent" compensation of Fig. 47; Fig. 51 is a graph schematically showing one form of the second method of Fig. Fig. 52 is a flow chart illustrating the details i 25 of step S55 of Fig. 31; Fig. 53 is a flow chart illustrating the details of step S75 of Fig. 32; and -18- Fig. 54 is a flow chart illustrating the details of steps S85 and S90 of Fig. 34.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring first to Figs. 1-13, there will be described one embodiment of a feedback compensating apparatus of the present invention for a honing system, for adjusting the honing condition in which the workpiece is honed.
The honing system is adapted to hone the inner cylindrical surfaces of a plurality of cylinder bores formed in each cylinder block for an engine of an automotive vehicle.
In the present embodiment applied to the honing b* system as one form of the working system, the cylinder blocks are one form of the workpiece, and the cylinder bores are one form of the working portion of the workpiece.
Reference is now made to Fig. 1, wherein a working line indicated by arrows extends through the honing system, so that the cylinder blocks as the workpieces W of the same kind are successively transferred. At a relatively upstream position of the working line, there is disposed a working e oo* machine in the form of honing machine 10 for honing the :cylinder bores in eacl' workpiece W. At a relatively e downstream position of the working line, there is disposed a post-measuring device 14 for measuring the inside diameter X of each cylinder bore of each honed workpiece W.
19 The honing machine 10 has a plurality of honing heads for honing the respective cylinder bores, which are driven by respective drive devices. Therefore, the numbers of the honing heads and the drive devices are the same as the number of the cylinder bores to be honed. Each honing head incorporates an in-process measuring head 18 of air micrometer type, which is adapted to measure the inside diameter of the appropriate cylinder bore under honing while the measuring head 18 is moved with the honing head, The post-process measuring device 14 has a plurality of post-process measuring heads 20 of electric micrometer type, which are adapted to measure the inside diameters of the respective cylinder bores of each honed workpiece W.
It will be understood that the inside diameter of *0 15 the cylinder bore is one form of the dimension to be controlled by the present compensating apparatus, and the post-process measuring device 14 is one form of the :o dimension measuring means of the apparatus.
The honing machine 10 and the in-process measuring 20 heads 18 are electrically connected to an automatic sizing device 22, while the post-process measuring device 14 is to". electrically connected to a control device 28 principally constituted by a computer which includes a central processing unit (CPU), a read-only memory (ROM) and a *e 25 random-access memory (RAM). The control device 28 is also connected to the automatic sizing device 22, and to an auxiliary memory 32 for storing various sorts of data.
20 In the present embodiment, the post-measuring device 14 is spaced from the honing machine 10 by a suitable distance along the working line, so that a certain number Y of the honed workpieces W are present between the honing machine 10 and the device 14. These honed workpieces W are transferred along the working line toward the measuring device 14, for intermittent measurement of the inside diameters of the honed workpieces W. The number Y of these honed and pre-measured workpieces W is counted by a workpiece counter 34 principally constituted by a computer.
The workpiece counter 34 is connected to a first workpiece detecting sensor 36 (in the form of a limit switch, for example) which detects the honed workpiece W to be fed out from the honing machine 10, and a second workpiece detecting sensor 38 limit switch) which detects the honed
U.
S* 0 S. workpiece W to be fed into the post-measuring device 14. The workpiece counter 34 counts the number Y of the honed pre-measured workpieces W, by incrementing the count each time the first sensor 36 detects the transfer of one honed workpiece W from the machine 10, and decrementing the count each time the second sensor 38 detects the transfer of one honed workpiece W into the device 14. Thus, the number Y of the pre-measured workpieces W existing between the machine 2 10 and the device 14 can be counted by the workpiece counter o .34.
34 In the present embodiment, the workpiece counter 34 cooperates with the first and second workpiece detecting 21 sensors 36, 38 to constitute one form of means for counting the number Y of the pre-measured workpieces W.
The number Y of the honed and pre-measured workpieces W means a dead time MS of a control system which receives an input signal in the form of a compensating value Ui* from the control device 28 and which produces an output signal in the form of measured values X generated by the post-processing measuring heads 20. Described more specifically, when the number Y is zero, the post-measuring device 14 measures the workpiece W immediately after the honing operation on the workpiece W is finished, and there is no pre-measured workpiece W waiting for the measurement.
In this case, a value MS of the dead time is set to be Therefore, when the number of the pre-measured workpieces W 15 is equal to Y the device 14 measures the workpiece W .oo which was honed by the machine 10 (Y 1) times of honing operations prior to the last honing operation. In this case, the dead time value MS is equal to (Y Thus, the dead time value MS varies as a function of the number Y of the 20 honed pre-measured workpieces W.
There will next be described an operation of the honing system including the feedback compensating apparatus.
6* It is noted that the following description refers to a honing operation associated with one of the cylinder bores *0* 25 of each workpiece, by way of example, while in fact the honing operations are simultaneously effected on all the cylinder bores, in the same manner.
22 In the same sense, it is to be understood that when the cylinder bore or the honing operation on that cylinder bore is referred to in the following description, reference should be made to the corresponding honing head and in-process measuring head 18 of the honing machine the corresponding post-process measuring head 20, and the corresponding or associated portions of the automatic sizing device 22, control device 28 and auxiliary memory 32.
Before a series of honing operations on a given number of workpieces W, the automatic sizing device 22 is calibrated by the operator, such that the output voltage (indicative of the measured inside diameter of the cylinder bore) of the in-process measuring head 18 coincides with a reference voltage representative of the desired nominal 15 inside diameter, while the in-process measuring head 18 is measuring a master workpiece whose bore has the inside diameter equal to the nominal diameter, During a honing operation on each workpiece W, the automatic sizing device S: 22 monitors the output voltage of the in-process measuring 20 head 18 to thereby monitor the inside diameter of the cylinder bore of the workpiece W under honing, and applies a control signal to the drive device of the appropriate honing head of the machine 10, so as to terminate the honing operation of the honing head when the output voltage of the 25 head 18 becomes equal to the reference voltage, that is, when the inside diameter measured by the head 18 coincides with the nominal value. The automatic sizing device 22 is 23 adapted to receive a compensation signal in the form of the compensating value Ui* (final compensating value) sent from the control device 28, so that the reference voltage indicated above is changed according to the compensating value Ui*, in order to hol< an error of the inside diameter of the honed cylinder bore within a predetermined tolerance.
In the present embodiment, the reference voltage used by the automatic sizing device 22 is one form of the working condition to be adjusted by the compensating apparatus. Further, the control device 28 is one form of means for determining the compensating value Ui* to be sent to the automatic sizing device 22 and therehy adjusting the working condition, the reference voltage. This control device 28 receives compensating data in the form of the tI 1 15 output of the post-process measuring head 20 indicative of the measured inside diameter of the honed cylinder bore, and determines by fuzzy inference the compensating value Ui* to adjust the reference voltage of the automatic sizing device \J 22, on the basis of the output of the post-process measuring 20 head For the control device 28 to perform the above "function, the read-only memory (ROM) provided therein stores a control program for effecting a control operation illustrated in the flow chart of Fig. 2, and also stores I 25 fuzzy inference data used for determining the compensating value Ui by fuzzy inference. The fuzzy inference data include: fuzzy inference programs; membership 24 functions associated with an error value R which is a difference between the measured value X obtained by the post-process measuring head 20 and the nominal value Ao; (c) membership functions associated with a derivative T of the error value R; membership functions associated with the compensating value U (provisional compensating value); (e) membership functions associated with the dead time value MS (number Y of the honed pre-measured workpieces and (f) three groups of fuzzy rules for defining relationships among the error value R, derivative T and compensating value U.
For the error value R, the control device 28 uses seven fuzzy labels NB (negative big), NM (negative medium), NS (negative small), ZO(zero), PS (positive small), PM (positive medium) and PB (positive big), whose values 15 increase in the order of description from a negative value .o to a positive value. The membership functions of these fuzzy labels are indicated in the graph of Fig. 3.
For the derivative T of the error value R, the control device 28 uses five fuzzy labels NB, NS, ZO, PS and 20 PB, whose values increase in the order of description from a negative value to a positive value. The membership functions of these fuzzy labels are indicated in the graph of Fig. 4.
p For the compensating value U, the control device 28 uses the seven fuzzy labels NB, NM, NS, ZO, PS, PM and 25 PB, as described above with respect to the error value R, The membership functions of these seven fuzzy labels are indicated in Fig. 5. An increase in the compensating value U 25 results in an increase in the reference voltage of the automatic sizing device 22, which in turn results in an increase in the inside diameter of the honed cylinder bore.
On the other hand, a decrease in the compensating value U results in a decrease in the reference voltage, which in turn results in a decrease in the inside diameter of the cylinder bore.
For the dead time value MS (number Y of the pre-measured workpieces there are used three fuzzy labels PS, PM and PB, whose values increase in the order of description from to The membership functions of these three fuzzy labels are indicated in the graph of Fig.
6.
The control device 28 uses the three groups of 15 fuzzy rules, which are optically used for fuzzy inference to 5* determine the compensating value U when the dead time value MS is equal to 1, 10 and 20, respectively. The first fuzzy rule group optimal in the case of MS 1 is indicated in 900C TABLE 1 below: 6@ 0" TABLE 1 R(pm) MS 1 NB NM NS ZO PS PM PB SO
SS
0 05 S *i 50 NB PB PB PM PS ZO NS NM NS PB PM PS ZO NS NM NB T ZO PB PM PS ZO NS NM NB PS PB PM PS ZO NS NM NB PB PM PS ZO NS NM NB NB 26 An example of a fuzzy rule of the first group is expressed as follows: IF R NS and T PS, THEN U PS The second group of fuzzy rules optimal in the case of MS 10 is indicated in TABLE 2 below: TABLE 2 MS R(Pm) NB NM NS ZO PS PM PB *5
S
*5*S S. S NB ZO PS ZO ZO ZO ZO ZO NS PM PM PS ZO NS NS NM T ZO PB PM PS ZO N N NM NB PS PM PS PS ZO NS NM NM PB ZO ZO ZO ZO ZO NS ZO The third group of fuzzy rules optimal in the case of MS 20 is indicated in TABLE 3 below: TABLE 3 ese.
a S 0 a S S
SS
MS R(pm) NB NM NS ZO PS PM PB NB ZO ZO PS ZO ZO ZO ZO NS PB PM PS 'ZO ZO NS NM T ZO PB PM PS ZO NS NM NB PS PM PS ZO ZO NS NM NB PB ZO ZO ZO ZO NS ZO ZO The above fuzzy rules are formulated on the following concept: I 27 The in-process measuring head 18 measures the inside diameter of the honed cylinder bore in the varying condition which adversely influences the measurement, for instance, in the presence of a varying amount of residual strain of the honed workpiece W, and varying temperatures of the workpiece and the head 18. Further, the in-process measuring head 18 is not calibrated so frequently as the post-processing measuring head 20, and the electrical output of the head 18 indicative of the inside diameter inevitably includes a drift. Accordingly, the measuring accuracy of the in-process measuring head 18 is relatively lower than that /9 of the post-process measuring head 20. Generally, the measuring error of the in-process measuring head 18 changes slowly with an increase in the number of the honed workpieces.
To assure the workpiece W to be honed with a minimum of influence by such measuring error, the three groups of fuzzy rules are designed, as a principle, so as to reduce the compensating value U not only with an increase in S. 20 the error value R represented by the fuzzy labels, but also with an increase in the time derivative T of the error value
R.
The above principle is represented in TABLES 2 and 3, for example, as follows: That is, where the derivative T is NS, the compensating value U decreases in the order of PB, PM, PS, ZO, NS and NM as the error value R increases.
Further, where the error value R is NM, the compensating 0 0 00 0 0 0* *0 0 i 0 0.
0 4 00 28 value U decreases from PM to PS as the derivative T increases in the order of NS, ZO and PS.
It is also noted that in the event of a certain temporary defect or trouble with the in-process measuring 5 head 18, the actual inside diameter of the honed cylinder bore of the workpiece W considerably deviates from the nominal values, and the compensating value U determined on the basis of the output of the post-process measuring head is not reliable. In other words, the determined compensating value U may cause the dimensional accuracy of the subsequently honed cylinder bores to be outside a tolerance range.
In view of the above possibility, the fuzzy rules are also formulated so as to change the compensating value U 15 toward zero when the measured value X represented by the output of the post-process measuring head 20 suddenly decreases or increases to a considerably extent. In other words, the fuzzy rules are designed to ignore such sudden change of the output of the post-process measuring head that may be caused by a sudden change in the output of the in-process measuring head 18 due to a temporary trouble with the head 18 for some reason or other. Accordingly, the subsequent honing operations are performed, without suddenly changing the reference voltage to be used by the automatic sizing device 22. This arrangement minimizes the influence of the trouble of the head 18 on the dimensional accuracy of the honed cylinder bore of the workpieces W.
29 All of the three fuzzy groups are designed on the same basic concept as described above. However, the three groups are designed differently so as to accommodate a difference in the number Y of the pre-measured workpieces W (dead time value MS), for assuring high stability of the dimensional accuracy of the honed workpieces W irrespective of a change in the number Y (dead time value MS).
Referring to the flow chart of Fig. 2, there will be described the operation of the compensating apparatus for, 10 adjusting the reference voltage of the automatic sizing device 22, depending upon the output of the post-process measuring head se:* The control program illustrated in Fig. 2 is adapted to first calculate the error value Ri on the basis 4 4 of the measured value Xi represented by the output signals 4 of the head 20 currently received by the control device 28, and then calculate the time derivative Ti of the error value 4 Ri. On the basis of the calculated error value Ri and derivative Ti and the dead time value MS, a provisional 20 compensating value Ui is determined. Finally, a final compensating value Ui* is determined by adjusting the currently determined provisional compensating value Ui on th3 basis of the previous provisional compensating values Ui.
Described in detail referring to Fig. 2, step Sl is initially implemented to read in predetermined parameters such as a nominal inside diameter Ao (hereinafter referred 30 to as "nominal value" where appropriate) of the cylinder bore to be honed, and constants w and nax used to obtain a moving average Pi (which will be described). Step Sl is followed by step S2 to read in the measured inside diameter values Xi (i 0, 1, 2, of the cylinder bore represented by the output signal received from the post-process measuring head 20. Then, step S3 is implemented to read in the previous measured values Xi-l, Xi-2, stored in the auxiliary memory 32 (as indicated in Fig. 7).
S 10 Then, the control flow goes to step S4 in which a moving average Pi of a plurality of the measured values X which consist of the presently obtained measured value Xi and the previously obtained measured values X preceding the present value Xi. The moving average Pi will not abruptly 15 change even if the currently obtained measured value Xi has changed by an extremely large amount from the last value X.
For this reason, the moving average Pi is obtained in step S4. To calculate the moving average Pi, the following equation is used: n= P, (1) nmax n=0 where, wi weighting coefficient for the present value Xi nmax number of the previous values X.
max 31 Step S4 is formulated such that the presently obtained measured value Xi is used as the moving average Pi until the number of the previous obtained values X stored in the auxiliary memory 32 becomes equal to n ax* An example of a succession of measured values Xi is indicated in the graph of Fig. 8, while a succession of moving averages Pi obtained from the measured values Xi of Fig. 8 is indicated in the graph of Fig. 9.
Step S4 is followed by step S5 to calculate the 10 error value Ri by subtracting the nominal value Ao from the moving average Pi calculated in step S4. Step S6 is. then implemented to calculate a minimum square regression line on the basis of a suitable number of the previous moving averages P stored in the auxiliary memory 32 and the moving 15 average Pi presently calculated in step S4. The number of the previous moving averages P used is equal to m The derivative Ti is calculated on the basis of the calculated regression line. More specifically, the derivative Ti is calculated as the value tan 8 where the gradient (radian) of the regression line is equal to e.
Step S6 is formulated such that the derivative Ti is zero until the number of the moving averages P stored in the memory 32 becomes equal to m. That is, the derivative Ti cannot be obtained when the number of the stored moving averages P is smaller than m.
The control flow then goes to step S7 to read in the dead time value MS as represented by the output signal 32 received from the workpiece counter 34. Step S7 is followed by step S8 to determine the provisional compensating value Ui, by fuzzy inference on the basis of the error value Ri, derivative Ti and dead time value MS.
The fuzzy inference implemented in step S8 will be described in detail.
At first, fuzzy inference values (logical sums) are calculated from the error value Ri and derivative Ti, according to the three groups of fuzzy rules discussed S 10 above. Namely, logical sums yl, yl0 and y20 corresponding to the fuzzy rule groups for MS 1, MS 10 and MS 20 are obtained using the membership functions as indicated in Figs. 3, 4 and 5, respectively. Then, values Zps, Zpm and Zpb corresponding to the present dead time value are calculated according to the three membership functions of Fig. 6, respectively. Successively, a product of yl and Zps, a product of yl0 and Zpm and a product of y20 and Zpb are calculated by multiplication, and a final fuzzy inference value y is eventually obtained on the ba.lis of the 20 calculated three products. The obtained final fuzzy inference value y is converted into the provisional compensating value Ui according to a suitable rule. The details of this rule are not essential to understand the principle of the present invention.
Step S8 is followed by step S9 to read in the two previous provisional compensating values Ui-l and Ui-2 stored in the memory 32. Step S10 is then implemented to 33 calculate a minimum square regression line on the basis of the two previous values Ui-1 and Ui-2 and the present value Ui, and obtain the final compensating value Ui* by adjusting the present value Ui on the basis of the calculated regression line. This manner of calculation assures gradual smooth compensation of the reference voltage of the automatic sizing device 22 as the honing operation progresses. That is, the final compensating value Ui* determined in step SO0 will not abruptly or suddenly change, 10 but gradually change, since the final value Ui* is obtained by adjusting the last obtained provisional value Ui by the two preceding values Ui-1 and Ui-2.
In step S10, the provisional value Ui obtained in step S9 is used as the final compensating value Ui* until S 15 the number of the previous provisional values Ui stored in Sthe auxiliary memory 32 becomes equal to 2.
Then, the control flow goes to steps S11, 512, S13 and S14 to store respectively the values Xi, Pi, Ui and Ui* obtained in the present cycle. Step 515 is then implemet.ted 20 to apply the final compensating value Ui* to the automatic sizing device 22. Step S15 is followed by step S16 to store data indicative of identification numbers of the fuzzy rules applied in step 58 and the values of the appropriate membership functions. One cycle of the control routine is ended with the completion of step S16, and the control flow returns to step S2 for the next cycle of implementation of steps S2 through S16.
34 The data identifying the fuzzy rules applied for the fuzzy inference in step S8 are stored in the auxiliary memory 32 in step S16, for the purpose of facilitating accurate analysis and necessary modification or tuning of the contents of the fuzzy rules and the characteristics of the membership functions, by referring to the applied fuzzy rules and the frequency of the application, after the completion of a series of honing operations on a predetermined lot of workpieces W, for example.
It will be understood from the above description of the present embodiment that the compensating values U used as an extraneous signal to be applied to the automatic sizing device 22 are determined on the basis of not only the error values R but also the derivatives T which indicate the 15 tendency of a change in the error values R, so as to accurately control the inside diameters of the honed Scylinder bores, without influences by disturbances such as the measuring error and operating trouble of the in-process measuring head 18.
t' 20 The present embodiment has further inherent f* s advantages as described below.
To confirm an advantage of the present compensating apparatus, a simulation was conducted according to provisional compensating values Ui which are determined by fuzzy inference on the basis of the error values Ri and derivatives Ti obtained from the actually measured values Xi of the inside diameter of the honed cylinder bores. For 35 comparison with the present embodiment, a comparative simulation was also conducted on a comparative apparatus adapted to determine the provisional compensating values Ui without using fuzzy inference, namely, determin the proiisional compensating values Ui by using a PID (proportional plus integral plus differential or derivative) action control in which a product of the error value Ri, derivative Ti and an integral value (sum of some measured values X) is fed back.
The actually measured values X in the simulation of the present embodiment are indicated in the graph of Fig.
o10, while those in the simulation test of the comparative apparatus are indicated in the graph of Fig. 11. In the graphs, the range ±3a of the measured values X is indicated 15 as a difference from the nominal value. It will be apparent from the graphs that the range ±3a is narrower over the entire range of the dead time value MS, in the present apparatus than in the comparative apparatus. This means better dimensional accuracy of the cylinder bores honed by 20 the present apparatus than the dimensional accuracy in the o all comparative apparatus.
Further, the present apparatus can be obtained by simply adding the control device 28, auxiliary mcLnory 32 and communication cables, to an existing honing system which includes the honing machine 10, in-processing measuring heads 18, automatic sizing device 22 and post-process measuring device 14. Further, the above components or 36 devices to be added can be comparatively easily connected to the existing honing system, and are relatively inexpensive.
The present apparatus assures improved dimensional accuracy of the honed workpieces by utilizing unique software programs, and without modifying the hardware of the honing machine 10 per se. Thus, the present invention can be readily practiced at a comparatively low cost.
Usually, a working system such as the honing system described above adapted to perform a given working 10 operation on a succession of workpieces in a production line Sto manufacture a certain end product such as a cylinder S* block is provided with a measuring device adapted to check 0*
S
the honed or otherwise processed workpieces for their o.
dimensional accuracy and prevent the transfer of the 15 inaccurately processed workpieces to the next working system. Such a measuring device can be utilized as the post-process measuring device 14 for measuring the dimension of the honed workpieces W to compensate the reference QOeO voltage of the automatic sizing device 22 by feeding back S 20 the compensating value Ui*. Although an exclusive post-process measuring device for the automatic sizing device 22 can be provided in addition to the existing measuring device, the function of the existing measuring device can be effectively utilized as the post-process measuring device 14, to provide the feedback compensating apparatus for the sizing device 22 at a relatively reduced cost.
37 Where the holes such as the cylinder bores to be honed by the honing machine 10 should be finished so as to fit mating components such as pistons, with substantially no clearance. In this case, the dimension of the holes should have a predetermined relationship with the dimension of the mating components. In other words, the inside diameter of a specific hole should be substantially equal to the outside diameter of the mating component.
In the conventional working system, however, it is 10 difficult to reduce the dimensional variation of the holes to within a relatively tight tolerance. Hence, it is required to classify the holes into several groups depending 4* upon the dimension of the holes, and similarly classify the mating components into the corresponding groups also 15 depending upon the dimension of the components, so that the *oeo component of a given group is combined with the hole of the S. corresponding group," to provide a set. To this end, it is necessary to use additional devices such as a device for providing markings near the holes to identify their 20 classification groups, a device for reading the markings, a device for classifying the workpieces according to the classification of the holes, and a device for storing the workpieces as classified.
The present compensating apparatus which assures significantly reduced variation in the dimensional accuracy of the honed cylinder bores eliminates the conventional need for classifying the finished workpieces, or at least reduces 38 the number of the classification groups, and therefore eliminates or at least reduce the cost, labor and space for the classification.
Another simulation was conducted according to final compensating values Ui* which are determined for gradual smooth adjustment of the reference voltage, namely, obtained by adjusting the presently obtained provisional compensating value Ui by the previous provisional compensating values U. The provisional compensating value Ui is determined by fuzzy inference as described above with 4** respect to the simulation whose result is indicated in Fig.
10. For comparison with the present embodiment, a comparative simulation was conducted on a comparative apparatus in which the provisional compensating values Ui 15 are not processed for gradual smooth adjustment of the reference voltage.
The measured values X in the simulation of the present apparatus are indicated in the graph of Fig. 12, while those in the simulation of the comparative apparatus 20 are indicated in the graph of Fig. 13 (similar to that of S' Fig. 10). In these graphs, the range ±3a of the measured values X is expressed as a difference from the nominal value.
It will, be noted from the graphs of Figs. 12 and 13 that the rate of change in the difference from the nominal value as the dead time value MS increases is lower in the present apparatus than in the comparative apparatus.
39 It will also be noted that the difference where the dead time value MS is equal to 20 is smaller in the present apparatus than in the comparative apparatus. Thus, the present apparatus using the final compensating values Ui* which will relatively gradually change assures improved stability in the dimensional accuracy of the honed cylinder bores, independently of an increase in the dead time value
MS.
The embodiment which has been described above by reference to Figs. 1-9 may be modified as needed.
For instance, the control program or routine of Fig. 2 may be modified by adding a step for informing the
C..
operator of a possibility of a defect or trouble with the in-process measuring head 18 if the absolute value of the 15 calculated derivative T exceeds a given threshold value once .t or a predetermined number of times or more in successive cycles of implementation of the control routine of Fig. 2.
*This arrangement frees the operator from an inspecting job for diagnosing the in-process measuring head 18, and permits 20 easy and early detection of any trouble with the head 18, S and early remedy for the detected trouble.
The above step to be added may be modified, for example, such that a trouble with the head 18 is detected by calculating a difference between the presently measured value Xi and the preceding measured value Xi-l stored in the auxiliary memory 32, and compare the difference with a predetermined threshold.
40 In the embodiment of Figs. 1-9, the relationships or so-called "rules of thumbs" empirically recognized as existing among the error value R, derivative T and compensating value U are represented by fuzzy rules on which the reference voltage used as a honing condition by the automatic sizing device 22 is adjusted or compensated, regardless of whether the relationships or rules of thumbs are linear or non-linear. Thus, the automatic sizing device 22 can be optimally controlled in relation to various 10 factors involved in the honing operation. However, the *0 compensating value U may be determined by any suitable method other than the fuzzy inference, for instance, by a PID (proportional, integral and derivative or differential) control method or other modern control methods.
Further, the illustrated embodiment uses only three groups of fuzzy rules corresponding to the dead time value MS of 1, 10 and 20, and is therefore available at accordingly reduced cost and time for formulating and a 0 storing the fuzzy rules.
20 In the illustrated embodiment, the fuzzy rules of TABLES 1, 2 and 3 are formulated to determine the compensating value U regardless of the actually detected dead time value MS (number Y of the pre-measured workpieces and independently of the membership functions of Fig. 6 associated with the dead time value MS. This arrangement facilitates the designing of the programs for the fuzzy inference, contrary to an arrangement in which the fuzzy 41 rules are formulated to determine the compensating value U on the basis of the three detected variables which include the dead time value MS.
As suggested above, the fuzzy rules are used to determine the compensating value U as one output on the basis of the error value R and derivative T as two inputs.
However, the compensating value U may be determined by fuzzy inference on the basis of three inputs consisting of the variables R, T and MS.
While the illustrated embodiment is applied to the L: honing system with one honing machine 10 and one
S.
post-process measuring device 14 disposed along a single working or honing line for honing the workpieces W of the same kind, the present compensating apparatus may be modified so as to be used for other types of working system.
SFor instance, the present invention may be
S.
embodied as a compensating apparatus for a single-line working system capable of dealing with different kinds of oworkpieces. In this case, the compensating apparatus of Fig.
20 1 is modified as shown in Fig. 14, for instance. Described more specifically, the apparatus includes two workpiece identifying sensors 50 and 52 in addition to the workpiece counter 34 and the first and second workpiece detecting sensors 36, 38. The first workpiece identifying sensor 50 is disposed at the upstream end of the honing machine 10 and identifies the kind of the workpiece loaded onto the machine The output signal of the sensor 50 is fed to the i l ll I 42 workpiece counter 34, and also to the automatic sizing device 22 so that the device 22 selects the reference voltage corresponding to the nominal dimension of the workpiece whose kind is represented by the output signal.
The second workpiece identifying sensor 52 is disposed at the upstream end of the post-process measuring device 14 and identifies the kind of the workpiece to be measured by the measuring device 14. The output signal of this sensor 52 is fed to the workpiece counter 34, and also to the measuring device 14 so that the device 14 selects the appropriate measuring head 20. Further, the workpiece counter 34 is adapted to count the number Y of the pre-measured workpieces of each kind. If the transfer of the workpiece of a given kind from the machine 10 is detected by the first workpiece 15 detecting sensor 36, the count corresponding to the kind of the workpiece identified by the sensor 50 is incremented.
The same count is decremented if the transfer of the workpiece of the same kind into the measuring device 14 is detected by the second workpiece detecting sensor 38 and the second workpiece identifying sensor 52. Thus, the numbers Y :i of the pre-measured workpieces of all kinds are counted by the counter 34.
Since the generation of the output signal of the second identifying sensor 52 indicates the transfer of the workpiece into the measuring device 14, the second workpiece detecting sensor 38 may be omitted.
43 Referring' to Fig. 15, there is shown another modified working system which includes a plurality of working machines 10 adapted to deal with the workpieces of the same kind, and one post-process measuring device 14. In the specific example of Fig. 15, the working system has two machines 10 disposed at the upstream ends of the respective working lines which lead at the downstream ends to the measuring device 14. In this case, the compensating apparatus should adjust the working conditions of the two machines 10 independently of each other since the operating characteristics of the two machines 10 are generally different, even though the workpieces of the same kind are dealt with by the two machines 10. Accordingly, the i 1* compensating apparatus is preferably arranged as described below, for example.
The compensating apparatus has the first and :i second workpiece detecting sensors 36, 38 for each of the two machines 10, and the workpiece counter 34 commonly used 'oo .for the two machines 10. The second workpiece detecting o .9 sensors 38 are disposed at the downstream ends of the parallel two working lines downstream of the respective machines 10. The workpiece counter 34 is adapted to count the numbers Y of the pre-measured workpieces transferred from the respective machines 10. If the transfer of the workpieces from the machines 10 is detected by the first sensors 36, 36, the respective counts corresponding to the two machines 10 are incremented. If the transfer of the i I 44 workpieces into the measuring device 14 is detected by the second workpiece detecting sensors 38, 38, the respective counts are decremented. This arrangement is preferable for the reason indicated above. Since the working lines are arranged to transfer the workpieces from the ends of the lines directly to the measuring device 14, the two second workpiece detecting sensors 38 are able to detect the transfer of the workpieces from these two lines into the measuring device 14.
The compensating apparatus is also applicable to a working system including a plurality of machines as in the example of Fig. 15, each of which is however adapted to deal with different kinds of workpieces. In this case, the compensating apparatus should adjust the working conditions S* 15 of the different machines, depending on the kinds of the workpieces. Therefore, the compensating apparatus is preferably arranged as shown in Fig. 16, for example.
In the example of Fig. 16 wherein two machines are provided, the compensating apparatus includes two workpiece identifying sensors 70, 70, and one second Sworkpiece identifying sensor 72, in addition to one workpiece counter 34, two first workpiece detecting sensors 36 and two second workpiece detecting sensors 38 as provided in the example of Fig. 15. Each first workpiece identifying sensor 70 is disposed at the upstream end of the appropriate machine 10, and identifies the kind of the workpieces loaded onto the machine. The second workpiece identifying sensor 72 is disposed at the upstream end of the measuring device 14, and also identifies the kind of the workpieces transferred into the measuring device 14. The workpiece counter is adapted to count the numbers Y of the pre-measured workpieces of each kind transferred from each of the two machines 10. Accordingly, the number of the counts is equal to the number of combinations of the machine and the workpiece kind. If the transfer of the workpiece of a given kind from one of the two machines 10 is detected by the appropriate first workpiece detecting sensor 36, the count corresponding to the combination of that one machine (recognized by the position of the sensor 36) and that given workpiece kind (identified by the sensor 70) is incremented.
If the transfer of the workpiece of that kind into the 15 measuring device 14 is detected by the sensors 38, 72, the same count is decremented. For the reason indicated above, the present arrangement for counting the numbers Y of the pre-measured workpieces is preferable.
The second workpiece detecting sensors 38 may be omitted in the example of Fig. 16, if the second workpiece identifying sensor 72 is modified to identify the machines from which the workpieces are transferred, as well as the kinds of the workpieces. For instance, suitable markings e indicating the identification numbers of the machines 10 by which the workpieces are processed are provided directly or indirectly on the workpieces, and the sensor 72 reads the markings.
-46 In the embodiment of Figs. 1-9, workpieces are successively processed one after another, and each workpiece has a plurality of working portions or cylinder bores which are honed concurrently by respective tools. Further, dimensional data are obtained for each of the working portions or honed cylinder bores, to determine the compensating values for adjusting the working conditions of the individual working portions of the workpiece. However, it is possible to obtain the dimensional data for a selected one of the working portions of each workpiece, and determine the compensating value for the selected working portion. In this case, the obtained compensating value is utilized to adjust the working conditions of the other working portions.
This arrangement eliminates the need of obtaining the 15 dimensional data on the other working portions and i.00. determining the compensating values on the basis of those dimensional data.
In the illustrated embodiment, each working portion (cylinder bore) of the workpiece has only one diameter (inside diameter), the principle of the invention is applicable to a cylindrical working portion having a plurality of different diameters at respective axial positions of the working portion. In the former case, there is only one dimension (diameter) to be measured by the post-process measuring device. In the latter case, each of the dimensions (diameters) at the different axial positions of the cylindrical working portion is measured, and the 47 principle of the invention is applicable to each or any one of those dimensions.
Referring next to Figs. 17-23, there will be described a second embodiment of the feedback compensating apparatus of the present invention. Unlike the first embodiment of Fig. 1, this second embodiment does not include the workpiece counter 34, and the workpiece detecting sensors 36, 38. Further, the control program or routine stored in the read-only memory of the control device 28 of the second embodiment is different from that of the first embodiment illustrated in Fig. 2.
Described more specifically, the read-only memory of the control device 28 used in the second embodiment stores the control program as illustrated in the flow chart 1.5 of Fig. 17, which is implemented to determine the final compensating value Ui* and adjust the reference voltage of the automatic sizing device 22 according to the compensating value Ui*.
The read-only memory of the control device 28 also 20 stores fuzzy inference data used for determining the C C compensating value Ui by fuzzy inference. The fuzzy inference data include: fuzzy inference programs; (b) membership functions associated with the error value R; (c) *a S membership functions associated with the derivative T of the error value R; membership functions associated with a derivative of the derivative T, a second derivative of the error value R; membership functions associated with -I 48 the compensating value Ui (provisional compensating value); and five groups of fuzzy rules for defining relationships among the error value R, first derivative T, second derivative D and compensating value Ui.
For the error value R, the control device 28 uses seven fuzzy labels NB (negative big), NM (negative medium), NS (negative small), ZO(zero), PF (positive small), PM (positive medium) and PB (positive big), as used in .the first embodiment. The membership functions of these fuzzy labels are indicated in the graph oE Fig. 3.
For the first derivative T and the second derivative D, the control device 28 uses five fuzzy labels NB, NS, 20, PS and PB, whose values increase in the order of description from a negative v-:e.ae to a positive value. The
*D
15 membership functions of these fuzzy labels for the derivative T are indicated in the graph of Fig. 4, while those for the derivative D are indicated in the graph of Fig. 18.
For the compensating value U, the control device 28 uses the seven fuzzy labels NB, NM, NS, ZO, PS, PM and PB, as used in the first embodiment. The membership functions of these seven fuzzy labels are indicated in Fig.
e 5. As described above with respect to the first embodiment, the reference voltage of the automatic sizing device 22 is increased and the inside diameter of the honed cylinder bore is accordingly increased as the compensating value U is 49 increased. The reference voltage and the inside diameter are decreased as the compensating value U is decreased.
The control device 28 uses the five groups of fuzzy rules, which are optically used for fuzzy inference to determine the compensating value U when the fuzzy label of the second derivative D is NB, NS, ZO, PS and PB, respectively. These groups of fuzzy rules are indicated in the following TABLES 4-8, respectively: For easier understanding, the five groups of fuzzy rules indicated in TABLES 4-8 are illustrated in three-dimensional graphs of Figs. 19-23, respectively.
TABLE 4 9 9 9.
9* 9 99j 9 9 9 9* 0 *999 9...o 0999 9.
99 D PB R(pm) NB NM NS ZO PS PM PB 9 NB ZO O2 ZO ZO ZO ZO ZO NS ZO ZO ZO ZO ZO ZO T ZO ZO ZO ZO ZO ZO ZO ZO PS ZO ZO ZO ZO ZO PB ZO ZO ZO ZO ZO ZO ZO TABLE R(pm) D PS NB NM NS ZO PS PM PB NB ZO ZO PS ZO ZO ZO ZO NS PM PS PS ZO ZO NS NM T ZO PS PS ZO NS NM NB NB PS PS ZO 20 NS NM NB NB PB NS NS NS NM NM NS NS 50 TABLE 6 D ZO R (PMR) NB NM NS ZO PS PM PB 00#0 ee 0 0 00 040 0 0 0 NB ZO ZO PS ZO ZO ZO ZO NS PB PM PS ZO ZO NS NM T ZO PB PM PS ZO NS NM NB PS PM PS ZO ZO NS NM NB PB ZO ZO ZO ZO NS ZO ZO TABLE 7 R(plm) D NS NB NM NS ZO PS PM PB NB PS PS PM PM PS PS PS NS PB PB PM PS ZO ZO NS T ZO PB PM PM PS ZO NS NS PS Pm PS ZO ZO NS NS NM PB ZO ZO ZO ZO NS ZO ZO TABLE 8 R (JIM) D =NB NB NM NS ZO PS PM PB NB ZO ZO ZO ZO ZO ZO ZO NS ZO ZO ZO ZO ZO ZO ZO T ZO ZO ZO ZO ZO ZO ZO ZO PS ZO ZO ZO ZO ZO ZO ZO PB ZO ZO ZO ZO ZO ZO ZO An example of a fuzzy rule is expressed as f ollows: 51 IF R NS and T PS, THEN U ZO Each of the five groups of fuzzy rules is designed, as a principle, so as to reduce the compensating value U not only with an increase in the error value R represented by the fuzzy labels, but also with an increase in the first derivative T. The five groups of fuzzy rules are differently formulated so as to reduce the compensating value U with an increase in the second derivative D, The above concepts are represented in TABLE 6, for example, as follows: That is, where the derivative T is NS, the compensating value U decreases in the order of PB, PM, PS, ZO, NS and NM as the error value R increases. Further, where the error value R is NM, the compensating value U decreases in the order of PM, PM and PS as the derivative T 4.
15 increases in the order of NS, ZO and PS.
As in the first embodiment, the fuzzy rules are also formulated so as to change the compensating value U toward zero when the measured value X represented by '4 the output of the post-process measuring head 20 suddenly decreases or increases to a considerably extent. Thus, the control device 28 ignores such sudden change of the output 000e of the post-process measuring head 20 that may be caused by a sudden change in the output of the in-process measuring head 18 due to a temporary trouble with the head 18.
Accordingly, the subsequent honing operations are performed, without suddenly changing the reference voltage to be used by the automatic sizing device 22, so as to minimize the 52 influence of the trouble of the head 18 on the dimensional accuracy of the honed cylinder bore of the workpieces W4 The above concept is represented in TABLE 6, for example, such that the compensating value U is ZO where the error Value R is NB or NM while the first derivative T is NB, or where the error value is PM or PB while the first derivative T is PB.
Further, the relationship between the second derivative D and the compensating value U is determined such that the compensating value U is generally smaller when the second derivative D is PS than when the second derivative D is ZO, and such that the compensating value U is generally larger when the second derivative is NS than when the second derivative D is ZO. However, the compensating values U when 15 the second derivative D is PS and those when the second derivative D is NS are not completely symmetrical with respect to the compensating values U when the second derivative D is ZO. This asymmetrical relationship permits g.«o improved stability of the dimensional accuracy of the honed cylinder bores.
SS" It is also noted that the compensating value U is generally ZO when the second derivative D is PB or NB, for the same reason as when the absolute values of the error 0* .i value R and first derivative T are relatively large.
Referring to the flow chart of Fig. 17, there will be described the operation of the feedback compensating apparatus for adjusting the reference voltage of the 53 automatic sizing device 22, depending upon the output of the post-process measuring head 20. In Fig. 17, the same step numbers as used in Fig. 2 are used to identify the corresponding steps.
Like the control program illustrated in Fig. 2 of the first embodiment, the control program of Fig. 17 is adapted to first calculate the error value Ri on the basis of the measured value Xi represented by the output signals of the head 20 currently received by the control device 28.
Then, the first and second derivatives Ti and Di of the error value Ri are calculated. On the basis of the calculated error value Ri and derivatives Ti and Di, the provisional compensating value Ui is determined. Finally, the final compensating value Ui* is determined by adjusting the currently determined provisional compensating value Ui on the basis of the previous provisional compensating values i.
Steps S1-S6 are implemented as in the first embodiment. The calculation of the moving average Pi in step S. 20 S4 is conducted according to the above equation In this connection, it is noted that the weighting coefficient wi and the number nmax used in the equation as well as the fuzzy rules and membership functions are determined on the assumption that the number Y of the pre-measured workpieces i 25 W is "19" and the dead time value MS is therefore S" Step S6 is followed by step S17 to calculate a minimum square regression line on the basis of the presently 54 obtained first derivative Ti calculated in step S6 and a suitable number of the previous first derivative values T stored in the auxiliary memory 32. The number of the previous first derivative values T is equal to r The second derivative Di is calculated on the basis of the calculated regression line.
Like the first derivative Ti, the second derivative Di in step S17 is zeroed until the number r of the previous first derivative values T stored in the memory 32 becomes equal to r.
It is noted that the first derivative Ti obtained in step S6 represents the tendency of change in the error value Ri (moving average Pi), and the second derivative Di.
obtained in step S17 represents the tendency of change in 15 the first derivative Ti.
o *After the error value Ri and the first and second derivatives Ti and Di are obtained, the control flow goes to step S8 to determine the provisional compensating value Ui by fuzzy inference. The fuzzy inference implemented in this 20 step S8 will be described in detail.
Initially, fuzzy inference values (logical sums) are calculated from the error value Ri and first derivative Ti, according to the five groups of fuzzy rules of TABLES 4-8 discussed above. Namely, logical sums Ynb, Yns, Yzo, Yps and Ypb corresponding to the fuzzy rule groups for D NB, D NS, D= ZO, D PS and D PB are obtained using the membership functions as indicated in Figs. 3, 4 and 55 respectively. Then, values Znb, Zns, Zzo, Zps and Zpb corresponding to the present second derivative Di are calculated according to the five membership functions of Fig. 18, respectively. Successively, a product of Ynb and Znb, a product of Yns and Zns, a product of Yzo and Zzo, a product of Yps and Zps and a product of Ypb and Zpb are calculated by multiplication, and a final fuzzy inference value y is eventually obtained on the basis of the calculated five products. The obtained final fuzzy inference value y is converted into the provisional compensating value Ui according to a suitable rule. The details of this rule are not essential to understand the principle of the present invention.
Step S8 is followed by steps S9-S12 as described f 15 above with respect to the first embodiment. In step SI0, the final compensating value Ui* is obtained by adjusting the present value Ui on the basis of the regression line calculated from the present provisional compensating value Ui and the two previous provisional compensating values Ui-l 20 and Ui-2. The thus obtained final compensating value Ui* assures gradual smooth compensation of the reference voltage Sof the automatic sizing device 22 as the honing operation o**e progresses. The provisional value Ui obtained in step S9 is i used in step S10 as the final compensating value Ui* until 25 the number of the previous provisional values Ui stored in the auxiliary memory 32 becomes equal to 2.
I
56 Step S12 is followed by step S18 to store the first and second derivatives Ti and Di in the auxiliary memory 32. Step S18 is followed by steps S13 and S14 to store the provisional and final compensating values Ui and Ui* in the auxiliary memory 32, as in the first embodiment.
Then, the control flow goes to step S19 to determine whether the final compensating value Ui* is zero or not. If the value Ui* is not zero (if a negative decision "NO" is obtained in step S19), step S15 is implemented to apply the final compensating value Ui* to the automatic sizing device 22, and the control flow goes to step S16 described above. If the value Ui* is zero (if an affirmative decision "YES" is obtained in step S19), the control flow 15 One cycle of the control routine of Fig. 17 is ended with the completion of step S16, and the control flow returns to step S2 for the next cycle of implementation of steps S2 through S16.
It will be understood from the above description 20 of the second embodiment that the final compensating values Ui* are determined on the basis of not only the error values R and the first derivative T of the error value R but also the second derivatives D of the error values R, so as to accurately control the inside diameters of the honed 25 cylinder bores, without influences by disturbances such as the measuring error and operating trouble of the in-process measuring head 18.
57- The use of the second derivative D in addition to the first derivative T to determine the compensating value Ui* assures the same or higher dimensional accuracy of the honed cylinder bores, as in the first embodiment of Fig. 2 in which the dead time value MS or the number Y of the pre-measured workpieces W is taken into account to determine the compensating value Ui*. The provision of the workpiece counter 34 and the workpiece detecting sensors 36, 38 will increase the cost of the compensating apparatus, and requires additional time and labor to modify an existing honing system to provide a honing system equipped .)'ith the compensating apparatus. In this respect, the present second embodiment using no workpiece counter 34 is advantageous over the first embodiment.
15 However, the second embodiment may be provided .9 with the workpiece counter 34 and the related components as in the first embodiment, to furlther improve the dimensional accuracy of the honed workpieces by adjustment of the honing condition (reference voltage of the sizing device 22) by the 20 compensating apparatus.
In the present second embodiment, step 515 is a o0 skipped, namely, the output of the control device 28 is not fed back to the automatic sizing device 22, as long as the "final compensating value Ui* is zero. Usually, it is difficult to match the operating cycle of the post-process measuring device 14 with that of the honing machine because a considerably long processing time is required to 58 effect data transmission from the control device 28 to the sizing device 22 via RS232C or other suitable transmitting means. In most cases, these operating cycles are not matched, unless a high-grade program language is used to assure a match in the cycling operation between the machine and the measuring device 14, or a suitable hardware means is employed to assure the match. This problem may be avoided by reducing the frequency of the data transmission from the control device 28 to the sizing device 22. Where 300 workpieces are honed by the machine 10, the final compensating value Ui* becomes other than zero ten times or so. According to the second embodiment, the data transmission to apply the final compensating value Ui* to the sizing device 22 is effected only in such instances, and 15 the processing time for the data transmission is accordingly 'reduced. Hence, the present embodiment does not require a 00 0 high-grade program language for matching the operations of the machine 10 and the measuring device 14.
To confirm an advantage of the compensating apparatus according to the present second embodiment, a simulation was conducted according to the final compensating o 000. value Ui* which is obtained by adjusting the present provisional compensating values Ui by the previous provisional compensating values U. The provisional compensating value Ui is determined by fuzzy inference on the basis of the error values Ri and first and second derivatives Ti and Di obtained from the actually measured 59 values Xi. The final compensating value Ui* is supplied to the automatic sizing device 22 only when the value Ui* is not zero. For comparison with the present embodiment, a comparative simulation was also conducted on a comparative apparatus adapted to supply the final compensating value Ui* to the automatic sizing device 22, irrespective of whether the value Ui* is zero or not.
A result of the simulation of the present embodiment is indicated in the graph of Fig. 24, while a result of the comparative simulation is indicated in the graph of Fig. 25. The corresponding result obtained without compensation of the reference voltage of the sizing device 22 is indicated in the graph of Fig. 26.
It will be understood from the graphs of Figs. 24 S 15 and 26 that the dimensional accuracy of the honed workpieces is significantly improved in the simulation of the present S*second embodiment of Fig. 24, over that in the simulation without any compensation of Fig. 26. It will also be understood that the present embodiment of Fig. 24 adapted to supply the final compensating value Ui* to the sizing device 22 only when the value Ui* is not zero permits almost the o.
SOO*. same dimensional accuracy as the comparative apparatus of Fig. While the program used in the second embodiment illustrated in Fig. 17 includes step S19, this step may be omitted so that the final compensating value Ui* is applied 60 to the automatic sizing device 22 even when the value Ui* is zero.
Referring next to Figs. 27-54, there will be described a third embodiment of the feedback compensating apparatus of this invention.
The present third embodiment is applied to a working system in the form of a grinding system adapted to grind a workpiece in the form of a crankshaft of an engine of a motor vehicle, more specifically to grind cylindrical working portions of the crankshaft, namely, cylindrical surfaces of seven journals coaxially formed on the crankshaft. In Fig. 28, the crankshaft is indicated at 126, and the journals are indicated at 128.
As shown in Fig. 27, the grinding system includes 15 a cylindrical grinding machine 110, two in-process measuring heads 112 (only one of which is shown in the figure), an automatic sizing device 114, a motor controller 115, a post-processing measuring device 116, a workpiece counter 118, a control device 120, and an auxiliary memory 122. The 20 components of the grinding system will be described.
As indicated by thick solid lines with arrows in eo*. Fig. 27, a working line extends through the grinding system.
A succession of torkpieces in the form of crankshafts 126 o* (one of which is shown in Fig. 28) are transferred along the working line from the upstream side toward the downstream side (from left to right as seen in Fig. 27).
I~ I 61 The grinding machine 110 employs an array of coaxial cylindrical grinding wheels 130 as shown in Figs. 28 and 29, for performing a cylindrical grinding operation on the seven journals 128 of each crankshaft 126. In operation, the grinding wheels 130 and the crankshaft 126 are rotated in contact with each other, to simultaneously grind all of the seven journals 128.
As shown in Fig. 29, the grinding machine 110 has a work table 132 on which the crankshaft 126 as the workpiece is mounted for grinding. The work table 132 is attached to a main frame of the machine 110, and includes a holder (not shown) for rotatably supporting the crankshaft 126, and a drive motor 34 for rotating the crankshaft 126.
The grinding machine 110 also has an infeed table I 15 136 for advancing and retracting the array of grinding wheels 130 toward and away from the work table 132, and a swing table 138 mounted on the infeed table 136. The infeed table 136 is attached to the main frame of the machine 110, and is reciprocable in the direction perpendicular to the axis of the crankshaft 126 on the work table 132. The swing *table 138 is rotatable or pivotable (both clockwise and 9* counterclockwise) in a plane parallel to the plane of Fig.
29, about a pivot axis perpendicular to those planes and also perpendicular to an axis of the grinding wheels 130 indicated by one-dot chain line in Fig. 29. The pivot axis is located near one of opposite ends of the shaft on which the wheels 130 are mounted. The infeed table 136 is 62 r3ciprocated by a infeed motor 140 fixed to the main frame, and the swing table 138 is pivoted by a swing motor 142 fixed to the infeed table 136.
Thus, the angle (hereinafter referred to as "grinding angle" where appropriate) formed by the axes of rotation of the grinding wheels 130 and the crankshaft 126 can be changed by the swing motor 142.
The two in-process measuring heads 112 are attached to the grinding machine 110, to measure the diameters of the first and seventh journals 128 (hereinafter referred to as "end journals" where appropriate) which are nearest to the respective opposite ends of the crankshaft 126, as shown in Fig. 28. Each measuring head 112 is of an electrical micrometer type, having a pair of measuring *o i 15 probes for contact with diametrically opposite portions of the cylindrical surface of the appropriate end journal 128, to measure the diameter of the end journal 128.
The automatic sizing device 114 is electrically connected to the in-process measuring heads 112, as shown in Figs. 27 and 29, and is principally constituted by a •computer which includes a central processing unit (CPU), a '*OO read-only memory (ROM), a random-access memory (RAM) and a bus interconnecting these elements. The sizing device 114 is adapted to monitor the diameters of the end journals 128 under grinding by the machine 110, by means of the respective in-process measuring heads 112, and apply output signals to the motor controller 115, depending upon the
O
63 outputs of the measuring heads 112. More particularly, the sizing device 114 monitors the outputs of the measuring heads 112 to determine whether the residual amounts of infeed of the wheels 130 required to grind the end journals 128 to respective nominal diameter values Ao thereof have been reduced to respective preset values for rough grinding) or not, or whether the residual amounts of infeed have been reduced to zero or not, namely, whether the two end journals 128 have been ground to the nominal diameter values Ao (to be established by precision or finish grinding). In other words, the sizing device 114 determines whether the output levels of the measuring heads 112 have reached reference values preset in the sizing device 114 for the end journals 128, respectively. The reference values may correspond to the final or nominal outside diameter values of the journals 128, or any desired diameter values larger than the nominal values, which desired diameter values are :established by a rough grinding operation, for example.
Accordingly, the signals applied from the sizing device 114 to the motor controller 115 indicate that the end journals 128 have been ground to the nominal diameter values Ao, or
S
the residual amounts of infeed of the wheels 130 have reached the preset values which correspond to outside diameters larger than the nominal values Ao.
25 The reference values preset in the automatic o• sizing device 114 for the end journals 128 according to the nominal diameters Ao thereof can be adjusted according to a 64 respective compensating values U received from the control device 120 of the compensating apparatus. This adjustment is made to assure that the actual diameters of the ground end journals 128 are exactly equal to the nominal diameter values Ao. The reference values are adjusted with the compensating values U added thereto, or remain unchanged ,if no compensating values U are received by the sizing device 114. Thus, the sizing device 114 is capable of automatically adjusting the presently effective reference values according to the compensating values U received from the control device 120.
As shown in Fig. 27, a keyboard 150 is connected to the automatic sizing device 114, so that the presently effective reference values of the sizing device 114 can, be adjusted manually by the operator, by desired amounts, entered through the keyboard 150. The sizing device 114 stores in its RAM the presently effective manually entered compensating amounts and reference values, and transmit these data to the control device 120, when the contro 20 device 120 is ready to receive such data.
As shown in Fig. 29, the motor controller 115 is electrically connected to the automatic sizing device 114 9 and. the infeed and swing motors 140, 142. The motor controller 115 controls the infeed and swing motors 140, 142 25 in response to commands manually entered through the keyboard 150 and signals received from the sizing device 114.
Usually, one cycle of grinding job performed by the grinding machine 110 consists of two or more grinding steps such as a rough grinding, a precision or finish grinding, and a final spark-out operation without an infeeding action of the grinding wheels 130. The rough grinding continues until the residual amounts of infeed of the wheels 130 have been reduced to the preset values, and the precision or finish grinding continues until the diameters of the end journals 128 have become equal to the nominal values Ao, that is, until the reference values set in the sizing device 114 have been reached. Commonly, the preset residual amounts of infeed have been reached at different times for the two end journals 128, and therefore the signals indicative of the completion of the rough grinding for the two end journals 128 are generated from the sizing device 114 at different times. In the rough grinding, therefore, the swing motor 142 as well as the infeed motor 140 is controlled by the motor controller 115 to adjust the grinding angle between the axes of the wheels 130 and crankshaft 126, in order to assure substantially simultaneous completion of the roughing grinding for the two end journals 128. On the other hand, the finish grinding is effected with only the infeed motor 140 operated by the motor controller 150 to infeed the wheels 130, but with the swing motor 142 held off, since the grinding angle is considered to have been properly adjusted during the rough grinding. The finish grinding is terminated with the infeed 66 motor 140 turned off by the sizing device 114 in response to the first received signal indicating that the reference value has been reached for one of the two end journals 128.
The finish grinding is followed by the spark-out operation, and the infeed motor 140 is operated in the reverse direction to retract the array of wheels 130 from the crankshaft 126. The grinding angle may be controlled even in the finish grinding.
The post-process measuring device 116 is located on the downstream side of the working line, remote from the grinding machine 110, as shown in Fig. 27. The measuring device 116 has seven post-process measuring heads 144 corresponding to the seven journals 128 of the crankshaft 126. These measuring heads 144, which are of the same type as the in-process measuring heads 112, are adapted to measure the outside diameters of the ground journals 128 transferred from the grinding machine 110. The measuring device 116 is electrically connected to an input portion of the control device 120.
The workpiece counter 118 is adapted to count the number Y of the pre-measured workpieces, ground crankshafts 126 which exist in a portion of the working line between the grinding machine 110 and the post-process measuring device 116. The workpiece counter 118 receives the 25 output signal of a first workpiece detecting sensor 146 limit switch) for detecting the transfer of each ground crankshaft 126 from the machine 110, and the output 67 signal of a second workpiece detecting sensor 148 limit switch) for detecting the transfer of each ground crankshaft 126 into the post-process measuring device 116.
The number Y of the pre-measured workpieces is incremented when each ground workpiece is detected by the first sensor 146, and decremented when each pre-measured workpiece is detected by the second sensor 148. As described before with respect to the first embodiment, the number Y represents the value MS of the so-called "dead time".
The control device 120 is principally constituted by a computer incorporating a central processing uni+ (CPU'/, a read-only memory (ROM), a random-access memory (RAM), and a data bus interconnecting these elements. The ROM stores programs to execute a compensating control routine. The control device 120 is also connected to the auxiliary memory 122, which is used to store measured diameter values X o. represented by the signals from the post-process measuring device 116, compensating values U determined on the basis of the diameter values X, and various other data. The data stored in the auxiliary memory 122 can be used by the operator, after a series of grinding operation, to analyze or diagnose the grinding conditions.
A major portion of the above compensating control routine is illustrated in the flow charts of Figs. 30-35.
25 Before describing in detail the routine executed by the control device 120 by reference to these flow charts, the function of the present feedback compensating apparatus 68 whose major portion is constituted by the control device 120 will be briefly described.
The control device 120 is adapted to perform a hybrid control of feeding back the compensating values U to the automatic sizing device 114, for adjusting or changing the respective reference values with which the outputs of the two in-process measuring heads 112 are compared by the automatic sizing device 114, to compensate the reference values for dimensional errors of the ground workpieces in the form of the crankshafts 126. The compensating values U are determined on the basis of the diameter values X measured by the post-process measuring heads 144 whose measuring accuracy is stable at a relatively high level. The thus determined compensating values U are used to adjust the reference values of the sizing device 114, so that the comparison of the outputs of the in-process measuring heads 112 with the adjusted reference values makes it possible to assure high dimensional accuracy of the ground workpieces, i 0 even if the measuring accuracy of the in-process measuring heads 112 is unstable due to various disturbances such as a variation in the operating temperature. This hybrid feedback control can be considered to be applied to a control system which receives as an input signal the compensating values U, ee*e and produces as an output signal the dimensional data representative of the measured diameter values X, and which has the dead time (dead time value MS represented by the number Y of the pre-measured workpieces) between the moments 69 of generation of the input and output signals. It is noted that the reference values to be adjusted according to the compens zing values U represent the final or nominal dimensions of the working portions (journals 128) of the workpiece (crankshaft 126) at which the working operations on the working portions are terminated, or represent any intermediate or in-process dimensions of the working portions at which the working operations are interrupted or temporarily stopped. Thus, the reference values are considered to be a working condition of the workpiece, more specifically, a desired or nominal amount or amounts of infeed of the grinding wheels 130 with respect to the journals 128 of the crankshaft 126.
The concept underlying the compensating control routine illustrated in Figs. 30-35 will be first described referring to the flow chart of Fig. 36. It is noted that the step numbers used in the flow chart of Fig. 36 do not 0* correspond to the step numbers used in the flow charts of Figs. 30-35 which will be specifically discussed later in detail.
In the first step indicated in the flow chart of Fig. 36, the control device 120 reads in the diameter values X of the two end journals 128 currently measured by the post-process measuring device 116. Then, the second step is implemented to calculate a moving average P of the measured :e :diameter values X for each end journal 128 which have been measured and which include the currently measured one. This
O
70 second step is provided to avoid using a suddenly changed value X. That is, even if the currently obtained diameter value X is considerably different from the last two or more values X, the moving average P obtained in the second step will not be considerably changed from the last obtained moving average values P. The moving averages P for the two end journals 128 are calculated on the basis of the diameter values X stored in a data memory of the RAM of the control devioe 120 and the currently measured diameter values X received in the first step.
The control flow then goes to the third step to adjust the moving averages P calculated in the second step, as described below. The fourth step is then implemented to calculate, as compensating data, error values R and first and second derivatives T and D of the error values R on the basis of the adjusted moving averages P (stored in the data memory of the RAM). The error value R for each end journal fe 128 is a difference between the moving average P and the nominal diameter value Ao. The control flow then goes to the 20 fifth step to determine by fuzzy inference the provisional compensating values U for the two end journals 128, on the 99 basis of the compensating data T and D) and the number Y of the pre-measured workpieces (dead time value MS). The sixth step is then implemented to adjust the provisional 25 compensating values U to obtain the final compensating values U* which assures gradual or smooth compensation or adjustment of the reference values of the automatic sizing 71 device 112. Then, the seventh step is implemented to determine whether the absolute value of the final compensating values U* is smaller than a threshold or not, and the eight step is executed to transmit the compensating values U* to the sizing device 112 if the absolute values U* are not smaller than the threshold.
The control device 120 does not determine the compensating values U* each time the diameters X of the end journals 128 are measured by the post-process measuring device 16. In other words, the control device 120 operates to determine or update the compensating values U* from time to time on an intermittent basis according to a predetermined rule, and the data memory of the RAM of the device 120 is accordingly updated.
Although the control device 120 receives the measured diameter values X of all the seven journals 128 of '0 the crankshaft 126, the values X of only the two end o.
o* journals 128 (first and seventh journals) are used as a principle to determine the compensating values U or U*.
While the flow of the control routine executed by the control device 120 has been briefly described, the 4 features of the individual steps as shown in Fig. 36 will be discussed in detail.
First, the calculation of the moving averages P in the second step will be explained.
The diameter values X (of each end journal 128) measured from time to time by the measuring device 16 may 72 have a considerable variation between successively measured values. Since it is desirable to avoid using a suddenly changed value X, a weighted moving average P is obtained from the present value X received in the first step and at least one previous value X stored in the RAM. Generally, this moving average P is considered to more accurately represent the actual diameter X of the ground journal 128.
The moving average Pi is calculated in the following manner, as a rule. That is, a predetermined number K (a2)of the successively measured values X (including the value X obtained in the present cycle) are used to calculate the moving average Pi according to the following equation for example: bi-4 X1- 4 +bi- Xi-3 2
X,-
2 +bi-i +bi X, b -4 +bi-o +b 2 +bi-i +bi a.
a (2) where, i number of the workpieces measured by the measuring device 16 number K) In the present example, the above equation is formulated to calculate the moving average Pi of the five successive values X. That is, the number K is equal to and the number i is also equal to The values bi- 4 through bi are weighting coefficients corresponding to the five values X.
-73 The weighting coefficients b are suitably determined in relation to the frequency of noisy component waves that should be removed from the measured values X by using the moving average component waves which cause a relatively large variation of the values In thb case where the number Y of the pre-measured workpieces existing between the machine 110 and the measuring device 116 is zero or almost constant, the frequency of the noisy component wave is not substantially changed. In this case, the weighting coefficients b can be determined in the following manner: To begin with, the following equation is prepared such that wi3, W2, W W s represent angular frequencies of the noisy component waves to be removed from the values X. The number of the noisy component waves is equal to s.
*4 z 1 •+a 0 z' z+ (3) Then, the values through "a 0 selected from 45t the values "I'l"l l 5 1 1a, f a, 1 1 and are 4 so determined as the weighting coefficients bi l bi.(sl), *ee 4 5* b i In the case where the number Y of the pre-measured See workpieces is not always substantially constant, it is unavoidable that the frequency of the noisy component waves 74 to be removed from the measured values X by using the moving average is likely to change more or less. In this case, therefore, it is desirable to determine the weighting coefficients in the following manner. That is, the weighting coefficients b increase substantially linearly in the order in which the corrosponding measured values X are measured, as indicated in Fig. 37. According to this method, the weighting coefficient bi for the presently measured value X is the largest. This method makes it possible to eliminate low-frequency noisy component waves over a relatively wide range, from the measured values X, and the calculated moving average P is less likely to be influenced by the noisy component waves.
In the above case, the gradient of the linear increase of the weighting coefficient b is determined so as to best suit a standard condition in which the number Y of S* the pre-measured workpieces changes. For instance, the coefficients bi-4, bi- 3 bi-2' bi- and b i are determined to 0. be 1, 2, 3, 4 and 5, respectively. However, this manner of determination of the weighting coefficient b causes the obtained moving average P to vibrate with the measured values X, if the vibration level of the measured values X is relatively high. The vibration level is interpreted to mean a magnitude of periodic variation of the measured values X as the number i of the measured workpieces increases, In this case, the obtained moving average P does not accurately represent the actual tendency of change in the diameter 75 values of the journals 128. If the vibration level of the measured values X is relatively low, the moving average P is likely to be less responsive to the change in the measured values X.
In the light of the above background, the present third embodiment is arranged to automatically change the gradient of increase of the weighting coefficients b as needed, for automatic adaptation to the vibration level of the measured values X.
Described more specifically, a provisional value of the moving average P is calculated using the last used weighting coefficients b, and differences between the presently calculated provisional value of the moving average P and the individual measured values X used to obtain the 0* S'0 15 provisional value are summed to determine the vibration level (with respect to the last used coefficients b) of the measured values X in question. If the determined vibration 0** level is equal to or lowe-: than an upper limit A, the provisional value of the moving average P is determined as the final or effective value. If the vibration level is higher than the upper limit A, the weighting coefficients b *eo. are incremented or decremented between the highest and lowest increase rates, as schematically shown in Fig. 38, 0o until the vibration level is reduced below the upper limit
S
A. The weighting coefficients b at this time are -:sed as the effective coefficients for calculating the final value of the moving average P. Consequently, when the vibration level 76 of the measured values X is relatively high, the gradient of linear increase of the coefficients b is accordingly small, and the influence of the currently measured value X on the moving average P is reduced, whereby the moving average P becomes less responsive to the currently measured value X.
When the vibration level is relatively low, on the other hand, the gradient of linear increase of the coefficients b is accordingly large, and the influence of the currently measured value X on the moving average P is increased, whereby the moving average P becomes more responsive to the currently measured value X.
However, the vibration level of the measured values X may not be reduced below the upper limit A even if the weighting coefficients b are changed between the highest and lowest increase rates as indicated in Fig. 38. In this *case, the weighting coefficients b which caused the lowest vibration level during changing of the coefficients b are 9.
used as the effective coefficients for calculating the final moving average P.
99 9° While the method of calculating the moving averages P has been described, the method if practiced as 9.
described above would not capable of calculating the moving averages P until the number of the values X which have been measured (the presently measured value and the values stored in the data memory of the RAM of the control device 120) has become equal to In this period, neither the error values R and derivative values T nor the compensating values 77- U can he calculated, and a relatively long time is required to calculate the compensating values U. In Fig. 39 as well as in Figs. 40 and 41 referred to below, the values indicated in relatively left portions of the figures are obtained prior to the values indicated in relatively right portions of the figures. That is, the number i of the measured workpieces increases in the direction from left to right as seen in Fig. 39.
In the present embodiment, however, the moving averages P are calculated acco: ding to a special averaging method different from the normally used method, until the number of the values X which have been measured has become equal to in the case of Fig. 39).
the special averaging method, there are 15 available two methods, namely, a substitution method and a sub-averaging method, which will be described.
The substitution method is to substitute the currently measured value X for the moving average P to be obtained in the present cycle, as indicated in Fig. 40, if 20 the calculation of the moving average P is impossible, that is, until the number of the measured values X has become equal to This substitution method is based on the fact that the currently measured value X is by nature close to .00.
:the moving average P to be obtained according to the normally used method. The calculation of the moving average P according to the substitution method will be referred to as "substitution averaging mode".
78 The substitution averaging mode for the moving average P is available for all the measured values X, from the first value X to the subsequent values X until the total number of the measured values X has become equal to For instance, where the number K is equal to the first four measured values X may be used as the moving averages P.
However, this is not desirable for the following reason.
Namely, the accuracy of a derivative T calculated on the basis of a certain number of the moving averages P is lowered with an increase in the ratio of the measured values X substituted for the moving averages P, and the accuracy of the compensating value U is accordingly lowered. For instance, if the first four measured values X were used as the first four moving averages P where the number K is equal to the accuracy of the derivative T determined from the first five moving averages P would not be sufficiently reliable.
To solve the above problem, it is preferable to limit the maximum number Z of the measured values X which 20 can be used as the moving averages P. In the specific example of Fig. 40 where the number K is the maximum number Z is equal to and so up to three measured values X can be used to calculate the derivative T. In this S" example, however, the first measured value X cannot be used as the moving average P, and the derivative T cannot be calculated even when the number of the measured values X available has become equal to 79 On the other hand, the sub-averaging method uses auxiliary equations to calculate a weighted moving average from the currently usable measured values X whose number is smaller than For instance, equations to calculate a moving average from three and four measured values X are selectively used depending upon the number of the values X currently available (currently measured value X and value or values X stored in the data memory). The calculation according to this sub-averaging method will be referred to as "sub-averaging mode". An example of this sub-averaging method where K 5 is illustrated in Fig. 41, in which the following four equations through corresponding to four numbers of the measured values X available are used: S* Number of Values X SP,
=X,
c X-i c Xi c 1-1 c d,-2 Xi- 2 X,-i +di Xi 3 P e-3 X,-a X 1 2 +ei- X,- 1 Xi 4 Pi e 1 e-2 +e +e, i (4-4) In the above example of Fig. 41, the moving average P when only one value X is available can be obtained according to the equation Thus, the derivative T can be calculated when the number of the measured values X available has become equal to In the present embodiment, the function of calculating the moving average P according to the special averaging method (herein referred to as "special averaging function") is enabled or disabled by a SPECIAL AVERAGING command entered by the operator. If this SPECIAL AVERAGING command is present, either the substitution averaging mode or the sub-averaging mode is selected by the operator.
Therefore, either a SUBSTITUTION AVERAGING command selecting the substitution averaging mode, or a SUB-AVERAGING command selecting the sub-averaging mode is necessarily present while the SPECIAL AVERAGING command is present.
Then, the adjustment of the moving averages P in 15 the third step of Fig. 36 will be explained.
*In the grinding system to which the control device 120 is connected, the array of grinding wheels 130 is e**o controlled on the basis of the diameters of only the two end journals 128 of the already ground crankshafts 126. If the 0000 20 compensating values U to adjust the reference values set in the automatic sizing device 114 are determined on the basis of the measured diameters X of only the two end journals @900 128, the dimensional accuracy of the ground crankshaft 126 would not be sufficiently uniform or even for all the seven journals 128.
In view of the above drawback, the present third embodiment employs a technique of adjusting the calculated 81 moving averages P of the two end journals 128, on the assumption that the diameters moving average values P) of the seven journals 128 at different axial positions lJ through 7J of the crankshaft 126 linearly change as a function of the axial distance of the journals 128 as measured from one of the end journals 128 (first or seventh journal), as schematically indicated in the graph of Fig.
42.
For the above adjustment of the moving averages P of the two end journals 128, the following equation is used, for example: y= S(x-x' 2 where, x values (1 through 7) identifying the seven journals 128 Sx' average of the seven values x of the seven' 15 journals 128 y adjusted moving average P for each value x P calculated moving average P (before the adjustment) frv each value x P' average o the seven calculated moving 20 averages P For instance, he adjusted moving average yl of the first journal 128 is obuained by inserting as the 9 9 value x in the above equatiro and the adjusted moving average y7 of the seventh journal 128 is obtained by inserting as the value x.
82 In the present embodiment, the function of adjusting the calculated moving averages P is enabled or disabled by the operator.
While the present embodiment is adapted to adjust the calculated moving averages P of the end journals 128, the two measured values X used to calculate the moving averages P may be similarly adjusted.
Then, the manner of obtaining the compensating data in the fourth step of Fig. 36 will be explained.
As described above, the compensating data include not only the error values R but also the first and second derivatives T and D. The error value R is one form of the dimensional error of the ground workpiece (crankshaft 126), while the first derivative T is one form of a variable or 0*" 15 parameter indicative of the tendency of change in the dimensional error. Further, the second derivative D is one form of a variable or parameter indicative of the tendency o of change in the tendency of change in the dimensional error.
0• 20 The parameters T and D are used in addition to the error values R to determine the compensating values U, since eg 0 S" the use of the first and second derivatives T and D permits *0 more accurate or exact estimation of the actual grinding condition of the machine 110 and assures accordingly 0 00 25 improved accuracy of adjustment of the reference values used by the automatic sizing device 114, as compared with the use of only the error values R.
83 There will be explained the calculation of the first derivative T.
As a rule, the first derivative T of the error value R is determined on the basis of a first order regression line with respect to a predetermined number L (a2) of the error values R which consist of the presently calculated error value R and at least one previously calculated error value R stored in the data memory. This determination is based on the assumption that the error values R change almost linearly along the regression line, with an increase in the number i of the measured workpieces.
As schematically indicated in the graph of Fig. 43, the first derivative T is obtained as the gradient of the .regression line, more specifically, as tan 6 where the gradient (radian) of the regression line is 6. For example, the first order regression line is obtained according to the following equation (6) y=
+R'
S. where, x number of the measured workpieces x' average of values x (whose number is equal to L) y adjusted error value R for each value x R calculated error value (before the adjustment) for each value x 84 R' average of the calculated error values R (whose number is equal to L) Then, the first derivative T is calculated according to the following formula S(x-x' (7) S(x-x' 2 (7) As in the calculation of the moving averages P, however, the above method if practiced as described above would not be capable of calculating the derivative T until the number of the error values R available has become equal to In view of the above, the present embodiment uses to auxiliary equations (as used in the calculation of the moving average P) to calculate first order regression lines for the currently available error values R whose number is smaller than For instance, where the number L is equal 15 to equations to determine regression lines where the number L is and respectively, are selectively used depending upon the number of the error values R currently available (currently calculated error value R and error value or values R stored in the data o. 20 memory). This method of calculating the first derivative T will be referred to as "special differentiation mode".
The above function of t-e special differentiation mode to obtain the first derivative T is also enabled or 85 disabled by the operator. The function is enabled by a SPECIAL DIFFERENTIATION command entered by the operator.
There will next be described the method of calculating the second derivative D of the error value R.
The calculation of the second derivative D is similar to that of the first derivative T. That is, the second derivative D of the error value R is determined on the basis of a first order regression line with respect to a predetermined number Q (Z2) of the first derivative values T which consist of the presently calculated value T and at least one previously calculated value T stored in the data memory. This determination is based on the assumption that the first derivative T change almost linearly along the 1 regression line, with an increase in the number i of the measured workpieces. The second derivative T is obtained as .9 the gradient of the regression line, more specifically, as tan 8 where the gradient (radian) of the regression line is se..
eb 0.
However, the use of the second derivative D is not S 20 essential, and the mode to use the second derivative D is r established by a SECOND DERIVATIVE USE command entered by *1 *the operator.
too* In the present embodiment, a special
S.
6 "differentiation mode as is available with respect to the first derivative T as described above is not available with respect to the second derivative D. However, it is possible 86 to provide the special differentiation mode for the second derivative D.
There will be explained the calculation of the compensating value U by fuzzy inference in the fifth step of Fig. 36. In particular, the concept of adjusting the compensating value U depending upon the dead time value MS or number Y of the pre-measured workpieces, and the concept of the fuzzy inference will be discussed in detail.
When the number Y of the pre-measured workpieces (crankshafts 126) existing between the grinding machine 110 and the post-process measuring device 116 changes, it is desirable to change the fuzzy rules used to determine the compensating value U, depending upon the number Y which represents the dead time value MS as discussed above. In the 15 present embodiment, therefore, the fuzzy rules used to obtain the compensating value U may be changed with the dead S time value MS taken into consideration, as described later.
However, the function of changing the fuzzy rules indicated above is enabled and disabled by the operator.
20 Then, the fuzzy inference implemented to calculate :the compensating value U will be explained.
In the present embodiment, the following three fuzzy inference modes are available: first mode in which .o only the error value R and the first derivative T are used as input variables for the fuzzy inference; second mode in which the second derivative D as well as the error value R and the first derivative T is used as a third input 87 variable for the fuzzy inference; and third mode in which the error value R, first derivative T and dead time value MS are used as input variables for the fuzzy inference.
The second mode is established by the SECOND DERIVATIVE USE command as indicated above, and the third mode is established by a DEAD TIME COMPENSATION command. The first mode is established when none of these commands are present.
While the above three fuzzy inference modes will be discussed, only the first mode will be explained in detail by way of example, since the three modes are based on a common fundamental concept. In the first mode, the compensating value U is calculated by fuzzy inference on the 15 basis of only the error value R and first derivative T.
eeoo For the control device 120 to effect the fuzzy inference, the read-only memory (ROM) provided therein also stores fuzzy inference data used for determining the compensating value U by fuzzy inference. The fuzzy inference data include: fuzzy inference programs; (b)three groups of membership functions associated with the error value R, re first derivative T and compensating value U, respectively; and two groups of fuzzy rules for defining relationships among the error value R, derivative T and compensating value
U.
For the error value R, the control device 120 uses seven fuzzy labels NB (negative big), N14 (negative medium), 88 NS (negative small), ZO(zero), PS (positive small), PM (positive medium) and PB (positive big), whose values increase in the order of description from a negative value to a positive value. The membership functions of these fuzzy labels are indicated in the graph of Fig. 3.
For the first ative T of the error value R, the control device 120 uses five fuzzy labels NB, NS, ZO, PS and PB, whose values increase in the order of description from a negative value to a positive value. The membership functions of these fuzzy labels are indicated in the graph of Fig. 4.
For the compensating value U, the control device 120 uses the seven fuzzy labels NB, NM, NS, ZO, PS, PM and PB, as described above with respect to the error value R, 15 The membership functions of these seven fuzzy labels are indicated in Fig. 5. An increase in the compensating value U results in an increase in the reference value set in the automatic sizing device 114, which in turn results in an increase in the outside diameter of the journals 128 of the crankshaft 126. On the other hand, a decrease in the compensating value U results in a decrease in the reference value, which in turn results in a decrease in the outside diameter of the journals 128.
While only one group of fuzzy rules is sufficient to effect fuzzy inference which permits the compensating value U to be determined in some way, the present third 89 embodiment uses the two groups of fuzzy rules, for the reason stated below.
While the measured diameter values X of the ground journals 128 are relatively stable and the vibration level of the measured values X is relatively low, it is desirable to determine the compensating value U so that the determined compensating value U is highly responsive to the changes in the error value R and first derivative T, in order to improve the dimensional accuracy of the ground journals 128.
When the measured values X are unstable due to the vibration of the grinding machine 110, for example, with a result of an increase in the vibration level of the measured values X, the compensating value U if determined according to the i fuzzy rules adapted for use when the vibration level is low may further deteriorate the vibration level of the mi-tsured values X, as a result of the adjustment of the reference value of the automatic sizing device 114 according to the eeo.
thus determined compensating value U. In the light of this observation, the two groups of fuzzy rules are selectively C. *e used depending upon the vibration level of the measured values X. Namely, the first group consists of positive fuzzy rules used when the vibration level is relatively low, so that the compensating value U determined by the positive g. 1 fuzzy rules is highly responsive to the c:,ianges in the error value R and derivative T, while on the other hand the second group consist of negative fuzzy rules used when the vibration level is relatively high, so that the compensating 90 value U determined by the negative fuzzy rules is less responsive to the error value R and derivative T.
The positive fuzzy rules are indicated in TABLE 9, while the negative fuzzy rules are indicated in TABLE TABLE 9 POSITIVE FUZZY RULES 5 4 55,5 5* Se NB NM NS ZO PS PM PB NB ZO ZO PS ZO ZO ZO ZO NS PB PM PS ZO ZO NS NM T ZO PB PM PS ZO NS NM NB PS PM PS ZO ZO NS NM NB PB ZO ZO ZO ZO NS ZO ZO TABLE NEGATIVE FUZZY RULES
R
NB NM NS ZO PS PM PB NB ZO ZO ZO ZO ZO ZO ZO NS PS PS PS ZO ZO NS NM T ZO PB PM PS ZO NS NM NB PS PM PS ZO ZO NS NS NS PB ZO ZO ZO ZO ZO ZO ZO S S *5S5 p S
S
An example of the positive fuzzy rules of TABLE 9 is as follows: IF R NB and T NS, THEN U PB.
u 91- An example of the negative fuzzy rules of TABLE is as follows: IF R NB and T NS, THEN U PS As is apparent from these examples, the positive and negative fuzzy rules are formulated such that the compensating values U determined according to the positive fuzzy rules are generally larger than those determined according to the negative fuzzy rules, even when the input variables R and T are constant.
The present embodiment is designed such that when the control device 120 is initially turned on, the group of positive fuzzy rules is effective.
the.The present embodiment is also designed such that the positive fuzzy rules are used after the vibration level 15 of the measured values X has been lowered as a result of the use of the negative fuzzy rules which were used because the 0.60 vibration level had been high. The use of the positive fuzzy rules following the use of the negative fuzzy rules may .oo.
increase the vibration level of the measured values X shortly after the use of the positive fuzzy rules. On the *000 other hand, however, the use of the negative fuzzy rules for *00.
a long time will lower the response speed of the compensating value U with respect to the actual change in 00 99 00 the measured values X, leading to deterioration of the dimensional accuracy of the ground journals 128. In this sense, the positive fuzzy rules are used immediately after the vibration level has been reduced below a given limit, to 92minimize the period of time during which the negative fuzzy rules are used, for the purpose of improving the dimensional accuracy of the ground journals 128.
In the present embodiment, the determination as to whether or not the vibration level of the measured values X is higher than a given threshold, that is, the determination as to whether the positive fuzzy rules or the negative fuzzy rules should be used is effected on the basis of the frequency of application of NB/PB fuzzy rules, which are the positive and negative fuzzy rules which are used when the calculated derivative T is "NB" or To effect this determination, the RAM of the control device 120 includes a CYCLE counter and an NB/PB counter. The CYCLE counter is used to count the number of cycles of execution of the routine of Fig. 36 (control routine of Figs. 30-35 which will be described), more precisely, the number of times of the fuzzy inference operations in the fifth step of Fig. 36.
The NB/PB counter is used to count the number of application 0 or use of the NB/PB fuzzy rules. The CYCLE counter is incremented each time the fifth step of Fig. 36 is implemented. When the count of the CYCLE counter exceeds a predetermined threshold value B the control device 120 o« determines whether the count of the NB/PB counter exceeds a predetermined threshold value C (smaller than If the count of the NB/PB counter is larger than the value C, the vibration level of the measured values X is determined to be higher than the threshold. The CYCLE counter is reset to "0" 93 when the count exceeds the threshold value B, and the NB/PB counter is reset to when the CYCLE counter is reset.
While the rationale for using the two groups of fuzzy rules and the difference between these two groups of fuzzy rules have been explained, the common design concept of the fuzzy rules will be explained.
The two groups of fuzzy rules are formulated so that the compensating value U decreases with not only an increase in the value of the appropriate fuzzy label for the error value R, but also an increase in the value of the appropriate fuzzy label for the derivative T. That is, the value U decreases as the error value R and derivative T i. ncrease.
The above concept is represented in the positive 15 fuzzy rules of TABLE 9, for example, such that when the derivative T is the compensating value U decreases in the order of "NS" and "NM" as the error value R increases, and when the error value R is the value U decreases in the order of "PM" and 20 "PS" as the derivative T increases in the order of "NS" "ZO" and "PS".
Further, the fuzzy rules are formulated such that the compensating value U changes toward when the diameter value X measured by the post-process measuring device 116 suddenly or abruptly decreases or increases. This arrangement is effective to maintain high dimensional accuracy of the processed workpieces, when the measured 94 value X is abnormally reduced or increased due to a temporary trouble or defect of the in-process measuring device 112. The instant arrangement maintains the currently established reference values of the automatic sizing device 114, with the compensating value U being zeroed, in the event of such temporary trouble with the in-process measuring device 112.
The above arrangement is embodied in the fuzzy rules of TABLE 9, for example, such that the compensating value U is when the error value R is "NB" or "NM" and when the derivative T is or when the error value R is "PM" cr "PM" and when the derivative T is "PB".
Next, there will be explained the operation in the sixth step of Fig. 36 to obtain the final compensating values U* for gradual adjustment of the reference values set in the automatic sizing device 114.
As mentioned above, it is generally recognized that the error in the dimension of the ground journals 128 of the crankshafts 126 substantially linearly changes with 20 an increase in the number i of the measured workpieces (crankshafts 126). In this respect, it is desirable to slowly or gradually change the compensating value U for gradually or smoothly adjust the reference values of the sizing device 112.
In view of the above, the present embodiment is adapted such that the provisional compensating values U are first calculated as indicated in the graph of Fig. 44, and 95 then the final compensating value U* is calculated on the basis of a first order regression line of a predetermined number M (12) of the calculated provisional compensating values. The regression line is determined on the assumption that the provisional compensating values U (whose number is equal to increase substantially linearly with an increase in the number i of the measured workpieces. The thus obtained final compensating value U* is fed to the automatic sizing device 112.
For the final compensating value U* is calculated according to the following equation for example: Z +U (8) S 2 where, x number i of measured workpieces x' average of the values x (whose number is equal to S. 15 y final compensating value U* for each value x U provisional compensating value U for each value X U' average of the provisional compensating ~values U (whose number is equal to 20 For instance, the final compensating value U* is obtained by inserting as the value x in the above equation The above function of adjusting the provisional compensating value U to obtain the final compensating value 96 U* is enabled by a GRADUAL COMPENSATION command entered by the operator.
An example of a series of operations until the final compensating value U* is obtained in the presence of the GRADUAL COMPENSATION command is schematically illustrated in Fig. 45, In this figure, the values indicated in relatively left portions of the figure are obtained prior to the values indicated in relatively right portions of the figures. That is, the number i of the measured workpieces increases in the direction from left to right as seen in Fig. 39. It will be apparent from the figure that a first final compensating value U* is obtained when the number of measured values X stored in the data memory has become equal to (K L M provided the routine of Fig. 36 is 15 initiated without any measured values X stored in the data too 4 memory. Thus, a predetermined number of measured values X is required to obtain the first final compensating value U*.
oo. The feature of the seventh step of Fig. 36 will 6*.
So" then be described.
20 The thus obtained final compensating value U* for gradual adjustment of the reference values of the sizing device 1.14 is transmitted to the sizing device 114 in the S eighth step of Fig. 36. However, the transmission in this eighth step is omitted if the absolute value of the final compensating values U* is smaller than a threshold. That is, the eighth step is preceded by the seventh step to determine I 97 whether the final compensating value U* falls within a tolerable range indicated by N in the graph of Fig. 46.
There will next be explained the intermittent determination of the compensating value U briefly nentioned above.
The reference values used in the automatic sizing device 114 for controlling the grinding condition of the machine 110 for the end journals 128 of the crankshaft 126 can be continuously adjusted by the compensating value U which is updated each time the diameter values X of the end journals X are measured by the post-process measuring device 116. However, this continuous adjustment of the reference values or the continuous updating of the compensating value U gives rise to a problem that the compensating value U should be determined for each and every one of the workpieces measured by the measuring device 116. This leads **r to a considerable increase in the work load on the control device 120.
To solve the above problem, the present third embodiment is adapted to effect so-called "intermittent compensation" as described below.
s** The concept of the intermittent compensation is schematically illustrated in the graph of Fig. 47, which
O
shows a variation in the measured error (dimensional error R) of the outside diameter of the journal 128 when a plurality of workpieces (crankshafts 126) are present as "pre-measured workpieces" between the grinding machine 110
I
98 and the measuring device 116. In the graph, the number Y of the pre-measured workpieces (corresponding to the dead time value MS explained above) is indicated as "measurement delay", and Ui and Ui+l represent the present and next compensating values U. It will be understood that an influence of the present compensating value Ui appears on the dimensional error R which is measured when a time corresponding to the measurement delay has passed after the moment of determination of the present compensating value Ui. Similarly, an influence of the next compensating value Ui+l appears on the dimensional error measured when the measurement delay time has passed after the determination of the value Ui+1. The graph of Fig. 47 is obtained on the assumption that the dimensional error of the workpieces 15 increases substantially linearly with an increase in the number i of the measured workpieces, where the workpieces are ground successively while the reference values used by the sizing device 114 for the two end journals 128 are held constant. This assumption also applies to the graphs of Figs. 48-51 referred to later.
For the intermittent compensation, there are .9 available the following two modes as described below.
I. FIRST INTERMITTENT COMPENSATION MODE As described above, the automatic sizing device 114 is connected to the grinding system in which a given number Y of pre-measured workpieces are present between the grinding machine 110 and the post-process measuring device 99 116. Hence, a workpiece ground with the reference values adjusted by the preceding compensating value U is not necessarily measured by the measuring device 116 immediately after the completion of the grinding operation on that workpiece. In other words, the workpiece in question may be measured after some number of the previously ground workpieces have been measured by the device 116.
Accordingly, to reflect the preceding compensating value U on the present compensating value Ui, it is desirable that the present compensating value Ui is determined only after at least one workpiece ground according to the preceding compensating value U has been measured.
With the above aspect taken into account, the first intermittent compensating mode is adapted, as schematically illustrated in the graph of Fig. 48, so as to store diameter values X successively measured by the device 116, and determine the present compensating value Ui when the number of the stored measured values X has reached a predetermined number The value Ui is determined on the a a basis of the predetermined number of the stored values X.
When or after the first workpiece subjected to the thus a.
determined compensating value Ui has been measured by the device 116, the data memory to store measured values X is cleared, and the values X measured thereafter (which may include the value X of the first workpiece indicated above) are successively stored to determine the next compensating value Ui+l.
I;
100 In one form of the first intermittent compensation mode, there exists a compensating interval between the moments of determination and transmission of the present and next compensating values Ui and Ui+l. During this compensating interval, the compensating value U is not updated, and the corresponding reference value used in the sizing device 114 remains unchanged. This form of compensation is based on the concept that there exists a proportional relationship between the number i of the measured workpiece and the dimensional error R of the workpieces. According to this concept, the present compensating value Ui is determined, or the compensating value U is updated so that the dimensional errors R of the workpieces influenced by the present or updated compensating value Ui are eventually zeroed as a whole.
However, the above form of the first intermittent ooo• compensating mode suffers from a drawback that the moment of determination of the compensating value Ui is determined 9.99 solely by the number of the stored measured values X, irrespective of an actual change in the measured values X.
S.i This may lead to inadequate timing of adjustment of the reference value of the sizing device 114.
To solve the above drawback, a second form of the first intermittent compensating mode is adapted such that if the determined compensating value Ui is substantially zero or falls within a tolerable range as described above by reference to Fig. 46, the compensating value Ui is not sent 101 to the sizing device 114, and the determination is deferred until some additional measured values X have been stored.
This form assures timely adjustment of the reference value of the sizing device 114 when the compensating value Ui is outside the tolerable range, that is, when the dimensional error R has considerably changed.
However, the above second form of the first intermittent compensating mode is not capable of adjusting the reference value of the sizing device 114 with high response to a change in the measured values X which takes place shortly after the determination and transmission of the compensating value Ui, namely, during an initial portion of the compensating interval indicated above. Such a change *e is reflected on the measured values X subsequently stored in S 15 the data memory, and therefore reflected on the next compensating value Ui+l. Thus, a change in the dimensional error R shortly after the determination of the compensating value Ui cannot be dealt with until the next compensating value Ui+l is determined and transmitted to the sizing a. device 114. Therefore, the dimensional error R cannot be e ""reduced toward zero with sufficiently high response.
The above drawback may be removed according to a third form of the first intermittent compensating mode, in o which primary compensation determination of Ui as indicated in Fig. 48) according to the above second form is followed by auxiliary compensation, as schematically illustrated in the graph of Fig. 49. The auxiliary
I
102 compensation is effective to deal with a change in the measured values X which occurs shortly after the completion of the primary compensation. The auxiliary compensation is highly responsive to such change.
To achieve the primary compensation, the diameter values X measured by the measuring %,.-vice 116 are successively stored in the data memory, and a provisional compensating value Up is determined when the number of the stored measured values X has become equal to a predetermined value. The provisional value Up determined on the basis of the predetermined number of the stored values X is used as a final compensating value Uf.
The auxiliary compensation following the primary compensation is adapted to continue storing the measured 15 values X, and determine a provisional compensating value Up o. as in the primary compensation, on the basis of a predetermined number (a2) of the measured values X when each ground workpiece is measured by the measuring device 116, during a period between a moment after the primary compensation is completed immediately after the primary compensation is completed) and a moment before or when the measurement of the workpiece which immediately precedes the first workpiece subjected to or influenced by the primary compensation is completed. For example, the auxiliary compensation is commenced immediately after the primary compensation is completed, and is continued until the workpiece immediately preceding the first workpiece 0 103 influenced by the primary compensation has been measured.
The determined provisional compensating value Up of the auxiliary compensation is subtracted from the final compensating value Uf of the primary compensation, and the thus obtained difference is used as a final compensating value Uf of the auxiliary compensation.
In the auxiliary compensation, therefore, the provisional compensating value Up as determined in the same manner as in the primary compensation is not sent to the automatic sizing device 114. Instead, the difference of the provisional values Up of the primary and auxiliary compensations is applied to the sizing device 114, for the reason described below.
to As explained above, the provisional value Up of 0.to S15 the auxiliary compensation is based on the values X measured i before the first workpiece influenced by the primary compensation is measured by the measuring device 116. Hence, if the provisional value Up of the auxiliary compensation o were applied, this would be added to the final compensating value Uf of the primary compensation, and the reference
S.
values for the workpieces already influenced by the primary compensation Would be again influenced or adjusted by the to. provisional compensating value Up of the auxiliary compensation, without considering an influence of the primary compensation. Accordingly, only the difference of the provisional compensation value Up of the auxiliary compensation from the final compensation Uf of the primary I 104 compensation is used as the final compensating value Uf of each auxiliary compensation, which is applied to the sizing device 114 before the first workpiece influenced by the primary compensation has been measuzed. While two or more auxiliary compensation cycles may follow the primary compensation in each one of intermittent compensating cycles, the provisional value Up obtained in each auxiliary ^Cl compensating cycle is compared with the final compensating value Uf of the primary compensation to determine the final il"^ compensating value Uf of each auxiliary compensation cycle. :?l In the third form of the first intermittent compensating mode in which the auxiliary compensation follows the primary compensation, the auxiliary compensation cycle following the primary compensation in each 15 intermittent compensating cycle may be repeated up to a moment immediately before the commencement of the next primary compensation. This arrangement gives a considerable work load to the control device 120.
The above problem may be solved by providing a suitable maximum number S to which the number of the auxiliary compensation cycles to be repeated following each primary compensation. That is, the series of auxiliary compensation is terminated when the counted number of the auxiliary compensation cycles repeated or the counted number of the final compensating values Uf determined has reached a predetermined value. In this arrangement, the moment of termination of the auxiliary compensation is fixed with 105 respect to the moment of termination of the corresponding primary compensation, and an unexpected change in the measured values X may occur after the termination of the auxiliary compensation and before the commencement of the next intermittent compensation cycle (next primary compensation). Therefore, the arrangement is not necessarily satisfactory to adequately deal with such change in the measured values X.
The above drawback may be solved by an arrangement in which the final compensating value Uf obtained in the first auxiliary compensation cycle is not applied to the automatic sizing device 114 if the value Uf falls within a tolerable range, as described above by reference to Fig. 46 *with respect to the standard or normal compensation (equivalent to the primary compensation). Namely, the final compensating value Uf determined in a subsequent auxiliary compensation cycle is sent to the sizing device 114 to effect the auxiliary compensation, if the value Uf in 4*4* question is a considerably large value outside the tolerable range.
oThe above arrangement is still unsatisfactory in *eo some situations, in terms of the timing of the primary and auxiliary compensations relative to the time of a change in the measured values X. In this respect, the arrangement in question may be improved if modified as follows. In the modified form, the number of the final compensating values Uf obtained in a series of auxiliary compensation cycles 106 executed following each primary compensation is counted, and the final compensating values Uf of the primary compensation and the series of auxiliary compensation cycles are summed up when the count number has become equal to a predetermined value. If the sum is not substantially zero or not sufficiently close to zero, the auxiliary compensation is terminated. If the sum is sufficiently close to zero, this indicates that the series of auxiliary compensation cycles so far would not be considered adequate in 'terms of the timing of implementation. In this event, the counter to count the number of the values Uf of the auxiliary compensation cycles is reset, and further auxiliary compensation cycles are implemented.
When the first intermittent compensating mode is 15 selected in the present embodiment, the control device 120 is placed in one of two operating states, namely, a first state in which only the primary compensation is effected as indicated in Fig. 48, and a second state in which both the primary compensation and the auxiliary compensation are effected as indicated in Fig. 49. The first and second states are selectively established by a command entered by the operator. Namely, the second state is established by an AUXILIARY COMPENSATION command, and the first state is established when the AUXILIARY COMPENSATION command is not present.
Further, the auxiliary compensation cycle is either executed once or repeated two or more times following 107 each primary compensation, depending upon a command also entered by the operator.
When the auxiliary compensation cycle is repeated, the tolerable range as described above may or may not be provided to determine whether the final compensating value Uf obtained in the first auxiliary compensation cycle should be sent to the sizing device 114 or not. The tolerable range is provided when a TOLERABLE RANGE command entered by the operator is present, and not provided when .an AUXILIARY COMPENSATION CYCLING command also entered by the operator is present. In the latter case, the auxiliary compensation cycle is repeated a predetermined number of times, and the compensating Value Uf determined in each cycle is sent to 0 the sizing device 114, irrespective of whether the value Uf is within the tolerable range or not.
t.o a II. SECOND INTERMITTENT COMPENSATING MODE In the first intermittent compensation mode, the values X used for the compensation (primary compensation) are not measured and stored immediately after the determination of the compensating value Ui, until the first workpiece influenced by the compensating value Ui has been go* measured by the measuring device 116, if there is a measurement delay corresponding to the number Y of the pre-measured workpieces between the grinding machine 110 and the measuring device 116. Consequently, the compensating interval between the moments of determination of the present and next compensating values Ui and Ui+1 is a sum of the 108 measurement delay time (dead time value MS) and the time required to obtain a predetermined number of measured values X. Therefore, the compensating interval tends to be relatively long, particularly where the grinding system is adapted to have a relatively large number of pre-measured workpieces between the machine 110 and the measuring device 116.
The second intermittent compensating mode is provided to solve the above drawback of the first intermittent compensating mode. In the present second mode, as schematically illustrated in the graph of Fig. 50, the compensating value Ui is first determined in the same manner as in the first intermittent compensating mode, namely, on the basis of a predetermined number of values X measured by 15 the measuring device 116. Then, the next compensating value Ui+l is determined on the basis of estimated values X which are obtained in an intermediate period after the determination of the first compensating value U, for example, immediately following the moment of determination of the first compensating value U. This intermediate period ends around the moment at which the measurement of the workpiece immediately preceding the first workpiece .i influenced by the first compensating value Ui is completed, that is, ends at a time when or shortly before or after the measurement in question is completed. In the specific example of Fig. 50, the intermediate period ends at the moment when the measurement in question is completed. During 109 this intermediate period, the values X of the workpieces involved are measured by the measuring device 116, and stored and counted. Each time the workpiece is measured, a value X of that workpiece which would be measured if the workpiece were ground under the influence of the first compensating value Ui is estimated on the basis of the first compensating value Ui and the actually measured value X.
Each estimated value X obtained during the intermediate period is stored as if it were a measured value X obtained without a measurement delay. The next compensating value Ui+l is determined based on a predetermined number of the estimated values X obtained during the intermediate period.
In one form of estimation of the values X during the intermediate period, the first compensating value Ui is S. 15 added to each actually measured value X to obtain each estimated value X. In other words, the values X measured during the intermediate period for determining the next compensating value Ui+1 are changed by the amount equal to 0* 5 00. the first determined compensating value Ui.
0e In this second intermittent compensating mode, :too, auxiliary compensation as described with respect to the first intermittent compensation mode is available following o each primary compensation, as indicated in the graph of Fig.
51. The number of the auxiliary compensation cycles may be suitably limited. Further, the tolerable range may or may not be used for the primary and auxiliary compensation cycles.
110 The first and second intermittent compensating modes are selectively established. Namely, the second mode is selected when an X-SHIFT command entered by the operator is present. When this X-SHIFT command is not present, the first mode is selected.
In connection with the technique of estimating the measured values X in the second intermittent compensating mode, it is noted that most of the values X measured during the intermittent period following the determination of the last compensating value Ui in the second intermittent compensating mode are influenced by the preceding compensating value Ui-1, but not influenced by the last compensating value Ui. The estimated values X are obtained on the measured values X and the present compensating value Ui, as if these estimated values X were influenced by the last compensating value Ui. However, this technique may be applied to the standard compensation in which compensating can.
*to values U are continuously determined, namely, a compensating value U is obtained when the value X of each workpiece is 6* 0 *0 20 measured.
When there are any pre-measured workpieces between the machine 110 and the measuring device 116, the standard compensation and the intermittent compensation are similar in that the workpieces influenced by the last determined S 25 compensating value Ui cannot be actually measured immediately following the determination of the last compensating value Ui. To obtain the next compensating value 111 Ui+l which reflects an influence of the last compensating value Ui, therefore, some statistical technique based on experiments or simulation tests may be utilized. The estimation technique described above may be used in place of or in addition to this statistical technique.
There will next be described a relationship between the automatic adjustment or compensation of the reference values of the automatic sizing device 114 by the control device 120, and the manual adjustment or compensation through the keyboard 150 by the operator.
The control device 120 controls the automatic sizing device 114 such that the manual adjustment of the sizing device 114 is predominant over the automatic adjustment. Further, the control device 120 is adapted to assure high accuracy of the automatic adjustment which 9 do immediately follows the manual adjustment. Described more *specifically, the control device 120 monitors whether the manual adjustment of the references values (for the two end journals 128) of the sizing device 114 is effected by an 20 MANUAL COMPENSATION command. If this command is not present, S. the automatic adjustment is implemented as described above by reference to the flow chart of Fig. 36. If the command is present, the automatic adjustment is interrupted, and the *values X of the workpieces are measured and stored in the S 25 calculation data memory to resume the automatic adjustment, starting after immediately after) the first workpiece influenced by the manual adjustment of the sizing device 114 112 has been measured. On the basis of the thus measured values X, the compensating value U is determined by the control device 120. In other words, the automatic adjustment is resumed on the basis of the values X of the workpieces influenced by the manual adjustment. This arrangement is desirable when the grinding system is adapted to have some pre-measured workpieces between the machine 110 and the measuring device 116. If the automatic adjustment by the control device 120 were effected partially or totally based on the measured values X of the workpieces not influenced by the manual adjustment, the accuracy of the compensating value U determined in the automatic adjustment shortly after the manual adjustment may not be low.
In the present embodiment, the control device 120 15 checks to see if the MANUAL COMPENSATION command is present *9 or not, when the automatic compensation routine of Fig. 36 is initiated and just before each compensating value Ui is applied to the automatic sizing device 114. The above checking upon initiation of the automatic compensation 20 routine is necessary to check if manual adjustment of the sizing device 114 has been made (MANUAL COMPENSATION command C*a• was entered) before the routine is started.
Referring to the flow charts of Figs. 30-35, there will be discussed in detail the compensating routine having the features which have been explained by reference to Fig.
113 Initially, step S21 of Fig. 30A is implemented to read in from the auxiliary memory 122 various manually entered parameters in the form of numerical values and control commands necessary to execute the compensating routine. The numerical values include initial values of the weighting coefficients b for obtaining the moving average P; a value representative of the maximum number Z of the measured values X usable as the moving average values P to obtain one first derivative value 'T in the "substitution averaging method"; and a value representative of the maximum number S of repetition (which will be described with respect to step S114) of the auxiliary compensation cycles following the primary compensation. The commands also represented by the manually entered parameters include the SPECIAL AVERAGING command, X-SHIFT command, GRADUAL COMPENSATION command, SPECIAL DIFFERENTIATION command, AUXILIARY COMPENSATION command, and other commands entered by the operator.
e* Step S21 is followed by S22 to determine whether 0 20 the automatic sizing device 114 has the function of 0: transmitting from its RAM to the control device 120 currently effective manual compensating values entered through the keyboard 150, and the reference values of the 0* C sizing device 114 as adjusted by these manual compensating values. As explained above, the reference values indicates the in-feed amounts of the grinding wheels 130 with respect to the two end journals 128. If the grinding system in 114 question does not have this function, the manual compensating values and the related reference values are stored only in the RAM of the device 114, and the device 114 is not capable of positively transmitting these data to the control device 120.
For illustrative purpose, it is assumed that the sizing device 114 in this present embodiment has the above function. Therefore, an affirmative decision (YES indicated as in Fig. 30A, the same symbol being also used for the other decision steps) is obtained in step S22, and the control flow goes to step S23 in which the control device 120 is enabled to receive from the sizing device 114 data or signals indicative of the currently effective manually adjusted reference values for the two end journals 128. The received data are stored in the RAM of the control device 120, and also in the auxiliary memory 122.
Step S23 is followed by step S24 to determine whether any manual compensating values have been entered or not. This determination is effected based on the state of a MANUAL COMPENSATION flag provided in the RAM of the sizing device 114. If a negative decision (NO indicated as in 9*e Fig. 30A, the same symbol being also used for the other steps) is obtained in step S24, the control flow goes directly to step S28 of Fig. 30B which will be described. If an affirmative decision (YES) is obtained in step S24, step is implemented to receive currently effective manual compensating values (for the two end journals 128) 115 transmitted from the sizing device 114. The received data are stored in the RAM of the control device 120 and the auxiliary memory 122. Step S25 is followed by step S26 to clear the calculation data memory of the control device 120.
Then, the control flow goes to step S28.
If the sizing device 114 were not provided with the function of transmitting the manual compensating data to the control device 120, a negative decision (NO) is obtained in step S22, and step S27 is implemented whereby the control device 120 is enabled to positively read in from the RAM of the sizing device 114 the currently effective reference values. These reference values are stored in the RAM of the control device 120 and in the auxiliary memory 122.
There will be described the purposes of the control device 120 of storing the currently effective manual compensating values and the corresponding reference values currently set in the automatic sizing device 114.
The purpose of the control device 120 to store the currently effective reference values will be first described.
As explained above, the control device 120 is adapted to automatically determine the compensating values U by which the currently effective reference values of the sizing device 114 are adjusted or changed. On the other hand, the sizing device 114 adjusts the r-ference values according to the compensating values U received from the control device 120. However, the sizing device 114 has a 116 permissible range of the reference values. That is, the sizing device 114 cannot operate to control the grinding machine 110 and is adapted to be stopped, if the reference values are outside the permissible range. Therefore, the control device 120 is adapted to inhibit the application or transmission of the automatic compensating values U to the sizing device 114, if the reference values as adjusted by the compensating values U do not fall within the permissible range. To this end, the control device 120 should know the currently effective reference values of the sizing device 114 as determined by the manually entered compensating values. The operation to inhibit the transmission of the automatic compensating values U is performed by a suitable routine, which is not shown as the understanding of this routine is not essential to understand the principle of the present invention.
Then, the purpose of the control device 120 to store the manually entered compensating values will be described.
As described above, when the X-SHIFT command is entered by the operator, the values X which would reflect 0* the reference value as adjusted by the last compensating value Ui are estimated on the basis of the values X of the workpieces which are measured by the measuring device 116 after the application of the last compensating value Ui but which have not been influenced by the last compensating value Ui. As also described above, the estimated values X 117 are obtained by adding the last automatic compensating value Ui to the actually measured values X. When a manual compensating value is entered by the operator, however, the estimated values X are obtained by adding the manual compensating value to the actually measured values X, so that the estimated values X reflect the manual compensating value. For this purpose, the control device 120 should have the data representative of the currently effective manual compensating value.
Irrespective of whether or not the sizing device 114 has the function of positively transmitting the manual compensation data to the control device 120, step S28 is implemented to determine whether there are any values X measured by the device 116 which have not been received yet by the control device 120. In this respect, it is noted that !.each workpiece (crankshaft 126) has the seven journals 128 whose diameter values X are measured by the measuring device 116. If no such measured values X are present, a negative decision (NO) is obtained in step S28, and step S29 is implemented.
Step S29 is identical with step S22 described above. If an affirmative decision (YES) is obtained in step S29, the control flow goes to step $30 identical with step S $0*24 described above, to determine whether manual compensating values have been entered or not. If no manual 00 0: 0 compensating values have been entered, a negative decision (NO) is obtained in step S30, and step S31 is implemented to 118 determine whether any parameters have been entered by the operator. If a negative decision (NO) is obtained in step S31, the control flow returns to step S28. If an affirmative decision (YES) is obtained in step S31, step S32 is implemented to read in the entered parameter or parameters, and step S33 is implemented to replace the already stored parameters with the newly entered parameter or parameters.
Step S34 is then implemented to clear the calculation data memory, and the control flow returns to step S28.
If an affirmative decision (YES) is obtained in step S30, the control flow goes to step S35 identical with step S25, to receive and store the entered manual compensating values. Step S35 is followed by step S36 to turn on a WORKPIECE WAIT flag, and step S37 to clear the calculation data memory. Then, the control flow returns to step S28.
If the sizing device 114 does not have the function of transmitting the manual compensation data to the control device 120, a negative decision (NO) is obtained in step S29, and step S38 is implemented to read in and store the currently effective reference values of the sizing device 114. Step S38 is followed by step S39 to read in the reference values stored in the auxiliary memory 122. Then, step S40 is implemented to determine whether the currently effective reference values are different from the reference values stored in the auxiliary memory 122, namely, whether the reference values of the sizing device 114 have been 119 changed or not. Thus, a change in the currently effective reference values of the device 114 can be detected by the control device 120, even if the device 114 is not capable of transmitting the manual compensation data to the control device 120. If the currently effective reference values of the device 114 are the same as the reference values stored in the memory 122, a negative decision (NO) is obtained in step S40, and the control flow goes directly to step S31. If the currently effective reference values have been changed, an affirmative decision (YES) is obtained in step S40, and step S41 is implemented to turn on the WORKPIECE WAIT flag.
Step S41 is followed by step S42 to clear the calculation data memory. Then, the control flow goes to step S31.
If any measured value X has not been sent from the measuring device 116 to the control device 120, an affirmative decision (YES) is obtained in step S28, and step S43 is implemented to read in the measured values X and store them in the RAM of the control device 120. The measured values X are also stored in the auxiliary memory 122. Eventually, the seven diameter values X of the workpiece are stored. Subsequently, the control flow goes to step S44 of Fig. 31A.
In step S44, the control device 120 determines 0e whether the X-SHIFT command to select the second intermittent compensation mode of Fig. 50 has been entered by the operator. This determination can be made depending upon the parameters entered by the operator.
upon the parameters entered by the operator.
120 If the X-SHIFT command is not present, a negative decision (NO) is obtained in step S44, and step $45 is implemented to determine whether the WORKPIECE WAIT flag is set at "ON".
If the WORKPIECE WAIT flag is this means that the first workpiece influenced by the currently effective manual or automatic compensating values is waiting for the measurement of the values X by the measuring device 116. If this flag is "OFF", this means that the first workpiece indicated above has been measured by the measuring device 116. This flag is provided in the RAM of the control device 120, and is set to "ON" when the control device 120 is initially turned on with power applied. According to a suitable routine (not shown), the flag is turned "OFF" each time the first workpiece influenced by the currently effective compensating value has been measured. The flag is turned "ON" each time the manual compensation or the *9 0 intermittent adjustment of the automatic compensating values U is made according to the present compensating routine. If the WORKPIECE WAIT flag is "OFF", a negative decision (NO) is obtained in step S45, whereby the control flow goes to .4* step S46.
In step S46, the control device 120 reads out the 4* stored measured values X from the calculation data memory.
25 Step S46 is followed by step S47 in Fig. 31B to determine 0 whether the calculation of the moving average P is possible or not, namely, whether the number of the measured values X or not, namely, whether the number of the measured values X 121 (for each end journal 128) is equal to or larger. Please refer to Fig. 45. If the number of the measured values X is smaller than a negative decision (NO) is obtained in step S47, and step S48 is implemented to determine whether the SPECIAL AVERAGING command for the moving average P is present or not. If the command is not present, the control returns to step S28. In this case, the automatic compensating value U is determined to be If an affirmative decision (YES) is obtained in step S48 with the SPECIAL AVERAGING command being present, step S49 is performed to determine whether the SUB-AVERAGING command for the moving average P is present or not. If not, a negative decision (NO) is obtained in step S49, and the control flow goes to step S50. While the SPECIAL AVERAGING command is present, either the SUB-AVERAGING command for the sub-averaging calculation of the moving average P or the 440 SUBSTITUTION AVERAGING command for the substitution a averaging calculation of the moving average P should be @6 present. Therefore, if the SUB-AVERAGING command is not present, this means that the SUBSTITUTION AVERAGING command is present.
In step S50, the control device 120 determines whether the substitution averaging is possible or not, S. o namely, whether the number of the measured values X stored in the calculation data memory is smaller than the difference (K where K represents the number of the *measured values X used to calculate the moving average P 122 according to the standard or normal averaging method, while Z represents the maximum number of the measured values X that can be used as the moving average P to obtain the first derivative T, as indicated in Fig. 40. If the number of the stored measured values X is smaller than (K the substitution averaging to use the measured value x as the moving average P is not possible, or is inhibited. If not, the substitution averaging is possible or permitted. In the former case, the control flow returns to step 528. An affirmative decision (YES) is eventually obtained in step as the present routine is repeatedly executed (as the number of the stored measured values X increases), whereby step 551 is implemented to determine the last measured value X as the moving average P. Step S51 is followed by step S52 0 .0 15 to store the value X as the moving average P in the calculation data memory and the auxiliary memory 122. Then, the control goes to step 557 If the SUB-AVERAGING command is present, an affirmative decision (YES) is obtained in step S49, step S53 20 is implemented to calculate the moving average P according to the sub-averaging method. Step S53 is followed by step S54 to store the calculated moving average P in the calculation data memory and the auxiliary memory 122. Step 554 is also followed by step S57.
25 When the number of the measured values X stored in the calculation data memory has reached the predetermined value as the present routine is repeated, an affirmative 123 decision (YES) is obtained in step S47, and step S55 is implemented to calculate the moving average P for each of the two end journals 128 according to the standard method.
The operation to calculate the moving average P in step S55 of Fig. 31B will be described in detail, by reference to the flow chart of Fig. 52.
Initially, step S201 is implemented to read in the weighting coefficients b from the RAM. Step S201 is followed by step S202 to calculate a moving average P for each end journal 128 on the basis of the measured values X stored in the calculation data memory and the weighting coefficients b, according to the above equation Then, the control flow goes to step S203 to calculate differences between the stored measured values X (used for calculating the moving average P) and the S* calculated moving average P, and calculate a sum of these differences, for determining the sum as the vibration level of the measured values X. In this step S203, the vibration level is stored in the RAM, in relation to the associated 20 weighting coefficients b and moving average P. Step S203 is followed by step S204 to determine whether the determined "vibration level is higher than a threshold value A or not.
A
If not, a negative decision (NO) is obtained in step S204, and step S205 is implemented to determine the moving average P (calculated in step S202) as an effective moving average P. Step S205 is followed by step S206 to store the weighting coefficients b in the RAM, so that these coefficients b are 124 used for the calculation of the next moving average P. The routine of Fig. 52 is ended with step S206.
If the vibration level determined in step S203 is higher than the threshold value A, an affirmative decision (YES) is obtained in step S204, and the control flow goes to step S207 to change the increase rate or gradient of the weighting coefficients b according to a suitable rule. Then, step S208 is implemented to determine whether the increase rate has been changed throughout the range defined by the highest and lowest rates as indicated in the graph of Fig.
38. If not, the control flow returns to step S202.
In steps S202 and S203, the moving average P and the vibration level are calculated using the weighting coefficients b determined in step S207 according to the o 15 changed increase rate or gradient. Steps S202-S208 are repeatedly implemented until a negative decision (NO) is obtained in step S204, namely, until the vibration level is lowered to the threshold value A, as a result of change in the increase rate of the weighting coefficients b. Further, 20 as long as the vibration level is higher than the threshold value A, steps S202-S208 are repeated until the increase rate of the weighting coefficients b has been changed throughout the range between the highest and lowest values, that is, until an affirmative decision (YES) is obtained in 25 step S208.
If the affirmative decision (YES) is obtained in step S208, step S209 is implemented to search for the lowest 125 one of the vibration levels stored in the RAM in step S203 (during repeated implementation of steps S202-S208). The moving average P corresponding to the lowest vibration level is determined as the effective moving average P. In the following step S206, the weighting coefficients b corresponding to the effective moving average P (lowest vibration level) are stored in the RAM so that these coefficients b are used for calculating the next moving average P.
The moving average P calculated in step S55 of Fig. 31B which has been described by reference to Fig. 52 is stored in the following step S56, in the calculation data memory of the control device 120 and in the auxiliary memory 122. Step S56 is followed by step S57.
15 Step S57 is provided to determine whether or not the MOVING AVERAGE ADJUSTMENT command is present for adjusting the calculated moving average P. If this command is not present, the control flow goes to step S59 of Fig.
32A. If the command is present, step S58 is implemented to 20 adjust the moving average P for each of the two end journals 128 of the workpiece as described above with respect to the
S*
third step of Fig. 36. The thus adjusted moving average P is stored in the calculation data memory, and the control goes to step S59 of Fig. 32A.
o 25 Step S59 is provided to calculate the error value R which is equal to the moving average P minus the nominal diameter Ao of the journal 128. Step S59 is followed by step 126 560 in which the calculated error value R is stored in the calculation data memory and in the auxiliary memory 122.
Step S60 is followed by step S61 to determine whether the calculation of the first derivative T is possible or not, namely, whether the number of the moving average values P stored in the calculation data memory is equal to or larger. If the number of the stored moving average values P is smaller than a negative decision (NO) is obtained in step S61, and the control flow goes to step S62 to determine whether the SPECIAL DIFFERENTIATION command is present or not. If this command is absent, the control flow returns to step S28, and one cycle of the present routine is terminated. If the command is present, step S63 is implemented to determine whether the calculation 15 of the first derivative T according to the special e* differentiation method is possible or not, namely, whether two or more moving average values are stored in the calculation data memory or not. If a negative decision (NO) is obtained in step S63, the control flow returns to step 20 S28. If an affirmative decision (YES) is obtained in step S63, step S64 is implemented to calculate the first derivative T according to the special differentiation method. Step S64 is followed by step S65 to store the calculated first derivative T in the calculation data memory S" 25 of the control device 120 and in the auxiliary memory 122.
Then, the control flow goes to step S68 of Fig. 32B.
127 When the number of the stored moving average values P has increased to as a result of repeated execution of the present routine, an affirmative decision (YES) is obtained in step S61, and step S66 is implemented to calculate the first derivative T according to the standard method, using the predetermined number L of the moving average values P. Then, step S67 is implemented to store the calculated first derivative in the calculation data memory and auxiliary memory 122. Step S67 is followed by step S68.
Step S68 is provided to determine whether the SECOND DERIVATIVE USE command which requires the use of the second derivative D to calculate the compensating value U is present or not. If this command is present, an affirmative decision (YES) is obtained in step S68, and step S69 is oo effected to determine whether the calculation of the second derivative D is possible or not, namely, whether the number .of the first derivative values T stored in the calculation data memory is equal to or larger. If the number of the stored first derivative values T is smaller than a negative decision (NO) is obtained in step S69, and the control flow returns to step S28, whereby one cycle of the present routine is terminated. When the number of the stored first derivative values T has increased to the predetermined 25 value as a result of repeated execution of the present routine, an affirmative decision (YES) is obtained in step S69, and the control flow goes to step S70 to calculate the 128 second derivative D, and S71 to store the calculated second derivative D in the calculation data memory sad auxiliary memory 122. The control then goes to step If the SECOND DERIVATIVE USE command is not present, a negative decision (NO) is obtained in step S68, and the control flow goes to step S72 to determine whether there is present the DEAD TIME COMPENSATION command which requires the compensating value U to be determined depending upon the dead time value MS which corresponds to the number Y of the pre-measured workpieces existing between the machine 110 and the post-process measuring device 116. If this command is absent, a negative decision (NO) is obtained in step S72, and the control goes directly to step S75. If the command is present, step S73 is implemented to read in 15 the dead time value MS from the workpiece counter 118. Then, step S74 is implemented to store the dead time value MS in the calculation data memory and auxiliary memory 122.
*9* Referring to the flow chart of Fig. 53, the fuzzy inference operation to calculate the provisional 0*4. 20 compensating value U in step S75 of Fig. 32B will be described in detail.
Initially, step S301 is implemented to read in an NB/PB flag from the RAM of the control device 120. When this NB/PB flag is set at "OFF", it indicates that the vibration 25 level of the measured values X is sufficiently low. When the NB/PB flag is set at it indicates that the vibration level is higher than an upper limit. The NB/PB flag is reset 129 to "OFF" when the control device 120 is turned on, and updated in steps S85 and S90 which will be described by reference to the flow chart of Fig. 54. Step S301 is followed by step S302 to determine whether the NB/PB flag is set at "ON" or not. If the flag is currently set at "OFF", a negative decision (NO) is obtained in step S302, and the control flow goes to step S303 to calculate the provisional compensating value U by fuzzy inference using the positive fuzzy rules as indicated in TABLE 9 by way of example. Thus, the operation in step 575 of Fig. 32B is terminated.
If the NB/PB flag is set at an affirmative decision (YES) is obtained in step S302, and step S304 is executed to calculate the provisional compensating value U by fuzzy inference using the negative fuzzy rules as 15 indicated in TABLE 10 by way of example. Thus, the operation in step S75 is terminated.
In the present embodiment, the fuzzy rules used for the fuzzy inference are changed from the positive fuzzy a rules to the negative fuzzy rules immediately after the 20 NB/PB flag is changed from "OFF" to and from the negative fuzzy rules to the positive fuzzy rules immediately after the NB/PB flag is changed from "ON" to "OFF". However, *aaa it is possible to consider the hysteresis of the NB/PB flag, in determining the timing at which the positive and negative a.
25 fuzzy rules are interchanged. For instance, the control device 120 is adapted to inhibit the use of the negative fuzzy rules even when the NB/PB flag has been changed from 130 "OFF" to and allow the use of the negative fuzzy ru~les only af ter the number of cycles in which the NB/PB f lag is set at "iON" has reached a predetermined value. This arrangement is effective to avoid unstable determination of the provisional compensating value U due to frequent interchange between the positive and negative fuzzy rules and consequent hunting of the measured values X.
Step S75 is followed by step S76 to store the calculated provisional compensating value U in the calculation data memory and auxiliary memory 122. Step S76 is followed by step S77 of Fig. 33.
Step S77 is provided to determine whether the GRADUAL COMPENSATION command which requires the calculated provisional compensating value U to be adjusted into the final compensating value U* is present or not. if this I command is not present, a negative decision (NO) is obtained in step S77, and step S78 is implemented to determine the provisional compensating value U as the final compensating value Then, step S79 is implemented to store the final compensati-ig value U* in the auxiliary memory 122. If the GRADUAL COMPENSATION command is present, an affirmative decision (YES) is obtained in step S77, and step S80 is implemented to determine whether the calculation of the :final compensating value U* is possible or not, namely, 25 whether the number of the provisional compensating values U stored in the calculation data memory is equal to I'M" or larger. If a negative decision (NO) is obtained in step 131 the control flow returns to step S28, and one cycle of the present routine is terminated. When the number of the stored provisional compensating values U has reached the predetermined value as a result of repeated execution of the present routine, an affirmative decision (YES) is obtained in step S80, whereby step S81 is implemented to calculate the final compensating value U* on the basis of the predetermined number M of the stored provisional compensating value U. Step S81 is followed by step S82 to store the calculated final compensating value U* in the calculation data memory and auxiliary memory 122.
Steps S79 and S82 are followed by step S83 of Fig.
34A to determine whether there is present the AUXILIARY COMPENSATION command .'tich requires the auxiliary compensation in addition to the primary compensation, as illustrated in Fig, 48 by way of example. If this command is absent, a negative decision (NO) is obtained in step S83, *o and the control flow goes to step S84 to determine whether the final compensating value U* stored in step S79 or S82 should be transmitted to the automatic sizing device 114 or not, namely, whether the final compensating value U* is o° outside the tolerable range or not. If the value U* falls .i within the tolerable range, a negative decision (NO) is obtained in step S84, and step S85 is implemented to store 25 in the auxiliary memory 122 data representative of the fuzzy
S
rule which was applied in step S75 of Fig. 32B to calculate the provisional compensating value U. Then, the control 132 returns to step S28, and one cycle of the present routine is terminated.
If the final compensating value U* is outside the tolerance range, an affirmative decision (YES) is obtained in step S84, and step S86 is implemented to determine whether the automatic sizing device 114 has the function of transmitting the manual compensation data to the control device 120 or not. If the device 1,14 has the function, an affirmative decision (YES) is obtained in step S86, and the control flow goes to step S87 to determine whether any manual compensating value or values to adjust the reference value or values (for one or both of the two end journals 128) has/have been entered through the keyboard 150 or not.
If no manual compensating value has been manually entered into the sizing device 114, a negative decision (NO) is obtained in step S87, and step S88 is implemented to transmit the final compensating value U* to the sizing device 114. The value U* remains stored in the auxiliary memory 122. Then, the control flow goes to step S89 to determine whether the AUXILIARY COMPENSATION command is present or not. Since the negative decision (NO) is obtained in step S83, the negative decision is also obtained in this step S89, whereby step S90 of Fig. 34C is implemented to store the applied fuzzy rule in the auxiliary memory 122, as in step S S. SO 133 Referring to the flow chart of Fig. 54, the 0 operation to be performed in steps S85 of Fig. 34A and of Fig. 34C will be described in detail.
Initially, step S401 is executed to read in the current count of the NB/PB counter which is adapted to count the number of application of the NB/PB fuzzy rules. Step S401 is followed by step S402 to determine whether the fuzzy rule applied in step S75 of Fig. 32B is any one of NB/PB fuzzy rules which are defined above with respect to the fifth step of Fig. 36. If the fuzzy rule applied in step is not any NB/PB fuzzy rule, a negative decision (NO) is obtained in step S402, and the control goes to step S404, skipping step S403. If the fuzzy rule applied in step S75 is any one of the NB/PB fuzzy rules, an affirmative decision (YES) is obtained in step S402, and step S403 is implemented to increment the NB/PB counter. Step S403 is followed by "step S404. This step S404 is provided to read in the count *0 of the CYCLE counter adapted to count the number of cycles of the present routine of Fig. 54. Step S404 is followed by step S405 to increment the CYCLE counter. Then, the control flow goes to step S406 to determine whether the current 6 0* count of the CYCLE counter is larger than a predetermined threshold value or not. If not, a negative decision (NO) is obtained in step S406, and the control flow goes to step S407 to store the current counts of the NB/PB and CYCLE counters in the RAM of the control device, and then to step 0 P~L~ sJICI~PP 134 S408 to store the applied fuzzy rule in the auxiliary memory 122.
When the count of the CYCLE counter has increased to the predetermined threshold value as a result of repeated execution of the routine of Fig. 54, an affirmative decision (YES) is obtained in step S406, and the control goes to step S409 to determine whether the current count of the NB/PB counter is larger than a predetermined threshold value or not. If the count is not larger than a negative decision (NO) is obtained in step S409, and step S410 is implemented to set the NB/PB flag to "OFF" (change the flag from "ON" to "OFF" or maintain the flag at "OFF").
Step S410 is followed by step S411 to reset the NB/PB and CYCLE counters to Then, the control goes to steps S407 and S408. If the count of the NB/PB counter exceeds an affirmative decision (YES) is obtained in step S409, and 2.
step S412 is implemented to set the NB/PB flag to "ON" (change the flag from "OFF" to "ON" or maintain the flag at Step S412 is followed by steps S411 and the 20 subsequent steps.
If any manual compensating values have been entered into the sizing device 114, an affirmative decision (YES) is obtained in step S87 of Fig. 34A, and the control flow goes to step S91 to receive the currently effective manual compensating values and the corresponding reference values from the sizing device 114, and store these data.
e implemented to turn "ON" the Then, steps S92 and S93 are implemented to turn "ON" the 135 WORKPIECE WAIT flag to and clear the calculation data memory. The control then returns to step S28.
If the sizing device 114 has nct the function of transmitting the manual compensation data to the control device 120, a negative decision (NO) is obtained in step S86, and step S94 of Fig. 34B is implemented to read in the currently effective reference values set in the sizing device 114, and store these reference values in the RAM of the control device 120 and in the auxiliary memory 122. Step S94 is followed by step S95 to read in from the RAM the last reference values. Then, step S96 is implemented to determine whether the effective reference values have been changed in the sizing device 114 which does not have the data transmitting function. If a negative decision (NO) is obtained in step S96, the step S88 described above is effected. If an affirmative decision (YES) is obtained in step S96, the control flow goes to step S97 to turn "ON" the WORKPIECE WAIT flag, and to step S98 to clear the calculation data memory. Then, the control returns to step S28.
If the AUXILIARY COMPENSATION command is present, an affirmative decision (YES) is obtained in step S83 of Fig. 34A, and step S99 is executed to determine whether the •9oe auxiliary compensation is in progress, namely, whether the 25 current count of a AUXILIARY COMPENSATION counter to count the number of the auxiliary compensation cycles is equal to or larger. If the count of this counter is currently 136 a neqgtive decision (NO) is obtained in step S99, the control flow goes to step S84 and the following steps, which include step S88 to perform the primary compensation as described above, and step S89 determine whether the AUXILIARY COMPENSATION command is present. Since this command is present, the AUXILIARY COMPENSATION counter is incremented in step S100 following step S89.
If the count of the AUXILIARY COMPENSATION counter is or more, an affirmative decision (YES) is obtained in step 99, the control flow goes to step S101 and the following steps of Fig. 34C to effect the auxiliary compensation. In step S101, a difference between the present and last final compensating values U* is obtained as an automatic compensating value to be transmitted to the sizing device 114. That is, the present and last final compensating values U* correspond to the present and last provisional compensating values Up described above with respect to the auxiliary compensation in the first intermittent compensation mode. Further, the automatic compensating value to be transmitted to the sizing device 114 corresponds to the final compensating value Uf described above in connection with the provisional value Up. Step S101 is followed by step S102 to determine whether the sizing device
C.
114 has the function of transmitting the manual compensation 25 data to the control device 120 or not. If the device 114 has 0* C the function, an affirmative decision (YES) is obtained in step 5102, step S103 is implemented to determine whether any 137 manual compensating values have been entered in the sizing device 114 or not. If a negative decision (NO) is obtained in step S103, step S104 is implemented to transmit the automatic compensating value Uf obtained in step S101 to the sizing device 114. Step S104 is followed by step S105 to store in the auxiliary memory 122 the compensating value Uf transmitted to the sizing device 114. Then, step S106 is effected to increment the AUXILIARY COMPENSATION counter.
Step S106 is followed by step S90 described above. If any manual compensating values have been entered, an affirmative decision (YES) is obtained in step S103, the control flow goes to step S107 of Fig. 34B to receive the manual compensating values from the sizing device 114, and to step S108 to turn "ON" the WORKPIECE WAIT flag. Then, step S109 15 is effected to clear the calculation data memory. The control then returns to step S28.
If the sizing device 144 does not have the 0function of transmitting the manual compensating data to the 0*o control device 120, a negative decision is obtained in step 20 S102, step S94 and the following steps of Fig. 34B are executed to transmit the automatic compensating values Uf to the sizing device 114 if the negative decision (NO) is %0 obtained in step S96. In this case, the affirmative decision (YES) is obtained in step S89, and the AUXILIARY COMPENSATION counter is incremented in step S100.
Step S90 is followed by step S110 of Fig. 35A to determine whether the AUXILIARY COMPENSATION command is 138 present or not. If a negative decision (NO) is obtained in step S110, steps Sill and S112 are implemented to turn "ON" the WORKPIECE WAIT flag, and clear the calculation data memory. Step S112 is followed by step S113 to determine whether the X-SHIFT command is present or not. If this command is absent, the control returns to step S28.
If the AUXILIARY COMPENSATION command is present, an affirmative decision (YES) is obtained in step S110, the control flow goes to step S114 of Fig. 35B to determine whether the auxiliary compensation cycles should be terminated or not, namely, whether the count of the AUXILIARY COMPENSATION counter has become equal to the predetermined maximum number (which was read in from the 8e auxiliary memory 122 in step S21 of Fig. 30A). If the count 15 is smaller than the control returns to step S28.
When the count of the AUXILIARY COMPENSATION counter has become equal to as a result of repeated execution of the present routine, an affirmative decision (YES) is obtained in step S114, and the control flow goes to 20 step S115 to calculate a sum of at least the compensating values Uf of repeated auxiliary compensation cycles which follow the primary compensation. Step S115 is followed by step S116 to determine whether the auxiliary compensation cycling should be continued or not, namely, whether the sum obtained in step S115 is substantially or not. If the sum is not substantially a negative decision (NO) is obtained in step S116, and steps S117 and S118 are 139 implemented to turn "ON" the WORKPIECE WAIT flag, and clear the calculation data memory. Step S118 is followed by step S119 to determine whether the X-SHIFT command is present or not. If a negative decision (NO) is obtained in step S119, the control returns to step S28.
If the sum obtained in step S115 is substantially an affirmative decision (YES) is obtained in step S116, and the control flow goes to step S120 to determine whether the TOLERABLE RANGE command is present or not. If the TOLERABLE RANGE command is not present, but the AUXILIARY COMPENSATION CYCLE command is present, a negative decision (NO) is obtained in step S120, and step S121 is implemented to set the AUXILIARY COMPENSATION counter to Then, the 15. control returns to step S28. In this case, therefore, the 15 affirmative decision (YES) is obtained in step S99 of Fig.
34A in the next execution cycle of the present routine, and the control flow goes to step S101 and the following steps of Fig. 34C.
If the TOLERABLE RANGE command is present, an affirmative decision (YES) is obtained in step S120 of Fig.
35B, and step S122 is implemented to set the AUXILIARY COMPENSATION counter to Then, the control returns to step S28. In this case, the negative decision (NO) is obtained in step S99 in the next execution cycle of the present routine, and the control flow goes to step S84 and the following steps of Fig. 34A.
140 If step S45 of Fig. 31A is implementsd when the WORKPIECE WAIT flag is set at the affirmative decision (YES) is obtained in this step S45, whereby the control flow goes to step S123 to clear the calculation data memory, and returns to step S28. Consequently, the measured values X stored in the calculation data memory in step S43 of Fig.
are erased, for example. Therefore the values X and the other values measured or calculated immediately after the adjustment of the reference values by the manual or automatic compensation values are not stored until the WORKPIECE WAIT flag is set to "OFF", that is, until the first workpiece influenced by the manual or automatic compensating values has been measured by the measuring device 116. In other words, the measured values X, 15 calculated moving average values P and other calculated values begin to be stored when the negative decision (NO) is obtained in step $45 with the WORKPIECE WAIT flag set to
"OFF".
While the above description refers to the 20 operation of the present embodiment when the the X-SHIFT a g command is absent, there will be described an operation when the X-SHIFT command is present.
0 a In the presence of the X-SHIFT command for placing a.
the control device in the second intermittent compensating mode, an affirmative decision (YES) is obtained in step S44 of Fig. 31A, whereby the control flow goes to steps S124 and the following steps. Step S124 is provided to determine 141 whether the calculation of the estimated values X should be inhibited or not, namely, whe'-her the measurement o, the first workpiece influenced by the currently effective manual or automatic compensating values is completed by the measuring device 116 or not. If so, the calculation of the estimated values X used in the second intermittent compensating mode is not necessary, and this mode of intermittent compensation would increase the error of the measured values X.
The determination as to whether the measurement of the first workpiece influenced by the currently effective manual or automatic compensating values is completed is made on the basis of the number Y of the pre-measured workpieces (crankshafts 126) existing between the grinding machine 110 15 and the measuring device 116 at the time the reference values of the sizing device 114 are adjusted by the currently effective manual or automatic compensating values.
The number Y of the workpieces which is counted by the 9. workpiece counter 118 is set in a suitable decrement counter 20 in the RAM of the control device 120. The count of this 9 9.
counter is decremented when the measuring device 116 has measured each workpiece. The control device 120 determines that the measurement of the first influenced workpiece in question is completed when the count of the decrement counter is zeroed.
If the first influenced workpiece has not been measured by the measuring device 116, a negative decision i 142 (NO) is obtained in step 5124, and step S125 is executed to determine the currently effective manual or automatic compensating values as shifting values to be used to obtain the estimated values X. Step 5125 is followed by step S126 to calculate the estimated values X by adding the determined shifting values to the currently measured values X (for the two end journals 128). The calculated estimated values X are stored in the calculation data memory of the control device 120 and in the auxiliary memory 122. Then, the control flow goes to step S127 to read out from the calculation data memory the measured or estimated values X, so that the moving average P is calculated from these values X in step S47 and the following steps as described above.
.When the X-SHIFT command is subsequently detected to be present in step S113 of Fig. 35A, step S113 is followed by step S128 to read out from the workpiece counter 118 the dead time value MS (corresponding to the number Y of the pre-measured workpieces), and the number Y is set in the decrement counter in the RAM of the control device 120, so 20 that the number Y is used in the next cycle of implementation of step S124. The number Y is also stored in the auxiliary memory 122. The control then returns to step S28.
Similarly, an affirmative decision (YES) is obtained in step S119 of Fig. 35B, and the control flow goes to step S129 to read in the dead time value MS (number Y).
143 The number Y is set in the decrement counter of the RAM and stored in the memory 122.
Thus, the number Y of the pre-measured workpieces is set when the intermittent compensation for automatic adjustment is terminated. Further, the number Y is also set when the manual compensation is terminated, though the manner to set the number Y is not illustrated in the flow charts. For the initial execution of the present routine, a predetermined value is stored in the ROM of the control device, as an initial number of the pre-measured workpieces to be used in step 3124.
When the measurement of the first workpiece influenced by the manual or automatic compensating values is completed during repeated execution of the present routine, an affirmative decision (YES) is obtained in step S124 of Fig. 31A, and the shifting values used in step S126 are determined to be In this case, therefore, the actually measured values X are stored in the calculation data memory.
0 Thus, the estimated values X are stored in the 20 calculation data memory immediately after the adjustment of the references values of the sizing device 114, until the first workpiece influenced by the manual or automatic 0@* compensating values has been measured, regardless of the 6 0* "ON" or "OFF" state of the WORKPIECE WAIT flag. This arrangement is effective to reduce the interval between the moments of determinations of two successive automatic 144 compensating values obtained in the second intermittent compensating mode (as illustrated in Fig. While the third embodiment of the present invention has been described above by reference to Figs. and 28-54, it is to be understood that the above embodiment may be modified as needed.
In the above third embodiment, the vibration level of the measured values X is determined on the basis of the relationship between the actually measured values and the calculated moving average values P, and on the basis of the fuzzy rules applied in the fuzzy inference to determine the compensating values U. These two techniques both relate to the determination or estimation of the vibration level in the process of determining the compensating values U.
15 However, other techniques may ba employed to determine the vibration level of the measured values X in the process of determining the compensating values U.
For example, the vibration level may be determined by suitable techniques utilizing the moving average P, which 20 include: a technique which relies on an average of a plurality of moving average values P; a technique which relies on a power spectral density at a predetermined frequency of the noisy component waves of the moving average 4 P; and a pattern recognition technique which utilizes a neural network or correlation function. These techniques may be modified to be applied to the compensating values U.
145 The vibration level of the measured values X may also be determined based on the measured values X per se. In this case, the above techniques may be employed with some modifications as needed.
The determination of the vibration level may be based on the relationship between the compensating values U sent to the sizing device 114 and the measured values X which are influenced by the compensating values U. The determination may also be made on the basis of a response of the measured values X to the compensating values U.
To determine the compensating values U, the illustrated third embodiment uses not only different sets of 44 weighting coefficients b (or different rates of increase of coefficients b) for obtaining the moving average P, but also different groups of fuzzy rules (positive and negative fuzzy rules) for effecting the fuzzy inference on the basis of the error value R and derivative T. However, only one of these two techniques or other techniques may be used to determine the compensating coefficients U. For instance, the third 20 embodiment may be modified to use: different values for the ,g4' number K (Fig. 39) of the measured values X used to calculate the moving average P according to the standard 4 method; different regression lines used to calculate the moving average (Fig. 42), first and second order regression lines; different values for the number L (Fig.
39) of the moving average values P to calculate the first derivative T according to the standard differentiation 146 method; different numbers of the fuzzy labels used for at least one parameter or variable different values of the fuzzy labels; different groups of the membership functions for at least one parameter (See Figs.
different methods "gravity center" method and "surface area" method) by which the fuzzy inference values obtained by the fuzzy rules are converted into the compensating values U; different values for the number M (Fig. 45) of the provisional compensating values U to obtain the final compensating value and different values for the width N (Fig. 46) of the tolerable range for the compensating value U.
In illustrated third embodiment, the calculation o 0 n* data memory is not cleared even when the set of weighting 15 coefficients b or the group of fuzzy rules is changed, and the compensating values U are determined based on the data 0000 which have been stored in +he data memory before the coefficients b or fuzzy rules are changed. This arrangement is effective to avoid frequent occurrences of shortage of 20 the stored data and consequent deterioration of the dimensional accuracy of the processed workpieces, which would be expected if the calculation data memory were cleared upon changing of the weighting coefficients b or 4 o fuzzy rules. It is also recognized that the use of the data stored prior to the changing of the coefficients b or fuzzy rules would not significantly deviate the obtained compensating values U from the optimum values. However, the 147 third embodiment may be adapted to clear the calculation data memory each time the weighting coefficients b or fuzzy rules are changed.
In the third embodiment, when the SPECIAL AVERAGING command is present (step S48 of Fig. 31B), the moving average values P are obtained one after another (measured values X are substituted for the moving average P) even before the number of the measured values X stored in the calculation data memory is. smaller than the predetermined value (Figs. 40 and 41, steps S49, S51 and S53). Accordingly, the error values R are successively obtained and stored in the calculation data memory, as the measured values X are obtained, so that a a .iia.. derivative T and a final compensating value U* are obtained S 15 when the number of the measured values X has become equal to a certain predetermined value (which may be equal to However, the third embodiment may be adapted such that the moving average values P are not obtained until the number of o*s: the stored measured values X has become equal to the predetermined number and such that the moving average S..r values P and the other values are obtained at one time to determine the compensating value U* when the number of the stored measured values X has become equal to the certain a 0* predetermined value.
As described above, the third embodiment is designed as a feedback compensating apparatus used for the automatic sizing device 114 which controls the grinding 148 system in which the working portions of the workpiece in the form of the cylindrical surfaces of the pluralit of journals 128 on the crankshaft 126 are ground to a nominal outside diameter value. It will be understood that the third embodiment may be modified so as to be used with an automatic sizing device for other types of working systems, for example, the automatic sizing device 22 for a cylinder bore honing system as illustrated in Fig. 1 which has been discussed with respect to the first and second embodiments.
Of course, the feedback compensating apparatus according to the third embodiment may be adapted to a working system in which the workpiece has only one working portion to be processed.
Although the third embodiment is adapted such that the final compensating value U* is not transmitted from the control device 120 to the automatic sizing device 114 if the value U* falls within the tolerable range N as indicated in
C*
Fig. 46, it is possible that the control device 120 transmits the final compensating value U* to the automatic S 20 sizing device 114, irrespective of whether the value U* is within the tolerable range, while the sizing device 114 determines whether the received value U* falls within the range N or not. In this case, the currently effective o* reference value is not adjusted by the device 114 when the value U* is within the range N.
In the third embodiment, the two in-process measuring heads 112 are provided for the two end journals 149 128, respectively. However, the present invention is applicable to a working system in which an in-process measuring head is provided for each of the working portions on the workpiece.
While the present invention has been described in its presently preferred embodiments and some modifications thereof, it is to be understood that the present invention may be otherwise embodied, in the light of the foregoing teachings.
see, 9 S
Claims (3)
150- THE CLAIMS DEFINING THE INVENTION ARE AS FOLLOWS:- 1. A feedback compensating apparatus for a working system including a working machine for successively processing a plurality of workpieces, machine control means for determining a working condition of said working machine on the basis of an extraneous signal, and controlling said working machine according to the determined working condition, and a measuring device for measuring actual dimensions of working portions of the workpieces processed by said working machine, said feedback compensating apparatus being used with said machine control means and said measuring device, and characterized by comprising: data obtaining means fbr obtaining dimensional data on the ba: of outputs of said 9 ":measuring device, said dimensional data including a dimensional error of the processed workpieces, and a variable indicative of a tendency of change in said dimensional error S:i .of the workpieces, said data obtaining means obtaining a present value of an estimated dimension of the working portions of the workpieces on the basis of a predetermined V 9.. S 15 first number of successive measured values represented by the outputs of said measuring device, when each of the workpieces is measured by the measuring device, said predetermined first number of successive measured values consisting of a currently measured value currently obtained by said measuring device and at least one measured value which precedes said currently measured value; said data obtaining means obtaining a present dimensional enrror which is a difference of said present value of said estimated dimension from a nominal dimension of the working portion of said each workpiece, said data obtaining means obtaining a present value of said variable, on the basis of a predetermined second number of -151 successive dimensional error values, when said present dimensional error value is obtained, said predetermined second number of successive dimensional error values consisting of said present dimensional error value and at least one dimensional error value which precedes said present dimensional error value; said data obtaining means including at least one of dimension estimating means and variable obtaining means, said dimension estimating means obtaining said present value of said estimated dimension by inserting said predetermined first number of successive measured values into a predetermined equation, when the number of the successive measured values currently available is not smaller than said predetermined first number, said dimension estimating means obtaining said present value of said estimated dimension by substituting said currently measured value for said present value of said estimated dimension, when the number of said successive measured values currently available is smaller than said predetermined first number, said variable obtaining means obtaining said present value of said variable in a standard manner when *9o the number of the successive dimensional error values currently available is not smaller than said predetermined second number, and in a special manner different from said standard manner for said variable, when the number of said successive dimensional error values currently available is smaller than said predetermined second number; and compensating means for determining a compensating signal as said extraneous signal on the basis of said present value of said estimated dimension and said present value of said variable, and applying said compensating signal to said machine control means, to adjust said working condition of said working machine. -152- 2. A feedback compensating apparatus for a working system including a working machine for successively processing a plurality of workpieces, machine control means for determining a working condition of said working machine on the basis of an extraneous signal, and controlling said working machine according to the determined working condition, and a measuring device for measuring actual dimensions of working portions of the workpieces processed by saia working machine, said feedback compensating apparatus being used with said machine control means and said measuring device, and characterized by comprising: data obtaining means for obtaining dimensional data on the basis of outputs of said measuring device, said dimensional data including a dimensional error of the processed workpieces, and a variable indicative of a tendency of change in said dimensional error of the workpieces, said data obtaining means obtaining a present value of an estimated dimension of the working portions of the workpieces on the basis of a predetermined first number of successive measured values represented by the outputs of said measuring S 15 device, when each of the workpieces is measured by the measuring device, said predetermined first number of successive measured values consisting of a currently measured value currently obtained by said measuring device and at least one measured value which precedes said currently measured value; said data obtaining means obtaining a present dimensional error which is a difference of said present value of said estimated dimension from a nominal dimension of the working portion of said each workpiece, said data obtaining means obtaining a present value of said variable, on the basis of a predetermined second number of successive dimensional error values, when said present dimensional error value is
153- obtained, said predetermined second number of successive dimensional error values consisting of said present dimensional error value and at least one dimensional error value which precedes said present dimensional error value; said data obtaining means including at least one of dimension estimating means and variable obtaining means, said dimension estimating means obtaining said present value of said estimated dimension by inserting said predetermined first number of successive measured values into a predetermined standard equation, when the number of the successive measured values currently available is not smaller than said predetermined first number, said dimension estimating means obtaining said present 10 value of said estimated dimension by inserting successive measured values currently i: available whose number is smaller than said predetermined first number, into an C Cappropriate one of special equations which correspond to respective number smaller than said predetermined first number, when the number of said successive measured values currently available is smaller than said predetermined first number; and 15 compensating means for determining a compensating signal as said extraneous signal on the basis of said present value of said estimated dimension and said present value of said variable, and applying said compensating signal to said machine control means, to adjust said working condition of said working machine. 3. A feedback compensating apparatus for a working system including a working machine for successively processing a plurality of workpieces, machine control means for determining a working condition of said working machine on the basis of an extraneous signal, and controlling said working machine according to the determined worki-- condition, and a measuring device for measuring actual dimensions of -154- working portions of the workpieces processed by said working machine, said feedback compensating apparatus being used with said machine control means and said measuring device, and characterized by comprising: data obtaining means for obtaining dimensional data on the basis of outputs of said measuring device, said dimensional data including a dimensional error of the processed workpieces, and a variable indicative of a tendency of change in said dimensional error of the workpieces, said data obtaining means obtaining a present value of an estimated dimension of the working portions of the workpieces on the basis of a predetermined first number of successive measured values represented by the outputs of said measuring device, when each of the workpieces is measured by the measuring device, said predetermined first number of successive measured values consisting of a currently measured value currently obtained by said measuring device and at least one measured value which precedes said currently measured value; said data obtaining means obtaining a present dimensional error which is a 4•. S 15 difference of said present value of said estimated dimension from a nominal dimension of the working portion of said each workpiece, said data obtaining means obtaining a present value of said variable, on the basis of a predetermined second number of successive dimensional error values, when said present dimensional error value is obtained, said predetermined second number of successive dimensional error values consisting of said present dimensional error value and at least one dimensional error value which precedes said present dimensional error value; said data obtaining means including at least one of dimension estimating means and variable obtaining means, said dimension estimating means obtaining said present I I 155 value of said estimated dimension in a standard manner when the number of the successive measured values currently available is not smaller than said predetermined first number, and in a special manner different from said standard manner, when the number of said successive measured values currently available is smaller than said predetermined first number, said variable obtaining means obtaining said present value of said variable by inserting said predetermined second number of dimensional error values into a predetermined standard equation, when the number of the successive dimensional error values currently available is not smaller than said predetermined second number, said variable obtaining means obtaining said present value of said 10 variable by inserting successive dimensional error values currently available whose o 9 9 9 S-number is smaller than said predetermined second number, into an appropriate one of :special equationo which correspond to respective number smaller than said predetermined number, when the number of said successive dimensional error values currer tly available is smaller than said predetermined second number; and :9 15 compensating means for determining a compensating signal as said extraneous signal on the basis of said present value of said estimated dimension and said present value of said variable, and applying said compensating signal to said machine control means, to adjust said working condition of said working machine. 4. A method of processing a plurality of workpieces by a working system including a working machine for successively processing said plurality of workpieces, (b) machine control means for determining a working condition of said working machine on the basis of an extraneous signal, and controlling said working machine according to the determined working condition, and a measuring device for measuring actual I -156- dimensions of working portions of the workpieces processed by said working machine, said method being characterized by comprising: a step of obtaining dimensional data on the basis of outputs of said measuring device, said dimensional data including a dimensional error of the processed workpieces, and a variable indicative of a tendency of change in said dimensional error of the workpieces, said step of obtaining dimensional data including the sub-steps of(a) obtaining a present value of an estimated dimension of the working portions of the workpieces on the basis of a predetermined first number of successive measured values represented by the outputs of said measuring device, when each of the workpieces is measured by the measuring device, said predetermined number of successive measured values consisting of a currently measured value currently obtained by said measuring device and at least one measured value which precedes said currently measured value, obtaining a present dimensional error value which is a difference of said present value of said estimated dimension from a nominal dimension of the workir g portion of 5. Is said each workpiece, and obtaining a present value of said variable, on the basis of a S** predetermined second number of successive dimensional error values, when said present dimensional error value is obtained, said predetermined number of successive dimensional error values consisting of said present dimensional error value and at least one error value which precedes said present dimensional error value; and a step of determining a compensating signal as said extraneous signal on the basis of said present value of said estimated dimension and said present value of said variable, and applying said compensating signal to said machine control means, to adjust said working condition of said working machine, and wherein said step of obtaining II I
157- dimensional data is characterized by comprising at least one of two features and said feature consisting in obtaining said present value of said estimated dimension in a standard manner when the number of the successive measured values currently available is not smaller than said predetermined first number, and in a special manner different from said standard manner, when the number of said successive measured values currently avaiable is smaller than said predetermined first number, said feature consisting in obtaining said present value of said variable in a standard manner when the number of the successive dimensional error values currently available is not smaller than said predetermined second number, and in a special manner different from said 10 standard manner for said variable, when the number of said successive dimensional error S* values currently available is smaller than said predetermined second number. Dated this 6th day of August, 1997 TOYOTA JIDOSHA KABUSHIKI KAISHA Wo Attorney: CAROLINE M. BOMMER Fellow Institute of Patent Attorneys of Australia of of SHELSTON WATERS 4* ABSTRACT A feedback compensating apparatus (28, 32, 120, 122) for adjusting the working condition of a working machine (10, 110) of a working system adapted to process working portions of successive workpieces under control of a machine controller (22, 114), which determines the working condition from an extraneous signal. The apparatus is used with the controller and a measuring device for measuring the di-mensions of the processed working portions of the workpieces, and includes a device i.:3 (28, 32, 120, 122) for obtaining dimensional data based on outputs of the measuring device (14, 18, 112, 116) during and/or after a working operation of the machine on each workpiece. The dimensional data include a dimensional error of the processed working portions, and a variable D) indicative of a tendency of change in the dimensional error. The apparatus further includes a device (28, 32, 120, 122) for determining the extraneous signal based on the dimensional data, and I 20 applying the signal to the machine controller (22, 114) to adjust the working condition of the machine. Also disclosed is a method of processing workpieces using the apparatus. -I
Applications Claiming Priority (24)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4-61306 | 1992-02-14 | ||
JP04061305A JP3097280B2 (en) | 1992-02-14 | 1992-02-14 | Feedback processing condition correction device |
JP6130692A JP2924426B2 (en) | 1992-02-14 | 1992-02-14 | Feedback processing condition correction device |
JP4-61305 | 1992-02-14 | ||
JP4-158787 | 1992-05-26 | ||
JP15878792A JP2924461B2 (en) | 1992-05-26 | 1992-05-26 | Feedback processing condition correction device |
JP4-235402 | 1992-08-11 | ||
JP23540292A JP3173163B2 (en) | 1992-08-11 | 1992-08-11 | Feedback processing condition correction device |
JP4-278146 | 1992-09-22 | ||
JP27814692A JP3182926B2 (en) | 1992-09-22 | 1992-09-22 | Feedback type fixed point correction device |
JP4-329987 | 1992-11-16 | ||
JP4-329986 | 1992-11-16 | ||
JP4-329985 | 1992-11-16 | ||
JP32998792 | 1992-11-16 | ||
JP32998692 | 1992-11-16 | ||
JP32998592 | 1992-11-16 | ||
JP35934392A JP3214121B2 (en) | 1992-11-16 | 1992-12-25 | Feedback processing condition correction device |
JP35934292A JPH06198543A (en) | 1992-11-16 | 1992-12-25 | Feedback type machining condition correction device |
JP4-359343 | 1992-12-25 | ||
JP4-359342 | 1992-12-25 | ||
JP4-358240 | 1992-12-26 | ||
JP35823992A JP3269151B2 (en) | 1992-12-26 | 1992-12-26 | Feedback processing condition correction device |
JP4-358239 | 1992-12-26 | ||
JP4-360111 | 1992-12-28 |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU33020/93A Division AU665048B2 (en) | 1992-02-14 | 1993-02-09 | Apparatus and method for feedback-adjusting working condition for improving dimensional accuracy of processed workpieces |
Publications (2)
Publication Number | Publication Date |
---|---|
AU4568596A AU4568596A (en) | 1996-05-09 |
AU683788B2 true AU683788B2 (en) | 1997-11-20 |
Family
ID=27582044
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
AU45685/96A Expired AU683788B2 (en) | 1992-02-14 | 1996-02-22 | Apparatus and method for feedback-adjusting working condition for improving dimensional accuracy of processed workpieces |
Country Status (1)
Country | Link |
---|---|
AU (1) | AU683788B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU3192468A (en) * | 1967-01-16 | 1969-07-10 | International Business Machines Corporation | Closed loop process control system |
EP0556049A2 (en) * | 1992-02-14 | 1993-08-18 | Toyota Jidosha Kabushiki Kaisha | Apparatus and method for eliminating dimensional error of processed workpieces by feedback-adjusting working condition |
-
1996
- 1996-02-22 AU AU45685/96A patent/AU683788B2/en not_active Expired
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU3192468A (en) * | 1967-01-16 | 1969-07-10 | International Business Machines Corporation | Closed loop process control system |
AU5338469A (en) * | 1968-10-19 | 1970-10-15 | DORNIER SYSTEM Gm. B. H | Method of automatically optimising the product of two physical values |
EP0556049A2 (en) * | 1992-02-14 | 1993-08-18 | Toyota Jidosha Kabushiki Kaisha | Apparatus and method for eliminating dimensional error of processed workpieces by feedback-adjusting working condition |
Also Published As
Publication number | Publication date |
---|---|
AU4568596A (en) | 1996-05-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0556049B1 (en) | A working system and method for improving dimensional accuracy of processed workpieces | |
EP1090335B1 (en) | System and method for controlling the manufacture of discrete parts in semiconductor fabrication using model predictive control | |
EP0665481B1 (en) | Apparatus and method for feedback adjusting machine working condition for improving dimensional accuracy of processed workpieces | |
US8412370B2 (en) | Polishing apparatus with dressing position setting means | |
CN110780639A (en) | Grinding quality evaluation model generation device and related device | |
EP3736648B1 (en) | Method for autonomous optimization of a grinding process | |
US5072550A (en) | Grinding method and grinding machine with controlled grinding force | |
AU683788B2 (en) | Apparatus and method for feedback-adjusting working condition for improving dimensional accuracy of processed workpieces | |
Denkena et al. | Automatic process parameter adaption for a hybrid workpiece during cylindrical operations | |
Yang et al. | Hybrid adaptive control based on the characteristics of CNC end milling | |
US5402354A (en) | Control apparatus and control method for machine tools using fuzzy reasoning | |
US4117634A (en) | Controlling method for a grinding machine | |
EP0562632B1 (en) | Method and apparatus for grinding a workpiece | |
JPH08297507A (en) | Feedback type machining condition correcting device | |
JPH08211919A (en) | Feedback type working condition corrector and feedback type working method | |
Allanson et al. | Automatic dwell control in computer numerical control plunge grinding | |
JP2924461B2 (en) | Feedback processing condition correction device | |
JP2808485B2 (en) | Control method of cylindrical grinding machine | |
JP3097280B2 (en) | Feedback processing condition correction device | |
CN117863068A (en) | Advanced process control method and chemical mechanical polishing system | |
JPH0839426A (en) | Grinding device | |
JPH02186402A (en) | Pid controller | |
WO2020088733A1 (en) | Method and system for cleaning a surface of a receptacle | |
JPH06304863A (en) | Grinding device | |
JPH0847846A (en) | Control method for grinding work and device thereof |