SU714356A1 - Circular interpolator - Google Patents
Circular interpolator Download PDFInfo
- Publication number
- SU714356A1 SU714356A1 SU772489481A SU2489481A SU714356A1 SU 714356 A1 SU714356 A1 SU 714356A1 SU 772489481 A SU772489481 A SU 772489481A SU 2489481 A SU2489481 A SU 2489481A SU 714356 A1 SU714356 A1 SU 714356A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- register
- interpolator
- adder
- output
- Prior art date
Links
- 238000011089 mechanical engineering Methods 0.000 claims 1
- 238000011156 evaluation Methods 0.000 description 6
- 230000002441 reversible effect Effects 0.000 description 2
- 238000000034 method Methods 0.000 description 1
- 238000013139 quantization Methods 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000009423 ventilation Methods 0.000 description 1
Landscapes
- Complex Calculations (AREA)
Description
{54) КРУГОВОЙ ИНТЕРПОЛЯТОР{54) CIRCULAR INTERPOLATOR
1one
Изобретение относитс к области вычислительной техники и может быть использовано в системах программного управлени и построител х графической информации.The invention relates to the field of computer technology and can be used in software control systems and graphic information builders.
Известен интерпол тор iji работающий по методу оценочной функции и содержащий сумматор, координатные регистры , блок управлени и блоки вентиглей ..The iji interpolator, which operates according to the evaluation function method and contains an adder, coordinate registers, a control unit and ventilation units, is known.
Недостатком такого интерпол тора вл ютс ограниченные функциональные возможности.The disadvantage of such an interpolator is limited functionality.
Наиболее близким техническим решением к изобретению вл етс круговой интерпол тор, содержащий сумматор оценочной функции, выход и первый вход которого подключены соответственно к первому входу и первому выходу блока управлени , а второй вход - к выходу первого блока вентилей, соединенногр первым входом с выходом первого координатного регистра, вход которого и второ вход первого блока вентилей подключеныThe closest technical solution to the invention is a circular interpolator containing an adder of the evaluation function, the output and the first input of which are connected respectively to the first input and the first output of the control unit, and the second input to the output of the first valve block, connected by the first input to the output of the first coordinate the register, the input of which and the second input of the first valve block are connected
ко второму выходу блока управлени , и второй координатный регистр 2J.to the second output of the control unit, and the second coordinate register 2J.
Такой интерпол тор аппроксимирует окружность ступенчатой линией, состо щей из единичных приращений по направлени м осей координат.Such an interpolator approximates a circle with a step line consisting of single increments in the directions of the coordinate axes.
Точность работы такого интерпол тора недостаточна.The accuracy of this interpolator is insufficient.
Цель изобретени - повышение точности работы интерпол тора - достигаетс тем, что в него введены коммутатор, второй блок.вентилей и реверсивный счетчик . Первый вход счетчика подключен к выходу первого блока вентилей, второй и третий входы - к третьему и четвертому выходам блока управлени соответственно , а выход - ко BTOp6Nty входу блока управлени . П тый и шестой выходы блока управлени соединены соответственно с первым входом второго блока вентилей и с первым входом коммутатора, подсоегдиненного вторым входом к первому выходу второго координатного регистра, а Ьыходом - к третьему входу сумматора оценочной функции, третий, четвертый н п тый входь KCiTOporo подключены соответственно к шестому, седьмому и перв му выходам блока упраапени . Второй в хрд второго координатного регистра сое динен с вторым входом второго блока а третий выход и вход с третьим входом и воськтым выходом бло ка управлени соответственно Интерпол тор аппроксимирует окружность с произвольным, не об зательно -кратным шагу квантовани , радиусом, что позвол ет уменьшить оп1ибку интерпол ции за счет округлени Точность аппроксимадич заданной окружности повышена за счет вычислени оценочной функции в системе координат, смещенной относительно системыэ в которой строит с аппроксимирующа лини . Если обозн чим 15 - заданный (неквантованный) радиус окружности, э (Jj ближайшее квантованное значение, то смешение по ос м составит соответственно - (0,5 + &12)Vl и (О,3 -дТ2)Н , где шаг . квантовани , а. & R К- Сделав необходимые преобразовани и допустимые упрощени , получим что при шаге по первой оси Y оценоч 1а функци U;7rrUjr2 -2j9 при шаге по вт i«ji 13 1. .-. х . рой оси , где j - чис по шагов по оси у , чисзю шагов .по оси Х, а начальное значение оценочной фувй ции UQ наиболее просто вычисл етс н точке на одной из осей На чертеже представлена структурна схема кругового интерпол тора. Он содержит сумматор оценочной функции it первый 2 и второй 3 координатные регистры, первый блок вентилей 4j коммутатор 5, реверсивный счет чик 6s второй блок вентилей 7 и блок управлени S« Интерпол тор работает следующим образом, В исходном состо нии в регистр 3 занесено отрицательное значение радиуса - 15. (в дополнительном коде), сумматор Is регистр 2 к гчетчик 6 наход с в нулевом состо нии В первом такте с выхода регистра 3 на счетчик 6 заноситс значение . д в сумматор 1 с вьгхода регистра б заноситс содержимое остальных разр дов и, если в старшем разр де -.Д. (на третьем выходе регистра 3) находитс нуль, из сумматора 1 по четвертому входу вычитаетс единица из ( П + 1) -го разр да, где - число разр дов Т. Таким образом заноситс значение - (fk, В следующем такте прибавл етс , если в старшем разр де - лР сумматора 1 находитс единица, или вычитаетс если - нуль-содержимое регистра 3, сдвинуто в сторону младши-х разр дов на ( VI 1) разр д (BbRHTaHHe производитс прибавлением инвертированного содержимого регистра 3 к содержимому сумматора 1 и добавлением единицы в его младший разр д - на первый вход). Одновременно производитс прибавление единицы в счетчик 6,если в старшем разр де Д1 находитс единица, или вычитание , если там находитс нуль. Аналогичные такты повтор ютс до обнулени счетчика 6. Зателг в каждом такте при единице в а наковом разр де сумматора 1 происходит прибавление содержимого регистра 2, сдвину-: о на один разр д в сторону старшах (т.е. умноженного на два) к содержимому суммш-ора 1, прибавление единицы в младший разр д регистра 2 в ())--/ разр д сумматора 1 (на п тый вхо;. л вьшача сигнала единичного приращенй по оси X. При нуле в знаковом разр де сумматора 1 происходит прибавление содержимого регистра 3, сдвинутого на один разр д в сторону старших разр дов, прибавление единицы в (П+1)-й разр д регистра 3 и (И+ 2)-и разр д сумматора 1 и выдача сигнала единичного приращени по оси Y . При прибавлении удвоенного значени содержимого регистра 3 к содержимому сумматора 1 на его ( П + 1) младшие разр ды с коммутатора 5 подаютс единицы. Выше описана работа интерпол тора по упрощенной оценочной функции, однако, при необходимости он может работать по оценочной функции, полученной в общем виде. Точность работы предложенного интерпол тора повышена. Ошибка интерпол ции в общем случае не превышает величины}nf2 ( 1+1/2 )/2, причем повышение точности достигаетс без Уменьшени шага интерпол ции, которое св зано с резким снижением быстродействи . При аппроксимации окружности с квантованным радиусом ошибка интерпол ции не превьш:ает величины 11/2/2 и вл етс минимально возможнон.The purpose of the invention, an increase in the accuracy of the interpolator, is achieved by the introduction of a switch, a second fan valve and a reversible counter. The first input of the counter is connected to the output of the first valve block, the second and third inputs to the third and fourth outputs of the control unit, respectively, and the output to the BTOp6Nty input of the control unit. The fifth and sixth outputs of the control unit are connected respectively to the first input of the second valve block and to the first input of the switch connected by the second input to the first output of the second coordinate register, and output to the third input of the evaluator function, the third, fourth and fifth inputs of KCiTOporo are connected respectively to the sixth, seventh and first exits of the control unit. The second one in the second coordinate register is connected to the second input of the second block and the third output and the input with the third input and the eighth output of the control unit, respectively, the Interpolator approximates a circle with an arbitrary, not necessarily quantization, radius, which reduces the size interpolations due to rounding. The accuracy of the approximation of a given circle is enhanced by calculating the evaluation function in a coordinate system that is displaced relative to the system in which it builds from the approximating line. If we denote 15 — the given (unquantized) radius of the circle, e (Jj is the closest quantized value, then the mixing along the axes will be (0.5 + & 12) Vl and (O, 3 –dT2) H, where the pitch is. quantizing, A. & R K- Having made the necessary transformations and admissible simplifications, we obtain that, with a step along the first axis Y, the function U is estimated; 1r; 7rrUjr2 -2j9 with a step of tue i ji 13 1. .-. x. where j is the number of steps along the y axis, the number of steps along the x axis, and the initial value of the estimated fuqiu UQ is most simply calculated at a point on one of the axes. It contains the adder of the evaluation function it, the first 2 and second 3 coordinate registers, the first block of valves 4j switch 5, the reversible counter 6s, the second block of valves 7, and the control unit S "Interpolator works as follows 3, a negative radius value of 15 is entered. (In the additional code), the adder Is register 2 to the meter 6 is in the zero state. In the first clock cycle from the output of the register 3 to the counter 6 the value is entered. d in the adder 1 with the entry of the register b the contents of the remaining bits are entered and, if in the highest bit, de.D. (at the third output of register 3) is zero, from the adder 1, the fourth input subtracts the unit from the (P + 1) -th bit, where is the number of bits T. Thus, the value is entered - (fk, In the next clock cycle, if in the higher order - LR adder 1 is one, or subtracted if - the null contents of register 3, is shifted towards the lower order bits by (VI 1) bits (BbRHTaHHe is produced by adding the inverted contents of register 3 to the contents of adder 1 and by adding a unit to its least significant bit - to the first input). a unit is added to counter 6 if there is a unit in the high-order de D1, or subtraction if there is zero. The same clock cycles are repeated until counter-6 is zeroed. The register is added in each clock with the unit in the second discharge of adder 1. 2, shift-: o for one bit in the direction of the senior (i.e. multiplied by two) to the contents of summ-ora 1, adding one to the lower-order bit of the register 2 in ()) - / bit of the adder 1 (for fifth intake; l is the signal of a unit increment along the X axis. At zero, in the significant digit of adder 1, the contents of register 3, shifted by one bit towards the higher bits, are added to, the (P + 1) -th bit of register 3 and ( And + 2) is the bit of the adder 1 and the output signal of a single increment along the Y axis. When adding the doubled value of the contents of the register 3 to the contents of the adder 1, the units of the lower bits from the switch 5 are fed to its (P + 1). The above described work of the interpolator according to the simplified evaluation function, however, if necessary, it can work on the evaluation function obtained in general form. The accuracy of the proposed interpolator is improved. The interpolation error in the general case does not exceed the value of nf2 (1 + 1/2) / 2, and the increase in accuracy is achieved without a decrease in the interpolation step, which is associated with a sharp decrease in speed. When approximating a circle with a quantized radius, the interpolation error does not exceed: 11/2/2 and is minimally possible.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU772489481A SU714356A1 (en) | 1977-05-23 | 1977-05-23 | Circular interpolator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU772489481A SU714356A1 (en) | 1977-05-23 | 1977-05-23 | Circular interpolator |
Publications (1)
Publication Number | Publication Date |
---|---|
SU714356A1 true SU714356A1 (en) | 1980-02-05 |
Family
ID=20710425
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU772489481A SU714356A1 (en) | 1977-05-23 | 1977-05-23 | Circular interpolator |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU714356A1 (en) |
-
1977
- 1977-05-23 SU SU772489481A patent/SU714356A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3806713A (en) | Method and apparatus for maximizing the length of straight line segments approximating a curve | |
SU714356A1 (en) | Circular interpolator | |
US3657525A (en) | Direct feed rate control circuit | |
US3939330A (en) | Vector conversion system | |
Lygouras | Memory reduction in look-up tables for fast symmetric function generators | |
SU1305671A1 (en) | Device for calculating values of function z=arccos y/x | |
SU1751777A1 (en) | Device for computing roots | |
SU1656684A1 (en) | Delta-sigma coder | |
SU905831A1 (en) | Device for computing linearization function | |
US3022949A (en) | Difunction computing elements | |
SU1251103A1 (en) | Fknction generator fknction generatorating structure | |
SU1034175A1 (en) | Code/frequency converter | |
SU1270776A1 (en) | Analog-digital function generator | |
SU1064280A1 (en) | Sine-cosine function generator | |
SU741234A1 (en) | Linear-circular interpolator | |
SU1418770A2 (en) | Device for executing trigonometric conversions | |
SU1105913A1 (en) | Device for calculating partial derivative | |
SU873239A1 (en) | Digital coordinate converter | |
SU1238033A1 (en) | Digital interpolator | |
SU1298743A1 (en) | Random process generator | |
SU1264170A1 (en) | Differentiating device | |
SU758188A1 (en) | Reversible coordinate converter | |
SU516062A1 (en) | Combined function calculator | |
JPS6121681Y2 (en) | ||
SU842810A1 (en) | Binary frequency divider |