JPH06198544A - Feedback type machining condition correction device - Google Patents

Feedback type machining condition correction device

Info

Publication number
JPH06198544A
JPH06198544A JP36011192A JP36011192A JPH06198544A JP H06198544 A JPH06198544 A JP H06198544A JP 36011192 A JP36011192 A JP 36011192A JP 36011192 A JP36011192 A JP 36011192A JP H06198544 A JPH06198544 A JP H06198544A
Authority
JP
Japan
Prior art keywords
value
correction
correction value
measured
time
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.)
Granted
Application number
JP36011192A
Other languages
Japanese (ja)
Other versions
JP3206167B2 (en
Inventor
Kazutomo Katou
千智 加藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Motor Corp
Original Assignee
Toyota Motor Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP36011192A priority Critical patent/JP3206167B2/en
Priority to AU33020/93A priority patent/AU665048B2/en
Priority to EP93301006A priority patent/EP0556049B1/en
Priority to DE69321005T priority patent/DE69321005T2/en
Priority to CA002089335A priority patent/CA2089335C/en
Priority to US08/016,979 priority patent/US6415200B1/en
Publication of JPH06198544A publication Critical patent/JPH06198544A/en
Priority to AU42747/96A priority patent/AU683786B2/en
Priority to AU45606/96A priority patent/AU4560696A/en
Priority to US09/819,070 priority patent/US6999846B2/en
Application granted granted Critical
Publication of JP3206167B2 publication Critical patent/JP3206167B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Automatic Control Of Machine Tools (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE:To improve a correction precision of a machining condition by correcting the machining condition according to a regulation which changes accompanying an oscillatory level, which is an oscillatory fluctuating level of a measurement value by a measurement device. CONSTITUTION:In a feedback type fixed size position correction device, which enumerates an interim correction value U for an interim value of a correction value U on the basis of a measurement value X according to fuzzy inference and decides the final correction value U* for the final value of the correction value U in this time on the basis of the interim correction value U, the interim correction value U is enumerated using a negative (dull) fuzzy rule (S304) when an oscillatory level of the measurement value X is high and an abnormal flag is ON (S301, 302). On the other hand, a positive (sharp) fuzzy rule is used to enumerate the interim correction value U (S303) when an osciilatory level is low and the abnormal flag is off (S301, 302).

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、加工されたワークの寸
法誤差に関する情報をフィードバックすることにより、
次に加工されるべきワークの加工条件を補正するフィー
ドバック式加工条件補正装置に関するものである。
BACKGROUND OF THE INVENTION The present invention is designed to feed back information regarding the dimensional error of a machined workpiece,
The present invention relates to a feedback type machining condition correction device for correcting the machining conditions of a work to be machined next.

【0002】[0002]

【従来の技術】本出願人は、次のようなフィードバック
式加工条件補正装置について研究中である。それは、
(a) 複数のワークの各々を順に加工する加工機と、(b)
外部から供給される補正値に基づいて前記加工機の加工
条件を決定し、その決定した加工条件に従ってその加工
機を制御する加工機制御手段と、(c) 前記加工機により
加工された複数のワークの各々の寸法を順に測定する測
定機とを備えた加工システムのそれら加工機制御手段と
測定機とに接続されて使用されるべきフィードバック式
加工条件補正装置であって、(d) 測定機による測定値に
基づき、加工機により次に加工されるべきワークの加工
条件の前記補正値を決定する補正値決定手段と、(e) 決
定された補正値を加工機制御手段に供給する補正値供給
手段とを含むものである。
2. Description of the Related Art The present applicant is studying the following feedback type machining condition correcting device. that is,
(a) A processing machine that sequentially processes each of a plurality of workpieces, and (b)
Processing conditions of the processing machine are determined based on a correction value supplied from the outside, and processing machine control means for controlling the processing machine according to the determined processing conditions, and (c) a plurality of processing machines processed by the processing machine. A feedback type machining condition correcting device to be used by being connected to the machining machine control means and the measuring machine of the machining system including a measuring machine that measures each dimension of the work piece in order, and (d) the measuring machine Correction value determining means for determining the correction value of the processing condition of the work to be processed next by the processing machine based on the measured value according to, and (e) the correction value for supplying the determined correction value to the processing machine control means. And a supply means.

【0003】そして、本出願人は、このフィードバック
式加工条件補正装置を次のような態様で実施した。すな
わち、測定値に基づき、唯一の規則に従って補正値を決
定する態様で実施したのである。
The applicant of the present invention implemented this feedback type machining condition correction device in the following manner. That is, the correction value is determined according to the only rule based on the measured value.

【0004】[0004]

【発明が解決しようとする課題】測定値は普通、加工機
の加工具の摩耗等が原因となって、測定機により測定さ
れたワークの数(以下、「測定ワーク数」という)が増
加するにつれて緩やかに変化する。このように測定値が
安定する状態では、測定値とワークの加工寸法の目標値
との差である誤差値に対して敏感に応答するように補正
値を決定することが望ましく、そのような要求を満たす
ように上記唯一の規則が予め決定される。
Normally, the measured value increases the number of works measured by the measuring machine (hereinafter referred to as "measured work number") due to wear of the working tool of the working machine. Changes gradually with. In such a state where the measured value is stable, it is desirable to determine the correction value so as to respond sensitively to the error value which is the difference between the measured value and the target value of the machining dimension of the workpiece. The only rule above is predetermined to satisfy

【0005】しかし、測定値は、加工機の振動等が原因
となって、振動、すなわち測定ワーク数が増加するにつ
れて周期的に変動することがある。このように測定値が
振動する状態、すなわち不安定な状態では、上述の安定
な状態とは異なり、誤差値に対して敏感に応答するよう
に補正値を決定すると、測定値が安定するどころか、か
えって測定値の振動レベルが増加してしまうことがあ
る。
However, the measured value may periodically fluctuate as the number of workpieces to be measured increases due to vibration of the processing machine or the like. In this way, in the state where the measured value oscillates, that is, in the unstable state, unlike the above-mentioned stable state, when the correction value is determined so as to respond sensitively to the error value, rather than the measured value becoming stable, On the contrary, the vibration level of the measured value may increase.

【0006】以上要するに、補正値の決定規則を固定し
た場合には、測定値が安定状態にあるか不安定状態にあ
るかを問わずワークの加工精度を確保することが困難で
あるという問題があるのである。
In summary, when the correction value determination rule is fixed, it is difficult to secure the machining accuracy of the workpiece regardless of whether the measured value is in a stable state or an unstable state. There is.

【0007】このような事情を背景として、請求項1の
発明は、補正値の決定規則を可変にすることにより、上
記の問題を解決することを課題としてなされたものであ
る。
Against the background of such circumstances, the invention of claim 1 has been made to solve the above problems by making the correction value determination rule variable.

【0008】また、請求項2の発明は、その請求項1の
発明の一利用態様であって、予め用意した複数の決定規
則の中から適当なものを選択することにより、決定規則
の可変を実現する態様を提供することを課題としてなさ
れたものである。
The invention of claim 2 is an aspect of use of the invention of claim 1, in which the decision rule can be changed by selecting an appropriate one from a plurality of decision rules prepared in advance. It is an object of the invention to provide an aspect to be realized.

【0009】また、請求項3の発明は、上記請求項1の
発明の別の利用態様であって、予め用意した唯一の決定
規則を適当に変化させることにより、決定規則の可変を
実現する態様を提供することを課題としてなされたもの
である。
Further, the invention of claim 3 is another utilization mode of the invention of claim 1 in which the decision rule is changed by appropriately changing the only decision rule prepared in advance. It was made as an issue to provide.

【0010】[0010]

【課題を解決するための手段】それぞれの課題を解決す
るために、請求項1の発明は、図1に示すように、前記
加工機1,加工機制御手段2および測定機3を備えた加
工システムのそれら加工機制御手段2と測定機3とに接
続されて使用されるべきフィードバック式加工条件補正
装置であって前記補正値決定手段4および補正値供給手
段5を含むものにおいて、その補正値決定手段4を、測
定機3による測定値に基づき、その測定値の振動的な変
動レベルである振動レベルと共に変化する規則に従って
補正値を決定するものとしたことを特徴とする。
In order to solve each of the problems, the invention of claim 1 is, as shown in FIG. 1, a processing machine equipped with the processing machine 1, processing machine control means 2 and measuring machine 3. A feedback type machining condition correction device which is to be used by being connected to the processing machine control means 2 and the measuring machine 3 of the system, and which includes the correction value determination means 4 and the correction value supply means 5 It is characterized in that the deciding means 4 decides the correction value based on the value measured by the measuring machine 3 according to a rule that changes with the vibration level which is the vibrational fluctuation level of the measured value.

【0011】なお、ここにおける「補正値決定手段4」
は例えば、測定値とワークの加工寸法の目標値との差で
ある誤差値にのみ基づいて補正値を決定する態様とした
り、その誤差値のみならずそれの変化傾向(誤差値が、
測定ワーク数が増加するにつれて変化する傾向)にも基
づいて補正値を決定する態様としたり、それら誤差値お
よびそれの変化傾向のみならずその変化傾向の変化傾向
にも基づいて補正値を決定する態様とすることができ
る。また、今回の測定値と過去の測定値とに基づいて今
回の測定値の真の値を推定し、その推定した真の値を実
際の測定値とみなして補正値を決定する態様とすること
もできる。
The "correction value determining means 4" here
Is a mode in which the correction value is determined only based on an error value that is the difference between the measured value and the target value of the machining dimension of the work, or not only the error value but also its change tendency (the error value is
The correction value is also determined based on the tendency of change as the number of measured works increases, or the correction value is determined not only based on those error values and their change tendency, but also on the change tendency of the change tendency. It can be an aspect. Further, the true value of the current measured value is estimated based on the current measured value and the past measured value, and the estimated true value is regarded as the actual measured value to determine the correction value. You can also

【0012】請求項2の発明は、その請求項1の発明に
おける補正値決定手段4を、測定値の振動レベルを測定
し、予め設定された複数の規則の中からその測定した振
動レベルに合致したものを選択し、その選択した規則に
従って補正値を決定するものとしたことを特徴とする。
According to a second aspect of the present invention, the correction value determining means 4 according to the first aspect of the invention measures the vibration level of the measured value and matches the measured vibration level from a plurality of preset rules. It is characterized in that the selected value is selected and the correction value is determined according to the selected rule.

【0013】請求項3の発明は、上記請求項1の発明に
おける補正値決定手段4を、測定値の振動レベルを測定
し、その測定した振動レベルに基づき、予め設定された
規則を補正し、その補正した規則に従って補正値を決定
するものとしたことを特徴とする。
According to a third aspect of the present invention, the correction value determining means 4 according to the first aspect of the present invention measures the vibration level of the measured value and corrects a preset rule based on the measured vibration level, It is characterized in that the correction value is determined according to the corrected rule.

【0014】[0014]

【作用】請求項1〜3の各発明に係るフィードバック式
加工条件補正装置においては、補正値決定手段4によ
り、測定機3による測定値に基づき、その測定値の振動
レベルと共に変化する規則に従って補正値が決定され
る。測定値の振動レベルに適した規則に従って補正値が
決定されるのである。例えば、振動レベルが高い場合に
は、ワークの寸法誤差に対して鈍感に応答するように補
正値が決定されるような規則とされ、一方、振動レベル
が低い場合には、ワークの寸法誤差に対して敏感に応答
するように補正値が決定されるような規則とされる。
In the feedback type machining condition correcting apparatus according to each of the first to third aspects of the invention, the correction value determining means 4 corrects based on the value measured by the measuring machine 3 according to a rule that changes with the vibration level of the measured value. The value is determined. The correction value is determined according to a rule suitable for the vibration level of the measured value. For example, when the vibration level is high, the rule is that the correction value is determined so that it responds to the dimensional error of the work insensitively, while when the vibration level is low, the dimensional error of the work is reduced. The rule is such that the correction value is determined so as to respond sensitively.

【0015】特に、請求項2の発明に係るフィードバッ
ク式加工条件補正装置においては、補正値決定手段4に
より、測定値の振動レベルが測定され、予め設定された
複数の規則の中からその測定された振動レベルに合致し
たものが選択され、その選択された規則に従って補正値
が決定される。
In particular, in the feedback type machining condition correcting apparatus according to the second aspect of the present invention, the vibration level of the measured value is measured by the correction value determining means 4, and the vibration level is measured from a plurality of preset rules. The one that matches the vibration level is selected, and the correction value is determined according to the selected rule.

【0016】また、特に、請求項3の発明に係るフィー
ドバック式加工条件補正装置においては、補正値決定手
段4により、測定値の振動レベルが測定され、その測定
された振動レベルに基づき、予め設定された規則が補正
され、その補正された規則に従って補正値が決定され
る。
Further, in particular, in the feedback type machining condition correcting apparatus according to the invention of claim 3, the correction value determining means 4 measures the vibration level of the measured value, and the vibration level of the measured value is set in advance based on the measured vibration level. The corrected rule is corrected, and the correction value is determined according to the corrected rule.

【0017】なお、前記請求項1の発明を実施する際、
請求項2の発明と請求項3の発明とが同時に実施される
態様とすることができる。すなわち、例えば、予め設定
された複数の規則の中から、測定された振動レベルに合
致したものを選択し、測定された振動レベルに基づき、
その選択した規則を補正する態様で実施することができ
るのである。
When carrying out the invention of claim 1,
The invention of claim 2 and the invention of claim 3 can be embodied at the same time. That is, for example, from a plurality of preset rules, select one that matches the measured vibration level, based on the measured vibration level,
It can be implemented in a manner to correct the selected rule.

【0018】[0018]

【発明の効果】以上の説明から明らかなように、請求項
1〜3の各発明によれば、測定値の振動レベルとの関係
において適正な規則に従って補正値が決定されるため、
測定値の振動レベルの高低を問わずワークの寸法精度が
確保されるという効果が得られる。
As is clear from the above description, according to the inventions of claims 1 to 3, the correction value is determined according to an appropriate rule in relation to the vibration level of the measured value.
It is possible to obtain the effect that the dimensional accuracy of the work is ensured regardless of the vibration level of the measured value.

【0019】[0019]

【実施例】以下、請求項1〜3の発明に共通の一実施例
であるフィードバック式の定寸点補正装置を図面に基づ
いて詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A feedback type fixed point correction device, which is an embodiment common to the inventions of claims 1 to 3, will be described in detail below with reference to the drawings.

【0020】この定寸点補正装置は、自動車のエンジン
のクランクシャフトを加工すべきワークとし、それに予
め形成されている複数のジャーナル面の各々を加工部位
として円筒研削する加工システムと共に使用される。こ
こにクランクシャフトとは、図2に示すように、互いに
同軸的に並んだ7個の外周円筒面(以下、単に「円筒
面」という)であるジャーナル面を有するワークであ
る。
This sizing point correction device is used in conjunction with a machining system in which a crankshaft of an automobile engine is used as a workpiece to be machined, and a plurality of journal surfaces formed in advance are cylindrically ground as machining sites. As shown in FIG. 2, the crankshaft is a work having journal surfaces that are seven outer peripheral cylindrical surfaces (hereinafter, simply referred to as “cylindrical surfaces”) arranged coaxially with each other.

【0021】加工システムは、具体的には、図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 is composed of a motor controller 15, a total number measuring machine 16, a work number counter 18, a control device 20, an auxiliary storage device 22 and the like, and these elements will be individually described below.

【0022】加工ラインは、図において矢印付きの太い
実線で表されており、複数のワークが一列に並んで上流
側から下流側に向かって(図において左側から右側に向
かって)搬送されるものである。
The processing line is represented by a thick solid line with an arrow in the figure, and a plurality of works are conveyed in a line from the upstream side to the downstream side (from the left side to the right side in the figure). Is.

【0023】加工機10は、クランクシャフトの7個の
ジャーナル面の各々に対し、加工具としての円形状の砥
石により、円筒研削を行うものである。具体的には、図
4に示すように、複数の砥石が同軸的に並んだ砥石群3
0とクランクシャフトとを接触回転させることにより、
7個のジャーナル面すべてに対して同時に円筒研削を行
うマルチ研削盤である。以下、その構成を簡単に説明す
る。
The processing machine 10 performs cylindrical grinding on each of the seven journal surfaces of the crankshaft with a circular grindstone as a processing tool. Specifically, as shown in FIG. 4, a grindstone group 3 in which a plurality of grindstones are coaxially arranged
By rotating 0 and the crankshaft in contact,
It is a multi-grinding machine that simultaneously performs cylindrical grinding on all seven journal surfaces. The configuration will be briefly described below.

【0024】加工機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) that holds the work rotatably around its axis and a work motor 34 that rotates the held work.

【0025】加工機10はさらに、砥石群30のための
前進・後退テーブル36とスイングテーブル38とを備
えている。前進・後退テーブル36は前記主フレーム
に、前記ワークテーブル32に保持されているワークに
対する直角な方向における往復運動が可能な状態で取り
付けられている。一方、スイングテーブル38は、その
前進・後退テーブル36に、砥石軸線(図において一点
鎖線で示す)上にそれに直交する状態で設定されたスイ
ング軸線(図において紙面に直角な方向に延びる直線)
を中心としたスイングが可能(右回転も左回転も可能)
な状態で取り付けられている。前進・後退テーブル36
の前進・後退は主フレームに固定の前進・後退モータ4
0により、スイングテーブル38のスイングは前進・後
退テーブル36に固定のスイングモータ42によりそれ
ぞれ実現される。
The processing machine 10 further includes a forward / backward table 36 for the grindstone group 30 and a swing table 38. The forward / backward table 36 is attached to the main frame in a state capable of reciprocating motion in a direction perpendicular to the work held by the work table 32. On the other hand, the swing table 38 has a swing axis line (a straight line extending in a direction perpendicular to the paper surface in the figure) set on the forward / backward table 36 in a state orthogonal to the axis of the grindstone (indicated by a dashed line in the figure).
Swing centering around is possible (right rotation or left rotation is possible)
It is installed in a normal state. Forward / backward table 36
The forward / backward movement of the motor is fixed to the main frame.
0, the swing of the swing table 38 is realized by the swing motor 42 fixed to the forward / backward table 36.

【0026】すなわち、この加工機10においては、砥
石軸線とワークの回転軸線との成す角度(以下、「切込
み角」という)がスイングモータ42により調整可能な
のである。
That is, in the processing machine 10, the angle formed by the grindstone axis and the rotation axis of the workpiece (hereinafter referred to as "cutting angle") can be adjusted by the swing motor 42.

【0027】前記2個のインプロセス測定機12はこの
加工機10に取り付けられている。それらインプロセス
測定機12はそれぞれ、図2に示すように、1個の円筒
面を外周両側から挟む一対の測定子を有し、電気マイク
ロメータ方式によりその円筒面の直径を測定するもので
ある。それらインプロセス測定機12は、7個のジャー
ナル面について個々に用意されているわけではなく、同
図に示すように、両端のジャーナル面、すなわち第1ジ
ャーナル面と第7ジャーナル面(以下、「2個の端円筒
面」ともいう)についてのみ用意されている。
The two in-process measuring machines 12 are attached to 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 circumference, and measures the diameter of the cylindrical surface by an electric micrometer method. . The in-process measuring machines 12 are not individually prepared for 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, (Also referred to as “two end cylindrical surfaces”).

【0028】前記定寸装置14は、図4に示すように、
それらインプロセス測定機12にそれぞれ接続されてい
る。定寸装置14は、CPU,ROM,RAMおよびバ
スを含むコンピュータを主体として構成されていて、加
工機10による研削中、2個の端円筒面のそれぞれの直
径を各インプロセス測定機12を介して監視し、それら
各端円筒面における残存切込み量(最終寸法に到達する
までに切り込むことが必要な量)が各設定量(各端円筒
面ごとに存在する)に到達したときにはその旨の信号
(以下、「設定量到達信号」という)を、各最終寸法す
なわち各定寸点(各端円筒面ごとに存在する)に到達し
たときにはその旨の信号(以下、「定寸点到達信号」と
いう)を前記モータコントローラ15に各端円筒面に関
連付けてそれぞれ出力する。
The sizing device 14 is, as shown in FIG.
Each of them is connected to the in-process measuring machine 12. The sizing device 14 is mainly composed of a computer including a CPU, a ROM, a RAM, and a bus, and during grinding by the processing machine 10, the diameters of the two end cylindrical surfaces are passed through the respective in-process measuring machines 12. When the remaining depth of cut on each end cylindrical surface (the amount that must be cut before reaching the final dimension) reaches each set value (existing for each end cylindrical surface), a signal to that effect. (Hereinafter, "set amount arrival signal"), when reaching each final dimension, that is, each sizing point (existing for each end cylindrical surface), a signal to that effect (hereinafter, "sizing point arrival signal") ) Is output to the motor controller 15 in association with each end cylindrical surface.

【0029】定寸装置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, each correction value U is added to each current sizing point to obtain each current value. It is designed to change the sizing points and keep each current sizing point if it is not supplied. That is, in the sizing device 14, the sizing point is automatically corrected by the control device 20.

【0030】定寸装置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 operates 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 sizing point are stored in their own RAMs and voluntarily transmitted to the control device 20.
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 only when the control device 20 permits reception. Will be done.

【0031】前記モータコントローラ15は図4に示す
ように、それら定寸装置14,前進・後退モータ40等
に接続されている。モータコントローラ15は、作業者
からの指令や定寸装置14からの信号等に基づき、前進
・後退モータ40等を制御する。
The motor controller 15 is connected to the sizing device 14, the forward / backward motor 40, etc., as shown in FIG. 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.

【0032】ところで、加工機10は、粗研,精研,ス
パークアウト等のいくつかの段階を順に経て一回の円筒
研削を終了する。粗研は、前記残存切込み量が前記設定
量に達するまで実行され、精研は、直径が前記定寸点に
達するまで実行される。定寸装置14から各端円筒面ご
とに供給されるべき2個の設定量到達信号はその供給時
期が一致しないのが普通であり、モータコントローラ1
5は、粗研段階では、信号供給時期の不一致量に応じて
前進・後退モータ40およびスイングモータ42を制御
し、これにより、前記切込み角を適正に制御する。ま
た、精研においては、それに先立つ粗研において切込み
角が適正となっているはずであるから、モータコントロ
ーラ15は、前進・後退モータ40のみを運転させるこ
とにより、砥石群30のワークへの切込みを続行し、2
個の端円筒面のいずれかについてでも定寸点到達信号が
供給されれば、前進・後退モータ40を停止させ、スパ
ークアウトを行った後に、前進・後退モータ40を逆回
転させることにより砥石群30をワークから後退させ
る。なお、精研段階でも切込み角を制御するようにする
こともできる。
By the way, the processing machine 10 completes one round of cylindrical grinding through several steps such as rough grinding, fine grinding, spark out, etc. in order. The rough polishing is performed until the remaining depth of cut reaches the set amount, and the fine polishing is performed until the diameter reaches the sizing point. It is usual that the two set amount arrival signals to be supplied from the sizing device 14 for each end cylindrical surface do not coincide in the supply timing, and the motor controller 1
In the rough grinding stage, 5 controls the forward / backward motor 40 and the swing motor 42 in accordance with the amount of discrepancy in the signal supply timing, thereby appropriately controlling the cutting angle. Further, in the fine grinding, since the cutting angle should be appropriate in the rough grinding preceding that, the motor controller 15 drives only the forward / backward motor 40 to cut the grindstone group 30 into the work. Continue to 2
If a sizing point arrival signal is supplied to any one of the end cylindrical surfaces, the forward / backward motor 40 is stopped, spark-out is performed, and then the forward / backward motor 40 is rotated in the reverse direction to grind stone groups. 30 is retracted from the work. It is also possible to control the cutting angle even at the stage of fine polishing.

【0033】前記全数測定機16は、図3に示すよう
に、加工ラインの、加工機10の下流側に配置されてい
る。全数測定機16は、1個のワークにおける円筒面の
数と同数のポストプロセス測定機44を有し、前記イン
プロセス測定機12と同じ方式により、加工機10から
搬出されたワークすべてについて順に、円筒面すべてに
ついて個々に直径を測定する。この全数測定機16が前
記制御装置20の入力側に接続されている。
As shown in FIG. 3, the total number measuring machine 16 is arranged downstream of the processing machine 10 on the processing line. The total number measuring machine 16 has the same number of post-process measuring machines 44 as the number of cylindrical surfaces in one work, and by the same method as the in-process measuring machine 12, all the work carried out from the processing machine 10 are sequentially processed. The diameter is measured individually on all cylindrical surfaces. The total number measuring machine 16 is connected to the input side of the control device 20.

【0034】前記ワーク数カウンタ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 waiting works on the processing line between the processing machine 10 and the total measuring machine 16 and waiting for the measurement by the total measuring machine 16. Is. Work counter 1
Reference numeral 8 denotes a first sensor (for example, a limit switch or the like) 46 that detects the carry-out of the work from the processing machine 10 and a second sensor (for example, a limit switch or the like) 48 that detects the carry-in of the work to the total number measuring machine 16. Is connected to and the count value of the number of standby works is incremented by 1 each time the first sensor 46 detects the work carry-out, while the count value is detected each time the second sensor 48 detects the work carry-in. Is subtracted by 1 to measure the current value of the number of waiting works.

【0035】前記制御装置20は、CPU,ROM,R
AMおよびバスを含むコンピュータを主体として構成さ
れており、そのROMにおいて定寸点補正ルーチンを予
め記憶させられている。また、この制御装置20は、前
記補助記憶装置22にも接続されていて、全数測定機1
6から入力された測定値X,それに基づいて決定した補
正値U等をすべて保存するように設計されている。一連
の加工の終了後に作業者がその加工状況を診断する際な
どに使用するためである。
The control device 20 includes a CPU, a ROM, and a R.
It is mainly composed of a computer including an AM and a bus, and a fixed point correction routine is stored in advance in its ROM. The control device 20 is also connected to the auxiliary storage device 22, and the total number measuring device 1
It is designed to store all the measured values X input from 6 and the correction values U determined based on them. This is because it is used when an operator diagnoses the machining status after a series of machining is completed.

【0036】上記定寸点補正ルーチンの主要部が図5〜
10にフローチャートで表されており、それら図に基づ
いて制御装置20の構成を説明するが、まず、概略的に
説明する。
The main part of the above-mentioned fixed point correction routine is shown in FIG.
A flow chart is shown in FIG. 10, and the configuration of the control device 20 will be described based on these figures, but first, a schematic description will be given.

【0037】この制御装置20は、全数測定機16によ
り測定された寸法に基づく寸法情報をフィードバックす
ることにより、加工機10により次に加工されるべきワ
ークについての定寸点の補正値Uを決定するものであ
る。この加工システムにおいては、加工機10と全数測
定機16との間にその全数測定機16による寸法測定を
待つワークが存在することを許容するように設計されて
いる。そのため、この制御装置20は、補正値Uが入力
信号、寸法情報が出力信号であるとともにそれら入力信
号と出力信号との間にむだ時間MSが存在する制御シス
テムを想定し、フィードバック式で定寸点を補正する。
すなわち、本実施例においては、定寸点が各請求項の発
明における「加工条件」の一態様なのである。
The controller 20 feeds back the dimension information based on the dimension measured by the total number measuring machine 16 to determine the correction value U of the sizing point for the work to be processed next by the processing machine 10. To do. This processing system is designed to allow a workpiece between the processing machine 10 and the total measuring machine 16 to wait for dimension measurement by the total measuring machine 16. Therefore, the control device 20 assumes a control system in which the correction value U is an input signal, the dimension information is an output signal, and there is a dead time MS between the input signal and the output signal, and the feedback system is used to perform the sizing. Correct the points.
That is, in the present embodiment, the sizing point is one aspect of the "machining condition" in the invention of each claim.

【0038】この制御装置20における処理の流れを、
簡単に説明すれば、図11に示すようになる。
The flow of processing in the control device 20 will be described below.
A simple description is as shown in FIG.

【0039】まず、第1ステップとして、全数測定機1
6から測定値Xが入力され、続いて、第2ステップとし
て、その測定値Xから隣接間ばらつきを除去するため
に、今回までに取得された測定値Xに対して移動平均値
Pが算出される。コンピュータのRAMには、測定値X
等が蓄積される演算データメモリ(図示しない)が設け
られており、それに蓄積されている測定値Xに基づいて
移動平均値Pが算出される。
First, as the first step, a total number measuring machine 1
The measurement value X is input from 6, and then, as a second step, a moving average value P is calculated with respect to the measurement values X acquired up to this time in order to remove the adjacent variation from the measurement values X. It In the RAM of the computer, the measured value X
An arithmetic data memory (not shown) for accumulating the above is provided, and the moving average value P is calculated based on the measured value X accumulated in the arithmetic data memory.

【0040】次に、第3ステップとして、その移動平均
値Pに対して両端直径補正(後に詳述する)が行われ、
さらに、第4ステップとして、その両端直径補正が行わ
れた移動平均値P(これも演算データメモリに蓄積され
る)に基づき、その移動平均値Pとワークの加工寸法の
目標値A0 との差である誤差値Rと、その誤差値Rの微
分値Tおよび2回微分値Dとがそれぞれ寸法情報として
算出される。その後、第5ステップとして、それら寸法
情報とワーク数カウンタ18により測定された待機ワー
ク数(前記むだ時間MSに相当する)とに基づき、ファ
ジィ推論を用いて補正値Uを演算するファジィ演算が行
われる。続いて、第6ステップとして、その演算された
補正値Uが、それの連続性が考慮されることによって補
正される。その後、第7ステップとして、その補正され
た補正値Uが、定寸装置14との関係において設定され
た不感帯内にあるか否かが判定され、不感帯内になけれ
ば、第8ステップとして、その補正値Uが定寸装置14
に送信される。
Next, as a third step, both-end diameter correction (described in detail later) is performed on the moving average value P,
Further, as a fourth step, the moving average value P and the target value A 0 of the machining size of the work are calculated based on the moving average value P (also stored in the calculation data memory) whose both end diameters have been corrected. An error value R, which is the difference, and a differential value T and a twice differential value D of the error value R are calculated as the dimension information. Then, as a fifth step, a fuzzy calculation is performed to calculate a correction value U using fuzzy inference based on the dimension information and the number of waiting works measured by the work number counter 18 (corresponding to the dead time MS). Be seen. Then, as a sixth step, the calculated correction value U is corrected by considering its continuity. Thereafter, as a seventh step, it is determined whether or not the corrected correction value U is within the dead zone set in relation to the sizing device 14, and if it is not within the dead zone, the eighth step is performed. The correction value U is the sizing device 14
Sent to.

【0041】また、この制御装置20においては、全数
測定機16によりワークが測定されるごとに今回の補正
値Uを決定する連続的補正ではなく、間欠的に決定する
間欠的補正が採用されている。また、補正値Uが間欠的
に補正されるに伴って、演算データメモリも間欠的にク
リアされる。
Further, in the control device 20, not the continuous correction for determining the correction value U of this time each time the workpiece is measured by the total number measuring machine 16, but the intermittent correction for intermittently determining is adopted. There is. Further, as the correction value U is intermittently corrected, the calculation data memory is also cleared intermittently.

【0042】なお、この制御装置20には、ワークの7
個のジャーナル面すべてについて個々に測定値Xが入力
されるが、基本的には、第1ジャーナル面および第7ジ
ャーナル面のそれぞれの測定値X、すなわち、各端円筒
面の測定値Xに基づいて、前記定寸装置14における各
端円筒面に対応する補正値Uがそれぞれ決定される。
It should be noted that the control device 20 is equipped with 7
The measurement value X is individually input for all of the journal surfaces, but basically, it is based on the measurement value X of each of the first journal surface and the seventh journal surface, that is, the measurement value X of each end cylindrical surface. Thus, the correction value U corresponding to each end cylindrical surface in the sizing device 14 is determined.

【0043】以上、この制御装置20の全体の流れを簡
単に説明したが、以下、この流れにおける各概念につい
て個々に詳しく説明する。
Although the overall flow of the control device 20 has been briefly described above, each concept in this flow will be described in detail below.

【0044】まず、移動平均値Pの算出(図11の第2
ステップ)について説明する。測定値Xは全数測定機1
6により時系列データとして取得され、多くの隣接間ば
らつきを含んでいる。そこで、本実施例においては、隣
接間ばらつきを除去してワークの真の寸法を推定するた
めに、今回の測定値Xおよび前回までに取得された最新
の少なくとも1個の測定値Xにつき、重み付きの移動平
均値Pが算出され、それが測定値Xの真の値として使用
される。
First, calculation of the moving average value P (second in FIG. 11)
Step) will be described. Measured value X is 100
6, which is acquired as time series data, and includes many adjacent variations. Therefore, in the present embodiment, in order to remove the variation between adjacent portions and estimate the true dimension of the work, the weight is applied to the measured value X of this time and the latest measured value X of at least one acquired up to the previous time. A moving average value P with is calculated and used as the true value of the measured value X.

【0045】この移動平均値Pは原則として、次のよう
にして算出される。すなわち、今回までに取得された最
新のK(2以上の固定値)個の測定値Xに基づき、次式
(K=5の場合)で表される如き計算式を用いて今回の
移動平均値Pi が算出されるのである。
This moving average value P is calculated in principle as follows. That is, based on the latest K (fixed value of 2 or more) measurement values X acquired up to this time, the moving average value of this time is calculated using a calculation formula represented by the following formula (when K = 5). P i is calculated.

【0046】[0046]

【数1】 [Equation 1]

【0047】ここに「i」は、全数測定機16により測
定されたワークの数(以下、「測定ワーク数」という)
を表す。
Here, “i” is the number of works measured by the total number measuring machine 16 (hereinafter referred to as “measured work number”).
Represents

【0048】また、「bi-4 」〜「bi 」が、今回の移
動平均値Pi の算出に必要な測定値Xの数(=K)と同
数の重み係数である。
Further, "b i-4 " to "b i " are the weighting coefficients of the same number as the number (= K) of the measurement values X necessary for calculating the moving average value P i of this time.

【0049】これら複数の重み係数bの各々の値は、原
変動である測定値Xの中から除去すべき成分波(すなわ
ち、前記隣接間ばらつきを表す成分波)の周波数との関
係において決定されるが、例えば、加工機10と全数測
定機16との間に存在する待機ワークの数が0である
か、または0でなくてもそれがほとんど変化しない場合
のように、移動平均によって測定値Xの中から除去すべ
き成分波の周波数がほとんど変化しない場合には、各重
み係数bの値を例えば次のようにして決定することがで
きる。
The value of each of the plurality of weighting factors b is determined in relation to the frequency of the component wave to be removed from the measured value X which is the original variation (that is, the component wave representing the variation between the adjacent portions). However, for example, when the number of standby works existing between the processing machine 10 and the total counting machine 16 is 0, or when it is not 0, it hardly changes, the measured value by the moving average. When the frequency of the component wave to be removed from X hardly changes, the value of each weighting coefficient b can be determined as follows, for example.

【0050】まず、原変動の中から除去すべきs個の成
分波の各々の角振動数をω1 ,ω2,・・・,ωj ,・
・・,ωs とし、次式を作る。
First, the angular frequencies of the s component waves to be removed from the original fluctuation are represented by ω 1 , ω 2 , ..., ω j ,.
······ ω s and create the following formula.

【0051】[0051]

【数2】 [Equation 2]

【0052】そして、この式の係数1,as-1 ,・・
・,a0 ,・・・,as-1 ,1のうち1〜a0 をそれぞ
れ、重み係数bi-s ,bi-(s-1),・・・,bi に決定す
るのである。
Then, the coefficient of this equation 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.

【0053】一方、上記の場合とは異なり、待機ワーク
の数が常に安定することを保証されない場合には、移動
平均によって測定値Xの中から除去すべき成分波の周波
数がやや変化することを避け得ない。そのため、この場
合には、各重み係数bの値を例えば次のようにして決定
することが望ましい。すなわち、各重み係数bの値を例
えば図12にグラフで表すように、各重み係数bが乗じ
られる測定値Xが最新の測定値Xに対して新しいもので
あるほど、ほぼ比例的に増加するように決定すればよい
のである。このようにすれば、測定値Xの中から比較的
広い範囲に及ぶ短周期の成分波が除去されて移動平均値
Pが算出されることになる。
On the other hand, unlike the above case, when it is not guaranteed that the number of waiting works is always stable, it is possible that the frequency of the component wave to be removed from the measured value X is slightly changed by the moving average. Inevitable. Therefore, in this case, it is desirable to determine the value of each weighting coefficient b as follows, for example. That is, as shown in the graph of FIG. 12, for example, the value of each weighting coefficient b increases almost proportionally as the measured value X multiplied by each weighting coefficient b is newer than the latest measured value X. You just have to decide. By doing so, the component wave with a short period extending over a relatively wide range is removed from the measured value X, and the moving average value P is calculated.

【0054】この場合、各重み係数bの値は、待機ワー
ク数の標準的な変化状況を想定し、その想定した変化状
況の下で最適な唯一の大きさに固定して決定することが
できる。例えば、前述の、bi-4 ,bi-3 ,bi-2 ,b
i-1 およびbi をそれぞれ、1,2,3,4および5に
固定することができるのである。しかし、このように各
重み係数bの値を固定した場合には、測定値Xの振動レ
ベル(すなわち、測定値Xが測定ワーク数iの増加につ
れて周期的に変動するときのその変動のレベル)が高い
ときには移動平均値Pも振動して真の値に十分には近い
ものとならず、また、測定値Xの振動レベルが低いとき
には移動平均値Pが測定値Xの変化に対して十分に迅速
に応答しないという事態が生ずるおそれがある。
In this case, the value of each weighting coefficient b can be determined by assuming a standard change situation of the number of waiting works and fixing it to an optimum unique size under the assumed change situation. . For example, the above-mentioned b i-4 , b i-3 , b i-2 , b
It is possible to fix i-1 and b i to 1 , 2, 3, 4 and 5, respectively. However, when the value of each weighting coefficient b is fixed in this way, the vibration level of the measured value X (that is, the level of fluctuation when the measured value X periodically fluctuates as the number i of measured works increases). Is high, the moving average value P also vibrates and does not become close enough to the true value, and when the vibration level of the measured value X is low, the moving average value P is sufficiently small with respect to the change of the measured value X. There is a risk of not responding promptly.

【0055】このような事情を背景として、本実施例に
おいては、各重み係数bの値が可変とされて測定値Xの
振動レベルに自動的に適応するようになっている。
Against this background, in the present embodiment, the value of each weighting coefficient b is made variable so that it automatically adapts to the vibration level of the measured value X.

【0056】具体的には、各重み係数bの前回値を用い
て今回の移動平均値Pの暫定値が算出され、その際に用
いた複数の測定値Xの各々とその今回の移動平均値Pの
暫定値との差の和が算出され、それが測定値Xの振動レ
ベル(各重み係数bの前回値との関係における相対的な
振動レベル)に決定され、その決定された振動レベルが
許容値A以下であれば、その今回の移動平均値Pの暫定
値が最終値に決定される。一方、許容値Aより大きい場
合には、各重み係数bが、例えば図13にグラフで概念
的に示すように、最高レベルと最低レベルとの間におい
て一定量ずつ増加・減少させられ、振動レベルが許容値
A以下となる各重み係数bの値が各重み係数bの今回値
に決定され、その今回値を用いて算出された移動平均値
Pが今回の移動平均値Pの最終値に決定される。したが
って、測定値Xの振動レベルが高い場合には、重み係数
bの分布を表す直線の勾配が緩やかとなり、測定値Xの
今回値が移動平均値Pに及ぼす影響が、測定値Xの過去
値がその移動平均値Pに及ぼす影響より軽減され、その
結果、測定値Xの今回値によって移動平均値Pが顕著に
変化し難くなるのである。一方、測定値Xの振動レベル
が低い場合には、重み係数bの分布を表す直線の勾配が
急になり、測定値Xの今回値が移動平均値Pに及ぼす影
響が、測定値Xの過去値がその移動平均値Pに及ぼす影
響より増加し、その結果、測定値Xの今回値によって移
動平均値Pが顕著に変化し易くなるのである。
Specifically, the previous value of each weighting coefficient b is used to calculate the provisional value of the moving average value P of this time, and each of the plurality of measured values X used at that time and the moving average value of this time are calculated. The sum of the difference between P and the provisional value is calculated, and the sum is determined as the vibration level of the measured value X (relative vibration level in relation to the previous value of each weighting coefficient b), and the determined vibration level is If it is equal to or smaller than the allowable value A, the provisional value of the moving average value P of this time is determined as the final value. On the other hand, when it is larger than the allowable value A, each weighting coefficient b is increased / decreased by a fixed amount between the highest level and the lowest level, as shown conceptually in the graph of FIG. The value of each weighting coefficient b for which is less than or equal to the allowable value A is determined as the current value of each weighting coefficient b, and the moving average value P calculated using this current value is determined as the final value of this moving average value P. To be done. Therefore, when the vibration level of the measured value X is high, the slope of the straight line representing the distribution of the weighting factor b becomes gentle, and the influence of the current value of the measured value X on the moving average value P is the past value of the measured value X. Is reduced from the effect on the moving average value P, and as a result, the moving average value P is less likely to change significantly depending on the current value of the measured value X. On the other hand, when the vibration level of the measured value X is low, the slope of the straight line representing the distribution of the weighting factor b becomes steep, and the influence of the present value of the measured value X on the moving average value P is The value increases more than the influence on the moving average value P, and as a result, the moving average value P is likely to change significantly depending on the current value of the measured value X.

【0057】ただし、各重み係数bの値が最低レベルと
最高レベルとの間全域において変更されたにもかかわら
ず振動レベルが許容値A以下となる各重み係数bの値が
得られない場合がある。この場合には、各重み係数bの
値が変更されるごとに取得された複数の振動レベルのう
ちの最小値に対応する各重み係数bの値が各重み係数b
の今回値に決定され、その今回値を用いて算出された移
動平均値Pが今回の移動平均値Pの最終値に決定され
る。
However, even if the value of each weighting coefficient b is changed over the entire range between the lowest level and the highest level, the value of each weighting coefficient b at which the vibration level becomes the allowable value A or less cannot be obtained. is there. In this case, the value of each weighting coefficient b corresponding to the minimum value of the plurality of vibration levels acquired each time the value of each weighting coefficient b is changed is the weighting coefficient b.
Is determined as the current value, and the moving average value P calculated using this current value is determined as the final value of the current moving average value P.

【0058】以上、移動平均値Pの原則的な算出手法に
ついて説明したが、この原則を貫くときは、演算データ
メモリに蓄積されている測定値Xの数がK個に達しない
間は、移動平均値Pを算出することができず、図14に
示すように、これを用いて算出されるべき誤差値Rも微
分値Tも算出することができないこととなり、ひいて
は、新たな補正値Uを決定することができない時間が長
くなってしまう。なお、この図は、左側から右側に向か
うにつれて測定ワーク数iが増加することとして表され
ている。後述の図15および図16についても同様であ
る。
Although the principle of calculating the moving average value P has been described above, if the principle is adhered to, the moving average value P is moved while the number of measured values X accumulated in the arithmetic data memory does not reach K. The average value P cannot be calculated, and as shown in FIG. 14, neither the error value R nor the differential value T that should be calculated using this cannot be calculated, and as a result, a new correction value U can be calculated. The time that cannot be decided becomes long. In addition, this figure is represented as the number i of measured works increases from the left side to the right side. The same applies to FIGS. 15 and 16 described later.

【0059】そこで、本実施例においては、演算データ
メモリに蓄積されている測定値Xの数がK個に達しない
場合には、例外として、達する場合とは異なる特別の規
則に従って、移動平均値Pが算出される。なお、この技
術は、本出願人の特願平4−329985号として出願
されている。
Therefore, in the present embodiment, when the number of measured values X stored in the arithmetic data memory does not reach K, as an exception, the moving average value is calculated according to a special rule different from the case where it is reached. P is calculated. In addition, this technology is applied for as Japanese Patent Application No. 4-329985 of the present applicant.

【0060】その特別の規則には置換型移動平均値算出
規則と可変型移動平均値算出規則とがある。以下、詳し
く説明する。
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.

【0061】まず、置換型移動平均値算出規則は、図1
4に示すように、存在する予定のK個の移動平均値Pの
うち実際には存在しないものの各々を、各移動平均値P
が取得されるべき回と同じ回に取得された測定値Xその
もので置換するという規則である。これは、同じ回に取
得される測定値Xと移動平均値Pとは本来互いに近似す
るという性質を利用するものであって、この規則に従っ
て移動平均値Pを算出することを置換型移動平均値算出
という。
First, the substitution type moving average value calculation rule is shown in FIG.
As shown in FIG. 4, each of the K moving average values P scheduled to be present, which does not actually exist, is given a corresponding moving average value P.
Is to be replaced with the measurement value X itself acquired at the same time as the acquisition. This utilizes the property that the measured value X and the moving average value P that are acquired at the same time are originally close to each other, and the calculation of the moving average value P according to this rule means that the replacement type moving average value is calculated. It is called calculation.

【0062】この置換型移動平均値算出においては、各
回の移動平均値Pの置換が行われた時期が、その後にお
いてはじめて原則通りに移動平均値Pが算出された時期
から少し前であるか、かなり前であるかを問わず、移動
平均値Pを測定値Xで置換することによって仮想的に取
得することは可能である。しかし、この場合には、次の
ような問題がある。すなわち、1個の微分値Tを算出す
るのに使用されるL個の移動平均値Pにおいて仮想的に
算出された移動平均値Pが占める割合が多いほど、その
微分値Tの精度が低下し、ひいては補正値Uの精度も低
下するおそれがあるという問題があるのである。
In this substitution type moving average value calculation, is the time when the moving average value P is replaced each time a little before the time when the moving average value P is calculated in principle for the first time after that? It is possible to virtually obtain it by replacing the moving average value P with the measured value X, regardless of whether it is long before. However, in this case, there are the following problems. That is, as the ratio of the virtually calculated moving average value P in the L moving average values P used to calculate one differential value T increases, the accuracy of the differential value T decreases. Consequently, there is a problem that the accuracy of the correction value U may decrease.

【0063】この問題を解決するためには、1個の微分
値Tを算出するのに使用される仮想的な移動平均値Pの
数を制限すればよい。同図の例は、そのような制限が付
された例であって、この場合には、最新の正規の移動平
均値Pより過去に3回の間に限り(すなわち、置換制限
数Zが3個)、仮想的な移動平均値Pの算出が許容され
ている。このように制限を付された場合には、たとえ置
換型移動平均値算出をしても、演算データメモリに蓄積
されている測定値Xの数が少ない間は、移動平均値Pを
算出することができない。
In order to solve this problem, it is sufficient to limit the number of virtual moving average values P used to calculate one differential value T. The example in the figure is an example in which such a limitation is added, and in this case, only within the past three times from the latest regular moving average value P (that is, the replacement limitation number Z is 3). The calculation of the virtual moving average value P is allowed. In such a case, even if the replacement type moving average value is calculated, the moving average value P should be calculated while the number of measurement values X accumulated in the arithmetic data memory is small. I can't.

【0064】一方、可変型移動平均値算出規則は、測定
値Xの数(Kより小さい数)の各々について個別に重み
付き移動平均値計算式を用意し、演算データメモリに蓄
積されている測定値Xの数に合致する計算式を選択し、
それを用いて移動平均値Pを算出するという規則である
(図16参照)。この規則に従って移動平均値Pを算出
することを可変型移動平均値算出という。ここに個別に
用意される重み付き移動平均値計算式には例えば次のよ
うなものを選ぶことができる。
On the other hand, the variable moving average value calculation rule prepares a weighted moving average value calculation formula for each of the number of measurement values X (a number smaller than K), and measures stored in the calculation data memory. Select the calculation formula that matches the number of values X,
The rule is to calculate the moving average value P using it (see FIG. 16). Calculating the moving average value P according to this rule is called variable type moving average value calculation. The following weighted moving average calculation formulas can be individually prepared, for example.

【0065】[0065]

【数3】 [Equation 3]

【0066】この例においては、演算データメモリに蓄
積されている測定値Xの数が1個であっても、移動平均
値Pの算出が可能である。したがって、この例において
は、演算データメモリに蓄積されている測定値Xの数が
少ないから移動平均値Pを算出することはできないとい
うことはない。
In this example, the moving average value P can be calculated even if the number of measurement values X stored in the arithmetic data memory is one. Therefore, in this example, the moving average value P cannot be calculated because the number of measurement values X accumulated in the arithmetic data memory is small.

【0067】なお、本実施例においては、以上のような
移動平均値Pの特別な手法による算出(以下、「特別移
動平均値算出」という)の実行の許否が作業者によって
指令され、さらに、その特別移動平均値算出が指令され
る場合には、その種類の選択も作業者からの指令に応じ
て行われるようになっている。すなわち、特別移動平均
値算出指令が出されている場合には必ず、置換型移動平
均値算出指令と可変型移動平均値算出指令とのいずれか
が出されるようになっているのである。
In this embodiment, the operator gives an instruction as to 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 selection of the type is also made according to the instruction from the operator. That is, when the special moving average value calculation command is issued, either the replacement type moving average value calculation command or the variable type moving average value calculation command is always issued.

【0068】次に、両端直径補正(図11の第3ステッ
プ)について説明する。この制御装置20が接続される
加工システムにおいては、前述のように、ワークの全円
筒面のうちの2個の端円筒面の直径にのみ基づいて砥石
群30が作動させられる。そのため、2個の端円筒面の
測定値Xのみを考慮し、それ以外の円筒面の測定値Xを
考慮しないで定寸点を補正する場合には、各円筒面の加
工精度がそれの全体において十分に均一にならない場合
がある。
Next, the both-end diameter correction (third step in FIG. 11) will be described. In the processing system to which the control device 20 is connected, as described above, the grindstone group 30 is operated based on only the diameters of the two end cylindrical surfaces of all the cylindrical surfaces of the work. Therefore, when the sizing point is corrected without considering the measured values X of the two end cylindrical surfaces but the measured values X of the other cylindrical surfaces, the machining accuracy of each cylindrical surface is the whole. In some cases, it may not be sufficiently uniform.

【0069】そこで、本実施例においては、この問題を
解決するために次のような技術が採用されている。すな
わち、図17にグラフで概念的に示すように、ワークに
おける各円筒面の軸方向位置(図に「1J」〜「7J」
で表す)と各円筒面の直径(すなわち、移動平均値P)
とが比例関係にあると仮定し、2個の端円筒面の測定値
Xをそれぞれ補正するという両端直径補正という技術が
採用されているのである。なお、この技術は、本出願人
の特願平4−329987号として出願されている。
Therefore, in the present embodiment, the following technique is adopted to solve this problem. That is, as conceptually shown in the graph of FIG. 17, the axial position of each cylindrical surface in the work (“1J” to “7J” in the figure).
And the diameter of each cylindrical surface (that is, the moving average value P)
Assuming that and are in a proportional relationship, a technique called both-end diameter correction is adopted in which the measured values X of the two end cylindrical surfaces are respectively corrected. This technology has been applied as Japanese Patent Application No. 4-329987 of the present applicant.

【0070】この両端直径補正の一具体例は、次のよう
である。すなわち、両端直径補正計算式として、
A specific example of this both-ends diameter correction is as follows. That is, as the both end diameter correction calculation formula,

【0071】[0071]

【数4】 [Equation 4]

【0072】なる式が採用され、これを用いることによ
り、各端円筒面の移動平均値Pの修正値が算出されるの
である。ただし、 x:ジャーナル面の番号(第1ジャーナル面から第7ジ
ャーナル面に向かって1から7まで付されている) x′:7個のxの値の平均値 y:xの各値における移動平均値Pの修正値 P:xの各値における移動平均値Pの計算値 P′:7個の移動平均値Pの計算値の平均値
The following equation is adopted, and by using this equation, the correction value of the moving average value P of each end cylindrical surface is calculated. However, x: number of journal surface (numbered 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 Modified value of average value P: Calculated value of moving average value P at each value of x P ': Average value of calculated values of 7 moving average values P

【0073】具体的には、第1ジャーナル面について
は、上記式の「x」に1を代入することによって、移動
平均値Pの修正値y1 が取得され、また、第7ジャーナ
ル面については、「x」に7を代入することによって、
移動平均値Pの修正値y7 が取得される。
Specifically, for the first journal surface, the corrected 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, , By substituting 7 for “x”,
The corrected value y 7 of the moving average value P is acquired.

【0074】なお、本実施例においては、この両端直径
補正の実行の許否も作業者によって指令されるようにな
っている。
In this embodiment, the operator also gives an instruction as to whether or not to execute the both-end diameter correction.

【0075】また、本実施例においては、移動平均値P
に対して両端直径補正が行われるようになっているが、
移動平均値Pの基礎となる測定値Xそのものに対して両
端直径補正を行うこともできる。
In the present embodiment, the moving average value P
Both ends are corrected for diameter,
It is also possible to perform both-end diameter correction on the measured value X itself, which is the basis of the moving average value P.

【0076】次に、寸法情報取得(図11の第4ステッ
プ)について説明する。ワークについて取得する寸法情
報には、前述のように、誤差値Rのみならず、それの微
分値Tおよび2回微分値Dもある。誤差値Rは「寸法誤
差」の一態様であり、微分値Tは「寸法誤差の変化傾
向」の一態様であり、2回微分値Dは「変化傾向の変化
傾向」の一態様である。
Next, the dimension information acquisition (fourth step in FIG. 11) will be described. As described above, the dimension information acquired for the work includes not only the error value R but also the differential value T and the second differential value D thereof. The error value R is one mode of "dimensional error", the differential value T is one mode of "change tendency of dimensional error", and the twice differential value D is one mode of "change tendency of change tendency".

【0077】このように、誤差値R以外のパラメータに
も基づいて補正値Uを決定することとしたのは、誤差値
Rのみに基づいて補正値Uを決定する場合より、それの
微分値Tまたは2回微分値Dにも基づいて補正値Uを決
定する場合の方が、加工機10の実際の状態をより正確
に推定することができ、定寸点の補正精度が向上するか
らである。なお、誤差値Rのみならず微分値Tにも基づ
いて補正値Uを決定する技術は、本出願人の特願平4−
61305号として出願されており、また、さらに2回
微分値Dにも基づいて補正値Uを決定する技術は、本出
願人の特願平4−235402号として出願されてい
る。
As described above, the reason why the correction value U is determined based on the parameters other than the error value R is that the differential value T of the correction value U is determined more than when the correction value U is determined based on only the error value R. Alternatively, when the correction value U is also 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 sizing point is improved. . The technique for determining the correction value U based not only on the error value R but also on the differential value T is disclosed in Japanese Patent Application No.
No. 61305, and a technique for determining the correction value U based on the second derivative D is also filed as Japanese Patent Application No. 4-235402 of the present applicant.

【0078】ここで、微分値Tの算出について説明す
る。微分値Tは、図18にグラフで概念的に示すよう
に、原則として、今回取得された誤差値Rおよび前回ま
でに取得された最新の少なくとも1個の誤差値Rから成
るL(2以上の固定値)個の誤差値Rが測定ワーク数i
の増加に対してほぼ比例すると仮定し、それらL個の誤
差値Rが適合する1次回帰線を特定し、それの勾配を微
分値T(1次回帰線の傾きをθラジアンとした場合のta
n θに一致する)として取得される。具体的には、1次
回帰線の式として、例えば、
Here, the calculation of the differential value T will be described. As conceptually shown in the graph of FIG. 18, the differential value T is, in principle, L (2 or more or more) including an error value R acquired this time and at least one latest error value R acquired up to the previous time. (Fixed value) error value R is measured work number i
Is assumed to be approximately proportional to the increase of the linear error, the linear regression line to which the L error values R fit is specified, and its gradient is the differential value T (the gradient of the linear regression line is θ radian). ta
(matches n θ). Specifically, as the formula of the primary regression line, for example,

【0079】[0079]

【数5】 [Equation 5]

【0080】なる式が採用される。ただし、 x:測定ワーク数iの値 x′:L個のxの値の平均値 y:xの各値における誤差値Rの真の値 R:xの各値における誤差値Rの計算値 R′:L個の誤差値Rの計算値の平均値 そして、The following equation is adopted. However, x: value of the number of measured works i x ′: average value of L x values y: true value of error value R at each value of x R: calculated value R of error value R at each value of x ′: Average value of L error value R calculated values, and

【0081】[0081]

【数6】 [Equation 6]

【0082】の値が、微分値Tとなる。しかし、この原
則を貫くと、移動平均値Pの算出の場合と同様に、演算
データメモリに蓄積されている誤差値Rの数がL個に達
しない場合には、微分値Tを算出することができない。
The value of is the differential value T. However, if this principle is followed, similar to the case of calculating the moving average value P, if the number of error values R accumulated in the calculation data memory does not reach L, the differential value T is calculated. I can't.

【0083】そこで、本実施例においては、移動平均値
Pの算出の場合に準じて、移動平均値Pの数(Lより小
さい数)の各々について個別に1次回帰線の式を用意
し、演算データメモリに蓄積されている誤差値Rの数に
合致する式を選択し、それを用いて微分値Tを取得する
という技術が採用されている。なお、この技術も前記特
願平4−329985号として出願されている。
Therefore, in the present embodiment, in accordance with the calculation of the moving average value P, the formula of the primary regression line is prepared for each of the number of moving average values P (the number smaller than L), A technique is adopted in which an equation that matches the number of error values R stored in the arithmetic data memory is selected and the differential value T is obtained using the equation. This technology is also applied as Japanese Patent Application No. 4-329985.

【0084】なお、本実施例においては、可変型微分値
算出の実行の許否も作業者によって指令されるようにな
っている。
In this embodiment, the operator also gives an instruction as to whether or not to execute the calculation of the variable differential value.

【0085】次に、2回微分値Dの算出について説明す
る。2回微分値Dは微分値Tと同様にして算出される。
すなわち、今回までに取得された最新のQ(2以上の固
定値)個の微分値Tが測定ワーク数iの増加に対してほ
ぼ比例すると仮定し、それらQ個の微分値Tが適合する
1次回帰線を特定し、それの勾配を2回微分値D(1次
回帰線の傾きをθラジアンとした場合のtanθに一致す
る)として取得するのである。
Next, the calculation of the twice-differential value D will be described. The twice-differential value D is calculated in the same manner as the differential value T.
That is, it is assumed that the latest Q (fixed values of 2 or more) differential values T acquired up to this time are approximately proportional to the increase in the number i of measured workpieces, and these Q differential values T are 1 The secondary regression line is specified, and the gradient thereof is acquired as the second-order differential value D (which matches tan θ when the gradient of the primary regression line is θ radians).

【0086】なお、本実施例においては、2回微分値D
の使用の許否も作業者によって指令されるようになって
いる。
In the present embodiment, the second derivative D
Whether or not to use is also set by the operator.

【0087】また、本実施例においては、この2回微分
値Dについては、微分値Tに係る可変型微分値算出に相
当する技術は採用されていないが、採用することはもち
ろん可能である。
Further, in the present embodiment, the technique corresponding to the variable differential value calculation related to the differential value T is not adopted for the twice differential value D, but it is of course possible to adopt it.

【0088】次に、ファジィ演算(図11の第5ステッ
プ)について説明するが、このファジィ演算において
は、むだ時間考慮型補正およびファジィ推論なる技術が
採用されているため、それら技術について個々に詳しく
説明する。
Next, the fuzzy operation (fifth step in FIG. 11) will be described. Since the fuzzy operation employs techniques such as dead time consideration type correction and fuzzy inference, these techniques will be individually described in detail. explain.

【0089】まず、むだ時間考慮型補正について説明す
る。全数測定機16による測定を待つ待機ワークの数が
変動する場合には、その待機ワークの数に応じて補正値
Uの決定規則を変更することが望ましい。そこで、本実
施例においては、その待機ワークの数をむだ時間MSと
して測定し、それに応じて補正値Uの決定規則(具体的
には、後述のファジィルール)を変更し、その変更した
決定規則に従って補正値Uを決定するむだ時間考慮型補
正が採用されている。
First, the dead time consideration type correction will be described. When the number of waiting works waiting for the measurement by the total number measuring machine 16 changes, it is desirable to change the rule for determining the correction value U according to the number of waiting works. Therefore, in the present embodiment, the number of waiting works is measured as the dead time MS, the determination rule of the correction value U (specifically, a fuzzy rule described later) is changed in accordance with the dead time MS, and the changed determination rule is used. A dead time consideration type correction for determining the correction value U is adopted in accordance with.

【0090】なお、本実施例においては、このむだ時間
考慮型補正の実行の許否も作業者によって指令されるよ
うになっている。
In the present embodiment, the operator also gives an instruction as to whether or not to execute this dead time consideration type correction.

【0091】次に、ファジィ推論について説明する。本
実施例においては、ファジィ演算の方式が3種類存在す
る。すなわち、誤差値Rおよび微分値Tのみをそれぞ
れ入力変数としたファジィ推論による第1の方式と、
誤差値R,微分値Tおよび2回微分値Dをそれぞれ入
力変数としたファジィ推論による第2の方式と、 誤
差値R,微分値Tおよびむだ時間MSをそれぞれ入力変
数としたファジィ推論による第3の方式とが存在するの
である。なお、第1の方式の一具体例は前記特願平4−
61305号明細書に既に開示され、第2の方式の一具
体例は前記特願平4−235402号明細書に既に開示
され、第3の方式の一具体例は本出願人の特願平4−1
58787号明細書に既に開示されている。
Next, fuzzy inference will be described. In this embodiment, there are three types of fuzzy calculation methods. That is, the first method by fuzzy inference using only the error value R and the differential value T as input variables,
The second method by the fuzzy inference using the error value R, the differential value T and the twice differential value D as the input variables, and the third method by the fuzzy inference using the error value R, the differential value T and the dead time MS as the input variables. There is a method of. A specific example of the first method is described in Japanese Patent Application No. 4-
No. 61305, the specific example of the second method is already disclosed in the above-mentioned Japanese Patent Application No. 4-235402, and one specific example of the third method is the Japanese patent application No. 4 of the present applicant. -1
It has already been disclosed in the specification of 58787.

【0092】そして、本実施例においては、前記2回微
分値使用指令が出された場合には第2の方式、前記むだ
時間考慮型補正指令が出された場合には第3の方式、そ
れら指令のいずれも出されなかった場合には第1の方式
がそれぞれ選択される。
In the present embodiment, the second method is used when the twice differential value use command is issued, and the third method is used when the dead time consideration type correction command is issued. If none of the commands is issued, the first method is selected.

【0093】以下、それら3種類の方式の、本実施例に
おける具体的な内容について説明するが、それら方式は
基本的な思想が共通するため、第1の方式、すなわち、
誤差値Rおよび微分値Tのみをそれぞれ入力変数とした
ファジィ推論により補正値Uを演算する方式を例にと
り、代表的に説明する。
The specific contents of these three types of methods in this embodiment will be described below. However, since these methods have the same basic idea, the first method, that is,
A method of calculating the correction value U by fuzzy inference using only the error value R and the differential value T as input variables will be described as an example.

【0094】制御装置20のROMにはファジィ推論の
ためのデータも予め記憶させられている。ファジィ推論
のためのデータとは具体的に、(a) 推論プログラム,
(b) 誤差値R,微分値Tおよび補正値Uの各々に関する
複数のメンバーシップ関数,(c) それら誤差値R,微分
値Tおよび補正値U相互の関係を規定する複数のファジ
ィルール等である。
Data for fuzzy inference is also stored in advance in the ROM of the control device 20. The data for fuzzy inference is (a) inference program,
(b) A plurality of membership functions relating to each of the error value R, the differential value T and the correction value U, (c) A plurality of fuzzy rules etc. that define the mutual relationship between the error value R, the differential value T and the correction value U. is there.

【0095】誤差値Rについては、それが負から正に向
かって増加するにつれて『NB』,『NM』,『N
S』,『ZO』,『PS』,『PM』および『PB』に
順に変化する7個のファジィラベルが用意されており、
それぞれのメンバーシップ関数は図19にグラフで表さ
れるようになっている。
Regarding the error value R, "NB", "NM", "N" as it increases from negative to positive
Seven fuzzy labels are prepared, which sequentially change to "S", "ZO", "PS", "PM" and "PB".
Each membership function is graphically represented in FIG.

【0096】微分値Tについては、それが負から正に向
かって増加するにつれて『NB』,『NS』,『Z
O』,『PS』および『PB』に順に変化する5個のフ
ァジィラベルが用意されており、それぞれのメンバーシ
ップ関数は図20にグラフで表されるようになってい
る。
Regarding the differential value T, as it increases from negative to positive, "NB", "NS", "Z"
Five fuzzy labels that sequentially change to “O”, “PS”, and “PB” are prepared, and the membership functions of each are shown in a graph in FIG.

【0097】補正値Uについては、それが負から正に向
かって増加するにつれて『NB』,『NM』,『N
S』,『ZO』,『PS』,『PM』および『PB』に
順に変化する7個のファジィラベルが用意されており、
それぞれのメンバーシップ関数は図21にグラフで表さ
れるようになっている。なお、補正値Uが増加すれば定
寸点が高くなってクランクシャフトのジャーナル部が大
径化され、逆に、補正値Uが減少すれば定寸点が低くな
ってジャーナル部が小径化されることになる。
As for the correction value U, as it increases from negative to positive, "NB", "NM", "N"
Seven fuzzy labels are prepared, which sequentially change to "S", "ZO", "PS", "PM" and "PB".
Each membership function is graphically represented in FIG. It should be noted that as the correction value U increases, the sizing point increases and the journal portion of the crankshaft increases in diameter, and conversely, when the correction value U decreases, the sizing point decreases and the journal portion decreases in diameter. Will be.

【0098】複数のファジィルールから成るファジィル
ール群は本来、1種類で足りるのであるが、本実施例に
おいては、2種類用意されている。以下、その理由を説
明する。
A fuzzy rule group consisting of a plurality of fuzzy rules is originally sufficient for one kind, but in the present embodiment, two kinds are prepared. The reason will be described below.

【0099】測定値Xが安定し、それの振動レベルが低
い状態では、誤差値Rおよび微分値Tに対して補正値U
が敏感に応答するように補正値Uを決定することが、ワ
ークの寸法精度向上にとって望ましい。しかし、このよ
うな状態のみを想定してファジィルール群の内容を設定
した場合には、加工機10の振動等が原因となって、測
定値Xが不安定となり、それの振動レベルが高くなった
状態では、補正値Uが定寸装置14に送信されるとかえ
って測定値Xの振動レベルが増加し、ワークの寸法精度
が低下してしまうことがある。そこで、本実施例におい
ては、測定値Xの振動レベルが低い状態で使用され、誤
差値Rおよび微分値Tに対して敏感に応答するように補
正値Uを決定するための積極的なファジィルール群と、
測定値Xの振動レベルが高い状態で使用され、誤差値R
および微分値Tに対して鈍感に応答するように補正値U
を決定するための消極的なファジィルール群とがそれぞ
れ用意されているのである。
When the measured value X is stable and the vibration level thereof is low, the correction value U is applied to the error value R and the differential value T.
It is desirable to improve the dimensional accuracy of the work by deciding the correction value U so as to respond sensitively. However, when the contents of the fuzzy rule group are set assuming only such a state, the measured value X becomes unstable due to the vibration of the processing machine 10, etc., and the vibration level thereof becomes high. In this state, when the correction value U is transmitted to the sizing device 14, the vibration level of the measurement value X may increase, and the dimensional accuracy of the work may decrease. Therefore, in the present embodiment, the aggressive fuzzy rule for determining the correction value U so as to be used in a state where the vibration level of the measurement value X is low and to respond sensitively to the error value R and the differential value T is used. A group of
The error value R is used when the vibration level of the measured value X is high.
And the correction value U so as to respond insensitively to the differential value T
And a set of passive fuzzy rules for determining.

【0100】積極的なファジィルール群の内容を表1
に、消極的なファジィルール群の内容を表2にそれぞれ
示す。
Table 1 shows the contents of the aggressive fuzzy rules.
Table 2 shows the contents of the passive fuzzy rules.

【0101】[0101]

【表1】 [Table 1]

【表2】 [Table 2]

【0102】積極的なファジィルールの一例は、表1か
ら明らかなように、 If R=NB and T=NS then U=PB であり、また、消極的なファジィルールの一例は、表2
から明らかなように、 If R=NB and T=NS then U=PS である。これらの例からも明らかなように、積極的なフ
ァジィルール群と消極的なファジィルール群は、誤差値
Rと微分値Tが共通であっても、補正値Uが積極的なフ
ァジィルール群における方が消極的なファジィルール群
におけるより増加する傾向があるように設計されている
のである。
An example of the positive fuzzy rule is If R = NB and T = NS then U = PB as is clear from Table 1, and an example of the passive fuzzy rule is Table 2.
As is clear from, If R = NB and T = NS then U = PS. As is clear from these examples, the positive fuzzy rule group and the negative fuzzy rule group are the same in the fuzzy rule group in which the correction value U is positive even if the error value R and the differential value T are common. It is designed so that it tends to increase more in the passive fuzzy rule group.

【0103】なお、本実施例においては、制御装置20
の初期状態では、それら積極的なファジィルール群と消
極的なファジィルール群とのうち積極的なファジィルー
ル群が選択されるように設計されている。
In this embodiment, the control device 20
In the initial state of, the aggressive fuzzy rule group is selected from the aggressive fuzzy rule group and the passive fuzzy rule group.

【0104】また、本実施例においては、前回のファジ
ィ推論において積極的なファジィルール群が使用され、
かつ、今回の測定値Xの振動レベルが高いために、今回
のファジィ推論において消極的なファジィルール群が使
用され、その消極的なファジィルール群の使用により今
回の測定値Xの振動レベルが低くなった場合には、再び
積極的なファジィルール群が使用されるようにも設計さ
れている。再び積極的なファジィルール群が使用される
と、直ちに測定値Xの振動レベルが再び高くなってしま
う場合もある。しかし、消極的なファジィルール群の使
用する期間を長くすることは、測定値Xの真の値の変化
に対する補正値Uの応答速度がやや遅くなり、ワークの
寸法精度が低下することにつながるから、消極的なファ
ジィルール群の使用期間をできる限り短くし、ワークの
寸法精度を向上させるのである。
Further, in this embodiment, the aggressive fuzzy rule group is used in the previous fuzzy inference,
Moreover, since the vibration level of the measured value X of this time is high, the passive fuzzy rule group is used in the fuzzy reasoning of this time, and the vibration level of the measured value X of this time is low due to the use of the passive fuzzy rule group. When it becomes, it is designed to use the aggressive fuzzy rules again. When the aggressive fuzzy rule group is used again, the vibration level of the measured value X may immediately become high again. However, if the passive fuzzy rule group is used for a long period of time, the response speed of the correction value U to the change of the true value of the measured value X will be slightly slowed down, and the dimensional accuracy of the work will be deteriorated. , The use period of the passive fuzzy rule group is shortened as much as possible, and the dimensional accuracy of the work is improved.

【0105】さらにまた、本実施例においては、測定値
Xの振動レベルが高いか否かの判定は、各ファジィルー
ル群における複数のファジィルールのうち、微分値Tが
『NB』であるときと『PB』であるときとにそれぞれ
対応するもの(以下、これらを「異常時用ファジィルー
ル」という)が適合する頻度に基づいて行われるように
なっている。具体的には、ファジィ演算の実行回数を表
す判定回数カウンタの値が2以上の設定値Bより大きく
なるごとに、複数回のファジィ演算において上記異常時
用ファジィルールが適合した回数を表す異常回数カウン
タの値が設定値Cより大きいか否かが判定され、大きい
ときに測定値Xの振動レベルが高いと判定される。な
お、判定回数カウンタも異常回数カウンタもRAMに設
けられている。また、判定回数カウンタは、その値が設
定値Bより大きくなったときに0にリセットされる。ま
た、異常回数カウンタは、判定回数カウンタのリセット
と同時に0にリセットされる。
Furthermore, in the present embodiment, whether or not the vibration level of the measured value X is high is determined when the differential value T is "NB" among a plurality of fuzzy rules in each fuzzy rule group. It is designed to be performed based on the frequency with which the ones corresponding to "PB" (hereinafter, these are referred to as "abnormality fuzzy rules") are matched. Specifically, every time the value of the judgment number counter representing the number of executions of the fuzzy operation becomes larger than the set value B of 2 or more, the number of abnormal times representing the number of times the above-mentioned fuzzy rule for anomalies is met in a plurality of fuzzy operations. It is determined whether or not the value of the counter is larger than the set value C, and when it is large, it is determined that the vibration level of the measured value X is high. Both the judgment number counter and the abnormality number counter are provided in the RAM. Further, the judgment number counter is reset to 0 when the value becomes larger than the set value B. Further, the abnormality number counter is reset to 0 at the same time when the determination number counter is reset.

【0106】以上、ファジィルール群を2種類設けた理
由およびそれらファジィルール群の相違点について説明
したが、それらファジィルール群の設計思想は基本的に
は共通するものであり、以下、その共通点について説明
する。
The reason why two types of fuzzy rule groups are provided and the differences between the fuzzy rule groups have been described above. However, the design concepts of the fuzzy rule groups are basically the same, and the common points are as follows. Will be described.

【0107】各ファジィルール群は、誤差値Rのファジ
ィラベルが増加する(以下、単に「誤差値Rが増加す
る」という。他のファジィ変数についても同じとする)
につれて補正値Uが減少するのはもちろん、微分値Tが
増加するにつれて補正値Uが減少するように設計されて
いる。
In each fuzzy rule group, the fuzzy label of the error value R increases (hereinafter, simply referred to as “the error value R increases.” The same applies to other fuzzy variables).
It is designed such that the correction value U decreases as the correction value U increases as the differential value T increases.

【0108】そして、このことは具体的に、例えば表1
のファジィルール表において次のように現れている。す
なわち、例えば、微分値Tが『NS』である場合には、
誤差値Rが増加するにつれて補正値Uが『PB』,『P
M』,『PS』,『ZO』,『ZO』,『NS』および
『NM』の順に減少し、また、誤差値Rが『NM』であ
る場合には、微分値Tが『NS』,『ZO』および『P
S』の順に増加するにつれて補正値Uが『PM』,『P
M』,『PS』と減少するのである。
This is specifically shown in Table 1 below.
It appears as follows in the fuzzy rule table of. That is, for example, when the differential value T is “NS”,
As the error value R increases, the correction value U becomes "PB", "PB"
M ”,“ PS ”,“ ZO ”,“ ZO ”,“ NS ”and“ NM ”in that order, and when the error value R is“ NM ”, the differential value T is“ NS ”, "ZO" and "P"
As the correction value U increases in the order of “S”, the correction value U becomes “PM”, “P”.
It decreases with "M" and "PS".

【0109】インプロセス測定機12は何らかの事情で
故障することがあり、この場合にはそれの測定精度が急
にかつ大きく低下し、ワークの寸法精度も急に大きく低
下することになる。それにもかかわらずインプロセス測
定機12が正常であるとして補正値Uを決定すると、ワ
ークの実際の寸法精度が許容公差範囲から逸脱してしま
う恐れがある。
The in-process measuring machine 12 may break down for some reason, and in this case, the measurement accuracy of the in-process measuring machine 12 suddenly and greatly decreases, and the dimensional accuracy of the work also suddenly and greatly decreases. Nevertheless, if the correction value U is determined assuming that the in-process measuring machine 12 is normal, the actual dimensional accuracy of the work may deviate from the allowable tolerance range.

【0110】このような事情に鑑み、各ファジィルール
群は、全数測定機16による測定値Xが急に減少してか
なり小さくなった場合と、急に増加してかなり大きくな
った場合とにはそれぞれ、補正量Uが十分に0に近づく
ようにも設計されている。このようにすれば、インプロ
セス測定機12が故障した場合には、それからの出力信
号が無視されて前回までの定寸点が今回も適当であると
して加工が行われるから、インプロセス測定機12の故
障の影響をそれほど強く受けることなくワークの寸法精
度を高く維持することが可能となる。
In view of such circumstances, the fuzzy rule groups are classified into a case where the measured value X by the total number measuring machine 16 suddenly decreases and becomes considerably small, and a case where the measured value X suddenly increases and becomes considerably large. Each is also designed so that the correction amount U approaches sufficiently 0. In this way, when the in-process measuring instrument 12 fails, the output signal from the in-process measuring instrument 12 is ignored and processing is performed assuming that the sizing points up to the last time are appropriate this time as well. It is possible to maintain high dimensional accuracy of the work without being strongly affected by the failure of.

【0111】このことは具体的に、例えば表1のファジ
ィルール表において次のように現れている。すなわち、
誤差値Rが『NB』または『NM』であり、かつ、微分
値Tが『NB』である場合と、誤差値Rが『PM』また
は『PB』であり、かつ、微分値Tが『PB』である場
合とにはそれぞれ、補正値Uが『ZO』となっているの
である。
Specifically, this appears as follows in the fuzzy rule table of Table 1, for example. That is,
When the error value R is "NB" or "NM" and the differential value T is "NB", and when the error value R is "PM" or "PB" and the differential value T is "PB" ”, The correction value U is“ ZO ”.

【0112】次に、連続性考慮(図11の第6ステッ
プ)について説明する。前述のように、ワークの寸法誤
差は測定ワーク数iの増加に対してほぼ比例的に増加す
るのが一般的であるため、定寸点の補正値Uに連続性を
持たせること、すなわち、加工の進行につれて滑らかに
変化させることがワークの寸法ばらつきを抑制するのに
望ましい。
Next, consideration of continuity (sixth step in FIG. 11) will be described. As described above, the dimensional error of the work generally increases almost in proportion to the increase in the number of measured works i. Therefore, the correction value U of the sizing point should be continuous, that is, It is desirable to change smoothly as the processing progresses in order to suppress dimensional variation of the work.

【0113】そこで、本実施例においては、その事実に
着目し、図22にグラフで概念的に示すように、まず、
連続性を無視して補正値Uが決定され、それが暫定値
(以下、「暫定補正値U」という。なお、後述の暫定補
正値UP とは異なる)とされ、今回までに取得された最
新のM(2以上の固定値)個の暫定補正値Uが測定ワー
ク数iの増加に対してほぼ比例すると仮定され、それら
M個の暫定補正値Uについて前記の場合と同様な1次回
帰線の式が特定される。そして、その式を用いて今回の
補正値Uの真の値が推定され、それが補正値Uの最終値
(以下、「最終補正値U* 」という。なお、後述の最終
補正値UF とは異なる)とされる。なお、この技術は、
本出願人の特願平4−61306号として出願されてい
る。
Therefore, in this embodiment, paying attention to the fact, as shown conceptually by the graph in FIG.
Ignoring the continuity is determined correction value U is, it provisional value (hereinafter, referred to. In addition, "provisional correction value U" is different from the provisional correction value U P below) are and have been obtained until the current It is assumed that the latest M (fixed values of 2 or more) provisional correction values U are approximately proportional to the increase in the number of measured workpieces i, and the first-order regression similar to the above case is performed for these 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 below Is different). In addition, this technology is
The present application is filed as Japanese Patent Application No. 4-61306.

【0114】具体的には、1次回帰線の式として、例え
ば、
Specifically, as an equation of the primary regression line, for example,

【0115】[0115]

【数7】 [Equation 7]

【0116】なる式が採用される。ただし、 x:測定ワーク数iの値 x′:M個のxの値の平均値 y:xの各値における暫定補正値Uの真の値 U:xの各値における暫定補正値Uの計算値 U′:M個の暫定補正値Uの計算値の平均値The following equation is adopted. However, x: value of the number i of measured works x ′: average value of M x values y: true value of provisional correction value U at each value of x U: calculation of provisional correction value U at each value of x Value U ′: average of calculated values of M provisional correction values U

【0117】そして、上記式の「x」に今回の測定ワー
ク数iの値を代入すれば、今回の最終補正値U* が取得
されることになる。
Then, by substituting the value of the number i of measured works for this time into "x" in the above equation, the final correction value U * for this time is obtained.

【0118】なお、本実施例においては、この連続性考
慮型補正の実行の許否も作業者によって指令されるよう
になっている。
In this embodiment, the operator also gives an instruction as to whether or not to execute the continuity-aware correction.

【0119】また、作業者からその連続性考慮型補正指
令が出された場合(ただし、前記2回微分値使用指令は
出されていない場合)に測定値Xから最終補正値U*
取得されるまでの過程を代表的に、図23に概念的に図
示する。この図は、それの左側から右側に向かうにつれ
て、測定ワーク数iの値が増加することとして表されて
いる。図から明らかなように、演算データメモリへの測
定値Xの蓄積を無蓄積状態から開始する場合には、(K
+L+M−2)個の測定値Xが蓄積されたときに初めて
1個の最終補正値U* が取得されることになるであり、
これが後述の、測定値Xの蓄積に係る「設定複数個」の
一態様なのである。
Further, when the operator issues the continuity-aware correction command (however, the above-mentioned second derivative value use command is not issued), the final correction value U * is acquired from the measured value X. The process up to this point is representatively shown conceptually in FIG. This figure is represented as the value of the measured work number i increases from the left side to the right side. As is clear from the figure, when the accumulation of the measured value X in the calculation data memory is started from the non-accumulation state, (K
+ L + M-2) one final correction value U * will be obtained only when the measurement values X are accumulated.
This is one mode of "a plurality of set values" relating to the accumulation of the measured value X, which will be described later.

【0120】次に、不感帯考慮(図11の第7ステッ
プ)について説明する。最終補正値U* の送信について
は、定寸装置14との関係における不感帯が設定され、
各回に決定した最終補正値U* がその不感帯内にある場
合には、その最終補正値U* の定寸装置14への送信が
省略される。この様子を図24にグラフで概念的に示
す。そして、本実施例においては、0を中心として幅が
Nである範囲が、「不感帯」の一態様とされている。な
お、補正値Uに不感帯を設定するという技術は、本出願
人の特願平4−278146号として出願されている。
Next, the dead zone consideration (seventh step in FIG. 11) will be described. For the transmission of the final correction value U * , the dead zone in relation to the sizing device 14 is set,
If the final correction value U * determined each time is within the dead zone, the transmission of the final correction value U * to the sizing device 14 is omitted. This state is conceptually shown in the graph of FIG. Further, in this embodiment, a range having a width of N around 0 is defined as one mode of the "dead zone". The technique of setting a dead zone in the correction value U has been filed as Japanese Patent Application No. 4-278146 of the present applicant.

【0121】次に、間欠的補正について詳しく説明す
る。定寸点補正に際し、全数測定機16によりワークの
寸法が測定されるごとに、加工機10により次に加工さ
れるべきワークの定寸点の補正値Uを決定する連続的補
正なる補正手法を採用することができる。しかし、この
連続的補正を採用する場合には次のような問題がある。
すなわち、全数測定機16により測定されるワークすべ
てについて個々に補正値Uを決定しなければならないた
め、制御装置20に大きな負担がかかってしまうという
問題があるのである。
Next, the intermittent correction will be described in detail. At the time of sizing point correction, a correction method that is a continuous correction that determines the correction value U of the sizing point of the work to be processed next by the processing machine 10 every time the dimension of the work is measured by the total number measuring machine 16. Can be adopted. However, when this continuous correction is adopted, there are the following problems.
That is, since the correction value U has to be individually determined for all the works measured by the total number measuring machine 16, there is a problem that the control device 20 is heavily burdened.

【0122】この問題を解決するため、本実施例におい
ては、間欠的補正なる補正手法が採用されている。
In order to solve this problem, in this embodiment, a correction method called intermittent correction is adopted.

【0123】この間欠的補正を図25にグラフで概念的
に示す。このグラフは、加工機10と全数測定機16と
の間に複数の待機ワークが存在する場合に取得されるも
のであり、このグラフにおいて「測定おくれ」とは、加
工機10と全数測定機16との間の待機ワークの数に相
当する。また、「Ui 」は今回の補正値を、「Ui+1
は次回の補正値をそれぞれ表している。したがって、今
回の補正値Ui の影響は測定おくれの後にはじめて寸法
誤差に現れ、また、同様に、次回の補正値Ui+1 の影響
も測定おくれの後にはじめて寸法誤差に現れることとな
る。また、このグラフは、複数のワークを順に、互いに
同じ定寸点の下で加工した場合にはそれら各ワークの寸
法誤差が測定ワーク数iの増加に対してほぼ比例的に増
加すると仮定した場合に取得されるものでもある。な
お、寸法誤差が増加する原因には例えば、加工機10の
加工具としての砥石の摩耗が考えられる。また、以上の
事情は以下のグラフにおいても同様である。
This intermittent correction is conceptually shown in the graph of FIG. This graph is acquired when there are a plurality of standby works between the processing machine 10 and the total measuring machine 16, and the “measurement delay” in this graph means the processing machine 10 and the total measuring machine 16. Equivalent to the number of waiting works between and. In addition, “U i ” is the correction value of this time and is “U i + 1 ”.
Indicates the next correction value. Therefore, the influence of the correction value U i of this time appears on the dimension error only after the measurement delay, and similarly, the influence of the next correction value U i + 1 also appears on the dimension error after the measurement delay. In addition, this graph is based on the assumption that, when a plurality of works are machined in order under the same fixed size point, the dimensional error of each work increases almost in proportion to the increase in the number of measured works i. It is also acquired by. Note that, for example, the wear of the grindstone as the processing tool of the processing machine 10 is considered as the cause of the increase in the dimensional error. The above situation is the same in the following graphs.

【0124】この間欠的補正を実施する方式として本出
願人は2つの態様を案出した。以下、それら各方式につ
いて詳しく説明する。
The present applicant has devised two modes as a method for performing this intermittent correction. Hereinafter, each of these methods will be described in detail.

【0125】 間欠的補正の第1の方式 この定寸点補正装置は、前述のように、加工機10と全
数測定機16との間にワークが存在することを許容する
加工システムと共に使用されるべきものであるから、前
回の補正値Uの影響を受けた定寸点の下で加工されたワ
ークがその直後に全数測定機16により測定されるとは
限らず、いくつか別のワークの測定を経た後にはじめて
測定される場合もある。したがって、前回の補正値Uの
影響を直接に今回の補正値Uに反映させることが必要で
ある場合には、前回の補正値Uの影響を受けた定寸点の
下で加工された少なくとも1個のワークが全数測定機1
6により測定されるごとに、今回の補正値Uを決定する
ことが望ましい。
First Method of Intermittent Correction As described above, this fixed-point correction apparatus is used with a processing system that allows a workpiece to exist between the processing machine 10 and the total counting machine 16. Since it should be, it is not always the case that the workpiece machined under the sizing point affected by the previous correction value U is measured by the total number measuring machine 16 immediately after that, and the measurement of several different workpieces is performed. In some cases, it may be measured for the first time after passing. Therefore, when it is necessary to directly reflect the influence of the previous correction value U on the present correction value U, at least 1 processed under the sizing point affected by the previous correction value U is processed. One workpiece is a total measuring machine 1
It is desirable to determine the correction value U of this time each time it is measured by 6.

【0126】このような事情を背景として、第1の方式
は、図26にグラフで概念的に示すように、全数測定機
16による測定値Xを逐次蓄積し、蓄積された測定値X
の数が設定複数個以上となったときに、それら蓄積され
た最新の設定複数個の測定値Xに基づいて今回の補正値
i を決定し、その今回の補正値Ui の影響を受けた定
寸点の下で加工された少なくとも1個のワークうち最初
に全数測定機16により測定されることとなる先頭補正
対象ワークがその測定を終了する時期以後に(例えば、
その測定の終了直後に)、それの測定値Xの蓄積を無蓄
積状態から再開するものとされている。
Against this background, in the first method, as shown conceptually in the graph of FIG.
When the number of becomes set plurality or, to determine the current correction value U i based on their accumulated latest settings plurality of measurement X, affected by the current correction value U i After the time when the head correction target work to be measured first by the total number measuring machine 16 out of at least one work processed under the sizing point ends the measurement (for example,
Immediately after the end of the measurement), the accumulation of the measured value X is resumed from the non-accumulation state.

【0127】この方式は例えば、今回の補正値Ui を決
定して定寸装置14に送信してから、次回の補正値U
i+1 を決定して定寸装置14に送信するまでの中間期間
である補正間隔期間は、補正値Uを決定せず、定寸装置
14における定寸点が同じ値に維持されるような態様と
して実施することができる。そして、この場合には普
通、測定ワーク数iと寸法誤差との間に比例関係が成立
するとの前提の下に、今回の補正値Ui の大きさが、そ
の今回の補正値Ui の影響を受けた複数のワークの寸法
誤差が全体としてほぼ均一に0に近づくように決定され
る。
In this system, for example, after the correction value U i for this time is determined and transmitted to the sizing device 14, the correction value U for the next time is calculated.
In the correction interval period, which is an intermediate period until i + 1 is determined and transmitted to the sizing device 14, the correction value U is not determined, and the sizing point in the sizing device 14 is maintained at the same value. It can be implemented as an aspect. Then, in this case usually under the premise of a proportional relationship between the measured workpiece number i and dimensional error is established, the magnitude of the present correction value U i is the effect of the current correction value U i It is determined that the dimensional errors of the plurality of workpieces that have been subjected to the exposure approach zero as a whole.

【0128】しかし、この実施態様では次のような問題
が生ずる。すなわち、各回の補正の実行時期が、測定値
Xの実際の変動とは無関係に、測定値Xの蓄積数によっ
て一義的に決まってしまい、各回の補正が本当に必要な
時期に実行されないという問題が生ずるのである。
However, this embodiment has the following problems. That is, there is a problem that the execution timing of each correction is uniquely determined by the number of accumulated measurement values X regardless of the actual fluctuation of the measurement value X, and each correction is not executed at the time when it is really necessary. It will happen.

【0129】この問題を解決するためには、前述のよう
に、補正値Uの送信につき、定寸装置14との関係にお
いて不感帯を設定し、決定された補正値Uが不感帯内に
ある場合には、その補正値Uの定寸装置14への送信を
行わず、演算データメモリをクリアすることなく、新た
な測定値Xの取得を待って、補正値Uの決定をやり直せ
ばよい。このようにすれば、各回の補正が本当に必要な
時期にタイムリーに実行されることになる。
To solve this problem, as described above, when the correction value U is transmitted, the dead zone is set in relation to the sizing device 14, and when the determined correction value U is within the dead zone. Does not transmit the correction value U to the sizing device 14, does not clear the calculation data memory, waits for acquisition of a new measurement value X, and then decides the correction value U again. By doing so, each correction can be performed in a timely manner at the time when it is really necessary.

【0130】しかし、このようにしただけでは、その各
回の補正の終了後に測定値Xに予定外の変化が生じた場
合には、その変化に迅速に対応して定寸点を補正するこ
とはできない。各回の補正の終了後に測定値Xに予定外
の変化が発生した場合には、その予定外の変化は演算デ
ータメモリに蓄積されて次回の補正値Ui+1 に反映され
るのであって、このように次回の補正まで待たなければ
その予定外の変化に対応して定寸点を補正することがで
きないのである。そのため、各回の補正の終了後に測定
値Xに予定外の変化が生じた場合には、ワークの寸法誤
差が十分には0に近づかないという問題がある。
However, in this way, if an unexpected change occurs in the measurement value X after the end of each correction, it is not possible to quickly respond to the change and correct the sizing point. Can not. When an unplanned change occurs in the measured value X after the end of each correction, the unplanned change is accumulated in the calculation data memory and reflected in the next correction value U i + 1 . In this way, the sizing point cannot be corrected in response to the unexpected change without waiting until the next correction. Therefore, there is a problem that the dimensional error of the work does not approach 0 sufficiently when the measured value X changes unexpectedly after the completion of each correction.

【0131】この問題を解決するためには前記第1の方
式を次のような態様で実施すればよい。すなわち、図2
7にグラフで概念的に示すように、一回の間欠的補正
を、前記態様における間欠的補正(例えば、図26にお
いて「Ui 」を決定すること)である主補正に後続して
補助補正を行うものとすることにより、主補正の終了後
に測定値Xに発生する予定外の変化に、補助補正により
迅速に対応して定寸点を補正する態様で実施すればよい
のである。
In order to solve this problem, the first method may be implemented in the following manner. That is, FIG.
As shown conceptually in the graph in FIG. 7, one intermittent correction is followed by a main correction which is an intermittent correction in the above-described mode (for example, determining “U i ” in FIG. 26) and an auxiliary correction. By performing the above, the sizing point may be corrected in such a manner that an unplanned change in the measured value X after the main correction is completed is quickly corrected by the auxiliary correction.

【0132】ここに「主補正」とは、全数測定機16に
よる測定値Xを逐次蓄積し、蓄積された測定値Xの数が
設定複数個以上となったときに、それら蓄積された最新
の設定複数個の測定値Xに基づいて今回の暫定補正値U
P を決定し、それを最終補正値UF とするものである。
Here, the "main correction" means that the measured values X by the total number measuring device 16 are successively accumulated, and when the number of accumulated measured values X is equal to or more than a set number, the latest accumulated values are stored. This provisional correction value U based on a plurality of set measurement values X
P is determined and used as the final correction value U F.

【0133】また、「補助補正」とは、その主補正の終
了後にも測定値Xの蓄積を続行し、その主補正の終了後
から(例えば、その主補正の終了直後から)、その主補
正の影響を受けた定寸点の下で加工された少なくとも1
個のワークのうち最初に全数測定機16により測定され
ることとなる先頭補正対象ワークより1回だけ先に加工
されたワークについてその測定が終了する時期以前まで
(例えば、その測定の終了時期まで)、その全数測定機
16によりワークが測定されるごとに、蓄積された最新
の設定複数個の測定値Xに基づき、主補正におけると同
じ規則に従って各回の暫定補正値UP を決定し、その決
定した各回の暫定補正値UP から前回の暫定補正値UP
を引いたものを各回の最終補正値UF に決定するもので
ある。
The "auxiliary correction" means that the measurement value X is continuously accumulated even after the main correction is completed, and the main correction is performed after the main correction is completed (for example, immediately after the main correction is completed). At least 1 processed under sizing point affected by
Before the time when the measurement is finished (for example, until the time when the measurement is finished) for the workpiece that is processed only once before the head correction target work that is to be first measured by the total number measuring machine 16 among the individual works. ), each time the workpiece is measured by the total number measuring instrument 16, based on 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, the It determined each time the provisional correction value U preceding temporary correction value from the P U P
The value obtained by subtracting is determined as the final correction value U F for each time.

【0134】この補助補正においては、主補正における
と同じ規則に従って決定された補正値Uである暫定補正
値UP がそのまま定寸装置14に送信されず、前回の暫
定補正値UP からの差として供給されるようになってい
るが、以下、この理由を説明する。
[0134] The difference from the in assisting correction is not transmitted is as in the main correction is determined according to the same rule correction value U provisional correction value U P is directly to the sizing device 14, the previous provisional correction value U P However, the reason for this will be described below.

【0135】補助補正においては、本来であれば、それ
に先立って行われる主補正の影響を受けたワークの測定
値Xに基づき、主補正におけると同じ規則に従って補正
値Uが決定されるべきである。しかし、主補正の影響を
受けたワークが、加工直後に全数測定機16により測定
されるとは限らず、いくつか別のワークの測定を経た後
にはじめて測定される場合もある。そこで、本実施例に
おいては、主補正の影響が重複して、次に加工されるべ
きワークに対応する定寸点に反映されてしまわないよう
に、主補正に係る先頭補正対象ワークより1回だけ先に
加工されたワークについて測定が終了する時期以前ま
で、各回の測定値Xに基づいて主補正におけると同じ規
則に従って決定した補正値Uが暫定補正値UP とされ、
それから主補正の影響が除去されたものが最終補正値U
F とされている。以上、主補正と補助補正との関係につ
いて説明したが、補助補正におけるある回とその次の回
との関係についても同様である。
In the auxiliary correction, the correction value U should normally be determined according to the same rule as in the main correction, based on the measured value X of the work which has been affected by the main correction performed prior to the correction. . However, the work affected by the main correction is not always measured by the total number measuring machine 16 immediately after machining, and may be measured only after some other work is measured. Therefore, in the present embodiment, the influence of the main correction is duplicated and is not reflected once at the head correction target work related to the main correction so as not to be reflected in the sizing point corresponding to the work to be processed next. only the previously machined workpiece until such time prior to end measurement, correction values U determined according to the same rules as in the main correction based on each time of measurement X is a provisional correction value U P,
The final correction value U is obtained by removing the effect of the main correction.
It is said to be F. Although the relationship between the main correction and the auxiliary correction has been described above, the same applies to the relationship between one time and the next time in the auxiliary correction.

【0136】これら主補正と補助補正とを行う態様にお
いては、補助補正をそれの属するある回の間欠的補正の
終了時期まで、すなわち次回の主補正の開始直前まで必
ず実行することができる。しかし、この場合には、制御
装置20自身にやや大きな負担がかかるという問題が生
ずる。
In the mode in which the main correction and the auxiliary correction are performed, the auxiliary correction can be always executed until the end time of the intermittent correction to which the main correction belongs, that is, immediately before the start of the next main correction. However, in this case, there is a problem that the control device 20 itself is slightly burdened.

【0137】この問題を解決するためには、補助補正の
実行回数を制限すればよい。すなわち、一連の補助補正
における最終補正値UF の決定回数を測定し、その測定
した決定回数が設定値に達したときにその一連の補助補
正を終了すればよいのである。しかし、この対策では、
補助補正の終了時期が主補正の終了時期との関係におい
て固定されてしまい、補助補正の実行時期が、主補正の
終了後における測定値Xの予定外の変化に対応するのに
最適になるとは限らないという問題がある。
In order to solve this problem, it is sufficient to limit the number of executions of auxiliary correction. That is, the number of determinations of the final correction value U F in the series of auxiliary corrections is measured, and when the measured number of determinations reaches the set value, the series of auxiliary corrections is ended. 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 for responding to an unexpected change in the measured value X after the end of the main correction. There is a problem that it is not limited.

【0138】この問題を解決するためには、補助補正を
次のような態様で実施すればよい。すなわち、一連の補
助補正における最終補正値UF の決定回数が設定値に達
したときに、主補正およびその一連の補助補正のうち少
なくともその一連の補助補正において決定された複数の
最終補正値UF の和が実質的に0でない場合には、その
一連の補助補正を終了するが、実質的に0である場合に
は、少なくとも今回の補助補正の実行時期が適当ではな
かったと推定されるから、今回の補助補正を続行すると
ともに最終補正値UF の決定回数の測定を0から再開す
る態様で実施すればよいのである。
In order to solve this problem, auxiliary correction may be carried out in the following manner. That is, when the number of determinations of the final correction value U F in the series of auxiliary corrections reaches the set value, a plurality of final correction values U determined in at least the series of auxiliary corrections of the main correction and the series of auxiliary corrections. If the sum of F is not substantially 0, the series of auxiliary corrections is ended, but if it is substantially 0, it is estimated that at least the current execution time of the auxiliary correction was not appropriate. The auxiliary correction of this time may be continued and the measurement of the number of determinations of the final correction value U F may be restarted from 0.

【0139】そして、本実施例においては、補正値決定
の方式として、主補正のみで補助補正を行わない方式
と、主補正のみならず補助補正をも行う方式とのいずれ
かが作業者の指令に応じて選択されるようになってい
る。すなわち、補助補正指令が出されれば後者の方式が
選択され、出されなければ前者の方式が選択されるよう
になっているのである。
In the present embodiment, as a method of determining the correction value, either the main correction only without the auxiliary correction or the main correction as well as the auxiliary correction is instructed by the operator. It is selected according to. That is, if the auxiliary correction command is issued, the latter method is selected, and if it is not issued, the former method is selected.

【0140】また、本実施例においては、その補助補正
の方式として、補助補正の続行を行う方式と、行わない
方式とのいずれかが作業者の指令に応じて選択されるよ
うにもなっている。
Further, in the present embodiment, as a method of the auxiliary correction, either the method of continuing the auxiliary correction or the method of not performing the auxiliary correction can be selected according to the operator's instruction. There is.

【0141】さらにまた、本実施例においては、その補
助補正の続行方式として、続行されるべき補助補正の初
回においては暫定補正値UP をそのまま最終補正値UF
として補助補正を続行する方式(以下、「補助補正再開
方式」という)と、続行されるべき補助補正の初回から
暫定補正値UP の今回値の前回値からの差を最終補正値
F に決定して補助補正を続行する方式(以下、「補助
補正延長方式」という)とのいずれかが作業者の指令に
応じて選択されるようにもなっている。前者の方式を選
択するための指令を「補助補正再開指令」といい、後者
の方式を選択するための指令を「補助補正延長指令」と
いい、それら指令のいずれも出されていない場合には、
補助補正の続行許可指令が出されていないと判断される
ようになっている。
Furthermore, in the present embodiment, as a method for continuing the auxiliary correction, the provisional correction value U P is used as it is as the final correction value U F in the first auxiliary correction to be continued.
As a method to continue assisting correction (hereinafter, referred to as "auxiliary compensation resumption method") and, on the difference of the final correction value U F from the previous value of the current value of provisional correction value U P from initial to be continued auxiliary correction One of the method of determining and continuing the auxiliary correction (hereinafter, referred to as "auxiliary correction extension method") is also selected according to the operator's instruction. The command for selecting the former method is called the "auxiliary correction restart command", and the command for selecting the latter method is called the "auxiliary correction extension command". If neither of these commands is issued, ,
It is determined that the auxiliary correction continuation permission command has not been issued.

【0142】 間欠的補正の第2の方式 間欠的補正を上述の第1の方式で実施する場合には、加
工機10と全数測定機16との間に待機ワークが存在す
るときには、今回の補正値Uの決定直後から測定値Xの
蓄積を開始することができない。そのため、今回の補正
値Uの決定時期から次回の補正値Uの決定時期までにか
かる時間(以下、「補正間隔時間」という)は、図26
に示すように、その今回の補正値Uに係る先頭補正対象
ワークが全数測定機16に到達する測定おくれ時間(加
工機10と全数測定機16との間に存在する待機ワーク
の数に相当する)と、その後測定値Xの蓄積が開始され
て設定複数個の測定値Xが蓄積されるまでの必要蓄積数
時間との和となる。そのため、加工機10と全数測定機
16との間に多くの待機ワークが存在することを避け得
ないような場合には、補正間隔時間が長くなることを避
け得ない。
Second Method of Intermittent Correction When performing the intermittent correction by the above-mentioned first method, when the standby work exists between the processing machine 10 and the total number measuring machine 16, the current correction The accumulation of the measured value X cannot be started immediately after the determination of the value U. Therefore, the time (hereinafter, referred to as “correction interval time”) required from the determination time of the current correction value U to the determination time of the next correction value U is as shown in FIG.
As shown in, the measurement delay time in which the head correction target work related to the correction value U of this time reaches the total measuring machine 16 (corresponding to the number of standby works existing between the processing machine 10 and the total measuring machine 16) ), And thereafter, the accumulation of the measured values X is started, and the required number of accumulated times until a plurality of set measured values X are accumulated is the sum. Therefore, when it is unavoidable that many standby works exist between the processing machine 10 and the total number measuring machine 16, it is unavoidable that the correction interval time becomes long.

【0143】この第2の方式はこの問題を解決するため
に案出されたものであって、図28にグラフで概念的に
示すように、全数測定機16による測定値Xを逐次蓄積
し、蓄積された測定値Xの数が設定複数個以上となった
ときに、それら蓄積された最新の設定複数個の測定値X
に基づいて今回の補正値Uを決定し、その今回の補正値
Uの決定時期以後に(例えば、今回の補正値Uの決定時
期直後に)、測定値Xの蓄積を無蓄積状態から再開し、
その再開時期から、その今回の補正値Uに係る先頭補正
対象ワークより1回だけ先に加工されたワークについて
その測定が終了する時期近傍(その時期ちょうど、少し
前、または少し後)までの中間期間は、その全数測定機
16によりワークが測定されるごとに、各回の実際の測
定値Xと今回の補正値Uとに基づき、それら各ワークが
その今回の補正値Uの影響を受けた定寸点の下で加工さ
れたと仮定した場合にそれら各ワークについて測定され
る値を予測し、その予測した測定値Xを実際の測定値X
とみなして蓄積するものである。
This second method was devised to solve this problem, and as shown conceptually in the graph of FIG. 28, the measured values X by the total number measuring machine 16 are successively accumulated, When the number of accumulated measured values X exceeds the set number, the latest accumulated plural measured values X are set.
The correction value U of this time is determined based on the above, and the accumulation of the measurement value X is restarted from the non-accumulation state after the determination time of the correction value U of this time (for example, immediately after the determination time of the correction value U of this time). ,
Intermediate from the restarting time to near the time when the measurement ends for the work processed only once before the top correction target work related to the current correction value U (just before, slightly before, or slightly after that) The period is determined based on the actual measurement value X of each time and the correction value U of this time every time the work is measured by the 100% measuring machine, and each work is influenced by the correction value U of this time. Predicting the values measured for each of these workpieces, assuming that they have been machined under a certain point, and using the predicted measurement values X as the actual measurement values X
It is regarded as and accumulates.

【0144】そして、本実施例においては、その予測の
一例として、上記中間期間における実際の測定値Xにそ
の今回の補正値Uを加算することにより、実際の測定値
Xを今回の補正値Uだけシフトするデータシフト処理が
採用されている。
In the present embodiment, as an example of the prediction, the actual measured value X is added to the actual measured value X in the intermediate period to obtain the actual measured value X. A data shift process that shifts only the data is used.

【0145】この第2の方式もまた、前記第1の方式の
場合と同様に、一回の間欠的補正が主補正と回数制限付
きかつ続行可能な補助補正とを含み(これを図29にグ
ラフで概念的に示す)、かつ、補正値Uの不感帯なる概
念が採用され、かつ、補助補正の続行方式の選択が可能
な態様として実施されている。そして、本実施例におい
ては、作業者の指令に応じて第1の方式と第2の方式と
の択一も可能とされている。具体的には、作業者がデー
タシフト処理を許可するか否かを指令し、許可した場合
にはデータシフト処理が、許可しない場合に第1の方式
が選択されるようになっている。
Also in the second method, as in the case of the first method, one intermittent correction includes a main correction and an auxiliary correction which can be continued with a limited number of times (this is shown in FIG. 29). (It is conceptually shown in the graph), and the concept of the dead zone of the correction value U is adopted, and it is implemented as a mode in which the continuation method of the auxiliary correction can be selected. Further, in the present embodiment, it is also possible to select between the first method and the second method in accordance with the operator's instruction. Specifically, the operator gives an instruction as to whether or not to permit the data shift process, and if the data shift process is permitted, the data shift process is selected, and if not, the first method is selected.

【0146】なお付言すれば、この第2の方式は、測定
値予測技術、すなわち、前回の補正値Uの影響を受けた
定寸点の下で加工された少なくとも1個のワークのうち
今回の補正値Uが決定された後に全数測定機16により
測定されるものの各々につき、それの各回の実際の測定
値Xと今回の補正値Uとに基づき、それら各ワークが今
回の補正値Uの影響を受けた定寸点の下で加工されたと
仮定した場合にそれら各ワークについて測定されるべき
値を予測するという技術を、間欠的補正に応用すること
によって取得されたものであるが、この測定値予測技術
は、前記連続的補正に応用することもできる。
It should be noted that the second method is the measurement value prediction technique, that is, the present method out of at least one workpiece machined under the sizing point affected by the previous correction value U. After the correction value U is determined, for each of the ones measured by the total number measuring machine 16, each work is affected by the correction value U of this time based on the actual measurement value X of each time and the correction value U of this time. It was acquired by applying the technique of predicting the value to be measured for each of these workpieces, assuming that they were machined under the sizing point that was subjected to The value prediction technique can also be applied to the continuous correction.

【0147】加工機10と全数測定機16との間に待機
ワークが存在する場合には、連続的補正を実行する際に
おいても、前回の補正値Uの影響を受けたワークを直ち
に全数測定機16により測定することができないという
事情は同じである。そのため、この場合には、実験結
果,シミュレーション結果等に基づく統計的手法によ
り、今回の補正値Uを決定することになる。そして、そ
の統計的手法に代えて、またはその統計的手法と共にこ
の測定値予測技術を利用することができるのである。
When a standby work exists between the processing machine 10 and the total measuring machine 16, even when performing continuous correction, the work affected by the previous correction value U is immediately measured by the total measuring machine. The situation is the same that 16 cannot measure. Therefore, in this case, the correction value U of this time is determined by a statistical method based on the experimental result, the simulation result, and the like. Then, this measurement value prediction technique can be used instead of or together with the statistical method.

【0148】次に制御装置20による自動補正と定寸装
置14による手動補正との関係について説明する。
Next, the relationship between the automatic correction by the control device 20 and the manual correction by the sizing device 14 will be described.

【0149】制御装置20は、定寸装置14による手動
補正が行われた場合には、手動補正を自動補正より優先
させるとともに、手動補正の直後であっても自動補正の
精度が確保されるように設計されている。具体的には、
制御装置20は、定寸装置14において手動補正が行わ
れたか否かを逐次監視し、行われない場合には自動補正
を行うが、行われた場合には自動補正を中断し、その手
動補正の影響を受けた定寸点の下で加工された先頭補正
対象ワークが全数測定機16により測定される時期以後
に(例えば、その先頭補正対象ワークが測定された直後
に)、測定値Xの演算データメモリへの蓄積を無蓄積状
態から再開して自動補正を再開するようにも設計されて
いる。制御装置20は、自動補正値を決定するために過
去の測定値Xをも使用するように設計されており、しか
も、この制御装置20が使用される加工システムにおい
ては加工機10と全数測定機16との間に待機ワークが
存在することが許容されることから、手動補正の影響を
受けていないワークの測定値Xをその影響を受けたワー
クの測定値Xと区別することなく蓄積し、その蓄積され
た測定値Xに基づいて自動補正値を決定することとした
場合には、手動補正の影響を受けていないワークの測定
値Xにより自動補正値の精度が低下するおそれがあるか
らである。
When the sizing device 14 performs the manual correction, the control device 20 prioritizes the manual correction over the automatic correction and ensures the accuracy of the automatic correction even immediately after the manual correction. Is designed to. In particular,
The control device 20 sequentially monitors whether or not the manual correction is performed in the sizing device 14, and if the manual correction is not performed, the automatic correction is performed. If the manual correction is performed, the automatic correction is interrupted and the manual correction is performed. Of the measured value X after the time when the head correction target work processed under the sizing point affected by is measured by the total number measuring machine 16 (for example, immediately after the head correction target work is measured). It is also designed to restart the automatic correction by restarting the storage in the calculation data memory from the non-storage state. The controller 20 is designed to also use the past measured value X to determine the automatic correction value. Moreover, in the processing system in which the controller 20 is used, the processing machine 10 and the total measuring machine are used. Since the existence of a standby work between 16 and 16 is allowed, the measurement value X of the work not affected by the manual correction is accumulated without distinguishing it from the measurement value X of the affected work, If the automatic correction value is determined based on the accumulated measurement value X, the accuracy of the automatic correction value may decrease due to the measurement value X of the work that is not affected by the manual correction. is there.

【0150】また、本実施例においては、定寸装置14
における手動補正の有無の監視が、制御装置20の起動
当初と、制御装置20が各回の自動補正値を送信しよう
とするごとにそれに先立って行われるようになってい
る。制御装置20の起動当初にも定寸装置14における
手動補正の有無を監視するのは、制御装置20の停止中
に定寸装置14において手動補正が行われることがある
からである。
Further, in this embodiment, the sizing device 14
The monitoring of the presence or absence of the manual correction is performed at the start of the control device 20 and prior to each time the control device 20 tries to transmit the automatic correction value each time. The presence or absence of manual correction in the sizing device 14 is monitored even when the control device 20 is started, because the sizing device 14 may be manually corrected while the control device 20 is stopped.

【0151】以上、制御装置20による定寸点補正の内
容を概略的に説明したが、以下、定寸点補正ルーチンを
表す図5〜10のフローチャートに基づき、具体的に説
明する。
The outline of the sizing point correction by the control device 20 has been described above. The details will be described below with reference to the flowcharts of FIGS.

【0152】まず、図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).
At, the numerical values and commands are input as parameters from the auxiliary storage device 22. Here, the “numerical value” means the above-mentioned initial 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 are meant, and the "command" means the above-mentioned special moving average value calculation command and the like.

【0153】続いて、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 the sizing point to the control device 20 (hereinafter referred to as "manual correction value transmission function"). Is determined. Here, the case of having a manual correction value transmission function means that the sizing device 14 sets the manual correction value input to the sizing device 14 by the operator through the keyboard 50 and the sizing point reflecting the manual correction value. Not only it is stored in the RAM, but it is designed to be transmitted to the control device 20 spontaneously. On the other hand, the case without the manual correction value transmission function means that the sizing device 14 has been input. This is a case in which the manual correction value and the sizing point reflecting the manual correction value are only stored in the RAM of the device itself and are not designed to be transmitted to the control device 20 spontaneously.

【0154】定寸装置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 YE.
S (represented by “Y” in the figure. The same applies to other steps). Therefore, the process proceeds to S3, in which the control device 20 enters a reception permission state that permits reception of a signal representing the latest sizing point from the sizing device 14, and the latest sizing point is received. The latest received sizing point is stored in the RAM of the control device 20 and also stored in the auxiliary storage device 22.

【0155】その後、S4において、定寸装置14のR
AMのフラグの状態から手動補正があったか否かが判定
される。手動補正がなかったと仮定すれば、判定がNO
となり、直ちにS8に移行するが、あったと仮定すれ
ば、判定がYESとなり、S5において、制御装置20
が、定寸装置14からの最新の手動補正値を表す信号の
受信を許可する受信許可状態となり、その最新の手動補
正値が受信される。受信された最新の手動補正値は、制
御装置20のRAMに記憶され、さらに補助記憶装置2
2に保存される。その後、S6において、演算データメ
モリがクリアされる。手動補正と共に演算データメモリ
に蓄積されているデータがすべて消去されるのである。
その後、S8に移行する。
Then, in S4, R of the sizing device 14
From the state of the AM flag, it is determined whether or not there is manual correction. Assuming that there was no manual correction, the determination is NO.
Then, the process immediately proceeds to S8, but if it is assumed that the determination is YES, then in S5, the control device 20
However, the reception permitting state for permitting the reception of the signal indicating the latest manual correction value from the sizing device 14 is received, and the latest manual correction value is received. The latest received manual correction value is stored in the RAM of the control device 20, and is further stored in the auxiliary storage device 2
Stored in 2. Then, in S6, the operation data memory is cleared. With the manual correction, all the data accumulated in the calculation data memory is erased.
Then, it transfers to S8.

【0156】以上、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, assuming that the sizing device 14 does not have the manual correction value transmitting function, the determination is NO (represented by "N" in the figure). The same applies to other steps).
Then, in S7, the control device 20 causes the sizing device 14 to
Then, the latest sizing point is read from the RAM and stored in the RAM of the control device 20, and the latest sizing point is stored in the auxiliary storage device 22.

【0157】ここで、制御装置20が定寸装置14にお
ける最新の手動補正値と定寸点とをそれぞれ監視する目
的について説明する。
Now, the purpose of the control device 20 to monitor the latest manual correction value and the sizing point in the sizing device 14 will be described.

【0158】まず、制御装置20が最新の定寸点を監視
する目的について説明する。制御装置20は、定寸装置
14の定寸点の補正値(現在の定寸点を変動させる量)
を自動的に決定し、その決定した補正値に従って定寸装
置14は自身の定寸点を補正することになる。しかし、
定寸点が取り得る範囲には制限があり、それを超える定
寸点が決定された場合には、定寸装置14の作動が停止
させられる。そこで、本実施例においては、定寸装置1
4の最新の定寸点を逐次監視し、自動的に決定した補正
値でその定寸点が補正されるとそれの許容範囲を超えて
しまう場合には、その自動補正値の定寸装置14への送
信が禁止されるようになっている。このように、定寸装
置14の事情を考慮しない一方的な自動補正によって定
寸装置14の定寸点が許容範囲を超えることを防止する
ために、制御装置20は定寸装置14における最新の定
寸点を監視するのである。なお、定寸装置14において
定寸点が許容範囲を超えることとなる場合に自動補正値
の送信を禁止する処理は、図示しない別のルーチンの実
行によって実現される。
First, the purpose of the control device 20 to monitor the latest sizing point will be described. The controller 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 that the sizing point can take, and when the sizing point beyond that is determined, the operation of the sizing device 14 is stopped. Therefore, in the present embodiment, the sizing device 1
The latest sizing point 4 is sequentially monitored, and if the sizing point is corrected by the automatically determined correction value and the allowable range is exceeded, the sizing device 14 for the automatic correction value is used. Sending to is prohibited. As described above, in order to prevent the sizing point of the sizing device 14 from exceeding the allowable range by one-sided automatic correction that does not consider the circumstances of the sizing device 14, the control device 20 controls the latest sizing device 14. The sizing point is monitored. 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).

【0159】次に、制御装置20が最新の手動補正値を
監視する目的について説明する。制御装置20は、前述
のように、作業者により前記データシフト処理の使用を
許可するデータシフト処理指令が出された場合には、全
数測定機16による最新の測定値Xに基づき、加工機1
0により加工されたが未だ全数測定機16により測定さ
れてはいない各ワークが最新の定寸点の下で加工された
と仮定した場合にそれら各ワークについて測定される値
を予測する。この際、最新の定寸点が制御装置20によ
り自動補正されている場合には、全数測定機16による
最新の測定値Xに最新の自動補正値を加算することによ
って上記予測が行われ、これに対して、定寸装置14自
身により手動補正されている場合には、最新の測定値X
に最新の手動補正値を加算することによって上記予測が
行われる。このように、制御装置20が定寸装置14に
おける手動補正値の影響を考慮して測定値Xの予測を行
うために、定寸装置14における最新の手動補正値を監
視する必要があるのである。
Next, the purpose of the controller 20 to monitor the latest manual correction value will be described. As described above, when the operator issues a data shift processing command that permits the use of the data shift processing, the control device 20 determines the processing machine 1 based on the latest measured value X by the total counting machine 16.
Predicting the values measured for each workpiece, assuming that each workpiece that has been machined by 0 but not yet measured by the probing machine 16 has been machined under the latest sizing point. At this time, when the latest sizing point is 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 machine 16, On the other hand, if the sizing device 14 itself has manually corrected it, the latest measured value X
The above prediction is performed by adding the latest manual correction value to. As described above, 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. .

【0160】定寸装置14が手動補正値送信機能を有し
ている場合も有していない場合もその後、S8におい
て、全数測定機16により測定された測定値Xであって
未だ全数測定機16から制御装置20に送信されていな
いものの有無が判定される。今回は、そのような測定値
Xはないと仮定すれば、判定がNOとなり、S9に移行
する。
Whether the sizing device 14 has or does not have the manual correction value transmission function, the measured value X measured by the total number measuring device 16 in step S8 is not the total number measuring device 16 yet. It is determined whether there is any information that has not been transmitted from the control device 20 to the control device 20. This time, assuming that there is no such measured value X, the determination becomes NO, and the process proceeds to S9.

【0161】このS9においては、前記S2と同様にし
て、定寸装置14が手動補正値送信機能を有しているか
否かが判定される。定寸装置14は手動補正値送信機能
を有しているから、判定がYESとなり、S10におい
て、前記S4と同様にして、定寸装置14において手動
補正があったか否かが判定される。
At S9, similarly to S2, it is determined whether the sizing device 14 has a manual correction value transmitting function. Since the sizing device 14 has a manual correction value transmission function, the determination is YES, and in S10, it is determined whether or not there is a manual correction in the sizing device 14 as in S4.

【0162】今回は手動補正がなかったと仮定すれば、
判定がNOとなり、S11において、制御装置20に接
続されているキーボード(図示しない)が作業者により
操作されたか否か、すなわち、作業者によるキー入力の
有無が判定される。無ければ判定がNOとなって直ちに
S8に戻るが、有れば判定がYESとなり、S12にお
いて、そのキーボードからデータが入力され、S13に
おいて、そのデータに応じて前記パラメータが変更さ
れ、さらに、その変更されたパラメータが補助記憶装置
22に保存され、その後、S14において、演算データ
メモリがクリアされ、その後、S8に戻る。
Assuming that there was no manual correction this time,
The determination becomes NO, and in S11, it is determined whether or not the keyboard (not shown) connected to the control device 20 has been operated by the operator, that is, the presence or absence of key input by the operator. If not, the determination is NO and the process immediately returns to S8. If there is, the determination is YES, data is input from the keyboard in S12, and the parameter is changed according to the data in S13. The changed parameters are stored in the auxiliary storage device 22, after that, in S14, the calculation data memory is cleared, and then the process returns to S8.

【0163】これに対して、今回は手動補正があったと
仮定すれば、S10の判定がYESとなり、S15にお
いて、前記S5と同様にして定寸装置14から最新の手
動補正値が受信されて記憶され、続いて、S16におい
て、後述のワーク待ちフラグがONされ、S17におい
て、演算データメモリがクリアされる。その後、S8に
戻る。
On the other hand, assuming that there is manual correction this time, the determination in S10 is YES, and in S15, the latest manual correction value is received and stored from the sizing device 14 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.

【0164】これに対して、定寸装置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.
When it becomes O, the latest sizing point is read from the sizing device 14 in S18 and is stored in the RAM and is stored in the auxiliary storage device 22. Then, in S19, the last sizing point is read from the auxiliary storage device 22. The size is entered. Then, in S20, it is determined whether or not the current sizing point has been changed from the previous sizing point. In other words, whether or not the manual correction is performed in the sizing device that does not have the manual correction value transmission function is determined from the change state of the sizing point. Assuming there is no change in the sizing point this time,
The determination is NO, and the process immediately proceeds to S11. However, assuming that the sizing point has been changed, the determination of S20 is YES, and the work waiting flag is turned on in S21.
In S22, the operation data memory is cleared, and then the process proceeds to S11.

【0165】以上、全数測定機16において送信すべき
測定値Xがない場合について説明したが、あった場合に
は、S8の判定がYESとなり、S23において、その
測定値Xが全数測定機16から入力される。測定値X
は、7個のジャーナル面すべてについて個々に入力され
る。その測定値Xは演算データメモリに蓄積されるとと
もに補助記憶装置22に保存され、その後、図4のS2
4に移行する。
The case has been explained above where there is no measurement value X to be transmitted by the total number measuring instrument 16, but if there is, the determination at S8 becomes YES, and at S23, the measurement value X is determined from the total number measuring instrument 16. Is entered. Measured value X
Are individually entered for all seven journal surfaces. The measured value X is accumulated in the operation data memory and is also stored in the auxiliary storage device 22, and thereafter, S2 of FIG.
Go to 4.

【0166】このS24においては、前記パラメータの
値に基づき、作業者によりデータシフト処理指令が出さ
れているか否かが判定される。以下、まず、データシフ
ト処理指令が出されていない場合について説明する。
At S24, it is determined whether or not the operator has issued a data shift processing command based on the values of the parameters. Hereinafter, first, a case where the data shift processing command is not issued will be described.

【0167】この場合、S24の判定がNOとなり、S
25において、ワーク待ちフラグがONであるか否かが
判定される。
In this case, the determination in S24 is NO and S24
At 25, it is determined whether or not the work waiting flag is ON.

【0168】このワーク待ちフラグは、定寸装置14に
おける定寸点であって最新の手動補正値または自動補正
値の影響を受けたものの下で加工された少なくとも1個
のワークのうち先頭のものである先頭補正対象ワークが
全数測定機16により測定されたか、それともその測定
を待っているのかを監視するためのものである。このワ
ーク待ちフラグは、OFFでその先頭補正対象ワークが
測定を終了したこと、すなわちワーク待ち状態にないこ
とを示し、一方、ONで先頭補正対象ワークが測定を終
了しないこと、すなわちワーク待ち状態にあることを示
す。このワーク待ちフラグはRAMに設けられており、
コンピュータの電源の投入に伴ってONされ、図示しな
い別のプログラムの実行により、その先頭補正対象ワー
クが全数測定機16による測定を終了するごとに、OF
Fされる。また、本ルーチンの実行により、手動補正が
行われるごとに、および各回の間欠的補正が終了するご
とに、ONされる。今回はワーク待ちフラグがONでは
ないと仮定すれば、S25の判定がNOとなり、S26
に移行する。
This work wait flag is the sizing point in the sizing device 14 and is the first one of at least one work machined under the influence of the latest manual correction value or automatic correction value. Is for monitoring whether the top correction target work is measured by the total number measuring machine 16 or is waiting for the measurement. When the work waiting flag is OFF, it indicates that the head correction target work has finished the measurement, that is, it is not in the work waiting state. On the other hand, when it is ON, the head correction target work has not finished the measurement, that is, 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 by the execution of another program (not shown), the OF correction is performed each time the workpiece to be head-corrected is finished by the total number measuring machine 16.
F will be done. Further, by executing this routine, it 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 S26
Move to.

【0169】このS26においては、演算データメモリ
から過去の測定値Xが入力される。その後、S27にお
いて、今回の移動平均値Pの算出の可否が判定される。
演算データメモリに蓄積されている測定値Xの数がK個
以上であるか否かが判定されるのである。今回は、蓄積
されている測定値Xの数がK個以上ではないと仮定すれ
ば、判定がNOとなり、S28において、特別移動平均
値算出指令の有無が判定される。無ければ判定がNOと
なり、直ちにS8に戻る。したがって、本ルーチンの今
回の実行においては、結局、自動補正値が0とされるこ
とになる。
In S26, the past measured value X is input from the arithmetic data memory. Then, in S27, it is determined whether or not the current moving average value P can be calculated.
It is determined whether or not the number of measured values X stored in the arithmetic data memory is K or more. This time, assuming that the number of accumulated measurement values X is not K or more, the determination is NO, and in S28, it is determined whether or not there is a special moving average value calculation command. If not, the determination is NO, and the process immediately returns to S8. Therefore, in this execution of this routine, the automatic correction value is eventually set to zero.

【0170】これに対して、特別移動平均値算出指令が
有れば、S28の判定がYESとなり、S29におい
て、可変型移動平均値算出指令の有無が判定される。無
ければ判定がNOとなり、S30に移行する。なお、可
変型移動平均値算出指令と置換型移動平均値算出指令と
は択一される指令であるから、可変型移動平均値算出指
令が無ければ必ず置換型移動平均値算出指令が有ること
になる。
On the other hand, if there is a special moving average value calculation command, the determination in S28 is YES, and in S29, the presence or absence of the variable moving average value calculation command is determined. If not, the determination is no and the process moves to S30. Since the variable type moving average value calculation command and the replacement type moving average value calculation command are alternative commands, if there is no variable type moving average value calculation command, there is always a replacement type moving average value calculation command. Become.

【0171】このS30においては、置換型移動平均値
算出の可否が判定される。具体的には、演算データメモ
リに蓄積されている測定値Xの数がK(原則通り移動平
均値Pを算出するのに必要な測定値Xの数)−Z(置換
制限数)より小さいか否かが判定され、そうであれば、
置換型移動平均値算出が不可能である(正確には、禁止
されている)と判定され、そうでなければ可能である
(正確には、許可されている)と判定される。不可能で
あればS8に戻るが、本ルーチンの実行(S8以下のス
テップの実行)が何回も繰り返されるうちに可能となれ
ば、判定がYESとなり、S31において、今回の測定
値Xがそのまま今回の移動平均値Pとされ、S32にお
いて、それが演算データメモリに蓄積されるとともに、
補助記憶装置22に保存される。その後、S37に移行
する。
In S30, it is determined whether the replacement type moving average value can be calculated. Specifically, whether the number of measurement values X stored in the operation data memory is smaller than K (the number of measurement values X required to calculate the moving average value P in principle) -Z (replacement limit number). If not, and if so,
It is determined that the substitution type moving average value calculation is impossible (correctly, prohibited), and it is determined otherwise (correctly, permitted). If it is not possible, the process returns to S8, but if it is possible while the execution of this routine (execution of the steps after S8) is repeated many times, the determination becomes YES, and the measured value X of this time is kept as it is in S31. The moving average value P of this time is set, and it is stored in the operation data memory in S32, and
It is stored in the auxiliary storage device 22. Then, it transfers to S37.

【0172】これに対して、可変型移動平均値算出指令
が有れば、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 becomes YES, and in S33, the moving average value P is calculated by the variable moving average value calculation method.
Is calculated and stored in the auxiliary storage device 22 while being stored in the calculation data memory in S34. Then, it transfers to S37.

【0173】その後、本ルーチンの実行が何回も繰り返
されるうちに、演算データメモリに蓄積されている測定
値Xの数がK個以上となったと仮定すれば、S27の判
定がYESとなり、S35において、移動平均値Pが原
則通り算出される。
After that, assuming that the number of measured values X accumulated in the arithmetic data memory becomes K or more during the execution of this routine many times, the determination in S27 becomes YES and S35. In, the moving average value P is calculated in principle.

【0174】ここで、このS35の詳細を図30のフロ
ーチャートに基づいて説明する。
Details of S35 will be described below with reference to the flowchart of FIG.

【0175】まず、S201において、RAMから各重
み係数bの値が読み込まれ、次に、S202において、
その読み込んだ各重み係数bの値の下に、演算データメ
モリに蓄積されている複数の測定値Xに基づき、前述の
重み付き移動平均値算出式を用いることにより、移動平
均値Pが算出される。
First, in S201, the value of each weighting coefficient b is read from the RAM, and then in S202,
The moving average value P is calculated by using the above-mentioned weighted moving average value calculation formula based on the plurality of measured values X accumulated in the calculation data memory under the read value of each weighting coefficient b. It

【0176】その後、S203において、蓄積されてい
る複数の測定値X(上記移動平均値Pの算出に用いたも
の)の各々と上記算出された移動平均値Pとの差(絶対
値)の和が、測定値Xの振動レベルに決定される。この
ステップにおいてはさらに、上記各重み係数bの値と移
動平均値Pと振動レベルとが互いに関連付けてRAMに
記憶される。その後、S204において、その決定され
た振動レベルが許容値Aより大きいか否かが判定され
る。今回は大きくないと仮定すれば、判定がNOとな
り、S205において、上記S202の今回の実行によ
り算出された移動平均値Pが今回の移動平均値Pに決定
され、その後、S206において、上記各重み係数bの
値が各重み係数bの今回値として次回の移動平均値Pの
算出に備えてRAMに記憶される。以上でこのS35の
一回の実行が終了する。
Then, in step S203, the sum (absolute value) of the difference between each of the plurality of accumulated measurement values X (used for calculating the moving average value P) and the calculated moving average value P is calculated. Is determined by the vibration level of the measured value X. In this step, the value of each weighting coefficient b, the moving average value P, and the vibration level are further stored in the RAM in association with each other. Then, in S204, it is determined whether or not the determined vibration level is higher than the allowable value A. Assuming that this time is not large, the determination is NO, and in S205, the moving average value P calculated by the current execution of S202 is determined as the current moving average value P, and thereafter, in S206, each of the weights described above is determined. The value of the coefficient b is stored in the RAM as the current value of each weighting coefficient b in preparation for the next calculation of the moving average value P. This is the end of the one-time execution of S35.

【0177】これに対して、S203において決定され
た振動レベルが許容値Aより大きいと仮定すれば、S2
04の判定がYESとなり、S207において、各重み
係数bの値が一定の規則に従って変更される。その後、
S208において、その変更が各重み係数bの最高レベ
ルと最低レベルとの間全域にわたって行われたか否か、
すなわち、変更が終了したか否かが判定される。今回
は、終了していないと仮定すれば、判定がNOとなり、
S202に戻る。
On the other hand, assuming that the vibration level determined in S203 is larger than the allowable value A, S2
The determination of 04 is YES, and in S207, the value of each weighting coefficient b is changed according to a certain rule. afterwards,
In S208, whether or not the change is made over the entire range between the highest level and the lowest level of each weighting factor b,
That is, it is determined whether the change is completed. This time, assuming that it has not finished, the determination is NO,
It returns to S202.

【0178】その後、このS202以下のステップにお
いて、前回とは異なる各重み係数bの値の下に、前回と
同じ複数の測定値Xに基づき、移動平均値Pが算出され
るとともに、今回の振動レベルも算出される。S202
〜208の実行は、振動レベルが許容値A以下となる重
み係数bの値が取得され、S204の判定がNOとなる
ことによって終了する場合と、振動レベルが許容値A以
下となることなく変更が終了し、S208の判定がYE
Sとなることによって終了する場合とがある。前者の場
合には、前記の場合と同様に、S205以下のステップ
が実行される。
After that, in the steps after S202, the moving average value P is calculated based on the plurality of measurement values X same as the previous time under the value of each weighting coefficient b different from the previous time, and the vibration of this time is calculated. The level is also calculated. S202
The execution of steps 208 to 208 ends when the value of the weighting coefficient b at which the vibration level is equal to or lower than the allowable value A is acquired and the determination in S204 is NO, and when the vibration level does not become equal to or lower than the allowable value A. Ends, the determination in S208 is YE
There are cases where the process ends when S is reached. In the former case, the steps from S205 onward are executed as in the case described above.

【0179】一方、後者の場合、すなわち、S208が
YESとなることによってS202〜208の実行が終
了する場合には、S209において、RAMに記憶され
ている複数の振動レベル(S202〜208の複数回の
実行により取得されたもの)のうち最小のものが検索さ
れ、その最小の振動レベルに対応する移動平均値PがR
AMから読み込まれ、それが今回の移動平均値Pに決定
される。その後、S206において、その移動平均値P
に対応する各重み係数bの値がRAMから読み込まれ、
各重み係数bの今回値として次回の移動平均値Pの算出
に備えてRAMに記憶される。
On the other hand, in the latter case, that is, when the execution of S202 to S208 is completed by the determination of S208 being YES, in S209, a plurality of vibration levels stored in the RAM (several times of S202 to 208 are stored a plurality of times). (The one obtained by executing the above) is searched, and the moving average value P corresponding to the minimum vibration level is R
It is read from AM, and it is determined as the moving average value P of this time. Then, in S206, the moving average value P
The value of each weighting coefficient b corresponding to is read from RAM,
The present value of each weighting coefficient b is stored in the RAM in preparation for the next calculation of the moving average value P.

【0180】以上のようにしてS35が実行されたなら
ば、図6のS36において、決定された今回の移動平均
値Pが演算データメモリに蓄積されるとともに、補助記
憶装置22に保存される。その後、S37に移行する。
When S35 is executed as described above, the moving average value P of this time determined in S36 of FIG. 6 is accumulated in the arithmetic data memory and also saved in the auxiliary storage device 22. Then, it transfers to S37.

【0181】このS37においては、両端直径補正指令
の有無が判定され、無ければ判定がNOとなり、直ちに
図7のS39に移行するが、有れば判定がYESとな
り、S38において、前記2個の端円筒面の移動平均値
Pについて前記両端直径補正が行われ、その結果に応じ
て、演算データメモリの内容が変更される。その後、図
7のS39に移行する。
In S37, the presence or absence of the both-ends diameter correction command is determined. If not, the determination is NO, and the process immediately proceeds to S39 in FIG. 7, but if there is, the determination is YES, and in S38, the two The both-end diameter correction is performed on the moving average value P of the end cylindrical surface, and the content of the calculation data memory is changed according to the result. Then, it transfers to S39 of FIG.

【0182】このS39においては、今回の移動平均値
Pから、ワークの寸法の目標値A0を引いた値が今回の
誤差値Rとされ、続いて、S40において、それが演算
データメモリに蓄積されるとともに、補助記憶装置22
に保存される。
In this S39, the value obtained by subtracting the target value A 0 of the work size from the current moving average value P is set as the current error value R, and subsequently in S40, it is stored in the calculation data memory. Auxiliary storage device 22
Stored in.

【0183】その後、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 or not the differential value T can be calculated. It is determined whether or not the number of moving average values P stored in the arithmetic data memory is L or more. This time, assuming that the number of moving average values P is insufficient, the determination becomes NO, and the process proceeds to S42.
In S42, the presence / absence of the variable differential value calculation command is determined. If not, the determination is NO, the process immediately returns to S8, and the current execution of this routine ends, but if there is, the determination is YES and S43. At, it is determined whether or not the moving average value P stored in the arithmetic data memory is two or more, that is, whether or not the variable-type differential value calculation is possible. If not, the determination is NO. And immediately returns to S8, but if possible, the determination is YES, and S
In 44, the differential value T of this time is calculated by the variable differential value calculating method, and in S45, the differential value T is accumulated in the arithmetic data memory and is saved in the auxiliary storage device 22. Then, the process proceeds to S48.

【0184】その後、本ルーチンの実行が何回も繰り返
されるうちに、演算データメモリに蓄積されている移動
平均値Pの数がL個以上となったと仮定すれば、S41
の判定がYESとなり、S46において、微分値Tが原
則通り算出され、S47において、それが演算データメ
モリに蓄積されるとともに、補助記憶装置22に保存さ
れる。その後、S48に移行する。
After that, assuming that the number of moving average values P accumulated in the arithmetic data memory becomes L or more during the execution of this routine many times, S41
Is YES, the differential value T is calculated in principle in S46, and the differential value T is accumulated in the operation data memory and saved in the auxiliary storage device 22 in S47. Then, the process proceeds to S48.

【0185】この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 S48, the presence / absence of the twice-differential-value use command is determined, and if there is, the determination is YES and S4
In 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 accumulated in the arithmetic data memory is Q or more. This time, assuming that the number of accumulated differential values T is not equal to or more than Q, the determination becomes 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 accumulated in the arithmetic data memory becomes Q or more during the execution of this routine many times, S4
The determination result in 9 is YES, the differential value D is calculated twice as described above in S50, and is stored in the auxiliary storage device 22 while being accumulated in the arithmetic data memory in S51. Then, it transfers to S55.

【0186】これに対して、2回微分値使用指令が無け
れば、S48の判定がNOとなり、S52において、む
だ時間考慮型補正指令の有無が判定される。無ければ判
定がNOとなり、直ちにS55に移行するが、有れば判
定がYESとなり、S53において、ワーク数カウンタ
18からむだ時間MSが入力され、S54において、そ
れが演算データメモリに蓄積されるとともに、補助記憶
装置22に保存される。その後、S55に移行する。
On the other hand, if there is no second differential value use command, the determination in S48 is NO, and in S52 it is determined whether there is a dead time consideration type correction command. If NO, the determination is NO and the process immediately proceeds to S55, but if YES, the determination is YES, and the dead time MS is input from the work number counter 18 in S53 and is stored in the arithmetic data memory in S54. , Are stored in the auxiliary storage device 22. Then, it transfers to S55.

【0187】このS55の詳細を図31のフローチャー
トに基づいて説明する。まず、S301において、RA
Mから異常フラグが読み込まれる。この異常フラグは、
RAMに設けられていて、OFFで測定値Xの振動レベ
ルが低いことを示し、ONでその振動レベルが高いこと
を示す。コンピュータの電源投入に伴ってOFFされ、
その後は、後述のS65または70の実行により、変更
される。次に、S302において、その異常フラグがO
Nされているか否かが判定される。今回はONされては
いないと仮定すれば、判定がNOとなり、S303にお
いて、積極的なファジィルール群(図において「積極的
ルール」で表す)を用いたファジィ演算により暫定補正
値Uが算出される。以上でこのS55の一回の実行が終
了する。
Details of S55 will be described with reference to the flowchart of FIG. First, in S301, RA
The abnormality flag is read from M. This abnormal flag is
When it is provided in the RAM, OFF indicates that the vibration level of the measured value X is low, and ON indicates that the vibration level is high. It is turned off when the computer is turned on,
After that, it is changed by executing S65 or 70 described later. Next, in S302, the abnormality flag is set to O.
It is determined whether or not N is set. Assuming that it is not turned on this time, the determination is NO, and in S303, the provisional correction value U is calculated by the fuzzy calculation using the aggressive fuzzy rule group (represented by "aggressive rule" in the figure). It This is the end of the one-time execution of S55.

【0188】これに対して、今回は、異常フラグがON
されていると仮定すれば、S302の判定がYESとな
り、S304において、消極的なファジィルール群(図
において「消極的ルール」で表す)を用いたファジィ演
算により暫定補正値Uが算出される。以上でこのS55
の一回の実行が終了する。
On the other hand, this time, the abnormality flag is ON.
If YES, the determination in S302 is YES, and in S304, the provisional correction value U is calculated by a fuzzy calculation using a negative fuzzy rule group (represented by “negative rule” in the figure). This is S55
One execution of is completed.

【0189】なお、本実施例においては、異常フラグが
OFFからONになれば直ちに、使用するファジィルー
ル群が積極的なものから消極的なものに変更され、逆に
ONからOFFになれば直ちに、消極的なものから積極
的なものに変更されるようになっていたが、そのファジ
ィルール群の変更にヒステリシス特性を与えることがで
きる。すなわち、例えば、異常フラグがOFFからON
になっても直ちには、使用するファジィルール群が積極
的なものから消極的なものに変更されず、その後異常フ
ラグがONであることが設定回数連続したときに初め
て、変更されるようにすることができるのである。この
ようにすれば、ファジィルール群の頻繁な変更により測
定値Xがハンチングして不安定となる事態が良好に回避
される。
In this embodiment, as soon as the abnormality flag is turned from OFF to ON, the fuzzy rule group to be used is changed from the positive one to the passive one, and conversely, when it is turned from ON to OFF. , It was supposed to be changed from the passive one to the positive one, but it is possible to give the hysteresis characteristic to the change of the fuzzy rule group. That is, for example, the abnormality flag changes from OFF to ON
Immediately after that, the fuzzy rule group to be used is not changed from the positive one to the negative one, and is changed only after the abnormal flag is ON for the set number of times. It is possible. By doing so, it is possible to satisfactorily avoid the situation where the measured value X hunts and becomes unstable due to frequent changes in the fuzzy rule group.

【0190】以上のようにしてS55が実行されたなら
ば、図7のS56において、算出された暫定補正値Uが
演算データメモリに蓄積されるとともに、補助記憶装置
22に保存される。その後、図8のS57に移行する。
When S55 is executed as described above, the calculated provisional correction value U is stored in the operation data memory and stored in the auxiliary storage device 22 in S56 of FIG. Then, it transfers to S57 of FIG.

【0191】この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 S57, the presence / absence of the continuity-aware correction command is determined. If not, the determination is NO, and S
At 58, the provisional provisional value U is unchanged and the final correction value U *
Then, in S59, it is stored in the auxiliary storage device 22. On the other hand, if there is the continuity consideration type correction command, the determination in S57 is YES, and in S60, it is determined whether or not the continuity consideration type correction is possible. It is determined whether or not the number of provisional correction values U stored in the calculation data memory is M or more. If it is assumed that the number of accumulated provisional correction values U is not M or more this time, the determination is NO, the process immediately returns to S8, and the current execution of this routine ends. After that, assuming that the number of provisional correction values U accumulated in the operation data memory becomes M or more during the execution of this routine many times, S
The determination of 60 is YES, and in S61, the final correction value U * is calculated as described above, based on the latest M provisional correction values U stored in the calculation data memory. After that, in S62, it is stored in the operation data memory and is stored in the auxiliary storage device 22.

【0192】S59または62の実行が終了すれば、図
9のS63において、補助補正指令の有無が判定され
る。今回は無いと仮定すれば判定がNOとなり、S64
において、今回の最終補正値U* を定寸装置14に送信
すべきか否か、すなわち、その最終補正値U* が不感帯
から外れているか否かが判定される。今回は不感帯内に
あると仮定すれば、判定がNOとなり、S65におい
て、前記ファジィ演算において適合したファジィルール
が補助記憶装置22に保存される。その後、直ちにS8
に戻って、本ルーチンの今回の実行が終了する。
When the execution of S59 or S62 is completed, the presence or absence of the auxiliary correction command is determined in S63 of FIG. Assuming that this time does not exist, the determination is NO, and S64
At, it is determined whether or not the final correction value U * at this time should be transmitted to the sizing device 14, that is, whether or not the final correction value U * is out of the dead zone. If it is assumed that it is within the dead zone this time, the determination is NO, and in step S65, the fuzzy rule matched in the fuzzy operation is stored in the auxiliary storage device 22. Then immediately S8
Then, the current execution of this routine ends.

【0193】これに対して、最終補正値U* が不感帯か
ら外れていると仮定すれば、S64の判定がYESとな
り、S66において、定寸装置14が手動補正値送信機
能を有しているか否かが判定される。有しているから判
定がYESとなり、S67においてその定寸装置14に
おける手動補正の有無が判定され、なければ判定がNO
となり、S68において、最終補正値U* が今回の自動
補正値Uとして定寸装置14に送信され、それが補助記
憶装置22に保存される。その後、S69において、補
助補正指令が有るか否かが判定される。今回は無いと仮
定されているから、判定がNOとなり、S70におい
て、前記S65と同様に、適合したファジィルールが補
助記憶装置22に保存される。
On the other hand, assuming that the final correction value U * is out of the dead zone, the determination in S64 is YES, and in S66, it is determined whether or not the sizing device 14 has a manual correction value transmitting function. Is determined. Since it has, the determination is YES, the presence or absence of manual correction in the sizing device 14 is determined in S67, and if not, the determination is NO.
Then, in S68, the final correction value U * is transmitted to the sizing device 14 as the automatic correction value U of this time, and is stored in the auxiliary storage device 22. Then, in S69, it is determined whether or not there is an auxiliary correction command. Since it is assumed that this time does not exist, the determination is NO, and in S70, the matching fuzzy rule is stored in the auxiliary storage device 22 as in S65.

【0194】ここで、それらS65および70の詳細を
図32のフローチャートに基づいて説明する。
Details of S65 and S70 will be described below with reference to the flowchart of FIG.

【0195】まず、S401において、RAMから前記
異常回数カウンタの現在値が読み込まれる。次に、S4
02において、図7のS55の今回の実行によるファジ
ィ演算において適合したファジィルール(図において
「適合ルール」で表す)が前記異常時用ファジィルール
(図において「異常時用ルール」で表す)であるか否か
が判定される。今回は、異常時用ファジィルールが適合
してはいないと仮定すれば、判定がNOとなり、直ち
に、S404に移行するが、今回は、異常時用ファジィ
ルールが適合したと仮定すれば、判定がYESとなり、
S403において、異常回数カウンタの値が1だけイン
クリメントされた後に、S404に移行する。このS4
04においては、RAMから前記判定回数カウンタの現
在値が読み込まれ、その後、S405において、その判
定回数カウンタの値が1だけインクリメントされる。そ
の後、S406において、判定回数カウンタの現在値が
設定値Bより大きいか否かが判定される。今回は、大き
くはないと仮定すれば、判定がNOとなり、S407に
おいて、判定回数カウンタおよび異常回数カウンタの各
最新値がRAMに記憶させられ、その後、S408にお
いて、適合したファジィルールが補助記憶装置22に保
存される。
First, in S401, the current value of the abnormality counter is read from the RAM. Next, S4
In 02, the fuzzy rule (represented by "adaptation rule" in the figure) that is adapted in the fuzzy operation by the current execution of S55 of FIG. 7 is the abnormal fuzzy rule (represented by "abnormality rule" in the figure). It is determined whether or not. This time, if it is assumed that the abnormal fuzzy rule does not match, the determination becomes NO, and immediately the process proceeds to S404. However, this time, assuming that the abnormal fuzzy rule has met, the determination is YES,
After the value of the abnormality number counter is incremented by 1 in S403, the process proceeds to S404. This S4
In 04, the current value of the judgment number counter is read from the RAM, and thereafter, in S405, the value of the judgment number counter is incremented by one. Then, in S406, it is determined whether or not the current value of the determination number counter is larger than the set value B. If it is not large this time, the determination is NO, the latest values of the determination number counter and the abnormality number counter are stored in the RAM in S407, and then, in S408, the adapted fuzzy rules are stored in the auxiliary storage device. 22 is stored.

【0196】その後、同図のルーチンの実行が何回も繰
り返された結果、判定回数カウンタの現在値が設定値B
より大きくなると、S406の判定がYESとなり、S
409において、異常回数カウンタの現在値が設定値C
より大きいか否かが判定される。今回は、大きくはない
と仮定すれば、判定がNOとなり、S410において、
異常フラグがOFFされ(すなわち、異常フラグがON
からOFFに変更されるか、またはOFFに維持さ
れ)、その後、S411において、それら判定回数カウ
ンタの値も異常回数カウンタの値も0にリセットされ
る。その後、前記S407以下のステップに移行する。
これに対して、異常回数カウンタの現在値が設定値Cよ
り大きいと仮定すれば、S409の判定がYESとな
り、S412において、異常フラグがONされ(すなわ
ち、異常フラグがOFFからONに変更されるか、また
はONに維持され)、その後、前記S411以下のステ
ップに移行する。
Thereafter, as a result of the execution of the routine shown in the figure being repeated many times, the current value of the judgment number counter is the set value B.
If it becomes larger, the determination in S406 becomes YES, and S406
In 409, the current value of the abnormal number counter is the set value C.
It is determined whether or not it is greater than. If it is not large this time, the determination is NO, and in S410,
The abnormality flag is turned off (that is, the abnormality flag is turned on.
Is changed from OFF to OFF or is maintained OFF), and thereafter, in S411, the values of the determination number counter and the abnormality number counter are reset to zero. After that, the process proceeds to steps S407 and below.
On the other hand, assuming that the current value of the abnormality counter is larger than the set value C, the determination in S409 is YES, and the abnormality flag is turned on in S412 (that is, the abnormality flag is changed from OFF to ON). Alternatively, it is maintained ON), and thereafter, the process proceeds to the steps after S411.

【0197】以上、定寸装置14において手動補正がな
かった場合について説明したが、手動補正があったと仮
定すれば、図9のS67の判定がYESとなり、S71
において、定寸装置14からの最新の手動補正値および
定寸点が受信されて記憶され、S72において、ワーク
待ちフラグがONされ、S73において、演算データメ
モリがクリアされ、その後、S8に戻る。
The case where there is no manual correction in the sizing device 14 has been described above. However, assuming that there is a manual correction, the determination in S67 of FIG. 9 becomes YES and S71.
In, the latest manual correction value and the sizing point are received and stored from the sizing device 14, the work wait flag is turned on in S72, the operation data memory is cleared in S73, and then the process returns to S8.

【0198】また、定寸装置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 the manual correction value transmitting function, the determination in S66 is NO, and in S74, the latest sizing point is read from the sizing device 14, It is stored in the RAM and is also stored in the auxiliary storage device 22, and the previous sizing point is read from the RAM in S75. After that, in S76, it is determined from the previous sizing point and the latest sizing point whether or not the sizing point has been changed, that is, it is manually operated by a sizing device that does not have a manual correction value transmission function. It is determined whether or not there is a correction, and if there is no change, the determination is NO, and the process proceeds to S68, but if there is, the determination is YES, and in S77, the work waiting flag is turned ON and S
At 78, the operation data memory is cleared, and then the process returns to S8.

【0199】これに対して、補助補正指令があると仮定
すれば、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 is YES, and in S79, it is determined whether or not the auxiliary correction is being executed. It is determined whether or not the value of the auxiliary correction counter, which indicates the number of times of execution of the auxiliary correction, is 1 or more. If it is assumed to be 0 this time, the determination becomes NO, the process proceeds to the step group of S64 and below, and the main correction is performed. In S69 of this step group, it is determined whether or not there is an auxiliary correction command, and it is assumed that this is the case, so the determination is Y.
ES is reached, and the value of the auxiliary correction counter is incremented by 1 in S80.

【0200】これに対して、現在補助補正の実行中であ
って、補助補正カウンタの値が0ではないと仮定すれ
ば、S79の判定がYESとなり、S81以下のステッ
プ群に移行して補助補正が行われる。S81において
は、今回の最終補正値U* から前回の最終補正値U*
引いた値が今回の送信値とされる。ここに、「今回の最
終補正値U* 」は、前記今回の暫定補正値UP に相当
し、「前回の最終補正値U*」は、前記前回の暫定補正
値UP に相当し、「今回の送信値」は、前記今回の最終
補正値UF に相当している。その後、S82において
は、定寸装置14が手動補正値送信機能を有しているか
否かが判定される。定寸装置14は手動補正値送信機能
を有しているから判定がYESとなり、S83におい
て、その定寸装置14における手動補正の有無が判定さ
れ、なかったと仮定すれば、判定がNOとなり、S84
において、上記送信値が今回の自動補正値Uとして定寸
装置14に送信される。補助補正が行われるのである。
その後、S85において、その送信値が補助記憶装置2
2に保存され、S86において、補助補正カウンタがイ
ンクリメントされ、その後、前記S70に移行する。一
方、手動補正があったと仮定すれば、S83の判定がY
ESとなり、S87において定寸装置14からの手動補
正値が受信され、S88において、ワーク待ちフラグが
ONされ、S89において、演算データメモリがクリア
され、その後、S8に戻る。
On the other hand, assuming that the auxiliary correction is currently being executed and the value of the auxiliary correction counter is not 0, the determination in S79 is YES, and the process proceeds to the step group of S81 and thereafter. Is done. In S81, a value obtained by subtracting the last final correction value U * from the last final correction value U * is set as the current transmission value. Here, "this time of the final correction value U *", the equivalent to this time of the provisional correction value U P, "the last of the final correction value U *" corresponds to a provisional correction value U P of the last time, " The "current transmission value" corresponds to the current final correction value U F. Then, in S82, it is determined whether or not the sizing device 14 has a manual correction value transmission function. Since the sizing device 14 has the manual correction value transmitting function, the determination is YES, and in S83, it is determined whether or not the sizing device 14 is subjected to the manual correction.
At, the transmission value is transmitted to the sizing device 14 as the automatic correction value U of this time. Auxiliary correction is performed.
Thereafter, in S85, the transmission value is stored in the auxiliary storage device 2
2, the auxiliary correction counter is incremented in S86, and then the process proceeds to S70. On the other hand, assuming that there is manual correction, the determination in S83 is Y.
The process 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 operation data memory is cleared in S89, and then the process returns to S8.

【0201】これに対して、定寸装置14が手動補正値
送信機能を有してはいないと仮定すれば、S82の判定
がNOとなり、前記S74以下のステップ群に移行し
て、自動補正の許否が判定され、許可されればその自動
補正値が定寸装置14に送信されることになる。また、
この場合、S69の判定がYESとなり、S80におい
て、補助補正カウンタがインクリメントされる。
On the other hand, assuming that the sizing device 14 does not have the manual correction value transmission function, the determination in S82 is NO, and the process proceeds to the step group of S74 and subsequent steps for automatic correction. Whether or not the permission is permitted is determined, and if the permission is permitted, the automatic correction value is transmitted to the sizing device 14. Also,
In this case, the determination in S69 is YES, and in S80, the auxiliary correction counter is incremented.

【0202】S70の実行が終了すると、図10のS9
0において、補助補正指令の有無が判定される。今回は
無いと仮定すれば、判定がNOとなり、S91におい
て、ワーク待ちフラグがONされ、S92において、演
算データメモリがクリアされ、その後、S93におい
て、データシフト処理指令の有無が判定される。今回は
ないと仮定されているから、判定がNOとなり、直ちに
S8に戻る。
When the execution of S70 is completed, S9 of FIG.
At 0, the presence or absence of the auxiliary correction command is determined. Assuming that this time does not exist, the determination is NO, the work wait flag is turned on in S91, the calculation data memory is cleared in S92, and then, in S93, the presence or absence of the data shift processing command is determined. Since it is assumed that this time is not the case, the determination is NO, and the process immediately returns to S8.

【0203】これに対して、今回は補助補正指令がある
と仮定すれば、S90の判定がYESとなり、S94に
おいて、今回の補助補正を終了させるべきであるか否か
が判定される。具体的には、補助補正カウンタの現在値
が設定値(図5のS1において補助記憶装置22から入
力されたもの)以上となったか否かが判定される。今回
はそうではないと仮定すれば、判定がNOとなり、直ち
にS8に戻る。
On the other hand, assuming that there is an auxiliary correction command this time, the determination in S90 is YES, and in S94, it is determined whether or not this auxiliary correction should be ended. Specifically, it is determined whether or not the current value of the auxiliary correction counter is equal to or greater than the set value (the value input from the auxiliary storage device 22 in S1 of FIG. 5). If this is not the case this time, the determination is no and the process immediately returns to S8.

【0204】その後、本ルーチンの実行が何回も繰り返
されるうちに、補助補正カウンタの現在値が設定値以上
となったと仮定すれば、S94の判定がYESとなり、
S95において、今回の補助補正およびそれに先行する
主補正のうち少なくともその今回の補助補正において定
寸装置14に送信された自動補正値Uすべての和(以
下、「合計補正値」という)が算出される。その後、S
96において、その合計補正値が0であるか否か、すな
わち、少なくとも今回の補助補正が本当に必要な時期に
行われなかったと推定されるから今回の補助補正を続行
する必要があるか否かが判定される。今回はその必要が
ないと仮定すれば、判定がNOとなり、S97におい
て、ワーク待ちフラグがONされ、S98において、演
算データメモリがクリアされ、S99において、データ
シフト処理指令の有無が判定される。今回はないと仮定
されているから、判定がNOとなり、直ちにS8に戻
る。
After that, assuming that the current value of the auxiliary correction counter becomes equal to or larger than the set value while the execution of this routine is repeated many times, the determination in S94 becomes YES,
In step S95, the sum of all automatic correction values U (hereinafter, referred to as "total correction value") transmitted to the sizing device 14 in at least the current auxiliary correction of the current auxiliary correction and the main correction preceding this is calculated. It Then S
At 96, it is determined whether or not the total correction value is 0, that is, whether or not the current auxiliary correction needs to be continued at least because it is estimated that the current auxiliary correction has not been performed at a time when it is really necessary. To be judged. If this is not the case this time, the determination is NO, the work wait flag is turned on in S97, the calculation data memory is cleared in S98, and the presence or absence of the data shift processing command is determined in S99. Since it is assumed that this time is not the case, the determination is NO, and the process immediately returns to S8.

【0205】これに対して、今回の補助補正を続行する
必要があると仮定すれば、S96の判定がYESとな
り、S100において、補助補正再開指令の有無が判定
される。今回は補助補正再開指令ではなく、補助補正延
長指令があると仮定すれば、判定がNOとなり、S10
1において、補助補正カウンタの値が1とされ、その
後、S8に戻る。したがって、本ルーチンの次回の実行
時には、補助補正カウンタの現在値が0ではないため、
図9のS79の判定がNOとなり、S64に移行するこ
とになる。
On the other hand, assuming that it is necessary to continue the current auxiliary correction, the determination in S96 becomes YES, and in S100, it is determined whether or not the auxiliary correction restart command has been issued. If it is assumed that there is an auxiliary correction extension command instead of an 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 then the process returns to S8. Therefore, at the next execution of this routine, the current value of the auxiliary correction counter is not 0,
The determination in S79 of FIG. 9 is NO, and the process proceeds to S64.

【0206】これに対し、今回は補助補正延長指令では
なく、補助補正再開指令が有ると仮定すれば、図10の
S100の判定がYESとなり、S102において、補
助補正カウンタの値が0とされ、その後、S8に戻る。
したがって、本ルーチンの次回の実行時には、補助補正
カウンタの現在値が0であるから、図9のS79の判定
がYESとなり、S81に移行することになる。
On the other hand, if it is assumed that there is an auxiliary correction extension command this time instead of an auxiliary correction extension command, the determination in S100 of FIG. 10 is YES, and the value of the auxiliary correction counter is set to 0 in S102. Then, the process returns to S8.
Therefore, at the next execution of this routine, since the current value of the auxiliary correction counter is 0, the determination in S79 of FIG. 9 becomes YES, and the process proceeds to S81.

【0207】ワーク待ちフラグがONされている状態で
図6のS25が実行される場合には、それの判定がYE
Sとなり、S103において、演算データメモリがクリ
アされ、その後、S8に戻ることになる。すなわち、定
寸点の手動補正または自動補正の直後からは、図5のS
23の存在にもかかわらず、演算データメモリへの測定
値X等の蓄積は事実上行われず、その最新の手動補正ま
たは自動補正の影響を受けた定寸点の下で加工されたワ
ークが最初に全数計測機16により測定されたときにワ
ーク待ちフラグがOFFされ、図6のS25の判定がN
Oとなり、演算データメモリへの測定値X等の蓄積が再
開されることになるのである。
When S25 of FIG. 6 is executed with the work waiting flag turned on, the determination is YES.
In S103, the calculation data memory is cleared in S103, and then the process returns to S8. That is, immediately after the manual correction or the automatic correction of the sizing point, S in FIG.
Despite the existence of 23, the measured value X, etc. is not actually stored in the calculation data memory, and the work piece machined under the sizing point affected by the latest manual correction or automatic correction is the first. The work waiting flag is turned off when the measurement is performed by the total number measuring device 16, and the determination in S25 of FIG.
The value becomes O, and the accumulation of the measured value X and the like in the calculation data memory is restarted.

【0208】以上、データシフト処理指令が出されてい
ない場合について説明したが、次に、出されている場合
について説明する。
The case where the data shift processing command has not been issued has been described above. Next, the case where it has been issued will be described.

【0209】この場合には、図6のS24の判定がYE
Sとなり、S104以下のステップ群に移行する。S1
04においては、データシフト処理を禁止するべきであ
るか否かが判定される。最新の手動補正値または自動補
正値に係る先頭補正対象ワークについて全数測定機16
による測定が終了した場合には、もはやデータシフト処
理を行う必要がなく、行うとかえってワークの寸法誤差
が増加してしまうから、このような場合にはデータシフ
ト処理を禁止するのである。
In this case, the determination in S24 of FIG. 6 is YE.
It becomes S, and the process proceeds to the step group after S104. S1
At 04, it is determined whether or not the data shift process should be prohibited. Regarding the top correction target work related to the latest manual correction value or automatic correction value
When the measurement by is finished, it is no longer necessary to perform the data shift processing, and if it is performed, the dimensional error of the work increases, so in such a case, the data shift processing is prohibited.

【0210】先頭補正対象ワークの測定が終了したか否
かの判定は、具体的には、RAMに記憶されているデー
タシフト処理の目標回数(これの記憶については後述す
る)、すなわち、最新の手動補正値または自動補正値が
定寸装置14に送信されたときに加工機10と全数測定
機16との間に存在していたワークの数を、全数測定機
16により測定が終了するごとに1ずつ減算し、その結
果、0となったときに、先頭補正対象ワークの測定が終
了したと判定するものである。
The determination as to whether or not the measurement of the top correction target work is completed is specifically performed by the target number of data shift processes stored in the RAM (the storage of this will be described later), that is, the latest number. The number of workpieces existing between the processing machine 10 and the total measuring machine 16 when the manual correction value or the automatic correction value is transmitted to the sizing device 14 is measured every time the total measuring machine 16 finishes the measurement. The value is subtracted by one, and when it becomes 0 as a result, it is determined that the measurement of the head correction target work is completed.

【0211】今回は未だ先頭補正対象ワークの測定が終
了していないと仮定すれば、判定がNOとなり、S10
5において、最新の手動補正値または自動補正値が今回
のシフト量に決定され、その後、S106において、今
回の測定値Xにその今回のシフト量を加算することによ
って今回の測定値Xが変更され、それが演算データメモ
リに蓄積されるとともに、補助記憶装置22に保存され
る。その後、S107において、演算データメモリから
過去の測定値Xが入力され、S27以下の、移動平均値
Pの算出に備える。
If it is assumed that the measurement of the work piece to be head-corrected has not been completed this time, the determination becomes NO and S10
In 5, the latest manual correction value or automatic correction value is determined as the current shift amount, and then in S106, the current measurement value X is changed by adding the current shift value to the current measurement value X. , And is stored in the auxiliary storage device 22 while being accumulated in the arithmetic data memory. Then, in S107, the past measured value X is input from the calculation data memory, and the preparation for the calculation of the moving average value P in S27 and thereafter is performed.

【0212】その後、図10のS93において、データ
シフト処理指令の有無が判定されれば、今回はあると仮
定されているから、判定がYESとなり、S108にお
いて、ワーク数カウンタ18からむだ時間MSが入力さ
れ、次回のデータシフト処理の目標回数としてRAMに
記憶され、さらに、補助記憶装置22に保存される。そ
の後、S8に戻る。
Thereafter, if it is determined in S93 of FIG. 10 whether or not there is a data shift processing command, it is assumed that this is the case, so the determination is YES, and the dead time MS from the work number counter 18 is determined in S108. It is input, stored in the RAM as the target number of the next data shift processing, and further stored in the auxiliary storage device 22. Then, the process returns to S8.

【0213】また、同図のS99の判定も、上記の場合
と同様に、YESとなり、S109において、ワーク数
カウンタ18からむだ時間MSが入力され、次回のデー
タシフト処理の目標回数としてRAMに記憶され、さら
に、補助記憶装置22に保存される。その後、S8に戻
る。
Further, similarly to the above case, the determination in S99 of the figure is also YES, and in S109, the dead time MS is input from the work number counter 18 and stored in the RAM as the target number of the next data shift process. Stored in the auxiliary storage device 22. Then, the process returns to S8.

【0214】このように、データシフト処理の目標回数
は、間欠的補正の終了に伴って行われることになるが、
図示はしないが、手動補正の終了に伴っても行われ、ま
た、本ルーチンの初回の実行に備えてそれの標準値が予
めROMに記憶させられている。
As described above, the target number of data shift processes is performed with the end of the intermittent correction.
Although not shown in the figure, it is also performed when the manual correction is completed, and the standard value thereof is stored in the ROM in advance in preparation for the first execution of this routine.

【0215】その後、本ルーチンの実行が何回も繰り返
されるうちに、最新の手動補正値または自動補正値に係
る先頭補正対象ワークについて全数測定機16による測
定が終了したと仮定すれば、図6のS104の判定がY
ESとなり、S110において、今回のシフト量が0と
され、その後、S106に移行する。すなわち、今回
は、実際の測定値Xがそのまま演算データメモリに蓄積
されることになるのである。
After that, assuming that the measurement by the total number measuring machine 16 is completed for the head correction target work related 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
ES is reached, the shift amount this time is set to 0 in S110, and then the process proceeds to S106. That is, this time, the actual measured value X is directly stored in the calculation data memory.

【0216】このように、データシフト処理が許可され
る場合には、ワーク待ちフラグのON・OFFとは無関
係に測定値Xの演算データメモリへの蓄積が行われ、そ
の結果、自動補正の間隔時間が短くなる。
As described above, when the data shift process is permitted, the measured value X is stored in the calculation data memory regardless of the ON / OFF state of the work waiting flag, and as a result, the automatic correction interval is increased. The time gets shorter.

【0217】以上の説明から明らかなように、本実施例
においては、加工機10が請求項1〜3の各発明におけ
る「加工機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 the present embodiment, the processing machine 10 constitutes one aspect of the "processing machine 1" in each of the inventions of claims 1 to 3, and the sizing device 14 and the motor controller are included. 15 constitutes one aspect of the "machining machine control means 2", the total number measuring instrument 16 constitutes one aspect of the "measuring instrument 3", and FIG.
The part that executes the steps other than S64, 68 and 84 of the above constitutes one mode of the "correction value determination means 4", and these S
The part that executes 64, 68 and 84 constitutes one mode of the “correction value transmission means 5”.

【0218】以上、本発明の一実施例を図面に基づいて
詳細に説明したが、この他の態様で本発明を実施するこ
とができる。
Although one embodiment of the present invention has been described in detail with reference to the drawings, the present invention can be implemented in other modes.

【0219】例えば、上記実施例においては、測定値X
の振動レベルを測定する手法として、測定値Xと移動平
均値Pとの関係に基づいて測定する手法と、ファジィ演
算において適合したファジィルールの内容に基づいて測
定する手法とが採用されていた。それら手法はいずれ
も、補正値Uを決定する過程において振動レベルを測定
する手法に属するものであるが、補正値Uを決定する過
程において振動レベルを測定する手法として、その他
に、次のようなものを採用することができる。
For example, in the above embodiment, the measured value X
As a method of measuring the vibration level of the above, a method of measuring based on the relationship between the measured value X and the moving average value P and a method of measuring based on the content of the fuzzy rule adapted in the fuzzy calculation have been adopted. All of these methods belong to the method of measuring the vibration level in the process of determining the correction value U, but other methods for measuring the vibration level in the process of determining the correction value U include the following. Things can be adopted.

【0220】例えば、移動平均値Pを用いる手法とし
て、複数の移動平均値Pの標準偏差を振動レベルとして
測定する手法や、問題となる設定周波数におけるパワー
スペクトル密度として振動レベルを測定する手法や、ニ
ューラルネット,相関関数等を用いたパターン認識によ
り振動レベルを測定する手法を採用することができる。
また、それら手法は、移動平均値Pに代えて補正値Uを
用いる場合にも採用することができる。
For example, as a method of using the moving average value P, a method of measuring a standard deviation of a plurality of moving average values P as a vibration level, a method of measuring a vibration level as a power spectrum density at a setting frequency in question, and A method of measuring the vibration level by pattern recognition using a neural network, a correlation function, etc. can be adopted.
Further, those methods can be adopted when the correction value U is used instead of the moving average value P.

【0221】また、振動レベルの測定は、測定値Xその
ものを用い、かつ、上述のいくつかの手法に準じた手法
により行うこともできる。
The vibration level can also be measured by using the measured value X itself and by a method according to some of the above-mentioned methods.

【0222】さらに、振動レベルの測定は、定寸装置1
4に送信された補正値Uと、その影響を受けた測定値X
との関係に基づいて行うこともできる。測定値Xの補正
値Uに対する応答性に基づいて、測定値Xの振動レベル
を測定することもできるのである。
Further, the vibration level is measured by the sizing device 1
Correction value U sent to No. 4 and measurement value X affected by it
It can also be done based on the relationship with. The vibration level of the measured value X can also be measured based on the response of the measured value X to the correction value U.

【0223】また、前記実施例においては、補正値Uの
決定規則の変更が、移動平均値Pに係る重み係数bの値
を可変にすることと、ファジィ演算におけるファジィル
ールの内容を可変にすることとの双方によって実現され
るようになっていたが、それらのいずれか一方によって
実現することも、その他の手法により実現することもで
きる。例えば、移動平均値Pを原則的手法により算出す
るのに必要な測定値Xの数(=K)の値を可変にした
り、移動平均値Pを算出する際に想定される回帰線の次
数(例えば、1次,2次等)を可変にしたり、微分値T
を原則的手法により算出するのに必要な移動平均値Pの
数(=L)を可変にしたり、ファジィ変数のラベルの数
・内容を可変にしたり、ファジィ変数のメンバーシップ
関数の特性(例えば、グレードのピーク値,関数の形
等)を可変にしたり、ファジィ推論値を実際値に非ファ
ジィ化する際の手法(例えば、重心法,面積法等)を可
変にしたり、最終補正値U* をそれの連続性を考慮して
決定するのに必要な暫定補正値Uの数(=M)を可変に
したり、補正値Uの不感帯の幅Nを可変することによっ
て実現することもできるのである。
Further, in the above embodiment, changing the rule for determining the correction value U makes the value of the weighting coefficient b relating to the moving average value P variable and the content of the fuzzy rule in the fuzzy calculation variable. However, it can be realized by either one of them or by another method. For example, the value of the number (= K) of the measurement values X necessary for calculating the moving average value P by the principle method is variable, or the order of the regression line assumed when calculating the moving average value P ( For example, the primary, secondary, etc.) can be made variable, or the differential value T
The number of moving averages P (= L) required to calculate is calculated by the principle method, the number and contents of labels of fuzzy variables are changed, and the characteristics of the membership function of fuzzy variables (for example, The peak value of the grade, the shape of the function, etc.) can be made variable, and the method (for example, the center of gravity method, the area method, etc.) when defuzzifying the fuzzy inference value to the actual value is made variable, and the final correction value U * It can also be realized by changing the number (= M) of provisional correction values U necessary for determination in consideration of the continuity thereof, or by changing the dead zone width N of the correction value U.

【0224】また、前記実施例においては、重み係数b
の値およびファジィルールが変更されたとき、それ以前
に演算データメモリに蓄積されているデータをクリアす
ることなく、そのまま利用することにより補正値Uが決
定されるようになっていた。これは、上記変更があるご
とに演算データメモリをクリアすると、蓄積されている
データが不足する状態がやや頻繁に発生してしまい、ワ
ークの寸法精度が十分に安定しない事態が予想されるか
らであり、一方、変更前のデータを排除することなく利
用して補正値Uを決定しても、それほど不適当な補正値
Uは取得されないからである。ただし、変更があるごと
に演算データメモリをクリアする態様で本発明を実施す
ることは可能である。
In the above embodiment, the weighting factor b
When the value and the fuzzy rule are changed, the correction value U is decided by using the data stored in the operation data memory before clearing the data as it is. This is because if the calculation data memory is cleared every time there is a change, a situation in which the accumulated data is insufficient will occur rather frequently, and it is expected that the dimensional accuracy of the workpiece will not be sufficiently stable. On the other hand, on the other hand, even if the correction value U is determined by using the data before the change without being excluded, the correction value U that is not so appropriate is not acquired. However, it is possible to implement the present invention in such a manner that the calculation data memory is cleared every time there is a change.

【0225】また、前記実施例においては、演算データ
メモリに蓄積されている測定値Xの数が前記設定複数個
に達しない段階でも、移動平均値P,誤差値R,微分値
T等が逐次算出されて演算データメモリに蓄積され、蓄
積されている測定値Xの数が設定複数個に達したときに
1個の最終補正値U* が決定されるようになっていた。
しかし、蓄積されている測定値Xの数が設定複数個に達
しない段階では、それら移動平均値P等を全く算出せ
ず、蓄積されている測定値Xの数が設定複数個に達した
ときに初めて、それら移動平均値P等をまとめて算出し
て1個の最終補正値U* を決定するようにして本発明を
実施することができる。
Further, in the above embodiment, the moving average value P, the error value R, the differential value T, etc. are successively calculated even when the number of the measured values X stored in the arithmetic data memory does not reach the set number. One final correction value U * is determined when the number of measured values X that have been calculated and stored in the calculation data memory has reached 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 by collectively calculating the moving average values P and the like to determine one final correction value U * .

【0226】また、前記実施例は、クランクシャフトを
ワークとし、それの複数のジャーナル面(外周円筒面)
をそれぞれ加工部位として円筒研削する加工システムと
共に使用される定寸点補正装置に本発明を適用した場合
の一例であったが、他の加工システムと共に使用される
定寸点補正装置に本発明を適用することができるのはも
ちろんである。他の加工システムには例えば、自動車の
エンジンのシリンダブロックを加工すべきワークとし、
それに予め形成された複数のシリンダボア(内周円筒
面)をそれぞれ加工部位としてホーニングする加工シス
テムを選ぶことができる。
Further, in the above-mentioned embodiment, the crankshaft is used as the work, and a plurality of journal surfaces (outer peripheral cylindrical surface) of the work are used.
This is an example of the case where the present invention is applied to a sizing point correction device used together with a processing system that performs cylindrical grinding as each processing portion. However, the present invention is applied to a sizing point correction device used with other processing systems. Of course, it can be applied. Other machining systems include, for example, a cylinder block of an automobile engine as a workpiece to be machined,
It is possible to select a processing system in which a plurality of cylinder bores (inner circumferential cylindrical surface) formed in advance as the processing parts are honed.

【0227】また、前記実施例は、複数の加工部位が設
定されているワークを加工する加工システムに本発明を
適用した場合の一例でもあったが、1個の加工部位しか
設定されていない加工システムにも適用することができ
るのはもちろんである。
Further, the above embodiment is also an example in which the present invention is applied to a machining system for machining a workpiece in which a plurality of machining parts are set, but machining in which only one machining part is set. Of course, it can be applied to the system.

【0228】また、前記実施例は、複数の加工部位が設
定されているワークを加工する加工システムであり、か
つ、それら加工部位すべてについてはインプロセス測定
機を備えていないものに本発明を適用した場合の一例で
もあったが、それら加工部位すべてについてインプロセ
ス測定機を備えている加工システムにも本発明を適用す
ることができるのはもちろんである。
Further, the above-mentioned embodiment is a machining system for machining a workpiece in which a plurality of machining parts are set, and the present invention is applied to those in which the in-process measuring machine is not provided for all the machining parts. This is also an example of the case, but it goes without saying that the present invention can be applied to a processing system including an in-process measuring machine for all of those processing parts.

【0229】これらの他にも特許請求の範囲を逸脱する
ことなく、当業者の知識に基づいて種々の変形,改良を
施した態様で本発明を実施することができる。
Other than these, the present invention can be implemented in various modified and improved modes based on the knowledge of those skilled in the art without departing from the scope of the claims.

【図面の簡単な説明】[Brief description of drawings]

【図1】請求項1〜3の各発明の構成を概念的に示す図
である。
FIG. 1 is a diagram conceptually showing the structure of each invention of claims 1 to 3.

【図2】請求項1〜3の発明に共通の一実施例であるフ
ィードバック式の定寸点補正装置と共に使用される加工
システムにおいてクランクシャフトが砥石により研削さ
れる状態を示す斜視図である。
FIG. 2 is a perspective view showing a state in which a crankshaft is ground by a grindstone in a processing system used with a feedback type sizing point correcting apparatus which is an embodiment common to the inventions of claims 1 to 3;

【図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のコンピュータによ
り実行される定寸点補正ルーチンの一部を示すフローチ
ャートである。
5 is a flowchart showing a part of a fixed-point correction routine executed by a computer of control device 20 in FIG.

【図6】その定寸点補正ルーチンの別の一部を示すフロ
ーチャートである。
FIG. 6 is a flowchart showing another part of the sizing point correction routine.

【図7】その定寸点補正ルーチンのさらに別の一部を示
すフローチャートである。
FIG. 7 is a flowchart showing still another part of the sizing point correction routine.

【図8】その定寸点補正ルーチンのさらにまた別の一部
を示すフローチャートである。
FIG. 8 is a flow chart showing still another part of the sizing point correction routine.

【図9】その定寸点補正ルーチンのさらにまた別の一部
を示すフローチャートである。
FIG. 9 is a flowchart showing still another part of the sizing point correction routine.

【図10】その定寸点補正ルーチンのさらにまた別の一
部を示すフローチャートである。
FIG. 10 is a flowchart showing still another part of the sizing point correction routine.

【図11】その定寸点補正ルーチンの処理全体の流れを
概念的に示す図である。
FIG. 11 is a diagram conceptually showing the overall flow of the processing of the sizing point correction routine.

【図12】図11における隣接間ばらつき除去に用いる
各重み係数bの値を示すグラフである。
12 is a graph showing the value of each weighting coefficient b used for removing the variation between adjacent portions in FIG. 11.

【図13】上記実施例において、その各重み係数bの値
が自動的に変更される様子を概念的に示すグラフであ
る。
FIG. 13 is a graph conceptually showing how the value of each weighting coefficient b is automatically changed in the above embodiment.

【図14】上記実施例において、1個の移動平均値Pを
原則的手法により算出するのに必要な測定値Xの数を説
明するための図である。
FIG. 14 is a diagram for explaining the number of measurement values X required to calculate one moving average value P by the principle method in the above-mentioned embodiment.

【図15】上記実施例において、1個の移動平均値Pを
第1の例外的手法により算出するのに必要な測定値Xの
数を説明するための図である。
FIG. 15 is a diagram for explaining the number of measurement values X required to calculate one moving average value P by the first exceptional method in the above-mentioned embodiment.

【図16】上記実施例において、1個の移動平均値Pを
第2の例外的手法により算出するのに必要な測定値Xの
数を説明するための図である。
FIG. 16 is a diagram for explaining the number of measurement values X necessary for calculating one moving average value P by the second exceptional method in the above-mentioned embodiment.

【図17】図11における両端直径補正の内容を概念的
に示すグラフである。
17 is a graph conceptually showing the contents of both-ends diameter correction in FIG.

【図18】図11における寸法情報取得において、誤差
値Rから微分値Tが算出される手法を概念的に示すグラ
フである。
18 is a graph conceptually showing a method of calculating a differential value T from an error value R in obtaining the dimension information in FIG.

【図19】図11におけるファジィ演算において誤差値
Rについて用いられるメンバーシップ関数を示すグラフ
である。
19 is a graph showing a membership function used for the error value R in the fuzzy calculation in FIG.

【図20】そのファジィ演算において微分値Tについて
用いられるメンバーシップ関数を示すグラフである。
FIG. 20 is a graph showing a membership function used for a differential value T in the fuzzy operation.

【図21】そのファジィ演算において補正値Uについて
用いられるメンバーシップ関数を示すグラフである。
FIG. 21 is a graph showing a membership function used for the correction value U in the fuzzy calculation.

【図22】図11における連続性考慮の内容を概念的に
示すグラフである。
22 is a graph conceptually showing the content of consideration of continuity in FIG.

【図23】図5〜10の定寸点補正ルーチンにおいて測
定値Xから最終補正値U* が誘導される過程の一例を説
明するための図である。
FIG. 23 is a diagram for explaining an example of a process of deriving a final correction value U * from the measurement value X in the sizing point correction routine of FIGS.

【図24】図11における不感帯考慮の内容を概念的に
示すグラフである。
FIG. 24 is a graph conceptually showing the content of dead zone consideration in FIG. 11.

【図25】定寸点補正の一方式である間欠的補正を概念
的に示すグラフである。
FIG. 25 is a graph conceptually showing intermittent correction which is one method of fixed-point correction.

【図26】その間欠的補正の第1の方式を概念的に示す
グラフである。
FIG. 26 is a graph conceptually showing the first intermittent correction method.

【図27】その第1の方式の一実施態様を概念的に示す
グラフである。
FIG. 27 is a graph conceptually showing one embodiment of the first system.

【図28】図25の間欠的補正の第2の方式を概念的に
示すグラフである。
FIG. 28 is a graph conceptually showing the second intermittent correction method in FIG. 25.

【図29】その第2の方式の一実施態様を概念的に示す
グラフである。
FIG. 29 is a graph conceptually showing one embodiment of the second method.

【図30】図6におけるS35の詳細を示すフローチャ
ートである。
FIG. 30 is a flowchart showing details of S35 in FIG.

【図31】図7におけるS55の詳細を示すフローチャ
ートである。
FIG. 31 is a flowchart showing details of S55 in FIG.

【図32】図9におけるS65および70の詳細を示す
フローチャートである。
32 is a flowchart showing details of S65 and S70 in FIG. 9. FIG.

【符号の説明】[Explanation of symbols]

10 加工機 12 インプロセス測定機 14 定寸装置 15 モータコントローラ 16 全数測定機 20 制御装置 44 ポストプロセス測定機 50 キーボード 10 processing machine 12 in-process measuring machine 14 sizing device 15 motor controller 16 total number measuring machine 20 controller 44 post-process measuring machine 50 keyboard

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 (a) 複数のワークの各々を順に加工する
加工機と、(b) 外部から供給される補正値に基づいて前
記加工機の加工条件を決定し、その決定した加工条件に
従ってその加工機を制御する加工機制御手段と、(c) 前
記加工機により加工された複数のワークの各々の寸法を
順に測定する測定機とを備えた加工システムのそれら加
工機制御手段と測定機とに接続されて使用されるべきフ
ィードバック式加工条件補正装置であって、 前記測定機による測定値に基づき、その測定値の振動的
な変動レベルである振動レベルと共に変化する規則に従
って、前記加工機により次に加工されるべきワークの前
記加工条件の補正値を決定する補正値決定手段と、 決定された補正値を前記加工機制御手段に供給する補正
値供給手段とを含むことを特徴とするフィードバック式
加工条件補正装置。
1. A processing machine for sequentially processing each of a plurality of workpieces, and (b) a processing condition of the processing machine is determined based on a correction value supplied from the outside, and according to the determined processing condition. Processing machine control means for controlling the processing machine, and (c) those processing machine control means and measuring machine of a processing system including a measuring machine for sequentially measuring the dimensions of each of a plurality of workpieces processed by the processing machine A feedback type machining condition correction device to be used by being connected to the machining machine according to a rule that changes based on a measurement value by the measurement machine and a vibration level which is a vibrational variation level of the measurement value. A correction value determining means for determining a correction value of the processing condition of the work to be processed next, and a correction value supplying means for supplying the determined correction value to the processing machine control means. Fed back type processing conditions correction device.
【請求項2】 前記補正値決定手段が、 前記測定値の振動レベルを測定し、予め設定された複数
の規則の中からその測定した振動レベルに合致したもの
を選択し、その選択した規則に従って前記補正値を決定
するものである請求項1記載のフィードバック式加工条
件補正装置。
2. The correction value determining means measures the vibration level of the measured value, selects one that matches the measured vibration level from a plurality of preset rules, and follows the selected rule. The feedback type processing condition correction device according to claim 1, wherein the correction value is determined.
【請求項3】 前記補正値決定手段が、 前記測定値の振動レベルを測定し、その測定した振動レ
ベルに基づき、予め設定された規則を補正し、その補正
した規則に従って前記補正値を決定するものである請求
項1記載のフィードバック式加工条件補正装置。
3. The correction value determining means measures a vibration level of the measured value, corrects a preset rule based on the measured vibration level, and determines the correction value according to the corrected rule. The feedback type processing condition correcting device according to claim 1, which is a device.
JP36011192A 1991-11-07 1992-12-28 Feedback processing condition correction device Expired - Lifetime JP3206167B2 (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
JP36011192A JP3206167B2 (en) 1992-12-28 1992-12-28 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
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
EP93301006A EP0556049B1 (en) 1992-02-14 1993-02-11 A working system and method 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 (1)

Application Number Priority Date Filing Date Title
JP36011192A JP3206167B2 (en) 1992-12-28 1992-12-28 Feedback processing condition correction device

Publications (2)

Publication Number Publication Date
JPH06198544A true JPH06198544A (en) 1994-07-19
JP3206167B2 JP3206167B2 (en) 2001-09-04

Family

ID=18467954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36011192A Expired - Lifetime JP3206167B2 (en) 1991-11-07 1992-12-28 Feedback processing condition correction device

Country Status (1)

Country Link
JP (1) JP3206167B2 (en)

Also Published As

Publication number Publication date
JP3206167B2 (en) 2001-09-04

Similar Documents

Publication Publication Date Title
EP0556049B1 (en) A working system and method for improving dimensional accuracy of processed workpieces
JP3386548B2 (en) Feedback processing condition correction device
KR100299412B1 (en) Machining processor
CN107589723A (en) A kind of dynamic static optimization method of Digit Control Machine Tool Milling Process stability
Billatos et al. Knowledge-based optimization for intelligent machining
AU680228B2 (en) Controller for CNC-operated machine tools
JP3206167B2 (en) Feedback processing condition correction device
JP3311896B2 (en) Feedback processing condition correction device
JP3269151B2 (en) Feedback processing condition correction device
JP3173199B2 (en) Feedback processing condition correction device
Su et al. Computer-aided optimization of multi-pass turning operations for continuous forms on CNC lathes
JP3287969B2 (en) Feedback machining condition correction device and feedback machining method
US11650563B2 (en) Machine tool for detecting and cutting loads using machine learning
JP3214121B2 (en) Feedback processing condition correction device
JP2924461B2 (en) Feedback processing condition correction device
JPH06198543A (en) Feedback type machining condition correction device
CN116449770B (en) Machining method, device and equipment of numerical control machine tool and computer storage medium
JP3182926B2 (en) Feedback type fixed point correction device
AU683788B2 (en) Apparatus and method for feedback-adjusting working condition for improving dimensional accuracy of processed workpieces
JP3173163B2 (en) Feedback processing condition correction device
JP3097280B2 (en) Feedback processing condition correction device
JP2924426B2 (en) Feedback processing condition correction device
Kanso Model reference estimation and control of tool chatter
Ivester Enhancing Recursive Constraint Bounding for Improved Robustness, Functionality, and Flexibility

Legal Events

Date Code Title Description
FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20080706

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20080706

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090706

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090706

Year of fee payment: 8

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20100706

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110706

Year of fee payment: 10

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 10

Free format text: PAYMENT UNTIL: 20110706

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20120706

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130706

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130706

Year of fee payment: 12