CN1121637C - Feedback type processing condition corrector and method for feedback process - Google Patents
Feedback type processing condition corrector and method for feedback process Download PDFInfo
- Publication number
- CN1121637C CN1121637C CN 96109389 CN96109389A CN1121637C CN 1121637 C CN1121637 C CN 1121637C CN 96109389 CN96109389 CN 96109389 CN 96109389 A CN96109389 A CN 96109389A CN 1121637 C CN1121637 C CN 1121637C
- Authority
- CN
- China
- Prior art keywords
- value
- measured
- correction
- aforementioned
- difference
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Automatic Control Of Machine Tools (AREA)
- Numerical Control (AREA)
Abstract
Description
本发明涉及到通过反馈用与被加工工件的尺寸误差有关联的信息来校正下次加工条件的反馈式加工条件校正装置及反馈式加工方法。The present invention relates to a feedback processing condition correcting device and a feedback processing method for correcting next processing conditions by feeding back information related to dimensional errors of workpieces to be processed.
上述反馈式加工条件校正装置(以下将简称为校正装置)一般使用于包括:(a)顺序加工多个工件的加工机,和(b)由外部供给的校正值,来确定加工机的加工条件、并按该加工条件对加工机进行控制的加工控制装置,和(c)依次对用加工机进行加工的多个工件的尺寸进行测量的测量仪的加工系统。校正装置包括:(1)根据测量仪的测量值确定下次加工工件的加工条件校正值的校正值确定部,和(2)向加工机控制装置提供所确定校正值的校正值供给部。The above-mentioned feedback type processing condition correction device (hereinafter referred to simply as a correction device) is generally used in a processing machine including: (a) processing a plurality of workpieces sequentially, and (b) externally supplied correction values to determine the processing conditions of the processing machine , a processing control device that controls the processing machine according to the processing conditions, and (c) a processing system of a measuring instrument that sequentially measures the dimensions of a plurality of workpieces processed by the processing machine. The correction device includes: (1) a correction value determination unit for determining a machining condition correction value for the workpiece to be processed next time based on the measurement value of the measuring instrument, and (2) a correction value supply unit for supplying the determined correction value to the processing machine control device.
对于由加工机加工出来的工件立即被测量仪测量的系统来说,由于按照受到最新校正值影响的加工条件加工出来的工件直接由测量仪测量,最新校正值的影响直接表现在测量值中,所以能够迅速判断最新校正值是否合适。因此,在这种形式的加工系统中使用上述校正装置的场合,提高加工条件的校正精度比较简单。但是,在加工系统中,存在着在加工机和测量仪之间存在至少一个工件等待测量仪测量的方式(参考图2),在这种加工系统中,受最新校正值影响的工件不能直接由测量仪测量,最新校正值的响应在经过一段延时的时间后才开始表现在测量值上。因此,在这个存在空载时间的加工系统中使用上述偏移装置的场合,提高加工条件的偏移精度比较困难。For the system where the workpiece processed by the processing machine is immediately measured by the measuring instrument, since the workpiece processed according to the processing conditions affected by the latest correction value is directly measured by the measuring instrument, the influence of the latest correction value is directly reflected in the measured value. Therefore, it is possible to quickly judge whether or not the latest correction value is appropriate. Therefore, when the above-mentioned correction device is used in this type of processing system, it is relatively easy to improve the correction accuracy of the processing conditions. However, in the machining system, there is a mode in which at least one workpiece is waiting for the measuring instrument to be measured between the machining machine and the measuring instrument (refer to FIG. 2 ), and in this machining system, the workpiece affected by the latest correction value cannot be Measuring instrument measurement, the response of the latest calibration value does not start to appear in the measured value until a delay time has elapsed. Therefore, when the above-mentioned offset device is used in this machining system with dead time, it is difficult to improve the offset accuracy of machining conditions.
并且,这里“空载时间”原来是时间概念,它与由加工机加工后有多个等待测量仪测量的待机工件的“待机工件数”不是严格一致,但是对定义控制系统特性的参考来讲是等价的,以下的“空载时间”和“待机工件数”将作为相互对应的概念来使用。Moreover, the "idle time" here is originally a concept of time, which is not strictly consistent with the "number of standby workpieces" of multiple standby workpieces waiting to be measured by the measuring instrument after processing by the processing machine, but for the reference of defining the characteristics of the control system They are equivalent, and the following "dead time" and "number of workpieces on standby" will be used as concepts corresponding to each other.
有关这类情况为背景,本发明人正在研究这种存在空载时间式的加工系统中适合使用的的校正装置,提出了上述校正装置。每当测量仪测到,按照受最新校正值影响的加工条件加工出来的多个工件中的头一个工件时,前述的校正值确定部就根据测量仪的测量值来确定新的校正值。Against such a background, the inventors of the present invention have studied a correcting device suitable for use in such a dead time-existing machining system, and proposed the above-mentioned correcting device. The correction value determining unit determines a new correction value based on the measurement value of the measuring instrument whenever the measuring instrument detects the first workpiece among the plurality of workpieces processed under the processing conditions influenced by the latest correction value.
以该第1偏移装置为例,偏移值确定部依次存储测量仪来的测量值,存储的测量值数到达的设定的个数时,基于存储设定的多个测量值一起确定校正值。每次用测量仪进行测量头一个校正工件时,就从无存储的状态重新进行测量值存储的方式来进行。Taking the first offset device as an example, the offset value determination unit sequentially stores the measured values from the measuring instrument, and when the number of stored measured values reaches the set number, the correction is determined together based on the stored and set multiple measured values. value. Every time the first calibration workpiece is measured with the measuring instrument, it is carried out by re-storing the measured value from the state without storage.
基于这种实施例的一个校正装置中测量值和校正值之间的关系在图16的图中所示。在此图中,横轴是用测量仪测量的工件数i、纵轴是测量值X。在数据存储阶段依次存储测量值,当这个数达到设定的多个时确定校正值U。但是,这个偏移值U不直接反映在测量值X中,在经过空载时间后才开始反映。该结果,测量值X在不同阶段变化很大。在此之后,开始新的数据存储阶段。The relationship between measured values and corrected values in a correction device based on this embodiment is shown in the graph of FIG. 16 . In this figure, the horizontal axis represents the number i of workpieces measured by the measuring instrument, and the vertical axis represents the measured value X. In the data storage stage, the measured values are stored sequentially, and the correction value U is determined when the number reaches a set number. However, this offset value U is not directly reflected in the measured value X, but only after the dead time has elapsed. As a result, the measured value X varies greatly from stage to stage. After this, a new data storage phase begins.
并且,本申请人还提出了另外的校正装置。校正值确定部依次存储来自测量仪的测量值。并根据存储的多个测量值依次确定应加工工件加工条件的校正值。把从各个校正值的确定时期开始到按照用测量仪测量最初加工先头校正的工件时期为止的期间,存储用测量仪测量的多个测量值,用相应的校正值来偏移,于是,此第2校正装置为了不必等待先头校正的工件被测量仪测量,就可以确定新的校正值,最好假定校正值原封不动地在测量值中反映出来,在从各个校正值的确定时期开始到有赖于校正值的先头校正工件用测量仪测定时期为止的期间中,为了存储用测量仪测量的多个工件(以下称“前次校正工件组”)的多个测量值以及校正和等量移位,属于前次校正工件组的各个工件根据大多受此校正值的影响的加工条件来加工,并且,在假定直接用测量仪测量的场合预测取得的有效测量值,基于该预测后的测量值确定新的校正值。Furthermore, the present applicant also proposed another correction device. The correction value specifying unit sequentially stores the measured values from the measuring instruments. And sequentially determine the correction value of the processing condition of the workpiece to be processed according to the stored multiple measured values. During the period from the determination period of each correction value to the period of the first workpiece calibrated according to the measurement with the measuring instrument, a plurality of measured values measured with the measuring instrument are stored, and the corresponding correction values are used to offset. Therefore, the first 2. In order for the calibration device to determine the new calibration value without waiting for the first calibration workpiece to be measured by the measuring instrument, it is best to assume that the calibration value is reflected in the measurement value intact. In order to store multiple measured values of multiple workpieces measured by a measuring instrument (hereinafter referred to as "previously calibrated workpiece group"), corrections, and equivalent shifts during the period from the first calibration of the calibration value to the measurement time of the workpiece with the measuring instrument , each workpiece belonging to the previous calibration workpiece group is processed according to the processing conditions that are mostly affected by this calibration value, and, assuming that it is directly measured by a measuring instrument, the effective measurement value obtained is predicted and determined based on the predicted measurement value. new correction value.
在图17中图解地示出了做为第2校正装置中的校正值和测量值的关系的例子。如图17,该图与图16的图是同样的图,在空载时间的工序中也进行数据存储,在此数据存储阶段,测量值X不是原封不动地存储,在图中用虚线示出了偏置后存储。FIG. 17 graphically shows an example of the relationship between the correction value and the measurement value in the second correction means. As shown in Figure 17, this figure is the same figure as the figure in Figure 16, and data storage is also carried out in the process of dead time. In this data storage stage, the measured value X is not stored intact, and is shown by a dotted line in the figure. Stored after biasing out.
还有,此第2校正装置有可能在确定某校正值后,不等待该校正值反映在测量值,就确定其它校正值。因此,存在在某校正值确定时间和校正值反映在测量值期间确定其他校正值的场合。在此场合中,反映测量值的校正值不是最新校正值,它还是没反映测量值的校正值,称为最早没反映的校正值。Also, the second calibration means may determine another calibration value without waiting for the calibration value to be reflected in the measured value after determining a certain calibration value. Therefore, there are cases where other correction values are determined at a certain correction value determination time and during which correction values are reflected in measured values. In this case, the correction value that reflects the measured value is not the latest correction value, it is also the correction value that does not reflect the measured value, and is called the oldest non-reflected correction value.
上面,本申请人分别说明了优选的第1校正装置和第2校正装置的构成。这类校正装置的校正精度好,为了能够迅速确定,有必要正确地把握用测量仪测量先期校正工件的时间。In the above, the present applicant has described the configurations of the preferred first calibration device and the second calibration device respectively. The calibration accuracy of this type of calibration device is good. In order to be able to determine quickly, it is necessary to accurately grasp the time of measuring the pre-calibrated workpiece with a measuring instrument.
在经常对要保证待机工件数即空载时间一定的场合,每隔上述空载时间长事先求出实际值,在校正装置完全可以按实际空载时间来设定与内部参数有关的空载时间(以下称设定空载时间)。但是,在这样设定空载时间为固定值的场合,在实际空载时间变化的场合就有问题。In the occasion where it is often necessary to ensure the number of standby workpieces, that is, a constant no-load time, the actual value is calculated in advance every time the above-mentioned no-load time is long, and the no-load time related to the internal parameters can be set in the calibration device according to the actual no-load time (hereinafter referred to as setting the dead time). However, when the dead time is set to a fixed value in this way, there is a problem when the actual dead time varies.
首先对第1校正装置具体说明此问题的发生原因。First, the cause of this problem will be specifically described with respect to the first calibration device.
尤其,在实际空载时间在比设定空载时间更长的场合中特别严重。例如,如图26中的图所示,在这种场合中,不经过实际空载时间,在测量值X中不反映校正值U时,新的存储阶段开始。在此数据存储阶段存储有未反映校正值的测量值X。In particular, it is particularly serious when the actual dead time is longer than the set dead time. For example, as shown in the diagram in FIG. 26 , in this case a new storage phase starts when the actual dead time has not elapsed and the correction value U is not reflected in the measured value X. In this data storage stage, the measured value X which does not reflect the correction value is stored.
这个问题在把设定空载时间设定为比实际空载时间最大值更长时可以得到解决。但是,因为在这种场合,即使实际空载时间过后,设定空载时间还没到,不能开始新的数据存储阶段,产生像不能一旦确定新的校正值时就迅速确定校正值之类的其它问题。如图27所示为例,存在一个测量仪经由多个个别加工线联合成为复合加工线的场合。在此场合中,实际空载时间的最大值因为受到某个加工线及其它个别加工线上存在的待机工件数的影响,变得相当大。为此,特别是在这种场合,因为从确定某校正值到确定新的校正值占用相当长的时间,所以不能对工件加工尺寸的实际变化迅速反应。This problem can be solved by setting the set dead time to be longer than the actual dead time maximum. However, since in this case, even after the actual dead time has elapsed, the set dead time has not yet arrived, and a new data storage stage cannot be started, resulting in problems such as the inability to quickly determine the correction value once the new correction value is determined. other questions. As shown in Fig. 27 as an example, there is an occasion where one measuring instrument is combined into a composite processing line via a plurality of individual processing lines. In this case, the maximum value of the actual dead time becomes considerably large due to the influence of the number of waiting workpieces existing on a certain processing line and other individual processing lines. For this reason, especially in this case, since it takes a considerable time from the determination of a certain correction value to the determination of a new correction value, it is impossible to react quickly to an actual change in the workpiece machining size.
其次,对在第2校正装置中设定空载时间为固定值场合问题产生的原因进行具体说明。Next, the cause of the problem when the dead time is set to a fixed value in the second calibration device will be specifically described.
例如,在设定空载时间比实际空载时间长的场合,实际空载时间过后也对测量值进行预测,这个结果如在图28的图中所示,对在从这个实际空载时间过后开始到设定空载时间结束期间,对于已经反映了校正值U的测量值X,也进行了多余的移位,对同一个测量值,校正影响和预测影响会重合,因此,存储了不正确的测量值,校正值的确定精度降低。并且,反过来说,在设定空载时间比实际空载时间短的场合,在实际空载时间结束之前,即测量值反映了校正值之前,结束了对测量值的预测,在从实际空载时间结束开始到设定空载时间结束之前的时间中,本来应该进行预测,但实际上没有进行预测。在这种场合下,存储了不正确的测量值,校正值的确定精度降低。For example, when the set dead time is longer than the actual dead time, the measured value is also predicted after the actual dead time has passed. This result is shown in the diagram in FIG. 28. During the period from the beginning to the end of the set dead time, a redundant shift is also performed for the measured value X that has already reflected the corrected value U. For the same measured value, the corrected influence and the predicted influence will overlap, so the stored incorrect The measured value, the accuracy of the determination of the correction value is reduced. And, conversely, when the set dead time is shorter than the actual dead time, the prediction of the measured value is finished before the actual dead time ends, that is, before the measured value reflects the correction value, and the actual dead time is measured from the actual dead time. During the period from the end of the load time to the end of the set dead time, the prediction should have been made, but it was not actually predicted. In this case, incorrect measurement values are stored, and the determination accuracy of the correction value decreases.
上面分别具体地说明了在第1校正装置和第2校正装置中尽管实际空载时间变动而设定空载时间为固定值的场合,通过用实际测量空载时间的装置,如加工机中,通过设置每当工件加工完毕后,测量加工机和测量仪之间存在的工件数即待机工件数的工件数计数器,能够在一定程度上消除这类问题。但是,不能完全消除。因为在实际加工中,结束加工某工件后,在通过工件数计数器测得待机工件数后,操作者有因何种原因拿出工件或因何种原因插入已加工完工件的可能。The above has specifically explained the situation where the dead time is set to a fixed value despite the fluctuation of the actual dead time in the first calibration device and the second calibration device. By using a device for actually measuring the dead time, such as in a processing machine, Such problems can be eliminated to some extent by installing a workpiece count counter that measures the number of workpieces that exist between the processing machine and the measuring instrument, that is, the number of standby workpieces, every time the workpiece is processed. However, it cannot be completely eliminated. Because in actual processing, after finishing processing a certain workpiece, after the number of standby workpieces is measured by the workpiece count counter, the operator may take out the workpiece or insert the processed workpiece for some reason.
上面分别具体地说明了在第1校正装置和第2校正装置中的不能正确把握实际空载时间确定校正值而降低校正精度的问题,在第2校正装置中还存在如下的其他问题。The above specifically explained the problem that the actual dead time cannot be accurately grasped to determine the correction value in the first calibration device and the second calibration device, which reduces the calibration accuracy. The second calibration device also has other problems as follows.
如前所述,在这个第2校正装置中,测量值的预测是在假定测量值完全反映校正值的情况下,对各测量值进行了与校正值同量的偏移。但是在实际中,如图29的图所示,存在测量值X不能完全反映校正值U的场合。在这个场合中,如图30的图所示,在空载时间工序中,在对没反映校正值的测量值X预测(移位)所求的值与在空载时间经过后对反映了校正值U的测量值X之间存在很大的差别,测量值的预测精度降低,而且校正值的确定精度降低。也就是说,在第2校正装置中,没有检出校正值在实际上在测量值中的反映量而是假定完全反映在测量值来进行预测,因此存在着提高预测精度有一个限度,不能太提高校正精度的其他问题。As described above, in this second calibration device, the prediction of the measured value is based on the assumption that the measured value fully reflects the corrected value, and each measured value is shifted by the same amount as the corrected value. However, in practice, as shown in the graph of FIG. 29 , there are cases where the measured value X does not completely reflect the corrected value U. In this case, as shown in the diagram of FIG. 30 , in the dead time process, the value obtained by predicting (shifting) the measured value X that does not reflect the correction value and the value that reflects the correction after the dead time elapses There is a large difference between the measured value X of the value U, the prediction accuracy of the measured value is reduced, and the determination accuracy of the correction value is reduced. That is to say, in the second correction device, the actual reflection amount of the correction value in the measured value is not detected, but it is assumed to be completely reflected in the measured value for prediction. Therefore, there is a limit to improving the prediction accuracy, and it cannot be too large. Additional issues to improve correction accuracy.
上面,说明了第1校正装置和第2校正装置所具有的几个问题。这类问题都是因为在不考虑实际值的情况下用开环方式检出确定校正值的必要要素来确定校正值的原因,在这一点上,相互共通。In the above, several problems of the first calibration device and the second calibration device have been described. These problems are all caused by determining the correction value by detecting the necessary elements for determining the correction value in an open-loop method without considering the actual value, and they are common to each other in this point.
以这些事情为背景,本发明的目的在于提供了在尽管实际空载时间变动、校正值与实际的校正反映量不一致情况下也能确定良好校正值的反馈式加工条件校正装置。Against the background of these matters, an object of the present invention is to provide a feedback processing condition correction device capable of determining a good correction value even though the actual dead time varies and the correction value does not match the actual correction reflection amount.
用反馈来校正加工条件的技术,比如反馈式加工方法,来用了依次用加工机加工多个工件、下一次测量用配置在与加工机间至少有一个加工工件的位置上的测量仪测量加工机加工出的工件尺寸,并根据这个测量仪的测量值,校正加工机下次加工工件的加工条件的方法。为此,在这个反馈式加工方法中,与上述场合相同,如果存在实际空载时间变化以及校正值和实际的校正反映量不一致的情况,就有校正精度降低的问题。The technology of using feedback to correct processing conditions, such as the feedback processing method, uses a processing machine to process multiple workpieces in sequence, and the next measurement uses a measuring instrument arranged at a position between the processing machine and at least one processing workpiece to measure the processing The size of the machined workpiece, and according to the measurement value of this measuring instrument, the method of correcting the processing conditions of the processing machine for the next processing of the workpiece. Therefore, in this feedback type machining method, as in the case described above, if there is a variation in the actual dead time and a discrepancy between the correction value and the actual correction reflection amount, there is a problem that the correction accuracy is lowered.
因此,本发明的目的在于提供了对实际空载时间和实际的校正反映量尽管不一致而仍能确定高精度的校正值、提高工件加工品质的反馈式加工方法。Therefore, an object of the present invention is to provide a feedback machining method capable of determining a high-precision correction value despite the inconsistency between the actual dead time and the actual correction reflection amount, and improving workpiece machining quality.
另外,本发明的目的在于提供了为了分别实施这类反馈式加工条件校正装置和反馈式校正方法的用计算机实现的程序。In addition, an object of the present invention is to provide a computer-implemented program for respectively implementing such a feedback-type processing condition correction device and a feedback-type correction method.
第1发明,做为备置了上述加工机、加工机控制装置和测量仪并且加工机和测量仪间至少存在1个待机工件的加工系统的反馈式加工条件校正装置,其特征在于,包括:(a)根据测量的当前值和前次值差的测量值前后的差,来确定用加工机下一次要加工工件的加工条件的校正值确定部,和(b)把所确定的校正值供给加工机控制装置的校正值供给部。The first invention is a feedback-type processing condition correction device for a processing system equipped with the above-mentioned processing machine, a processing machine control device, and a measuring instrument, and at least one standby workpiece exists between the processing machine and the measuring instrument, and is characterized in that it includes: (a) a correction value determining section for determining a machining condition of a workpiece to be machined next time by the machining machine based on the difference between the measured current value and the difference between the previous value before and after the measured value, and (b) supplying the determined correction value to Correction value supply unit of processing machine control device.
所以,在与本第1发明有关的反馈式加工条件校正装置中,如图31的图所示,校正值确定部根据用测量仪顺序测量的多个测量值用测量仪测量先头校正工件时变化很大以及此时变化量和校正值实际反映在测量值中的量一致这两个事实,是根据测量值前后差确定校正值。Therefore, in the feedback type processing condition correction device according to the first invention, as shown in the diagram of FIG. 31 , the correction value determining unit changes when the work is first corrected by measuring the measuring instrument based on a plurality of measured values sequentially measured by the measuring instrument. The fact that the amount of change and the correction value are actually reflected in the measured value are consistent at this time is to determine the correction value based on the difference between the measured values.
并且,在这个第1发明中,例如校正值确定部可以是每次测量先头校正的工件时,并且存储的测量值数变成设定多个数时,就确定新的校正值形式;而且,可以是每次测量先头校正的工件时,新的测量值一个一个地存储时确定新的校正值形式。And, in this first invention, for example, the correction value determining unit may determine a new correction value form each time the workpiece to be calibrated is measured, and the number of stored measured values becomes a set number; and, It is possible to determine a new correction value form when new measurement values are stored one by one each time a workpiece to be calibrated first is measured.
以符合本发明的第1实施例为例,上述校正值确定部可以是包括上述校正值确定部的形式,每次从上述测量仪取得测量值,就逐次求取上述测量值前后差,每当此测量值前后差的变动状态超过设定状态时,就基于测量仪的测量值确定上述校正值。Taking the first embodiment of the present invention as an example, the above-mentioned correction value determining part may be in the form of including the above-mentioned correction value determining part, and each time the measured value is obtained from the above-mentioned measuring instrument, the difference between the above-mentioned measured value is successively obtained, and each time When the fluctuation state of the difference before and after the measured value exceeds the set state, the above-mentioned correction value is determined based on the measured value of the measuring instrument.
在这个第1实施例中,测量值前后差的变动状态超过设定状态时期与最新的校正值反映在测量值中的校正反映时期一致,每当测量值前后差的变动状态超过设定状态时,就确定新的校正值。In this first embodiment, the fluctuation state of the difference between the measured values exceeds the set state period, which is consistent with the correction reflection period when the latest correction value is reflected in the measured value, and every time the fluctuation state of the measured value difference exceeds the set state , to determine the new correction value.
所以,根据第1实施例,因为校正反映时间是由测量值用闭环方式把握的情况下确定校正值,所以即使实际空载时间变动,校正精度也不降低。Therefore, according to the first embodiment, since the correction reflection time is grasped from the measured value in a closed-loop manner to determine the correction value, even if the actual dead time fluctuates, the correction accuracy does not decrease.
例如在符合上述第1发明的第2实施例,上述校正值确定部依次存储测量值,并根据上述测量仪的测量值,确定上述校正值的同时,每取得来自上述测量仪的测量值就依次求取上述测量值的前后差,从校正值确定时期开始到前述所求的测量值前后差的变化状态超过设定状态时为止期间用测量仪测量的多个测量值使偏移与测量值前后差的变动状态超过设定状态时的测量值前后差的值实质上同量,基于偏移后的测量值确定新的校正值。For example, in the second embodiment according to the above-mentioned first invention, the correction value determination unit sequentially stores measured values, determines the correction value based on the measured values of the measuring instruments, and sequentially stores the measured values from the measuring instruments. Calculate the difference between the front and back of the above-mentioned measured value, and make the offset and the front and back of the measured value of the multiple measured values measured by the measuring instrument during the period from the time when the correction value is determined to when the change state of the difference between the front and back of the measured value obtained above exceeds the set state. The value of the difference before and after the measured value when the variation state of the difference exceeds the set state is substantially the same, and a new correction value is determined based on the shifted measured value.
在这个第2实例中,校正值确定部根据测量值在测量仪测量先头校正工件时变化很大以及此时的变化量和真实地反映在测量值中的校正值一致的事实,认为测量值前后差的变动状态超过设定状态的时刻与校正反映时刻一致;而且,此时测量值前后差的值和反映在测量值中的校正值的校正反映量是一致的。由此,在从校正值的确定时期到测量值前后差的变动状态超过设定状态的时间为止的期间用测量仪测量的多个测量值,用与测量值前后差的变动状态超过设定状态时的测量值前后差的值在实质上是同量的偏移,根据此偏移后的测量值确定新的校正值。In this second example, the correction value determining unit considers that the measured value changes greatly when the measuring instrument measures the first calibration workpiece and the fact that the amount of change at this time coincides with the corrected value actually reflected in the measured value, and considers that the measured value The time when the variation state of the difference exceeds the set state is consistent with the correction reflection time; moreover, at this time, the value of the difference before and after the measured value is consistent with the correction reflection amount of the correction value reflected in the measured value. Thus, a plurality of measured values measured by the measuring instrument during the period from the determination of the correction value to the time when the fluctuation state of the difference between the measured values exceeds the set state, and the fluctuation state of the difference between the measured values exceeds the set state. The value of the difference before and after the measured value at that time is substantially the same amount of offset, and a new correction value is determined according to the offset measured value.
所以,按照这个第2实施例,因为用闭环方式把握实际校正反映时期由测定值来确定校正值,所以,尽管实际空载时间变化,校正精度也不降低。并且,在这个第2实施例中,用闭环方式把握实际的校正反映量从测量值来确定测量值的偏移量;所以与尽管校正值和实际的校正反映量不一致,也假定各个测量值原封不动地反映在测量值中,并与根据各校正值用开环方式预测测量值时进行比较,提高了测量值预测的精度。Therefore, according to this second embodiment, since the actual correction reflection time is grasped in a closed loop method and the correction value is determined from the measured value, the correction accuracy does not decrease even though the actual dead time varies. Also, in this second embodiment, the actual correction reflection amount is grasped in a closed-loop manner to determine the offset of the measurement value from the measurement value; therefore, although the correction value and the actual correction reflection amount are inconsistent, each measurement value is assumed to be intact. It is reflected in the measured value without change, and compared with when the measured value is predicted by an open loop method based on each correction value, the accuracy of the measured value prediction is improved.
在上述第2实施例中,因为在测量值前后差变动状态超过设定状态前存储测量值并确定新的校正值,所以存在着在从确定某校正值到该校正值反映在测量值的期间确定其他校正值的场合。这种场合,在把其他校正值通过上述校正值供给部供给上述加工机控制装置后,不能基于测量值的前后差用闭环方式进行偏移,只能基于校正值用开环方式进行偏移。In the above-mentioned second embodiment, since the measured value is stored and a new correction value is determined before the fluctuation state of the measured value exceeds the set state, there is a period from when a certain correction value is determined to when the correction value is reflected in the measured value. When determining other correction values. In this case, after other correction values are supplied to the processing machine control device through the correction value supply unit, the offset cannot be performed in a closed-loop manner based on the difference between measured values, but can only be offset in an open-loop manner based on the correction value.
因此,以符合上述第1发明的第3实施例为例,在从确定某校正值到该校正值在测量值中反映出来的期间,不管其他校正值确定与否,在从某校正值的确定时期开始到校正值在测量值中反映之前的期间,暂时可以按照校正值进行开环方式的偏移来确定其他校正值。在测量值反映了该校正值之后,对此时已存储的测量值除去暂定的偏移影响的条件下,能够进行基于测量值前后差进行开环方式的偏移。Therefore, taking the third embodiment according to the above-mentioned first invention as an example, during the period from the determination of a certain correction value until the correction value is reflected in the measured value, regardless of whether other correction values are determined or not, in the period from the determination of a certain correction value During the period from the beginning of the period until the correction value is reflected in the measurement value, other correction values can be temporarily determined by shifting the correction value in an open-loop manner. After the correction value is reflected in the measured value, an open-loop offset can be performed based on the difference before and after the measured value under the condition that the influence of the tentative offset is removed from the measured value stored at that time.
并且,如以符合上述第1发明的第4实施例为例,用上述测量仪顺序测量的多个测量值分为先测量的至少一个的测量值组成的前测量值群和后测量的至少一个的测量值组成的同时包含最新测量值的后测量值群。把这些分别代表先前测量值群和后期测量值群的各代表值分别确定为上述测量值的上次值和当前值,并把二个代表值的差做为上述测量值的前后差。In addition, taking the fourth embodiment according to the above-mentioned first invention as an example, the plurality of measured values sequentially measured by the above-mentioned measuring instrument are divided into a pre-measured value group consisting of at least one of the measured values measured earlier and at least one of the post-measured values. A group of post-measurements that also includes the most recent measurement. These representative values respectively representing the previous measurement value group and the later measurement value group are respectively determined as the previous value and the current value of the above measurement value, and the difference between the two representative values is used as the difference before and after the above measurement value.
第2发明,用加工机依次进行加工多个工件,用配置在与加工机间的至少有一个加工工件存在的位置上的测量仪依次测量用加工机加工的多个工件的尺寸,并根据该测量仪的测量值,校正用加工机下次加工工件的加工条件的反馈式加工方法,是根据测量仪测量值的当前值和前次值的差的测量值前后差,确定加工机下一次加工工件的加工条件的校正值的。其特征在于,包含上述确定校正值的校正值确定工序。In the second invention, a plurality of workpieces are sequentially processed by a processing machine, and the dimensions of the plurality of workpieces processed by the processing machine are sequentially measured by a measuring instrument arranged at a position between the processing machine and at least one of the processed workpieces, and based on the The measured value of the measuring instrument is used to correct the processing conditions of the processing machine for the next processing of the workpiece. The feedback processing method is to determine the next processing of the processing machine based on the measured value of the difference between the current value of the measuring instrument and the previous value. The correction value of the machining conditions of the workpiece. It is characterized by including the correction value determining step of determining the correction value described above.
在符合此第2发明的反馈式加工方法中,如前所述,利用测量值在先头校正工件被测量仪测量时变化很大的事实及当时的变化量与校正值真正反映在测量值时的量一致的事实,基于测量值的前后差确定校正值。In the feedback-type machining method according to the second invention, as described above, the fact that the measured value changes greatly when the workpiece is measured by the measuring instrument is used in the first correction, and the change amount at that time and the corrected value are truly reflected in the measured value. Based on the fact that the quantities are consistent, the correction value is determined based on the difference between the measured values.
譬如在这个第2发明中的“校正值确定工序”中,每当测量先头校正的工件时,并且存储的测量值数到达设定的多个时,就能确定新的校正值;每当测量先头校正的工件,并且存储1个以上新的测量值时,确定新的校正值。For example, in the "correction value determination process" in the second invention, whenever the workpiece calibrated first is measured, and the number of stored measurement values reaches a set number, a new correction value can be determined; When the workpiece to be calibrated first and one or more new measurement values are stored, a new calibration value is determined.
譬如在这个符合第2发明的第1实施例中,上述校正值确定工序,在每当用上述测量仪取得测量值时就逐次求取上述测量值的前后差,每当该测量值的前后差变动状态超过设定状态时,根据用测量仪的测量值确定上述校正值。For example, in the first embodiment in accordance with the second invention, the above-mentioned correction value determination step is to successively obtain the front-back difference of the above-mentioned measurement value every time the measurement value is obtained by the above-mentioned measuring instrument, and each time the front-back difference of the measurement value is When the fluctuating state exceeds the set state, the above-mentioned correction value is determined based on the measured value with the measuring instrument.
根据这个第1实施例,认为在测量值前后差的变动状态超过设定状态时期,与最新的校正值反映在测量值的校正反映时期一致,因此每当测量值前后差的变动状态超过设定状态时就确定新的校正值。According to this first embodiment, it is considered that the change state of the difference before and after the measured value exceeds the set state period, which coincides with the correction reflection period when the latest correction value is reflected in the measured value, so whenever the change state of the difference before and after the measured value exceeds the set state The new correction value is determined when the state is reached.
因此,根据该第1实施例,因为实际上用闭环方式把握实际校正反映时期由测量值来确定校正值,所以即使实际空载时间变动,校正精度也不降低。Therefore, according to the first embodiment, since the actual correction reflection time is actually grasped in a closed-loop manner and the correction value is determined from the measured value, even if the actual dead time fluctuates, the correction accuracy does not decrease.
譬如在符合上述第2发明的第2实施例中,上述校正值确定工序,可以包括:逐次存储来自上述测量仪的测量值,并根据存储的多个测量值确定上述校正值;同时每取得来自上述测量仪的测量值时逐次求取测量值的前后差,把从校正值确定时期开始到上述所求测量值前后变动状态超过设定状态的时间为止的期间使用测量仪测量的多个测量值,偏移测量值前后差的变动状态超过设定状态时的测量值前后差的值实际上相同的量,并根据此偏移后的测量值确定新的校正值。For example, in the second embodiment consistent with the above-mentioned second invention, the above-mentioned correction value determination process may include: successively storing the measurement values from the above-mentioned measuring instrument, and determining the above-mentioned correction value according to a plurality of stored measurement values; When the measurement value of the above-mentioned measuring instrument is obtained successively, the difference between the measured value is obtained successively, and a plurality of measured values measured by the measuring instrument are used for the period from the time when the correction value is determined to the time when the fluctuation state of the above-mentioned measured value exceeds the set state The value of the difference before and after the measured value is actually the same amount when the variation state of the offset measurement value exceeds the set state, and a new correction value is determined according to the offset measurement value.
在所述第2实施例中,利用测量值在测量仪测量先头校正工件时值变化很大的事实以及此时的变化量与真实地反映在测量值中的校正值一致的事实,认为测量值前后差的变动状态超过设定状态的时期与校正反映时期一致,而且此时的测量值前后差的值与校正值反映在测量值上的校正反映量相一致。因此,把从校正值的确定时期到测量值前后差的变动状态超过设定状态的期间使用测量仪测量的多个测量值,偏移与测量值前后差的变动状态超过设定状态时的测量值前后差的值实质上相同的量,根据此偏移后的测量值确定新的校正值。In the second embodiment, using the fact that the measured value changes greatly when the measuring instrument measures the first calibration workpiece and the fact that the amount of change at this time coincides with the correction value actually reflected in the measured value, it is considered that the measured value The period when the change state of the front-back difference exceeds the set state coincides with the correction reflection period, and the value of the front-back difference of the measured value at this time coincides with the correction reflection amount of the correction value reflected on the measurement value. Therefore, use a plurality of measured values measured by a measuring instrument during the period from when the correction value is determined to when the fluctuation state of the difference between the measured values exceeds the set state, and the measurement when the fluctuation state of the offset and the difference between the measured values exceeds the set state The value of the difference before and after the value is substantially the same amount, and a new correction value is determined according to the measured value after this offset.
所以,按照这个第2实施例,因为要用闭环方式把握实际的校正反映时期由测量值来确定校正值,所以尽管实际空载时间变化,校正精度也不降低。而且,在这个第2实施例中,用闭环方式把握实际的校正反映量由测量值来确定测量值偏移量。因此使校正值和实际的校正反映量不一致的情况下,也假定各个测量值原封不动地反映在测量值中,并且与根据各校正值用开环方式预测测量值相比较,提高了测量值预测的精度。Therefore, according to the second embodiment, since the actual correction reflection time is grasped in a closed-loop manner and the correction value is determined from the measured value, the correction accuracy does not decrease even though the actual dead time varies. Furthermore, in this second embodiment, the actual correction reflection amount is grasped in a closed-loop manner and the measured value offset is determined from the measured value. Therefore, even when the correction value does not match the actual correction reflection amount, it is assumed that each measurement value is reflected in the measurement value as it is, and compared with the open-loop prediction of the measurement value based on each correction value, the measurement is improved. The precision of the value prediction.
在上述第2实施例中,因为在测量值前后差变动状态超过设定状态前也可以根据存储的测量值确定新的校正值,所以存在着在从确定某校正值到该校正值反映在测量值的期间确定其他校正值的场合。这种场合,如果是在把其他校正值供给上述加工机控制装置后,就不能基于测量值前后差进行闭环方式,只能基于校正值的开环方式进行偏移。In the above-mentioned second embodiment, because the new correction value can also be determined according to the stored measurement value before the fluctuation state of the difference between the measured value and the difference exceeds the set state, so there is a gap between the determination of a certain correction value and the correction value reflected in the measurement. When other correction values are determined during the value period. In this case, after other correction values are supplied to the processing machine control device, the closed-loop method cannot be performed based on the difference between the measured values, and only the open-loop method based on the correction value can be used to offset.
因此,以符合上述第2发明的第三实施例为例,前述校正值确定工序在从确定上述各校正值到用上述测量仪对按受各校正值影响的上述加工条件加工的作为多个前述工件中的先头工件的先头校正工件进行测量为止的期间,每当用上述测量仪取得测量值时,通过使各测量值偏移与作为暂定偏移量的各校正值相同量暂时进行上述测量值预测,在判定上述测量前后值差的变化状态超过设定状态时,从预测后的各测量值中除去上述暂定偏移量的影响后,把除去后的该测量值用最终偏移量。即上述测量值前后差的变动状态超过设定状态时测量值前后差的值,进行实际上同样的值的偏移,由此校正上述暂定的测量值预测。Therefore, taking the third embodiment according to the above-mentioned second invention as an example, the above-mentioned correction value determining process is performed in many steps from determining the above-mentioned correction values to using the above-mentioned measuring instrument to process the above-mentioned processing conditions affected by each correction value. During the period until the first calibration workpiece of the first workpiece among the aforementioned workpieces is measured, each time the measurement value is obtained with the above-mentioned measuring instrument, each measurement value is offset by the same amount as each correction value as a tentative offset amount. Predict the above-mentioned measured value, and when it is determined that the change state of the value difference before and after the above-mentioned measurement exceeds the set state, remove the influence of the above-mentioned tentative offset from each predicted measured value, and use the removed measured value with the final Offset. That is, the fluctuation state of the difference between the measured values exceeds the value of the difference between the measured values in the setting state, and is shifted by substantially the same value, thereby correcting the provisional measured value prediction.
并且,比如符合上述第2发明的第4实施例,上述测量仪顺序测量多个测量值可分为,由先前测量的至少一个的测量值组成先期测量值群和由后测量的至少一个的测量值组成的、同时包含最新测量值的后期测量值群。分别代表先前测量值群和后期测量值群的代表值分别确定为上述测量值的上次值和当前值,并可以把2个代表值差做为前述测量值前后差。And, for example, according to the fourth embodiment of the above-mentioned second invention, the sequential measurement of a plurality of measurement values by the above-mentioned measuring instrument can be divided into a group of early measurement values composed of at least one measurement value of the previous measurement and at least one measurement of the latter measurement. A group of post-measurement values that also includes the most recent measurement value. The representative values representing the previous measurement value group and the later measurement value group are respectively determined as the last value and the current value of the above measurement values, and the difference between the two representative values can be used as the difference before and after the measurement values.
第3发明是涉及反馈式加工条件校正程序记录媒体。其特征在于:作为配置了上述加工机、加工机控制装置和测量仪,并且在加工机和测量仪间至少有1个待机工件存在的加工系统中的计算机实现的程序,是根据作为上述测量仪测量值的当前值和前次值差的测量值前后差,确定上述加工机下次加工工件的上述加工条件的校正值。这个程序预先被存储。The third invention relates to a recording medium for a feedback type machining condition correction program. It is characterized in that: as a computer-implemented program in a processing system equipped with the above-mentioned processing machine, processing machine control device, and measuring instrument, and at least one standby workpiece exists between the processing machine and the measuring instrument, it is based on the above-mentioned measuring instrument The difference between the current value of the measured value and the difference between the previous value and the measured value determines the correction value of the above-mentioned processing condition for the next processing of the workpiece by the above-mentioned processing machine. This program is stored in advance.
还有,此处的记录媒体例如有软磁盘、磁带、磁盘、磁鼓、磁卡、光盘、光磁盘、ROM、CD-ROM、IC卡、穿孔带等。Here, the recording medium includes, for example, a flexible disk, a magnetic tape, a magnetic disk, a magnetic drum, a magnetic card, an optical disk, a magneto-optical disk, a ROM, a CD-ROM, an IC card, a punched tape, and the like.
从以上的说明可知,根据本发明,因为根据反映实际的校正反映时间和实际校正反映量的测量值前后差来确定校正值,所以即使在实际空载时间变化、校正值和实际的校正反映量不一致的情况下,也能提高校正精度,而且达到了提高工件加工品质的效果。As can be seen from the above description, according to the present invention, since the correction value is determined according to the difference before and after the measured value reflecting the actual correction reflection time and the actual correction reflection amount, even if the actual dead time changes, the correction value and the actual correction reflection amount In the case of inconsistency, the correction accuracy can also be improved, and the effect of improving the processing quality of the workpiece can be achieved.
特别地,本发明在测量值前后差的变动状态每超过设定状态时确定校正值的实施场合中,因为在正确地掌握实际空载时间下确定校正值,所以即使实际空载时间变动,校正精度也不降低。而且,与设定空载时间固定为实际空载时间最大值的场合相比较,可以缩短确定1个校正值的时间,对工件的实际加工尺寸的变化能迅速应答校正值,达到了提高加工品质的效果。另外,因为用测量值闭环方式把握实际校正反映时间来确定校正值,所以达到了为测量实际空载时间而设置的工件计数器并非不可缺的效果。In particular, in the implementation of the present invention where the correction value is determined every time the fluctuation state of the measured value exceeds the set state, since the correction value is determined under the accurate grasp of the actual dead time, even if the actual dead time fluctuates, the correction Accuracy is not reduced either. Moreover, compared with the situation where the set dead time is fixed at the maximum value of the actual dead time, the time to determine a correction value can be shortened, and the correction value can be quickly responded to changes in the actual machining size of the workpiece, thereby improving the processing quality. Effect. In addition, since the actual calibration reflection time is grasped by the measured value closed-loop method to determine the calibration value, the effect that the workpiece counter provided for measuring the actual dead time is not indispensable is achieved.
另外,特别地,本发明在当测量值前后差的值超过设定状态时,把多个测量值用测量值前后差的变动状态超过设定状态时的测量值前后差的值来进行实质上相同量偏移后进行校正的实施场合中,因为正确地把握了实际校正反映时间来确定校正值,所以即使实际空载时间变化,校正精度也不降低。并且,因为正确地把握了实际校正反映量来确定测量值的偏移,所以即使校正值和实际的校正反映量不一致,也能提高测量值预测的精度,由此达到了提高校正精度的效果。In addition, in particular, when the value of the difference between the measured values exceeds the set state, the present invention uses the value of the difference between the measured values when the fluctuation state of the measured value exceeds the value of the measured value when the state is set. In the case where correction is performed after offsetting by the same amount, since the actual correction reaction time is accurately grasped to determine the correction value, even if the actual dead time changes, the correction accuracy does not decrease. Furthermore, since the actual correction reflected amount is accurately grasped to determine the offset of the measured value, even if the corrected value does not match the actual corrected reflected amount, the accuracy of the measured value prediction can be improved, thereby achieving the effect of improving the correction accuracy.
附图说明Description of drawings
图1是对作为第1发明的一个实施例的某反馈式尺寸控制校正装置被使用的加工系统,实施做为第2发明的一个实施例反馈式加工方法时,用砂轮磨削曲轴状态的倾视图。Fig. 1 shows the inclination of the state of crankshaft grinding with a grinding wheel when a feedback processing method as an embodiment of the second invention is implemented for a processing system in which a certain feedback type dimensional control correction device is used as an embodiment of the first invention view.
图2是表示上述加工系统整体的系统图。Fig. 2 is a system diagram showing the whole of the processing system.
图3是表示在上述系统中的加工机构成的图。Fig. 3 is a diagram showing the configuration of a processing machine in the above system.
图4是概念地表示上述尺寸控制点校正装置的机能块图。FIG. 4 is a functional block diagram conceptually showing the above-mentioned dimensional control point correction device.
图5是表示图2中控制装置20的用计算机执行的尺寸控制校正程序第3发明实施例的一部分的流程图。FIG. 5 is a flow chart showing a part of the third embodiment of the size control correction program executed by the computer of the
图6是表示尺寸控制点校正程序另一部分的流程图。Fig. 6 is a flow chart showing another part of the size control point correction routine.
图7是表示该尺寸控制点校正程序更进一部分的流程图。Fig. 7 is a flowchart showing a further part of the dimensional control point correction routine.
图8表示了该尺寸控制点校正程序还更进一部分的流程图。Figure 8 shows a flow chart of a still further portion of the dimensional control point correction routine.
图9示出了该尺寸控制点校正程序其他更进一步的部分。Fig. 9 shows other further parts of the size control point correction procedure.
图10概念性地示出了上述尺寸控制点校正程序整个处理流程。FIG. 10 conceptually shows the entire processing flow of the above-mentioned size control point correction program.
图11概念性地示出了在图10中的两端直径校正原理。FIG. 11 conceptually shows the principle of both end diameter correction in FIG. 10 .
图12概述性地示出在图10中,由取得尺寸信息算出误差值R和微分值T的过程。FIG. 12 schematically shows the process of calculating the error value R and the differential value T from the obtained size information in FIG. 10 .
图13示出了在图10中的模糊运算中用来运算误差值R的元函数。FIG. 13 shows element functions used to operate the error value R in the fuzzy operation in FIG. 10 .
图14示出了在所述模糊运算中用来运算微分值T的元函数。FIG. 14 shows element functions used to operate the differential value T in the fuzzy operation.
图15示出了在所述模糊运算中用来运算校正值U的元函数。FIG. 15 shows element functions used to operate the correction value U in the blur operation.
图16是为了概念地说明在上述实施例中,每当测量值反映校正值时就确定新的校正值图。FIG. 16 is a diagram for conceptually illustrating that in the above-described embodiment, a new correction value map is determined every time a measurement value reflects a correction value.
图17是为了概念地说明在上述实施例中,对测量值反映校正值之前存在的测量值用其校正值相同量进行数据偏移处理内容。FIG. 17 conceptually illustrates the contents of the data offset processing performed on the measured values that exist before the measured values reflect the corrected values in the above-mentioned embodiment with the same amount of corrected values.
图18概念地示出了在图10中连续性考虑的内容。FIG. 18 conceptually shows what is considered in continuity in FIG. 10 .
图19是为说明在图5-9的尺寸控制点校正程序中由测量值X导出最后校正值U的工序的图。Fig. 19 is a diagram for explaining the process of deriving the final correction value U from the measurement value X in the dimensional control point correction program of Figs. 5-9.
图20是图6中S70细节的流程图。FIG. 20 is a flowchart showing the details of S70 in FIG. 6 .
图21是为了概念地说明在上述实施例中某次校正值U1反映在测量值X后确定下一个校正值U2的场合中,通过数据偏移处理预测的测量值进行修正的图。FIG. 21 is a diagram for conceptually explaining the correction of the measured value predicted by data offset processing in the case where the next corrected value U2 is determined after a certain correction value U1 is reflected in the measured value X in the above-mentioned embodiment.
图22是为了概念地说明在上述实施例中在测量值X之前出现某次校正值U3确定其他校正值并且不能进行辅助校正的场合校正,通过数据偏移处理预测的测量值X的图。FIG. 22 is a diagram of the measured value X predicted by data offset processing in order to conceptually illustrate the correction in the above embodiment where a certain correction value U3 appears before the measured value X to determine other correction values and auxiliary correction cannot be performed.
图23是在上述实施例中在测量值出现某次校正值前确定其他校正值并且能进行辅助校正的场合,校正通过数据偏移处理预测的测量值X的图。Fig. 23 is a diagram of correcting the measured value X predicted by data offset processing in the case where other corrected values are determined and auxiliary corrections can be performed before a certain corrected value appears in the measured value in the above embodiment.
图24是用于说明在上述实施例中,在测量值前后差变动状态判定期间,待机工件数最小值和最大值关系的图。Fig. 24 is a diagram for explaining the relationship between the minimum value and the maximum value of the number of waiting workpieces during the determination of the fluctuation state of the difference between measured values in the above-mentioned embodiment.
图25是用于概念地说明在上述实施例中,测量工件数、测量值前后差以及求出的测量值前后差的采样值数的关系的图。FIG. 25 is a diagram for conceptually explaining the relationship between the number of workpieces to be measured, the difference between measured values, and the number of sampling values of the difference between measured values obtained in the above-mentioned embodiment.
图26是用于概念地说明在本申请人先行开发的校正装置中实际空载时间比设定空载时间长的场合中校正误差降低原因的图。Fig. 26 is a diagram for conceptually explaining the cause of reduction in calibration error when the actual dead time is longer than the set dead time in the calibration device previously developed by the present applicant.
图27是表示在加工系统中加工机和测量仪关系例子的图。Fig. 27 is a diagram showing an example of the relationship between a processing machine and a measuring instrument in the processing system.
图28是用于概念说明在本申请人先行开发的校正装置中,在实际空载时间比设定空载时间短的场合中,校正误差降低原因的图。Fig. 28 is a diagram conceptually explaining the cause of reduction in calibration error when the actual dead time is shorter than the set dead time in the calibration device previously developed by the present applicant.
图29是用于说明在本申请人先行开发的校正装置中,校正值U不能完全反映在测量值中的例子的图。FIG. 29 is a diagram for explaining an example in which the correction value U is not completely reflected in the measurement value in the correction device previously developed by the present applicant.
图30是用于概念说明在本申请人先行开发的校正装置中,校正值U不能完全反映在测量值中时,校正精度降低原因的图。FIG. 30 is a diagram for conceptually explaining the reason why the correction accuracy decreases when the correction value U cannot be fully reflected in the measured value in the correction device previously developed by the present applicant.
图31是用概念说明在存在空载时间的加工系统中,测量值X值随测量值数I增加而变化的图。Fig. 31 is a diagram conceptually illustrating the change of the measured value X value as the measured value number I increases in a machining system with dead time.
图32是用于概念说明在本发明中判定测量值前后差变动状态的一个实施例的图。Fig. 32 is a diagram for conceptually explaining an example of judging the fluctuation state of the difference before and after the measured value in the present invention.
图33是用于说明在图32的实施例中测量工件数i和测量值前后差ΔH关系的图。Fig. 33 is a diagram for explaining the relationship between the number i of measured workpieces and the difference ΔH before and after the measured value in the embodiment shown in Fig. 32 .
图34是用于概念说明在本发明中判定测量值前后差变动状态的其他实施例的图。Fig. 34 is a diagram for conceptually explaining another example of judging the fluctuation state of the difference before and after the measured value in the present invention.
图35是用于说明在图34的实施例中测量工件数i和测量值前后差ΔH关系的图。Fig. 35 is a diagram for explaining the relationship between the number i of measured workpieces and the difference ΔH before and after the measured value in the embodiment shown in Fig. 34 .
图36是用于概念说明在符合本发明的一个实施例中测量值偏移处理实施例的图。Figure 36 is a diagram conceptually illustrating an embodiment of measurement offset processing in one embodiment consistent with the present invention.
图37是用于说明在本发明中判定测量值前后差变动状态的开始条件的例图。Fig. 37 is a diagram for explaining an example of a start condition for judging the fluctuation state of the difference before and after the measured value in the present invention.
图38是用于说明在本发明中判定测量值前后差变动状态的结束条件的例图。Fig. 38 is an example diagram for explaining the end condition for judging the fluctuation state of the difference before and after the measured value in the present invention.
业已说明了符合本发明的多个实施例,下面,除了对这类实施例进行补充说明,还列举具体实施例方式。Multiple embodiments according to the present invention have been described, and below, in addition to supplementary descriptions of such embodiments, specific embodiments are also enumerated.
(1)在记载在上述技术手段中的反馈式加工条件校正装置和反馈式加工方法(以下简称本发明装置和方法)是反馈式加工条件校正装置模式加工方法(以下简称“装置和方式”)。上述校正值确定部成校正值确定工序,每当从测量仪测得新的测量值,就进行测量值前后差的变动状态的判断。并且,在各次测量值的前后差变动状态的判断中,把此前顺序测量的多个测量值分为有由先测量的至少1个测量值组成的测量值群和后测量的至少1个测量值的组成的含有最新测量值的后测量值群,分别确定了代表测量值群的代表值;并把两个代表值差做为测量值前后差。在当前测量值前后差小于上次测量值前后差,而且所述上次测量值前后差大于更前次测量值前后差的场合,即在表示随测量工件数增加测量值前后差出现极值时,判定当前测量值前后差的变动状态超过设定状态。(1) The feedback processing condition correcting device and the feedback processing method (hereinafter referred to as the device and method of the present invention) described in the above technical means are the feedback processing condition correcting device model processing method (hereinafter referred to as "device and method") . The above-mentioned correction value determining unit constitutes a correction value determining step, and judges the fluctuation state of the difference before and after the measured value every time a new measured value is measured from the measuring instrument. And, in the judgment of the fluctuation state of the difference between each measured value, the multiple measured values measured in the previous sequence are divided into a measured value group consisting of at least one measured value measured earlier and at least one measured value measured later. The post-measured value group containing the latest measured value is composed of values, and the representative values representing the measured value group are respectively determined; and the difference between the two representative values is used as the difference between the measured values. When the difference between the current measured value is smaller than the difference between the last measured value and the difference between the last measured value is greater than the difference between the previous measured value, it means that the extreme value of the difference between the measured value and the measured value increases with the number of measured workpieces. , it is judged that the fluctuation state of the difference before and after the current measured value exceeds the set state.
如图32所示,在这个实施例中,由1个测量值(在图中用圆圈表示)组成前测量值群和后期测量值群的场合,当这两个测量值群都不包含先头校正工件时的测量值前后差ΔHi-2、后测量值群包含先头校正工件测量值时的测量值前后差ΔHi-1、以及假定前测量群中包含先头校正工件的测量值、并且,在后测量值群包含后续先头校正工件的工件测量值时的测量值前后差用ΔHi表示。这样在图33的图中表示了3个测量值前后差ΔH随着测量数ΔH的增加的变化情况。即只是在后测量值群包含先头校正工件时的测量值前后差ΔH的变动状态超过设定状态变化。此时,可以判定此刻就是测量仪刚刚测量完先头校正工件的时刻。As shown in Fig. 32, in this embodiment, when the previous measurement value group and the later measurement value group are composed of one measurement value (indicated by a circle in the figure), when the two measurement value groups do not contain the first correction The difference ΔH i-2 of the measured value at the time of the workpiece, the difference ΔH i-1 of the measured value when the measured value of the post-measured value group includes the measured value of the first corrected workpiece, and the measured value of the first corrected workpiece is assumed to be included in the pre-measured group, and, in The difference before and after the measured value when the group of post-measured values includes the workpiece measured value of the subsequent first-calibration workpiece is represented by ΔH i . In this way, the change of the difference ΔH between the three measured values with the increase of the measured number ΔH is shown in the graph of FIG. 33 . That is, only the change state of the difference ΔH of the measured value when the subsequent measured value group includes the first calibration workpiece changes beyond the set state. At this time, it can be determined that this moment is the moment when the measuring instrument has just finished measuring the first calibration workpiece.
另外,如图34所示,在由2个测量值(在图中用圆圈表示)组成前测量值群和后测量值群的场合,当这两个测量值群都不包含先头校正工件的测量值和上述先头校正工件的后续校正工件测量值时的测量值前后差为ΔHi-4,,后测量值群包含有先期校正工件的测量值的测量值ΔHi-3,只在后测量值群含有先头校正工件的测量值和后续校正工件测量值两者时的测量值前后差为ΔHi-2、前测量值群中只包含先头校正工件的测量值。且后期测量值群含有2个后续校正工件测量值时的测量值前后差为ΔHi-1、前测量值群中含有先头校正工件的测量值和后续校正工件的测量值两者,并且,后测量值群含有2个后续校正工件测量值时的测量值前后差用ΔHi表示。这样如图35的图中所示,这5个测量值前后差ΔH随时间变化而发生变化。也就是说,当只有后测量值群含有先头校正工件和后续校正工件的测量值时,测量值前后差ΔH变动状态超过设定状态,此时可以判定,此刻就是先头校正的工件刚刚被测量仪测量完的时刻。In addition, as shown in Fig. 34, when two measured values (indicated by circles in the figure) are composed of a pre-measured value group and a post-measured value group, when neither of these two measured value groups includes the measurement of the first calibration workpiece The difference between the measurement value and the measurement value of the subsequent correction workpiece measurement value of the above-mentioned first calibration workpiece is ΔH i-4 , and the latter measurement value group contains the measurement value ΔH i-3 of the measurement value of the previous calibration workpiece, and only the latter measurement value When the group contains both the measurement value of the first calibration workpiece and the measurement value of the subsequent calibration workpiece, the difference before and after the measurement value is ΔH i-2 , and the previous measurement value group only includes the measurement value of the first calibration workpiece. And when the latter measurement value group contains two subsequent calibration workpiece measurement values, the difference between the measurement values is ΔH i-1 , the former measurement value group contains both the measurement value of the first calibration workpiece and the measurement value of the subsequent calibration workpiece, and, the latter When the measured value group contains 2 subsequent corrected workpiece measured values, the difference before and after the measured value is represented by ΔH i . Thus, as shown in the graph of FIG. 35 , the difference ΔH between the five measured values changes with time. That is to say, when only the post-measurement value group contains the measurement values of the first calibration workpiece and the subsequent calibration workpiece, and the fluctuation state of the difference ΔH before and after the measurement value exceeds the set state, it can be judged at this moment that the workpiece that is the first calibration has just been measured by the measuring instrument. The moment the measurement is completed.
(2)在(1)中所述的装置及方法,上述校正值确定部或校正值确定工序,在上述测量值前后差出现极值时,立即判定测量值前后差的变动状态超过设定状态。(2) In the device and method described in (1), the above-mentioned correction value determination unit or correction value determination process immediately determines that the variation state of the measurement value difference exceeds the set state when the above-mentioned difference between the front and back of the measured value has an extreme value. .
(3)在(1)中所述的装置及方法,上述校正值确定部分或校正值确定工程在上述测量值前后差取极值,并且,此时的测量值前后差超过设置值的时判定测量值前后差的变动状态超过设定状态的装置和方法。(3) In the device and method described in (1), the above-mentioned correction value determination part or the correction value determination process takes the extreme value of the above-mentioned measured value before and after the difference, and, at this time, when the measured value before and after the difference exceeds the set value, it is judged A device and method in which the fluctuation state of the measured value before and after the difference exceeds the set state.
按这个实施方式,在因为测量值反映校正值反映之外的原因也可以抑制,因这一个原因而确定不正确校正的问题,而使测量值变动的场合,达到了提高校正值确定精度的效果。According to this embodiment, it is also possible to suppress the problem of determining incorrect correction due to reasons other than the reflection of the measurement value and the reflection of the correction value, and the measurement value fluctuates, thereby achieving the effect of improving the accuracy of determination of the correction value. .
(4)本发明的装置和方法,校正值确定部或校正值确定工序,在上述测量值前后差超过设定值时,判定测量值前后差的变动状态超过设定状态的装置和方法。(4) In the apparatus and method of the present invention, the correction value determination unit or the correction value determination process is a device and method for judging that the fluctuation state of the difference between the measured values exceeds the set state when the difference between the measured values exceeds the set value.
所述实施方式利用测量值前后差在测量值前后差在其变动状态超过了设定状态的情况下,比没有超过设定状态时大这一事实,来间接地判定测量值前后差的变动状态超过设定状态的时期。The above-described embodiment utilizes the fact that the difference between the front and back of the measured value is greater than that when the difference between the front and back of the measured value exceeds the set state when the difference between the front and back of the measured value exceeds the set state, and indirectly determines the fluctuation state of the difference between the front and back of the measured value. The period of time beyond the set state.
(5)本发明的装置和方法,前述校正值确定部或校正值确定工序,在每次通过测量仪测量出新的测量值时,对测量值前后差的变动状态进行判别。并且,在每一次判定测量值前后差的变动状态中,把这之前按顺序测量的多个测量值分为先期测量的多个测量值组成的前测量值群和后期测量的多个测量值组成的包含的最新测量值的后测量值群。然后分别确定关于作为属于各测量值群的多个测量值整体的变化幅值。把这些2个变化幅值的差作为前述的测量值前后差。在这个测量值前后差值满足前测量群变化幅度的设定倍数以上和后测量值群的变化幅度的设定倍数以上中至少一个时,判定测量值前后差的变动状态超过了设定状态的装置和方法。(5) In the device and method of the present invention, the correction value determining unit or the correction value determining step discriminates the variation state of the difference between the measured values each time a new measured value is measured by the measuring instrument. And, in each determination of the fluctuation state of the difference between the measured values before and after, the multiple measured values measured in sequence before this are divided into the previous measured value group composed of the multiple measured values measured in the early stage and the multiple measured values composed of the post-measured values. The last measurement group that contains the most recent measurement. The magnitude of change is then determined in each case with respect to the entirety of the plurality of measured values belonging to the respective measured value group. The difference between these two change amplitudes is taken as the difference before and after the aforementioned measured value. When the difference before and after the measured value satisfies at least one of the set multiples of the change range of the previous measurement group and the set multiple of the change range of the rear measured value group, it is determined that the change state of the difference before and after the measured value exceeds the set state. Apparatus and methods.
(6)本发明的装置和方法,前述校正值确定部或校正值确定工序,在从各个校正值的确定时起到前述先头校正工件通过测量仪测量期间,每得到一个测量值,就把各测量值用与各校正值相同量的暂时偏移值,进行偏移,以此来进行前述测量值的预测;判定前述测量值前后差的变动状态超过设定状态时,从预测后测量值减去各个前述暂定移位量的影响后,把这个除去后的测量值前述测量值前后差的变动状态超过设定状态时的测量值前后差的值做为最终偏移量进行实际上相同量偏移。由此进行对前述暂定测量值预测的校正的装置和方法。(6) In the device and method of the present invention, the aforementioned correction value determination unit or correction value determination process, from the determination of each correction value to the period during which the aforementioned first corrected workpiece is measured by a measuring instrument, every time a measurement value is obtained, each The measured value is offset with the same temporary offset value as each correction value, so as to predict the above-mentioned measured value; After subtracting the influence of each of the aforementioned tentative displacements, the value of the difference between the front and back of the measured value after the removal exceeds the value of the difference between the front and back of the measured value when it exceeds the set state as the final offset, which is actually the same volume offset. A device and a method for correcting the aforementioned tentative measured value predictions are thereby carried out.
在这个实施方式中,如图36所示例,当测量值X为90时(单位任意),由于假定期望值为100,所以,校正值U的值为+10,那么确定暂定的偏移量为+10。因此,此时100作为预测后的测量值存贮起来。但是,由于这之后测量值X中反映的变动量只有+4,所以首先从测量值X中减去暂正的修正量+10,再在这个值中加上最后的偏移量+4,就能进行测量值预测的校正了。In this embodiment, as shown in Figure 36, when the measured value X is 90 (the unit is arbitrary), since the expected value is assumed to be 100, the value of the correction value U is +10, then the tentative offset is determined to be +10. Therefore, 100 is stored as the predicted measured value at this time. However, since the amount of change reflected in the measured value X after this is only +4, first subtract the temporary correction amount +10 from the measured value X, and then add the final offset +4 to this value, which is Correction of measured value prediction was able to perform.
(7)本发明的装置和方法,前述校正值确定工序,在从各个校正体的确定时起到用测量仪测量前述先头校正的工件时为止的期间不进行前述暂定的测量值预测,在判定前述测量值前后差变动状态超过设定状态时,把到那时已存储的各个测量值用测量值前后差的变动状态超过设定状态时的值做为偏移量进行实质上相同量的偏移,从而使前述暂定测量值预测得以校正的装置和方法。(7) In the device and method of the present invention, the aforementioned correction value determination step does not perform the provisional measurement value prediction during the period from the determination of each calibration body to the measurement of the previously calibrated workpiece with a measuring instrument. When it is determined that the fluctuation state of the aforementioned measured value difference exceeds the set state, the value when the fluctuation state of the measured value difference that has been stored until then exceeds the set state is used as the offset amount to carry out substantially the same amount. Apparatus and methods for correcting the aforementioned provisional measurement predictions.
(8)在(1)~(7)中的装置和方法,前述校正值确定部和校正值确定工序在前述后测量值群最初包含与假定预先设置上述待机工件数的最小值、实际的待机工件数是最小值相对应的上述先头校正工件用上述测量仪进行测量的测量值本身和只先于此测量值一次的测量值时,开始判定一连串的上述测量值前后差变动状态的装置和方法。(8) In the apparatuses and methods in (1) to (7), the correction value determining unit and the correction value determining step initially include the minimum value of the number of waiting workpieces set in advance and the actual waiting time in the post-measured value group. The device and method for starting to judge a series of fluctuation states of the above-mentioned measurement values when the number of workpieces is the measurement value itself measured by the above-mentioned measuring instrument and the measurement value that is only one time before the above-mentioned first calibration workpiece corresponding to the minimum value. .
并且,在图37中概念地示出了从属于各测量值群的测量值(在图中用圆圈表示)数为2并且待机工件数为最小值时,后测量值群最初包含用测量仪测量先头校正工件(在图中用黑色圆圈表示)的测量值本身时的一个例子。37 conceptually shows that when the number of measured values (indicated by circles in the figure) belonging to each measured value group is 2 and the number of waiting workpieces is the minimum value, the subsequent measured value group initially includes An example of correcting the measured value itself of the workpiece (indicated by a black circle in the figure) first.
(9)在(1)~(8)中的装置和方法,上述校正值确定部和校正值确定工序在上述先期测量值群最后包含与假定预先设置上述待机工件的最大值、实际的待机工件数是最大值相对应的上述先头校正工件用上述测量仪进行测量的测量值本身和其仅后于此测量值一次的测量值时,开始判定一系列的上述测量值前后差变动状态的装置和方式。(9) In the apparatus and method in (1) to (8), the correction value determination unit and the correction value determination process include, at the end of the preceding measurement value group, the maximum value of the standby work, the actual standby work, and When the number of the above-mentioned first calibration workpieces corresponding to the maximum value is the measured value itself measured by the above-mentioned measuring instrument and the measured value which is only one time after this measured value, the device for determining a series of fluctuation states of the above-mentioned measured value before and after the difference and Way.
并且,在图38中概念地示出了假定属于各测量值群的测量值(在图中用圆圈表示)数为2并且待机工件数为最大值时,先测量值群最后包含用测量仪测量先头校正工件(在图中用黑色圆圈表示)时的测量值本身时的一个例子。38 conceptually shows that assuming that the number of measured values (indicated by circles in the figure) belonging to each measured value group is 2 and the number of waiting workpieces is the maximum value, the measured value group first includes the measurement with the measuring instrument. An example of the measured value itself when correcting the workpiece (indicated by a black circle in the figure) first.
(10)在(1)~(9)中的装置和方法,上述校正值确定部和校正值确定工序在前述先测量值群包含与假定预先设置上述待机工件的最大值和最小值、实际的待机工件数是最小值相对应的上述先头校正工件用测量仪进行测量的测量值本身和只先于此测量值一次的测量值时,开始判定一连串的上述测量值前后差变动状态;在前述先期测量值群包含与假定预先设置上述待机工件的值和最小值、实际的待机工件是最大值相对应的上述先头校正工件用测量仪进行测量的测量值本身和只后于此测量值一次的测量值时,开始判定一系列的上述测量值前后变动状态的装置和方法。(10) In the apparatus and method in (1) to (9), the above-mentioned correction value determination unit and correction value determination process include and assume that the maximum value and minimum value of the above-mentioned waiting workpiece are set in advance, the actual When the number of workpieces on standby is the measured value of the above-mentioned pre-calibration workpiece measured by the measuring instrument corresponding to the minimum value and the measured value that is only one time before this measured value, start to judge a series of fluctuation states of the above-mentioned measured values; The measured value group includes the measured value itself of the above-mentioned leading calibration workpiece measured with a measuring instrument corresponding to the value and the minimum value of the above-mentioned standby workpiece assumed to be set in advance, and the actual standby workpiece is the maximum value, and the measurement value only once after this measured value. value, start to determine a series of devices and methods for the fluctuation state of the above-mentioned measured value.
(11)在(10)中的装置和方法,上述校正值确定部和校正值确定工序在一连串的测量值前后变动状态的判定中,当判定测量值前后差的变动状态不超过设定状态时,判定与假定实际的上述待机工件数是最小值或最大值对应的先头校正工件用测量仪测量的时期以及实际校正工件用测量仪测量时期的装置和方法。(11) In the device and method in (10), when the above-mentioned correction value determination unit and the correction value determination step determine the fluctuation state of the difference between the measurement values before and after a series of determinations, when it is determined that the fluctuation state of the difference between the measurement values does not exceed the set state An apparatus and a method for determining the timing of the measurement of the first calibration workpiece and the timing of the measurement of the actual calibration workpiece corresponding to the assumption that the actual number of workpieces on standby is the minimum value or the maximum value.
并且,特别在此实施例中,校正值确定工程在一系列的测量值前后差变动状态的判定中,当判定测量值前后差的变动状态不超过设定状态时,在判定假定实际待机工件数为最大值时的先头校正工件用测量仪测量的时期及实际的先头校正工件用测量仪测量的时期的实施例中,存在着作为确定新的校正值的空载时间的问题,回避了基于尚未反映校正值的测量值确定新的校正值的情况,有提高校正值可信度的益处。And, especially in this embodiment, in the determination process of the correction value determination process in a series of judgments of the fluctuation state of the front and rear difference of the measured value, when it is judged that the fluctuation state of the front and rear difference of the measured value does not exceed the set state, when judging the assumed actual number of workpieces on standby In the embodiments of the timing of the measurement of the lead correction workpiece with the measuring instrument when it is the maximum value and the actual period of the measurement of the lead correction workpiece with the measuring instrument, there is a problem of dead time for determining a new correction value, and the problem is avoided based on the fact that there is no Reflecting the measured value of the correction value to determine the new correction value has the benefit of improving the reliability of the correction value.
(12)作为(1)-(11)中的装置及方法,直接测量前面所提到的待测工件数的工件数计数器,使上述加工机输出一个工件计数器加1,每输入一个工件计数器减1。上述校正值确定和校正值确定过程是根据上述测量值前后差变动状态的判定结果,对由工件计数器计数的计数值进行校正。(12) As the device and method in (1)-(11), directly measure the workpiece number counter of the number of workpieces to be measured mentioned above, so that the above-mentioned processing machine outputs a workpiece counter plus 1, and each input workpiece counter decreases 1. The above-mentioned correction value determination and correction value determination process correct the count value counted by the workpiece counter according to the determination result of the fluctuation state of the difference before and after the measurement value.
(13)(12)的装置和方法,上述校正值确定部或校正值确定过程根据上述工件数计数器的计数值,来判定上述先头校正工件通过上述测量仪测量的时期。(13) The apparatus and method of (12), wherein the correction value determination unit or the correction value determination process determines a timing when the first calibration workpiece is measured by the measuring instrument based on the count value of the workpiece number counter.
在这种实施例中,因为校正值确定部或校正值确定过程利用工件数计数器以开路状态来制定先头校正工件通过测量仪测量的时期,在本发明中,不仅能享受作为提高对空载时间变动准确性的闭路状态的好处,而且也能享受作为早期确定先头校正工件的测量时期的开路方式的益处。In such an embodiment, since the correction value determination section or the correction value determination process uses the workpiece number counter in an open state to formulate the period when the first corrected workpiece is measured by the measuring instrument, in the present invention, not only the improvement of the dead time can be enjoyed Benefits of a closed-loop state of varying accuracy, but also the benefits of an open-loop approach as an early determination of the measurement period of a leading correction artifact can be enjoyed.
(14)本发明的装置和方法,上述校正值确定部或校正值确定过程逐次存储由测量仪所得的测量值,当被存储的测量值的数值达到设定的多个时,根据此存储成的设定的多个测量值,在逐次确定用加工机依次加工所得工件加工条件的校正值时,使上述先头校正工件通过测量仪测量的测量值的存储,从无存储状态再次重复操作的装置和方法。(14) In the device and method of the present invention, the above-mentioned correction value determining part or the correction value determining process successively stores the measured values obtained by the measuring instrument, and when the stored measured values reach a set number, the stored values are stored according to the measured values. When the multiple measured values set by the processing machine are successively determined to correct the correction values of the processing conditions of the workpiece obtained by sequentially processing the workpiece, the above-mentioned first corrected workpiece is stored through the measurement value measured by the measuring instrument, and the device is repeatedly operated from the non-storage state and methods.
8.2实例8.2 Example
以下,用图来详细说明本发明的更具体的实例一反馈式尺寸控制点校正装置。Hereinafter, a more specific example of the present invention, a feedback type size control point correction device, will be described in detail with the help of figures.
这个尺寸控制点校正装置与以机动车发动机的曲轴为加工工件,把曲轴上已有的多个轴径表面为加工部位,进行圆柱研磨的加系统配套使用。This size control point correction device is used in conjunction with a machining system that takes the crankshaft of the motor vehicle engine as the workpiece, and uses the existing multiple shaft diameter surfaces on the crankshaft as the processing parts for cylindrical grinding.
如图1所示,在这里曲轴的轴径表面是由7个相互同轴并排的外周圆柱面构成。As shown in Figure 1, the shaft diameter surface of the crankshaft here is composed of seven outer peripheral cylindrical surfaces coaxially arranged side by side.
如图2所示,加工系统由加工线、加工机10、2个加工过程检测仪(图中只表示了一个)、尺寸控制装置14、电机控制器15、后序加工测量仪16、控制装置20、辅助记忆装置22组成。也就是说,加工机10是各申请项的发明中的“加工机”的一个例子;尺寸控制装置14和电机控制装置15是“加工机控制装置”的一个例子;加工过程测量仪16是“测量仪”的一个例子;控制装置20是“反馈式加工条件校正装置”的一个例子。下面具体说明这些各要素。加工线在图中用带有箭头的粗实线来表示,它是用于多个加工件排成一排,从上流侧到下流侧(在图中是从左到右)的搬送。As shown in Figure 2, the processing system consists of a processing line, a
加工机10是用于对曲轴的7个轴径表面,以圆状形磨石为加工工具,进行圆柱研磨。具体的讲,如图3所示,加工机10是多个磨石同轴排成磨石群30,通过与曲轴的接触回转来对所有轴径表面同时进行圆柱研磨的多层研磨盘。The processing
加工机10,备有用于工件的工件平台32。这个工件平台安装在加工机10的主框架(图中没有表示出)上。在工件平台上设有固定工件绕轴线可以回转的固定装置(图中没有示出)和让被固定的工件回转的工件电机34。The processing
加工机10还备有用于磨石群前进·后退的平台36和摆动平台。前进·后退平台安装在前述主框架上,并使之能在与固定在工件平台相垂直方向做往复运动。一方面,摆动平台安在前进·后退平台上,它能以在磨石轴线(图中用一点划线表示)上侧并与之垂直的摆动轴线为中心摆动。The processing
前进·后退平台36的前进·后退是靠固定在主枢架的前进后退电动机40来实现,摆动平台38的摆动是通过固定在前进后退平台36上的电动机42来实现。也就是说,在加工机10中,能通过摆动电动机42来调整磨石轴线加工件回转轴线相成的角度。The advancement and retreat of the forward and backward platform 36 are realized by the forward and backward motor 40 fixed on the main pivot frame, and the swing of the swing platform 38 is realized by the motor 42 fixed on the forward and backward platform 36 . That is, in the
前述2个加工过程测量仪12安装在加工机10上。如图1所示,这些加工过程测量仪有一对能把一个圆柱面从外两侧挟住的测量子,它通过电气方式来测量圆柱体直径。不是7个轴径表面都配有这些加工过程测量仪12,如图所示一样,只对两端的轴径表面,即第1轴径表面和第7轴径表面才配有。The aforementioned two machining
如图3所示,前述尺寸控制装置14与加工过程测量仪是各自相连的。尺寸控制装置14是由含有CPU、ROM、RAM以及总线的计算机为主体来构成。如图4中用构成块形式概念性地表示,在加工机10研磨过程中,通过加工过程测量仪12来监视2个端圆柱面各自的直径,并把当各端圆柱面的剩余切入量(到达最终尺寸必要的切入量)达到各设定值时(以后称“设定量到达信号”)的信号,以及当达到最终尺寸(存在于各端圆柱面)时的信号,区分不同端圆柱面输出给电动机控制装置15。As shown in FIG. 3, the aforementioned
尺寸控制装置14,能对各尺寸控制点进行校正。具体来讲,如果从前述控制装置20得到校正值U(存在于各圆柱面),就把各校正值U加到现在的尺寸控制点。由此来改变现在的尺寸控制点。如果没有得到校正值就保持现在的各尺寸控制点。即尺寸控制装置是通过控制装置20来自动校正尺寸控制点。如图3所示,前述电动机控制装置15与那些尺寸控制装置14,前进·后退电动机40等连在一起。电动机控制装置15是根据操作者的指令以及从尺寸控制点来的信号来控制前进后退电动机40。The
加工机10是通过粗磨、精磨、及火花放出等几个阶段来完成一次圆柱研磨过程。粗度用于剩余切入量达到设定值之前,精磨用于直径达到前述尺寸控制点之前。一般来讲,从尺寸控制装置14供给的、各端圆柱面的2个设定量到达信号的供给时间是不一致的。在粗磨阶段,对应信号供给时间的不一致,控制前进后退电动机40及摆动电动机42,由此来控制适当的切入角。在精磨阶段,因为之前进行的粗磨中切入角已经达到了适当值,所以电动机控制器15,只对前进后退电动机40的控制来进行磨石群30对工件的切入。只要有二个圆柱面的任何一个尺寸控制点到达信号,就先停止前进后退电动机40,然后进行火花放出后再把前进后退电动机按反方向转动,由此完成磨石群30的退却。The processing
如图2所示,前述加工后测量仪16配置在加工线及加工机的下流侧。加工后测量仪16的数目与1个加工工件的圆柱面的个数相同。它是用与加工过程测量仪12相同的方法,对从加工机出来的所有工件,按顺序对所有圆柱面进行一个个的直径测量。这个加工后测量仪16,连接在前述控制装置20的输入侧。As shown in FIG. 2 , the post-processing measuring
前述控制装置20是由含CPU、ROM、RAM以及总线的计算机为主体构成。在ROM中事先存储着尺寸控制点校正程序。而且这个控制装置20与前述辅助记忆装置22接在一起。能存储从后序加工测量仪16得到的测量值X,以及根据它来确定的校正值U的全部值。是因为完成一连串加工后,操作者诊断加工状况时的需要。RAM中有后述的校正值运算用存储部分、校正反应信息运算用存储部分等各种存储部分和后述的校正反应前标志等各种标志。The
图5~9用流程图表示了上述尺寸确定校正程序的主要部分。根据这些图,首先对控制装置20的构成,简略说明一下。5 to 9 are flow charts showing the main parts of the above-mentioned sizing correction program. Based on these figures, first, the configuration of the
如图4用功能块图概念性所示,这个控制装置是通过反馈、加工后测量仪16的测量值X来确定加工机下次加工的工件的尺寸确定点校正值U。As shown conceptually in the function block diagram of FIG. 4 , the control device determines the size determination point correction value U of the workpiece to be processed next time by the processing machine through feedback and the measured value X of the measuring
对这个加工系统来说,加工机10和后序加工测量仪16之间至少有1个等待加工后测量仪16的测量的工件。因此,可以认为这个控制装置20是以校正值U为输入信号、尺寸信息为输出信号,而且输入信号和输出信号间有空载时间MS的控制系统。它是通过反馈方式,校正尺寸控制点。即在本实例中,尺寸控制点就是各申请项的发明中的“加工条件”的一种形态。For this processing system, there is at least one workpiece waiting to be measured by the post-processing measuring
用图10简单说明了这个控制装置20的处理过程。首先,第1步,从后序加工测量仪16,输入测量值X。接着第2步为了从测量值X中消除接触扰动,对到现在为止,得到的所有测量值X算出移动平均值P。每次,从后序加工测量仪16得到测量值X,就在前述校正值运算用存储空间中存储起来,并根据这些存储的多个测量值X来计算移动平均值P。第3步,对移动平均值P进行两端直径校正(后面详细说明)。在第4步,根据已被进行两端直径校正的移动平均值P,算出移动平均值P和工件加工尺寸期望值A0差即误差值R,以及误差值R的微分值T等尺寸信息。第五步,将根据这些尺寸信息,进行模糊计算机用模糊推理来计算校正值U。接着第六步考虑连续性,对计算出的校正值U进行校正。第7步,把校正值U送到尺寸控制装置14,然后根据校正值,加工机10加工工件。The processing procedure of this
也就是,在本实例中,图10的第1步~第7步以及根据校正值U进行的整个加工过程,就是与权利要求3和4的各发明有关的“反馈式加工方法”的一个实例。That is, in this example, the first step to the seventh step in Fig. 10 and the entire machining process carried out according to the correction value U are an example of the "feedback machining method" related to the inventions of
这个控制装置20,收到工件的7个轴颈表示的所有测量值X,但它基本上还是根据第1轴颈表面和第7轴颈表面的测量值X(即各端圆柱面的测量值)来确定尺寸装置14的、对应各端圆柱面的校正值U。This
以上简单说明了上述控制装置20的整体流程,下面分别说明在这个流程中的各个概念。The overall flow of the above-mentioned
首先,对求解移动平均值(图10的第2步)进行说明。First, the calculation of the moving average (
测量值X从后序处理测量仪16取得时间序列数据时,多个相邻区间不平均。这样,在本实施例中,为了除去相邻区间的不平均判定工作的实际尺寸,就当前测量值X和到上次为止所得的至少1个最新测量值重新算出移动平均值,这样使用的是测量值X的真实值。When the measured value X acquires time-series data from the post-processing measuring
依次求出所述移动平均值,也就是说,基于截止到当前所得到的最新K(2以上的常数)个测量式,使用如下式(K=5的场合)的计算公式算出当前的移动平均值Pi。The moving average is calculated sequentially, that is, the current moving average is calculated using the calculation formula of the following formula (in the case of K=5) based on the latest K (constants greater than 2) measurement formulas obtained so far value Pi.
〔数1〕
这里i表示用后序加工测量仪测量的工件数(以下称测量工件数)。Here, i represents the number of workpieces measured by the post-processing measuring instrument (hereinafter referred to as the number of measured workpieces).
并且,〔bi-4〕~〔bi〕是为求解当前移动平均值Pi必要的测量值X的数(=K)及同数重的系数。In addition, [ bi-4 ] to [bi ] are the number (=K) of measured values X necessary to obtain the current moving average P i and coefficients of the same number.
其次,对两端直径校正(图10中的第3步)进行说明。Next, the diameter correction at both ends (
在这个接续控制装置20的加工系统中,如前所述,砂轮组30基于工件的全圆筒面内的2个端圆筒面的直径动作。为此,在仅考虑2个端圆筒面的测量值而不考虑其他圆筒面测量值为校正尺寸控制点的场合,多个圆筒面的加工精度对这类整体来说十分均等。In this processing system of the
因此,在本实施例中,为解决这个问题,采用了下面技术。也就是说,如图11的图概念表示的那样,假定在工件中各个圆筒面的轴方向位置(在图中用〔1J〕~〔7J〕表示)和各个圆筒面的直径(即移动平均值P)存在着比例关系,所以采用了分别校正2个端圆筒面的称做测量值X的两端直径校正的技术。Therefore, in this embodiment, in order to solve this problem, the following technique is adopted. That is to say, as shown conceptually in Fig. 11, assuming that the axial position of each cylindrical surface in the workpiece (indicated by [1J] to [7J] in the figure) and the diameter of each cylindrical surface (that is, the movement The average value P) has a proportional relationship, so a technique of correcting the diameters of both ends called the measured value X is used to correct the two end cylindrical surfaces separately.
上述两端直径校正的一个具体例子见于下。即,采用了两端直径校正计算式和式A specific example of the above diameter correction at both ends is shown below. That is, the two-end diameter correction calculation formula and the formula
〔数2〕
x:轴颈表面编号(从第1个轴径表面向第7个轴颈表面由1到7增加)x: journal surface number (increase from 1 to 7 from the 1st shaft diameter surface to the 7th journal surface)
x′:7个x值的平均值x': average of 7 x values
y:在x的各个值中的移动平均值P的修正边y: Corrected side of the moving average P at each value of x
P:在x的各个值中的移动平均值P的计算值P: Calculated value of the moving average P among the various values of x
具体地说,对第1个轴径表面,通过把1代入上式的“ x”,取得移动平均值P的修正值y1;对第7个轴径表面,通过把7代入上述的x,取得移动平均值P的修正值y7。Specifically, for the first shaft diameter surface, by substituting 1 into "x" in the above formula, the correction value y 1 of the moving average P is obtained; for the seventh shaft diameter surface, by substituting 7 into the above-mentioned x, The corrected value y 7 of the moving average P is obtained.
另外,在本实施例中,根据操作者的命令确定是否进行两端直径校正。In addition, in the present embodiment, whether to perform both end diameter correction is determined according to the operator's command.
下面说明尺寸控制信息(图10的第4步)的取得。Next, acquisition of size control information (
在从工件取得的尺寸信息,不仅有误差值R,而且还有微分值T。误差值R是“尺寸误差”的一种形式,微分值T是尺寸误差变化倾向的一种形式。The dimensional information obtained from the workpiece includes not only the error value R but also the differential value T. The error value R is a form of "dimensional error", and the differential value T is a form of the tendency of the dimensional error to change.
这样,也基于误差值R的外的参数来确定校正值U,与只基于误差值R确定校正值U时相比,在这个也基于微分值T确定校正值U时相比,能够正确地推定加工机10和工件的实际状态,提高尺寸控制点的校正精度。In this way, the correction value U is also determined based on parameters other than the error value R, and it is possible to accurately estimate The actual state of the
这里,对微分值T的计算进行说明。Here, calculation of the differential value T will be described.
微分值T,如图12的图概念所示,作为原则,假定由当前取得的误差值和截至上次为止所取得的最新的至少1个误差值R构成的L(大于2的常数)个误差值R测量工件数i的增加成比例,这样来特定给2个误差值R的一次回归线,把梯度作为微分值T(与1次回归线的倾角作为弧度一致)来取得梯度。具体地说,例如,采用作为1次回归线的式子:The differential value T, as shown in the diagram concept in Fig. 12, assumes, as a principle, L (constant greater than 2) errors consisting of the currently obtained error value and at least one latest error value R obtained up to the last time. The value R is proportional to the increase in the number of workpieces i. In this way, the primary regression line for two error values R is specified, and the gradient is obtained as a differential value T (consistent with the inclination angle of the primary regression line as radians). Specifically, for example, the expression as a linear regression line is adopted:
〔数3〕
式中:In the formula:
x:测量工件数i的值x: Measure the value of workpiece number i
x′:L个x值的平均值x': the average of L x values
y:在x的各个值中误差值R的实际值y: the actual value of the error value R in each value of x
R:在x的各个值中误差值R的计算值R: the calculated value of the error value R in each value of x
R′:L个误差值R的计算值的平均值R': the average value of the calculated values of L error values R
并且and
〔数4〕
的值成为微分值T。The value of becomes the differential value T.
下面,对模糊运算(图10的第5步)进行说明。Next, the fuzzy operation (
在本实施例中,采用了把误差值R和微分值T分别作为输入参数进行模糊推论。为此,在控制装置20的ROM中预先记忆用于模糊推论的数据。为于模糊推论,再有数据和具体的(a)推论程序(b)与误差值R、微分值T及校正值U等有关的多个元函数,(c)规定这类误差值R、微分值T和校正值U相互关系的多个模糊规则。In this embodiment, the error value R and the differential value T are respectively used as input parameters for fuzzy inference. For this reason, data for fuzzy inference is stored in advance in the ROM of the
对误差值R、预备与由负向正增加按“NB”、“NM”、“NS”、“ZO”、“PS”、“PM”和“PB”顺序变化的7个模糊标记,各自无函数的图13的图所示。For error value R, preparation and 7 fuzzy marks that change from negative to positive in the order of "NB", "NM", "NS", "ZO", "PS", "PM" and "PB", each has no The graph of the function is shown in Figure 13.
微分值T在预备了由负向正增加按“NB”、“NS”、“ZO”、“PS”和“PB”顺序变化的5个模糊标记时,各自元函数如图14的图所示。When the differential value T is prepared with 5 fuzzy marks that change from negative to positive in the order of "NB", "NS", "ZO", "PS" and "PB", the respective meta-functions are shown in Figure 14 .
对校正值U,预备与由负向正增加按“ NB”、“NM”、“NS”、“ZO”、“PS”、“PM”和“PB”顺序变化的7个模糊标记,各自元函数如图15的图所示。并且,校正值U增加时,尺寸控制点变高,由轴的轴径表面部直径变大,反之,校正值U减少时,尺寸控制点变低,由轴的轴径表面直径变小。For the correction value U, prepare and increase from negative to positive 7 fuzzy marks that change in the order of "NB", "NM", "NS", "ZO", "PS", "PM" and "PB". The function is shown in the graph of Figure 15. And, when the correction value U increases, the size control point becomes higher, and the surface diameter of the shaft diameter becomes larger. On the contrary, when the correction value U decreases, the size control point becomes lower, and the shaft diameter surface diameter becomes smaller.
〔表1〕
由表1可知模糊规则的一例:An example of fuzzy rules can be seen from Table 1:
If R=NB和T=NS那么U=PBIf R=NB and T=NS then U=PB
对这个模糊规则群的设计想进行说明。The design of this fuzzy rule group would like to be explained.
这个模糊规则群被设计成:误差值R的模糊标志增加时,校正值U可以增加也可以减少;微分值T增加时,校正值U的值减少。This fuzzy rule group is designed as follows: when the fuzzy sign of the error value R increases, the correction value U can increase or decrease; when the differential value T increases, the value of the correction value U decreases.
并且,具体地说,依次出现在例如表1的模糊规则表中。也就是说,例如,在微分值T为“NS”时,对误差值R增加的校正值U按“PB”、“PM”、“PS”、 ZO”、“ZO”、“NS”和“NM”顺序减少。另外,在误差值R为“NM”时,与微分值T按“NS”、“ZO”和“PS”依次增加相对应的校正值按“PM”、“PM”、“PS”减少。And, specifically, appear sequentially in a fuzzy rule table such as Table 1. That is, for example, when the differential value T is "NS", the correction value U added to the error value R is "PB", "PM", "PS", ZO", "ZO", "NS" and " NM" decreases in order. In addition, when the error value R is "NM", the correction value corresponding to the differential value T increases in order of "NS", "ZO" and "PS" in order of "PM", "PM", " PS" decreases.
在加工测量仪12因任何原因而导致故障时,这种情况下的测量精度急剧地大大降低,工件的尺寸精度也就急剧地大大降低。即便在加工中测量仪12正常工作时确定校正值U,工件实际的尺寸精度恐怕也会从允许公差范围内偏移出去。When the
这样的事情很多。在根据后序加工测量仪16的测量值X分别急剧减少变得相当小或急剧增加变得相当大时,设计成使校正值U分接近于0。这样在加工中测量仪口发生故障时,不理会其后的输出信号,把到上一次为止的尺寸控制点也视为适合当前进行加工,那么受加工测量仪12的故障影响不会太大,有可能维持高的工件尺寸精度。There are many such things. When the measured value X by the post-process measuring
具体地说,例如在表1的模糊规则表中的如下所示。即:分别在误差值R为“NB”或“NM”,且微分值R为“NM”、微分值T为“NB”时和误差值R为“PM”或“PB”,且微分值T为“PB”时,校正值都是“ZO”。Specifically, for example in the table of fuzzy rules in Table 1 are as follows. That is: when the error value R is "NB" or "NM", and the differential value R is "NM", the differential value T is "NB" and the error value R is "PM" or "PB", and the differential value T When it is "PB", the correction value is "ZO".
并且,在上述第5步的模糊运算中,为了即便存在空载时间而仍然很好地确定高精度的校正值U,采用了作为校正值确定方式的第1校正值确定方式和第2校正值确定方式。In addition, in the fuzzy calculation in the fifth step above, in order to determine the correction value U with high precision even if there is a dead time, the first correction value determination method and the second correction value determination method are used as correction value determination methods. Determine the way.
在第1校正值确定方式中,如图16所示,根据后序加工后测量仪的测量值被逐次存储。当存储的测量值X的数在设定的个数时,基于这样存储的设定多个测量值X,来确定用加工机在下一级加工的工件的尺寸控制校正值U。更进一步,在这种方式中,在根据受确定的最新校正值U影响的尺寸控制点进行最初加工的工件中,每次用后序加工测量仪16测量先头校正工件时,从测量开始时的测量值X的存储从无存储状态重新开始,基于存储的设定个数的测量值来确定新的校正值U。In the first correction value determining method, as shown in FIG. 16 , the measurement values of the measuring instrument after subsequent processing are sequentially stored. When the number of stored measured values X is the set number, based on the set measured values X thus stored, the dimensional control correction value U of the workpiece processed by the processing machine at the next stage is determined. Further, in this manner, in the workpiece that is initially processed based on the dimensional control points affected by the determined latest correction value U, each time the fore-calibration workpiece is measured with the post-processing measuring
而且,在本实施例中,继上述校正即主校正还可以按操作者的指令进行辅助校正。本来相邻的二次主校正之间,应完全没有其它校正,但从提高主校正的精度的意义来考虑,可以在主校正后的一定期间内,可以在不清除校正值运算用存储数据情况下,确定校正值。Furthermore, in this embodiment, sub-calibration may be performed following the above-mentioned main calibration, which is an instruction from the operator. Originally, there should be no other calibrations at all between adjacent secondary main calibrations, but considering the significance of improving the accuracy of the main calibration, it is possible to store data for calibration value calculation without clearing the stored data within a certain period of time after the main calibration. Next, determine the correction value.
在这里,主校正是指,依次存储测量值X,当存储的测量值X的个数达到设定数时,则根据存储的设定数个测量值X,来确定暂定校正值UP,并把它直接当作最终校正值UF的校正。Here, the main calibration refers to sequentially storing the measured values X, and when the number of stored measured values X reaches the set number, the provisional correction value U P is determined according to the stored set measured values X, And take it directly as a correction for the final correction value UF .
与此相比,“辅助校正”是指,即使在主校正结束以后,也继续把测量值X存储起来。每得到新的测量值X,就根据校正值运算用存储器中存储的多个测量值X中最新的设定数个测量值X,利用与主校正相同的方法,算出各次的暂定校正值UP。然后把各次暂定校正值UP减去前次暂定校正值UP来做为最终校正值UF。在这个辅助校正中,按与主校正相同的方法确定的暂定校正值UP,不直接给尺寸控制装置14,而是减去前次暂定校值后再送给尺寸控制装置14。下面说明这个原因。In contrast, "auxiliary calibration" means that the measured value X continues to be stored even after the main calibration has ended. Every time a new measurement value X is obtained, the tentative correction value for each time is calculated by the same method as the main calibration based on the latest set measurement value X among the multiple measurement values X stored in the memory for correction value calculation. UP . Then, each provisional correction value U P is subtracted from the previous provisional correction value U P to be the final correction value U F . In this auxiliary calibration, the provisional correction value U P determined by the same method as the main calibration is not directly given to the
对辅助校正来说,本来应该是根据受先进行的主校正影响的工件的测量值X,来确定最终校正值UF。但是,在有些情况,受主校正影响的工件,在加工完后不能直接由后序加工测量仪16测量,而是经过几个其它工件的测量之后,才开始被测量。因此,在本实例中,为了在下次被加工工件的尺寸控制中不重复反映主校正的作用,在结束与主校正有关的先头校正工件的前一个工件的测量期间,根据各次测量值X,按与主校正相同的方法,确定校正值U,即暂定校正值UP。然后,减去主校正的最终校正值UF的作用,就是辅助校正的最终校正值UF。以上,说明了主校正和辅助校正的关系,在辅助校正中,某一次和此前一次的关系也是一样的。For secondary corrections, the final correction value U F should be determined on the basis of the measured value X of the workpiece affected by the preceding main correction. However, in some cases, the workpiece affected by the main calibration cannot be measured directly by the post-processing measuring
还有,在本实施中,某一次主校正后进行的辅助校正次数是确定的。也就是,在一系列辅助校正的最终校正值UF的确定次数将被检测,当这个检测到的确定次数达到设定值时,将结束这一系列辅助校正。Also, in this implementation, the number of auxiliary calibrations to be performed after a certain main calibration is determined. That is, the number of determinations of the final correction value U F in a series of auxiliary calibrations will be detected, and when the detected number of determinations reaches a set value, the series of auxiliary calibrations will end.
但是,只做到这些,还不能把主校正及辅助校正的进行时期与测量值X的变动时期配合得十分好。有可能在真正需要主校正和辅助校正时候,却不进行校正。为了避免这种情况,在本实例中,根据操作者的指令,当一系列辅助校正的最终校正值UF的确定次数达到设定值时候,如果主校值及一系列辅助校正当中,至少一系列辅助校正的多个最终校正值UF的和实质上不等于0,就结束一系列辅助校正,如果实质上等于0,则至少可以认为这次的辅助校正的实行时期是不合适的,因此继续实行辅助校正的同时最终校正值UF的确定次数的测定从0重新开始。However, this is the only way to match the timing of the main calibration and the auxiliary calibration with the fluctuation timing of the measured value X. It is possible that the primary and secondary corrections are not performed when they are really needed. In order to avoid this situation, in this example, according to the instruction of the operator, when the number of determination times of the final correction value U F of a series of auxiliary corrections reaches the set value, if at least one of the main correction value and a series of auxiliary corrections is If the sum of multiple final correction values U F of the series of auxiliary corrections is not substantially equal to 0, the series of auxiliary corrections will end. If it is substantially equal to 0, at least it can be considered that the implementation period of this auxiliary correction is inappropriate, so The determination of the number of determinations of the final correction value U F is restarted from zero while the auxiliary correction is continued.
在本实例中,做为校正值确定方式,分为只有主校正而不实行辅助校正的方式和除主校正还可实行辅助校正的方式。到底采用什么方式由操作者的指令来确定,如果有辅助校正的指令,就采用后一种方式,否则采用前一种方式。而且,辅助校正方式也可分为进行辅助校正方式和不进行辅助校正的方式。这由操作者的指令来确定。In this example, as the method of determining the correction value, it is divided into a method in which there is only main correction without performing auxiliary correction, and a method in which auxiliary correction is performed in addition to the main correction. Which method to use is determined by the operator's instruction. If there is an instruction for auxiliary correction, the latter method is used, otherwise the former method is used. Moreover, the auxiliary correction method can also be divided into a method with auxiliary correction and a method without auxiliary correction. This is determined by the operator's instructions.
接着说明第2种校正值确定方式。第2种校正值确定方式也与第1种方式一样,测量值依次被存储,当被存储的测量值X的个数达到设值值时,就根据这些被存的设定数个测量值X来确定新的校正值。但是在这个方式中,从确定校正值U起,测量值X的存储从无存储状态重新开始。从确定各校正值到加工后测量仪16检测到受校正值U影响的先头校正工件为止的期间,每当得到新测量值X,就根据各测量值X和各校正值U,在假定这些工件是按受校正值影响的尺寸控制点加工出的情况下,预测工件的测量值。把预测后的测量值X当做实际测量值来存储,然后根据这些存储的设定数个测量值X来确定这次校正值。Next, the second correction value determination method will be described. The second method of determining the correction value is the same as the first method, the measured values are stored sequentially, and when the number of stored measured values X reaches the set value, the number of measured values X will be calculated according to these stored settings. to determine the new calibration value. In this manner, however, the storage of the measured value X starts anew from the no-stored state as soon as the correction value U has been determined. During the period from the determination of each correction value to the post-process measuring
具体由图17中所示,在空载时间期间也存储数据。在这个数据存储阶段,测量值X不直接被存,而是按图中用破折线表示的那样,进行偏移后存储起来,是进行数据偏移。其偏移量,暂定为在这以前确定的校正值中,还没在测量值X中反映的校正值的和。在图例中,因为从校正值确定开始到校正值U在测量值X中反映之前,没有确定其它校正值U,所以它的暂定偏移量与校正值U一致。但是如图22和23所示,从确定校正值U1开始到它被测量值X反映出之前有另一个校正值U2。这种情况下,在另一个校正值U2确定以后,校正值U1和U2的“和”成为暂定偏移量。As shown in particular in FIG. 17, data is also stored during dead time. In this data storage stage, the measured value X is not directly stored, but is stored after being offset as shown by the dashed line in the figure, which is data offset. The offset amount is tentatively defined as the sum of the correction values not yet reflected in the measured value X among the previously determined correction values. In the illustration, since no other correction value U is determined from the start of the correction value determination until the correction value U is reflected in the measured value X, its tentative offset coincides with the correction value U. However, as shown in FIGS. 22 and 23, there is another correction value U2 from the time the correction value U1 is determined until it is reflected by the measured value X. In this case, after another correction value U2 is determined, the "sum" of the correction values U1 and U2 becomes the provisional offset.
而且,在第2种校正值确定方式中,受校正值U影响的先头校正中件被后序加工测量仪16测量后,从以前被预测的各测量值X中减去暂定偏移量来复原。然后在已复原的原测量值X上加上最终偏移量来进行测量值预测的校正。实质上也就是,在预测前的测量值X即原测量值X上,直接加最终偏移量。对最终偏移量的确定在后面详细说明。Moreover, in the second way of determining the correction value, after the first part of the correction affected by the correction value U is measured by the post-process measuring
第2种校正值的确定方式也跟第1种校正值确定方式一样,可以由操作者的指令选择多种方式。The second method of determining the correction value is the same as the first method of determining the correction value, and multiple methods can be selected by the operator's instruction.
接着,说明连续性考虑问题(图10的第6步)。如同前述,一般来讲随着测量值数i的增中工件尺寸误差几乎成正比增加,因此应使尺寸控制校正值U具有连续性,即为抑制加工工件尺寸不齐,应使随加工的进行平滑变化。Next, the issue of continuity consideration (
因此,在本实例中,如图18概念地的表示,着眼于这个事实,首先不考虑连续性确定校正值U,把它做为暂定值(以下称“暂定校正值”,与后述的暂定校正值UP不同)。假定到这次为止取得的最新M个(2个以上)暂定校正值随测定工件数i的增加几乎成正比,根据这些M个暂定校正值U得到与前述场合一样形式的一次回归线。然后,根据这个式子推出当前校正值U的真实值,并把它做为校正值U的最终值(以后称“最终校正值”),它与所述的最终校正值UF不同)。Therefore, in this example, as shown conceptually in Figure 18, focusing on this fact, at first the correction value U is determined without considering the continuity, and it is used as a provisional value (hereinafter referred to as "provisional correction value", which is related to the following The tentative correction value UP is different). Assuming that the latest M (more than 2) provisional correction values acquired so far are almost proportional to the increase in the number of measured workpieces i, a linear regression line of the same form as the previous case is obtained from these M provisional correction values U. Then, deduce the real value of the current correction value U according to this formula, and use it as the final value of the correction value U (hereinafter referred to as "final correction value"), which is different from the final correction value U F ).
具体地,一次回归线的式子如采用式:Specifically, the formula of a linear regression line is as follows:
〔数5〕
式中:In the formula:
x:测量工件数i的值x: Measure the value of workpiece number i
x′:M个值的平均值x': average of M values
y:x各组中的暂定校正值U的实际值y: the actual value of the tentative correction value U in each group of x
U:x各组中的暂定校正值U的计算值U: Calculated value of tentative correction value U in each group of x
U′:M个暂定校正值U的计算值的平均值U': the average value of the calculated values of M provisional correction values U
所以,如果把这次测定的工作数i的值代入上述式中的x,就得到这次的最终修正值U*。Therefore, if the value of the work number i measured this time is substituted into x in the above formula, the final corrected value U * of this time will be obtained.
此外,在本实施例中,连续性考虑型修正的实行与否是由操作者指令的。In addition, in the present embodiment, the execution or non-execution of the continuity-considered correction is instructed by the operator.
还有,在图19中概念性的、有代表性地表示了操作者发生连续性考虑型修正指令时,由测量值x得到最终修正值U*的过程,在这个图中,在左向右,表示了测量工作数i的值逐渐增加。从图中清楚地看出,开始由无存储状态把测量值x存储到修正值运算存储器,存储了(K+L+M-2)个测定值x时得到最初一个最终修正值U*,这是有关测定值x的存储的“设定多个”的一例。In addition, in Fig. 19, the process of obtaining the final correction value U * from the measured value x is conceptually and representatively shown when the operator issues a continuous consideration type correction order. In this figure, from left to right , indicating that the value of the measurement work number i increases gradually. It can be clearly seen from the figure that the measured value x is initially stored in the correction value operation memory from the non-storage state, and the initial final correction value U * is obtained when (K+L+M-2) measured values x are stored, which means It is an example of "setting a plurality of" related to the storage of the measured value x.
以上,概括地说明了由控制装置20进行的尺寸控制点校正的内容。以下,基于表示尺寸控制点校正程序的流程图5-9,具体地说明。The content of the size control point correction performed by the
首先,图5的阶段S1(以下简单地用S1表示,其它的阶段也用相同的方式表示)从键盘50或辅助记忆装置22把数值或指令作为参数输入。然后,在S2中,从后序加工测量仪16输入新的测量值x。测定值x由所有的7个轴径表面依次逐个输入。测量值x由校正值运算存储器和校正反映信息运算存储器各自存储。First, in stage S1 of FIG. 5 (hereinafter simply referred to as S1, and other stages are also shown in the same manner), numerical values or instructions are input from the
在S3中,判定校正反映前标志是否在“ON”状态,校正反映前标志是用于标志尺寸控制装置14上的尺寸控制点,它受修正值U的影响后加工成的至少一个工件中,最前面的先头校正工件由否由后序加工测量仪测量到,即测定值x是否已反映了校正值U。如果修正反映前标志是off,表示先头校正工件已结束测量,也就是处于校正反映后的状态。另一方面,校正反映前标志是ON,表示先头校正工件还没结束测量,也就是处于校正反映前的状态。In S3, it is determined whether the flag before correction and reflection is in the "ON" state. The flag before correction and reflection is used to mark the size control point on the
再者,即使一系列的加工开始了,但在最初完成的加工工件,到达后序加工测量仪16之前,测量值x是不存在的。在最初的一系列加工中,通常是由操作者用手动校正定位点。因此,在本实例中,在最初完成的加工工件到达后序加工测量仪之前,不对定位点进行象后面所述的自动校正。最初完成的加工工件到达后序加工测量仪后才开始进行自动校正,并确定最初的校正值U,然后校正值U发送给尺寸控制装置14。此时校正反映前标志是ON。下面,就假定校正反映前标志象现在这样是ON,来说明尺寸控制点校正的执行内容。Furthermore, even if a series of machining starts, the measured value x does not exist until the first finished machining workpiece reaches the subsequent
因为现在校正反映前标志是ON,所以S3的判定量Yes,该移到S4下面的步骤。在S4-6的步骤组中判定先头校正工件是否被后序加工测量仪16测量。Since the flag before correction and reflection is ON now, the judgment value of S3 is Yes, and it is time to move to the step below S4. In the group of steps S4-6, it is determined whether the first calibration workpiece is measured by the post-processing measuring
每次测量新的测定值x,就进行测量值前后差变动状态的判定。以此来判定先头校正工件是否被后序加工测量仪16测量。Every time a new measured value x is measured, the determination of the fluctuation state of the measured value before and after is performed. In this way, it is determined whether the first calibration workpiece is measured by the post-processing measuring
在各次的测量值前后差变动状态中,在这之前得到的多个测量值x,分为两个测量值组,一个是由先得到的设定个数的测量值x组成的先测量值组,另一个是在其后得到的由设定个数的测量值x组成的后测量值组,它包含有最新的测量值x。然后,我们各自计算出代表先测量值组的代表值—移动平均值Hf和代表后测量值组的代表值—移动平均值HR。各移动平均值Hf、HR是利用属于各测定值组的多数个的测量值X,用上述计算移动平均值P的方法同样可以算出。In the change state of the difference before and after each measured value, the multiple measured values x obtained before this are divided into two measured value groups, one is the first measured value composed of the set number of measured values x obtained earlier group, and the other is the subsequent measured value group consisting of a set number of measured values x, which contains the latest measured value x. Then, we respectively calculate the representative value representing the group of preceding measurements—the moving average H f and the representative value representing the group of subsequent measurements—the moving average H R . The moving averages Hf and HR can be calculated in the same way as the above-mentioned method for calculating the moving average P using a plurality of measured values X belonging to each measured value group.
进一步,在各次的测定值前后差变动状态判定中,计算出前移动平均值Hf与后移动平均值HR的差值ΔH,即测定值前后差ΔH。接下来,判定这次测量值前后差ΔHi的绝对值与上次的测量值前后差的绝对值ΔHi-1相比是否减小,并且上次的测量值前后差ΔHi-1的绝对值与上上次ΔHi-2相比是否增大,也就是说,判定上次的测量值前后差ΔHi-1随着测量工件数i的增加是否表现出极值(参照图31的(b))。判定为表现出极值时,再判定表现出极值的上次的测量值前后差ΔHi-1的绝对值是否比设定值大,也就是测量值前后差ΔH是否在一定时间内有较大变化。如果一定时期内有大的变动,就判定为测量值前后差ΔH的变动状态超过设定状态。Furthermore, in each determination of the fluctuation state of the difference before and after the measured value, the difference ΔH between the front moving average H f and the rear moving average H R , that is, the difference ΔH between the front and back of the measured value is calculated. Next, it is determined whether the absolute value of the difference ΔH i before and after the measurement this time is smaller than the absolute value ΔH i-1 of the difference before and after the measurement last time, and the absolute value of the difference ΔH i-1 before and after the measurement last time is Whether the value increases compared with the last time ΔH i-2 , that is, to determine whether the difference ΔH i-1 before and after the measured value of the last time shows an extreme value as the number of measured workpieces i increases (refer to ( b)). When it is judged to show an extreme value, then determine whether the absolute value of the difference ΔH i-1 before and after the last measured value that shows the extreme value is greater than the set value, that is, whether the difference ΔH before and after the measured value has a larger value within a certain period of time. Big change. If there is a large fluctuation within a certain period of time, it is determined that the fluctuation state of the difference ΔH before and after the measured value exceeds the set state.
还有,在本实施例中,象图24中图表所示的那样,预先设定在加工机10和后序加工测量仪16之间存在的待机加件数的最大值和最小值。例如37所示,待机工件数假定为最小值时的先头校正工件被后序加工测量仪测量的测量值X最初包含在后测量值组中时,一系列的测量值前后差变动状态判定开始。还有如图38所示,待机工件数假定为最大值时的先头修正工件被后序加工处理机16测量的测量值X最后包含在先测量值组中时,一系列的测量值前后差变动状态判定结束。In addition, in this embodiment, as shown in the graph in FIG. 24, the maximum value and the minimum value of the number of waiting workpieces existing between the processing
此外,在本实施例的一系列测量前后值差变动状态判定中,一次也没有判定测量值前后差ΔH的变动状态超过设定状态时,认为假定待机工件数为最大值时的先头校正工件由后序加工测量仪16测量时刻就是先头校正工件被后序加工测量仪16测量的时刻。In addition, in a series of determinations of the fluctuation state of the difference before and after the measurement in this embodiment, when the fluctuation state of the difference ΔH before and after the measurement is not judged to exceed the set state, it is considered that the leading calibration workpiece when the number of waiting workpieces is the maximum is assumed to be The measurement time of the subsequent
另外谈到测量值前后差变动状态判定,属于各测量值组的测量值X越多,也就是用以运算移动平均值的范围越广,例如图25中表格所示那样,测量值前后差ΔH对测量值X的变化越不敏感。可是,属于各测量值组的测量值X的数过少,则移动平均值H精度下降,进一步变动状态判定的可信度也下降。因此,属于各测量值组的测量值X的数目的设定,尽量兼顾应答性与正确性,并且希望因场合不同,有一个可变值,In addition, when it comes to the determination of the fluctuation state of the difference between the measured values, the more measured values X belonging to each measured value group, that is, the wider the range used to calculate the moving average. For example, as shown in the table in Figure 25, the measured value difference ΔH The less sensitive to changes in the measured value X. However, if the number of measured values X belonging to each measured value group is too small, the accuracy of the moving average H decreases, and furthermore, the reliability of the fluctuation state determination also decreases. Therefore, the setting of the number of measurement values X belonging to each measurement value group should take into account both responsiveness and correctness as much as possible, and it is hoped that there will be a variable value depending on the occasion.
具体的测量值前后差变动状态判定,首先在图5的S4中,从校正反映信息运算储存器中读出属于先测量值组的多个测量值X,算出这些测量值的前移动平均值Hf。把算出的Hf保存到校正反映信息运算存储器中。然后在S5中,与S4一样,算出后测量值组的后移动平均值HR,把HR也保存到校正反映信息运算存储器中。To determine the fluctuation state of the difference before and after the specific measured value, first, in S4 of Fig. 5, a plurality of measured values X belonging to the previous measured value group are read out from the correction reflection information operation memory, and the previous moving average H of these measured values is calculated f . The calculated H f is stored in the correction reflection information operation memory. Then, in S5, as in S4, the post-moving average HR of the post-measurement value group is calculated, and HR is also stored in the correction reflection information operation memory.
然后,在S6中,算出这些移动平均值Hf与移动平均值HR的测量值前后差ΔH。而且在同一步中,各自从校正反映信息运算存储器中读出上次的测量值前后差ΔHi-1上上次的测量值前后差ΔHi-2。判定是否上次的ΔHi-1表现出极值,并且此时的值超过设定值,也就是判定ΔH是否有大的变动。这次,我们假设测量值前后差ΔH没有大的变动,则S6的判定是NO,这次判定为先头校正工件还没到达后序加工测量仪16那儿,所以直接移到图6的S7。Then, in S6, the difference ΔH between the measured values of the moving average H f and the moving average HR is calculated. And in the same step, each reads out the difference ΔH i-2 of the previous measurement value on the
在S7中,判定操作者是否发出数据偏移处理指令。这次假定没有发出,判定为NO,在S8中,判定校正反映前标志是否为ON′。这次假定为ON则判定为Yes,在S9中只把校正运算存储器清零。之后返回S2。In S7, it is determined whether the operator issues a data offset processing instruction. This time it is assumed that there is no issue, and the determination is NO. In S8, it is determined whether the flag before correction reflection is ON'. If it is assumed to be ON this time, the determination is Yes, and only the correction calculation memory is cleared to zero in S9. Then return to S2.
然后,在多次重复S2-9的步骤中,如果假定测量值前后差ΔH有大的变化,图5的S6判定变为Yes。这次判定为先头校正工件已经到达了后序加工测量仪16那儿,在S10中,校正反映前标志变为off。之后,在S11中,测量值前后差ΔH的上一次值ΔHi-1作为校正值U反映在测量值X上的校正反映量ΔU,存储在校正反映信息运算存储器中。之后,移到图6的S7。Then, in repeating the steps of S2-9 a plurality of times, if it is assumed that there is a large change in the difference ΔH before and after the measured value, the determination of S6 in FIG. 5 becomes Yes. This time, it is determined that the first calibration workpiece has reached the post-processing measuring
这次,S7的判定也为NO,在S8中,判定校正反映前标志是否为ON。因为这次为off,所以判定为NO,移行到S12。因此,这次在S9中校正值运算存储器不清零,测量值X仍然存储。This time, too, the determination in S7 is NO, and in S8 it is determined whether or not the flag before correction reflection is ON. Since it is off this time, the judgment is NO, and the process goes to S12. Therefore, in S9 this time, the correction value operation memory is not cleared, and the measured value X is still stored.
在S12中,从校正值运算存储器输入过去的测量值X(即为已经存储的测量值X),在S13中,判定能否算出移动平均值P,也就是判定存储在校正值运算存储器中的测量值X的数目是否有K个以上。这次假定存储的测量值X的数目不是K个以上,判定为NO,则返回S2。In S12, the past measured value X (that is, the stored measured value X) is input from the correction value operation memory. In S13, it is determined whether the moving average P can be calculated, that is, it is determined whether the moving average value P stored in the correction value operation memory is determined. Whether there are K or more measured values X. This time, it is assumed that the number of stored measured values X is not more than K, the determination is NO, and the process returns to S2.
之后,在S2中输入新的测量值X,在S3中判定校正反映前标志是否为ON。这次因为是off,所以判定为NO,直接移行到图6的S7。S7的判定为NO,S8的判定也为NO,在S12中,再从校正值运算存储器输入过去的测量值X,在S13中,判定能否算出移动平均值P。这次如果假定能算出,判定为Yes,在S14中,象前面那样,计算出移动平均值,存储在校正值运算存储器中。After that, a new measurement value X is input in S2, and it is judged in S3 whether or not the flag before correction reflection is ON. This time, because it is off, it is judged as NO, and directly moves to S7 in FIG. 6 . The determination of S7 is NO, and the determination of S8 is also NO. In S12, the past measurement value X is input from the correction value calculation memory. In S13, it is determined whether the moving average P can be calculated. This time, if it is assumed that it can be calculated, the decision is Yes, and in S14, as before, the moving average is calculated and stored in the correction value calculation memory.
之后,在S15中,判定操作者是否发出两端直径校正指令。如果没发出则判定为NO,直接移到S16;如果发出了指令,则判定为Yes,在S17中,进行关于上述两个端圆柱面的移动平均值P的两端直径校正。根据此结果,更改校正值运算存储器的内容。之后,移到S16。After that, in S15, it is determined whether or not the operator issues a both end diameter correction command. If it is not issued, it is determined as NO, and directly moves to S16; if an instruction is issued, it is determined as Yes, and in S17, the diameter correction at both ends is performed on the moving average value P of the above-mentioned two end cylindrical surfaces. Based on this result, the contents of the correction value operation memory are changed. After that, move to S16.
在S16中,把这次的移动平均值P与工件尺寸期望值A0的差值作为误差值R,存到校正值运算存储器中之后,在S18中,判定能否算出微分值T。判定存储在校正值运算存储器中的移动平均数P的数目是否有L个以上。这次,假定移动平均数P的数目不足L个,判定为NO,移到图5的S2。之后,按S2、3、7、8、12-18的步骤反复执行结果。如果假定存储在校正值运算存储器中的移动平均值P的数目有L个以上,S18的判定为Yes,在S19中,象上述那样算出微分值T,存储在校正值运算存储器中。之后,移到图7的S20。In S16, the difference between the current moving average value P and the desired workpiece size value A0 is stored in the correction value operation memory as the error value R, and then in S18, it is judged whether the differential value T can be calculated. It is determined whether or not there are L or more moving averages P stored in the correction value calculation memory. This time, it is assumed that the number of moving averages P is less than L, the determination is NO, and the process moves to S2 in FIG. 5 . Afterwards, the results are executed repeatedly according to the steps of S2, 3, 7, 8, 12-18. If it is assumed that there are L or more moving average values P stored in the correction value calculation memory, the determination in S18 is Yes, and in S19, the differential value T is calculated as described above and stored in the correction value calculation memory. Thereafter, the process moves to S20 in FIG. 7 .
在S20中,根据移动平均值P和微分值T由前述的模糊推定,算出暂定校正值U。接下来,在S21中,判定是否由操作者发出连续性考虑型校正指令,如果没有发出,判定为NO,在S22中,暂时将暂定校正值U作为最终修正值U*,之后,移行到S25。与此相反,如果操作者发出连续性考虑型修正指令,S21的判定变为Yes,在S23中判定能否考虑连续性考虑型校正。判定存储在校正值运算存储器中的暂定校正值U的数目是否有M个以上。这次如果假定没有M个以上,判定为NO直接返回S2。之后,在本程序的多次重复执行工序中,如果假定存储在校正值运算存储器中的暂定修正值U的数目没有M个以上,S23的判定为Yes,在S24中,根据存储在校正值运算存储器中的M个暂定修正值U,象前述方法,算出最终校正值U*,存储在校正值运算存储器中。之后,移到图8的S25。In S20, the tentative correction value U is calculated from the above-mentioned blur estimation based on the moving average P and the differential value T. FIG. Next, in S21, it is determined whether the operator issued a continuity-considered correction command, and if not, the determination is NO. In S22, temporarily set the tentative correction value U as the final correction value U*, and then move to S25. On the contrary, if the operator issues a continuity-considering correction command, the determination in S21 becomes Yes, and it is determined in S23 whether or not the continuity-considering correction can be considered. It is determined whether or not there are M or more provisional correction values U stored in the correction value calculation memory. This time, if it is assumed that there are not more than M, it is judged as NO and directly returns to S2. Afterwards, in the repeated execution process of this program, if it is assumed that the number of provisional correction values U stored in the correction value computing memory does not have more than M, the judgment of S23 is Yes, and in S24, according to the correction value stored in The M provisional correction values U in the operation memory are calculated as the aforementioned method to calculate the final correction value U*, and stored in the correction value operation memory. Thereafter, the process moves to S25 in FIG. 8 .
在S25中,判定操作者是否发出了辅助校正指令。这次假设没有发出,则判定为NO,在S27中,这次的最终校正值U*发送给尺寸控制装置14。之后,在S28中,判定操作者是否发出了辅助校正指令,这次假定没有发出,判定为NO,移行到S29。In S25, it is determined whether or not the operator issued an auxiliary correction instruction. Assuming that it is not issued this time, the determination is NO, and in S27 , the final correction value U * for this time is sent to the
在S29中,再一次判定操作者是否发出了辅助校正指令,这次假定没有发出,所以判定为NO,移行到S30。在S30中,把校正反映前标志置为ON。因为现在已把校正值U发送给定位装置,处于等待受校正值U影响的先头校正工件已到达后序加工测量仪16,校正值U反映在测量值X的状态中。之后,在S31中,修正值运算存储器清零,然后回到S2。In S29, it is determined again whether the operator has issued an auxiliary calibration command, but this time it is assumed that he has not issued an instruction, so the determination is NO, and the process proceeds to S30. In S30, the flag before correction reflection is turned ON. Since the correction value U has now been sent to the positioning device, the correction value U is reflected in the state of the measured value X while waiting for the leading corrected workpiece affected by the correction value U to have arrived at the subsequent
以上,说明了在改变数据处理指令和辅助校正指令都没有发出的情况。下面,我们说明数据改变指令没有发出而辅助校正指令发出的情况。In the above, the case where neither the change data processing instruction nor the auxiliary correction instruction is issued has been described. Next, we describe the case where a data change command is not issued but an auxiliary correction command is issued.
这种场合,在图8的S25中,判定操作者是否发出了辅助校正指令,如果判定为YES,在S50中,判定是否正进行辅助校正。判定显示辅助校正实行次数的辅助校正计数器的值是否为1以上。假定当前显示为0,则判断为NO,然后转移到前述S27以下的步骤组进行前述的主校正。在这个步骤组中的S28中,判定操作者是否发出了辅助校正指令。由于假定这次发出指令,所以判断为YES,在S51中,辅助校正计数器的值加1。然后,转移到S29以下的步骤。In this case, in S25 of FIG. 8 , it is determined whether the operator has issued an auxiliary calibration command, and if the determination is YES, in S50 , it is determined whether auxiliary calibration is being performed. It is determined whether or not the value of the auxiliary calibration counter indicating the number of auxiliary calibration execution times is 1 or more. Assuming that the current display is 0, the judgment is NO, and then transfer to the above-mentioned step group below S27 to perform the above-mentioned main calibration. In S28 in this group of steps, it is determined whether or not the operator issued an auxiliary correction instruction. Since it is assumed that the command is issued this time, the judgment is YES, and the value of the auxiliary correction counter is incremented by 1 in S51. Then, it transfers to the steps following S29.
此后,如果再执行图8的S50,由于当前辅助校正计数器的值不为0,所以判定为YES,然后转移到S52以下的步骤组进行辅助校正。首先,在S52中,从最后校正值U*的当前值减去前次值做为当前发送值。还有,这里的“最终校正值U*的当前值”对应于前述的当前暂时校正值Up,“最后校正值U*的前次”对应于前述的上次暂时校正值Up,“当前发送值”对应于前述当前的最后校正值UF。此后,在S53中,那个发送值被送到尺寸控制装置14,进行辅助校正。再后,在S54中,辅助校正计数器加1,然后转移到S29。在S29中判断是否从操作员那里发出了辅助校正指令,由于当前已发出指令,判断为YES,转移到图9的S55。Afterwards, if S50 in FIG. 8 is executed again, since the current value of the auxiliary calibration counter is not 0, it is judged as YES, and then transfer to the group of steps below S52 to perform auxiliary calibration. First, in S52, the previous value is subtracted from the current value of the last corrected value U * as the current transmission value. Also, the "current value of the final correction value U * " here corresponds to the aforementioned current temporary correction value Up, "the previous time of the last correction value U * " corresponds to the aforementioned last temporary correction value Up, and "the current sending value ” corresponds to the aforementioned current last correction value U F . Thereafter, in S53, that transmitted value is sent to the size control means 14 for auxiliary correction. Thereafter, in S54, the auxiliary correction counter is incremented by 1, and then the process moves to S29. In S29, it is judged whether an auxiliary calibration command has been issued from the operator, and since the command has been issued at present, the judgment is YES, and the process moves to S55 in FIG. 9 .
在S55中,判定是否结束当前辅助校正。具体地说,判断辅助校正计数器的当前值是否超过了设定值(在图5的S1由辅助记忆装置22输入)。如果假定为当前没有超出,则判断为NO,直接返回到S2。In S55, it is determined whether to end the current auxiliary calibration. Specifically, it is judged whether the current value of the auxiliary correction counter exceeds the set value (input from the
此后,在多次重复执行本程序的工序中,假定辅助校正计数器的当前值超过了设定值,则判断S55为YES,在S56中,求出在此次辅助校正时发送到尺寸控制装置14的校正值U的全部和(以下称“合计校正值”)。随后,在S57中,判断合计校正值是否为0,也就是说,判定是否因没有在真正需要时进行了当前辅助校正、而有必要继续当前的辅助校正。如果假定当前没有这个必要,则判断为NO;在S58中,校正反映前设置为ON。在S59中清校正值运算用存储器中,然后返回到S2。与此相反,假定有必要继续进行当前的辅助校正的话,S57判定为YES,然后直接返回到S2。Thereafter, in the process of repeatedly executing this program, assuming that the current value of the auxiliary correction counter has exceeded the set value, it is judged that S55 is YES, and in S56, it is calculated and sent to the
以上说明了在没有数据偏移处理指令下情况,下面说明在有数据偏移处理指令的情况。但是,数据偏移处理的内容因在某个校正值U1已确定后,到校正值反映在测量值X期间有无其它校正值U2的确定而有差别。并且,在从确定某个校正值U1到该校正值反映到测量值X期间有别的校正值U2被确定的情况下,数据偏移处理的内容也因操作员是否发出了辅助校正指令而不同。因此,说明各自的情况。The above describes the situation when there is no data offset processing instruction, and the following describes the situation where there is a data offset processing instruction. However, the content of the data offset processing differs depending on whether or not another correction value U2 is determined during the period from when a certain correction value U1 is determined until the correction value is reflected in the measured value X. Moreover, in the case that another correction value U2 is determined during the period from the determination of a certain correction value U1 to the reflection of the correction value in the measured value X, the content of the data offset processing also depends on whether the operator issues an auxiliary correction command. rather different. Therefore, each case will be described.
首先,参考图21的例子来说明在某个校正值被确定后,在该校正值反映到测量值X之前的期间没有另一个校正值U2被确定,而是在校正值反映到确定值X以后才确定另一个校正值U2的情况。First, referring to the example of FIG. 21, it is explained that after a certain correction value is determined, another correction value U2 is not determined until the correction value is reflected in the measured value X, but after the correction value is reflected in the determined value X The case for another correction value U 2 is not determined until later.
现在校正反映前标志为ON,也就是说,把最新的校正值U1输入到尺寸控制装置14后,假定受到上述校正值U1影响的先头校正工件处于等待到达加工后测量仪16的状态。因此,图5的S3判定为YES,和前述情况相同,执行S4~S6。如果假设当前测量值前后差ΔH没有很大变化,则判定为S6为NO,并且转移到图6的S7。在S7中,判断是否发出了数据偏移处理指令,由于当前已发出了,所以判定为YES,在S70中进行数据偏移处理。Now the pre-correction reflection flag is ON, that is, after the latest correction value U1 is input to the
数据校正处理的细节在图20中使用流程图表示。首先,在S200中,判断校正反映前标志是否为ON。因为当前为ON,所以判定为YES。在S201中,从校正值运算用存储器中读入当前测量值X,在测量值加上暂定的偏移量而进行测量值预测。暂定偏移量是由,到现在为止确定的并且没有被测量值X反映的所有校正值U的和(=∑Ui)来确定。在图21的例中,因为尚未出现在测量值X中的校正值U仅仅是U1,所以结果,U1成暂定的偏移量。此后,在S202中,置设定在RAM中的校正结束标志为OFF。关于校正结束标志的功能在后面说明。以上结束了S70的一次执行。The details of the data correction processing are shown using a flowchart in FIG. 20 . First, in S200, it is judged whether the flag before correction reflection is ON. Since it is currently ON, the judgment is YES. In S201, the current measured value X is read from the memory for correction value calculation, and a tentative offset is added to the measured value to predict the measured value. The provisional offset is determined by the sum (=ΣU i ) of all correction values U determined so far and not reflected by the measured value X. In the example of FIG. 21 , since the correction value U that has not yet appeared in the measured value X is only U 1 , U 1 becomes a tentative offset as a result. Thereafter, in S202, the correction completion flag set in the RAM is set to OFF. The function of the calibration completion flag will be described later. The above ends one execution of S70.
此后,每取得测量值X就执行S70,结果如图21中的破折线所示,进行数据校正处理即预测测量值。Thereafter, S70 is executed every time the measured value X is acquired, and as a result, as shown by the dashed line in FIG. 21 , data correction processing, that is, predicted measured value is performed.
此后,图5的S10中,如果校正反映前标志为OFF,则判定图20的S200为NO,在S203中判定校正结果标志是否为ON。因为当前为OFF,判定为NO,转移到S204,在S204中,从校正反映运算用存贮器读入校正反映量ΔU,根据该校正反映量ΔU和先前确定的校正值U的关系,判定上述测量值预测是否十分正确。具体地说,与校正反映前标志为OFF时刻的测量值X对应的校正值U和该校正值U反映在测量值X中的校正反映量ΔU的差别是否超过设定值。如前所述,假定校正值U完全反映在测量值中,把校正值U做为暂时校正量,进行测量值预测,是出现上述差别的原因。Thereafter, if the pre-correction reflection flag is OFF in S10 of FIG. 5 , it is judged as NO in S200 of FIG. 20 , and it is judged in S203 whether the correction result flag is ON. Because it is currently OFF, the judgment is NO, and it moves to S204. In S204, the correction reflection amount ΔU is read from the memory for correction reflection calculation, and the above-mentioned Whether the measured value prediction is quite correct. Specifically, whether the difference between the correction value U corresponding to the measured value X at the moment when the flag is OFF before correction reflection and the correction reflection amount ΔU reflected in the measured value X by the correction value U exceeds the set value. As mentioned above, assuming that the correction value U is fully reflected in the measured value, the correction value U is used as a temporary correction amount to predict the measured value, which is the reason for the above-mentioned difference.
还有,这里的“与校正反映前标志为OFF时的测量值X对应的校正值U”与最新校正值U不一定一致。是因为在从某校正值U1的确定时到该校正值反映在测量值X时期间存在确定其它校正值U2的情况。因此,“与校正反映前标志为OFF时的测量值对应的校正值U”系指在校正反映前标志置为OFF前未反映在测量值X中最早确定的校正值U,也就是说,系指上述最早未反映校正值。In addition, the "correction value U corresponding to the measured value X when the pre-correction reflection flag is OFF" here does not necessarily coincide with the latest correction value U. This is because another correction value U2 may be determined during the period from when a certain correction value U1 is determined to when this correction value is reflected in the measured value X. Therefore, "correction value U corresponding to the measured value when the pre-correction reflection flag is OFF" refers to the correction value U that was not reflected in the measurement value X determined earliest before the pre-correction reflection flag was turned OFF, that is, the system Refers to the earliest non-reflected correction value above.
如果假定当前测量值预测十分正确,则S204的判定为NO,直接结束S70的执行;如果假定不是十分正确,那么判定S204为YES,转移到S205,在S205中,从校正反映信息运算用存储器读入校正反映量,并且读入校正运算用存储器存储的所有测量值(预测后的值)X。并且,在同一步骤中,从各测量值X减去前述暂定偏移量,复原成原来的测量值X(预测前的值)后,在原测量值X中加工作为最后偏移量的校正反映量ΔU。如图21中的双点划线所示,由此可以进行测量值预测修正。此后,在S206中置修正结束标志ON。也就是说,修正结束标志为ON表示已进行了测量值预测校正,为OFF表示还没有进行测量值预测校正。If it is assumed that the prediction of the current measured value is very correct, then the judgment of S204 is NO, and the execution of S70 is directly ended; The correction reflection amount is input, and all the measured values (predicted values) X stored in the memory for correction calculation are read. And, in the same step, after subtracting the above-mentioned provisional offset from each measured value X to restore the original measured value X (value before prediction), the original measured value X is processed as a correction reflection of the final offset. The amount ΔU. As shown by the dashed-two dotted line in FIG. 21 , the measurement value prediction correction can thereby be performed. Thereafter, the correction end flag is turned ON in S206. That is, when the correction end flag is ON, it indicates that the measurement value prediction correction has been performed, and when it is OFF, it indicates that the measurement value prediction correction has not yet been performed.
此后,取得新的测量值后,如果再次执行S70的话,因为当前校正反映前标志为OFF,所以判定S200为NO,在S203中,判定校正结束标志是否为ON,因为现在为ON,判定为YES,跳过S204~206直接结束S70的执行。因此,在校正反映前标志为OFF期间,如图21所示,测量值X被原封不动地存储在校正值运算用存贮器中,不但不进行对测量值预测,也不进行对测量值预测的校正。Afterwards, after obtaining a new measurement value, if S70 is executed again, because the current pre-correction reflection flag is OFF, it is judged as NO in S200, and in S203, it is judged whether the calibration end flag is ON, and since it is ON now, the judgment is YES , skip S204-206 and end the execution of S70 directly. Therefore, while the pre-correction reflection flag is OFF, as shown in Fig. 21, the measured value X is stored in the memory for correction value calculation as it is, and neither the measured value prediction nor the measured value is performed. Predicted corrections.
此后,如果在校正值计算存储器中存储的测量值X的数目到达设定个数时,在S20中确定其他校正值U2。如图21中的阴影线区域所示,最终基于过去的多个测量值X确定校正值U2。Thereafter, if the number of measured values X stored in the correction value calculation memory reaches the set number, another correction value U2 is determined in S20. As shown in the hatched area in FIG. 21 , the correction value U 2 is finally determined based on a plurality of measured values X in the past.
下面说明在从确定校正值U1到使U1反映在测量值为止期间确定其他校正值U2的情况。但是,又分有辅助校正指令和没有辅助校正指令两种情况分别进行说明。Next, the case where another correction value U2 is determined during the period from when the correction value U1 is determined to when U1 is reflected in the measured value will be described. However, two cases with auxiliary correction command and without auxiliary correction command will be described separately.
首先,参照图22例说明没有辅助校正指令的情况。First, a case where there is no auxiliary calibration command will be described with reference to FIG. 22 .
在这种情况下,所确定的校正值U1输入到尺寸控制装置14后,执行S2的判定。因为当前没有辅助校正指令,判定NO,在S30中,置校正反映前标志为ON,在S31中清校正值运算用存储器。此后,返回到图5的S2。In this case, after the determined correction value U1 is input to the
此后,在S2中,在校正值运算用存储器中存储新的测量值。接着,在S7中,判定是否有数据偏移处理指令。因为当前有偏移处理指令,判定为YES,跳过S9。即,与还没有数据偏移处理指令时不同,即使校正反映前标志为ON也不会清除校正值运算用存储器,测量值X按顺序被存储起来。Thereafter, in S2, a new measurement value is stored in the memory for correction value calculation. Next, in S7, it is determined whether there is a data offset processing instruction. Because there is currently an offset processing instruction, the judgment is YES, and S9 is skipped. That is, unlike when there is no data offset processing instruction, even if the pre-correction reflection flag is ON, the memory for correction value calculation is not cleared, and the measured value X is sequentially stored.
每存储各测量值X时,判定图6的S7为YES,执行S70。对S70来说,首先,在图20的S200中判定校正反映前标志是否为ON。因为现在为ON,判定为YES。在S201中,从校正值运算用存储器读取当前测量值X,在当前测量值X加上的暂定偏移量。因为当前还没反映在测量值中的校正值U只有U1,结果把U1做为当前暂定偏移量。由此,如图22(a)中的破折线所示进行测量值预测。即,输入校正值U1后,一边对测量值X以与校正值U1相同的偏移量进行偏移,另一边为确定下一个校正值U2开始存储。然后,在S202中把校正结束标志置为OFF,以上结束为S70的执行。Every time each measurement value X is stored, it is determined that S7 in FIG. 6 is YES, and S70 is executed. In S70, first, it is determined in S200 of FIG. 20 whether or not the flag before correction reflection is ON. Since it is ON now, the judgment is YES. In S201, the current measurement value X and the provisional offset added to the current measurement value X are read from the memory for correction value calculation. Because the correction value U that has not yet been reflected in the measured value is only U 1 , as a result, U 1 is used as the current provisional offset. Thereby, measurement value prediction is performed as shown by the dashed line in FIG. 22( a ). That is, after the correction value U1 is input, the measured value X is offset by the same offset as the correction value U1 , and storage is started to determine the next correction value U2 . Then, in S202, the calibration end flag is set to OFF, and the above ends with the execution of S70.
此后,重复后序加工测量仪16的测量值X的输入及对测量值预测。结果当存储存在校正值运算用存贮器的测量值X的个数达到设定的多个时,如图22(b)所示,在S20确定校正值U2图中阴影区域示出了为确定校正值U2而使用的预测后的测量值X。Thereafter, the input of the measured value X of the post-processing measuring
确定校正值U2后,因为当前无辅助校正指令,所以图8中S29的判定为NO,在S30中置校正反映前标志为ON(但是,因为现在为ON,所以校正反映前标志不变化);在S31中,清校正值运算用存储器。因此,此后若输入测量值X,则在无存储的状态下存储到校正值运算用存储器。After the correction value U2 is determined, because there is currently no auxiliary correction instruction, the judgment of S29 in Figure 8 is NO, and the flag before correction reflection is set to ON in S30 (however, because it is ON now, the flag before correction reflection does not change) ; In S31, the memory for correction value calculation is cleared. Therefore, when the measured value X is input thereafter, it is stored in the memory for correction value calculation without storage.
然后执行S70,因为现在校正反映前标志为ON,图20的S200判定为YES。在S201中,从校正值运算用存储器读取当前测量值X,在当前测量值加上暂定偏移量。这次,因为有两个尚未出现在X中的校正值U1和U2,所以结果这一次的暂定偏移量是(U1+U2)。据此,如图22(C)中破折线所示,进行预测测量值。即输入校正值U2之后,把测量值X的数据,用与前次校正值U1与当前校正值U2之和相等的偏移量进行偏移的同时,为确定下一个校正值U3而开始存储。具后,在S202中置校正结束标志为OFF。以上结束了S70的执行。Then S70 is executed, and since the pre-correction reflection flag is ON now, the determination of S200 in FIG. 20 is YES. In S201, the current measurement value X is read from the memory for correction value calculation, and a tentative offset is added to the current measurement value. This time, since there are two correction values U 1 and U 2 that have not yet appeared in X, it turns out that the tentative offset this time is (U 1 +U 2 ). Based on this, as shown by the broken line in Fig. 22(C), the predicted measurement value is performed. That is, after the correction value U 2 is input, the data of the measured value X is offset by an offset equal to the sum of the previous correction value U 1 and the current correction value U 2 , and at the same time, to determine the next correction value U 3 And start storing. After that, set the correction end flag to OFF in S202. The above ends the execution of S70.
此后,假定校正值U1反映在测量值X中且校正反映前标志为OFF,则S200的判定为NO,在S203中,判定校正结束标志是否为ON。因为当前为OFF,判定为ON,在S204中判定测量值预测是否十分正确。假定当前不是十分正确,则判定为YES,在S205中,进行与前述场合同样的测量值的校正。如图22(d)中的粗实线所示,其结果预测后即测量值被校正。也就是说,如果用U1′表示前次校正值反映在实际测量值中的量,则U1′+U2成为从存储的多个数据U1+U2的偏移量。Thereafter, assuming that the correction value U1 is reflected in the measured value X and the before-correction-reflection flag is OFF, the determination in S200 is NO, and in S203 it is determined whether the calibration end flag is ON. Since it is currently OFF, it is determined to be ON, and it is determined in S204 whether the measurement value prediction is quite correct. Assuming that it is not quite correct at present, the determination is YES, and in S205, the correction of the measured value is performed in the same way as in the previous case. As shown by the thick solid line in Fig. 22(d), the measured values are corrected after the results are predicted. That is, if U 1 ′ represents the amount by which the previous correction value is reflected in the actual measured value, U 1 ′+U 2 becomes an offset from the stored plurality of data U 1 +U 2 .
此后,取得新的测量值,执行S70。因为现在校正反映前标志为ON,所以判定S200为YES。在S201中,如图22(e)破折线所示,进行测量值的预测。即,在上述校正值U1实际地反映在测量值X后,把作为暂定偏移的校正值U2加到新的测量值中。此后,当存储在校正值运算用存储器中的测量值数到达设定的数值时,如图22(f)所示,在S20中确定校正值U3。在图中的阴影区域,示出了为确定校正值U3而使用的预测后测量值X。Thereafter, a new measurement value is obtained, and S70 is executed. Since the pre-correction reflection flag is ON now, the determination in S200 is YES. In S201, as shown by the dashed line in FIG. 22(e), prediction of the measured value is performed. That is, after the above-mentioned correction value U1 is actually reflected in the measurement value X, the correction value U2 as a tentative offset is added to the new measurement value. Thereafter, when the number of measured values stored in the correction value calculation memory reaches a set value, as shown in FIG. 22(f), the correction value U 3 is determined in S20. In the shaded area of the figure, the post-prediction measured value X used for determining the correction value U3 is shown.
下面,参照图23例说明发出辅助校正指令的场合。Next, referring to Fig. 23, a case where an auxiliary calibration command is issued will be described.
假定进行了有关校正值U1的辅助校正(在图中用“USB”表示辅助校正用校正值),而且当前该辅助校正已结束,如图23(a)所示。还有,这类主校正和辅助校正相互共同构成一系列校正。如果结束当前辅助校正,即假定结束头一次一系列校正,则判定图9的S55为YES。还有,如果假定前述合计校正值实际为0,则判定S57为NO,在S58中,校正反映前标志为ON(因为已为ON,所以没有变化)。在S59中,清校正值运算用存储器,返回到S2。Assume that the auxiliary correction with respect to the correction value U1 has been performed (the correction value for auxiliary correction is indicated by "USB" in the figure), and the auxiliary correction is currently completed, as shown in FIG. 23(a). Also, such main corrections and auxiliary corrections mutually constitute a series of corrections. If the current auxiliary calibration is finished, that is, it is assumed that the first series of calibrations is finished, the determination of S55 in FIG. 9 is YES. In addition, if it is assumed that the total correction value is actually 0, the determination in S57 is NO, and in S58, the pre-correction reflection flag is ON (there is no change since it is already ON). In S59, the correction value calculation memory is cleared, and the process returns to S2.
之后,取得新的测量值X,如果进行图6的S7判断,因为当前有数据偏移指令,所以判断为YES,执行S70。在S70中,因为现在校正反应前标志为ON,所以图20中的S200判定为YES,在S201中,从校正值运算用存储器读出此次的测量值,并在此次的测量值X上加偏移校正量。在此次,因为还没被反映在测量值X的校正值U中只有U1,所以结果此次的暂时偏移量就是U1。由此,如图23(b)所示,进行校正值预测。即,结束一次一系列校正后,对测量值X用与前次校正值U1相同量的偏移量进行偏移的同时,为下次主校正U2的确定开始存储。此后,在S202中校正值结束标志被置为OFF。以上结束了S70的执行。Afterwards, a new measured value X is obtained, and if the judgment of S7 in FIG. 6 is performed, because there is a data offset command at present, the judgment is YES, and S70 is executed. In S70, since the pre-calibration reaction flag is ON now, it is judged as YES in S200 in FIG. Add offset correction amount. At this time, since there is only U 1 in the correction value U that has not yet been reflected in the measured value X, it turns out that the temporary offset this time is U 1 . Thus, as shown in FIG. 23( b ), correction value prediction is performed. That is, after a series of calibrations is completed, the measured value X is offset by the same amount of offset as the previous calibration value U1 , and storage is started for the determination of the next main calibration U2 . Thereafter, the correction value end flag is turned OFF in S202. The above ends the execution of S70.
此后,反复执行加工后测量仪16的测量值X的输入及测量值预测。其结果,当校正值运算用存储器中存储的测量值X的数、达到设定个数,时,如图23(b)所示,在S20中确定主校正值U2。图中的阴影区域,就是为确定主校正值U2所用到的预测后测量值。Thereafter, the input of the measured value X of the post-processing measuring
如果确定了主校正U2,因当前有补助校正的指令,所以图8中S29的判定为YES,在图9的S55中,判定是否应该结束辅助校正。此次如果假定不应结束,则判断为ON,直接回到S2。If the main calibration U 2 is confirmed, the judgment of S29 in FIG. 8 is YES because there is an instruction for supplementary calibration. In S55 of FIG. 9 , it is determined whether the supplementary calibration should be terminated. If it is assumed that the process should not end this time, it is judged as ON, and it returns directly to S2.
此后,在S2中,取得新的测量值X,接着执行S70。因为现在校正反映前标志为ON,所以图20的S200的判断为NO,在S201中进行测量值预测。此次,还没出现在测量值中的校正值有U1和U2,由于只有先于此次辅助校正的主校正附带的辅助校正,辅助校正中的暂定偏移量是U1。随后,如图23(c)和(d)所示,确定辅助校正用的校正值USB。假定此次不能结束所述辅助校正,则判定图9的S55为NO,直接返回到S2,取得新的测量值X。随后,执行S70,因为当前校正反映前标志为ON,判定S200为NO,在S201中,与上次情况相同,进行测量值的预测。Thereafter, in S2, a new measurement value X is obtained, and then S70 is executed. Since the pre-calibration reflection flag is ON now, the determination in S200 of FIG. 20 is NO, and the measurement value prediction is performed in S201. This time, the correction values that have not yet appeared in the measured value are U 1 and U 2 , since there is only auxiliary correction attached to the main correction prior to this auxiliary correction, the tentative offset in the auxiliary correction is U 1 . Subsequently, as shown in FIGS. 23(c) and (d), a correction value USB for auxiliary correction is determined. Assuming that the auxiliary calibration cannot be completed this time, it is judged that S55 in FIG. 9 is NO, and directly returns to S2 to obtain a new measurement value X. Subsequently, S70 is executed, and since the current flag before correction reflection is ON, it is determined that S200 is NO, and in S201, the same as the previous case, prediction of the measured value is performed.
此后,假定在补助校正结束之前,先头校正工件到达加工后测量仪16,而且校正反应前标志为OFF。这种情况下,在S70中,因为当前的校正反映前标志为OFF,所以S200的判断为NO,在S203中判定校正结束标志是否为ON。因为现在是OFF,所以判定为NO,在S204中判定测量值预测是否正确。如果此次假定不十分正确,那么判定为YES,在S205中,进行测量值预测的校正。如图23(b)所示,把从上次补助校正结束到校正值U2确定之前期间取得的测量值X和从校正值U2确定到校正反映前标志成为OFF期间所取得的测量值X,按照图中粗实线所示分别进行校正。也就是说,如果用U1′表示上次主校正U1在测量值X上的反映量,则被存储的多个测量值X的偏移量从U1校正为U1′。Thereafter, it is assumed that the first calibration workpiece reaches the post-processing measuring
如果结束了第2次的一系列校正,就按如图23(e)所示,对测量值X的数据按与此次主校正U2相同的暂时偏移量进行偏移的同时,为确定下次的主校正开始存储。此后,当已存储的测量值X的数达到设定个数时,如图23(f)所示,确定第三次主校正U3。If the second series of calibration is finished, as shown in Figure 23(e), the data of the measured value X is offset by the same temporary offset as the main calibration U2 , and at the same time, it is determined The next main calibration starts to be stored. Thereafter, when the number of stored measured values X reaches the set number, as shown in Fig. 23(f), the third main correction U 3 is determined.
从以上说明中可以知道,对本实施例来说,控制装置20中,按尺寸控制点校正程序图8中除了S27和S53外的步骤执行的部分,就是权利要求1和2中的“校正值确定部分”的一个例子;控制装置20中,执行S27和S53的部分就是“校正值给定部分”的一个例子。而且,在尺寸控制点校正程序图8中,除了S27和S53外的步骤,就是权利要求3和4的“校正值确定工序”的一个例子。It can be known from the above description that, for this embodiment, in the
本实例是,在以曲轴为加工对象,把曲轴的多个轴径曲面做为加工部位,进行圆柱研磨的加工系统一起使用的尺寸控制校正装置中,使用本发明的一个例子。但是,与其它加工系统一起使用的尺寸控制点校正装置中,当然也可以使用本发明。其它的加工系统的例子可以举出,以发动机圆筒做为加工工件,把圆筒中预先已有的孔,做为各加工部位用磨石磨的加工系统。This example is an example of using the present invention in a dimensional control and correction device used together with a machining system that takes the crankshaft as the machining object and uses a plurality of shaft diameter curved surfaces of the crankshaft as machining parts to perform cylindrical grinding. However, it is of course also possible to use the present invention in a dimensional control point correction device used with other processing systems. Examples of other processing systems include a processing system in which an engine cylinder is used as a processing workpiece, and the pre-existing holes in the cylinder are used as grinding stones for each processing part.
以上,对本发明的一个实例根据图进行了详细说明,但是可以经许可在不超出申请范围情况下,根据当事者的知识,进行变化和改良后使用本发明。As mentioned above, an example of the present invention has been described in detail with reference to the drawings, but the present invention can be used with changes and improvements based on the knowledge of the person concerned without departing from the scope of the application.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 96109389 CN1121637C (en) | 1996-07-31 | 1996-07-31 | Feedback type processing condition corrector and method for feedback process |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 96109389 CN1121637C (en) | 1996-07-31 | 1996-07-31 | Feedback type processing condition corrector and method for feedback process |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1172293A CN1172293A (en) | 1998-02-04 |
| CN1121637C true CN1121637C (en) | 2003-09-17 |
Family
ID=5120350
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 96109389 Expired - Fee Related CN1121637C (en) | 1996-07-31 | 1996-07-31 | Feedback type processing condition corrector and method for feedback process |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1121637C (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6088581B2 (en) * | 2015-06-04 | 2017-03-01 | ファナック株式会社 | Machine tool control apparatus and control method for controlling synchronous operation of main shaft and feed shaft |
| JP6301977B2 (en) * | 2016-01-26 | 2018-03-28 | ファナック株式会社 | Machine tool control apparatus and control method for controlling synchronous operation of main shaft and feed shaft |
-
1996
- 1996-07-31 CN CN 96109389 patent/CN1121637C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1172293A (en) | 1998-02-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1066831C (en) | Controller | |
| CN1096329C (en) | Laser machining apparatus and a method of controlling the same | |
| CN1704718A (en) | Surface scan measuring device, surface scan measuring method, surface scan measuring program and recording medium | |
| CN1179805C (en) | Bending processing method for plate bending machine | |
| CN1058938C (en) | Estimation method of movement-state variable caused by turning of vehicle | |
| CN1303312C (en) | Supercharger for internal combustion engine | |
| CN1057852C (en) | Process control device and adjustment working parameter method in controler of process control device | |
| CN1124407C (en) | Engine control device and control method | |
| CN1771143A (en) | Control unit for hybrid drive unit | |
| CN1364214A (en) | Engine emission control | |
| CN1501248A (en) | A data input and output device that inputs data into the memory and performs operations on the data stored in the memory and outputs it at high speed. | |
| CN1296440A (en) | Automated molding technology for thermoplastic injection molding | |
| CN1577033A (en) | Photographic lens and camera system with blur correction function | |
| CN1704195A (en) | Controller for a wire electrical discharge machine | |
| CN1491165A (en) | Tire pressure detection device | |
| CN100347561C (en) | Monitoring signal output circuit, batteries and battery voltage monitoring circuit and method therefor | |
| CN1109577A (en) | Fault Diagnosis System of Absorption Refrigeration Machine | |
| CN1121637C (en) | Feedback type processing condition corrector and method for feedback process | |
| CN1193207C (en) | Method for controlling taper pipe thread and corresponding control devices | |
| CN1850376A (en) | Method for rolling trapezoidal width steel plate | |
| CN1085574C (en) | Apparatus for feedback-compensating working condition | |
| CN1267795C (en) | Design device of controller | |
| CN1920715A (en) | Method for data modification and supplement for automatic rivet bracket deformation | |
| CN1392003A (en) | Plate thickness controller for continuous roll mill | |
| CN1777831A (en) | Optical System Design Methods |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C56 | Change in the name or address of the patentee | ||
| CP03 | Change of name, title or address |
Address after: Aichi Prefecture, Japan Co-patentee after: Feng Tong equipment engineering Limited by Share Ltd. Patentee after: Toyota Motor Corp. Address before: Aichi Prefecture, Japan Co-patentee before: Fengtong Engineering and Manufacturing Corp. Patentee before: Toyota Motor Corp. |
|
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20030917 Termination date: 20140731 |
|
| EXPY | Termination of patent right or utility model |