Claims (2)
Недостатком этого устройства вл етс то, что така коррекци погрешности типа люфт наиболее приемлема дл станков с малым износом деталей приводов, так как при этом значение данной погрепюостн измен етс незначительно по всей длине рабочего хода стола, и дл случаев, когда не требуетс слишком высока точность обработки. В тех случа х, когда или требуетс слишком высока точность обработки, или детали привода имеют износ, который по эначе;нию далеко не одинаков по всей длине 5рабочего хода стола, следует корректировать как посто нную, так и переменную составл ющую погрешности, Кроме того, коррекци посто нной составл ющей требует предварительног измерени значений люфтов по всей длине рабочего хода с последующим усреднением. Цель изобретени - расширение функциональных возможностей устройства , а следовательно, повышение точности и производительности обработки . Поставленна цель достигаетс тем, что в устройство числового прог раммного управлени металлорежущими станками, содержащее последовательно соединенные блок ввода программы, блок буферной пам ти, блок рабочей пам ти, интерпол тор и привод, а так же последовательно соединенные генератор импульсов, первый счетчик,блок управлени , первый элемент И и логический блок, выходом соединенный с вторым входом блока рабочей пам ти, второй и третий элементы И, первый вход которого соединен с первым входом первого элемента И, выход - с вторым входом блока буферной пам ти второй выход блока управлени через второй элемент И подключен к входу блока ввода программы, введены датчик момента начала перемещени рабочего органа, четвертый элемент И. и последовательно соединенные элемент задержки, п тый элемент И, второй счетчик и логический элемент, первым выходом соединенный с вторым входом первого элемента И, вторым выходом с вторыми входами второго и третьего элементов И и первым входом четвертого элемента И, второй вход которо подключен к третьему входу блока ра бочей пам ти и третьему выходу блока управлени , четвертый выход кото рого соединен с входом генератора им пульсов, п тый выход - с вторым входом второго счетчика, вторыми вы ходами соединенного с вторыми входа ми логического блока, вход элемента задержки подключен к выходу интерпол трра , второй вход привода соеди нен с вторым выходом блока рабочей пам ти, а второй вход п того элемента И - с датчиком момента начала перемещени рабочего органа. На чертеже представлена структур на схема устройства. Устройство содержит блок 1 управ лени , четвертый элемент И 2, первы счетчик 3, генератор 4 импульсов, блок 5 ввода программы, блок 6 буферной пам ти, блок 7 рабочей пам ти, интерпол тор 8, привод 9, рабочий орган 10, элемент 11 задержки (импульсов ), датчик 12 момента начала перемещени рабочего органа, второй,первый и третий элементы И 13, 14 и 15 логический блок 16, п тый элемент И 17, второй счетчик 18, логический элемент 19. Устройство работает следующим образом . Программа обработки, состо ща из отдельных кадров, считываетс с перфоленты блоком 5 по команде блока 1 управлени в блок 6, а далее по мере обработки кадров, содержащихс в рабочей пам ти, переписываетс из блока 6 в блок 7, выходы которого управл ют интерпол тором 8, который за один цикл работы счетчика 3 выдает число импульсов, равное числу, записанному в рабочей пам ти перемещений . Если при переполнении счетчика 3 (т.е. по окончании отработки кадра, содержащегос в блоке 7) счетчик 18 находитс в исходном состо нии , логический элемент 19 перекрывает элемент И 15 и открывает элементы И 2, 13 и 14, подготавлива схему к работе без коррекции. Блок 1 управлени останавливает генератор 4,сбрасывает блок 7 (знак сбрасываетс через элемент И 2), далее сигналом Перепись с выхода блока 1 управлени через элемент И 14 производитс перепись информации с блока б в блок 7 с одновременным сбросом блока 6через элемент И 13 - пуск блока 5 дл считывани в блок б нового кадра, после чего включением генератора 4 импульсов начинаетс новый цикл работы счетчика, т.е. отработка нового кадра. Если в новом кадре, записанном в блоке 7, предусмотрена смена направлени перемещени рабочего органа станка, то в св зи с наличием люфта рабочий орган 10 приходит в движение не с момента начала отработки этого кадра, а лишь через некоторое врем , за которое будет выбран люфт. Естественно, что часть импульсов, выдаваемых интерпол тором 8 на вход привода 9, при отработке кадра уйдет на выборку люфта, а по окончании отработки кадра будет иметь место погрешность положени рабочего органа, соответствующа этому числу импульсов . Дл коррекции этой погрешности число импульсов, ,идущих на выборку люфта, подсчитываетс счетчиком 18 следующим образом: до тех пор, пока рабочий орган (станка) 10 находитс в покое, элемент И 17 открыт датчиком 12 и на вход предварительно сброшенного блоком 1 управлени счетчика 18 через элемент 11 задержки, необходимой дл компенсации задержки между моментами начала подачи импул сов на вход привода 9 до момента тр гани ведущего звена привода, и эле мент И 17 поступают импульсы с выхода интерпол тора 8. Как только датчик 12 даёт о начале движени рабочего органа привода, И .17 закрываетс , а счетчик 18 содержит число, равное количеству им пульсов , которые потребовались на выборку люфта. В момент окончани кадра счетчик 18находитс не в нулевом состо нии и логический элемент 19 перекрывает элементы И 2, 13 и 14,запреща перепись буферной пам ти блока б в рабочую блока 7, сброс буферной пс1м ти , сброс рабочей пам ти знака перемещений , содержгицейс в .блоке 7 рабо чей пам ти, и пуск блока 5.Блок 1 управлени выключает генератор 4, сбрасывает рабочую пам ть перемещений блока 7 (рабоча пам ть знака не сбрасываетс ), сигналом Перепис через элемент И 15, открытый элемент 19и логический блок 16, подключенный к выходам счетчика 18, переписы вает информацию о корректирук цем воздействии из счетчика.18 в рабочую пам ть перемещений блока 7, после чего включает генератор 4, сигналом Конец переписи сбрасывает счетчик 18. После этого начинаетс отработка корректирующего кадра, после завершени которой производитс дальнейша отработка программы. Применение данного устройства . позвол ет проводить коррекцию посто нной и переменной составл ющей погрешности типа люфт, а дл введени этой коррекции не требуетс предварительного измерени и последующего усреднени значений .погрешности по всей длине рабочего хода стола. Таким образом, его применение позвол ет повысить точность и производительность станков с ЧПУ. Формула изобретени Устройство числового программного управлени металлорежущими станками содержащее последовательно соединенные блок ввода программы, блок буферной пам ти, блок рабочей пам ти , интерпол тор и привод, а также последовательно соединенные генератор импульсов, первый счетчик, блок управлени , первый элемент И и логический блок, выходом соединенный с вторым входом блока рабочей пам ти, второй и третий элементы И, первый вход которого соединен с первым входом первого элемента И, выход с вторым входом блока буферной пам ти, второй выход блока управлени через второй элемент И подключен к входу блока ввода программы, отличающеес тем, что, с целью расти- . рени фунюхиональных возможностей устройства, в него введены датчик момента начала перемещени рабочего органа, четвертый элемент И и последовательно соединенные элемент задержки , п тый элемент И, второй счетчик и логический элемент, первым выходом соединенный с вторым входом первого элемента И, вторым входом - с, ВТО1ИЛМИ входами второго и третьего элементов И и первым входом четвертого элемента И, второй вход которого подключен к третьему входу блока рабочей пам ти и третьему выходу блока управлени , четвертый выход которого соединен с входом генератора импульсов , п тый выход с вторым входом второго счетчика, вторыми выходами соединенного с вторыми входами логического блока, вход элемента задержки подключен к выходу интерпол тора, второй вход привода соединен с вторымвыходом блока рабочей пам ти, а второй вход п того элемента И - с датчиком момента начала пер емещени рабoчq o органа. Источники информации, прин тые во внимание при экспертизе 1.Авторское свидетельство СССР по за вке 2514645, кл. G 05 В 19/18, 1978, A disadvantage of this device is that such a correction of the backlash type error is most suitable for machines with low wear of drive components, since the value of this patchwork varies slightly over the entire length of the working stroke of the table, and for cases when the accuracy is not too high processing. In those cases where either the machining accuracy is too high or the drive parts have wear that is otherwise not the same throughout the entire working path of the table, both the constant and the variable component of the error should be corrected. Correction of the constant component requires preliminary measurement of the backlash values along the entire length of the working stroke with subsequent averaging. The purpose of the invention is to expand the functionality of the device, and therefore increase the accuracy and productivity of processing. The goal is achieved by the fact that in a device for numerical programmed control of metal-cutting machines, comprising a serially connected program input block, a buffer memory block, a working memory block, an interpolator and a drive, as well as a serially connected pulse generator, the first counter, the control block , the first element And the logical unit, the output connected to the second input of the working memory block, the second and third elements And, the first input of which is connected to the first input of the first element And, the output with the second input the buffer memory block, the second output of the control unit through the second element I is connected to the input of the program input block, the sensor of the beginning of the movement of the working element, the fourth element I. and the sequentially connected delay element, the fifth element I, the second counter and the logic element, the first output connected to the second input of the first element I, the second output to the second inputs of the second and third elements I and the first input of the fourth element I, the second input of which is connected to the third input of the working memory unit and the third the output of the control unit, the fourth output of which is connected to the pulse generator input, the fifth output — to the second input of the second counter, the second outputs connected to the second inputs of the logic unit, the input of the delay element — is connected to the interpol output; It is connected with the second output of the working memory block, and the second input of the fifth element I with the sensor of the moment when the movement of the working element begins. The drawing shows the structures on the device diagram. The device contains a control unit 1, the fourth element I 2, the first counter 3, the generator 4 pulses, the program input block 5, the buffer memory block 6, the working memory block 7, the interpolator 8, the drive 9, the operating element 10, the element 11 delays (pulses), the sensor 12 of the moment of the beginning of the movement of the working body, the second, first and third elements And 13, 14 and 15 logic block 16, the fifth element And 17, the second counter 18, logical element 19. The device works as follows. The processing program, consisting of individual frames, is read from the punched tape by block 5 by the command of control block 1 into block 6, and then as frames are processed in the working memory, is copied from block 6 to block 7, the outputs of which are controlled by an interpolator 8, which, in one cycle of operation of the counter 3, generates a number of pulses equal to the number recorded in the working movement memory. If the counter 3 overflows (i.e. after completion of the frame processing in block 7), the counter 18 is in the initial state, the logic element 19 overlaps the AND 15 element and opens the And 2, 13 and 14 elements, preparing the circuit for operation without correction. The control unit 1 stops the generator 4, resets the block 7 (the sign is reset through the AND 2 element), then a signal is copied from the output of the control block 1 through the And 14 element and overwrites the information from the block b into the block 7 while simultaneously resetting the block 6 through the And 13 element - starting unit 5 for reading in block b a new frame, after which a new cycle of the counter starts, i.e. working out a new frame. If the new frame, recorded in block 7, provides for a change in the direction of movement of the working body of the machine, then due to the presence of backlash, the working body 10 starts moving not from the moment of the beginning of working out of this frame, but only after some time, during which backlash will be selected . Naturally, part of the pulses delivered by the interpolator 8 to the input of the drive 9, when the frame is processed, goes to the backlash sample, and after the frame has been completed, there will be an error in the position of the working body corresponding to this number of pulses. To correct this error, the number of pulses, going to the backlash sample is counted by the counter 18 as follows: as long as the working body (machine) 10 is at rest, the element 17 is open by the sensor 12 and to the input of the counter 18 that was previously cleared by the unit 1 through the delay element 11, necessary to compensate for the delay between the beginning of the supply of pulses to the input of the actuator 9 until the driving link of the actuator is pulled, and the element And 17 pulses come from the output of the interpolator 8. As soon as the sensor 12 indicates the beginning of movement Static preparation actuator body, and .17 is closed, and the counter 18 contains a number equal to the number of pulses that are required for sample clearance. At the time of the frame termination, the counter 18 is in a non-zero state and the logic element 19 overlaps AND elements 2, 13 and 14, prohibiting the rewriting of the buffer memory of the block b into the work block 7, reset of the buffer memory, reset of the working memory of the sign of movements, containing Block 7 of the working memory, and start-up of block 5. Control block 1 turns off generator 4, resets the working memory of movements of block 7 (the working sign memory is not reset), using the signal Overwrite through element 15, open element 19, and logical block 16, connected to the outputs of counter 18, rewriting information about the correction from the counter 18 to the working memory of movements of block 7, then turns on the generator 4, the signal. The census ends. The counter 18 is reset. After this, the program begins to work out the correction frame. The use of this device. allows correction of the constant and variable component of the backlash-type error, and for introducing this correction, no preliminary measurement and subsequent averaging of the error values over the entire length of the working stroke of the table are required. Thus, its use improves the accuracy and performance of CNC machines. The invention includes a numerical control unit for machine tools comprising a serially connected program input unit, a buffer memory unit, a working memory unit, an interpolator and a drive, as well as a serially connected pulse generator, the first counter, the control unit, the first And element and the logic unit, an output connected to the second input of the working memory block, second and third elements I, the first input of which is connected to the first input of the first element I, an output to the second input of the block of buffer memory and, the second output of the control unit through the second element I is connected to the input of the program input unit, characterized in that, in order to grow. of the functional capabilities of the device, the sensor of the moment of the beginning of the movement of the working element, the fourth element AND and the series-connected delay element, the fifth element AND, the second counter and logic element, the first output connected to the second input of the first element AND, the second input - are entered into it VTO1ILMI inputs of the second and third elements And the first input of the fourth element And, the second input of which is connected to the third input of the working memory block and the third output of the control unit, the fourth output of which is connected n with the pulse generator input, the fifth output with the second input of the second counter, the second outputs connected to the second inputs of the logic block, the input of the delay element is connected to the output of the interpolator, the second drive input is connected to the second output of the working memory block, and the second input of the fifth element And - with the sensor of the moment of the beginning of the transfer of the work of the organ. Sources of information taken into account during the examination 1. USSR author's certificate for application No. 2514645, cl. G 05 B 19/18, 1978,
2.Контур ЗП-68. Инструкци по эксплуатации ПА 3.053.000 ИЭ.2. Circuit ZP-68. Instructions for use PA 3.053.000 IE.