JP3173199B2 - Feedback processing condition correction device - Google Patents
Feedback processing condition correction deviceInfo
- Publication number
- JP3173199B2 JP3173199B2 JP35824092A JP35824092A JP3173199B2 JP 3173199 B2 JP3173199 B2 JP 3173199B2 JP 35824092 A JP35824092 A JP 35824092A JP 35824092 A JP35824092 A JP 35824092A JP 3173199 B2 JP3173199 B2 JP 3173199B2
- Authority
- JP
- Japan
- Prior art keywords
- correction
- value
- correction value
- processing
- measured
- 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 - Lifetime
Links
Landscapes
- Automatic Control Of Machine Tools (AREA)
- Numerical Control (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、加工されたワークの寸
法誤差に関連する情報をフィードバックすることによ
り、次に加工されるべきワークの加工条件を補正するフ
ィードバック式加工条件補正装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a feedback-type processing condition correction apparatus for correcting processing conditions of a work to be processed next by feeding back information relating to a dimensional error of a processed work. is there.
【0002】[0002]
【従来の技術】本出願人は、上記フィードバック式加工
条件補正装置の一形式として次のようなものを研究中で
ある。それは、(a) 複数のワークの各々を順に加工する
加工機と、(b) 外部から供給される補正値に基づいて加
工機の加工条件を決定し、その決定した加工条件に従っ
てその加工機を制御する加工機制御手段と、(c) 加工機
により加工された複数のワークの各々の寸法を順に測定
する測定機とを備えるとともに、それら加工機と測定機
との間にその測定機による測定を待つワークが存在する
ことを許容する加工システムのそれら加工機制御手段と
測定機とに接続されて使用されるべきフィードバック式
加工条件補正装置であって、(d) 測定機による測定値に
基づき、加工機により次に加工されるべきワークに対応
する補正値を決定する補正値決定手段と、(e) 決定され
た補正値を加工機制御手段に供給する補正値供給手段と
を含むものである。2. Description of the Related Art The present applicant is studying the following as one type of the above-mentioned feedback-type processing condition correction apparatus. That is, (a) a processing machine that sequentially processes each of a plurality of works, and (b) processing conditions of the processing machine are determined based on a correction value supplied from the outside, and the processing machine is determined according to the determined processing conditions. A processing machine control means for controlling, and (c) a measuring machine for sequentially measuring the dimensions of each of a plurality of workpieces processed by the processing machine, and measuring by the measuring machine between the processing machine and the measuring machine. Feedback processing condition correction device to be used connected to the processing machine control means and the measuring machine of the processing system that allows the existence of a workpiece waiting for, and (d) based on the measured value by the measuring machine A correction value determining means for determining a correction value corresponding to a work to be processed next by the processing machine; and (e) a correction value supply means for supplying the determined correction value to the processing machine control means.
【0003】そして、本出願人は先に、その形式のフィ
ードバック式加工条件補正装置の一態様として次のよう
なものを提案した。それは、測定機により複数のワーク
が順に測定されるごとに、すなわち、測定機による測定
値が取得されるごとに、次に加工されるべきワークに対
応する補正値を決定する連続的補正型のフィードバック
式加工条件補正装置である。[0003] The present applicant has previously proposed the following as one embodiment of a feedback-type processing condition correction device of that type. It is a continuous correction type that determines a correction value corresponding to a workpiece to be processed next each time a plurality of workpieces are sequentially measured by the measuring machine, that is, each time a measurement value is obtained by the measuring machine. This is a feedback processing condition correction device.
【0004】[0004]
【発明が解決しようとする課題】しかし、この連続的補
正型のフィードバック式加工条件補正装置には次のよう
な問題があることが判明した。すなわち、このフィード
バック式加工条件補正装置は加工条件の補正値の決定を
頻繁に行わなければならないため、装置自身にかかる負
担が大きいという問題があるのである。However, it has been found that the continuous correction type feedback processing condition correction apparatus has the following problems. That is, this feedback-type processing condition correction apparatus has a problem that the load on the apparatus itself is large because the correction value of the processing condition must be determined frequently.
【0005】この問題は、フィードバック式加工条件補
正装置を次の構成にすれば解決できる。図1に示すよう
に、前記加工機1,加工機制御手段2および測定機3を
備えるとともに、それら加工機1と測定機3との間にそ
の測定機3による測定を待つワークが存在することを許
容する加工システムと共に使用されるべきフィードバッ
ク式加工条件補正装置であって前記補正値決定手段4お
よび補正値供給手段5を含むものにおいて、その補正値
決定手段4を、測定機3により複数のワークが順に測定
されるのに対して間欠的に、加工機1により次に加工さ
れるべきワークに対応する補正値を決定するものとする
のである。 [0005] This problem is caused by a feedback-type processing condition supplement.
This can be solved by using the following structure for the main device. As shown in FIG.
In addition, the processing machine 1, the processing machine control means 2 and the measuring machine 3
And between the processing machine 1 and the measuring machine 3
That there is a workpiece waiting for measurement by the measuring machine 3
Feedback to be used with the processing system
A machining-type processing condition correction device, wherein the correction value determination means 4 and
And the correction value supply means 5
A plurality of works are sequentially measured by the measuring device 3 by the determining means 4.
Is processed intermittently by the processing machine 1
The correction value corresponding to the work to be performed shall be determined
It is.
【0006】このフィードバック式加工条件補正装置に
おいては、図18にグラフで概念的に示すように、補正
値決定手段4により、測定機3により複数のワークが測
定されるのに対して間欠的に、次に加工されるべきワー
クの加工条件の補正値が決定される。複数の測定値が順
に取得されるのに同期して連続的に決定されるのではな
く、間欠的に決定されるのである。 [0006] In this feedback-type processing condition correction device,
As shown conceptually in the graph of FIG.
A plurality of workpieces are measured by the measuring machine 3 by the value determining means 4.
Intermittently, while the next
The correction value of the machining condition of the workpiece is determined. Multiple measurements in order
Is not determined continuously in synchronization with the
It is determined intermittently.
【0007】ただし、このグラフは、加工機1と測定機
3との間にその測定機3による測定を待つワーク(以
下、「待機ワーク」ともいう)が存在する場合に取得さ
れるものであり、このグラフにおいて「測定おくれ」と
は、加工機1と測定機3との間に存在する待機ワークの
数に相当する。また、グラフにおいて「U i 」は今回の
補正値を、「U i+1 」は次回の補正値をそれぞれ表して
いる。したがって、今回の補正値U i は測定おくれの後
に寸法誤差に現れ、また、同様に、次回の補正値 U i+1
も測定おくれの後に寸法誤差に現れることになる。ま
た、このグラフは、複数のワークを順に、互いに同じ加
工条件に従って加工した場合にはそれら各ワークの寸法
誤差が、測定機3により測定されたワークの数(以下、
「測定ワーク数」という)の増加に対してほぼ比例的に
増加すると仮定した場合に取得されるものでもある。な
お、それらの事情は以下のグラフにおいても同様であ
る。 However, this graph shows the processing machine 1 and the measuring machine
3 and a work waiting for measurement by the measuring machine 3
(Also referred to as “waiting work” below)
In this graph, "measurement delay"
Is a standby work existing between the processing machine 1 and the measuring machine 3.
Equivalent to a number. In the graph, “U i ”
The correction value and “U i + 1 ” represent the next correction value, respectively.
I have. Therefore, the current correction value U i is calculated after
At the next time, and similarly, the next correction value U i + 1
Will also appear in the dimensional error after the delay in measurement. Ma
In addition, this graph shows that multiple workpieces are
When processing according to the processing conditions, the dimensions of each of those workpieces
The error is the number of workpieces measured by the measuring machine 3 (hereinafter, referred to as the number of workpieces).
In proportion to the increase in the number of measurement workpieces)
It is also obtained if it is assumed to increase. What
The same is true for the following graphs.
You.
【0008】ところで、この装置は、前述のように、加
工機1および測定機3の間に待機ワークが存在すること
を許容する加工システムと共に使用されるべきものであ
るから、前回の補正値の影響を受けた加工条件に従って
加工されたワークがその直後に測定機3により測定され
るとは限らず、いくつか別のワークの測定を経た後には
じめて測定される場合もある。したがって、前回の補正
値の影響を直接に今回の補正値に反映させることが必要
である場合には、前回の補正値の影響を受けた加工条件
に従って加工された少なくとも1個のワークが測定機3
により測定されるごとに、今回の補正値を決定すること
が望ましい。 By the way, as described above, this device is
Standby work between the machine 1 and the measuring machine 3
Should be used with a processing system that allows
Therefore, according to the processing conditions affected by the previous correction value
The machined work is measured by the measuring machine 3 immediately thereafter.
Not necessarily, after some other work measurements
Sometimes it is measured first. Therefore, the last correction
It is necessary to directly reflect the effect of the value on this correction value
If, processing conditions affected by the previous correction value
At least one workpiece processed according to
Determine the current correction value each time it is measured by
Is desirable.
【0009】そのためには、例えば、フィードバック式
加工条件補正装置を、補正値決定手段4により、少なく
とも、その補正値決定手段4が前回決定した補正値の影
響を受けた加工条件に従って加工されたワークについて
測定機3による測定が終了しない間は、今回の補正値が
決定されることはないようにすればよい。 しかし、その
ように構成したフィードバック式加工条件補正装置にも
未だ問題がある。測定機3による測定値そのものには誤
差があることを避け得ないため、真の補正値を精度よく
推定することができないのである。 For this purpose, for example, a feedback type
The processing condition correction device is reduced by the correction value determination means 4.
The shadow of the correction value previously determined by the correction value determining means 4
Work processed according to the affected processing conditions
While the measurement by the measuring device 3 is not completed, the current correction value is
What is necessary is just to make it not determined. But that
Feedback type processing condition correction device configured as above
There is still a problem. There is an error in the measured value itself
Since the difference cannot be avoided, the true correction value can be accurately calculated.
It cannot be estimated.
【0010】請求項1〜7の各発明はこの問題を解決す
ることを課題としてなされたものである。The inventions of claims 1 to 7 have been made to solve this problem.
【0011】[0011]
【課題を解決するための手段】この課題を解決するため
に請求項1の発明は、前記図1に示したように、加工機
1,加工機制御手段2および測定機3を備えるととも
に、それら加工機1と測定機3との間にその測定機3に
よる測定を待つワークが存在することを許容する加工シ
ステムと共に使用されるべきフィードバック式加工条件
補正装置であって前記補正値決定手段4および補正値供
給手段5を含むものにおいて、補正値決定手段4を、測
定機3により順に取得される複数の測定値を逐次蓄積
し、蓄積された測定値の数が設定複数個以上となったと
きに、それら蓄積された最新の設定複数個の測定値に基
づいて加工機1により次に加工されるべきワークの前記
加工条件の補正値を決定し、その補正値の決定時期以後
に、前記測定値の蓄積を無蓄積状態から再開するものと
したことを特徴とする。[Means for Solving the Problems] In order to solve this problem
As shown in FIG. 1, the invention of claim 1 includes a processing machine 1, a processing machine control means 2 and a measuring machine 3, and the measuring machine 3 is provided between the processing machine 1 and the measuring machine 3. A feedback-type processing condition correction apparatus to be used with a processing system that permits the presence of a workpiece waiting for measurement by the correction value determination means 4 and the correction value supply means 5; Are sequentially stored in a plurality of measurement values sequentially obtained by the measuring device 3.
When the number of stored measurement values exceeds the set number,
At the same time, based on the accumulated latest set of measured values.
Of the work to be processed next by the processing machine 1
Determine the correction value of the machining condition, and after the time of determination of the correction value
Preferably, accumulation of the measured values is restarted from a non-accumulation state .
【0012】なお、ここにおいて「補正値決定手段4」
は例えば、測定値とワークの加工寸法の目標値との差で
ある誤差値にのみ基づいて補正値を決定する態様とした
り、その誤差値のみならずそれの変化傾向(誤差値が、
測定機3により測定されたワークの数の増加につれて変
化する傾向)にも基づいて補正値を決定する態様とした
り、それら誤差値およびその変化傾向のみならずその変
化傾向の変化傾向にも基づいて補正値を決定する態様と
することができる。また、今回の測定値と過去の測定値
とに基づいて今回の測定値の真の値を推定し、その推定
した真の値を実際の測定値とみなして補正値を決定する
態様とすることもできる。Here, the "correction value determining means 4"
For example, the correction value may be determined based only on the error value that is the difference between the measured value and the target value of the processing dimension of the workpiece, or the error value as well as the change tendency thereof (the error value may be
The correction value is determined based on the tendency of the change as the number of workpieces measured by the measuring machine 3 increases), or based on not only the error value and the change tendency but also the change tendency of the change tendency. A mode in which the correction value is determined can be adopted. In addition, the true value of the current measurement value is estimated based on the current measurement value and the past measurement value, and the correction value is determined by regarding the estimated true value as the actual measurement value. Can also.
【0013】請求項2の発明は、請求項1の発明におけ
る「補正値決定手段4」(図1)を、測定機3による測
定値を逐次蓄積し、蓄積された測定値の数が設定複数個
以上となったときに、それら蓄積された最新の設定複数
個の測定値に基づいて今回の補正値を決定し、その今回
の補正値の影響を受けた加工条件に従って加工された少
なくとも1個のワークのうち最初に測定機3により測定
されることとなる先頭補正対象ワークがその測定を終了
する時期以後に、測定値の蓄積を無蓄積状態から再開す
るものとしたことを特徴とする。According to a second aspect of the present invention, the "correction value determining means 4" (FIG. 1) according to the first aspect of the present invention is configured to sequentially accumulate the measured values measured by the measuring device 3 and to set a plurality of the accumulated measured values. When the number becomes more than one, the current correction value is determined based on the accumulated measurement values of the latest set, and at least one of the processed values is processed in accordance with the processing conditions affected by the current correction value. The accumulation of the measured values is restarted from the non-accumulation state after the time when the head correction target work to be measured first by the measuring machine 3 among the works is completed its measurement.
【0014】請求項3の発明は、請求項2の発明におけ
る「補正値決定手段4」(図1)を、測定機3による
測定値を逐次蓄積し、蓄積された測定値の数が設定複数
個以上となったときに、それら蓄積された最新の設定複
数個の測定値に基づいて今回の暫定補正値を決定し、そ
れを最終補正値とする主補正と、 その主補正の終了後
にも測定値の蓄積を続行し、その主補正の終了後から、
その主補正の最終補正値の影響を受けた加工条件に従っ
て加工された少なくとも1個のワークのうち最初に測定
機3により測定されることとなる先頭補正対象ワークよ
り1回だけ先に加工されたワークについてその測定機3
による測定が終了する時期以前まで、その測定機3によ
りワークが測定されるごとに、蓄積された最新の設定複
数個の測定値に基づき、主補正におけると同じ規則に従
って各回の暫定補正値を決定し、決定した各回の暫定補
正値から前回の暫定補正値を引いたものを各回の最終補
正値に決定する補助補正とを行い、さらに、 主補正の
最終補正値に係る先頭補正対象ワークが測定機3による
測定を終了する時期以後に、測定値の蓄積を無蓄積状態
から再開するものとし、かつ、「補正値供給手段5」
を、その補正値決定手段4により決定された主補正およ
び補助補正の最終補正値をそれぞれ順に加工機制御手段
2に供給するものとしたことを特徴とする。Claims3The invention of claim2In the invention of
The "correction value determining means 4" (FIG. 1)
Measured values are accumulated sequentially, and the number of accumulated measured values can be set multiple times
When the number becomes more than
The provisional correction value of this time is determined based on several measurement values, and
A main correction that takes this as the final correction value, After the end of the main correction
Continue to accumulate the measured values, and after the end of the main correction,
According to the processing conditions affected by the final correction value of the main correction
First of at least one workpiece processed
Work to be corrected by the machine 3
Measuring machine 3 for workpieces processed only once
Until the time when measurement by
Each time a workpiece is measured, the latest set
Based on several measurements, follow the same rules as in the main correction
To determine the provisional correction value for each
The value obtained by subtracting the previous provisional correction value from the positive value is the final
Auxiliary correction to determine a positive value is performed. Main correction
The work to be corrected at the top of the final correction value is determined by the measuring machine 3.
After the end of measurement, accumulation of measured values is not accumulated.
And the "correction value supply means 5"
To the main correction determined by the correction value determination means 4.
Processing machine control means
2 is supplied.
【0015】請求項4の発明は、その請求項3の発明に
おける「補正値決定手段4」(図1)を、一連の補助補
正における最終補正値の決定回数を測定し、その測定し
た決定回数が設定値に達したときに、前記主補正および
その一連の補助補正のうち少なくともその一連の補助補
正において決定された複数の最終補正値の和が略0でな
い場合には、その一連の補助補正を終了し、略0である
場合には、その一連の補助補正を続行するとともに決定
回数の測定を0から再開するものとしたことを特徴とす
る。According to a fourth aspect of the present invention, the "correction value determining means 4" (FIG. 1) according to the third aspect of the invention measures the number of final correction value determinations in a series of auxiliary corrections, and determines the measured number of determinations. Reaches a set value, if the sum of a plurality of final correction values determined in at least the series of auxiliary corrections of the main correction and the series of auxiliary corrections is not substantially zero , the series of auxiliary corrections Is terminated, and when the value is approximately 0 , the series of auxiliary corrections is continued, and the measurement of the number of determinations is restarted from 0.
【0016】請求項5の発明は、前記請求項1の発明に
おける「補正値決定手段4」(図1)を、測定機3によ
る測定値を逐次蓄積し、蓄積された測定値の数が設定複
数個以上となったときに、それら蓄積された最新の設定
複数個の測定値に基づいて今回の補正値を決定し、その
今回の補正値の決定時期以後に、測定値の蓄積を無蓄積
状態から再開し、その再開時期から、その今回の補正値
の影響を受けた加工条件に従って加工された少なくとも
1個のワークのうち最初に測定機3により測定されるこ
ととなる先頭補正対象ワークより1回だけ先に加工され
たワークについてその測定が終了する時期までの間は、
その測定機3によりワークが測定されるごとに、各回の
実際の測定値と前記今回の補正値とに基づき、それら各
ワークがその今回の補正値の影響を受けた加工条件に従
って加工されたと仮定した場合にそれら各ワークについ
て測定される値を予測し、その予測した測定値を実際の
測定値とみなして蓄積するものとし、かつ、「補正値供
給手段5」を、その補正値決定手段4により決定された
補正値を加工機制御手段2に供給するものとしたことを
特徴とする。According to a fifth aspect of the present invention, the "correction value determining means 4" (FIG. 1) according to the first aspect of the present invention sequentially accumulates the measured values measured by the measuring device 3, and sets the number of the accumulated measured values. When there are more than one, the current correction value is determined based on the latest stored multiple measurement values, and no accumulation of measured values is performed after the current correction value determination time. From the head correction target work to be measured by the measuring machine 3 first among at least one work processed according to the processing conditions affected by the current correction value from the restart time. Until the time when the measurement is finished for the workpiece that has been processed only once,
Each time the work is measured by the measuring machine 3, it is assumed that each of the works has been processed in accordance with the processing conditions affected by the current correction value, based on the actual measurement value of each time and the current correction value. In this case, it is assumed that the measured value of each of the workpieces is predicted, the predicted measured value is regarded as an actual measured value, and the measured value is stored. It has been determined by the
The correction value is supplied to the processing machine control means 2.
【0017】請求項6の発明は、その請求項6の発明に
おける「補正値決定手段4」(図1)を、 測定機3に
よる測定値を逐次蓄積し、蓄積された測定値の数が設定
複数個以上となったときに、それら蓄積された最新の設
定複数個の測定値に基づいて今回の暫定補正値を決定
し、それを最終補正値とする主補正と、 その主補正の
終了後にも測定値の蓄積を続行し、その主補正の終了後
から、その主補正の最終補正値の影響を受けた加工条件
に従って加工された少なくとも1個のワークのうち最初
に測定機3により測定されることとなる先頭補正対象ワ
ークより1回だけ先に加工されたワークについてその測
定機3による測定が終了する時期以前まで、その測定機
3によりワークが測定されるごとに、蓄積された最新の
設定複数個の測定値に基づき、主補正におけると同じ規
則に従って各回の暫定補正値を決定し、その決定した各
回の暫定補正値から前回の暫定補正値を引いたものを各
回の最終補正値に決定する補助補正とを行い、さらに、
その補助補正の終了後に、測定値の蓄積を無蓄積状態
から再開し、その再開時期から、主補正の最終補正値に
係る先頭補正対象ワークより1回だけ先に加工されたワ
ークについて測定機3による測定が終了する時期までの
間は、その測定機3によりワークが測定されるごとに、
各回の実際の測定値と最新の最終補正値とに基づき、そ
れら各ワークがその最新の最終補正値の影響を受けた加
工条件に従って加工されたと仮定した場合にそれら各ワ
ークについて測定される値を予測し、その予測した測定
値を実際の測定値とみなして蓄積するものとし、かつ、
「補正値供給手段5」を、その補正値決定手段4により
決定された主補正および補助補正の最終補正値をそれぞ
れ順に加工機制御手段2に供給するものとしたことを特
徴とする。The invention of claim 6 is the invention of claim 6
"Correction value determining means 4" (FIG. 1) For measuring machine 3
Accumulates measured values sequentially and sets the number of accumulated measured values
When there are more than one, the latest
Determines the current provisional correction value based on a number of measured values
And the main correction to make it the final correction value, Its main correction
After the end of the main correction
From the processing conditions affected by the final correction value of the main correction
Of at least one workpiece processed according to
To be corrected by the measuring machine 3
Measurement of a workpiece processed only once before
Until the time when the measurement by the fixed machine 3 is completed, the measuring machine
Each time the workpiece is measured by 3, the accumulated latest
Based on multiple measured values, the same
The provisional correction value for each time is determined according to the
The value obtained by subtracting the previous provisional correction value from the
Auxiliary correction is performed to determine the final correction value, and
After the auxiliary correction is completed, the accumulation of measured
From the time of the resumption to the final correction value of the main correction.
Wafers processed only once before the work to be corrected
Until the time when the measurement by the measuring machine 3 is completed.
During that time, every time the work is measured by the measuring machine 3,
Based on the actual measured value of each time and the latest final correction value,
Each workpiece is affected by the latest final correction value.
If it is assumed that it has been processed in accordance with
The value to be measured for the peak
Values shall be considered as actual measurements and stored, and
The "correction value supply means 5" is used by the correction value determination means 4
The final correction value of the determined main correction and auxiliary correction
In order of supply to the processing machine control means 2.
Sign.
【0018】請求項7の発明は、その請求項6の発明に
おける「補正値決定手段4」(図1)を、一連の補助補
正における最終補正値の決定回数を測定し、その測定し
た決定回数が設定値に達したときに、前記主補正および
その一連の補助補正のうち少なくともその一連の補助補
正において決定された複数の最終補正値の和が略0でな
い場合には、その一連の補助補正を終了し、略0である
場合には、その一連の補助補正を続行するとともに決定
回数の測定を0から再開するものとしたことを特徴とす
る。According to a seventh aspect of the present invention, the "correction value determining means 4" (FIG. 1) according to the sixth aspect of the present invention measures the number of final correction value determinations in a series of auxiliary corrections, and determines the determined number of determinations. Reaches a set value, if the sum of a plurality of final correction values determined in at least the series of auxiliary corrections of the main correction and the series of auxiliary corrections is not substantially zero , the series of auxiliary corrections Is terminated, and when the value is approximately 0 , the series of auxiliary corrections is continued, and the measurement of the number of determinations is restarted from 0.
【0019】[0019]
【作用】請求項1の発明は、前述のように、図1に示し
たフィードバック式加工条件補正装置においては、測定
機3による測定値そのものに誤差があることを避け得な
いため、そのような誤差の影響をできる限り除去して真
の補正値を取得することを可能にするためになされたも
のであり、本発明に係るフィードバック式加工条件補正
装置においては、補正値決定手段4により、測定機3に
よる測定値が逐次蓄積され、蓄積された測定値の数が設
定複数個以上となったときに、それら蓄積された最新の
設定複数個の測定値に基づいて今回の補正値が決定さ
れ、その今回の補正値の決定時期以後に、測定値の蓄積
が無蓄積状態から再開される。したがって、この装置に
おいては、蓄積された測定値の数が設定複数個以上とな
るごとに補正値が決定されるから、加工機1と測定機3
との間に待機ワークが存在するか否かとは関係なく、測
定機3により複数のワークが順に測定されるのに対して
間欠的に、各回の補正値が決定されることになる。According to the first aspect of the present invention , as shown in FIG.
In the feedback-type processing condition correction device, it is unavoidable that there is an error in the measured value itself by the measuring machine 3, so that the influence of such an error is removed as much as possible and the true
In the feedback-type machining condition correction apparatus according to the present invention, the correction value determination means 4 sequentially accumulates the measurement values of the measuring device 3, When the number of stored measurement values becomes equal to or more than the set number, the current correction value is determined based on the stored latest plurality of measurement values. Then, the accumulation of the measurement values is restarted from the non-accumulation state. Therefore, in this apparatus, the correction value is determined each time the number of accumulated measurement values becomes equal to or more than the set number, so that the processing machine 1 and the measurement machine 3
Irrespective of whether or not there is a standby work, a plurality of works are sequentially measured by the measuring machine 3, while the correction value for each time is determined intermittently.
【0020】また、請求項2の発明に係るフィードバッ
ク式加工条件補正装置においては、図19にグラフで概
念的に示すように、補正値決定手段4により、測定機3
による測定値が逐次蓄積され、蓄積された測定値の数が
設定複数個以上となったときに、それら蓄積された最新
の設定複数個の測定値に基づいて今回の補正値が決定さ
れ、その今回の補正値の影響を受けた加工条件に従って
加工された少なくとも1個のワークのうち最初に測定機
3により測定されることとなる先頭補正対象ワークがそ
の測定を終了する時期以後に、測定値の蓄積が無蓄積状
態から再開される。したがって、今回の補正値の決定ま
でに蓄積されている測定値は、前回の補正値の影響を受
けた複数のワークの測定値だけとなり、今回の補正値が
前回の補正値の影響を直接に反映するように決定される
こととなる。Further, in the feedback-type machining condition correction apparatus according to the second aspect of the present invention, as shown conceptually in a graph of FIG.
Measurement values are sequentially accumulated, and when the number of accumulated measurement values becomes equal to or more than the set number, the current correction value is determined based on the accumulated latest set number of measured values. At least one work to be measured by the measuring machine 3 among the at least one work machined in accordance with the machining conditions affected by the current correction value is the measured value after the head correction target work ends its measurement. Is restarted from the non-accumulation state. Therefore, the measured values accumulated up to the determination of the current correction value are only the measured values of multiple workpieces affected by the previous correction value, and the current correction value directly reflects the effect of the previous correction value. It will be decided to reflect.
【0021】ところで、この請求項2の発明は例えば、
今回の補正値を加工機制御手段2に供給してから、次回
の補正値を加工機制御手段2に供給するまでの中間期間
である補正間隔期間は、補正値を決定せず、加工機制御
手段2における加工条件が同じ値に維持されるような態
様として実施することができる。そして、この場合には
普通、今回の補正値の大きさが、その今回の補正値の影
響を受けた少なくとも1個のワークの寸法誤差がそれら
ワーク全体としてできる限り0に近づくように決定され
る。例えば、複数のワークを順に、互いに同じ加工条件
に従って加工した場合にはそれら各ワークの寸法誤差が
測定ワーク数の増加に対してほぼ比例的に増加すると仮
定された上で、加工機1と測定機3との間に存在する待
機ワークの数を実際に検出し、または予測して、今回の
補正値の大きさが決定されるのである。なお、加工機1
と測定機3との間に存在する待機ワークの数を実際に検
出し、それにも基づいて今回の補正値を決定する技術
は、本出願人の特願平4−158787号明細書に記載
されている。By the way, the invention of claim 2 is, for example,
In the correction interval period, which is an intermediate period from when the current correction value is supplied to the processing machine control means 2 to when the next correction value is supplied to the processing machine control means 2, the correction value is not determined. The embodiment can be implemented in such a manner that the processing conditions in the means 2 are maintained at the same value. In this case, usually, the magnitude of the current correction value is determined such that the dimensional error of at least one work affected by the current correction value approaches zero as a whole of the works. . For example, when a plurality of workpieces are sequentially processed in accordance with the same processing conditions, it is assumed that the dimensional error of each of the workpieces increases almost in proportion to the increase in the number of workpieces to be measured. The magnitude of the current correction value is determined by actually detecting or estimating the number of standby workpieces existing with the machine 3. Processing machine 1
A technique of actually detecting the number of standby workpieces existing between the measuring apparatus 3 and the apparatus and determining the correction value based on the actual number is described in Japanese Patent Application No. 4-158787 of the present applicant. ing.
【0022】しかし、この請求項2の発明をこのような
態様で実施した場合には次のような問題が生ずる。すな
わち、今回の補正値を供給した時期以後に測定機3によ
る測定値に予定外の変化が現れた場合には、その今回の
補正値の影響を受けたにもかかわらず、ワークの寸法誤
差が十分には0に近づかないという問題があるのであ
る。However, when the invention of claim 2 is implemented in such a mode, the following problem occurs. That is, when an unexpected change appears in the measured value of the measuring device 3 after the time when the current correction value is supplied, the dimensional error of the work is affected despite the influence of the current correction value. There is a problem that it does not approach 0 sufficiently.
【0023】請求項3の発明はこの問題を解決すること
を課題としてなされたものであり、その発明に係るフィ
ードバック式加工条件補正装置においては、図20にグ
ラフで概念的に示すように、補正値決定手段4により、
各回の間欠的補正において主補正と補助補正とが順に行
われる。The invention of claim 3 has been made to solve this problem. In the feedback type machining condition correction apparatus according to the invention, as shown conceptually in FIG. By the value determining means 4,
In each intermittent correction, the main correction and the auxiliary correction are sequentially performed.
【0024】主補正においては、測定機3による測定値
が逐次蓄積され、蓄積された測定値の数が設定複数個以
上となったときに、それら蓄積された最新の設定複数個
の測定値に基づいて今回の暫定補正値が決定され、それ
が最終補正値とされる。In the main correction, the measured values obtained by the measuring device 3 are sequentially accumulated, and when the number of accumulated measured values becomes equal to or more than the set plural values, the accumulated set plural measured values are added to the latest set plural measured values. The provisional correction value of this time is determined based on this, and this is used as the final correction value.
【0025】一方、補助補正においては、その主補正の
終了後にも測定値の蓄積が続行され、その主補正の終了
後から、その主補正の最終補正値の影響を受けた加工条
件に従って加工された少なくとも1個のワークのうち最
初に測定機3により測定されることとなる先頭補正対象
ワークより1回だけ先に加工されたワークについてその
測定機3による測定が終了する時期以前まで、その測定
機3によりワークが測定されるごとに、蓄積された最新
の設定複数個の測定値に基づき、主補正の最終補正値と
同じ規則に従って各回の暫定補正値が決定され、決定さ
れた各回の暫定補正値から前回の暫定補正値を引いたも
のが各回の最終補正値に決定される。On the other hand, in the auxiliary correction, accumulation of the measured values is continued even after the main correction is completed, and after the main correction is completed, processing is performed according to the processing conditions affected by the final correction value of the main correction. In addition, of the at least one workpiece, a workpiece processed only once before the head correction target workpiece to be measured by the measuring machine 3 first before the time when the measurement by the measuring machine 3 is completed. Each time the workpiece is measured by the machine 3, a provisional correction value for each time is determined and determined according to the same rule as the final correction value of the main correction based on the accumulated latest plurality of measured values. A value obtained by subtracting the previous provisional correction value from each provisional correction value is determined as the final correction value for each time.
【0026】この補助補正においては、主補正における
と同様な規則に従って決定された補正値がそのまま加工
機制御手段2に供給されず、前回の暫定補正値からの差
として供給されるようになっているが、以下、その理由
を説明する。In this auxiliary correction, the correction value determined according to the same rule as in the main correction is not supplied to the processing machine control means 2 as it is, but is supplied as a difference from the previous provisional correction value. The reason will be described below.
【0027】補助補正においては、本来であれば、それ
に先立って行われる主補正の影響を受けたワークの測定
値に基づいて最終補正値を決定すべきである。しかし、
主補正の影響を受けたワークが、加工直後に測定機3に
より測定されるとは限らず、いくつか別のワークの測定
を経た後にはじめて測定される場合もある。そこで、こ
のフィードバック式加工条件補正装置においては、主補
正の影響を受けた先頭補正対象ワークより1回だけ先に
加工されたワークについて測定が終了する時期以前ま
で、各回の測定値に基づいて主補正と同じ規則に従って
決定された補正値がそのまま加工機制御手段2に供給さ
れるのではなく、主補正の影響を除去して供給される。
各回の測定値に基づいて主補正と同じ規則に従って決定
された補正値をそのまま加工機制御手段2に供給したの
では、主補正の影響が重複して、次に加工されるべきワ
ークの加工条件に及ぶことになってしまうのである。以
上、主補正とそれに後続する補助補正のうちの初回との
関係について説明したが、この関係は、補助補正におけ
るある回とその次の回との関係についても同様である。In the auxiliary correction, the final correction value should be determined based on the measured value of the work affected by the main correction performed prior to the auxiliary correction. But,
The work affected by the main correction is not always measured by the measuring machine 3 immediately after processing, but may be measured only after measuring some other work. Therefore, in this feedback-type processing condition correction apparatus, the main processing is performed on the basis of the measured values of each work until the time when the measurement is finished for the work processed once before the head correction target work affected by the main correction. The correction value determined according to the same rule as the correction is not supplied to the processing machine control means 2 as it is, but is supplied after removing the influence of the main correction.
If the correction value determined according to the same rule as the main correction based on each measurement value is supplied to the processing machine control means 2 as it is, the influence of the main correction overlaps and the processing condition of the work to be processed next is duplicated. It will reach to. The relationship between the main correction and the first of the subsequent auxiliary corrections has been described above, but the same applies to the relationship between a certain time in the auxiliary correction and the next time.
【0028】この装置においては、さらに、補正値決定
手段4により、主補正の最終補正値に係る先頭補正対象
ワークが測定機3による測定を終了する時期以後に、測
定値の蓄積が無蓄積状態から再開される。In this apparatus, furthermore, the correction value determining means 4 keeps the accumulation of the measured values in the non-accumulated state after the time when the measurement of the head correction target work relating to the final correction value of the main correction is completed by the measuring machine 3. Will be restarted.
【0029】すなわち、この装置においては、各回の間
欠的補正において主補正の後に補助補正が行われ、主補
正の終了後に測定値に現れた予定外の変化に迅速に対応
することができるようになっているのである。That is, in this device, in each intermittent correction, the auxiliary correction is performed after the main correction, so that an unexpected change that appears in the measured value after the main correction is completed can be quickly dealt with. It is becoming.
【0030】ところで、本出願人は、その請求項3の発
明を、補助補正の存在によって装置自身にかかる負担の
増加をできる限り小さく抑えるために、次のような態様
で実施することを提案した。それは、一連の補助補正に
おける最終補正値の決定回数を測定し、その測定した決
定回数が設定値に達したときにその一連の補助補正を終
了するという技術である。しかし、この態様で実施した
場合には、補助補正の終了時期が主補正の実行時期との
関係において固定されるため、主補正および補助補正が
本当に必要な時期、すなわち測定値に顕著な変化が現れ
た時期以後に実行されないことがあるという問題が生ず
る。すなわち、前記請求項2の発明を前記中間期間にお
ける補正値を0に決定する態様で実施する場合に比較す
れば、測定値の予定外の変化により確実に対応すること
はできるのであるが、十分な効果が得られない場合もあ
るのである。By the way, the present applicant has proposed to implement the invention of claim 3 in the following manner in order to minimize the increase in the load on the device itself due to the presence of the auxiliary correction. . This is a technique of measuring the number of final correction value determinations in a series of auxiliary corrections and ending the series of auxiliary corrections when the measured number of determinations reaches a set value. However, in the case of performing in this mode, the end time of the auxiliary correction is fixed in relation to the execution time of the main correction. There is a problem that the program may not be executed after the time when it appears. That is, when the invention of claim 2 is compared with a case where the correction value in the intermediate period is determined to be 0, it is possible to reliably cope with an unexpected change in the measured value. In some cases, such effects cannot be obtained.
【0031】請求項4の発明は、この問題を解決するこ
とを課題としてなされたものであって、その発明に係る
フィードバック式加工条件補正装置においては、補正値
決定手段4により、一連の補助補正における最終補正値
の決定回数が測定され、その測定された決定回数が設定
値に達したときに、主補正およびその一連の補助補正の
うち少なくともその一連の補助補正において決定された
複数の最終補正値の和が略0でない場合には、その一連
の補助補正が終了され、略0である場合には、一連の補
助補正が続行されるとともに決定回数の測定が0から再
開される。A fourth object of the present invention is to solve this problem. In a feedback-type machining condition correcting apparatus according to the present invention, a series of auxiliary corrections is performed by a correction value determining means 4. Is determined, and when the measured number of determinations reaches a set value, a plurality of final corrections determined in at least the series of auxiliary corrections of the main correction and the series of auxiliary corrections are performed. If the sum of the value is not substantially zero, the series of auxiliary compensation is terminated, when substantially 0, the measurement of the decision number with a series of auxiliary compensation is continued is restarted from zero.
【0032】すなわち、決定された複数の最終補正値の
和が略0であるということは、今回の主補正および補助
補正のうち少なくとも補助補正が無駄であり、本当に必
要な場合に行われなかったことを意味するから、さらに
引き続いて補助補正を行うことにより、主補正および補
助補正の実効をあげるのである。That is, the fact that the sum of the determined plural final correction values is substantially zero means that at least the auxiliary correction among the main correction and the auxiliary correction this time is useless and is not performed when it is really necessary. This means that the main correction and the auxiliary correction are made more effective by further performing the auxiliary correction.
【0033】ところで、前記請求項2の発明を前記中間
期間における補正値を0に決定する態様で実施する場合
には、次のような問題もある。By the way, when the invention of claim 2 is carried out in a mode in which the correction value in the intermediate period is determined to be 0, there are the following problems.
【0034】この場合、今回の補正値の決定・供給時期
の直後から、測定値の蓄積を再開することができない。
すなわち、今回の補正値の決定・供給時期から次回の補
正値の決定・供給時期までにかかる時間(以下、「補正
間隔時間」という)が、図19に示すように、その今回
の補正値の影響を受けた先頭補正対象ワークが加工され
てから測定機3により測定されるまでの時間(加工機1
と測定機3の間に存在する待機ワークの数に相当する)
と、その後測定値の蓄積が開始されて設定複数個の測定
値が蓄積されるまでの時間との和となるのである。その
ため、加工機1と測定機3との間に多くの待機ワークが
存在することを避け得ないような場合には、補正間隔時
間が長くなることを避け得ない。補正間隔時間が長くな
れば測定ワーク数が増加し、一方、ワークの寸法誤差は
普通、前述のように、測定ワーク数が増加するにつれて
増加する傾向があるから、前記請求項2の発明を前記中
間期間における補正値を0に決定する態様で実施する場
合には、やや大きな寸法誤差を有するワークが発生して
しまうことを避け得ないという問題があるのである。In this case, the accumulation of the measured values cannot be resumed immediately after the current determination and supply of the correction values.
That is, as shown in FIG. 19, the time taken from the determination and supply time of the current correction value to the determination and supply time of the next correction value (hereinafter, referred to as “correction interval time”) is, as shown in FIG. The time from the processing of the affected head correction target work to the measurement by the measuring machine 3 (processing machine 1
(Equivalent to the number of standby workpieces between the measuring machine 3)
And the time from when the accumulation of the measured values is started to when a plurality of set measured values are accumulated thereafter. Therefore, when it is unavoidable that there are many standby works between the processing machine 1 and the measuring machine 3, it is unavoidable that the correction interval time becomes long. The longer the correction interval time, the greater the number of workpieces to be measured, while the dimensional error of the workpieces generally tends to increase as the number of workpieces to be measured increases, as described above. In the case where the correction value in the intermediate period is determined to be 0, there is a problem that it is inevitable that a work having a somewhat large dimensional error is generated.
【0035】請求項5の発明は、この問題を解決するこ
とを課題としてなされたものであって、その発明に係る
フィードバック式加工条件補正装置においては、図21
にグラフで概念的に示すように、補正値決定手段4によ
り、測定機3による測定値が逐次蓄積され、蓄積された
測定値の数が設定複数個以上となったときに、それら蓄
積された最新の設定複数個の測定値に基づいて今回の補
正値が決定され、その今回の補正値の決定時期以後に、
測定値の蓄積が無蓄積状態から再開され、その再開時期
から、その今回の補正値の影響を受けた加工条件に従っ
て加工された複数のワークのうち最初に測定機3により
測定されることとなる先頭補正対象ワークより1回だけ
先に加工されたワークについてその測定が終了する時期
までの間は、その測定機3によりワークが測定されるご
とに、各回の実際の測定値と今回の補正値とに基づき、
それら各ワークがその今回の補正値の影響を受けた加工
条件に従って加工されたと仮定した場合にそれら各ワー
クについて測定される値が予測され、その予測された測
定値が実際の測定値とみなされて蓄積される。The invention of claim 5, be those that have been made as object to solve this problem, in the feedback type processing condition correction device according to the invention, FIG. 21
As conceptually shown in the graph, the correction value determination means 4 sequentially accumulates the measurement values of the measuring device 3, and when the number of accumulated measurement values becomes equal to or more than a set number, the accumulated measurement values are accumulated. The current correction value is determined based on a plurality of measurement values of the latest setting, and after the time of determination of the current correction value,
The accumulation of the measured values is restarted from the non-accumulated state, and from the restart time, the measuring machine 3 first measures the plurality of workpieces processed according to the processing conditions affected by the current correction value. Until the time when the measurement is finished for a workpiece processed only once before the head correction target workpiece, each time the workpiece is measured by the measuring machine 3, the actual measured value of each time and the current correction value And based on
Assuming that each of the workpieces has been processed according to the processing conditions affected by the current correction value, the value measured for each of the workpieces is predicted, and the predicted measurement value is regarded as an actual measurement value. Is accumulated.
【0036】すなわち、この装置においては、今回の補
正値の決定時期からそれほど遅れることなく測定値の蓄
積が再開され、今回の補正値の決定時期から次回の補正
値の決定時期までにかかる補正間隔時間が、加工機1と
測定機3との間に存在するワークの影響を実質的に受け
なくなり、1個の補正値を決定するのに必要な測定値の
蓄積数によって決まることとなって、補正間隔時間を容
易に短縮し得ることとなる。That is, in this device, the accumulation of the measured values is restarted without much delay from the current correction value determination time, and the correction interval from the current correction value determination time to the next correction value determination time is set. The time is substantially unaffected by the work existing between the processing machine 1 and the measuring machine 3, and is determined by the number of accumulated measurement values necessary to determine one correction value. The correction interval time can be easily reduced.
【0037】請求項6の発明は、その請求項5の発明を
基礎とし、前記請求項3の発明と同様に、各回の間欠的
補正において主補正しか行わない場合の問題を解決する
ことを課題としてなされたものであり、この発明に係る
フィードバック式加工条件補正装置においては、図22
にグラフで概念的に示すように、補正値決定手段4によ
り、各回の間欠的補正において主補正と補助補正とが順
に行われる。A sixth aspect of the present invention is based on the fifth aspect of the present invention, and solves the problem in the case where only the main correction is performed in each intermittent correction, similarly to the third aspect of the invention. In the feedback-type processing condition correction apparatus according to the present invention, FIG.
As shown conceptually in the graph, the correction value determination means 4 sequentially performs the main correction and the auxiliary correction in each intermittent correction.
【0038】主補正および補助補正は、請求項3の発明
における主補正および補助補正と共通する。しかし、測
定値の蓄積は、請求項3の発明における測定値の蓄積と
異なる。The main correction and the auxiliary correction are common to the main correction and the auxiliary correction according to the third aspect of the present invention. However, accumulation of measured values is different from accumulation of measured values in the third aspect of the invention.
【0039】すなわち、請求項3の発明と同様に、補助
補正の終了後に、測定値の蓄積が無蓄積状態から再開さ
れるのであるが、最終補正値の最新値の決定時期以後か
ら、主補正の最終補正値に係る先頭補正対象ワークより
1回だけ先に加工されたワークについて測定機3による
測定が終了する時期までの間は、その測定機3によりワ
ークが測定されるごとに、各回の測定値と最新の最終補
正値とに基づき、それら各ワークがその最新の最終補正
値の影響を受けた加工条件に従って加工されたと仮定し
た場合にそれら各ワークについて測定される値が予測さ
れ、その予測された測定値が実際の測定値とみなされて
蓄積されるのである。That is, similarly to the third aspect of the invention, the accumulation of the measured values is restarted from the non-accumulation state after the auxiliary correction is completed. Until the time when the measurement by the measuring machine 3 is completed for the work processed once before the head correction target work related to the final correction value of the above, each time the work is measured by the measuring machine 3, Based on the measured value and the latest final correction value, the value measured for each of the workpieces is estimated when it is assumed that each of the workpieces has been processed according to the processing conditions affected by the latest final correction value. The predicted measurements are considered as actual measurements and are stored.
【0040】したがって、この装置においては、加工機
1と測定機3との間に待機ワークが存在してもその存在
を無視して、主補正および補助補正において各回の最終
補正値を決定することができるのである。Therefore, in this apparatus, even if a standby work exists between the processing machine 1 and the
The was ignored, it is possible to determine each time the final correction value in a main correction and an auxiliary correction.
【0041】請求項7の発明は、その請求項6の発明を
基礎とし、前記請求項4の発明と同様に、補助補正にお
ける最終補正値の決定回数を制限した場合の問題を解決
することを課題としてなされたものであり、この発明に
係るフィードバック式加工条件補正装置においては、補
正値決定手段5により、一連の補助補正における最終補
正値の決定回数が測定され、その測定された決定回数が
設定値に達したときに、主補正およびその一連の補助補
正のうち少なくともその一連の補助補正において決定さ
れた複数の最終補正値の和が略0でない場合には、その
一連の補助補正が終了され、略0である場合には、その
一連の補助補正が続行され、決定回数の測定が0から再
開される。The invention of claim 7 is based on the invention of claim 6 and solves the problem in the case where the number of determinations of the final correction value in the auxiliary correction is limited, as in the invention of claim 4. In the feedback-type machining condition correction apparatus according to the present invention, the number of determinations of the final correction value in the series of auxiliary corrections is measured by the correction value determination means 5, and the measured number of determinations is When the sum of the final correction values determined in at least the series of auxiliary corrections of the main correction and the series of auxiliary corrections when the set value is reached is not substantially zero , the series of auxiliary corrections is terminated. If the value is substantially zero , the series of auxiliary corrections is continued, and the measurement of the number of determinations is restarted from zero.
【0042】[0042]
【発明の効果】以上の説明から明らかなように、請求項
1〜7の各発明によれば、加工条件の補正値が間欠的に
決定されることとなり、装置自身にかかる負担が軽減さ
れるとともに、今回の測定値のみならず過去の測定値を
も考慮して今回の補正値を決定することが可能となるた
め、加工条件の補正精度が向上するという効果が得られ
る。 As is clear from the above description, according to the first to seventh aspects of the present invention, the correction value of the processing condition is determined intermittently, and the load on the apparatus itself is reduced. If both, not only current measurement values the past measurements
It is possible to determine the correction value this time in consideration of
This has the effect of improving the accuracy of machining condition correction.
You.
【0043】その上、請求項2の発明によれば、前回の
補正値の影響を受けたワークの寸法誤差の影響を直接に
反映して今回の補正値を決定することが可能となり、さ
らに、今回の測定値のみならず過去の測定値をも考慮し
て今回の補正値を決定することが可能となるため、加工
条件の補正精度が向上するという効果も得られる。In addition, according to the second aspect of the present invention, the present correction value can be determined by directly reflecting the influence of the dimensional error of the work affected by the previous correction value. Since it is possible to determine the current correction value in consideration of not only the current measurement value but also the past measurement value, the effect of improving the correction accuracy of the processing conditions can be obtained.
【0044】また、請求項3の発明によれば、その請求
項2の発明を実施するに当たり、主補正に続いて補助補
正が行われるから、加工条件の補正精度が向上するとい
う効果も得られる。According to the third aspect of the present invention, in implementing the second aspect of the present invention, the auxiliary correction is performed after the main correction, so that the effect of improving the accuracy of the processing conditions can be obtained. .
【0045】また、請求項4の発明によれば、その請求
項3の発明を実施するに当たり、予定された補助補正が
終了しても、主補正および補助補正のうち少なくとも補
助補正の実行時期が適切でなかった場合にはその補助補
正が続行させられるから、加工条件の補正精度が向上す
るという効果も得られる。According to the fourth aspect of the present invention, at the time of carrying out the third aspect of the invention, even if the scheduled auxiliary correction is completed, at least the execution timing of the auxiliary correction among the main correction and the auxiliary correction is determined. If the correction is not appropriate, the auxiliary correction is continued, and the effect of improving the correction accuracy of the processing conditions is also obtained.
【0046】また、請求項5の発明によれば、加工機1
と測定機3との間におけるワークの存在を無視して各回
の補正値を決定することが可能となり、今回の補正時期
と次回の補正時期との間の補正間隔時間の長さを容易に
短縮することが可能となる。補正間隔時間の長さとワー
クの寸法誤差との間には、図26にグラフで概念的に示
すように(実線はそのワークの存在を無視することがで
きない場合、破線は請求項5の発明を実施する場合をそ
れぞれ示す)、補正間隔時間が短いほど、各回の間欠的
補正におけるワークの寸法誤差の最大値が小さくなると
いう関係があるから、本発明によれば、補正間隔時間の
短縮によりワークの寸法誤差を容易に減少させ得るとい
う効果も得られることになる。According to the invention of claim 5 , the processing machine 1
And ignore the presence of the workpiece between the measuring machine 3 and it is possible to determine each time the correction value, the length of the correction interval time between the present correction timing and the next correction time easily It can be shortened. Between the length and workpiece dimensional error correction interval time, if it is not possible to ignore the presence of the (solid line the work as shown conceptually in the graph in FIG. 26, a dashed invention of claim 5 In the present invention, the shorter the correction interval time, the smaller the maximum value of the dimensional error of the work in each intermittent correction is. Therefore, according to the present invention, the work time can be reduced by shortening the correction interval time. In addition, the effect that the dimensional error of can be easily reduced can be obtained.
【0047】また、請求項6の発明によれば、その請求
項5の発明を実施するに当たり、主補正に続いて補助補
正が行われるから、加工条件の補正精度が向上するとい
う効果も得られる。According to the sixth aspect of the present invention, in carrying out the fifth aspect of the present invention, since the auxiliary correction is performed following the main correction, the effect of improving the accuracy of processing condition correction can be obtained. .
【0048】また、請求項7の発明によれば、その請求
項6の発明を実施するに当たり、予定された補助補正が
終了しても主補正および補助補正のうち少なくとも補助
補正の実行時期が適切でなかった場合にはその補助補正
が続行させられるから、加工条件の補正精度が向上する
という効果も得られる。According to the seventh aspect of the present invention, at the time of implementing the sixth aspect of the invention, at least the execution timing of the auxiliary correction among the main correction and the auxiliary correction is appropriate even if the planned auxiliary correction is completed. If not, the auxiliary correction is continued, so that the effect of improving the correction accuracy of the processing condition can be obtained.
【0049】[0049]
【実施例】以下、請求項1〜7の発明に共通の一実施例
であるフィードバック式の定寸点補正装置を図面に基づ
いて詳細に説明する。EXAMPLES hereinafter be described in detail with reference to the accompanying drawings sizing point correction apparatus of the feedback type which is common to an embodiment to the invention of claim 1-7.
【0050】この定寸点補正装置は、自動車のエンジン
のクランクシャフトを加工すべきワークとし、それに予
め形成されている複数のジャーナル面の各々を加工部位
として円筒研削する加工システムと共に使用される。こ
こにクランクシャフトとは、図2に示すように、互いに
同軸的に並んだ7個の外周円筒面(以下、単に「円筒
面」という)であるジャーナル面を有するワークであ
る。This fixed point correction device is used together with a machining system for processing a crankshaft of an automobile engine as a workpiece to be machined and cylindrical grinding each of a plurality of journal surfaces formed in advance as machining sites. As shown in FIG. 2, the crankshaft is a work having a journal surface that is seven outer peripheral cylindrical surfaces (hereinafter, simply referred to as “cylindrical surfaces”) arranged coaxially with each other.
【0051】加工システムは、具体的には、図3に示す
ように、加工ライン,加工機10,2個のインプロセス
測定機12(図には1個として示す),定寸装置14,
モータコントローラ15,全数測定機16,ワーク数カ
ウンタ18,制御装置20,補助記憶装置22等から構
成されており、以下、それら要素について個々に説明す
る。Specifically, as shown in FIG. 3, the processing system includes a processing line, a processing machine 10, two in-process measuring machines 12 (shown as one in the figure), a sizing device 14,
It comprises a motor controller 15, a total measuring machine 16, a work counter 18, a control device 20, an auxiliary storage device 22, and the like. These components will be described individually below.
【0052】加工ラインは、図において矢印付きの太い
実線で表されており、複数のワークが一列に並んで上流
側から下流側に向かって(図において左側から右側に向
かって)搬送されるものである。The processing line is represented by a thick solid line with an arrow in the figure, and a plurality of works are arranged in a line and transported from upstream to downstream (from left to right in the figure). It is.
【0053】加工機10は、クランクシャフトの7個の
ジャーナル面の各々に対し、加工具としての円形状の砥
石により、円筒研削を行うものである。具体的には、図
4に示すように、複数の砥石が同軸的に並んだ砥石群3
0とクランクシャフトとを接触回転させることにより、
7個のジャーナル面すべてに対して同時に円筒研削を行
うマルチ研削盤である。以下、その構成を簡単に説明す
る。The processing machine 10 performs cylindrical grinding on each of the seven journal surfaces of the crankshaft using a circular grindstone as a processing tool. Specifically, as shown in FIG. 4, a plurality of grindstones 3 are arranged coaxially.
By rotating contact 0 and the crankshaft,
This is a multi-grinding machine that simultaneously performs cylindrical grinding on all seven journal surfaces. Hereinafter, the configuration will be briefly described.
【0054】加工機10は、ワークのためのワークテー
ブル32を備えている。このワークテーブル32は加工
機10の図示しない主フレームに取り付けられている。
ワークテーブル32には、ワークをそれの軸線回りに回
転可能に保持する保持装置(図示しない)とその保持さ
れたワークを回転させるワークモータ34とが設けられ
ている。The processing machine 10 has a work table 32 for a work. The work table 32 is attached to a main frame (not shown) of the processing machine 10.
The work table 32 is provided with a holding device (not shown) for holding the work rotatably around its axis and a work motor 34 for rotating the held work.
【0055】加工機10はさらに、砥石群30のための
前進・後退テーブル36とスイングテーブル38とを備
えている。前進・後退テーブル36は前記主フレーム
に、前記ワークテーブル32に保持されているワークに
対する直角な方向における往復運動が可能な状態で取り
付けられている。一方、スイングテーブル38は、その
前進・後退テーブル36に、砥石軸線(図において一点
鎖線で示す)上にそれに直交する状態で設定されたスイ
ング軸線(図において紙面に直角な方向に延びる直線)
を中心としたスイングが可能(右回転も左回転も可能)
な状態で取り付けられている。前進・後退テーブル36
の前進・後退は主フレームに固定の前進・後退モータ4
0により、スイングテーブル38のスイングは前進・後
退テーブル36に固定のスイングモータ42によりそれ
ぞれ実現される。The processing machine 10 further includes a forward / retreat table 36 for the grindstone group 30 and a swing table 38. The forward / backward table 36 is attached to the main frame so as to be capable of reciprocating in a direction perpendicular to the work held on the work table 32. On the other hand, the swing table 38 has a swing axis (a straight line extending in a direction perpendicular to the plane of the paper in the figure) set on the advance / retreat table 36 on a grinding wheel axis (indicated by an alternate long and short dash line in the figure) so as to be orthogonal thereto.
Swing around (possible right or left rotation)
It is attached in a state. Forward / retreat table 36
Forward / reverse motor 4 fixed to the main frame
Due to 0, the swing of the swing table 38 is realized by the swing motor 42 fixed to the forward / retreat table 36, respectively.
【0056】すなわち、この加工機10においては、砥
石軸線とワークの回転軸線との成す角度(以下、「切込
み角」という)がスイングモータ42により調整可能な
のである。That is, in the processing machine 10, the angle formed by the axis of the grindstone and the axis of rotation of the workpiece (hereinafter referred to as “cutting angle”) can be adjusted by the swing motor 42.
【0057】前記2個のインプロセス測定機12はこの
加工機10に取り付けられている。それらインプロセス
測定機12はそれぞれ、図2に示すように、1個の円筒
面を外周両側から挟む一対の測定子を有し、電気マイク
ロメータ方式によりその円筒面の直径を測定するもので
ある。それらインプロセス測定機12は、7個のジャー
ナル面について個々に用意されているわけではなく、同
図に示すように、両端のジャーナル面、すなわち第1ジ
ャーナル面と第7ジャーナル面(以下、「2個の端円筒
面」ともいう)についてのみ用意されている。The two in-process measuring machines 12 are mounted on the processing machine 10. As shown in FIG. 2, each of the in-process measuring machines 12 has a pair of measuring elements sandwiching one cylindrical surface from both sides of the outer periphery, and measures the diameter of the cylindrical surface by an electric micrometer method. . These in-process measuring machines 12 are not individually prepared for the seven journal surfaces, but as shown in the figure, the journal surfaces at both ends, that is, the first journal surface and the seventh journal surface (hereinafter, referred to as “the journal surface”). (Also referred to as "two end cylindrical surfaces").
【0058】前記定寸装置14は、図4に示すように、
それらインプロセス測定機12にそれぞれ接続されてい
る。定寸装置14は、CPU,ROM,RAMおよびバ
スを含むコンピュータを主体として構成されていて、加
工機10による研削中、2個の端円筒面のそれぞれの直
径を各インプロセス測定機12を介して監視し、それら
各端円筒面における残存切込み量(最終寸法に到達する
までに切り込むことが必要な量)が各設定量(各端円筒
面ごとに存在する)に到達したときにはその旨の信号
(以下、「設定量到達信号」という)を、各最終寸法す
なわち各定寸点(各端円筒面ごとに存在する)に到達し
たときにはその旨の信号(以下、「定寸点到達信号」と
いう)を前記モータコントローラ15に各端円筒面に関
連付けてそれぞれ出力する。The sizing device 14 is, as shown in FIG.
Each of these in-process measuring machines 12 is connected. The sizing device 14 is mainly composed of a computer including a CPU, a ROM, a RAM, and a bus. During the grinding by the processing machine 10, the diameters of the two end cylindrical surfaces are measured via the in-process measuring machines 12. When the remaining cutting amount (the amount that needs to be cut to reach the final dimension) on each end cylindrical surface reaches each set amount (existing for each end cylindrical surface), a signal to that effect is sent. (Hereinafter, referred to as “set amount reaching signal”), when reaching each final dimension, that is, each fixed point (existing for each end cylindrical surface), a signal to that effect (hereinafter, referred to as “fixed point reaching signal”). ) Is output to the motor controller 15 in association with each end cylindrical surface.
【0059】定寸装置14はまた、各定寸点の補正が可
能に設計されている。具体的には、前記制御装置20か
ら各補正値U(各端円筒面ごとに存在する)が供給され
れば、現在の各定寸点にその各補正値Uを加算すること
によって現在の各定寸点を更新し、供給されなければ現
在の各定寸点をそのままに維持するように設計されてい
る。すなわち、定寸装置14は、制御装置20により定
寸点が自動補正されるようになっているのである。The sizing device 14 is also designed so that each sizing point can be corrected. Specifically, when each correction value U (existing for each end cylindrical surface) is supplied from the control device 20, the current correction value U is added to the current fixed size point to thereby obtain the current correction value U. It is designed to update the sizing points and keep each current sizing point intact if not supplied. That is, the sizing device 14 is configured so that the sizing point is automatically corrected by the control device 20.
【0060】定寸装置14には図3に示すように、キー
ボード50が接続されており、そのキーボード50が作
業者により操作されると、定寸装置14は、その操作に
応じた手動補正値だけ現在の定寸点を変更する手動補正
を行うようにも設計されている。定寸装置14はまた、
最新の手動補正値と定寸点とをそれぞれ自身のRAMに
記憶するとともに、自発的に制御装置20に送信する。
ただし、制御装置20は定寸装置14から最新の手動補
正値と現在の定寸点とを常に受信するわけではないた
め、定寸装置14は制御装置20が受信を許すときに限
って送信を行うことになる。As shown in FIG. 3, a keyboard 50 is connected to the sizing device 14, and when the keyboard 50 is operated by an operator, the sizing device 14 sets a manual correction value according to the operation. It is also designed to make manual corrections that only change the current sizing point. The sizing device 14 also
The latest manual correction value and the fixed size point are stored in their own RAMs, and are transmitted to the control device 20 spontaneously.
However, since the control device 20 does not always receive the latest manual correction value and the current sizing point from the sizing device 14, the sizing device 14 transmits data only when the control device 20 permits reception. Will do.
【0061】前記モータコントローラ15は図4に示す
ように、それら定寸装置14,前進・後退モータ40等
に接続されている。モータコントローラ15は、作業者
からの指令や定寸装置14からの信号等に基づき、前進
・後退モータ40等を制御する。As shown in FIG. 4, the motor controller 15 is connected to the sizing device 14, the forward / backward motor 40, and the like. The motor controller 15 controls the forward / backward motor 40 and the like based on a command from an operator, a signal from the sizing device 14, and the like.
【0062】ところで、加工機10は、粗研,精研,ス
パークアウト等のいくつかの段階を順に経て一回の円筒
研削を終了する。粗研は、前記残存切込み量が前記設定
量に達するまで実行され、精研は、直径が前記定寸点に
達するまで実行される。定寸装置14から各端円筒面ご
とに供給されるべき2個の設定量到達信号はその供給時
期が一致しないのが普通であり、モータコントローラ1
5は、粗研段階では、信号供給時期の不一致量に応じて
前進・後退モータ40およびスイングモータ42を制御
し、これにより、前記切込み角を適正に制御する。ま
た、精研においては、それに先立つ粗研において切込み
角が適正となっているはずであるから、モータコントロ
ーラ15は、前進・後退モータ40のみを運転させるこ
とにより、砥石群30のワークへの切込みを続行し、2
個の端円筒面のいずれかについてでも定寸点到達信号が
供給されれば、前進・後退モータ40を停止させ、スパ
ークアウトを行った後に、前進・後退モータ40を逆回
転させることにより砥石群30をワークから後退させ
る。なお、精研段階でも切込み角を制御するようにする
こともできる。By the way, the processing machine 10 finishes one cylindrical grinding through several stages such as rough grinding, fine grinding, spark-out and the like in order. The rough grinding is performed until the remaining depth of cut reaches the set amount, and the fine grinding is performed until the diameter reaches the fixed size point. Generally, the two set amount reaching signals to be supplied from the sizing device 14 for each end cylindrical surface have different supply timings, and the motor controller 1
5 controls the forward / backward motor 40 and the swing motor 42 in accordance with the amount of mismatch of the signal supply timing in the rough grinding stage, thereby appropriately controlling the cutting angle. In the fine grinding, the cutting angle should be appropriate in the rough grinding preceding the fine grinding. Therefore, the motor controller 15 drives only the forward / reverse motor 40 to cut the grinding wheel group 30 into the workpiece. Continue, 2
If a fixed point arrival signal is supplied to any of the end cylindrical surfaces, the forward / reverse motor 40 is stopped, and after performing spark-out, the forward / reverse motor 40 is rotated in the reverse direction. 30 is retracted from the work. It is to be noted that the cutting angle can also be controlled at the fine polishing stage.
【0063】前記全数測定機16は、図3に示すよう
に、加工ラインの、加工機10の下流側に配置されてい
る。全数測定機16は、1個のワークにおける円筒面の
数と同数のポストプロセス測定機44を有し、前記イン
プロセス測定機12と同じ方式により、加工機10から
搬出されたワークすべてについて順に、円筒面すべてに
ついて個々に直径を測定する。この全数測定機16が前
記制御装置20の入力側に接続されている。As shown in FIG. 3, the total number measuring machine 16 is disposed downstream of the processing machine 10 on the processing line. The total measuring machine 16 has the same number of post-process measuring machines 44 as the number of cylindrical surfaces in one work, and in the same manner as the in-process measuring machine 12, all the works carried out from the processing machine 10 in order, The diameter is measured individually for all cylindrical surfaces. The total number measuring device 16 is connected to the input side of the control device 20.
【0064】前記ワーク数カウンタ18は、同図に示す
ように、加工ライン上において加工機10と全数測定機
16との間にその全数測定機16による測定を待つ待機
ワークの数を測定するものである。ワーク数カウンタ1
8は、加工機10からのワークの搬出を検出する第1セ
ンサ(例えば、リミットスイッチ等)46と、全数測定
機16へのワークの搬入を検出する第2センサ(例え
ば、リミットスイッチ等)48とに接続されていて、第
1センサ46によりワーク搬出が検出されるごとに待機
ワーク数のカウント値を1ずつ加算し、一方、第2セン
サ48によりワーク搬入が検出されるごとにそのカウン
ト値を1ずつ減算し、これにより、待機ワーク数の現在
値を測定する。As shown in the figure, the work number counter 18 measures the number of standby works between the processing machine 10 and the total measuring machine 16 on the processing line and waiting for the measurement by the total measuring machine 16. It is. Work counter 1
Reference numeral 8 denotes a first sensor (for example, a limit switch or the like) 46 for detecting the unloading of the work from the processing machine 10 and a second sensor (for example, a limit switch or the like) 48 for detecting the transfer of the work to the 100% measuring machine 16. The count value of the number of standby works is incremented by one each time the first sensor 46 detects that the work is carried out, and the count value is incremented each time the second sensor 48 detects that the work is carried in. Is subtracted one by one, whereby the current value of the number of waiting works is measured.
【0065】前記制御装置20は、CPU,ROM,R
AMおよびバスを含むコンピュータを主体として構成さ
れており、そのROMにおいて定寸点補正ルーチンを予
め記憶させられている。また、この制御装置20は、前
記補助記憶装置22にも接続されていて、全数測定機1
6から入力された測定値X,それに基づいて決定した補
正値U等をすべて保存するように設計されている。一連
の加工の終了後に作業者がその加工状況を診断する際な
どに使用するためである。The control device 20 includes a CPU, a ROM, an R
It is mainly configured by a computer including an AM and a bus, and its ROM stores a fixed size point correction routine in advance. Further, the control device 20 is also connected to the auxiliary storage device 22, and
6 is designed to store all of the measured values X input from 6 and the correction values U determined based on the measured values X. This is for use when the operator diagnoses the processing status after a series of processing is completed.
【0066】上記定寸点補正ルーチンの主要部が図5〜
10にフローチャートで表されており、それら図に基づ
いて制御装置20の構成を説明するが、まず、概略的に
説明する。The main part of the fixed point correction routine is shown in FIGS.
10 is a flowchart, and the configuration of the control device 20 will be described with reference to those drawings.
【0067】この制御装置20は、全数測定機16によ
り測定された寸法に基づく寸法情報をフィードバックす
ることにより、加工機10により次に加工されるべきワ
ークについての定寸点の補正値Uを決定するものであ
る。この加工システムにおいては、加工機10と全数測
定機16との間に寸法測定を待つワークが存在すること
を許容するように設計されている。そのため、この制御
装置20は、入力信号が補正値U、出力信号が寸法情報
であるとともにそれら入力信号と出力信号との間にむだ
時間MSが存在する制御システムを想定し、フィードバ
ック式で定寸点を補正する。すなわち、本実施例におい
ては、定寸点が各請求項の発明における「加工条件」の
一態様なのである。The controller 20 feeds back the dimension information based on the dimension measured by the 100% measuring machine 16 to determine the correction value U of the fixed dimension point for the work to be processed next by the processing machine 10. Is what you do. This processing system is designed to allow a workpiece waiting for dimensional measurement to exist between the processing machine 10 and the total number measuring machine 16. Therefore, the control device 20 assumes a control system in which an input signal is a correction value U, an output signal is dimensional information, and a dead time MS exists between the input signal and the output signal. Correct points. That is, in the present embodiment, the fixed size point is one aspect of the “machining conditions” in the inventions of the respective claims.
【0068】この制御装置20における処理の流れを、
簡単に説明すれば、図11に示すようになる。The flow of processing in the control device 20 is as follows.
Briefly, this is as shown in FIG.
【0069】まず、第1ステップとして、全数測定機1
6から測定値Xが入力され、続いて、第2ステップとし
て、その測定値Xから隣接間ばらつきを除去するため
に、今回までに取得された測定値Xに対して移動平均値
Pが算出される。コンピュータのRAMには、測定値X
等が蓄積される演算データメモリ(図示しない)が設け
られており、それに蓄積されている測定値Xに基づいて
移動平均値Pが算出される。First, as a first step, a 100% measuring machine 1
Then, as a second step, a moving average value P is calculated with respect to the measurement values X obtained so far in order to remove the inter-adjacent variation from the measurement values X as a second step. You. The measured value X is stored in the RAM of the computer.
Is provided, and a moving average value P is calculated based on the measured values X stored therein.
【0070】次に、第3ステップとして、その移動平均
値Pに対して両端直径補正(後に詳述する)が行われ、
さらに、第4ステップとして、その両端直径補正が行わ
れた複数の移動平均値P(これも演算データメモリに蓄
積される)に基づき、今回の誤差値R,微分値Tおよび
2回微分値Dがそれぞれ寸法情報として算出される。そ
の後、第5ステップとして、その寸法情報と、ワーク数
カウンタ18により測定された待機ワーク数(前記むだ
時間MSに相当する)とに基づき、ファジィ演算によっ
て補正値Uが算出される。続いて、第6ステップとし
て、その補正値Uが、それの連続性が考慮されることに
よって補正され、さらに、第7ステップとして、その補
正値Uが、定寸装置14との関係において設定された不
感帯内にあるか否かが判定され、不感帯内になければ、
第8ステップとして、その補正値Uが定寸装置14に送
信される。Next, as a third step, both ends diameter correction (to be described in detail later) is performed on the moving average value P, and
Further, as a fourth step, the current error value R, differential value T, and second-order differential value D are calculated based on the plurality of moving average values P (both of which are also stored in the calculation data memory) whose both ends have been corrected. Are calculated as dimensional information. Thereafter, as a fifth step, a correction value U is calculated by fuzzy calculation based on the dimensional information and the number of standby workpieces (corresponding to the dead time MS) measured by the workpiece counter 18. Subsequently, as a sixth step, the correction value U is corrected by considering its continuity, and as a seventh step, the correction value U is set in relation to the sizing device 14. It is determined whether or not it is within the dead zone.
As an eighth step, the correction value U is transmitted to the sizing device 14.
【0071】また、この制御装置20においては、全数
測定機16によりワークが測定されるごとに今回の補正
値Uを決定する連続的補正ではなく、間欠的に決定する
間欠的補正が採用されている。また、補正値Uが間欠的
に補正されるに伴って、演算データメモリも間欠的にク
リアされる。The control device 20 employs an intermittent correction, which is determined intermittently, instead of a continuous correction, which determines the current correction value U every time the workpiece is measured by the 100% measuring device 16. I have. Further, as the correction value U is intermittently corrected, the operation data memory is also intermittently cleared.
【0072】なお、この制御装置20には、ワークの7
個のジャーナル面すべてについて個々に測定値Xが入力
されるが、基本的には、第1ジャーナル面および第7ジ
ャーナル面のそれぞれの測定値X、すなわち、各端円筒
面の測定値Xに基づいて、前記定寸装置14における各
端円筒面に対応する補正値Uがそれぞれ決定される。It should be noted that the control device 20 includes a work 7
The measurement values X are individually input for all the journal surfaces, but basically, based on the measurement values X of the first and seventh journal surfaces, that is, the measurement values X of the end cylindrical surfaces. Thus, a correction value U corresponding to each cylindrical surface of the sizing device 14 is determined.
【0073】以上、この制御装置20の全体の流れを簡
単に説明したが、以下、この流れにおける各概念につい
て個々に詳しく説明する。The overall flow of the control device 20 has been briefly described above. Hereinafter, each concept in this flow will be individually described in detail.
【0074】まず、移動平均値Pの算出について説明す
る。測定値Xは全数測定機16により時系列データとし
て取得され、多くの隣接間ばらつきを含んでいる。そこ
で、本実施例においては、隣接間ばらつきを除去してワ
ークの真の寸法を推定するために、今回の測定値Xおよ
び前回までに取得された最新の少なくとも1個の測定値
Xにつき、図12にグラフで概念的に示すように、重み
付きの移動平均値Pが算出され、それが測定値Xの真の
値として使用される。なお、このグラフにおいて「i」
は、全数測定機16により測定されたワークの数(以
下、「測定ワーク数」という)を表している。他のグラ
フにおいても同様である。First, the calculation of the moving average value P will be described. The measurement value X is acquired as time-series data by the 100-measuring device 16 and includes many inter-adjacent variations. Therefore, in the present embodiment, in order to remove the inter-adjacent variation and estimate the true dimension of the work, the present measured value X and the latest at least one measured value X obtained up to the previous time are shown in FIG. 12, a weighted moving average value P is calculated and used as the true value of the measured value X, as conceptually shown in a graph in FIG. In this graph, "i"
Represents the number of works measured by the total number measuring machine 16 (hereinafter, referred to as “measured work number”). The same applies to other graphs.
【0075】この移動平均値Pは原則として、次のよう
にして算出される。すなわち、今回までに取得された最
新のK(2以上の固定値)個の測定値Xに基づき、次式
(K=5の場合)で表される如き計算式を用いて今回の
移動平均値Pi が算出されるのである。The moving average value P is calculated in principle as follows. That is, based on the latest K (fixed value of 2 or more) measured values X obtained up to this time, the current moving average value is calculated using a calculation formula represented by the following equation (when K = 5). Pi is calculated.
【0076】[0076]
【数1】 (Equation 1)
【0077】しかし、この原則を貫くときは、演算デー
タメモリに蓄積されている測定値Xの数がK個に達しな
い間は、移動平均値Pを算出することができず、図13
に示すように、これを用いて算出されるべき誤差値Rも
微分値Tも算出することができないこととなり、ひいて
は、新たな補正値Uを決定することができない時間が長
くなってしまう。なお、この図は、左側から右側に向か
うにつれて測定ワーク数iが増加することとして表され
ている。後述の図14および図15についても同様であ
る。However, when this principle is adhered to, the moving average value P cannot be calculated while the number of measured values X stored in the operation data memory does not reach K.
As shown in (1), it is impossible to calculate both the error value R and the differential value T to be calculated by using this, and the time during which a new correction value U cannot be determined becomes longer. Note that this figure shows that the number i of measured workpieces increases from the left side to the right side. The same applies to FIGS. 14 and 15 described later.
【0078】そこで、本実施例においては、演算データ
メモリに蓄積されている測定値Xの数がK個に達しない
場合には、達する場合とは異なる特別の規則に従って、
移動平均値Pが算出される。Therefore, in the present embodiment, when the number of measured values X stored in the operation data memory does not reach K, according to a special rule different from the case where the number of measured values X does not reach K.
A moving average value P is calculated.
【0079】その特別の規則には置換型移動平均値算出
規則と可変型移動平均値算出規則とがある。以下、詳し
く説明する。The special rules include a substitution type moving average value calculation rule and a variable type moving average value calculation rule. The details will be described below.
【0080】まず、置換型移動平均値算出規則は、図1
4に示すように、存在する予定のK個の移動平均値Pの
うち実際には存在しないものの各々を、各移動平均値P
が取得されるべき回と同じ回に取得された測定値Xその
もので置換するという規則である。これは、同じ回に取
得される測定値Xと移動平均値Pとは本来互いに近似す
るという性質に基づくものであって、この規則に従って
移動平均値Pを算出することを置換型移動平均値算出と
いう。First, the rules for calculating the displacement type moving average are shown in FIG.
As shown in FIG. 4, each of the K moving averages P that are expected to exist and those that do not actually exist are replaced with each moving average P
Is replaced with the measured value X itself acquired at the same time as the time when it should be acquired. This is based on the property that the measured value X and the moving average value P acquired at the same time are originally close to each other, and the calculation of the moving average value P in accordance with this rule is a replacement type moving average value calculation. That.
【0081】この置換型移動平均値算出においては、各
回の移動平均値Pの置換が行われた時期が、その後にお
いてはじめて原則通りに移動平均値Pが算出された時期
から少し前であるか、かなり前であるかを問わず、移動
平均値Pを測定値Xで置換することによって仮想的に取
得することは可能である。しかし、この場合には、次の
ような問題がある。すなわち、1個の微分値Tを算出す
るのに使用されるL個の移動平均値Pにおいて仮想的に
算出された移動平均値Pが占める割合が多いほど、その
微分値Tの精度が低下し、ひいては補正値Uの精度も低
下するおそれがあるという問題があるのである。In this replacement-type moving average calculation, whether the time when the moving average P is replaced each time is a little before the time when the moving average P is calculated in principle for the first time thereafter, Regardless of whether it is a long time ago, it is possible to virtually obtain the moving average value P by replacing it with the measured value X. However, in this case, there are the following problems. That is, as the ratio of the virtually calculated moving average value P to the L moving average values P used to calculate one differential value T increases, the accuracy of the differential value T decreases. Thus, there is a problem that the accuracy of the correction value U may be reduced.
【0082】この問題を解決するためには、1個の微分
値Tを取得するのに使用される仮想的な移動平均値Pの
数を制限すればよい。同図の例は、そのような制限が付
された例であって、この場合には、最新の正規の移動平
均値Pより過去に3回の間に限り(すなわち、置換制限
数Zが3個)、仮想的な移動平均値Pの算出が許容され
ている。このように制限を付された場合には、たとえ置
換型移動平均値算出をしても、演算データメモリに蓄積
されている測定値Xの数が少ない間は、移動平均値Pを
算出することができない。In order to solve this problem, the number of virtual moving average values P used for obtaining one differential value T may be limited. The example shown in the figure is an example in which such a restriction is given. In this case, only the past three times from the latest normal moving average value P (that is, the replacement restriction number Z is 3). Calculation of the virtual moving average value P is permitted. In such a case, even if the displacement-type moving average value is calculated, the moving average value P is calculated while the number of measured values X stored in the operation data memory is small. Can not.
【0083】一方、可変型移動平均値算出規則は、測定
値Xの数(Kより小さい数)の各々について個別に重み
付き移動平均値計算式を用意し、演算データメモリに蓄
積されている測定値Xの数に合致する計算式を選択し、
それを用いて移動平均値Pを取得するという規則である
(図15参照)。この規則に従って移動平均値Pを算出
することを可変型移動平均値算出という。ここに個別に
用意される重み付き移動平均値計算式には例えば次のよ
うなものを選ぶことができる。On the other hand, the variable-type moving average calculation rule prepares a weighted moving average calculation formula individually for each of the numbers of measurement values X (a number smaller than K), and stores the weighted moving average calculation formula in the calculation data memory. Select a formula that matches the number of values X,
It is a rule that the moving average value P is obtained by using it (see FIG. 15). Calculating the moving average value P according to this rule is referred to as variable moving average value calculation. For example, the following formulas can be selected as the weighted moving average calculation formulas individually prepared.
【0084】[0084]
【数2】 (Equation 2)
【0085】この例においては、演算データメモリに蓄
積されている測定値Xの数が1個であっても、移動平均
値Pの算出が可能である。したがって、この例において
は、演算データメモリに蓄積されている測定値Xの数が
少ないから移動平均値Pを算出することはできないとい
う事態は起こらない。In this example, even if the number of measured values X stored in the operation data memory is one, the moving average value P can be calculated. Therefore, in this example, a situation does not occur in which the moving average value P cannot be calculated because the number of measured values X stored in the operation data memory is small.
【0086】なお、本実施例においては、以上のような
移動平均値Pの特別な手法による算出(以下、「特別移
動平均値算出」という)の実行の許否が作業者によって
指令され、さらに、その特別移動平均値算出が指令され
る場合には、その種類の選択も作業者からの指令に応じ
て行われるようになっている。すなわち、特別移動平均
値算出指令が出されている場合には必ず、置換型移動平
均値算出指令と可変型移動平均値算出指令とのいずれか
が出されるようになっているのである。In this embodiment, the operator instructs whether or not to execute the above-described calculation of the moving average value P by a special method (hereinafter, referred to as “special moving average value calculation”). When the calculation of the special moving average value is instructed, the type is also selected in accordance with the instruction from the operator. That is, whenever the special moving average value calculation command is issued, either the replacement type moving average value calculation command or the variable moving average value calculation command is issued.
【0087】ここで、上記重み付き移動平均値算出式に
おける重み係数bの決定手法について説明する。Here, a method of determining the weight coefficient b in the above-described weighted moving average value calculation formula will be described.
【0088】各重み係数bの値は、原変動である測定値
Xの中から除去すべき成分波の周波数との関係において
決定されるが、例えば、各重み係数bの値を、それが乗
じられるべき測定値Xが最新の測定値Xに対して新しい
ものであるほど、ほぼ比例的に増加するように決定する
ことができる(図12参照)。例えば、前述の、
bi-4 ,bi-3 ,bi-2 ,bi-1 およびbi をそれぞ
れ、1,2,3,4および5とすることができるのであ
る。The value of each weighting factor b is determined in relation to the frequency of the component wave to be removed from the measured value X that is the original variation. For example, the value of each weighting factor b is multiplied by the value. It can be determined that the more recent the measured value X to be taken with respect to the latest measured value X, the more it will increase approximately proportionally (see FIG. 12). For example,
b i-4, b i- 3, b i-2, b i-1 and b i respectively, it is possible to 1, 2, 3, 4 and 5.
【0089】また、加工機10と全数測定機16との間
に存在する待機ワークの数が0であるか、または0でな
くてもそれがほとんど変化しない場合のように、移動平
均によって測定値Xの中から除去すべき成分波の周波数
がほとんど変化しない場合には、各重み係数bの値を例
えば次のようにして決定することができる。Further, as in the case where the number of standby workpieces existing between the processing machine 10 and the total number measuring machine 16 is 0, or even if it is not 0, it hardly changes, the measured value is calculated by the moving average. When the frequency of the component wave to be removed from X hardly changes, the value of each weight coefficient b can be determined as follows, for example.
【0090】まず、原変動である測定値Xの中から除去
すべきs個の成分波の各々の角振動数をω1 ,ω2 ,・
・・,ωj ,・・・,ωs とし、次式を作る。First, the angular frequency of each of the s component waves to be removed from the measured value X which is the original variation is represented by ω 1 , ω 2 ,.
···, ω j , ···, ω s
【0091】[0091]
【数3】 (Equation 3)
【0092】そして、この式の係数1,as-1 ,・・
・,a0 ,・・・,as-1 ,1のうちの1〜a0 をそれ
ぞれ、重み係数bi-s ,bi-(s-1),・・・,bi に決定
するのである。Then, the coefficient 1, a s−1 ,.
·, A 0, ..., respectively 1 to a 0 of a s-1, 1, the weighting factor b is, b i- (s- 1), is to determine ..., to b i .
【0093】この制御装置20が接続される加工システ
ムにおいては、前述のように、ワークの全円筒面のうち
の2個の端円筒面の直径にのみ基づいて砥石群30が作
動させられる。そのため、2個の端円筒面の測定値Xの
みを考慮し、それ以外の円筒面の測定値Xを考慮しない
で定寸点を補正する場合には、各円筒面の加工精度がそ
れの全体において十分に均一にならない場合がある。In the machining system to which the control device 20 is connected, as described above, the grindstone group 30 is operated based only on the diameter of two end cylindrical surfaces of the entire cylindrical surface of the work. Therefore, when the fixed point is corrected without considering the measured values X of the two end cylindrical surfaces and without considering the measured values X of the other cylindrical surfaces, the processing accuracy of each cylindrical surface is determined by the overall accuracy. May not be sufficiently uniform.
【0094】そこで、本実施例においては、この問題を
解決するために次のような技術が採用されている。すな
わち、図16にグラフで概念的に示すように、ワークに
おける各円筒面の軸方向位置(図に「1J」〜「7J」
で表す)と各円筒面の直径(すなわち、移動平均値P)
とが比例関係にあると仮定し、2個の端円筒面の測定値
Xをそれぞれ補正するという両端直径補正という技術が
採用されているのである。Therefore, in the present embodiment, the following technique is adopted to solve this problem. That is, as conceptually shown in the graph of FIG. 16, the positions of the cylindrical surfaces of the workpiece in the axial direction ("1J" to "7J"
) And the diameter of each cylindrical surface (ie, moving average value P)
Is assumed to be in a proportional relationship, and a technique called end diameter correction, which corrects the measured values X of the two end cylindrical surfaces, is employed.
【0095】この両端直径補正の一具体例は、次のよう
である。すなわち、両端直径補正計算式として、A specific example of the end diameter correction is as follows. That is, as a formula for correcting the diameter at both ends,
【0096】[0096]
【数4】 (Equation 4)
【0097】なる式が採用され、これを用いることによ
り、各端円筒面の移動平均値Pの修正値が算出されるの
である。ただし、 x:ジャーナル面の番号(第1ジャーナル面から第7ジ
ャーナル面に向かって1から7まで付されている) x′:7個のxの値の平均値 y:xの各値における移動平均値Pの修正値 P:xの各値における移動平均値Pの計算値 P′:7個の移動平均値Pの計算値の平均値The correction value of the moving average value P of each end cylindrical surface is calculated by using the following expression. Where x: number of the journal surface (numbered from 1 to 7 from the first journal surface to the seventh journal surface) x ': average value of seven x values y: movement at each value of x Corrected value of average value P: Calculated value of moving average value P for each value of x P ': Average value of calculated values of seven moving average values P
【0098】具体的には、第1ジャーナル面について
は、上記式の「x」に1を代入することによって、移動
平均値Pの修正値y1 が取得され、また、第7ジャーナ
ル面については、「x」に7を代入することによって、
移動平均値Pの修正値y7 が取得される。Specifically, for the first journal surface, the correction value y 1 of the moving average value P is obtained by substituting 1 for “x” in the above equation, and for the seventh journal surface, , "X" by substituting 7
Correction value y 7 of the moving average values P are obtained.
【0099】なお、本実施例においては、この両端直径
補正の実行の許否も作業者によって指令されるようにな
っている。In this embodiment, the operator is also instructed whether or not to execute the correction of the diameter at both ends.
【0100】また、本実施例においては、移動平均値P
に対して両端直径補正が行われるようになっているが、
移動平均値Pの基礎となる測定値Xそのものに対して両
端直径補正を行うこともできる。In this embodiment, the moving average value P
The diameter of both ends is corrected for
Both ends diameter correction can also be performed on the measured value X itself which is the basis of the moving average value P.
【0101】ワークについて取得する寸法情報には、前
述のように、誤差値Rのみならず、それの微分値Tとそ
の微分値Tの微分値である2回微分値Dとがある。誤差
値Rは「寸法誤差」の一態様であり、微分値Tは「寸法
誤差の変化傾向」の一態様であり、2回微分値Dは「変
化傾向の変化傾向」の一態様である。As described above, the dimension information acquired for the work includes not only the error value R but also a differential value T thereof and a twice differential value D which is a differential value of the differential value T. The error value R is an aspect of “dimensional error”, the differential value T is an aspect of “change tendency of dimensional error”, and the twice differential value D is an aspect of “change tendency of change tendency”.
【0102】このように、誤差値R以外のパラメータに
も基づいて補正値Uを決定することとしたのは、誤差値
Rのみに基づいて補正値Uを決定する場合より、それの
微分値Tまたは2回微分値Dにも基づいて補正値Uを決
定する場合の方が、加工機10の実際の状態をより正確
に推定することができ、定寸点の補正精度が向上するか
らである。なお、誤差値Rのみならず微分値Tにも基づ
いて補正値Uを決定する技術は、本出願人の特願平4−
61305号として出願されており、また、さらに2回
微分値Dにも基づいて補正値Uを決定する技術は、本出
願人の特願平4−235402号として出願されてい
る。As described above, the determination of the correction value U based on parameters other than the error value R is different from the determination of the correction value U based only on the error value R in comparison with the differential value T of the correction value U. Alternatively, when the correction value U is determined based on the twice differential value D, the actual state of the processing machine 10 can be more accurately estimated, and the correction accuracy of the fixed point is improved. . The technique of determining the correction value U based on not only the error value R but also the differential value T is disclosed in Japanese Patent Application No. Hei.
A technique for determining the correction value U based on the second-order differential value D has been filed as Japanese Patent Application No. 4-235402 of the present applicant.
【0103】微分値Tは、図17にグラフで概念的に示
すように、原則として、今回取得された誤差値Rおよび
前回までに取得された最新の少なくとも1個の誤差値R
から成るL(2以上の固定値)個の誤差値Rが測定ワー
ク数iの増加に対してほぼ比例すると仮定し、それらL
個の誤差値Rが適合する1次回帰線を特定し、それの勾
配を微分値T(1次回帰線の傾きをθラジアンとした場
合のtan θに一致する)として取得される。具体的に
は、1次回帰線の式として、例えば、As shown conceptually in the graph of FIG. 17, the differential value T is, as a rule, the error value R acquired this time and the latest at least one error value R acquired up to the previous time.
It is assumed that L (two or more fixed values) error values R are substantially proportional to the increase in the number i of the measured workpieces.
The primary regression line to which the error values R match is specified, and the gradient thereof is obtained as a differential value T (which matches tan θ when the gradient of the primary regression line is θ radian). Specifically, as an equation of the linear regression line, for example,
【0104】[0104]
【数5】 (Equation 5)
【0105】なる式が採用される。ただし、 x:測定ワーク数iの値 x′:L個のxの値の平均値 y:xの各値における誤差値Rの真の値 R:xの各値における誤差値Rの計算値 R′:L個の誤差値Rの計算値の平均値 そして、The following equation is adopted. Where x: the value of the number i of the measured workpieces x ': the average value of L x values y: the true value of the error value R at each value of x R: the calculated value R of the error value R at each value of x ': Average value of the calculated values of the L error values R
【0106】[0106]
【数6】 (Equation 6)
【0107】の値が、微分値Tとなる。しかし、この原
則を貫くと、移動平均値Pの算出の場合と同様に、演算
データメモリに蓄積されている誤差値Rの数がL個に達
しない場合には、微分値Tを算出することができない。Is the differential value T. However, according to this principle, if the number of error values R stored in the operation data memory does not reach L, the differential value T should be calculated as in the case of calculating the moving average value P. Can not.
【0108】そこで、本実施例においては、移動平均値
Pの算出の場合に準じて、移動平均値Pの数(Lより小
さい数)の各々について個別に1次回帰線の式を用意
し、演算データメモリに蓄積されている誤差値Rの数に
合致する式を選択し、それを用いて微分値Tを取得する
という技術が採用されている。Therefore, in the present embodiment, in accordance with the calculation of the moving average value P, an equation for the primary regression line is prepared for each of the number of moving average values P (a number smaller than L). A technique is adopted in which an equation that matches the number of error values R stored in the operation data memory is selected, and a differential value T is obtained using the equation.
【0109】なお、本実施例においては、可変型微分値
算出の実行の許否も作業者によって指令されるようにな
っている。In this embodiment, whether or not the execution of the variable differential value calculation is permitted is instructed by the operator.
【0110】2回微分値Dは微分値Tと同様にして算出
される。すなわち、今回までに取得された最新のQ(2
以上の固定値)個の微分値Tが測定ワーク数iの増加に
対してほぼ比例すると仮定し、それらQ個の微分値Tが
適合する1次回帰線を特定し、それの勾配を2回微分値
D(1次回帰線の傾きをθラジアンとした場合のtanθ
に一致する)として取得する。The second derivative D is calculated in the same manner as the differential T. That is, the latest Q (2
Assuming that the above (fixed value) differential values T are substantially proportional to the increase in the number i of measured workpieces, a primary regression line to which the Q differential values T fit is specified, and the gradient thereof is set twice. Derivative value D (tan θ when the slope of the primary regression line is θ radian)
To match).
【0111】なお、本実施例においては、2回微分値D
の使用の許否も作業者によって指令されるようになって
いる。In this embodiment, the second derivative D
The permission or rejection of the use of the device is also instructed by the operator.
【0112】また、本実施例においては、この2回微分
値Dについては、微分値Tに係る可変型微分値算出とい
う技術は採用されていないが、採用することはもちろん
可能である。Further, in the present embodiment, the technique of calculating the variable differential value relating to the differential value T is not adopted for the second differential value D, but it is of course possible to employ it.
【0113】この制御装置20においては、補正値Uの
決定のために、間欠的補正,むだ時間考慮型補正,ファ
ジィ演算,連続性考慮および不感帯考慮なる技術が採用
されている。以下、それらについて個々に詳しく説明す
る。In this control device 20, techniques for intermittent correction, correction considering dead time, fuzzy calculation, continuity consideration, and dead zone consideration are employed for determining the correction value U. Hereinafter, each of them will be described in detail.
【0114】(1) 間欠的補正 定寸点補正に際し、全数測定機16によりワークの寸法
が測定されるごとに、加工機10により次に加工される
べきワークの定寸点の補正値Uを決定する連続的補正な
る補正手法を採用することができる。しかし、この連続
的補正を採用する場合には次のような問題がある。すな
わち、全数測定機16により測定されるワークすべてに
ついて個々に補正値Uを決定しなければならないため、
制御装置20に大きな負担がかかってしまうという問題
があるのである。(1) Intermittent Correction In correcting the fixed size point, every time the dimension of the work is measured by the 100% measuring machine 16, the correction value U of the fixed size point of the work to be processed next by the processing machine 10 is changed. It is possible to adopt a correction method of determining continuous correction. However, when this continuous correction is adopted, there are the following problems. That is, since it is necessary to individually determine the correction value U for all of the workpieces measured by the total number measuring device 16,
There is a problem that a large load is imposed on the control device 20.
【0115】この問題を解決するため、本実施例におい
ては、間欠的補正なる補正手法が採用されている。この
間欠的補正を図18にグラフで概念的に示す。このグラ
フは、加工機10と全数測定機16との間に複数の待機
ワークが存在する場合に取得されるものであり、このグ
ラフにおいて「測定おくれ」とは、加工機10と全数測
定機16との間の待機ワークの数に相当する。また、
「Ui 」は今回の補正値を、「Ui+1」は次回の補正値
をそれぞれ表している。したがって、今回の補正値Ui
の影響は測定おくれの後にはじめて寸法誤差に現れ、ま
た、同様に、次回の補正値Ui+1 の影響も測定おくれの
後にはじめて寸法誤差に現れることとなる。また、複数
のワークを順に、互いに同じ定寸点の下で加工した場合
にはそれら各ワークの寸法誤差が測定ワーク数iの増加
に対してほぼ比例的に増加すると仮定した場合に取得さ
れるものでもある。なお、それらの事情は以下のグラフ
においても同様である。In order to solve this problem, in the present embodiment, a correction method of intermittent correction is employed. This intermittent correction is conceptually shown in a graph in FIG. This graph is acquired when there are a plurality of standby works between the processing machine 10 and the total number measuring machine 16. In this graph, “measurement delay” means that the processing machine 10 and the total number measuring machine 16 And the number of standby works between the two. Also,
“U i ” represents the current correction value, and “U i + 1 ” represents the next correction value. Therefore, the current correction value U i
Does appear in the dimensional error only after the delay in measurement, and similarly, the effect of the next correction value U i + 1 also appears in the dimensional error only after the delay in measurement. Further, when a plurality of workpieces are processed in order under the same fixed point, they are obtained on the assumption that the dimensional error of each of the workpieces increases almost proportionally to the increase in the number i of the measured workpieces. It is also a thing. The same applies to the following graphs.
【0116】この間欠的補正を実施する方式として本出
願人は2つの態様を案出した。以下、それら各方式につ
いて詳しく説明する。The present applicant has devised two modes as a system for performing the intermittent correction. Hereinafter, each of these methods will be described in detail.
【0117】 間欠的補正の第1の方式 この定寸点補正装置は、前述のように、加工機10と全
数測定機16との間にワークが存在することを許容する
加工システムと共に使用されるべきものであるから、前
回の補正値Uの影響を受けた定寸点の下で加工されたワ
ークがその直後に全数測定機16により測定されるとは
限らず、いくつか別のワークの測定を経た後にはじめて
測定される場合もある。したがって、前回の補正値Uの
影響を直接に今回の補正値Uに反映させることが必要で
ある場合には、前回の補正値Uの影響を受けた定寸点の
下で加工された少なくとも1個のワークが全数測定機1
6により測定されるごとに、今回の補正値Uを決定する
ことが望ましい。First Method of Intermittent Correction This fixed point correction apparatus is used together with a processing system that allows the existence of a work between the processing machine 10 and the total number measuring machine 16 as described above. Therefore, the work machined under the fixed point affected by the previous correction value U is not always measured by the 100-measurement machine 16 immediately thereafter, but is measured by some other work. It may be measured only after passing through. Therefore, when it is necessary to directly reflect the influence of the previous correction value U on the current correction value U, at least one of the machining points below the fixed size point affected by the previous correction value U is required. The number of workpieces is 100%
It is desirable to determine the current correction value U every time the measurement is performed by the step S6.
【0118】このような事情を背景として、第1の方式
は、図19にグラフで概念的に示すように、全数測定機
16による測定値Xを逐次蓄積し、蓄積された測定値X
の数が設定複数個以上となったときに、それら蓄積され
た最新の設定複数個の測定値Xに基づいて今回の補正値
Ui を決定し、その今回の補正値Ui の影響を受けた定
寸点の下で加工された少なくとも1個のワークうち最初
に全数測定機16により測定されることとなる先頭補正
対象ワークがその測定を終了する時期以後に(例えば、
その測定の終了直後に)、それの測定値Xの蓄積を無蓄
積状態から再開するものとされている。Against this background, the first method accumulates the measured values X by the all-in-one measuring device 16 successively as shown conceptually in a graph of FIG.
Is larger than the set number, the current correction value U i is determined based on the accumulated latest set values X, and is affected by the current correction value U i. After the time at which the head correction target work, which is to be measured first by the 100% measuring machine 16 among the at least one work processed under the fixed size point, finishes its measurement (for example,
Immediately after the end of the measurement), the accumulation of the measured value X is restarted from the non-accumulation state.
【0119】この方式は例えば、今回の補正値Ui を決
定して定寸装置14に送信してから、次回の補正値U
i+1 を決定して定寸装置14に送信するまでの補正間隔
期間は、補正値Uを決定せず、定寸装置14における定
寸点が同じ値に維持されるような態様として実施するこ
とができる。そして、この場合には普通、測定ワーク数
iと寸法誤差との間に比例関係が成立するとの前提の下
に、今回の補正値Ui の大きさが、その今回の補正値U
i の影響を受けた複数のワークの寸法誤差が全体として
ほぼ均一に0に近づくように決定される。In this method, for example, after the current correction value U i is determined and transmitted to the sizing device 14, the next correction value U i is determined.
During the correction interval period from the determination of i + 1 to the transmission to the sizing device 14, the correction value U is not determined, and the sizing point in the sizing device 14 is maintained in the same value. be able to. Then, in this case, the magnitude of the current correction value U i is usually equal to the current correction value U under the premise that a proportional relationship is established between the number i of measured workpieces and the dimensional error.
The dimensional errors of the plurality of workpieces affected by i are determined so as to approach 0 almost uniformly as a whole.
【0120】しかし、この実施態様では次のような問題
が生ずる。すなわち、各回の補正の実行時期が、測定値
Xの実際の変動とは無関係に、測定値Xの蓄積数によっ
て一義的に決まってしまい、各回の補正が本当に必要な
時期に実行されないという問題が生ずるのである。However, this embodiment has the following problems. In other words, there is a problem that the timing of executing each correction is uniquely determined by the number of accumulated measurement values X irrespective of the actual fluctuation of the measurement value X, and the correction is not executed at the time when it is really necessary. It will happen.
【0121】この問題を解決するためには、補正値Uの
送信につき、定寸装置14との関係において不感帯を設
定し、決定された補正値Uが略0である場合には、その
補正値Uの定寸装置14への送信を行わず、演算データ
メモリをクリアすることなく、新たな測定値Xの取得を
待って、補正値Uの決定をやり直せばよい。このように
すれば、各回の補正が本当に必要な時期にタイムリーに
実行されることになる。なお、補正値Uに不感帯を設定
するという技術は、本出願人の特願平4−278146
号として出願されている。In order to solve this problem, a dead zone is set in relation to the sizing device 14 when transmitting the correction value U, and when the determined correction value U is substantially 0 , the correction value The correction value U may be determined again without transmitting the U to the sizing device 14 and waiting for the acquisition of a new measured value X without clearing the operation data memory. In this way, each correction is executed in a timely manner when it is really necessary. The technique of setting a dead zone in the correction value U is disclosed in Japanese Patent Application No. 4-278146 of the present applicant.
No. has been filed.
【0122】しかし、このようにしても、その各回の補
正の終了後に測定値Xに予定外の変化が生じた場合に
は、その変化に迅速に対応して定寸点を補正することは
できない。各回の補正の終了後に測定値Xに予定外の変
化が発生した場合には、その予定外の変化は演算データ
メモリに蓄積されて次回の補正値Ui+1 に反映されるの
であって、このように次回の補正まで待たなければその
予定外の変化に対応して定寸点を補正することができな
いのである。そのため、各回の補正の終了後に測定値X
に予定外の変化が生じた場合には、ワークの寸法誤差が
十分には0に近づかないという問題がある。However, even in this case, if an unexpected change occurs in the measured value X after the end of each correction, the fixed size point cannot be corrected immediately in response to the change. . If an unexpected change occurs in the measured value X after the end of each correction, the unexpected change is accumulated in the calculation data memory and reflected on the next correction value U i + 1 , In this way, unless the user waits for the next correction, the fixed size point cannot be corrected in response to the unexpected change. Therefore, after completion of each correction, the measured value X
In the case where an unexpected change occurs, there is a problem that the dimensional error of the work does not sufficiently approach zero.
【0123】この問題を解決するためには前記第1の方
式を次のような態様で実施すればよい。すなわち、図2
0にグラフで概念的に示すように、一回の間欠的補正
を、前記態様における間欠的補正(例えば、図19にお
いて「Ui 」を決定すること)である主補正に後続して
補助補正を行うものとすることにより、主補正の終了後
に測定値Xに発生する予定外の変化に、補助補正により
迅速に対応して定寸点を補正する態様で実施すればよい
のである。To solve this problem, the first method may be implemented in the following manner. That is, FIG.
As conceptually shown in a graph at 0, one intermittent correction is performed after the main correction, which is the intermittent correction in the above-described embodiment (for example, determining “U i ” in FIG. 19), followed by the auxiliary correction. In this case, the fixed size point may be corrected in such a manner that the fixed size point is promptly corrected by the auxiliary correction to the unexpected change that occurs in the measured value X after the main correction is completed.
【0124】ここに「主補正」とは、全数測定機16に
よる測定値Xを逐次蓄積し、蓄積された測定値Xの数が
設定複数個以上となったときに、それら蓄積された最新
の設定複数個の測定値Xに基づいて今回の暫定補正値U
P を決定し、それを最終補正値UF とするものである。Here, the "main correction" means that the measured values X by the all-in-one measuring device 16 are successively accumulated, and when the number of accumulated measured values X becomes equal to or more than a set number, the latest accumulated values are stored. The provisional correction value U based on the plurality of measured values X
P is determined and used as the final correction value U F.
【0125】また、「補助補正」とは、その主補正の終
了後にも測定値Xの蓄積を続行し、その主補正の終了後
から(例えば、その主補正の終了直後から)、その主補
正の最終補正値U F の影響を受けた定寸点の下で加工さ
れた少なくとも1個のワークのうち最初に全数測定機1
6により測定されることとなる先頭補正対象ワークより
1回だけ先に加工されたワークについてその測定が終了
する時期以前まで(例えば、その測定の終了時期ま
で)、その全数測定機16によりワークが測定されるご
とに、蓄積された最新の設定複数個の測定値Xに基づ
き、主補正におけると同じ規則に従って各回の暫定補正
値UP を決定し、その決定した各回の暫定補正値UP か
ら前回の暫定補正値UP を引いたものを各回の最終補正
値UF に決定するものである。The "auxiliary correction" means that the accumulation of the measured value X is continued even after the main correction is completed, and after the main correction is completed (for example, immediately after the main correction is completed), the main correction is performed. first all measuring machine 1 among at least one workpiece which has been processed under the sizing point affected the final correction value U F
Until the time when the measurement is completed for the work processed only once before the head correction target work to be measured by 6 (for example, until the time when the measurement is completed), the work is measured by the total number measuring machine 16. each time it is measured, on the basis of the stored latest settings plurality of measurement values X, to determine each time the provisional correction value U P according to the same rules as in the main correction from each round of the provisional correction value U P that the determined it is to determine minus the preceding temporary correction value U P to a final correction value U F each time.
【0126】この補助補正においては、主補正における
と同様な規則に従って決定された補正値Uである暫定補
正値UP がそのまま定寸装置14に送信されず、前回の
暫定補正値UP からの差として供給されるようになって
いるが、以下、この理由を説明する。[0126] In the auxiliary compensation, without being transmitted is determined according to the same rules as in the main correction correction value U provisional correction value U P is as sizing device 14, from the previous provisional correction value U P The difference is supplied as a difference. The reason will be described below.
【0127】補助補正においては、本来であれば、それ
に先立って行われる主補正の影響を受けたワークの測定
値Xに基づいて最終補正値UF が決定されるべきであ
る。しかし、主補正の影響を受けたワークが、加工直後
には全数測定機16により測定されず、いくつか別のワ
ークの測定を経た後にはじめて測定される場合もある。
そこで、本実施例においては、主補正の影響が重複し
て、次に加工されるべきワークに対応する定寸点に反映
されないように、主補正に係る先頭補正対象ワークより
1回だけ先に加工されたワークについて測定が終了する
時期以前まで、各回の測定値Xに基づいて主補正におけ
ると同じ規則に従って決定した補正値が暫定補正値UP
とされ、それから主補正の影響が除去されたものが最終
補正値UF とされている。以上、主補正と補助補正の初
回との関係について説明したが、補助補正におけるある
回とその次の回との関係についても同様である。In the auxiliary correction, the final correction value U F should be determined based on the measured value X of the work affected by the main correction performed prior to the auxiliary correction. However, the work affected by the main correction may not be measured by the 100% measuring machine 16 immediately after processing, but may be measured only after measuring some other work.
Therefore, in the present embodiment, the influence of the main correction overlaps and is not performed once at the fixed size point corresponding to the work to be processed next, but only once before the head correction target work related to the main correction. Until the time when the measurement of the processed workpiece is completed, the correction value determined according to the same rule as in the main correction based on the measured value X of each time is a provisional correction value UP.
Those with the then the influence of the main correction is removed there is a final correction value U F. The relationship between the main correction and the first time of the auxiliary correction has been described above, but the same applies to the relationship between a certain time in the auxiliary correction and the next time.
【0128】しかし、これら主補正と補助補正とを行う
態様においては、補助補正をそれの属するある回の間欠
的補正の終了時期まで、すなわち次回の主補正の開始直
前まで必ず実行することとした場合には、制御装置20
自身にやや大きな負担がかかるという問題が生ずる。However, in the mode in which the main correction and the auxiliary correction are performed, the auxiliary correction is always performed until the end of the intermittent correction to which the auxiliary correction belongs, that is, immediately before the start of the next main correction. In the case, the control device 20
A problem arises in that a relatively large burden is imposed on oneself.
【0129】この問題を解決するためには、補助補正の
実行回数を制限すればよい。すなわち、一連の補助補正
における最終補正値UF の決定回数を測定し、その測定
した決定回数が設定値に達したときにその一連の補助補
正を終了すればよいのである。しかし、この対策では、
補助補正の終了時期が主補正の終了時期との関係におい
て固定されてしまい、補助補正の実行時期が、主補正の
終了後における測定値Xの予定外の変化に対応するのに
最適になるとは限らないという問題がある。To solve this problem, the number of executions of the auxiliary correction may be limited. That is, the number of determinations of the final correction value U F measured in a series of auxiliary compensation, than may be terminated the series of auxiliary compensation is when it reaches a set value determined number of times of the measurement. However, with this measure,
The end time of the auxiliary correction is fixed in relation to the end time of the main correction, and the execution time of the auxiliary correction is optimal to respond to an unexpected change in the measured value X after the end of the main correction. There is a problem that is not limited.
【0130】この問題を解決するためには、補助補正を
次のような態様で実施すればよい。すなわち、補助補正
における最終補正値UF にも、主補正における最終補正
値UF と同様に、定寸装置14との関係における不感帯
を設け、一連の補助補正の当初において決定した最終補
正値UF がその不感帯内にある場合には、その最終補正
値UF を定寸装置14に送信せず、事実上その一連の補
助補正の実行を開始せず、その後決定された最終補正値
UF が不感帯から外れた場合に初めて、その最終補正値
UF を送信し、その一連の補助補正の実行を開始する態
様で実施すればよいのである。To solve this problem, the auxiliary correction may be performed in the following manner. That is, similarly to the final correction value U F in the main correction, a dead zone in relation to the sizing device 14 is provided in the final correction value U F in the auxiliary correction, and the final correction value U F determined at the beginning of the series of auxiliary corrections is provided. If F is within its dead zone, it does not send its final correction value U F to the sizing device 14, effectively does not start performing the series of auxiliary corrections, and then determines the final correction value U F determined thereafter. There the first time when deviated from the dead zone, and sends the final correction value U F, is the may be performed in a manner to start execution of the series of auxiliary compensation.
【0131】しかし、以上のようにしただけでは、主補
正および補助補正の実行時期が測定値Xの変動時期に十
分には合致せず、主補正および補助補正が本当に必要な
時期に実行されないことがある。このような事態を回避
するためには、補助補正を次のような態様で実施すれば
よい。すなわち、一連の補助補正における最終補正値U
F の決定回数が設定値に達したときに、主補正およびそ
の一連の補助補正のうち少なくともその一連の補助補正
において決定された複数の最終補正値UF の和が略0で
ない場合には、その一連の補助補正を終了するが、略0
である場合には、少なくともその一連の補助補正の実行
時期が適当ではなかったと推定されるから、補助補正を
続行し、新たに最終補正値UF の決定回数の測定を0か
ら開始する態様で実施すればよいのである。However, with the above-described operations, the execution timing of the main correction and the auxiliary correction does not sufficiently coincide with the fluctuation time of the measured value X, and the main correction and the auxiliary correction are not executed at the time when they are really needed. There is. In order to avoid such a situation, the auxiliary correction may be performed in the following manner. That is, the final correction value U in a series of auxiliary corrections
When the number of determinations of F reaches the set value, when the sum of the plurality of final correction values U F determined in at least the series of auxiliary corrections of the main correction and the series of auxiliary corrections is not substantially 0 , Although it terminates the series of auxiliary compensation, substantially 0
If it is, at least from the execution timing of the series of auxiliary compensation it is estimated that was not appropriate, and continue the auxiliary correction, new measurements of the number of determinations of the final correction value U F in a manner starting from 0 You just have to do it.
【0132】そして、本実施例においては、補正値決定
の方式として、主補正のみで補助補正を行わない方式
と、主補正のみならず補助補正をも行う方式とのいずれ
かが作業者の指令に応じて選択されるようになってい
る。すなわち、補助補正指令が出されれば後者の方式が
選択され、出されなければ前者の方式が選択されるよう
になっているのである。In this embodiment, as a method of determining a correction value, one of a system in which only the main correction is performed and no auxiliary correction is performed and a system in which not only the main correction but also the auxiliary correction is performed are instructed by the operator. Is selected according to That is, if the auxiliary correction command is issued, the latter method is selected, and if not, the former method is selected.
【0133】また、本実施例においては、その補助補正
の方式として、補助補正の続行を行う方式と、行わない
方式とのいずれかが作業者の指令に応じて選択されるよ
うにもなっている。Further, in this embodiment, as a method of the auxiliary correction, either a method of continuing the auxiliary correction or a method of not performing the auxiliary correction is selected according to a command of the operator. I have.
【0134】さらにまた、本実施例においては、その補
助補正の続行方式として、続行されるべき補助補正の初
回の最終補正値UF について不感帯を考慮して補助補正
を続行する方式(以下、「補助補正再開方式」という)
と、不感帯を考慮しないで続行する方式(以下、「補助
補正延長方式」という)とのいずれかが作業者の指令に
応じて選択されるようにもなっている。前者の方式を選
択するための指令を補助補正再開指令といい、後者の方
式を選択するための指令を補助補正延長指令といい、そ
れら指令のいずれも出されていない場合には、補助補正
の続行許可指令が出されていないと判断されるようにな
っている。[0134] Furthermore, in the present embodiment, as continuing method of the auxiliary compensation, method to continue assisting correction taking into account the dead zone for the final correction value U F of first auxiliary compensation to be continued (hereinafter, " Auxiliary correction restart method ”)
And a method of continuing without considering the dead zone (hereinafter, referred to as an "auxiliary correction extension method") is also selected according to a command from the operator. The command for selecting the former method is called the auxiliary correction restart command, the command for selecting the latter method is called the auxiliary correction extension command, and if none of those commands is issued, the auxiliary correction It is determined that the continuation permission command has not been issued.
【0135】 間欠的補正の第2の方式 間欠的補正を上述の第1の方式で実施する場合には、加
工機10と全数測定機16との間に待機ワークが存在す
るときには、今回の補正値Uの決定直後から測定値Xの
蓄積を開始することができない。そのため、今回の補正
値Uの決定時期から次回の補正値Uの決定時期までにか
かる時間(以下、「補正間隔時間」という)は、図19
に示すように、その今回の補正値Uに係る先頭補正対象
ワークが全数測定機16に到達する時間(加工機10と
全数測定機16との間に存在する待機ワークの数の相当
する)と、その後測定値Xの蓄積が開始されて設定複数
個の測定値Xが蓄積されるまでの時間との和となる。そ
のため、加工機10と全数測定機16との間に多くの待
機ワークが存在することを避け得ないような場合には、
補正間隔時間が長くなることを避け得ない。Second Method of Intermittent Correction In the case where the intermittent correction is performed by the above-described first method, if there is a standby work between the processing machine 10 and the total measuring machine 16, the current correction is performed. It is not possible to start accumulating the measured value X immediately after the determination of the value U. Therefore, the time (hereinafter, referred to as “correction interval time”) required from the present correction value U determination time to the next correction value U determination time is as shown in FIG.
As shown in (1), the time required for the head correction target work related to the current correction value U to reach the all-in-one measuring device 16 (corresponding to the number of standby works existing between the processing machine 10 and the all-in-one measuring device 16) and Thereafter, the sum of the time from when the accumulation of the measured values X is started to when the plurality of set measured values X are accumulated is obtained. Therefore, when it is unavoidable that there are many standby workpieces between the processing machine 10 and the total number measuring machine 16,
It cannot be avoided that the correction interval time becomes long.
【0136】この第2の方式はこの問題を解決するため
に案出されたものであって、図21にグラフで概念的に
示すように、全数測定機16による測定値Xを逐次蓄積
し、蓄積された測定値Xの数が設定複数個以上となった
ときに、それら蓄積された最新の設定複数個の測定値X
に基づいて今回の補正値Uを決定し、その今回の補正値
Uの決定時期以後に(例えば、今回の補正値Uの決定時
期直後に)、測定値Xの蓄積を無蓄積状態から再開し、
その再開時期から、その今回の補正値Uに係る先頭補正
対象ワークより1回だけ先に加工されたワークについて
その測定が終了する時期近傍(その時期ちょうど、少し
前、または少し後)までの中間期間は、その全数測定機
16によりワークが測定されるごとに、各回の実際の測
定値Xと今回の補正値Uとに基づき、それら各ワークが
その今回の補正値Uの影響を受けた定寸点の下で加工さ
れたと仮定した場合にそれら各ワークについて測定され
る値を予測し、その予測した測定値Xを実際の測定値X
とみなして蓄積するものである。本実施例においては、
その予測の一例として、上記中間期間における実際の測
定値Xにその今回の補正値Uを加算することにより、実
際の測定値Xを今回の補正値Uだけシフトするデータシ
フト処理が採用されている。This second method has been devised to solve this problem. As shown conceptually in a graph of FIG. 21, the measurement values X by the 100-measuring device 16 are sequentially accumulated, When the number of stored measurement values X is equal to or more than a plurality of setting values, the latest stored plurality of measurement values X are stored.
The current correction value U is determined on the basis of the current correction value U. After the current correction value U is determined (for example, immediately after the current correction value U is determined), the accumulation of the measured value X is restarted from the non-accumulation state. ,
An intermediate point from the restart time to the vicinity of the time when the measurement is completed (just before or slightly after the time) for the work processed once before the work to be corrected for the head related to the current correction value U. Each time the work is measured by the total number measuring device 16, the period is based on the actual measurement value X of each time and the current correction value U, and each work is affected by the current correction value U. When it is assumed that the workpiece is machined under the dimension point, the value measured for each of the workpieces is predicted, and the predicted measured value X is replaced with the actual measured value X.
And accumulate. In this embodiment,
As an example of the prediction, a data shift process of shifting the actual measurement value X by the current correction value U by adding the current correction value U to the actual measurement value X in the intermediate period is adopted. .
【0137】この第2の方式もまた、前記第1の方式の
場合と同様に、一回の間欠的補正が主補正と回数制限付
きかつ続行可能な補助補正とを含み(これを図22にグ
ラフで概念的に示す)、かつ、主補正および補助補正に
ついて不感帯なる概念が採用され、かつ、補助補正の続
行方式の選択が可能な態様として実施されている。そし
て、本実施例においては、作業者の指令に応じて第1の
方式と第2の方式との択一も可能とされている。具体的
には、作業者がデータシフト処理を許可するか否かを指
令し、許可した場合にはデータシフト処理が、許可しな
い場合に第1の方式が選択されるようになっている。In the second method, as in the first method, one intermittent correction includes a main correction and an auxiliary correction with a limited number of times and which can be continued (this is shown in FIG. 22). This is implemented as a mode in which a concept of dead zone is adopted for the main correction and the auxiliary correction, and a method of continuing the auxiliary correction can be selected. In the present embodiment, the first method and the second method can be selected according to a command from an operator. Specifically, the operator instructs whether or not to permit the data shift processing, and when the operator permits the data shift processing, the data shift processing is selected, and when not permitted, the first method is selected.
【0138】なお付言すれば、この第2の方式は、測定
値予測技術、すなわち、前回の補正値Uの影響を受けた
定寸点の下で加工された少なくとも1個のワークのうち
今回の補正値Uが決定された後に全数測定機16により
測定されるものの各々につき、それの各回の実際の測定
値Xと今回の補正値Uとに基づき、それら各ワークが今
回の補正値Uの影響を受けた定寸点の下で加工されたと
仮定した場合にそれら各ワークについて取得されるべき
測定値を予測するという技術を、間欠的補正に応用する
ことによって取得されたものであるが、この測定値予測
技術は、前記連続的補正に応用することもできる。It should be noted that the second method is a measurement value prediction technique, that is, of at least one work machined under the fixed size point affected by the previous correction value U, the current method. After each correction value U is determined, each of the workpieces measured by the all-in-one measuring device 16 is subjected to the influence of the current correction value U based on the actual measurement value X of each time and the current correction value U. It is obtained by applying the technique of predicting the measurement values to be obtained for each of these workpieces assuming that they have been processed under the received fixed size point, by applying it to intermittent correction. The measurement value prediction technique can also be applied to the continuous correction.
【0139】加工機10と全数測定機16との間に待機
ワークが存在する場合には、連続的補正を実行する際に
おいても、前回の補正値Uの影響を受けたワークを直ち
に全数測定機16により測定することができないという
事情は同じである。そのため、この場合には、実験結
果,シミュレーション結果等に基づく統計的手法によ
り、今回の補正値Uを決定することになる。そして、そ
の統計的手法に代えて、またはその統計的手法と共に、
この測定値予測技術を利用することができるのである。When a standby work exists between the processing machine 10 and the total measuring machine 16, the work affected by the previous correction value U is immediately applied to the total measuring machine even when performing the continuous correction. The situation is the same that the measurement cannot be performed by using No. 16. Therefore, in this case, the current correction value U is determined by a statistical method based on experimental results, simulation results, and the like. And, instead of or along with the statistical method,
This measurement value prediction technique can be used.
【0140】(2) むだ時間考慮型補正 全数測定機16による測定を待つ待機ワークの数が変動
する場合には、複数のワークを同じ定寸点の下で加工し
た場合であっても、ワークの寸法誤差が変動する。そこ
で、本実施例においては、その待機ワークの数をむだ時
間MSとして測定し、それに応じて補正値Uの決定規則
を変更することにより、各回の補正値Uを決定するむだ
時間考慮型補正も採用されている。なお、この技術は、
本出願人の特願平4−158787号として出願されて
いる。(2) Time-Delay Consideration Correction When the number of standby workpieces waiting for measurement by the total number measuring machine 16 fluctuates, even if a plurality of workpieces are machined under the same fixed point, Dimensional error fluctuates. Therefore, in the present embodiment, the number of the standby workpieces is measured as the dead time MS, and the rule for determining the correction value U is changed accordingly, so that the dead time consideration type correction for determining the correction value U for each time is also performed. Has been adopted. This technology,
It has been filed as Japanese Patent Application No. 4-158787 of the present applicant.
【0141】なお、本実施例においては、このむだ時間
考慮型補正の実行の許否も作業者によって指令されるよ
うになっている。In this embodiment, the operator is also instructed whether or not to execute the dead time consideration type correction.
【0142】(3) ファジィ演算を用いた補正値Uの決定 補正値Uは、寸法情報を入力変数としてファジィ演算を
行うことによって決定される。(3) Determination of Correction Value U Using Fuzzy Calculation The correction value U is determined by performing a fuzzy calculation using dimensional information as an input variable.
【0143】本実施例においては、補正値Uの決定方式
として3種類存在する。すなわち、 誤差値Rおよび
微分値Tのみをそれぞれ入力変数としたファジィ演算に
よる第1の決定方式と、 誤差値R,微分値Tおよび
2回微分値Dをそれぞれ入力変数としたファジィ演算に
よる第2の決定方式と、 誤差値R,微分値Tおよび
むだ時間MSをそれぞれ入力変数としたファジィ演算に
よる第3の決定方式とが存在するのである。そして、本
実施例においては、前記2回微分値使用指令が出された
場合には第2の決定方式、前記むだ時間考慮型補正指令
が出された場合には第3の決定方式、それら指令のいず
れも出されなかった場合には第1の決定方式がそれぞれ
選択される。In the present embodiment, there are three methods for determining the correction value U. That is, a first decision method based on a fuzzy operation using only the error value R and the differential value T as input variables, and a second decision method based on a fuzzy operation using the error value R, the differential value T and the second derivative value D as the input variables. And a third determination method based on fuzzy arithmetic using the error value R, the differential value T, and the dead time MS as input variables. In the present embodiment, the second decision method is issued when the twice differential value use command is issued, and the third decision method is issued when the dead time consideration correction command is issued. Is not issued, the first determination method is selected.
【0144】なお、第1の決定方式の一具体例は本出願
人の特願平4−61305号明細書に既に開示され、第
2の決定方式の一具体例は本出願人の特願平4−235
402号明細書に既に開示され、第3の決定方式の一具
体例は本出願人の特願平4−158787号明細書に既
に開示されている。A specific example of the first determination method has already been disclosed in the specification of Japanese Patent Application No. 4-61305 of the present applicant, and a specific example of the second determination method is described in the present application. 4-235
A specific example of the third determination method has already been disclosed in Japanese Patent Application No. 4-158787 of the present applicant.
【0145】(4) 連続性考慮 前述のように、測定ワーク数iの増加につれてワークの
寸法誤差がほぼ比例的に増加するのが一般的であるた
め、定寸点の補正値Uに連続性を持たせること、すなわ
ち、加工の進行につれて滑らかに変化させることがワー
クの寸法ばらつきを抑制するのに望ましい。(4) Continuity Consideration As described above, since the dimensional error of the work generally increases almost proportionally as the number i of the measured work increases, the continuity is not included in the correction value U of the fixed size point. In other words, it is desirable to make the surface smooth, that is, to smoothly change as the processing proceeds, in order to suppress the dimensional variation of the work.
【0146】そこで、本実施例においては、その事実に
着目し、図23にグラフで概念的に示すように、まず、
連続性を無視して補正値Uが決定され、それが暫定値
(以下、「暫定補正値U」という。なお、前述の暫定補
正値UP とは異なる)とされ、今回までに取得された最
新のM(2以上の固定値)個の暫定補正値Uが測定ワー
ク数iの増加に対してほぼ比例すると仮定され、それら
M個の暫定補正値Uについて前記の場合と同様な1次回
帰線の式が特定される。そして、その式を用いて現在の
補正値Uの真の値が推定され、それが補正値Uの最終値
(以下、「最終補正値U* 」という。なお、前述の最終
補正値UF とは異なる)とされる。なお、この技術は、
本出願人の特願平4−61306号として出願されてい
る。Therefore, in this embodiment, focusing on the fact, as shown conceptually in a graph of FIG.
Ignoring the continuity correction value U is determined and the provisional value (hereinafter, referred to as "provisional correction value U". In addition, different from the provisional correction value U P described above) is a, was acquired to the current It is assumed that the latest M (two or more fixed values) provisional correction values U are almost proportional to the increase in the number i of measured workpieces, and the primary regression similar to the above case is performed for the M provisional correction values U. The line formula is specified. Then, the true value of the current correction value U using equation is estimated, it is the final value of the correction value U (hereinafter, referred to as "final correction value U *". Note that the final correction value U F described above Is different). This technology,
It has been filed as Japanese Patent Application No. 4-61306 of the present applicant.
【0147】具体的には、1次回帰線の式として、例え
ば、Specifically, as an equation of the linear regression line, for example,
【0148】[0148]
【数7】 (Equation 7)
【0149】なる式が採用される。ただし、 x:測定ワーク数iの値 x′:M個のxの値の平均値 y:xの各値における暫定補正値Uの真の値 U:xの各値における暫定補正値Uの計算値 U′:M個の暫定補正値Uの計算値の平均値The following equation is adopted. Here, x: value of the number i of the measured workpieces x ': average value of M x values y: true value of the temporary correction value U at each value of x U: calculation of the temporary correction value U at each value of x Value U ': Average value of calculated values of M provisional correction values U
【0150】そして、上記式の「x」に今回の測定ワー
ク数iの値を代入すれば、今回の最終補正値U* が取得
されることになる。Then, by substituting the value of the current measured work number i into “x” in the above equation, the current final correction value U * is obtained.
【0151】なお、本実施例においては、この連続性考
慮型補正の実行の許否も作業者によって指令されるよう
になっている。In this embodiment, whether or not to execute the continuity-consideration correction is instructed by the operator.
【0152】また、作業者からその連続性考慮型補正指
令が出された場合(ただし、前記2回微分値使用指令は
出されていない場合)に測定値Xから最終補正値U* が
取得されるまでの過程を代表的に、図24に概念的に図
示する。この図は、それの左側から右側に向かうにつれ
て、測定ワーク数iの値が増加することとして表されて
いる。図から明らかなように、演算データメモリへの測
定値Xの蓄積を無蓄積状態から開始する場合には、(K
+L+M−2)個の測定値Xが蓄積されたときに初めて
1個の最終補正値U* が取得されることになるであり、
これが前述の、測定値Xの蓄積に係る「設定複数個」の
一態様なのである。When the operator issues a continuity-consideration-type correction command (however, when the second differential value use command is not issued), the final correction value U * is obtained from the measured value X. FIG. 24 conceptually illustrates the process up to this point. In this figure, the value of the number i of measured workpieces increases from the left side to the right side. As is clear from the figure, when the accumulation of the measurement value X in the operation data memory is started from the non-accumulation state, (K
+ L + M−2) when one measurement value X is accumulated, one final correction value U * is obtained for the first time,
This is one aspect of the above-described “set multiple” regarding the accumulation of the measured values X.
【0153】(5) 不感帯考慮 前述のように、主補正および補助補正に係る最終補正値
U* の送信については、定寸装置14との関係における
不感帯が設定され、各回に決定した最終補正値U* がそ
の不感帯内にある場合には、その最終補正値U* の定寸
装置14への送信が省略される。この様子を図25にグ
ラフで概念的に示す。(5) Consideration of dead zone As described above, regarding transmission of the final correction value U * relating to the main correction and the auxiliary correction, a dead zone in relation to the sizing device 14 is set, and the final correction value determined each time is set. When U * is within the dead zone, transmission of the final correction value U * to the sizing device 14 is omitted. This situation is conceptually shown in FIG.
【0154】(6) その他 制御装置20は、定寸装置14による手動補正が行われ
た場合には、手動補正を自動補正より優先させるととも
に、手動補正の直後であっても自動補正の精度が確保さ
れるように設計されている。具体的には、制御装置20
は、定寸装置14において手動補正が行われたか否かを
逐次監視し、行われない場合には自動補正を行うが、行
われた場合には自動補正を中断し、その手動補正の影響
を受けた定寸点の下で加工された先頭補正対象ワークが
全数測定機16により測定される時期以後に、測定値X
の演算データメモリへの蓄積を無蓄積状態から再開して
自動補正を再開するようにも設計されている。制御装置
20は、自動補正値を決定するために過去の測定値Xを
も使用するように設計されており、しかも、この制御装
置20が使用される加工システムにおいては加工機10
と全数測定機16との間に待機ワークが存在することが
許容されることから、手動補正の影響を受けていないワ
ークの測定値Xをその影響を受けたワークの測定値Xと
区別することなく蓄積し、その蓄積された測定値Xに基
づいて自動補正値を決定することとした場合には、手動
補正の影響を受けていないワークの測定値Xにより自動
補正値の精度が低下するおそれがあるからである。(6) Others If the manual correction by the sizing device 14 is performed, the control device 20 gives priority to the manual correction over the automatic correction, and the accuracy of the automatic correction even immediately after the manual correction. Designed to be secured. Specifically, the control device 20
Continuously monitors whether or not the manual correction has been performed in the sizing device 14. If the manual correction is not performed, the automatic correction is performed. However, if the manual correction is performed, the automatic correction is interrupted, and the influence of the manual correction is reduced. After the time when the head correction target workpiece processed under the received fixed size point is measured by the total number measuring machine 16, the measured value X
It is also designed to restart the automatic correction by restarting the accumulation in the operation data memory from the non-accumulation state. The control device 20 is designed to use the past measurement value X to determine the automatic correction value, and furthermore, in the processing system in which the control device 20 is used, the processing machine 10 is used.
Since it is permissible that a standby work exists between the work and the total number measuring device 16, the measured value X of the work not affected by the manual correction is distinguished from the measured value X of the work affected by the manual correction. If the automatic correction value is determined based on the stored measurement value X, the accuracy of the automatic correction value may decrease due to the measurement value X of the work not affected by the manual correction. Because there is.
【0155】また、本実施例においては、定寸装置14
における手動補正の有無の監視が、制御装置20の起動
当初と、制御装置20が各回の自動補正値を送信しよう
とするごとにそれに先立って行われるようになってい
る。制御装置20の起動当初にも定寸装置14における
手動補正の有無を監視するのは、制御装置20の停止中
に定寸装置14において手動補正が行われることがある
からである。In this embodiment, the sizing device 14 is used.
The monitoring of the presence or absence of the manual correction is performed at the beginning of the control device 20 and before the control device 20 transmits the automatic correction value each time. The reason for monitoring the presence or absence of manual correction in the sizing device 14 even at the start of the control device 20 is that manual correction may be performed in the sizing device 14 while the control device 20 is stopped.
【0156】以上、制御装置20による定寸点補正の内
容を概略的に説明したが、以下、定寸点補正ルーチンを
表す図5〜10のフローチャートに基づき、具体的に説
明する。The contents of the fixed point correction performed by the control device 20 have been described briefly. The following is a specific description based on the flowcharts of FIGS. 5 to 10 showing the fixed point correction routine.
【0157】まず、図5のステップS1(以下、単に
「S1」で表す。他のステップについても同じとする)
において、補助記憶装置22から数値や指令がパラメー
タとして入力される。ここに「数値」とは、前述の、移
動平均値Pに係る重み係数bの値,置換制限数Z,補助
補正制限数S等を意味し、また、「指令」とは、前述
の、特別移動平均値算出指令等を意味する。First, step S1 in FIG. 5 (hereinafter simply referred to as “S1”; the same applies to other steps)
, A numerical value or a command is input from the auxiliary storage device 22 as a parameter. Here, the “numerical value” means the value of the weighting coefficient b relating to the moving average value P, the replacement limit number Z, the auxiliary correction limit number S, and the like, and the “command” refers to the special This means a moving average value calculation command or the like.
【0158】続いて、S2において、定寸装置14が最
新の手動補正値および定寸点を制御装置20に送信する
機能(以下、「手動補正値送信機能」という)を有して
いるか否かが判定される。ここに、手動補正値送信機能
を有する場合とは、定寸装置14が、作業者によりキー
ボード50を介して定寸装置14に入力された手動補正
値およびそれを反映した定寸点を自身のRAMに記憶す
るのみならず、制御装置20に自発的に送信するように
設計されている場合をいい、一方、手動補正値送信機能
を有しない場合とは、定寸装置14は、入力された手動
補正値およびそれを反映した定寸点を自身のRAMに記
憶するのみで、制御装置20に自発的に送信するように
は設計されていない場合をいう。Subsequently, in S2, it is determined whether or not the sizing device 14 has a function of transmitting the latest manual correction value and sizing point to the control device 20 (hereinafter, referred to as a "manual correction value transmission function"). Is determined. Here, the case where the manual correction value transmission function is provided means that the sizing device 14 outputs the manual correction value input to the sizing device 14 by the operator via the keyboard 50 and the sizing point reflecting the manual correction value. This means that the sizing device 14 is designed not only to store the data in the RAM but also to transmit the data to the control device 20 spontaneously. This refers to a case where the manual correction value and the fixed size point reflecting the manual correction value are only stored in the own RAM, and are not designed to be spontaneously transmitted to the control device 20.
【0159】定寸装置14は前述のように、この手動補
正値送信機能を有しているため、このS2の判定はYE
S(図において「Y」で表す。他のステップについても
同じとする。)となる。したがって、S3に移行し、こ
こにおいて、制御装置20が、定寸装置14からの最新
の定寸点を表す信号の受信を許可する受信許可状態とな
り、最新の定寸点が受信される。受信された最新の定寸
点は制御装置20のRAMに記憶されるとともに、補助
記憶装置22に保存される。Since the sizing device 14 has the manual correction value transmitting function as described above, the determination in S2 is made by YE
S (represented by “Y” in the figure. The same applies to other steps). Accordingly, the process proceeds to S3, where the control device 20 enters a reception permission state in which the control device 20 permits reception of a signal representing the latest sizing point from the sizing device 14, and the latest sizing point is received. The latest fixed point received is stored in the RAM of the control device 20 and is also stored in the auxiliary storage device 22.
【0160】その後、S4において、定寸装置14のR
AMのフラグの状態から手動補正があったか否かが判定
される。手動補正がなかったと仮定すれば、判定がNO
となり、直ちにS8に移行するが、あったと仮定すれ
ば、判定がYESとなり、S5において、制御装置20
が、定寸装置14からの最新の手動補正値を表す信号の
受信を許可する受信許可状態となり、その最新の手動補
正値が受信される。受信された最新の手動補正値は、制
御装置20のRAMに記憶され、さらに補助記憶装置2
2に保存される。その後、S6において、演算データメ
モリがクリアされる。手動補正と共に演算データメモリ
に蓄積されているデータがすべて消去されるのである。
その後、S8に移行する。Thereafter, in S4, the R of the sizing device 14
It is determined from the state of the AM flag whether or not manual correction has been performed. Assuming that there was no manual correction,
Then, the process immediately proceeds to S8, but if it is assumed that there is, the determination becomes YES, and in S5, the control device 20
Is in a reception permitting state in which reception of a signal representing the latest manual correction value from the sizing device 14 is permitted, and the latest manual correction value is received. The received latest manual correction value is stored in the RAM of the control device 20, and further stored in the auxiliary storage device 2.
2 is stored. Thereafter, in S6, the operation data memory is cleared. With the manual correction, all the data stored in the arithmetic data memory is deleted.
Then, the process proceeds to S8.
【0161】以上、S2の判定がYESとなる場合につ
いて説明したが、仮に定寸装置14が手動補正値送信機
能を有していないと仮定すれば、判定がNO(図におい
て「N」で表す。他のステップについても同じとする)
となり、S7において、制御装置20が、定寸装置14
のRAMから最新の定寸点を読み込んで制御装置20の
RAMに記憶する状態となり、さらに、その最新の定寸
点が補助記憶装置22に保存される。The case where the determination in S2 is YES has been described above. However, if it is assumed that the sizing device 14 does not have a manual correction value transmitting function, the determination is NO (represented by "N" in the figure). The same applies to the other steps.)
In S7, the control device 20 sets the sizing device 14
Is read from the RAM and stored in the RAM of the control device 20, and the latest fixed point is stored in the auxiliary storage device 22.
【0162】ここで、制御装置20が定寸装置14にお
ける最新の手動補正値と定寸点とをそれぞれ監視する目
的について説明する。Here, the purpose of the control device 20 monitoring the latest manual correction value and the sizing point in the sizing device 14 will be described.
【0163】まず、制御装置20が最新の定寸点を監視
する目的について説明する。制御装置20は、定寸装置
14の定寸点の補正値(現在の定寸点を変動させる量)
を自動的に決定し、その決定した補正値に従って定寸装
置14は自身の定寸点を補正することになる。しかし、
定寸点が取り得る範囲には制限があり、それを超える定
寸点が決定された場合には、定寸装置14の作動が停止
させられる。そこで、本実施例においては、定寸装置1
4の最新の定寸点を逐次監視し、自動的に決定した補正
値でその定寸点が補正されるとそれの許容範囲を超えて
しまう場合には、その自動補正値の定寸装置14への送
信が禁止されるようになっている。このように、定寸装
置14の事情を考慮しない一方的な自動補正によって定
寸装置14の定寸点が許容範囲を超えることを防止する
ために、制御装置20は定寸装置14における最新の定
寸点を監視するのである。なお、定寸装置14において
定寸点が許容範囲を超えることとなる場合に自動補正値
の送信を禁止する処理は、図示しない別のルーチンの実
行によって実現される。First, the purpose of the control device 20 monitoring the latest fixed point will be described. The control device 20 corrects the sizing point of the sizing device 14 (the amount by which the current sizing point is changed).
Is automatically determined, and the sizing device 14 corrects its own sizing point according to the determined correction value. But,
There is a limit to the range in which the sizing point can be taken, and when a sizing point exceeding that is determined, the operation of the sizing device 14 is stopped. Therefore, in the present embodiment, the sizing device 1
4 is sequentially monitored, and if the fixed point is corrected with an automatically determined correction value, the correction value exceeds the allowable range. The transmission to is prohibited. As described above, in order to prevent the sizing point of the sizing device 14 from exceeding the allowable range by the one-sided automatic correction that does not take the circumstances of the sizing device 14 into consideration, the control device 20 uses the latest sizing device 14 It monitors the fixed point. Note that the process of prohibiting the transmission of the automatic correction value when the sizing point exceeds the allowable range in the sizing device 14 is realized by executing another routine (not shown).
【0164】次に、制御装置20が最新の手動補正値を
監視する目的について説明する。制御装置20は、前述
のように、作業者により前記データシフト処理の使用を
許可するデータシフト処理指令が出された場合には、全
数測定機16による最新の測定値Xに基づき、加工機1
0により加工されたが未だ全数測定機16により測定さ
れてはいない各ワークが最新の補正値Uの影響を受けた
定寸点の下で加工されたと仮定した場合にそれら各ワー
クについて測定される値を予測する。この際、定寸装置
14の定寸点が制御装置20により自動補正されている
場合には、全数測定機16による最新の測定値Xに最新
の自動補正値を加算することによって上記予測が行わ
れ、これに対して、定寸装置14自身により手動補正さ
れている場合には、最新の測定値Xに最新の手動補正値
を加算することによって上記予測が行われる。このよう
に、制御装置20が定寸装置14における手動補正値の
影響を考慮して測定値Xの予測を行うために、定寸装置
14における最新の手動補正値を監視する必要があるの
である。Next, the purpose of the control device 20 monitoring the latest manual correction value will be described. As described above, when the operator issues a data shift processing command to permit the use of the data shift processing, the control device 20 determines whether the processing machine 1
Measurement is performed on each of the workpieces that have been machined according to 0, but have not yet been measured by the 100% measuring machine 16, assuming that they have been machined under the fixed point affected by the latest correction value U. Predict the value. At this time, if the sizing point of the sizing device 14 has been automatically corrected by the control device 20, the above-described prediction is performed by adding the latest automatic correction value to the latest measurement value X by the total number measuring device 16. On the other hand, when the manual correction is performed by the sizing device 14 itself, the prediction is performed by adding the latest manual correction value to the latest measurement value X. Thus, in order for the control device 20 to predict the measured value X in consideration of the influence of the manual correction value in the sizing device 14, it is necessary to monitor the latest manual correction value in the sizing device 14. .
【0165】定寸装置14が手動補正値送信機能を有し
ている場合も有していない場合もその後、S8におい
て、全数測定機16により測定された測定値Xであって
未だ全数測定機16から制御装置20に送信されていな
いものの有無が判定される。今回はそのような測定値X
がないと仮定すれば、判定がNOとなり、S9に移行す
る。In both cases where the sizing device 14 has or does not have the manual correction value transmission function, then, in S8, the measurement value X measured by the 100 It is determined whether there is any that has not been transmitted to the control device 20 from. This time such a measured value X
Assuming that there is no, the determination is NO and the process moves to S9.
【0166】このS9においては、前記S2と同様にし
て、定寸装置14が手動補正値送信機能を有しているか
否かが判定される。定寸装置14は手動補正値送信機能
を有しているから、判定がYESとなり、S10におい
て、前記S4と同様にして、定寸装置14において手動
補正があったか否かが判定される。In S9, similarly to S2, it is determined whether or not the sizing device 14 has a manual correction value transmitting function. Since the sizing device 14 has the manual correction value transmission function, the determination is YES, and it is determined in S10 whether or not the sizing device 14 has been manually corrected in the same manner as in S4.
【0167】今回は手動補正がなかったと仮定すれば、
判定がNOとなり、S11において、制御装置20に接
続されているキーボード(図示しない)が作業者により
操作されたか否か、すなわち、作業者によるキー入力の
有無が判定される。無ければ判定がNOとなって直ちに
S8に戻るが、有れば判定がYESとなり、S12にお
いて、そのキーボードからデータが入力され、S13に
おいて、そのデータに応じて前記パラメータが変更さ
れ、さらに、その変更されたパラメータが補助記憶装置
22に保存され、その後、S14において、演算データ
メモリがクリアされ、その後、S8に戻る。Assuming that there was no manual correction this time,
The determination is NO, and in S11, it is determined whether or not a keyboard (not shown) connected to the control device 20 has been operated by an operator, that is, whether or not a key has been input by the operator. If not, the determination is NO and the process immediately returns to S8. If yes, the determination is YES. In S12, data is input from the keyboard. In S13, the parameter is changed in accordance with the data. The changed parameters are stored in the auxiliary storage device 22, and thereafter, in S14, the operation data memory is cleared, and thereafter, the process returns to S8.
【0168】これに対して、今回は手動補正があったと
仮定すれば、S10の判定がYESとなり、S15にお
いて、前記S5と同様にして定寸装置14から最新の手
動補正値が受信されて記憶され、続いて、S16におい
て、後述のワーク待ちフラグがONされ、S17におい
て、演算データメモリがクリアされる。その後、S8に
戻る。On the other hand, if it is assumed that the manual correction has been performed this time, the determination in S10 becomes YES, and in S15, the latest manual correction value is received from the sizing device 14 and stored in the same manner as in S5. Then, in S16, a work waiting flag described later is turned on, and in S17, the operation data memory is cleared. Then, the process returns to S8.
【0169】これに対して、定寸装置14が手動補正値
送信機能を有していないと仮定すれば、S9の判定がN
Oとなり、S18において、定寸装置14から最新の定
寸点が読み込まれ、それがRAMに記憶されるととも
に、補助記憶装置22に保存され、その後、S19にお
いて、補助記憶装置22から前回の定寸点が入力され
る。その後、S20において、今回の定寸点が前回の定
寸点から変更されているか否かが判定される。すなわ
ち、手動補正値送信機能のない定寸装置において手動補
正が行われたか否かが、定寸点の変化状況から判定され
るのである。今回は定寸点の変更はないと仮定すれば、
判定がNOとなり、直ちにS11に移行するが、定寸点
の変更があったと仮定すれば、S20の判定がYESと
なり、S21において、ワーク待ちフラグがONされ、
S22において、演算データメモリがクリアされ、その
後、S11に移行する。On the other hand, assuming that the sizing device 14 does not have the manual correction value transmitting function, the determination in S9 is N.
In step S18, the latest sizing point is read from the sizing device 14 and stored in the RAM and stored in the auxiliary storage device 22. Thereafter, in S19, the last sizing point is read from the auxiliary storage device 22 from the auxiliary storage device 22. Dimensions are entered. Thereafter, in S20, it is determined whether or not the current sizing point has been changed from the previous sizing point. That is, whether or not manual correction has been performed in the sizing device without the manual correction value transmission function is determined from the change state of the sizing point. Assuming there is no change in the fixed point this time,
The determination is NO and the process immediately proceeds to S11. However, assuming that the fixed size point has been changed, the determination in S20 is YES, and in S21, the work waiting flag is turned on, and
In S22, the operation data memory is cleared, and then the process proceeds to S11.
【0170】以上、全数測定機16において送信すべき
測定値Xがない場合について説明したが、あった場合に
は、S8の判定がYESとなり、S23において、その
測定値Xが全数測定機16から入力される。測定値X
は、7個のジャーナル面すべてについて個々に入力され
る。その測定値Xは演算データメモリに蓄積されるとと
もに補助記憶装置22に保存され、その後、図4のS2
4に移行する。The case where there is no measured value X to be transmitted by the all-in-one measuring device 16 has been described above. If there is, the determination in S8 is YES, and the measured value X is transmitted from the all-in-one measuring device 16 in S23. Is entered. Measured value X
Are individually entered for all seven journal surfaces. The measured value X is stored in the arithmetic data memory and stored in the auxiliary storage device 22.
Move to 4.
【0171】このS24においては、前記パラメータの
値に基づき、作業者によりデータシフト処理指令が出さ
れているか否かが判定される。以下、まず、データシフ
ト処理指令が出されていない場合について説明する。At S24, it is determined whether or not a data shift processing command has been issued by the operator based on the value of the parameter. Hereinafter, first, the case where the data shift processing command is not issued will be described.
【0172】この場合、S24の判定がNOとなり、S
25において、ワーク待ちフラグがONであるか否かが
判定される。In this case, the determination in S24 is NO, and
At 25, it is determined whether or not the work waiting flag is ON.
【0173】このワーク待ちフラグは、定寸装置14に
おける定寸点であって最新の手動補正値または自動補正
値の影響を受けたものの下で加工された少なくとも1個
のワークのうち先頭のものである先頭補正対象ワークが
全数測定機16により測定されたか、それともその測定
を待っているのかを監視するためのものである。このワ
ーク待ちフラグは、OFFでその先頭補正対象ワークが
測定を終了したこと、すなわちワーク待ち状態にないこ
とを示し、一方、ONで先頭補正対象ワークが測定を終
了しないこと、すなわちワーク待ち状態にあることを示
す。このワーク待ちフラグはRAMに設けられており、
コンピュータの電源の投入に伴ってONされ、図示しな
い別のプログラムの実行により、その先頭補正対象ワー
クが全数測定機16による測定を終了するごとに、OF
Fされる。また、本ルーチンの実行により、手動補正が
行われるごとに、および各回の間欠的補正が終了するご
とに、ONされる。今回はワーク待ちフラグがONでは
ないと仮定すれば、S25の判定がNOとなり、S26
に移行する。The work waiting flag is the leading one of at least one work machined under the sizing point in the sizing device 14 which has been affected by the latest manual correction value or automatic correction value. This is for monitoring whether the work to be corrected at the top is measured by the 100% measuring machine 16 or is waiting for the measurement. This work waiting flag is OFF to indicate that the head correction target work has completed measurement, that is, not in the work waiting state, while ON indicates that the head correction target work does not end measurement, that is, in the work waiting state. Indicates that there is. This work waiting flag is provided in the RAM,
It is turned on when the power of the computer is turned on, and is turned off each time the work to be corrected at the top is completed by the 100-measuring machine 16 by executing another program (not shown).
F. In addition, this routine is turned on each time manual correction is performed and each time intermittent correction is completed. Assuming that the work waiting flag is not ON this time, the determination in S25 is NO, and the determination in S26 is NO.
Move to
【0174】このS26においては、演算データメモリ
から過去の測定値Xが入力される。その後、S27にお
いて、今回の移動平均値Pの算出の可否が判定される。
演算データメモリに蓄積されている測定値Xの数がK個
以上であるか否かが判定されるのである。今回は、蓄積
されている測定値Xの数がK個以上ではないと仮定すれ
ば、判定がNOとなり、S28において、特別移動平均
値算出指令の有無が判定される。無ければ判定がNOと
なり、直ちにS8に戻る。したがって、本ルーチンの今
回の実行においては、結局、自動補正値すなわち最終補
正値U* が0とされることになる。At S26, the past measured value X is input from the operation data memory. Thereafter, in S27, it is determined whether the current moving average value P can be calculated.
It is determined whether or not the number of measured values X stored in the operation data memory is K or more. This time, if it is assumed that the number of accumulated measurement values X is not more than K, the determination is NO, and in S28, the presence or absence of a special moving average value calculation command is determined. If not, the determination is NO, and the process immediately returns to S8. Therefore, in this execution of this routine, the automatic correction value, that is, the final correction value U * is eventually set to zero.
【0175】これに対して、特別移動平均値算出指令が
有れば、S28の判定がYESとなり、S29におい
て、可変型移動平均値算出指令の有無が判定される。無
ければ判定がNOとなり、S30に移行する。なお、可
変型移動平均値算出指令と置換型移動平均値算出指令と
は択一される指令であるから、可変型移動平均値算出指
令が無ければ必ず置換型移動平均値算出指令が有ること
になる。On the other hand, if there is a special moving average value calculation command, the determination in S28 becomes YES, and in S29, the presence or absence of the variable moving average value calculation command is determined. Otherwise, the determination is no and the process moves to S30. Note that the variable moving average value calculation command and the replacement moving average value calculation command are alternative commands.Therefore, if there is no variable moving average value calculation command, the replacement moving average value calculation command always exists. Become.
【0176】このS30においては、置換型移動平均値
算出の可否が判定される。具体的には、演算データメモ
リに蓄積されている測定値Xの数がK(原則通り移動平
均値Pを算出するのに必要な測定値Xの数)−Z(置換
制限数)より小さいか否かが判定され、そうであれば、
置換型移動平均値算出が不可能である(正確には、禁止
されている)と判定され、そうでなければ可能である
(正確には、許可されている)と判定される。不可能で
あればS8に戻るが、本ルーチンの実行(S8以下のス
テップの実行)が何回も繰り返されるうちに可能となれ
ば、判定がYESとなり、S31において、今回の測定
値Xがそのまま今回の移動平均値Pとされ、S32にお
いて、それが演算データメモリに蓄積されるとともに、
補助記憶装置22に保存される。その後、S37に移行
する。In S30, it is determined whether or not the displacement type moving average value can be calculated. Specifically, is the number of measured values X stored in the operation data memory smaller than K (the number of measured values X necessary to calculate the moving average value P in principle) -Z (replacement limit number)? Is determined, and if so,
It is determined that the permutation-type moving average value calculation is impossible (accurately, prohibited), otherwise, it is determined possible (accurately, permitted). If it is not possible, the process returns to S8. However, if the execution of this routine (the execution of the steps after S8) becomes possible a number of times, the determination becomes YES, and in S31, the current measured value X remains unchanged. The current moving average value P is set, and in S32, the moving average value P is stored in the calculation data memory.
It is stored in the auxiliary storage device 22. Then, the process proceeds to S37.
【0177】これに対して、可変型移動平均値算出指令
が有れば、S29の判定がYESとなり、S33におい
て、前記可変型移動平均値算出手法により移動平均値P
が算出され、S34において、それが演算データメモリ
に蓄積されるとともに、補助記憶装置22に保存され
る。その後、S37に移行する。On the other hand, if there is a variable moving average value calculation command, the determination in S29 is YES, and in S33, the moving average value P is calculated by the variable moving average value calculation method.
Is calculated, and in S34, it is stored in the arithmetic data memory and stored in the auxiliary storage device 22. Then, the process proceeds to S37.
【0178】その後、本ルーチンの実行が何回も繰り返
されるうちに、演算データメモリに蓄積されている測定
値Xの数がK個以上となったと仮定すれば、S27の判
定がYESとなり、S35において、移動平均値Pが原
則通り算出され、S36において、それが演算データメ
モリに蓄積されるとともに、補助記憶装置22に保存さ
れる。その後、S37に移行する。Thereafter, if it is assumed that the number of measured values X stored in the arithmetic data memory becomes K or more while the execution of this routine is repeated many times, the determination in S27 becomes YES and S35. In step S36, the moving average value P is calculated in principle. In step S36, the moving average value P is stored in the arithmetic data memory and stored in the auxiliary storage device 22. Then, the process proceeds to S37.
【0179】このS37においては、両端直径補正指令
の有無が判定され、無ければ判定がNOとなり、直ちに
図7のS39に移行するが、有れば判定がYESとな
り、S38において、前記2個の端円筒面の移動平均値
Pについて前記両端直径補正が行われ、その結果に応じ
て、演算データメモリの内容が変更される。その後、図
7のS39に移行する。In this step S37, it is determined whether or not there is a diameter correction command for both ends. If not, the determination is NO, and the process immediately proceeds to S39 in FIG. 7. If there is, the determination is YES. The diameter correction at both ends is performed on the moving average value P of the end cylindrical surface, and the content of the operation data memory is changed according to the result. Thereafter, the flow shifts to S39 in FIG.
【0180】このS39においては、今回の移動平均値
Pから、ワークの寸法の目標値A0を引いた値が今回の
誤差値Rとされ、続いて、S40において、それが演算
データメモリに蓄積されるとともに、補助記憶装置22
に保存される。[0180] In this S39, from the time of moving average P, is a value obtained by subtracting the target value A 0 of the dimensions of the workpiece between the current error value R, subsequently, in S40, it is accumulated in the operation data memory And the auxiliary storage device 22
Is stored in
【0181】その後、S41において、微分値Tの算出
の可否が判定される。演算データメモリに蓄積されてい
る移動平均値Pの数がL個以上であるか否かが判定され
るのである。今回は、移動平均値Pの数が不足している
と仮定すれば、判定がNOとなり、S42に移行する。
このS42においては、可変型微分値算出指令の有無が
判定され、無ければ判定がNOとなり、直ちにS8に戻
って、本ルーチンの今回の実行が終了するが、有れば判
定がYESとなり、S43において、演算データメモリ
に蓄積されている移動平均値Pが2個以上であるか否
か、すなわち、前記可変型微分値算出が可能であるか否
かが判定され、可能でなければ判定がNOとなり、直ち
にS8に戻るが、可能であれば判定がYESとなり、S
44において、可変型微分値算出手法により今回の微分
値Tが算出され、S45において、それが演算データメ
モリに蓄積されるとともに、補助記憶装置22に保存さ
れる。その後、S48に移行する。Thereafter, in S41, it is determined whether the differential value T can be calculated. It is determined whether the number of moving average values P stored in the operation data memory is L or more. In this case, if it is assumed that the number of the moving average values P is insufficient, the determination is NO, and the process shifts to S42.
In step S42, the presence or absence of the variable differential value calculation command is determined. If not, the determination is NO, and the process immediately returns to step S8 to end the current execution of this routine. In the above, it is determined whether or not the moving average value P stored in the operation data memory is two or more, that is, whether or not the variable differential value calculation is possible. And immediately returns to S8, but if possible, the determination is YES and S
At 44, the current differential value T is calculated by the variable differential value calculation method, and at S45, it is stored in the operation data memory and stored in the auxiliary storage device 22. Then, the process proceeds to S48.
【0182】その後、本ルーチンの実行が何回も繰り返
されるうちに、演算データメモリに蓄積されている移動
平均値Pの数がL個以上となったと仮定すれば、S41
の判定がYESとなり、S46において、微分値Tが原
則通り算出され、S47において、それが演算データメ
モリに蓄積されるとともに、補助記憶装置22に保存さ
れる。その後、S48に移行する。Thereafter, if it is assumed that the number of moving average values P stored in the arithmetic data memory becomes L or more while the execution of this routine is repeated many times, S41
Is YES, the differential value T is calculated in principle in S46, and it is stored in the arithmetic data memory and stored in the auxiliary storage device 22 in S47. Then, the process proceeds to S48.
【0183】このS48においては、2回微分値使用指
令の有無が判定され、有れば判定がYESとなり、S4
9において、2回微分値Dの算出の可否が判定される。
演算データメモリに蓄積されている微分値Tの数がQ個
以上であるか否かが判定されるのである。今回は、蓄積
されている微分値Tの数がQ個以上ではないと仮定すれ
ば、判定がNOとなり、直ちにS8に戻って、本ルーチ
ンの今回の実行が終了する。本ルーチンの実行が何回も
繰り返されるうちに、演算データメモリに蓄積されてい
る微分値Tの数がQ個以上となったと仮定すれば、S4
9の判定がYESとなり、S50において、前述のよう
にして2回微分値Dが算出され、S51において、それ
が演算データメモリに蓄積されるとともに、補助記憶装
置22に保存される。その後、S55に移行する。In this step S48, it is determined whether or not there is a twice differential value use command.
At 9, it is determined whether the differential value D can be calculated twice.
It is determined whether or not the number of differential values T stored in the operation data memory is Q or more. In this case, if it is assumed that the number of accumulated differential values T is not equal to or more than Q, the determination is NO, the process immediately returns to S8, and the current execution of this routine ends. If it is assumed that the number of differential values T stored in the arithmetic data memory becomes Q or more during execution of this routine many times, S4
The determination at 9 is YES, the differential value D is calculated twice in S50 as described above, and the differential value D is stored in the arithmetic data memory and stored in the auxiliary storage device 22 in S51. Then, the process proceeds to S55.
【0184】これに対して、2回微分値使用指令が無け
れば、S48の判定がNOとなり、S52において、む
だ時間考慮型補正指令の有無が判定される。無ければ判
定がNOとなり、直ちにS55に移行するが、有れば判
定がYESとなり、S53において、ワーク数カウンタ
18からむだ時間MSが入力され、S54において、そ
れが演算データメモリに蓄積されるとともに、補助記憶
装置22に保存される。その後、S55に移行する。On the other hand, if there is no twice differential value use command, the determination in S48 is NO, and in S52, the presence or absence of a dead time consideration type correction command is determined. If not, the determination is NO, and the process immediately proceeds to S55. However, if there is, the determination is YES. In S53, the dead time MS is input from the work number counter 18, and in S54, it is stored in the arithmetic data memory. Are stored in the auxiliary storage device 22. Then, the process proceeds to S55.
【0185】このS55においては、ファジィ演算によ
り暫定補正値Uが算出される。このファジィ演算のため
のファジィルールは3種類ある。すなわち、 2回微
分値Dを使用することもむだ時間MSを考慮することも
なく、誤差値Rと微分値Tとに基づいて暫定補正値Uを
算出するためのファジィルールと、 2回微分値Dを
使用することなく、誤差値Rと微分値Tとむだ時間MS
とに基づいて暫定補正値Uを算出するためのファジィル
ールと、 むだ時間MSを考慮することなく、誤差値
Rと微分値Tと2回微分値Dとに基づいて暫定補正値U
を算出するためのファジィルールとがあるのである。そ
して、このステップにおいては、作業者からの指令に応
じてファジィルールが選択され、それを用いてファジィ
演算が行われ、誤差値R,微分値T,2回微分値Dおよ
びむだ時間MSのうち必要なものに基づいて暫定補正値
Uが算出されることになる。その後、S56において、
それが演算データメモリに蓄積されるとともに、補助記
憶装置22に保存される。その後、図8のS57に移行
する。In S55, provisional correction value U is calculated by fuzzy calculation. There are three types of fuzzy rules for this fuzzy operation. That is, a fuzzy rule for calculating the provisional correction value U based on the error value R and the differential value T without using the twice differential value D and without considering the dead time MS, Without using D, the error value R, differential value T and dead time MS
And a fuzzy rule for calculating the provisional correction value U on the basis of the error correction value R, the differential value T, and the second differential value D without considering the dead time MS.
There is a fuzzy rule for calculating. In this step, a fuzzy rule is selected in accordance with a command from the worker, and a fuzzy operation is performed using the selected rule, and among the error value R, the differential value T, the second differential value D, and the dead time MS, The provisional correction value U is calculated based on what is necessary. Then, in S56,
It is stored in the arithmetic data memory and stored in the auxiliary storage device 22. Thereafter, the flow shifts to S57 in FIG.
【0186】このS57においては、連続性考慮型補正
指令の有無が判定され、無ければ判定がNOとなり、S
58において、暫定暫定値Uがそのまま最終補正値U*
とされ、S59において、それが補助記憶装置22に保
存される。これに対して、連続性考慮型補正指令が有れ
ば、S57の判定がYESとなり、S60において、連
続性考慮型補正の可否が判定される。演算データメモリ
に蓄積されている暫定補正値Uの数がM個以上であるか
否かが判定されるのである。今回は、蓄積されている暫
定補正値Uの数がM個以上ではないと仮定すれば、判定
がNOとなり、直ちにS8に戻り、本ルーチンの今回の
実行が終了する。その後、本ルーチンの実行が何回も繰
り返されるうちに、演算データメモリに蓄積されている
暫定補正値Uの数がM個以上となったと仮定すれば、S
60の判定がYESとなり、S61において、演算デー
タメモリに蓄積されている最新のM個の暫定補正値Uに
基づき、前述のようにして最終補正値U* が算出され
る。その後、S62において、それが演算データメモリ
に蓄積されるとともに、補助記憶装置22に保存され
る。In this step S57, it is determined whether or not there is a continuity-consideration type correction command.
At 58, the provisional provisional value U remains unchanged as the final correction value U *.
In S59, it is stored in the auxiliary storage device 22. On the other hand, if there is a continuity-consideration-type correction command, the determination in S57 is YES, and in S60, it is determined whether or not continuity-consideration-type correction is possible. It is determined whether the number of provisional correction values U stored in the operation data memory is M or more. In this case, if it is assumed that the number of the accumulated provisional correction values U is not M or more, the determination is NO, the process immediately returns to S8, and the current execution of this routine ends. Thereafter, if it is assumed that the number of provisional correction values U stored in the arithmetic data memory becomes M or more while the execution of this routine is repeated many times, S
The determination at 60 is YES, and at S61, the final correction value U * is calculated as described above, based on the latest M provisional correction values U stored in the operation data memory. Then, in S62, it is stored in the operation data memory and stored in the auxiliary storage device 22.
【0187】S59または62の実行が終了すれば、図
9のS63において、補助補正指令の有無が判定され
る。今回は無いと仮定すれば判定がNOとなり、S64
において、今回の最終補正値U* を定寸装置14に送信
すべきか否か、すなわち、その最終補正値U* が不感帯
から外れているか否かが判定される。今回は不感帯内に
あると仮定すれば、判定がNOとなり、S65におい
て、前記ファジィ演算において適合したファジィルール
が補助記憶装置22に保存される。その後、直ちにS8
に戻って、本ルーチンの今回の実行が終了する。When the execution of S59 or 62 is completed, it is determined in S63 of FIG. 9 whether or not there is an auxiliary correction command. If it is assumed that there is no current time, the determination is NO, and S64
In, it is determined whether or not the current final correction value U * should be transmitted to the sizing device 14, that is, whether or not the final correction value U * is outside the dead zone. If it is assumed that the current time is within the dead zone, the determination is NO, and the fuzzy rules that have been matched in the fuzzy calculation are stored in the auxiliary storage device 22 in S65. Then immediately S8
And the current execution of this routine ends.
【0188】これに対して、最終補正値U* が不感帯か
ら外れていると仮定すれば、S64の判定がYESとな
り、S66において、定寸装置14が手動補正値送信機
能を有しているか否かが判定される。有しているから判
定がYESとなり、S67においてその定寸装置14に
おける手動補正の有無が判定され、なければ判定がNO
となり、S68において、最終補正値U* が定寸装置1
4に送信され、それが補助記憶装置22に保存される。
その後、S69において、補助補正指令が有るか否かが
判定される。今回は無いと仮定されているから、判定が
NOとなり、S70において、前記S65と同様に、適
合したファジィルールが補助記憶装置22に保存され
る。On the other hand, if it is assumed that the final correction value U * is out of the dead zone, the determination in S64 becomes YES, and in S66, it is determined whether or not the sizing device 14 has a manual correction value transmission function. Is determined. Therefore, the determination is YES, and the presence or absence of manual correction in the sizing device 14 is determined in S67.
In S68, the final correction value U * is set to the sizing device 1
4 is stored in the auxiliary storage device 22.
Thereafter, in S69, it is determined whether or not there is an auxiliary correction command. Since it is assumed that there is no fuzzy rule this time, the determination is NO, and the matched fuzzy rules are stored in the auxiliary storage device 22 in S70, as in S65.
【0189】これに対して、定寸装置14において手動
補正があったと仮定すれば、S67の判定がYESとな
り、S71において、定寸装置14からの最新の手動補
正値および定寸点が受信されて記憶され、S72におい
て、ワーク待ちフラグがONされ、S73において、演
算データメモリがクリアされ、その後、S8に戻る。On the other hand, if it is assumed that manual correction has been performed in the sizing device 14, the determination in S67 becomes YES, and the latest manual correction value and sizing point are received from the sizing device 14 in S71. The work wait flag is turned on in S72, the arithmetic data memory is cleared in S73, and the process returns to S8.
【0190】また、定寸装置14が手動補正値送信機能
を有してはいないと仮定すれば、S66の判定がNOと
なり、S74において、定寸装置14から最新の定寸点
が読み込まれ、それがRAMに記憶されるとともに、補
助記憶装置22に保存され、S75において、RAMか
ら前回の定寸点が読み込まれる。その後、S76におい
て、その前回の定寸点と最新の定寸点とから、定寸点の
変更があったか否かが判定され、すなわち、手動補正値
送信機能を有していない定寸装置において手動補正があ
ったか否かが判定され、変更がなければ判定がNOとな
り、前記S68に移行するが、あれば判定がYESとな
り、S77において、ワーク待ちフラグがONされ、S
78において、演算データメモリがクリアされ、その
後、S8に戻る。Assuming that the sizing device 14 does not have a manual correction value transmitting function, the determination in S66 is NO, and the latest sizing point is read from the sizing device 14 in S74. It is stored in the RAM and stored in the auxiliary storage device 22, and in S75, the previous fixed point is read from the RAM. Thereafter, in S76, it is determined from the previous sizing point and the latest sizing point whether or not the sizing point has been changed. It is determined whether or not the correction has been made. If no change has been made, the determination is NO, and the process proceeds to S68. If there is, the determination is YES.
At 78, the operation data memory is cleared, and the process returns to S8.
【0191】これに対して、補助補正指令があると仮定
すれば、S63の判定がYESとなり、S79におい
て、補助補正の実行中であるか否かが判定される。補助
補正の実行回数を表す補助補正カウンタの値が1以上で
あるか否かが判定されるのである。今回は0であると仮
定すれば、判定がNOとなり、前記S64以下のステッ
プ群に移行して前記主補正が行われる。このステップ群
のうちS69においては、補助補正指令があるか否かが
判定され、今回はあると仮定されているから、判定がY
ESとなり、S80において、補助補正カウンタの値が
1だけインクリメントされることになる。On the other hand, assuming that there is an auxiliary correction command, the determination in S63 becomes YES, and in S79, it is determined whether or not the auxiliary correction is being executed. It is determined whether the value of the auxiliary correction counter indicating the number of times of performing the auxiliary correction is 1 or more. Assuming that it is 0 this time, the determination is NO, and the process proceeds to the step group from S64 onward, and the main correction is performed. In step S69 of this group of steps, it is determined whether or not there is an auxiliary correction command, and it is assumed that there is an auxiliary correction command.
It becomes ES, and the value of the auxiliary correction counter is incremented by 1 in S80.
【0192】これに対して、現在補助補正の実行中であ
って、補助補正カウンタの値が0ではないと仮定すれ
ば、S79の判定がYESとなり、S81以下のステッ
プ群に移行して補助補正が行われる。S81において
は、今回の最終補正値U* (前記今回の暫定補正値UP
に相当する)から前回の最終補正値U* (前記前回の暫
定補正値UP に相当する)を引いた値が今回の送信値
(前記今回の最終補正値UFに相当する)とされ、S8
2においては、定寸装置14が手動補正値送信機能を有
しているか否かが判定される。有しているから判定がY
ESとなり、S83において、その定寸装置14におけ
る手動補正の有無が判定され、なかったと仮定すれば、
判定がNOとなり、S84において、その送信値が定寸
装置14に送信される。補助補正が行われるのである。
その後、S85において、その送信値が補助記憶装置2
2に保存され、S86において、補助補正カウンタがイ
ンクリメントされ、その後、前記S80に移行する。一
方、手動補正があったと仮定すれば、S83の判定がY
ESとなり、S87において定寸装置14からの手動補
正値が受信され、S88において、ワーク待ちフラグが
ONされ、S89において、演算データメモリがクリア
され、その後、S8に戻る。On the other hand, if it is assumed that the auxiliary correction is currently being performed and the value of the auxiliary correction counter is not 0, the determination in S79 becomes YES, and the flow proceeds to the step group after S81 to perform the auxiliary correction. Is performed. In S81, the current final correction value U * (the current provisional correction value UP
It is the previous last corrected value U * (the equivalent to the previous provisional correction value U P) is a value obtained by subtracting the corresponding to the current transmission value (the current final correction value U F) from the corresponding) to, S8
In 2, it is determined whether or not the sizing device 14 has a manual correction value transmission function. Judgment is Y
ES, and in S83, the presence or absence of manual correction in the sizing device 14 is determined.
If the determination is NO, the transmission value is transmitted to the sizing device 14 in S84. Auxiliary correction is performed.
Thereafter, in S85, the transmission value is stored in the auxiliary storage device 2.
In step S86, the auxiliary correction counter is incremented. Thereafter, the flow shifts to step S80. On the other hand, if it is assumed that manual correction has been performed, the determination in S83 is Y
It becomes ES, the manual correction value is received from the sizing device 14 in S87, the work waiting flag is turned on in S88, the calculation data memory is cleared in S89, and thereafter, the process returns to S8.
【0193】これに対して、定寸装置14が手動補正値
送信機能を有してはいないと仮定すれば、S82の判定
がNOとなり、前記S74以下のステップ群に移行し
て、自動補正の許否が判定され、許可されればその自動
補正値が定寸装置14に送信されることになる。また、
この場合、S69の判定がYESとなり、S80におい
て、補助補正カウンタがインクリメントされる。On the other hand, if it is assumed that the sizing device 14 does not have the manual correction value transmitting function, the determination in S82 is NO, and the flow proceeds to the steps from S74 onward to execute the automatic correction. The permission / rejection is determined, and if the permission is granted, the automatic correction value is transmitted to the sizing device 14. Also,
In this case, the determination in S69 becomes YES, and in S80, the auxiliary correction counter is incremented.
【0194】S70の実行が終了すると、図10のS9
0において、補助補正指令の有無が判定される。今回は
無いと仮定すれば、判定がNOとなり、S91におい
て、ワーク待ちフラグがONされ、S92において、演
算データメモリがクリアされ、その後、S93におい
て、データシフト処理指令の有無が判定される。今回は
ないと仮定されているから、判定がNOとなり、直ちに
S8に戻る。When the execution of S70 is completed, S9 in FIG.
At 0, the presence or absence of an auxiliary correction command is determined. Assuming that there is no current time, the determination is NO, the work wait flag is turned on in S91, the arithmetic data memory is cleared in S92, and then the presence or absence of a data shift processing command is determined in S93. Since it is assumed that there is no current time, the determination is NO and the process immediately returns to S8.
【0195】これに対して、今回は補助補正指令がある
と仮定すれば、S90の判定がYESとなり、S94に
おいて、今回の補助補正を終了させるべきであるか否か
が判定される。具体的には、補助補正カウンタの現在値
が設定値(図5のS1において補助記憶装置22から入
力されたもの)以上となったか否かが判定される。今回
はそうではないと仮定すれば、判定がNOとなり、直ち
にS8に戻る。On the other hand, if it is assumed that there is an auxiliary correction command this time, the determination in S90 becomes YES, and in S94, it is determined whether or not the current auxiliary correction should be terminated. Specifically, it is determined whether the current value of the auxiliary correction counter has become equal to or greater than a set value (input from the auxiliary storage device 22 in S1 of FIG. 5). Assuming that this is not the case this time, the determination is NO and the process immediately returns to S8.
【0196】その後、本ルーチンの実行が何回も繰り返
されるうちに、補助補正カウンタの現在値が設定値以上
となったと仮定すれば、S94の判定がYESとなり、
S95において、今回の補助補正およびそれに先行する
主補正のうち少なくともその今回の補助補正において定
寸装置14に送信された補正値すべての和(以下、「合
計補正値」という)が算出される。その後、S96にお
いて、その合計補正値が0であるか否か、すなわち、少
なくとも今回の補助補正が本当に必要な時期に行われな
かったと推定されるから今回の補助補正を続行する必要
があるか否かが判定される。今回はその必要がないと仮
定すれば、判定がNOとなり、S97において、ワーク
待ちフラグがONされ、S98において、演算データメ
モリがクリアされ、S99において、データシフト処理
指令の有無が判定される。今回はないと仮定されている
から、判定がNOとなり、直ちにS8に戻る。Thereafter, if it is assumed that the current value of the auxiliary correction counter has become equal to or greater than the set value while the execution of this routine is repeated many times, the determination in S94 becomes YES, and
In S95, a sum (hereinafter, referred to as a “total correction value”) of all correction values transmitted to the sizing device 14 in at least the current auxiliary correction of the current auxiliary correction and the preceding main correction is calculated. Thereafter, in S96, it is determined whether or not the total correction value is 0, that is, whether or not it is necessary to continue the current auxiliary correction since it is estimated that at least the current auxiliary correction has not been performed at a really necessary time. Is determined. Assuming that it is not necessary this time, the determination is NO, the work wait flag is turned on in S97, the arithmetic data memory is cleared in S98, and the presence or absence of a data shift processing command is determined in S99. Since it is assumed that there is no current time, the determination is NO and the process immediately returns to S8.
【0197】これに対して、今回の補助補正を続行する
必要があると仮定すれば、S96の判定がYESとな
り、S100において、補助補正再開指令の有無が判定
される。今回は補助補正再開指令ではなく、補助補正延
長指令があると仮定すれば、判定がNOとなり、S10
1において、補助補正カウンタの値が1とされ、その
後、S8に戻る。したがって、本ルーチンの次回の実行
時には、補助補正カウンタの現在値が0ではないため、
図9のS79の判定がNOとなり、S64に移行するこ
とになる。On the other hand, if it is assumed that the current auxiliary correction needs to be continued, the determination in S96 becomes YES, and in S100, the presence or absence of an auxiliary correction restart command is determined. If it is assumed that there is an auxiliary correction extension command instead of the auxiliary correction restart command this time, the determination is NO, and S10
At 1, the value of the auxiliary correction counter is set to 1, and thereafter, the process returns to S8. Therefore, at the next execution of this routine, since the current value of the auxiliary correction counter is not 0,
The determination in S79 in FIG. 9 is NO, and the process proceeds to S64.
【0198】これに対し、今回は補助補正延長指令では
なく、補助補正再開指令が有ると仮定すれば、図10の
S100の判定がYESとなり、S102において、補
助補正カウンタの値が0とされ、その後、S8に戻る。
したがって、本ルーチンの次回の実行時には、補助補正
カウンタの現在値が0であるから、図9のS79の判定
がYESとなり、S81に移行することになる。On the other hand, if it is assumed that there is not the auxiliary correction extension command but the auxiliary correction restart command this time, the determination in S100 of FIG. 10 becomes YES, and the value of the auxiliary correction counter is set to 0 in S102. Then, the process returns to S8.
Accordingly, at the next execution of this routine, the current value of the auxiliary correction counter is 0, so the determination in S79 in FIG. 9 is YES, and the process proceeds to S81.
【0199】ワーク待ちフラグがONされている状態で
図6のS25が実行される場合には、それの判定がYE
Sとなり、S103において、演算データメモリがクリ
アされ、その後、S8に戻ることになる。すなわち、定
寸点の手動補正または自動補正の直後からは、図5のS
23の存在にもかかわらず、演算データメモリへの測定
値X等の蓄積は事実上行われず、その最新の手動補正ま
たは自動補正の影響を受けた定寸点の下で加工されたワ
ークが最初に全数計測機16により測定されたときにワ
ーク待ちフラグがOFFされ、図6のS25の判定がN
Oとなり、演算データメモリへの測定値X等の蓄積が再
開されることになるのである。When S25 in FIG. 6 is executed while the work waiting flag is ON, the determination is made as YE.
In S103, the operation data memory is cleared in S103, and thereafter, the process returns to S8. In other words, immediately after the manual or automatic correction of the fixed point, the S in FIG.
Despite the existence of 23, the measurement data X and the like are not actually stored in the calculation data memory, and the work machined under the fixed point affected by the latest manual correction or automatic correction is initially performed. The work wait flag is turned off when the total number is measured by the total number measuring device 16, and the determination in S25 in FIG.
It becomes O, and the accumulation of the measured value X and the like in the operation data memory is restarted.
【0200】以上、データシフト処理指令が出されてい
ない場合について説明したが、次に、出されている場合
について説明する。The case where the data shift processing instruction has not been issued has been described above. Next, the case where the data shift processing instruction has been issued will be described.
【0201】この場合には、図6のS24の判定がYE
Sとなり、S104以下のステップ群に移行する。S1
04においては、データシフト処理を禁止するべきであ
るか否かが判定される。最新の手動補正値または自動補
正値に係る先頭補正対象ワークについて全数測定機16
による測定が終了した場合には、もはやデータシフト処
理を行う必要がなく、行うとかえって測定値Xの誤差が
増加してしまうから、このような場合にはデータシフト
処理を禁止するのである。In this case, the determination at S24 in FIG.
S is reached, and the process proceeds to the step group from S104. S1
In 04, it is determined whether the data shift process should be prohibited. For the head correction target work related to the latest manual correction value or automatic correction value,
Is completed, the data shift processing is no longer required, and the error of the measured value X increases instead. Therefore, in such a case, the data shift processing is prohibited.
【0202】先頭補正対象ワークの測定が終了したか否
かの判定は、具体的には、RAMに記憶されているデー
タシフト処理の目標回数(これの記憶については後述す
る)、すなわち、最新の手動補正値または自動補正値が
定寸装置14に送信されたときに加工機10と全数測定
機16との間に存在していたワークの数を、全数測定機
16により測定が終了するごとに1ずつ減算し、その結
果、0となったときに、先頭補正対象ワークの測定が終
了したと判定されるものである。The determination as to whether or not the measurement of the work to be corrected first has been completed is, specifically, the target number of times of data shift processing stored in the RAM (the storage of which will be described later), The number of workpieces that existed between the processing machine 10 and the total number measuring device 16 when the manual correction value or the automatic correction value was transmitted to the sizing device 14 was calculated every time the measurement by the total number measuring device 16 was completed. When the result of the subtraction is 1 and the result is 0, it is determined that the measurement of the work to be corrected first has been completed.
【0203】今回は未だ先頭補正対象ワークの測定が終
了していないと仮定すれば、判定がNOとなり、S10
5において、最新の手動補正値または自動補正値が今回
のシフト量に決定され、その後、S106において、今
回の測定値Xにその今回のシフト量を加算することによ
って今回の測定値Xが変更され、それが演算データメモ
リに蓄積されるとともに、補助記憶装置22に保存され
る。その後、S107において、演算データメモリから
過去の測定値Xが入力され、S27以下の、移動平均値
Pの算出に備える。If it is assumed that the measurement of the work to be corrected at the beginning has not been completed this time, the determination is NO, and S10
In 5, the latest manual correction value or automatic correction value is determined as the current shift amount. Thereafter, in S106, the current measurement value X is changed by adding the current shift value to the current measurement value X. Are stored in the arithmetic data memory and stored in the auxiliary storage device 22. After that, in S107, the past measurement value X is input from the operation data memory, and preparations are made for calculation of the moving average value P in S27 and subsequent steps.
【0204】その後、図10のS93において、データ
シフト処理指令の有無が判定されれば、今回はあると仮
定されているから、判定がYESとなり、S108にお
いて、ワーク数カウンタ18からむだ時間MSが入力さ
れ、次回のデータシフト処理の目標回数としてRAMに
記憶され、さらに、補助記憶装置22に保存される。そ
の後、S8に戻る。Thereafter, if it is determined in S93 of FIG. 10 that a data shift processing command is present, it is assumed that the data shift processing command is present, so the determination is YES, and in S108, the dead time MS from the work number counter 18 is determined. The data is input, stored in the RAM as the target number of times for the next data shift processing, and further stored in the auxiliary storage device 22. Then, the process returns to S8.
【0205】また、同図のS99の判定も、上記の場合
と同様に、YESとなり、S109において、ワーク数
カウンタ18からむだ時間MSが入力され、次回のデー
タシフト処理の目標回数としてRAMに記憶され、さら
に、補助記憶装置22に保存される。その後、S8に戻
る。In the same manner as in the above case, the determination in S99 is YES, and in S109, the dead time MS is input from the work counter 18 and stored in the RAM as the target number of times for the next data shift processing. The data is further stored in the auxiliary storage device 22. Then, the process returns to S8.
【0206】このように、データシフト処理の目標回数
は、間欠的補正の終了に伴って行われることになるが、
図示はしないが、手動補正の終了に伴っても行われ、ま
た、本ルーチンの初回の実行に備えてそれの標準値が予
めROMに記憶させられている。As described above, the target number of data shift processes is performed at the end of intermittent correction.
Although not shown, the correction is also performed at the end of the manual correction, and its standard value is stored in the ROM in advance in preparation for the first execution of this routine.
【0207】その後、本ルーチンの実行が何回も繰り返
されるうちに、最新の手動補正値または自動補正値に係
る先頭補正対象ワークについて全数測定機16による測
定が終了したと仮定すれば、図6のS104の判定がY
ESとなり、S110において、今回のシフト量が0と
され、その後、S106に移行する。すなわち、今回
は、実際の測定値Xがそのまま演算データメモリに蓄積
されることになるのである。Thereafter, assuming that the measurement by the 100% measuring machine 16 is completed for the head correction target work relating to the latest manual correction value or automatic correction value while the execution of this routine is repeated many times, FIG. The determination in S104 is Y
It becomes ES, and in S110, the current shift amount is set to 0, and thereafter, the process proceeds to S106. That is, this time, the actual measured value X is stored in the arithmetic data memory as it is.
【0208】このように、データシフト処理が許可され
る場合には、ワーク待ちフラグのON・OFFとは無関
係に測定値Xの演算データメモリへの蓄積が行われ、そ
の結果、自動補正の間隔時間が短くなる。As described above, when the data shift process is permitted, the measured value X is stored in the calculation data memory irrespective of the ON / OFF state of the work waiting flag. Time is shortened.
【0209】以上の説明から明らかなように、本実施例
においては、加工機10が請求項1〜7の各発明におけ
る「加工機1」の一態様を構成し、定寸装置14および
モータコントローラ15が「加工機制御手段2」の一態
様を構成し、全数測定機16が「測定機3」の一態様を
構成し、制御装置20のうち定寸点補正ルーチンの図9
のS64,68および84を除くステップを実行する部
分が「補正値決定手段4」の一態様を構成し、それらS
64,68および84を実行する部分が「補正値送信手
段5」の一態様を構成しているのである。As is clear from the above description, in this embodiment, the processing machine 10 constitutes one embodiment of the "processing machine 1" in each of the first to seventh aspects of the present invention, and the sizing device 14 and the motor controller 15 constitutes one embodiment of the “processing machine control means 2”, the total number measuring machine 16 constitutes one embodiment of the “measuring machine 3”, and FIG.
Of steps other than S64, 68 and 84 constitute one embodiment of the "correction value determining means 4".
The part that executes 64, 68 and 84 constitutes one mode of the "correction value transmitting means 5".
【0210】以上、本発明の一実施例を図面に基づいて
詳細に説明したが、この他の態様で本発明を実施するこ
とができる。As described above, one embodiment of the present invention has been described in detail with reference to the drawings. However, the present invention can be implemented in other embodiments.
【0211】例えば、上記実施例においては、演算デー
タメモリに蓄積されている測定値Xの数が前記設定複数
個に達しない段階でも、移動平均値P,誤差値R,微分
値T等が逐次算出されて演算データメモリに蓄積され、
蓄積されている測定値Xの数が設定複数個に達したとき
に1個の最終補正値U* が決定されるようになってい
た。しかし、蓄積されている測定値Xの数が設定複数個
に達しない段階では、それら移動平均値P等を全く算出
せず、蓄積されている測定値Xの数が設定複数個に達し
たときに初めて、それら移動平均値P等をまとめて算出
して1個の最終補正値U* を決定するようにして本発明
を実施することができる。For example, in the above-described embodiment, even when the number of measured values X stored in the operation data memory does not reach the set number, the moving average value P, the error value R, the differential value T, etc. are sequentially determined. Calculated and stored in the operation data memory,
One final correction value U * is determined when the number of accumulated measurement values X reaches a set number. However, when the number of accumulated measurement values X does not reach the set number, the moving average value P or the like is not calculated at all, and when the number of accumulated measurement values X reaches the set number, For the first time, the present invention can be implemented such that the moving average values P and the like are collectively calculated to determine one final correction value U * .
【0212】また、前記実施例は、クランクシャフトを
ワークとし、それの複数のジャーナル面(外周円筒面)
をそれぞれ加工部位として円筒研削する加工システムと
共に使用される定寸点補正装置に本発明を適用した場合
の一例であったが、他の加工システムと共に使用される
定寸点補正装置に本発明を適用することができるのはも
ちろんである。他の加工システムには例えば、自動車の
エンジンのシリンダブロックを加工すべきワークとし、
それに予め形成された複数のシリンダボア(内周円筒
面)をそれぞれ加工部位としてホーニングする加工シス
テムを選ぶことができる。In the above embodiment, a crankshaft is used as a workpiece, and a plurality of journal surfaces (outer peripheral cylindrical surface) thereof are used.
Is an example of the case where the present invention is applied to a fixed point correction device used together with a processing system that performs cylindrical grinding as a processing part, but the present invention is applied to a fixed point correction device used together with another processing system. It can, of course, be applied. Other processing systems include, for example, a work to be processed on a cylinder block of an automobile engine,
In addition, a machining system that hones a plurality of cylinder bores (inner peripheral cylindrical surfaces) formed in advance as machining portions can be selected.
【0213】また、前記実施例は、複数の加工部位が設
定されているワークを加工する加工システムに本発明を
適用した場合の一例でもあったが、1個の加工部位しか
設定されていない加工システムにも適用することができ
るのはもちろんである。The above embodiment is an example of the case where the present invention is applied to a machining system for machining a work in which a plurality of machining portions are set, but a machining in which only one machining portion is set. Of course, it can be applied to the system.
【0214】また、前記実施例は、複数の加工部位が設
定されているワークを加工する加工システムであり、か
つ、それら加工部位すべてについてはインプロセス測定
機を備えていないものに本発明を適用した場合の一例で
もあったが、それら加工部位すべてについてインプロセ
ス測定機を備えている加工システムにも本発明を適用す
ることができるのはもちろんである。In the above embodiment, the present invention is applied to a machining system for machining a work in which a plurality of machining portions are set, and all of the machining portions are not provided with an in-process measuring machine. However, the present invention can be applied to a processing system having an in-process measuring machine for all of the processing parts.
【0215】これらの他にも特許請求の範囲を逸脱する
ことなく、当業者の知識に基づいて種々の変形,改良を
施した態様で本発明を実施することができる。The present invention can be carried out in various modified and improved forms based on the knowledge of those skilled in the art without departing from the scope of the claims.
【図1】請求項1〜7の各発明の構成を概念的に示す図
である。FIG. 1 is a diagram conceptually showing a configuration of each of the first to seventh aspects of the present invention.
【図2】請求項1〜7の発明に共通の一実施例であるフ
ィードバック式の定寸点補正装置と共に使用される加工
システムにおいてクランクシャフトが砥石により研削さ
れる状態を示す斜視図である。FIG. 2 is a perspective view showing a state in which a crankshaft is ground by a grindstone in a processing system used together with a feedback type fixed point correction apparatus which is an embodiment common to the first to seventh aspects of the present invention.
【図3】上記加工システム全体を示すシステム図であ
る。FIG. 3 is a system diagram showing the entire processing system.
【図4】上記加工システムにおける加工機の構成を示す
図である。FIG. 4 is a diagram showing a configuration of a processing machine in the processing system.
【図5】図4における制御装置20のコンピュータによ
り実行される定寸点補正ルーチンの一部を示すフローチ
ャートである。FIG. 5 is a flowchart illustrating a part of a fixed point correction routine executed by the computer of the control device 20 in FIG. 4;
【図6】その定寸点補正ルーチンの別の一部を示すフロ
ーチャートである。FIG. 6 is a flowchart showing another part of the fixed point correction routine.
【図7】その定寸点補正ルーチンのさらに別の一部を示
すフローチャートである。FIG. 7 is a flowchart showing yet another part of the fixed point correction routine.
【図8】その定寸点補正ルーチンのさらにまた別の一部
を示すフローチャートである。FIG. 8 is a flowchart showing yet another part of the fixed point correction routine.
【図9】その定寸点補正ルーチンのさらにまた別の一部
を示すフローチャートである。FIG. 9 is a flowchart showing yet another part of the fixed point correction routine.
【図10】その定寸点補正ルーチンのさらにまた別の一
部を示すフローチャートである。FIG. 10 is a flowchart showing yet another part of the fixed point correction routine.
【図11】その定寸点補正ルーチンの処理全体の流れを
概念的に示す図である。FIG. 11 is a diagram conceptually showing the flow of the entire process of the fixed point correction routine.
【図12】図11における隣接間ばらつき除去の内容を
概念的に示すグラフである。FIG. 12 is a graph conceptually showing the details of the removal of inter-adjacent variation in FIG. 11;
【図13】その隣接間ばらつき除去の一例を説明するた
めの図である。FIG. 13 is a diagram for explaining an example of the inter-adjacent variation removal.
【図14】図13における隣接間ばらつき除去の一例を
改良した一例を説明するための図である。FIG. 14 is a diagram for explaining an example in which an example of the removal of inter-adjacent variation in FIG. 13 is improved.
【図15】図14における隣接間ばらつき除去の一改良
例をさらに改良した一例を説明するための図である。FIG. 15 is a diagram for explaining an example in which the improved example of the removal of inter-adjacent variation in FIG. 14 is further improved.
【図16】図11における両端直径補正の内容を概念的
に示すグラフである。FIG. 16 is a graph conceptually showing the contents of the correction of both end diameters in FIG. 11;
【図17】図11における寸法情報取得において、誤差
値Rから微分値Tが算出される手法を概念的に示すグラ
フである。FIG. 17 is a graph conceptually showing a method of calculating a differential value T from an error value R in obtaining dimension information in FIG.
【図18】定寸点補正の一方式である間欠的補正を概念
的に示すグラフである。FIG. 18 is a graph conceptually showing intermittent correction, which is one method of fixed point correction.
【図19】その間欠的補正の第1の方式を概念的に示す
グラフである。FIG. 19 is a graph conceptually showing a first method of the intermittent correction.
【図20】その第1の方式の一実施態様を概念的に示す
グラフである。FIG. 20 is a graph conceptually showing an embodiment of the first method.
【図21】図18の間欠的補正の第2の方式を概念的に
示すグラフである。FIG. 21 is a graph conceptually showing a second method of intermittent correction in FIG.
【図22】その第2の方式の一実施態様を概念的に示す
グラフである。FIG. 22 is a graph conceptually showing one embodiment of the second method.
【図23】図11における連続性考慮の内容を概念的に
示すグラフである。FIG. 23 is a graph conceptually showing the content of continuity consideration in FIG. 11;
【図24】図5〜10の定寸点補正ルーチンにおいて測
定値Xから最終補正値U* が誘導される過程の一例を説
明するための図である。24 is a diagram for explaining an example of a process in which a final correction value U * is derived from a measured value X in the fixed point correction routine of FIGS.
【図25】図11における不感帯考慮の内容を概念的に
示すグラフである。FIG. 25 is a graph conceptually showing the contents of dead zone consideration in FIG. 11;
【図26】請求項5〜7の発明の効果を説明するための
グラフである。FIG. 26 is a graph for explaining the effects of the inventions of claims 5 to 7 ;
10 加工機 12 インプロセス測定機 14 定寸装置 15 モータコントローラ 16 全数測定機 20 制御装置 44 ポストプロセス測定機 50 キーボード DESCRIPTION OF SYMBOLS 10 Processing machine 12 In-process measuring machine 14 Sizing device 15 Motor controller 16 100% measuring machine 20 Control device 44 Post-process measuring machine 50 Keyboard
───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−228354(JP,A) 特開 昭62−57853(JP,A) (58)調査した分野(Int.Cl.7,DB名) B23Q 15/00 - 15/28 G05B 19/18 - 19/46 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-62-228354 (JP, A) JP-A-62-57853 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) B23Q 15/00-15/28 G05B 19/18-19/46
Claims (7)
加工機と、(b) 外部から供給される補正値に基づいて前
記加工機の加工条件を決定し、その決定した加工条件に
従ってその加工機を制御する加工機制御手段と、(c) 前
記加工機により加工された複数のワークの各々の寸法を
順に測定する測定機とを備えるとともに、それら加工機
と測定機との間にその測定機による測定を待つワークが
存在することを許容する加工システムの、それら加工機
制御手段と測定機とに接続されて使用されるべきフィー
ドバック式加工条件補正装置であって、前記測定機により順に取得される複数の測定値を逐次蓄
積し、蓄積された測定値の数が設定複数個以上となった
ときに、それら蓄積された最新の設定複数個の測定値に
基づいて前記加工機により次に加工されるべきワークの
前記加工条件の補正値を決定し、その補正値の決定時期
以後に、前記測定値の蓄積を無蓄積状態から再開する補
正値決定手段と、 その補正値決定手段により 決定された補正値を前記加工
機制御手段に供給する補正値供給手段とを含むことを特
徴とするフィードバック式加工条件補正装置。(A) a processing machine for processing each of a plurality of workpieces sequentially; and (b) processing conditions of the processing machine are determined based on a correction value supplied from outside, and the processing conditions are determined according to the determined processing conditions. Processing machine control means for controlling the processing machine, and (c) including a measuring machine for sequentially measuring the dimensions of each of the plurality of workpieces processed by the processing machine, between the processing machine and the measuring machine processing system that allows the workpiece to wait for measurement by the measuring device is present, a their machine control means and measuring and connected to the feedback-type processing condition correction device to be used, by the measuring device Sequential storage of multiple measurement values acquired in order
The number of measurement values accumulated and accumulated has exceeded the set number.
Sometimes, those accumulated latest setting
Of the workpiece to be processed next by the processing machine
Determine the correction value of the processing condition, and determine the correction value
Thereafter, the accumulation of the measurement values is restarted from the non-accumulation state.
A feedback-type processing condition correction apparatus, comprising: a positive value determination unit; and a correction value supply unit that supplies a correction value determined by the correction value determination unit to the processing machine control unit.
加工機と、(b) 外部から供給される補正値に基づいて前
記加工機の加工条件を決定し、その決定した加工条件に
従ってその加工機を制御する加工機制御手段と、(c) 前
記加工機により加工された複数のワークの各々の寸法を
順に測定する測定機とを備えるとともに、それら加工機
と測定機との間にその測定機による測定を待つワークが
存在することを許容する加工システムの、それら加工機
制御手段と測定機とに接続されて使用されるべきフィー
ドバック式加工条件補正装置であって、 前記測定機により順に取得される複数の測定値を逐次蓄
積し、蓄積された測定値の数が設定複数個以上となった
ときに、それら蓄積された最新の設定複数個の測定値に
基づいて前記加工機により次に加工されるべきワークの
前記加工条件の補正値を決定し、その今回の補正値の影
響を受けた前記加工条件に従って加工された少なくとも
1個のワークのうち最初に前記測定機により測定される
こととなる先頭補正対象ワークがその測定を終了する時
期以後に、前記測定値の蓄積を無蓄積状態から再開する
補正値決定手段と、 その補正値決定手段により決定された補正値を前記加工
機制御手段に供給する補正値供給手段とを含むことを特
徴とする フィードバック式加工条件補正装置。 2. Processing each of a plurality of works in order.
The processing machine and (b)
Determine the processing conditions for the processing machine, and
Therefore, processing machine control means for controlling the processing machine, and (c)
The dimensions of each of multiple workpieces processed by the
And a processing machine for measuring
Work waiting for measurement by the measuring machine
The processing machines of the processing system that allow to exist
Fees to be used connected to the control means and the measuring instrument
A Dobakku type processing condition correction device, the measuring sequentially accumulating a plurality of measurements taken by Ri in sequence, when the number of accumulated measured value is equal to set multiple or are they accumulate The latest setting of the work to be processed next by the processing machine
A correction value of the processing condition is determined, and a head correction target work to be measured by the measuring device first among at least one work processed according to the processing condition affected by the current correction value. Restarts the accumulation of the measured value from the non-accumulated state after the time when the measurement is completed.
Correction value determining means, and processing the correction value determined by the correction value determining means.
And correction value supply means for supplying the correction value supply means to the machine control means.
Feedback type processing condition correction device according to symptoms.
加工機と、(b) 外部から供給される補正値に基づいて前
記加工機の加工条件を決定し、その決定した加工条件に
従ってその加工機を制御する加工機制御手段と、(c) 前
記加工機により加工された複数のワークの各々の寸法を
順に測定する測定機とを備えるとともに、それら加工機
と測定機との間にその測定機による測定を待つワークが
存在することを許容する加工システムの、それら加工機
制御手段と測定機とに接続されて使用されるべきフィー
ドバック式加工条件補正装置であって、 前記測定機により順に取得される複数の測定値を逐次
蓄積し、蓄積された測定値の数が設定複数個以上となっ
たときに、それら蓄積された最新の設定複数個の測定値
に基づいて前記加工機により次に加工されるべきワーク
の前記加工条件の補正値を今回の暫定補正値として決定
し、かつ、その暫定補正値を最終補正値とする主補正
と、 その主補正の終了後にも前記測定値の蓄積を続行
し、主補正の終了後から、その主補正の前記最終補正値
の影響を受けた前記加工条件に従って加工された少なく
とも1個のワークのうち最初に前記測定機により測定さ
れることとなる先頭補正対象ワークより1回だけ先に加
工されたワークについてその測定機による測定が終了す
る時期以前まで、その測定機によりワークが測定される
ごとに、蓄積された最新の設定複数個の測定値に基づ
き、前記主補正におけると同じ規則に従って各回の暫定
補正値を決定し、その決定した各回の暫定補正値から前
回の暫定補正値を引いたものを各回の最終補正値に決定
する補助補正とを行い、さらに、前記主補正の最終補正
値に係る先頭補正対象ワークの前記測定機による測定が
終了した時期以後に、前記測定値の蓄積を無蓄積状態か
ら再開する補正値決定手段と、 その補正値決定手段により決定された主補正および補助
補正の最終補正値をそれぞれ順に前記加工機制御手段に
供給する補正値供給手段とを含むことを特徴とするフィ
ードバック式加工条件補正装置。 3. Processing each of a plurality of workpieces in order.
The processing machine and (b)
Determine the processing conditions for the processing machine, and
Therefore, processing machine control means for controlling the processing machine, and (c)
The dimensions of each of multiple workpieces processed by the
And a processing machine for measuring
Work waiting for measurement by the measuring machine
The processing machines of the processing system that allow to exist
Fees to be used connected to the control means and the measuring instrument
A back-type processing condition correction device, According to the measuring machineMultipleMeasured values sequentially
Accumulated and the number of accumulated measurement values exceeds the set number
When the latest settings are stored for multiple measured values
On the basis of theWork to be processed next by the processing machine
The correction value of the processing condition ofDecision
AndAnd the provisional correction valueMain correction with the final correction value
When, Continue to accumulate the measured values even after the main correction is completed
I,After the end of the main correction,SaidFinal correction value
Less processed according to the processing conditions affected by
Are measured by the measuring machine first in one work.
Is added only once before the workpiece to be corrected.
Measurement of the machined work is completed by the measuring machine.
Work is measured by the measuring machine until before
Each time, based on the accumulated latest measured values
Provisional for each round according to the same rules as in the main amendment above.
Determine the correction value and apply the
Subtract the provisional correction value of each time and determine the final correction value of each time
And make auxiliary corrections.,Final correction of the main correction
Work to be corrected at the beginning related to the valueofMeasurement by the measuring machineBut
After the end of the period, the measurement value
Resume fromCorrection value determining means; Main correction and auxiliary determined by the correction value determining means
The final correction value of the correction is sequentially sent to the processing machine control means.
SupplyCorrection value supply means, Characterized by containing
Feedback type processing condition correction device.
定し、その測定した決定回数が設定値に達したときに、
前記主補正およびその一連の補助補正のうち少なくとも
その一連の補助補正において決定された複数の最終補正
値の和が略0でない場合には、その一連の補助補正を終
了し、略0である場合には、その一連の補助補正を続行
するとともに前記決定回数の測定を0から再開するもの
である請求項3記載のフィードバック式加工条件補正装
置。 Wherein said correction value determining means, when the number of determinations of the final correction value in a series of auxiliary compensation measures, determined number of times the measured has reached the set value,
If the sum of the main correction and a plurality of final correction value determined at least the series of auxiliary compensation of the series of auxiliary compensation is not substantially zero, and ends the series of auxiliary compensation, if substantially 0 4. The feedback-type processing condition correction apparatus according to claim 3 , wherein the series of auxiliary corrections is continued, and the measurement of the number of determinations is restarted from 0.
加工機と、(b) 外部から供給される補正値に基づいて前
記加工機の加工条件を決定し、その決定した加工条件に
従ってその加工機を制御する加工機制御手段と、(c) 前
記加工機により加工された複数のワークの各々の寸法を
順に測定する測定機とを備えるとともに、それら加工機
と測定機との間にその測定機による測定を待つワークが
存在することを許容する加工システムの、それら加工機
制御手段と測定機とに接続されて使用されるべきフィー
ドバック式加工条件補正装置であって、 前記測定機により順に取得される複数の 測定値を逐次蓄
積し、蓄積された測定値の数が設定複数個以上となった
ときに、それら蓄積された最新の設定複数個の測定値に
基づいて前記加工機により次に加工されるべきワークの
前記加工条件の補正値を決定し、その今回の補正値の決
定時期以後に、測定値の蓄積を無蓄積状態から再開し、
その再開時期から、その今回の補正値の影響を受けた前
記加工条件に従って加工された少なくとも1個のワーク
のうち最初に前記測定機により測定されることとなる先
頭補正対象ワークより1回だけ先に加工されたワークに
ついてその測定が終了する時期までの間は、その測定機
によりワークが測定されるごとに、各回の実際の測定値
と前記今回の補正値とに基づき、それら各ワークがその
今回の補正値の影響を受けた前記加工条件に従って加工
されたと仮定した場合にそれら各ワークについて測定さ
れる値を予測し、その予測した測定値を実際の測定値と
みなして蓄積する補正値決定手段と、 その 補正値決定手段により決定された補正値を前記加工
機制御手段に供給する補正値供給手段とを含むことを特
徴とするフィードバック式加工条件補正装置。 5. A method of processing each of a plurality of workpieces sequentially.
The processing machine and (b)
Determine the processing conditions for the processing machine, and
Therefore, processing machine control means for controlling the processing machine, and (c)
The dimensions of each of multiple workpieces processed by the
And a processing machine for measuring
Work waiting for measurement by the measuring machine
The processing machines of the processing system that allow to exist
Fees to be used connected to the control means and the measuring instrument
A debugging type processing condition correction device, which sequentially accumulates a plurality of measured values sequentially acquired by the measuring device, and when the number of accumulated measured values is equal to or more than a set number, the latest accumulated value is stored. Of the work to be processed next by the processing machine based on the plurality of measured values
Determine the correction value of the processing conditions, after the time of determining the current correction value, restart the accumulation of measured values from the non-accumulation state,
From the restart time, at least one work ahead of the head correction target work to be measured by the measuring machine first among at least one work processed according to the processing condition affected by the current correction value. Until the time when the measurement of the workpiece processed in the above is completed, each time the workpiece is measured by the measuring machine, each workpiece is determined based on the actual measurement value of each time and the correction value of the current time. Assuming that the machining has been performed in accordance with the machining conditions affected by the current correction value, a value to be measured for each of the workpieces is predicted, and the predicted measurement value is regarded as an actual measurement value and a correction value determination to be accumulated. Patent in that it comprises means, and a correction value supplying means for supplying to the machine control means a correction value determined by the correction value determining means
Feedback type processing condition correction device according to symptoms.
値の数が設定複数個以上となったときに、それら蓄積さ
れた最新の設定複数個の測定値に基づいて今回の暫定補
正値を決定し、かつ、その暫定補正値を最終補正値とす
る主補正と、 その主補正の終了後にも前記測定値の蓄積を続行し、そ
の主補正の終了後から、その主補正の最終補正値の影響
を受けた前記加工条件に従って加工された少なくとも1
個のワークのうち最初に前記測定機により測定されるこ
ととなる先頭補正対象ワークより1回だけ先に加工され
たワークについてその測定機による測定が終了する時期
以前まで、その測定機によりワークが測定されるごと
に、蓄積された最新の設定複数個の測定値に基づき、前
記主補正におけると同じ規則に従って各回の暫定補正値
を決定し、かつ、その決定した各回の暫定補正値から前
回の暫定補正値を引いたものを各回の最終補正値に決定
する補助補正とを行い、さらに、 その補助補正の終了後に、前記測定値の蓄積を無蓄積状
態から再開し、その再開時期から、前記主補正の最終補
正値に係る先頭補正対象ワークより1回だけ先に加工さ
れたワークについて前記測定機による測定が終了する時
期までの間は、その測定機によりワークが測定されるご
とに、各回の実際の測定値と最新の前記最終補正値とに
基づき、それら各ワークがその最新の最終補正値の影響
を受けた前記加工条件に従って加工されたと仮定した場
合にそれら各ワークについて測定される値を予測し、そ
の予測した測定値を実際の測定値とみなして蓄積するも
のであり、 前記補正値供給手段が、 その補正値決定手段により決定された主補正および補助
補正の最終補正値をそれぞれ順に前記加工機制御手段に
供給するものである請求項5記載のフィードバック式加
工条件補正装置。 Wherein said correction value determining means, said measuring sequentially accumulated measurements by, when the number of accumulated measured value is equal to set a plurality or more, they accumulated latest settings plurality The main correction that determines the current provisional correction value based on the measured value of the current correction value, and uses the provisional correction value as the final correction value, and continues to accumulate the measured values even after the main correction ends. After the end of the processing, at least one of the processing performed according to the processing conditions affected by the final correction value of the main correction
Until the time when the measurement by the measuring machine is completed for the work processed one time earlier than the head correction target work to be measured by the measuring machine first among the pieces of the work, the work is measured by the measuring machine. Each time a measurement is made, the provisional correction value of each time is determined according to the same rule as in the main correction, based on the accumulated latest plurality of measurement values, and the determined provisional correction value of each time is used to determine the previous correction value. Subtracting the provisional correction value and performing an auxiliary correction to determine the final correction value for each round, and further, after the auxiliary correction is completed, the accumulation of the measured values is restarted from the non-accumulation state. Until the time when the measurement by the measuring machine is completed for the work processed once before the work to be corrected based on the final correction value of the main correction, the work is measured by the measuring machine. For each measurement, based on the actual measurement value of each time and the latest final correction value, it is assumed that each of the workpieces has been processed according to the processing conditions affected by the latest final correction value. The measured value is predicted for each workpiece, and the predicted measured value is regarded as an actual measured value and stored. The correction value supply unit includes a main correction unit and an auxiliary unit determined by the correction value determination unit. 6. A feedback-type processing condition correction apparatus according to claim 5 , wherein final correction values for correction are sequentially supplied to said processing machine control means.
定し、その測定した決定回数が設定値に達したときに、
前記主補正およびその一連の補助補正のうち少なくとも
その一連の補助補正において決定された複数の最終補正
値の和が略0でない場合には、その一連の補助補正を終
了し、略0である場合には、その一連の補助補正を続行
するとともに前記決定回数の測定を0から再開するもの
である請求項6記載のフィードバック式加工条件補正装
置。 7. The correction value determining means measures the number of final correction value determinations in a series of the auxiliary corrections, and when the measured number of determinations reaches a set value,
If the sum of the main correction and a plurality of final correction value determined at least the series of auxiliary compensation of the series of auxiliary compensation is not substantially zero, and ends the series of auxiliary compensation, if substantially 0 7. The feedback-type machining condition correction apparatus according to claim 6 , wherein the series of auxiliary corrections is continued and the measurement of the number of determinations is restarted from 0.
Priority Applications (9)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP35824092A JP3173199B2 (en) | 1992-11-16 | 1992-12-26 | Feedback processing condition correction device |
| AU33020/93A AU665048B2 (en) | 1992-02-14 | 1993-02-09 | Apparatus and method for feedback-adjusting working condition for improving dimensional accuracy of processed workpieces |
| EP93301006A EP0556049B1 (en) | 1992-02-14 | 1993-02-11 | A working system and method for improving dimensional accuracy of processed workpieces |
| DE69321005T DE69321005T2 (en) | 1992-02-14 | 1993-02-11 | Machining system and method to improve the dimensional accuracy of machined workpieces |
| CA002089335A CA2089335C (en) | 1992-02-14 | 1993-02-11 | Apparatus and method for feedback-adjusting working condition for improving dimensional accuracy of processed workpieces |
| US08/016,979 US6415200B1 (en) | 1992-02-14 | 1993-02-12 | Apparatus and method for feedback-adjusting working condition for improving dimensional accuracy of processed workpieces |
| AU42747/96A AU683786B2 (en) | 1992-12-26 | 1995-11-13 | Screening arrangement |
| AU45606/96A AU4560696A (en) | 1991-11-07 | 1996-02-19 | Optical interconnection circuit structure |
| US09/819,070 US6999846B2 (en) | 1992-02-14 | 2001-01-08 | Apparatus and method for feedback-adjusting working condition for improving dimensional accuracy of processed workpieces |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4-329986 | 1992-11-16 | ||
| JP32998692 | 1992-11-16 | ||
| JP35824092A JP3173199B2 (en) | 1992-11-16 | 1992-12-26 | Feedback processing condition correction device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06198542A JPH06198542A (en) | 1994-07-19 |
| JP3173199B2 true JP3173199B2 (en) | 2001-06-04 |
Family
ID=26573390
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP35824092A Expired - Lifetime JP3173199B2 (en) | 1991-11-07 | 1992-12-26 | Feedback processing condition correction device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3173199B2 (en) |
-
1992
- 1992-12-26 JP JP35824092A patent/JP3173199B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06198542A (en) | 1994-07-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5562526A (en) | Method and apparatus for grinding a workpiece | |
| JP3386548B2 (en) | Feedback processing condition correction device | |
| JP2004164328A (en) | One person CAM system and one person CAM program | |
| US6890241B2 (en) | Lens processing management system | |
| JPH06138924A (en) | Numerical controller for estimating machining end time | |
| JP3173199B2 (en) | Feedback processing condition correction device | |
| US5060544A (en) | Method of an apparatus for retracting tool in numberical control machine tool | |
| JP3311896B2 (en) | Feedback processing condition correction device | |
| JP3269151B2 (en) | Feedback processing condition correction device | |
| JP3287969B2 (en) | Feedback machining condition correction device and feedback machining method | |
| JP3206167B2 (en) | Feedback processing condition correction device | |
| JP3214121B2 (en) | Feedback processing condition correction device | |
| JPH06198543A (en) | Feedback type processing condition correction device | |
| JP2980933B2 (en) | Impact test piece automatic processing system and impact test piece automatic processing method | |
| JP2924461B2 (en) | Feedback processing condition correction device | |
| JP2926524B2 (en) | Numerical controller with trial cutting function | |
| JP2924426B2 (en) | Feedback processing condition correction device | |
| JP3173163B2 (en) | Feedback processing condition correction device | |
| JP3182926B2 (en) | Feedback type fixed point correction device | |
| CN112526929B (en) | Processing control device and processing control method of machine tool | |
| JPH0624695B2 (en) | Grinding wheel correction device | |
| JPH0639681A (en) | Tool compensation value input system for numerically controlled machine tools | |
| EP0568703A1 (en) | Method of resuming machining of work | |
| JP3465243B2 (en) | Control device for numerically controlled machine tools | |
| JPH0364273B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090330 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100330 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110330 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110330 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120330 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120330 Year of fee payment: 11 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130330 Year of fee payment: 12 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130330 Year of fee payment: 12 |