SU1215090A2 - Linear-circular interpolator - Google Patents

Linear-circular interpolator Download PDF

Info

Publication number
SU1215090A2
SU1215090A2 SU843772836A SU3772836A SU1215090A2 SU 1215090 A2 SU1215090 A2 SU 1215090A2 SU 843772836 A SU843772836 A SU 843772836A SU 3772836 A SU3772836 A SU 3772836A SU 1215090 A2 SU1215090 A2 SU 1215090A2
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
elements
register
block
Prior art date
Application number
SU843772836A
Other languages
Russian (ru)
Inventor
Юрий Абрамович Раисов
Александр Георгиевич Середкин
Original Assignee
Харьковский Ордена Ленина Политехнический Институт Им.В.И.Ленина
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Харьковский Ордена Ленина Политехнический Институт Им.В.И.Ленина filed Critical Харьковский Ордена Ленина Политехнический Институт Им.В.И.Ленина
Priority to SU843772836A priority Critical patent/SU1215090A2/en
Application granted granted Critical
Publication of SU1215090A2 publication Critical patent/SU1215090A2/en

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

Изобретение относитс  к области автоматики и В1ич слительной техники , и может быть использовано в системах числового программного управлени  станками, Целью изобретени   вл етс  повышение точности круговой интерпол ции дуги. Линейно-круговой интерпол тор содержит регистры , сумматоры, умножители, блоки элементов И, блок тактировани , генератор импульсов, делители, коммутатор , блок линейной интерпол ции, сумматор-накопитель, блок переключени . Данное изобретение сочетает две существенно отличакициес  группы интерпол ции с посто нным шагом и многоразр дными приращени ми. Применение блока линейной интерпол ции по методу оценочной функции и св занных с ним дополнительных элементов и блоков к интерпол тору с Многоразр дными приращеии ми позволило исключить накопление ошибки, скачков, существенно повысить точность круговой интерпол ции. При круговой интерпол ции после расчета миогордзр д ных приращений производитс  коррекци  положени  рассчитанной точки путем линейной интерпол ции одиноч- ными шагами из этой точки к центру окружности. 3 з.п. ф-лы, 5 Ш1 (Л 01 оThe invention relates to the field of automation and Batching technology, and can be used in computer numerical control systems. The aim of the invention is to improve the accuracy of circular arc interpolation. The linear-circular interpolator contains registers, adders, multipliers, AND units, a clock unit, a pulse generator, dividers, a switch, a linear interpolation unit, an accumulator, a switch unit. This invention combines two substantially different interpolation groups with constant pitch and multi-bit increments. The use of a linear interpolation block according to the method of evaluation function and the additional elements and blocks associated with it to an interpolator with multi-bit increments made it possible to eliminate the accumulation of errors, jumps, to significantly increase the accuracy of circular interpolation. In circular interpolation after calculating the myogordary increments, the position of the calculated point is corrected by linear interpolation in single steps from this point to the center of the circle. 3 hp f-ly, 5 Sh1 (L 01 o

Description

1 one

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано в системах числового программного управлени  станками.The invention relates to the field of automation and computer technology and can be used in computer numerical control systems.

Цель изобретени  - повьппение точности круговой интерпол ции дуги.The purpose of the invention is to improve the accuracy of circular arc interpolation.

Данное техническое решение сочетает две существенно отличающиес  группы интерпол ции: с посто нным шагом и многоразр дными приращени ми , Применение блока линейной интерпол ции по методу оценочной функции и св занных с ним дополнительных элементов и блоков к интерпол тору с многоразр дными приращени ми позволило исключить накопление ошибки, скачков, существенно повысить точность круговой интерпол ции.This technical solution combines two significantly different interpolation groups: with a constant step and multi-bit increments. The use of a linear interpolation block by the method of the evaluation function and the additional elements and blocks associated with it to an interpolator with multi-bit increments made it possible to eliminate accumulation errors, jumps, significantly improve the accuracy of circular interpolation.

На фиг, 1 приведена структурна  схема предлагаемого интерпол тора; на фиг. 2 - схема вьшолнени  блока тактировани ; на фиг, 3 - пример выполнени  блока линейной интерпол ции; на фиг, 4 - блок переключени  ,Fig. 1 shows the structural scheme of the proposed interpolator; in fig. 2 shows an execution circuit of a clocking unit; FIG. 3 shows an example of a linear interpolation block; FIG. 4 shows a switching unit;

Линейно-круговой интерпол тор содержит первые 1 и 2, вторые 3 и 4 и третьи 5 и 6 регистры, первые 7 и 8 и вторые 9 и 10 сумматоры, умно- хдатели 11 и 12, делители 13 и 14, первые 15, 16 и вторые 17, 18 блоки элементов И, блок тактировани  19, генератор импульсов 20, коммутатор 21, блок линейной интерпол ции 22, сумматор-накопитель 23, блок переключени  24, первые 25, 26 и вторые 27, 28 выходы делителей 13 и 14 соответственно 29-30, 31-33 входы и 34-37 выходы блока переключени , вход 38 и выходы 39-44 блока тактировани .The linear-circular interpolator contains the first 1 and 2, the second 3 and 4 and the third 5 and 6 registers, the first 7 and 8 and the second 9 and 10 adders, the smart speakers 11 and 12, the dividers 13 and 14, the first 15, 16 and second 17, 18 blocks of elements AND, clock unit 19, pulse generator 20, switch 21, linear interpolation unit 22, accumulator 23, switch unit 24, first 25, 26 and second 27, 28 outputs of dividers 13 and 14, respectively 29 -30, 31-33 inputs and 34-37 outputs of the switch unit, input 38 and outputs 39-44 of the clock unit.

Блок переключени  24 содержит элементы И 45-48 Св зи, показанные на схеме, обеспечивают требуемое дл  правильной работы интерпол тора подключение шин 29 и 30 на выходные шины 35 и 36 в режиме линейной интерпол ции и в режиме круговой интерпол ции - на шины 34 и 37 дл  передачи в сумматоры 7 и 8 соответственно .Switching unit 24 contains AND 45-48 Link elements shown in the diagram provide the connection of buses 29 and 30 required for the interpolator to work correctly on output buses 35 and 36 in linear interpolation mode and in circular interpolation mode on buses 34 and 37 for transmission to adders 7 and 8, respectively.

Блок тактировани  19 включает RS -триггер 49, генератор импульсов 50, элемент И 51, счетчик импульсов 52, дешифратор 53, По входной линии 38 поступают импульсы, задающие цикл вычисленийJ выходные шины 39-44 под15090 2The clock unit 19 includes the RS-trigger 49, the pulse generator 50, element 51, the pulse counter 52, the decoder 53. The input line 38 receives pulses that specify the computation cycleJ output buses 39-44 under 15090 2

ключаютс  к соответствующим блокам интерпол тора (см. фиг. 1).are connected to the corresponding interpolator blocks (see fig. 1).

Блок линейной интерпол ции 22 содержит RS-триггер 54, элемент за- 5 держки 53, элементы И 56, 57, регистры 58, 59, входы 60, 6 и 62 блока, выходы 63, 64 блока линейной интерпол ции . Св зи блока линейной интерпол ции обеспечивают линейную интер10 пол цию по методу оценочной .функции вдоль пр мой, задаваемой точками с координатами Х,, У и О, О, где Х, и УК - координаты, получаемые с выхода сумматоров 7 и 8, по направлениюThe linear interpolation block 22 contains the RS-flip-flop 54, the delay element 53, the And elements 56, 57, the registers 58, 59, the inputs 60, 6 and 62 of the block, the outputs 63, 64 of the linear interpolation block. The links of the linear interpolation block provide linear interpolation according to the method of evaluation function along the straight line, given by points with coordinates X, Y, O, O, O, where X, and CC are the coordinates obtained from the output of adders 7 and 8, according to direction

)5 к точке с координатами 0,0.) 5 to the point with coordinates 0,0.

Блок переключени  24 содержит также элементы И 65, 66, элементы ИЛИ 67, 68, а блок линейной интерпо- л ции 22 - блоки элементов И 69 иSwitching block 24 also contains elements AND 65, 66, elements OR 67, 68, and linear interpolation block 22 contains blocks of elements AND 69 and

20 70 и сумматор-накопитель 71.20 70 and accumulator 71.

На фиг. 1 обозначено: выход 72 сумматора-накопител  23 и выход 73 генератора импульсов.FIG. 1 is designated: output 72 of accumulator 23 and output 73 of the pulse generator.

Блоки элементов И интерпол тораElement and interpolator blocks

25 содержат m двухвходовьпс элементов И, где m - разр дность блока. Выходы элементов И образуют выходную шину блока, первые входы - первую входную шину, вторые входы - вторую25 contain m two-input elements And, where m is the block size. The outputs of the elements And form the output bus of the block, the first inputs - the first input bus, the second inputs - the second

30 входнзпо шину.30 input bus.

Устройство работает следующим образом .The device works as follows.

В регистрах 1 и 2 в исходном состо нии устанавливаютс  координатыIn registers 1 and 2, coordinates are set in the initial state.

35 начальной точки Х, У дуги при35 starting points X, U arc at

круговой интерпол ции либо величины перемещени  по ос м Xg, У на участке отработки при линейной интерпол ции . В процессе круговой интерпол 40 ции в этих регистрах содержатс  величины координат текущей точки дуги, в процессе линейной интерпол ции содержимое регистров 1 и 2 не мен етс , В умножител х 11 и 12 производит45 с  умножение содержимого регистров 1 и 2 на величину шага интерпол ции по контуру Н, Величина шага Н определ етс  заданной скоростью подачи и длительностью цикла вычислений t ,circular interpolation or the magnitude of the displacement along the axis m Xg, Y in the area of mining with linear interpolation. In the process of circular interpol 40, the coordinates of the current point of the arc are contained in these registers; in the course of linear interpolation, the contents of registers 1 and 2 do not change. In multipliers 11 and 12, 45 computes the contents of registers 1 and 2 by the interpolation step of contour H, the step size H is determined by the given feed rate and the duration of the computation cycle t,

50 т,е, Н V« & , причем const. Если регистры 1 и 2 имеют m разр дов каждый , а дл  величины шага Н предусмотрено К разр дов, то разр дность произведени  составит (т + к).50 t, e, H V «&, and const. If registers 1 and 2 have m bits each, and K bits are provided for K bits, then the product width will be (t + k).

55 В регистрах 3 и 4 размещаютс  суммы содержимого соответствующего умножител  11 и 12 и m младших разр дов делимого делителей 13 и 14, суммирование которых производитс  сумматорами 9 и 10. Делители 13 и 14 осуществл ют деление содержимого регистров 3 и 4 на величину радиуса дуги R при круговой интерпол ции или на величину перемещени  по контуру 1 при.линейной интерпол ции. Деление производитс  с точностью до К разр дов , т.е. К - разр дное частное размещаетс  в выходном регистре делител  13 (или 14), а m - разр дный остаток сохран етс  в регистре делимого . Блоки элементов И 15 и 16 служат дп  передачи содержимого m младших разр дов делимого делителей 13 и 14 на сумматоры 7 и 8. В регистрах 5 и 6 хран тс  величины приращений координат 4 X и U У. Блок тактировани  19 с приходом каждого тактового сигнала по входу 38 вырабатывает на выходах 39-44 последовательность из шести импульсов, которые определ ют последовательность операций в устройстве . Блок переключени  24 в режиме круговой интерпол ции подключает выход регистра 5 на вход сумматора 8. по.шине 7 и на выход интерпол тора по оси у по щине 36; выход регистра 6 подключен на выход сумматора 7 по шине 34 и на выход интерпол тора по оси X по шине 35. В режиме линейной интерпол ции выход регистра 5 подключен к шине 35, выход регистра 6 - к шине 36. В этом режиме подключени  шин 34 и 37 к выходам регистров 5 и 6 не производитс . Указанныев элементы обеспечивают расчет и вьщачу приращений координат на методу ЦДЛ с многоразр дными приращени ми.55 Registers 3 and 4 contain the sums of the contents of the corresponding multiplier 11 and 12 and m the least significant bits of divisible dividers 13 and 14, which are summed by adders 9 and 10. Divisors 13 and 14 divide the contents of registers 3 and 4 by the value of the arc radius R with circular interpolation or by the amount of movement along contour 1 at linear interpolation. The division is made with an accuracy of K bits, i.e. K - the bit quotient is placed in the output register of the divider 13 (or 14), and m - the bit remainder is stored in the register of the dividend. The blocks of elements 15 and 16 serve as the dp of transmitting the contents of the m low bits of the divisible dividers 13 and 14 to adders 7 and 8. Registers 5 and 6 store the increments of the coordinates 4 X and U Y. Clock unit 19 with the arrival of each clock signal input 38 generates at outputs 39-44 a sequence of six pulses that determine the sequence of operations in the device. The switching unit 24 in the circular interpolation mode connects the output of the register 5 to the input of the adder 8. to bus 7 and to the output of the interpolator along the y axis along the strip 36; the output of register 6 is connected to the output of the adder 7 via bus 34 and to the output of the interpolator along the X axis via bus 35. In linear interpolation mode, the output of register 5 is connected to bus 35, the output of register 6 to bus 36. In this mode of bus connection 34 and 37 to the outputs of registers 5 and 6 is not produced. These elements provide the calculation and increment of the coordinates increments on the CFL method with multi-digit increments.

При круговой интерпол ции после расчета многоразр дных приращений производитс  коррекци  положени  рассчитанной точки путем линейной интерпол ции одиночными шагами из этой точки к центру окружности. Лрин цип коррекции по сн етс  на фиг. 5. После каждого шага рассчитываетс  значение оценочной функции дл  окружности . Линейна  интерпол ци  к центру окружности прекращаетс  при изменении знака оценочной функции дл  окружности. Линейную интерпол цию одиночными шагами выполн ет блок линейной интерпол ции 22, в регистры которого поступают координаты начальной точки движени  с сумматоров 7 и 8, Коммутатор 21 разрешает про215090In circular interpolation after calculating multi-bit increments, the position of the calculated point is corrected by linear interpolation in single steps from this point to the center of the circle. The len cip correction is shown in FIG. 5. After each step, the value of the evaluation function for the circle is calculated. Linear interpolation to the center of the circle ceases when the sign of the evaluation function for the circle changes. Linear interpolation is performed in single steps by a linear interpolation block 22, the registers of which receive the coordinates of the starting point of motion from adders 7 and 8, Switch 21 allows 215090

хождение импульсов от генератора 20 дл  ведени  линейной интерпол хщн. С выхода 63 блока линейной интерпол ции 22 по координате X импульсыpulse propagation from generator 20 for maintaining linear interpol xsn. From the output of the 63 linear interpolation block 22 on the X coordinate pulses

5 поступают на входы регистра 1 и регистра 5, уменьша  их содержимое на единицу с приходом каждого импульса . При этом через блок элементов И 17 разрешаетс  сложение значени 5 are fed to the inputs of register 1 and register 5, reducing their content by one with the arrival of each pulse. At the same time, through the block of elements And 17 the addition of the value

10 координаты X с содержимым сумматора- накопител  23, в котором хранитс  значение оценочной функции дл  окружности. Аналогичные действи  происход т при расчете координаты10, the X coordinates of the accumulator adder 23, which stores the value of the evaluation function for the circle. Similar actions occur when calculating the coordinates

15 У по линии 64, импульсы поступают на входы регистра 2 и регистра 6, уменьша  их содержимое. С каждым импульсом через блок элементов И 18 содержимое регистра 2 поступает в15 I on line 64, the pulses arrive at the inputs of register 2 and register 6, reducing their contents. With each pulse through the block of elements And 18 the contents of register 2 enters

20 сумматор-накопитель 23. При переполнении сумматора-накопител  (изменение знака оценочной функции дл  окружности ) коммутатор 21 запрещает прохождение импульсов с генератора20 accumulator 23. If the accumulator accumulator overflows (changing the sign of the evaluation function for a circle), switch 21 prohibits the passage of pulses from the generator

25 20 на блок линейной интерпол ции 22,25 20 per linear interpolation block 22,

II

Режим линейной интерпол ции. В этом режиме в регистры 1 и 2 ввод тс  величины Xj и У перемещений по ос м на участке интерпол ции , в умножител х И и 12 устанавливаетс  множитель Н, в делител х 13 и 14 - делитель 1 (длина участка интерпол ции), в регистрах 3 и 4 - нули, в блок переключени  24 задает35 с  по входу 33 команда Линейна  интерпол ци . На каждый сигнал цикла по входу 38 блок 19 вырабатьгаает 6 тактов. Первый такт по линии 39 разрешает запись содержимого регистра 1Linear interpolation mode. In this mode, the Xj and Y values are entered into registers 1 and 2 on the axes in the interpolation segment, the multiplier H and 12 is set to the multiplier H, in dividers 13 and 14 - divisor 1 (the length of the interpolation segment), registers 3 and 4 are zeros; in switch block 24, the linear interpol command is set to 35 with input 33. For each signal of the cycle at the input 38, unit 19 generates 6 cycles. The first clock cycle on line 39 permits the recording of the contents of register 1

40 во входной регистр умножител  1I, вслед за чем производитс  умножение величины Х{ на Н, Второй такт по линии 40 разрешает передачу содержимого ш младших разр дов делимого дели45 тел  3 через блок элементов И 15 на сумматор 9 и запись суммы в регистр 3, Третий такт по лини  41 разрешает запись содержимого регистра 3 в регистр делимого делител  13, вслед40 in the input register of the multiplier 1I, after which the value of X {is multiplied by H, the second cycle on line 40 permits the transfer of the contents of the lower bits of the dividend body 45 through the block of elements 15 to the adder 9 and the sum is written to the register 3, the third clock cycle 41 allows writing the contents of register 3 to the register of divisible divisor 13, after

50 за чем осуществл етс  операци  делени  и запись результата делени .в регистр 5, Ан огичные действи  при прохождении первых трех тактовых сигналов производ тс  во втором коорд 55 натном канале. Четвертый и п тый такты в этом режиме действий не производ т , шестой такт по линии 44 разрешает передачу содержимого регист3050 for which the division operation is performed and the division result is recorded. In register 5, the analogic actions with the passage of the first three clock signals are performed in the second coordinate channel. The fourth and fifth cycles in this mode are not performed; the sixth cycle on line 44 permits the transfer of the contents of the register to 30.

ров 5 и 6 на выходные шины 35 и 36 соответственно. В режиме линейной интерпол ции коммутатор 2 закрыт.Ditch 5 and 6 on the output tires 35 and 36, respectively. In linear interpolation mode, switch 2 is closed.

Режим круговой интерпол ции. В этом режиме в регистрах 1 и 2 устанавливаютс  величины Х, У,, - координаты начальной точки дуги, в умножител х 11, 12 - величина шага интерпол ции Н по , в делител х 13 и 14 радиус дуги окружности R. Операции, производимые тактами , остаютс  прежними, дак и в режиме линейной интерпол ции. Четвертый такт по линии 29 разрешает передачу содержимого регистра 5 через блок переключени  24 на шину 37 и суммирование с содержимым регистра 2 через сумматор 8, а также передачу содержимого регистра 6 через блок пере- ключени  24 на шину 34 и суммирование с содержимым регистра 1 через сумматор 7. При этом вьтолн ютс  операции У,-, У; ±ЛУ; ; Х-, Х,.± ЛХ; В четвертом такте также производит- с  запись координат начальной точки интерпол ции в регистры блока линейной интерпол ции 22 по лини м 61 и 62. В п том такте открьгоаетс  коммутатор 21 и разрешаетс  прохождение импульсов генератора 20 через коммутатор 2I на вход блока линейной интерпол ции по линии 60 до момента переполнени  сумматора-накопител  23, В сумматоре-накопителе 23 хранитс  значение оценочной функции дл  окруж ности. После расчета приращений по ЦДА методу в сумматор-накопитель добавл етс  величина Н . В процессе линейной интерпол ции одиночными шагами при шаге по оси X уменьшаетс  на единицу содержимое регистра 1, регистра 5 и измен етс  на величину -(2 X +1) содержимое сумматора на- копител  23, При шаге по оси Y З еньшаетс  на единицу содержимое регистра 2, регистра 6 и измен етс  на величийу -(2 + 1) содержимое сумматора-накопител . При переполнении сумматора-накопител  23 возни- кает сигнал, закрывак ций ключ по линии 72, интерпол ци  прекращаетс , На вход блока переключени  в режиме круговой интерпол ции по линии 31 подаетс  сигнал Кругова  интерпол - ци , поэтому шестой такт по линии 44 разрешает передачу содержимого- регистра 5 через блок переключени Circular interpolation mode. In this mode, registers 1 and 2 set the values of X, Y, - the coordinates of the starting point of the arc, in multipliers 11, 12 - the interpolation step H in, in dividers 13 and 14 the radius of the arc of the circle R. Operations performed by ticks , remain the same, and in linear interpolation mode. The fourth clock cycle on line 29 permits the transfer of the contents of register 5 through a switching unit 24 to bus 37 and summation with the contents of register 2 through an adder 8, as well as the transfer of the contents of register 6 through a switching unit 24 to bus 34 and summation with the contents of register 1 through an adder 7. At the same time, operations Y, -, Y; ± LU; ; X-, X,. ± LH; In the fourth cycle, the coordinates of the initial interpolation point are also recorded in the registers of the linear interpolation block 22 via lines 61 and 62. In the fifth cycle, the switch 21 is released and the pulse of the generator 20 is allowed to pass through the switch 2I to the input of the linear interpolation unit line 60 until the accumulator accumulator 23 overflows. In accumulator accumulator 23, the value of the evaluation function for the circle is stored. After calculating the increments according to the DCA method, the value H is added to the accumulator-accumulator. In the process of linear interpolation, in single steps, with a step along the X axis, the contents of register 1, register 5 decrease by one and change by the value of - (2 X +1) the contents of the accumulator accumulator 23. During the step along the Y axis, the content decreases by one. register 2, register 6 and is changed to greatness - (2 + 1) the contents of the accumulator adder. When accumulator 23 accumulator overflows, a signal appears, the key closes on line 72, interpolation stops, Circular interpolation signal is sent to the input of the switching unit in circular interpolation mode on line 31, therefore the sixth cycle on line 44 allows content to be transmitted - register 5 through switching unit

24 на выходную шину , а содержимого регистра 6 - на выходную шину 35.24 to the output bus, and the contents of the register 6 - to the output bus 35.

В интерпол торе реализуютс  следующие вычислени .The following calculations are implemented in the interpolator.

В режиме линейной интерпол ции:In linear interpolation mode:

&X,(x,.H.R,.j,& X, (x, .H.R, .j,

.,- Xi.e,., - Xi.e,

uY;.(j-H.R,.;,,.Yg.H.fi. -iY.guY;. (j-H.R.,.; ,,. Yg.H.fi. -iY.g

где ent - цела  часть выражени ;where ent is an integral part of the expression;

R. - остатки i-ro шага вычислени  .R. are the remains of the i-ro calculation step.

В режиме круговой интерпол ции по методу ЦДА. с многоразр дными приращени ми:In the mode of circular interpolation according to the CDA method. with multi-bit increments:

,,

.,tH.X; I R., tH.X; I r

. ./H X;- ; R,. ./H X; -; R,

Х;,, Х;±йХ;,X; ,, X; ± yХ ;,

u,.u ,.

После ЦДА вычислений измен етс  значение оценочной функции (J; дл  окружности (первоначально И 0)After the calculation DCA, the value of the evaluation function changes (J; for a circle (initially AND 0)

Uu,uпнUu upn

При шаговой линейной интерпол ции оценочна  функци  имеет видIn step linear interpolation, the evaluation function is

V, Y-Y -ХV, Y-Y -X

Ul .1 1 + 1  Ul .1 1 + 1

Если V « О, то делаетс  шаг по оси Y , причемIf V "O, then a step is made along the Y axis, and

- V Vu,XiM ,- V Vu, XiM,

U-UU,-(ZY+.),U-UU, - (ZY +.),

Y-Y - i,Y-Y - i,

Если V О, то делаетс  шаг по оси X , причемIf V O, then a step is made along the X axis, and

V V. -Y V. V. -Y

HI + 1 )HI + 1)

U-llu,), X- X - ( .U-llu,), X-X - (.

71215090 .871215090 .8

Пошагова  интерпол ци  прекращаетс , чи  или отсутстви  импульса перепол- когда и i О, после чего принимаетс  нени  с сумматора-накопител  71 наStep-by-step interpolation is terminated by chi or the absence of the impulse of the intersection when i o, after which it is taken from the accumulator 71

предьщущем цикле.the previous cycle.

Хи, Hee

YU, V,YU, V,

,-/; .-j/., - /; .-j /.

где i, j - число шагов линейной интерпол ции по ос м X и Y соответственно.where i, j is the number of steps of linear interpolation along the axes X and Y, respectively.

На фиг. 2 приведена схема блока тактировани  19. В исходном состо нии триггер управлени  49 находитс  в состо нии О, элемент И закрыт, счетчик сброшен. С приходом импульса цикл к входу 38 триггер 49 устанавливаетс  в 1, открываетс  элемент И 51, через который проход т импульсы генератора 50. Очередной импульс генератора 50 увеличивает содержимое.счетчика 52, на выходах дешифратора 53 последовательно, начина  с линии 39 и заканчива  линией 44, по вл ютс  сигналы управлени . После сигнала по линии 44 по вл етс  сигнал по линии 32, который устанавливает триггер 49 и счетчик 52 в исходное состо ние.FIG. 2 shows a clock unit circuit diagram 19. In the initial state, the control trigger 49 is in the state O, the element AND is closed, the counter is reset. With the arrival of a pulse to the input 38, the trigger 49 is set to 1, the element 51 opens, through which the generator 50 pulses pass. The next pulse of the generator 50 increases the contents of the counter 52, at the outputs of the decoder 53 sequentially, starting with line 39 and ending with line 44 control signals appear. After a signal on line 44, a signal appears on line 32, which sets the trigger 49 and the counter 52 to the initial state.

На фиг. 3 приведена схема блока линейной интерпол ции. В регистр 58 по шине 61 загружаетс  начальное значение координаты X дл  пошаговой линейной интерпол ции с выхода сумматора 7 (см. фиг. 1) после расчета многоразр дных приращений по ЦДА методу . Аналогично по шине 62 загружаетс  регистр 59 начальньм значением координаты Y . В сумматоре-накопителе 71 содержитс  значение линейной оценочной функции V . Первоначально Y О, триггер 54 находитс  в О. Первый, импульс, пришедший по линии 60, проходит через открытый элемент И 56 на линию 63 (шаг по оси Х) и открьгоает блок элементов И 69; при этом в сумматор-накопитель .71 передаетс  содержимое регистра 58. Через элемент задержки 55 триггер 54 устанавливаетс  в I, Если в сумматоре-накопителе переполнени  нет, то триггер 54 остаетс  в I и следующий импульс проходит через элемент И 57 на линию 64, содержимое регистра 59 через блок элементов И 70 поступает в сумматор-накопитель 71, и на линию 64 (шаг по оси У). Очередной импульс с линии 60 проходит на линию 63 и 64 в зависимости от налиНа фиг. 4 приведена схема блока переключени . В режиме круговой интерпол ции на линии 29 присутствует 1 (Кругова  интерпол ци ). ПриFIG. 3 shows a linear interpolation block diagram. The register 58 bus 61 loads the initial value of the X coordinate for step-by-step linear interpolation from the output of the adder 7 (see Fig. 1) after calculating the multi-bit increments using the CDA method. Similarly, the bus 62 loads the register 59 with the initial value of the Y coordinate. The accumulator 71 contains the value of the linear evaluation function V. Initially, YO, trigger 54 is in O. First, the impulse that comes along line 60 passes through the open element AND 56 to line 63 (step along the X axis) and opens the block of elements And 69; the register 58 is transmitted to the accumulator .71. Through the delay element 55, the trigger 54 is set to I, if there is no overflow in the accumulator, the trigger 54 remains in I and the next pulse passes through the element 57 on line 64, the contents register 59 through the block of elements And 70 enters the adder-drive 71, and the line 64 (step along the Y axis). The next impulse from line 60 passes to line 63 and 64, depending on the flow. 4 is a circuit diagram of a switching unit. In the circular interpolation mode on line 29 there is 1 (Circular interpolating). With

поступлении четвертого такта по ли- НИИ 42 шина 29 через блок элементовreceipt of the fourth cycle on line 42 NII 42 bus 29 through a block of elements

И 65 подключаетс  к шине 37, .а шина 30 через блок элементов И 66 - к шине 34. При поступлении шестого такта по линии 44 шина 29 через элемент И 47 и элемент JiJIH. 68 подключаетс  к выходной шине 36, а шина 30 через блок элементов И 46 и элемент ИЛИ 67- к выходной шине 35.And 65 is connected to the bus 37,. The bus 30 through the block of elements And 66 to the bus 34. When the sixth cycle enters the line 44, the bus 29 through the element 47 and the element JiJIH. 68 is connected to the output bus 36, and the bus 30 via an AND 46 block of elements and an OR 67 element to the output bus 35.

2020

Claims (4)

Формула изобре-тени Formula of the invented shadow I. Линейно-круговой интерпол тор, содержащий в каждом координатном канале последовательно соединенныеI. Linear-circular interpolator containing in each coordinate channel connected in series первый сумматор, первый регистр, умножитель, второй сумматор, второй регистр, делитель и первый блок элементов И, выход которого подключен к второму входу второго сумматора канала, а также блок тактировани  и блок переключени , первый и второй выходы которого соединены с первыми входами первых сумматоров соответственно первого и второго коордгнат- ных каналов., вторые входы которыхthe first adder, the first register, the multiplier, the second adder, the second register, the divider and the first block of AND elements whose output is connected to the second input of the second channel adder, as well as the clock unit and the switching unit whose first and second outputs are connected to the first inputs of the first adders the first and second coordinate channels respectively., the second inputs of which are подключены к выходу первого регистра своего канала, вторые входы первых регистров соединены с первым входом блока переключени  и с первым выходом блока тактировани , второй выход которого соединен с вторьтм входом делител  в ка адом канале, третий выход - с вторым входом второго регистра и вторым входом блока элементов И, первого и второго координатных каналов, а четвертый выход блока тактировани  соединен с вторым входом умножител  в каждом канале, отличающийс  тем, что, с целью повышени  точности интерпол ции по контуру дуги, введены сумматор-накопитель, последовательно соединенные генератор, коммутатор и блок линейной интерпол ции и в каждый координатный канал - второй блок элементов И и третий регистр , выход которого соединен с соответствующим входом блока переключени , первый вход регистра каждого координатного канала соединен с соответствующим выходом блока линейной интерпол ции, с третьим входом первого регистра своего координатного канала и с первым входом второго блока элементов И, второй вход которого подключен к выходу первого регистра, а выход - к соответстйующему входу сумматора-накопител , подключенного выходом к второму входу коммутатора, третий вход которого подключен к п тому выходу блока тактировани , шестой выход которого соединен с третьим входом блока переключени , второй вход третьего регистра в каждом ко- ординатном канале подключен к второ- му выходу делител  данного канала,connected to the output of the first register of its channel, the second inputs of the first registers are connected to the first input of the switching unit and to the first output of the clocking unit, the second output of which is connected to the second input of the divider in the channel, the third output to the second input of the second register and the second input of the block And, the first and second coordinate channels, and the fourth output of the clock unit is connected to the second input of the multiplier in each channel, characterized in that, in order to increase the interpolation accuracy along the arc contour, accumulator, serially connected generator, switch and linear interpolation unit and in each coordinate channel - the second block of elements And and the third register, the output of which is connected to the corresponding input of the switching unit, the first input of the register of each coordinate channel is connected to the corresponding output of the linear interpol block with the third input of the first register of its coordinate channel and with the first input of the second block of elements And, the second input of which is connected to the output of the first register, and the output to the corresponding input of the accumulator connected by the output to the second input of the switch, the third input of which is connected to the fifth output of the clock unit, the sixth output of which is connected to the third input of the switching unit, the second input of the third register in each coordinate channel is connected to the second output divider of the channel, вторые выходы блока переключени   вл ютс  выходами линейно-кругового интерпол тора, вторые входы блока линейной интерпол ции соединены с выходом первого сумматора каждого координатного канала.the second outputs of the switching unit are the outputs of the linear-circular interpolator, the second inputs of the linear interpolation unit are connected to the output of the first adder of each coordinate channel. 2.Интерпол тор по п, 1, о т л и- чающийс  тем, что блок тактировани  содержит RS-триггер и последовательно соединенные генератор импульсов, элемент И, счетчик импульсов.и дешифратор, выходы которого подключены к выходам блока тактировани , пр мой выход RS-триг- гера соединен с вторым входом элемента И, 5 -вход подключен к установочному входу блока тактировани , а R- вход - к Н-входу счетчика и к выходу последнего разр да дешифратора.2. Interpolator according to claim 1, which is based on the fact that the clock unit contains an RS flip-flop and a series-connected pulse generator, element I, pulse counter, and a decoder whose outputs are connected to the outputs of the clock unit, direct output The RS flip-flop is connected to the second input of the AND element, the 5th input is connected to the setup input of the clock unit, and the R input is connected to the H input of the counter and to the output of the last digit of the decoder. 3.Интерпол тор по п. 1, о т л и- чающийс  тем, что блок линейной интерпол ции содержит первый регистр , элемент задержки, первый элемент И и последовательно соединенные второй регистр, цервый блок элементов И, сумматор-накопитель, RS- триггер, второй элемент И и второй 5 блок элементов И, выход которого соединен с вторым входом сумматора-накопител , первый вход блока линейной интерпол ции подключен к первому входу первого и к второму входу вто- 10 рого элементов И, а через элемент задержки к S - входу RS-триггера, пр мой выход которого соединен с вторым входом первого элемента И, подсоединенного выходом к второму fS входу первого блока элементов И и к соответствующему выходу блока линейной интерпол ции.3. Interpolator according to claim 1, which is based on the fact that the linear interpolation block contains the first register, the delay element, the first AND element and the second register connected in series, the first block of AND elements, the accumulator accumulator, the RS trigger , the second element And the second 5 block of elements And, the output of which is connected to the second input of the accumulator adder, the first input of the linear interpolation block is connected to the first input of the first and second input of the second And elements, and through the delay element to S RS-flip-flop input, direct output of which is connected to watts The first input of the first element And connected by the output to the second fS input of the first block of elements And to the corresponding output of the linear interpolation block. 4. Интерпол тор по п. 1, о т л и0 чающийс  тем, что блок переключени  содержит шесть элементов И и два элемента ИЛИ, вьпсоды которых соединены с вторыми выходами блока переключени , а входы - соответственно с выходами первого, второго, третьего и четвертого элементов И, выходы п того и шестого элементов И подключены к первым выходам блока переключени , первый вход которсЯ о соединен4. The interpolator according to claim 1, that is, that the switching unit contains six AND elements and two OR elements, whose elevations are connected to the second outputs of the switching unit, and the inputs, respectively, to the outputs of the first, second, third and fourth And elements, the outputs of the fifth and sixth elements And are connected to the first outputs of the switching unit, the first input of which is connected 0 с первыми входами первого, третьего и п того элементов И, второй вход - с первыми входами второго, четвертого и шестого элементов И, второй вход шестого элемента И подключен к второ5 му входу п того элемента И, третий вход - к вторым входам второго, третьего элементов И и к третьему входу п того элемента И, второй вход первого элемента И соединен с0 with the first inputs of the first, third and fifth elements And, the second input with the first inputs of the second, fourth and sixth elements And, the second input of the sixth element And connected to the second input of the fifth element And, the third input to the second inputs of the second, The third element And to the third input of the fifth element And, the second input of the first element And is connected to 0 вторым входом четвертого элемента И, третий вход первого элемента И подключен к третьим входам второго, третьего и четвертого элементов И.0 with the second input of the fourth element And, the third input of the first element And connected to the third inputs of the second, third and fourth elements I. Фиг.зFig.z ЛИ КЯLI QY ФигЛFy Фиг. 5FIG. five Редактор Л, Веселовска Editor A, Veselovska Заказ 905/55Тираж 837 ПодписноеOrder 905/55 Circulation 837 Subscription ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб,, д. А/5 for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab, d. A / 5 Филиал ППП Патент, г. Ужгородj ул. Проектна , 4Branch PPP Patent, Uzhgorod j. Project, 4 Составитель И. ШвецCompiled by I. Shvets Техред А.Бабинец Корректор С. ЧерниTehred A. Babinets Corrector S. Cherni
SU843772836A 1984-07-27 1984-07-27 Linear-circular interpolator SU1215090A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU843772836A SU1215090A2 (en) 1984-07-27 1984-07-27 Linear-circular interpolator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU843772836A SU1215090A2 (en) 1984-07-27 1984-07-27 Linear-circular interpolator

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
SU1149218 Addition

Publications (1)

Publication Number Publication Date
SU1215090A2 true SU1215090A2 (en) 1986-02-28

Family

ID=21131566

Family Applications (1)

Application Number Title Priority Date Filing Date
SU843772836A SU1215090A2 (en) 1984-07-27 1984-07-27 Linear-circular interpolator

Country Status (1)

Country Link
SU (1) SU1215090A2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР 732818, кл. G 05 В 19/18, 1979. Авторское свидетельство СССР №11492 8, кл. G 05 В 19/18, 1982. *

Similar Documents

Publication Publication Date Title
US4164022A (en) Electronic digital arctangent computational apparatus
US3763358A (en) Interweaved matrix updating coordinate converter
SU1215090A2 (en) Linear-circular interpolator
Dormido et al. Synthesis of generalized parallel counters
SU1149218A1 (en) Linear-circular interpolator
SU1318992A1 (en) Device for correcting equidistant curve
US3343137A (en) Pulse distribution system
SU1317434A1 (en) Device for calculating value of square root of number in modular number system
SU1282082A1 (en) Device for correcting equidistant value
US3633002A (en) Integrator for use in digital differential analyzer systems
SU1330629A1 (en) Device for processing numbers in redundant serial code
SU651317A1 (en) Digital interpolator
SU1160370A1 (en) Parabolic interpolator
SU1180884A1 (en) Device for calculating function valces
SU1140098A1 (en) Digital interpolator
SU1513471A1 (en) Cell of homogeneous computing medium
US3674997A (en) Right shifting system with data stored in polish stack form
SU1157541A1 (en) Sequential multiplying device
SU521570A1 (en) Device to determine the function
SU1238033A1 (en) Digital interpolator
SU732861A1 (en) Device for computing inverse value
SU1262485A1 (en) Calculating device
SU395839A1 (en) DIGITAL LINEAR INTERPOLATOR
SU1024914A1 (en) Device for computing simple functions
SU741234A1 (en) Linear-circular interpolator