SU983651A1 - Device for correcting cutter position in program controlled machinetool - Google Patents
Device for correcting cutter position in program controlled machinetool Download PDFInfo
- Publication number
- SU983651A1 SU983651A1 SU813301289A SU3301289A SU983651A1 SU 983651 A1 SU983651 A1 SU 983651A1 SU 813301289 A SU813301289 A SU 813301289A SU 3301289 A SU3301289 A SU 3301289A SU 983651 A1 SU983651 A1 SU 983651A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- elements
- trigger
- register
- Prior art date
Links
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Complex Calculations (AREA)
Description
Изобретение относится к автоматике и вычислительной технике и может быть'; использовано в системах числового программного управления станками.The invention relates to automation and computer technology and may be '; used in systems of numerical program control of machines.
Известно устройство для коррекции . эквидистанты, состоящие из двух цифровых квадратов, генератор тактовых им- . пульсов и счетчика, основанное на сравнении квадрата величины поправки ΔΡ с квадратами проекций поправки на координатные оси, что осуществляется путем сложных вычислений [1].A device for correction is known. equidistant, consisting of two digital squares, clock generator im-. pulses and counter, based on a comparison of the square of the correction value ΔΡ with the squares of the projections of the correction on the coordinate axes, which is carried out by complex calculations [1].
Недостатком этого устройства является сложность.The disadvantage of this device is complexity.
Наиболее близким техническим решением к данному изобретению является устройство для коррекции эквидистанты, содержащее блок задания программы, основной линейно-круговой интерполятор, блок выделения нуля, генератор тактовых импульсов (ГТИ), блок регистрации окончания коррекции, логический блок и каналы связи. Это устройство позволяет сократить время нахождения координаты ис2 комой точки путем олодновременного поворота заданного радиуса-вектора с координатами ΧΗ,ΥΗ (Хк, Υκ) и*величины поправки дР f2J.The closest technical solution to this invention is a device for the correction of equidistant, containing a program task block, a basic linear circular interpolator, a zero allocation unit, a clock pulse generator (GTI), a correction end recording unit, a logical unit and communication channels. This device allows one to reduce the time needed to find the coordinates of the unknown point by simultaneously rotating the given radius vector with the coordinates Χ Η , Υ Η (X k , Υ κ ) and * the magnitude of the correction dR f2J.
Недостатком указанного устройства являются большой объем электронного оборудования ввиду использования двух круговых интерполяторов, построенных на цифровых дифференциальных анализиторах (ПДА), и значительные погрешности 10 вычисления определяющиеся тем, что угловые цены импульсов аргумента интерполятора поправки AR и основной траектории оказываются далеко не одинаковыми и, наконец, низкое быстродействие, 15 определяемое максимально возможным радиусом основной траектории, который в токарных станках на оживальных поверхностях может составлять 10- м, что при цене импульса 0,001 мм соответствует 9999999 отсчетам, поэтому время расчета, даже при быстродействии основного кругового интерполятора 500;000 кГц, составит 20 с, что по условиям непре— рывности выдачи командных сигналов в следящий привод является недопустимым.The disadvantage of this device is the large amount of electronic equipment due to the use of two circular interpolators built on digital differential analyzers (PDA), and significant calculation errors 10 determined by the fact that the angular prices of the pulses of the argument of the interpolator corrections AR and the main path are far from the same and, finally, low speed 15 determined by the maximum possible radius of the basic path in which lathes on ogival surfaces can leave 10 m, that the low pulse of 0.001 mm corresponds 9999999 readings, so the calculation time even if the ground speed of the circular interpolator 500; 000 kHz is 20 s, on the conditions that continuity issue command signals to servo drive is invalid.
Цель изобретения - повышение быстродействия и упрощение устройства.The purpose of the invention is improving performance and simplifying the device.
Указанная цель достигается т^м, что 5 устройство для коррекции положения резца на станке с программным управлением^ содержащее генератор импульсов, счетчик, выход которого подключен к R-bxoду первого RS-тригрера, последователь- ю но соединенные блок первых элементов ИЛИ, первый комбинационный сумматор и первый буферный регистр, выход которого подключен к второму входу первого комбинационного сумматора, последова- ,5 тельно соединенные второй комбинационный сумматор, первый регистр сдвига и блок первых элементов И и последовательно соединенные третий комбинационный сумматор, второй регистр сдвига и блок 20 вторых элементов И, выход которого и выход блока первых элементов И подключены к входам блока первых элементов ИЛИ, причем выходы первого и второго регистров сдвига подсоединены к входам 25 второго и третьего комбинационных сумматоров соответственно, содержит блок сравнения, счетный триггер, второй RSтриггер, ЭК-триггер, последовательно соединенные третий элемент И, четвертый элемент И, пятый элемент И, второй буферный регистр, четвертый комбинационный сумматор, шестой элемент И, второй элемент ИЛИ и третий элемент ИЛИ, последовательно соединенные третий регистр сдвига и блок управления нормализацией, последовательно соединенные четвертый регистр сдвига, пятый комбинаци. онный сумматор, третий буферный регистр и седьмой элемент И, а также восьмой, девятый, десятый, одиннадцатый и двенадцатый элементы И, первый и второй элементы НЕ и четвертый элемент ИЛИ, выход которого подключен к счет- . ному входу счетчика, первый и второй входы - к выходам девятого и двенадцатого элементов И соответственно, а третий вход - к второму входу первого регистра сдвига и к выходу одиннадцатого элемента И, соединенного первым входом с входом второго элемента НЕ, с выходом первого элемента НЕ и с вторым входом блока первых элементов И, а вторым входом - с первым входом десятого элемента И, с вторым входом первого буферного регистра, с входом счетного триггера и с выходом восьмого элемента И, связанного первым входом и выходом четвертого элемента И, вторым вхо дом - с прямым выходом ЗК-триггера, инверсный выход которого подключен к первому входу третьего и к второму входу пятого элементов И, С-вход - к выходу третьего элемента ИЛИ, а 3 и К-входы - к прямому и инверсному выходам соответственно второго RS-триггера, соединенного S -входом с выходом второго элемента ИЛИ и R-входом - с вторым входом третьего элемента ИЛИ, с вторым входом второго регистра сдвига и с выходом десятого элемента И,второй вход которого подключен к второму выходу первого буферного регистра и к входу первого элемента НЕ, входы блока сравнения соединены с задающими входами устройства и с установочными входами третьего и четвертого регистров сдвига, первый выход - с вторым входом седьмого и с первым входом двенадцатого элементов И, а второй выход - с вторым входом шестого и с первым входом девятого элементов И, управляющие входы третьего и четвертого регистров сдвига подсоединены к выходу блока управления нормализацией, второй вход которого связан с вторым выходом четвертого регистра сдвига и с вторым входом пятого комбинационного сумматора подключенного третьим входом к выходу третьего буферного регистра, а вторым выходом - к третьему входу седьмого и к второму входу девятого элементов И, второй вход второго буферного регистра соединен с вторым выходом четвертого комбинационного сумматора, а первый вход - с третьим входом шестого и с вторым входом двенадцатого элементов •И и с вторым выходом третьего буферного регистра, второй и третий входы четвертого комбинационного сумматора подключены соответственно к первому и второму выходам третьего регистра сдвига, а первый выход - к третьему входу двенадцатого элемента И, выход счетного триггера связан с третьим входом первого комбинационного сумматора, прямой и инверсный выходы первого триггера соединены соответственно с третьим входом пятого и с вторым входом третьего элементов И, второй вход второго элемента ИЛИ подключен к выходу седьмого элемента И, а выход генератора импульсов связан с вторым входом четвертого элемента И.This goal is achieved t ^ m, that 5 a device for correcting the position of the cutter on a programmable machine tool ^ containing a pulse generator, a counter whose output is connected to the R-input of the first RS-trigger, sequentially connected to the block of the first elements OR, the first combinational an adder and a first buffer register whose output is connected to the second input of the first adder combination, sequence, 5 Tel'nykh connected the second adder combination, the first shift register block and the first member and is connected in series and the third combination adder, the second shift register and the block 20 of the second AND elements, the output of which and the output of the block of the first elements AND are connected to the inputs of the block of the first elements OR, and the outputs of the first and second shift registers are connected to the inputs 25 of the second and third combination adders, respectively, contains comparison unit, counting trigger, second RS trigger, EC trigger, serially connected third element And, fourth element And, fifth element And, second buffer register, fourth combiner, sixth ele ent And, the second element and third OR gate OR, series-connected third shift register and a control unit normalization serially connected fourth shift register, the fifth combination. The totalizer, the third buffer register and the seventh AND element, as well as the eighth, ninth, tenth, eleventh and twelfth elements AND, the first and second elements NOT and the fourth OR element, the output of which is connected to the account. the first input of the counter, the first and second inputs are to the outputs of the ninth and twelfth AND elements, respectively, and the third input is to the second input of the first shift register and to the output of the eleventh AND connected by the first input to the input of the second element NOT, with the output of the first element NOT and with the second input of the block of the first elements And, and the second input - with the first input of the tenth element And, with the second input of the first buffer register, with the input of the counting trigger and with the output of the eighth element And, connected by the first input and output of the fourth element And, in the other entrance is with a direct output of a ЗК-flip-flop, the inverse output of which is connected to the first input of the third and second inputs of the fifth AND element, the C-input to the output of the third OR element, and 3 and K-inputs to direct and inverse outputs, respectively a second RS-flip-flop connected to the S-input with the output of the second OR element and the R-input with the second input of the third OR element, with the second input of the second shift register and with the output of the tenth element AND, the second input of which is connected to the second output of the first buffer register and to the input of the first element is NOT The comparator unit is connected to the master inputs of the device and to the installation inputs of the third and fourth shift registers, the first output - with the second input of the seventh and the first input of the twelfth AND element, and the second output - with the second input of the sixth and the first input of the ninth AND element, controlling the inputs of the third and fourth shift registers are connected to the output of the normalization control unit, the second input of which is connected to the second output of the fourth shift register and to the second input of the fifth combination adder of the connected the third input to the output of the third buffer register, and the second output to the third input of the seventh and second input of the ninth AND element, the second input of the second buffer register is connected to the second output of the fourth combination adder, and the first input to the third input of the sixth and second input of the twelfth elements • And with the second output of the third buffer register, the second and third inputs of the fourth combination adder are connected respectively to the first and second outputs of the third shift register, and the first output to the third input of the twelfth element AND, the output of the counting trigger is connected to the third input of the first combination adder, the direct and inverse outputs of the first trigger are connected respectively to the third input of the fifth and second input of the third element And, the second input of the second OR element is connected to the output of the seventh element And, and the output of the generator pulses connected to the second input of the fourth element I.
На фиг, 1 представлена схема предлагаемого устройства; на фиг. 2 - схема блока управления норматизацией, ·, на фиг. 3 и 4 - диаграммы для пояснения работы устройства.In Fig, 1 presents a diagram of the proposed device; in FIG. 2 is a diagram of a standardization control unit, ·, in FIG. 3 and 4 are diagrams for explaining the operation of the device.
Устройство (фиг. 1) содержит первый 1 и второй 2 регистры сдвига, второй 3 и третий 4 комбинационные сумматоры, 5 блок 5 первых и блок 6 вторых элементов И, второй элемент НЕ 7, первый комбинационный сумматор 8, первый буферный регистр 9, первый элемеп. НЕ 10, согласующие элементы НЕ 11-16, чет- Ю вертый 17 и третий 18 регистры сдвига, пятый 19 и четвертый 20 комбинационные сумматоры, третий 21 и второй 22 буферные регистры , блок 23 сравнения, блок 24 управления нормализацией, счет- 15 ный триггер 25, третий 26, одиннадцатый 27, десятый 28, четвертый 29, пятый 30, девятый 31, восьмой 32, седьмой 33, шестой 34 и двенадцатый 35 элементы И, первый 36 и второй 37 RS- 20 триггеры, 7К—триггер 38, счетчик 39, генератор 40 импульсов, третий 41, четВертый 42 и второй 43 элементы ИЛИ и блок 44 первых элементов ИЛИ.The device (Fig. 1) contains the first 1 and second 2 shift registers, second 3 and third 4 combination adders, 5 block 5 of the first and block 6 of the second elements AND, the second element is NOT 7, the first combination adder 8, the first buffer register 9, the first elemep. NOT 10, matching elements NOT 11-16, fourth to 17th and third 18th shift registers, fifth 19th and fourth 20th combinational adders, third 21th and second 22th buffer registers, comparison block 23, normalization control block 24, counted 15th trigger 25, third 26, eleventh 27, tenth 28, fourth 29, fifth 30, ninth 31, eighth 32, seventh 33, sixth 34 and twelfth 35 elements I, first 36 and second 37 RS-20 triggers, 7K — trigger 38, counter 39, pulse generator 40, third 41, fourth 42 and second 43 OR elements and block 44 of the first OR elements.
Причем элементы 1-10, 25, 27 и 25 28 образуют круговой интерполятор, работающий по принципу оценочной функции с поочередной выдачей приращений по координатам, а элементы 17-23 - линейный двухкоординатный интерполятор, по- 30 строенный по принципу цифрового диффе- . ренциального анализатора (ЦДА). Элементы НЕ 11-16 несут функциональную нагрузку лишь в случае использования элементов 26-35 и 41-43 и триггеров 35 36—38 и отрицательной логикой, и при описании работы устройства не упоминается. Блок 24 управления нормализацией содержит (фиг. 2) триггер 45, элементы И-НЕ 46 и ИЛИ 47 и генератор до 48 импульсов.Moreover, elements 1-10, 25, 27, and 25 28 form a circular interpolator operating on the principle of an evaluation function with alternately issuing increments in coordinates, and elements 17-23 are a linear two-coordinate interpolator constructed on the basis of the digital diffe principle. potential analyzer (CDA). Elements NOT 11-16 carry a functional load only in the case of using elements 26-35 and 41-43 and triggers 35 36-38 and negative logic, and the description of the operation of the device is not mentioned. The normalization control unit 24 contains (Fig. 2) a trigger 45, AND-NOT 46 and OR 47 elements, and a generator of up to 48 pulses.
Устройство работает следующим образом.The device operates as follows.
Перед началом работы исходная информация заносится в него следующим обра- д5 зом?· Величина поправки ΔΡ заносится в ‘ дополнительном коде в регистр 1 и счетчик 39. Величина Х^ (*к)заносится в регистр 17, а величина ΖΗ (2К)- в регистрBefore starting work, the initial information is entered into it as follows 5 ? · The correction value ΔΡ is entered in register 1 and counter 39 in the 'additional code. The value X ^ (* k ) is entered into register 17, and the value Ζ Η (2 К ) - to the register
18. Если вычисляется поправка в первом 50 кадре, то это Хн,2цв дальнейшем -ΧΚ,ΖΚ, но на работу устройства смысл величин Khz влияния не оказывает, поэтому в дальнейшем обозначаем их Х н и Ζ^· Одновременно с занесением информации Хм, 2н в регистры 17 и 18 блок 23 определяет большую из величин, и на ее выходе появляются сигналы Z ? X или X>z. Сигнал предварительной установки (ПУ) сбрасывает в 'ноль* регистры 2, 9 и триггеры 36-38, после чего из блока центрального управления системы (не показан) приходит сигнал 'Пуск нормализа- . ции', который включает блок 24. Этот блок начинает вырабатывать импульсы сдвига, поступающие на сдвигающие входы регистров 17 и 18. Информация в них начинает сдвигаться в сторону старших разрядов до тех пор, пока в старшем разряде любого из регистров 17 и 18 не появится единица, после чего подача сдвигающих импульсов прекращается. После ‘хэтого на единичный вход триггера 36 поступает сигнал 'Пуск*. Этот триггер устанавливается в состояние 'единицы' и своим единичным выходом открывает элемент И 30, а нулевым выходом закрывает элемент И 26. В результате на выходе элемента И 26 исчезает нулевой потенциал и элемент И 29 открывается. Теперь импульсы генератора 40 через элемент И 29 начинают поступать на входы элементов И 30, И 32. Но элемент И 32 закрыт, так как триггер 38 сигналом предварительной установки ПУ установлен в Нулевое состояние, а элемент И 30 открыт, так как на единичном выходе триггера 36 и нулевом выходе триггера 38 имеются единичные сигналы. Благодаря ’этому импульсы с выхода элемента И 30 начинают поступать на выходы записи регистров 17 и 22, которые совместно с сумматорами 19 и 20 образуют накапливающие сумматоры линейного интерполятора и одновременнона соответствующие входы элементов И 31, 33, 34, 35, которые по двум другим своим входам управляют сигналами переноса (Р) старшего разряда сумма торов 19 и 20 и сигналами ZH<XHи Хн > Zu соответственно.18. If the correction in the first 50 frame is calculated, then this is Х н , 2ц in the future -Χ Κ , Ζ Κ , but the meaning of the Khz values does not affect the device’s operation, therefore, we will denote them by Х н and Ζ ^ · At the same time information X m , 2n in registers 17 and 18, block 23 determines the largest of the values, and Z signals appear on its output? X or X> z. The preset signal (PU) resets to 'zero * registers 2, 9 and triggers 36-38, after which the signal' Normalization start-up 'comes from the central control unit of the system (not shown). '', which includes block 24. This block begins to generate shear pulses arriving at the shifting inputs of registers 17 and 18. Information in them begins to shift towards the higher bits until a unit appears in the highest bit of any of the registers 17 and 18 then the supply of shear pulses is stopped. After 'hato, a trigger' signal * is received at the single input of trigger 36. This trigger is set to the “one” state and opens the And 30 element with its single output, and closes the And 26 element with a zero output. As a result, the zero potential disappears at the output of And 26 element and And 29 opens. Now the pulses of the generator 40 through the element And 29 begin to flow to the inputs of the elements And 30, And 32. But the element And 32 is closed, since the trigger 38 is set to the Zero state by the preset signal, and the And 30 element is open, since the trigger has a single output 36 and the zero output of the trigger 38 there are single signals. Due to this, pulses from the output of the And 30 element begin to arrive at the recording outputs of the registers 17 and 22, which, together with the adders 19 and 20, form the accumulating adders of the linear interpolator and simultaneously the corresponding inputs of the And 31, 33, 34, 35 elements, which are two different the inputs are controlled by the transfer signals (P) of the highest order, the sum of the tori 19 and 20 and the signals Z H <X H and X n > Zu, respectively.
Пусть, например,2Н < Хн,тогда (фиг.2) угол ot <45°, и в этом случае выходные сигналы координаты 2 линейного интерполятора через элемент И 34 и элемент ИЛИ 43 будут поступать на единичный вход триггера 37 и вход элемента ИЛИ 41, а выходные сигналы координаты X через элемент И 31 и элемент ИЛИ 42 на счетный вход счетчика 3 9. Таким образом, выход элемента И 30 фактически . является входом аргумента линейного ин' терполятора. Предположим, что первый шаг сделан по координате X , тогда содержимое счетчика 39 уменьшится на единицу. На фиг. 3 это эквивалентно движению на единицу проекции X вектора Xrt.Suppose, for example, 2 H <X n , then (Fig. 2) the angle ot <45 °, and in this case, the output signals of the coordinate 2 of the linear interpolator through the AND 34 element and the OR element 43 will go to the trigger input 37 and the input element OR 41, and the output coordinates of the X coordinate through the AND element 31 and the OR element 42 to the counting input of the counter 3 9. Thus, the output of the And 30 element is actually. is the input of the linear interpolator argument. Suppose that the first step is made along the X coordinate, then the contents of the counter 39 will decrease by one. In FIG. 3 this is equivalent to the motion per unit projection X of the vector X rt .
Ϋ codΫ cod
2Η , задаваемого линейным интерполятором от точки О к точке Б.. Следующий импульс, выработанный линейным интерполятором по координате X , вызовет следующий шаг по координате X и также бу- 5 дет зафиксирован счетчиком 39, и т.д. Так продолжается до тех пор, пока не выработается импульс по координате ι. Этот импульс через элемент И 34 и элемент ИЛИ 43 поступит на единичный (5) 10 вход триггера 37, который и установит (своим передним фронтом в состояние I*, а через элемент ИЛИ 41 поступит на синхро-вход триггера 38, в результате чего этот триггер также устанавливает— .15 ся в '1*.2 Η defined by the linear interpolator from point O to point B. The next pulse generated by the linear interpolator in the X coordinate will cause the next step in the X coordinate and will also be fixed by counter 39, etc. This continues until an impulse is generated along the ι coordinate. This pulse through the And 34 element and the OR 43 element will go to the trigger input 37 (5) 10, which will set ( with its leading edge to state I *, and through the OR 41 element will go to the trigger sync input 38, as a result of which the trigger also sets - .15 to '1 *.
Теперь на входе элемента И 30 появляется нулевой потенциал, ' и поступление импульсов на вход аргумента линейного интерполятора прекращается. Одно- 20 временно открывается элемент И 32 и с его выхода импульсы частоты генератора 40 начинают поступать на вход аргумента кругового интерполятора, а именно: на вход записи регистра 9, который 25 совместно с сумматором 8 образует накапливающий сумматор оценочной функции, на входы элементов И 27 и 28 (формирования координатных приращений) и на счетный вход триггера 25. Круго- 39 вая интерполяция осуществляется по следующему алгоритму оценочной функции. При F(X1*,Zj)^O, т.е. когда точка находится на или вне окружности, шаг делается по координате X и новое значение оценочной функции вычисляется по формуле F (X/, ZJ )-2Xϊ + 4,Now, at the input of the And 30 element, a zero potential appears, 'and the arrival of pulses to the input of the linear interpolator argument stops. At the same time, the And 32 element is temporarily opened and from its output the frequency pulses of the generator 40 begin to enter the input of the circular interpolator argument, namely: to the input of the register 9, which 25 together with the adder 8 forms the accumulating adder of the evaluation function, to the inputs of the And 27 elements and 28 (the formation of coordinate increments) and to the counting input of the trigger 25. Circular 39 interpolation is carried out according to the following algorithm of the evaluation function. For F (X 1 *, Zj) ^ O, i.e. when the point is on or outside the circle, the step is taken along the X coordinate and the new value of the evaluation function is calculated by the formula F (X /, ZJ) -2Xϊ + 4,
При F(X1·, Zj)< 0 точка находится внутри окружности, при этом делается шаг по оси 2, а новое значение оценочной функции вычисляется по формулеFor F (X 1 ·, Zj) <0, the point is inside the circle, and a step is taken along the 2 axis, and the new value of the estimated function is calculated by the formula
Р(Х^ , 2^,)=^ (^,2,-) + 22^/.P (X ^, 2 ^,) = ^ (^, 2, -) + 22 ^ /.
Реализация этого алгоритма имеет· ряд особенностей, существенно упрощающихся его схему, а именно: операция вычитания 2Х/ заменена сложением с дополнительным кодом X причем др = Хн кругового интерполятора заносится в регистр 1 последовательно и сразу в дополнительном коде, что исключает громоздкий параллельный преобразователь прямого кода в дополнительный, разрядность блоков 1+9 кругового интерполятора сокращена на -один, что значительно сокращает объем оборудования, исключает необходимость сдвига кодов Х{, Z; для получения их двойных значений 2Х/ 22, или двойное суммирование, что повышает быстродействие и также уменьшает объ 351 .8 .The implementation of this algorithm has a number of features that significantly simplify its scheme, namely: the 2X subtraction operation is replaced by addition with an additional code X, and dr = X n of a circular interpolator is entered into register 1 sequentially and immediately in an additional code, which eliminates the cumbersome parallel direct converter additional code, the bit capacity of blocks 1 + 9 of the circular interpolator is reduced by -one, which significantly reduces the amount of equipment, eliminates the need to shift codes X {, Z; to obtain their double values 2X / 22, or double summation, which increases speed and also reduces the volume of 351 .8.
ем оборудования, а удвоение разрядности величин X;, Zjдостигается подключением к младшему разряду сумматора 8 единичного выхода триггера 25, на счетный вход которого поступает каждый входной импульс аргумента. Так как логическая функция триггера 25 совпадает с логической функцией сумматора при суммировании единиц, то такое включение триггера 25 эквивалентно увеличению на один разряд разрядности всех блоков 1+6, 8,equipment, and doubling the bit depth of X ;, Zj is achieved by connecting to the low-order bit of the adder 8 a single output of trigger 25, to the counting input of which each input pulse of the argument arrives. Since the logical function of the trigger 25 coincides with the logical function of the adder when summing the units, this inclusion of the trigger 25 is equivalent to an increase of one bit of the capacity of all blocks 1 + 6, 8,
9, 44 и выполнению сдвигов или повторных суммирований величин X,- Z,· .9, 44 and performing shifts or repeated summations of the quantities X, - Z, ·.
Далее круговой интерполятор работает следующим образом. При положительном значении оценочной функции на выходе знакового разряда регистра -9 имеется ноль, поэтому элемент И-28 закрыт·, а элемент И 27 открыт единичным сигналом через элемент НЕ 10. Поэтому им пульс частоты пройдет .через элемент И 27 и поступит на выход интерполятора по координате X, причем по заднему фронту этого импульса, который воздействует также на вход (С2) параллельной записи регистра 9, запишется новое значение подинтегральной функции, откорректированное на величину, хранимую в регистре 1,,т.е. на -2Х,-, так как блок 5 открыт выходным сигналом элемента НЕNext, the circular interpolator operates as follows. With a positive value of the evaluation function, there is zero at the output of the sign bit of register -9, therefore the I-28 element is closed along the X coordinate, and on the trailing edge of this pulse, which also affects the input (C2) of the parallel recording of register 9, a new value of the integrand is written, adjusted to the value stored in register 1, i.e. by -2X, -, since block 5 is open by the output signal of the element NOT
10. Выходной импульс элемента И 27 поступит на вход параллельной записи (С2.) регистра 1 и произведет запись в него выходной комбинации сумматора 3, что эквивалентно уменьшению абсолютного значения величины X,- в регистре 1 на единицу, т.е. образуя величину X·,.При отрицательном значении оценочной функции на выходе знакового разряда регистра 9 имеется единица, которая открывает элемент И 28, формируя импульс по координате 2 , а так как по цепи элементов НЕ 7, 10 оказывается открытым блок 6, то оценочная функция корректируется на величину Z j, хранимую в регистре 2, и аналогично работе предыдущей координаты, выходной импульс координаты' 2 добавляет единицу к содержимому регистра 2, образуя величину Zj+1, Таким образом, реализуется приведенный выше алгоритм круговой интерполяции. Если приращение выработано по координате X, то импульс с выхода элемента10. The output pulse of element And 27 will go to the input of a parallel record (C2.) Of register 1 and record the output combination of adder 3 in it, which is equivalent to decreasing the absolute value of X in register 1 by one, i.e. forming a value of X is adjusted by the value of Z j stored in register 2, and similarly to the previous coordinate, the output pulse of coordinate '2 adds one to the contents of register 2, forming the value Zj + 1, Thus, the above circular interpolation algorithm is implemented. If the increment is generated along the X coordinate, then the pulse from the output of the element
И 27 через элемент ИЛИ 42 поступит на счетный вход счетчика 3 9, что эквивалентно единичному шагу проекции точки дуги окружности А-8 от точки А в сторону точки Б (фиг. 3). При выработке приращения по координате Z импульс юс появляется на выходе элемента И 28.. Этот импульс поступает на RJ-вход триггера 37 и своим передним фронтом сбрасывает его в ноль, одновременно пройдя через элемент ИЛИ 41, поступает на 5 вход с триггера 38 и своим задним фронтом сбрасывает его в ноль. В результате прекращается подача импульсов частоты на вход аргумента кругового интерполятора через элемент И 32. В момент 10 переключения координаты 2 текущей точки 49 прямой и текущей' точки 50, дуги равны (фиг. 3), а координаты X текущих точек дуги приближаются друг к другу. Цикл работы повторяется, при этом 15 координаты 2 дуги и линии следят’ друг за другом, а по координате X двигаются навстречу друг другу. Цикл работы прекращается, когда дуга и окружность пересекутся в точке 55, что определяет- го ся по переполнению счетчика 39. Действительно, сумма координатных приращений) по координате X в этот момент окажется равной Δ ί?.And 27 through the OR element 42 will go to the counting input of the counter 3 9, which is equivalent to a single step of the projection of the arc point of the circle A-8 from point A to point B (Fig. 3). When the increment is generated along the Z coordinate, the pulse ω s appears at the output of the And 28 element. This pulse goes to the RJ input of the trigger 37 and resets it to zero with its leading edge, while passing through the OR 41 element, it goes to the 5th input from the trigger 38 and its trailing edge resets it to zero. As a result, the frequency pulses to the input of the argument of the circular interpolator through the And 32 element are stopped. At the moment of 10 switching, the coordinates 2 of the current point 49 of the straight line and the current 'point 50, the arcs are equal (Fig. 3), and the X coordinates of the current points of the arc approach each other . The work cycle is repeated, while the 15 coordinates 2 of the arc and the lines follow each other, and along the X coordinate they move towards each other. The work cycle stops when the arc and the circle intersect at point 55, which is determined by the overflow of the counter 39. Indeed, the sum of the coordinate increments) along the X coordinate at this moment will be equal to Δ ί ?.
Сигнал переполнения счетчика 3 9 по- 25 ступает на R-вход триггера 36 и сбрасывает его в ноль, закрывая тем самым элемент И 30. Одно Еременко единичный сигнал появляется на входе элемента И 26 и, как только триггер 38 окажется 30 в нуле, на втором входе элемента, И 26 окажется единица и его выходной нулевой сигнал закроет элемент И 2 9 и отключит ге. нератор40. Цикл вычисления закончен.The counter overflow signal 3 9 goes to the R-input of trigger 36 and resets it to zero, thereby closing the And 30 element. One Eremenko single signal appears at the input of the And 26 element and, as soon as the trigger 38 is 30 at zero, the second input of the element, AND 26 will be one and its output zero signal will close the element And 2 9 and disable ge. nerator40. The calculation cycle is completed.
При этом искомые величины ΑΡχ, й Rz 35 окажутся в регистрах 1 и 2, причем в регистре 1 окажется проекция д при Х^>.2цИ Δ при в регистре .2 наоборот. Элемент И 26 необходим для того, чтобы последний импульс по до координате 2 , исходя из фиг. 3, формировался круговым интерполятором, так как первый импульс по этой координате формируется линейным интерполятором, в противном случае проекция zjR2 вычис- 45 ляется с ошибкой на.один дискрет.In this case, the sought quantities ΑΡχ, R R z 35 will appear in registers 1 and 2, and in projection 1 there will be a projection q for X ^>. 2πI Δ for in register .2 vice versa. Element And 26 is necessary so that the last pulse along to coordinate 2, based on FIG. 3, was formed by a circular interpolator, since the first pulse along this coordinate is formed by a linear interpolator, otherwise the projection zjR 2 is calculated 45 with an error on one discrete.
Блок 24 (фиг. 2) работает следующим образом. Сигнал Пуск нормализации устанавливает триггер 45 в состояние!*, элемент И-НЕ 46 (открывается и с его выхода частота генератора 48 начинает проходить, на сдвигающие входы регистров 17 и 18, коды в которых начинают сдвигаться. Это продолжается до тех . пор, пока единица не появится в старшем разряде любого из регистров 17 и 18. Любая единица через элемент ИЛИ 47 сбрасывает триггер 45 в ноль. На этом нормализации заканчивается.Block 24 (Fig. 2) operates as follows. The Start Normalization signal sets the trigger 45 to the state! *, The AND-NOT element 46 (opens and from its output, the generator frequency 48 begins to pass to the shifting inputs of the registers 17 and 18, in which the codes begin to shift. This continues until the unit will not appear in the high order of any of the registers 17 and 18. Any unit through the element OR 47 resets the trigger 45 to zero.
Преимуществами предлагаемого устройства являются повышение быстродействия, так как используется одаотактная схема работы интерполяторов, время расчета не зависит от величины Х ц ι Ζ н , а только от величины Δ R, благодаря действию выходных сигналов блока 23 угол чо0 (фиг. 3) всегда ί 45°, что также увеличивает быстродействие в 2 раза, объем электронного оборудования сокращается за счет того, ^круговой интерполятор имеет разрядность поправки, а не поправки + один разрядка разрядность линейного интерполятора также может быть сведена до разрядности кругового, так как величина ошибки от неточности задания линии· редуцируется пря'.Мо пропорционально отношению Δ или :2тах г что видно из фиг. 4.The advantages of the proposed device are improved performance, since an ododact circuit of the interpolators is used, the calculation time does not depend on the value of X c ι Ζ н , but only on the value of Δ R, due to the action of the output signals of block 23, the angle h o0 (Fig. 3) always ί 45 °, which also increases the speed by 2 times, the volume of electronic equipment is reduced due to the fact that ^ the circular interpolator has bit depth corrections and not corrections + one bit bit depth of the linear interpolator can also be reduced to bit ti circular, since the error value of the reference line malfunctioning reduced prya'.Mo · Δ or proportional relation: z 2max is evident from FIG. 4.
Действительно, для современных систем Xtnax-2mcfX= 10000 мм,Д₽гпах= 2 мм, следовательно, ARrnaX,.XTnaX=' 5000. Точность увеличивается в 5000 раз, и, следовательно, разрядность линейного интерполятора может быть соответственно уменьшена без потери точности, что не только уменьшает объем оборудования, но и позволяет повысить тактовую частоту, так как время суммирования уменьшается и, следовательно,возрастает быстродействие; дополнительно уменьшается время вычисления поправки и возрастают предельно допустимые скорости, на которых может работать система ЧПУ, в которой использовано такое устройство, что особенно важно при обработке участков с большой кривизной.Indeed, for modern systems X tnax- 2 mcfX = 10,000 mm, Д₽гпах = 2 mm, therefore, ARrnaX , .XTnaX = '5000. The accuracy increases by 5,000 times, and therefore the bit depth of the linear interpolator can be correspondingly reduced without loss accuracy, which not only reduces the volume of equipment, but also allows you to increase the clock frequency, since the accumulation time decreases and, therefore, increases the speed; the correction calculation time is further reduced and the maximum permissible speeds at which the CNC system in which such a device is used can increase, which is especially important when processing sections with large curvature.
Благодаря перечисленным преимуществам объем электронного оборудования по сравнению с известными решениями приблизительно сокращается на 25%, быстродействие возрастает в 4-4,5 раза при сокращении точности, »Due to the above advantages, the volume of electronic equipment compared with the known solutions is approximately reduced by 25%, speed increases by 4-4.5 times while reducing accuracy, ”
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU813301289A SU983651A1 (en) | 1981-06-18 | 1981-06-18 | Device for correcting cutter position in program controlled machinetool |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU813301289A SU983651A1 (en) | 1981-06-18 | 1981-06-18 | Device for correcting cutter position in program controlled machinetool |
Publications (1)
Publication Number | Publication Date |
---|---|
SU983651A1 true SU983651A1 (en) | 1982-12-23 |
Family
ID=20963067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU813301289A SU983651A1 (en) | 1981-06-18 | 1981-06-18 | Device for correcting cutter position in program controlled machinetool |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU983651A1 (en) |
-
1981
- 1981-06-18 SU SU813301289A patent/SU983651A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU983651A1 (en) | Device for correcting cutter position in program controlled machinetool | |
US4125897A (en) | High speed pulse interpolator | |
US3911258A (en) | Pulse interpolation system | |
SU1149218A1 (en) | Linear-circular interpolator | |
US3521036A (en) | Binary coded decimal counter | |
SU1282083A1 (en) | Device for correcting equidistant value in numeric control systems | |
SU962857A1 (en) | Apparatus for two-coordinate program control | |
SU1427334A1 (en) | Device for controlling multicoordinate equipment | |
SU1201836A1 (en) | Device for calculating modulus of vector | |
US3531630A (en) | Numerical control device | |
SU451060A1 (en) | 3D interpolator | |
SU1084789A1 (en) | Device for extracting n-th roots | |
SU1395458A1 (en) | N/c control device for gear-shaping machine | |
SU1522157A1 (en) | Linear interpolator | |
SU1140098A1 (en) | Digital interpolator | |
SU1218368A1 (en) | Programmed control device | |
RU1775854C (en) | Controlled pulse recurrence frequency divider | |
SU1317398A1 (en) | Device for correcting equidistance | |
SU1318992A1 (en) | Device for correcting equidistant curve | |
SU888073A1 (en) | Linear interpolator | |
SU643834A1 (en) | Device for correcting equidistant in programme-control machine-tools | |
SU807236A1 (en) | Linear-circular interpolator | |
SU653746A1 (en) | Binary pulse counter | |
SU1348773A1 (en) | Program representation device | |
SU849148A1 (en) | Program setting device |