SU1259218A1 - Linear-circular interpolator - Google Patents

Linear-circular interpolator Download PDF

Info

Publication number
SU1259218A1
SU1259218A1 SU853891369A SU3891369A SU1259218A1 SU 1259218 A1 SU1259218 A1 SU 1259218A1 SU 853891369 A SU853891369 A SU 853891369A SU 3891369 A SU3891369 A SU 3891369A SU 1259218 A1 SU1259218 A1 SU 1259218A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
blocks
evaluation function
block
inputs
Prior art date
Application number
SU853891369A
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 SU853891369A priority Critical patent/SU1259218A1/en
Application granted granted Critical
Publication of SU1259218A1 publication Critical patent/SU1259218A1/en

Links

Landscapes

  • Numerical Control (AREA)

Abstract

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано в системах числового программного управлени . Цель изобретени  - расширение функциональных возможностей и упрощение программировани . Линейно-круговой интерпол тор содержит формирователь знака оценочной функции, блок переключени , блоки управлени  реверсивными счетчиками, регистры-счетчики координат, блоки сравнени  кодов, реверсивные счетчики , блоки элементов И, сумматор- накопитель , блоки вычислени  приращений , элемент И. Сущность изобретени  состоит в том, что в линейно- круговой интерпол тор, работакнций по методу оценочной функции, дополнительно введены блок переключени , блоки управлени  реверсивными счетчиками координат, peгиcтph -cчeтчики координат конечной точки, блоки сравнени  кодов, блоки вьгеода приращений координат и элемент И. Указанные блоки с соответствующими св з ми осуществл ют переключени  в устройстве при переходе текущей точки дуги при круговой интерпол ции из квадранта в квадрант и обеспечивают сохранение точности интерпол ции в один шаг при многоквадрантной отработке дуги окружности. Благодар  автоматическому модифицированию оценочной функции на границах квадрантов основной блок интерпол ции по сравнению с прототипом не усложн етс . Изобретение может быть использоваио и в других област х, где необходимо задание движени  рабочих органов по линейной или круговой траектории . 5 ил. (Л СThe invention relates to the field of automation and computer technology and can be used in numerical control systems. The purpose of the invention is to enhance the functionality and simplify programming. The linear-circular interpolator contains the estimator sign driver, switching unit, control units for reversible counters, coordinate registers-counters, code comparison blocks, reversible counters, AND units, accumulator, increment calculation units, I. The essence of the invention is that in a linear-circular interpolator, works according to the method of the evaluation function, a switching block, control blocks for reversible coordinate counters are additionally added, or ph-counters of coordinates of coordinates point, blocks of comparison of codes, blocks of the year of increments of coordinates and element I. These blocks with the appropriate connections switch in the device when the current point of the arc moves during circular interpolation from quadrant to quadrant and ensure preservation of one-step interpolation accuracy at multi-quadrant development of a circular arc. Due to the automatic modification of the evaluation function at the boundaries of the quadrants, the main interpolation unit, as compared with the prototype, is not complicated. The invention can also be used in other areas where it is necessary to specify the movement of the working bodies along a linear or circular path. 5 il. (Ls

Description

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

Цель изобретени  - р.асширение функциональных возможностей устройства и упрощение программировани  .The purpose of the invention is to expand the functionality of the device and simplify programming.

Введенные дополнительные блоки позвол ют производить переключение реверсивных счетчиков координатных каналов на границах квадрантов при интерпол ции дуги, измен ть направление вьщачи приращений координат на выходах устройства, сохран ть точность круговой интерпол ции в один шаг при многоквадратной обработке дуги и с минимальными переключени ми .. переходить из режима круговой интерпол ции в режим линейной интерпол ции .Introduced additional blocks allow switching reversible counters of coordinate channels at the boundaries of quadrants during arc interpolation, changing the direction of increments of coordinates at the device outputs, preserving the accuracy of circular interpolation in one step with multi-square arc processing and with minimal switchings. from circular interpolation to linear interpolation.

Данное решение позвол ет интерполировать дугу окружности в неограниченных пределах по данным одного кадра программы, что упрощает программирование , уменьшает длину исходного программоносител , экономит пам ть устройства при хранении управл - ющей программы в нем, улучшает параметры программы, уменьшает сложность постпроцессоров и повышает качество изготовл ейь1Х на станке деталей.This solution allows to interpolate an arc of a circle in unlimited limits according to a single program frame, which simplifies programming, reduces the length of the original program carrier, saves the memory of the device when the control program is stored in it, improves the program parameters, reduces the complexity of the postprocessors and improves the quality of manufacturing 1X on the machine parts.

На фиг. I приведена схема предла- гаемого интерпол тора; на фиг. 2 - схема формировател  знака оценочной функцииi на фиг. 3 - схема блока переключени ; на фиг. 4 - схема блока управлени  реверсивным счетчикомj наFIG. I shows the scheme of the proposed interpolator; in fig. 2 is a diagram of a sign maker of the evaluation function i in FIG. 3 is a diagram of a switching unit; in fig. 4 is a diagram of the control unit of the reversible counter j on

10ten

5five

Блок 2 переключени  содержит RS- триггер. 20, четыре элемента И 21-24, элементы ИЛИ 25 и 26.Switching unit 2 contains an RS trigger. 20, four elements AND 21-24, elements OR 25 and 26.

Блоки 3 и 4 управлени  реверсивными счетчиками идентичны и каждыйBlocks 3 and 4 of the control of reversible meters are identical and each

из них содержит элемент ИЛИ 27, инвертор 28, 1К-триггер 29 с возможностью предустановки по S и R входам , элементы И 30 и 31.of them contains the element OR 27, the inverter 28, the 1K-trigger 29 with the possibility of presetting on the S and R inputs, the elements And 30 and 31.

Блоки 14 и 15 вычислени  приращений идентичны. Каждый из них содержит К,8-триггер 32, элемент ИЛИ 33, делитель 34 на четыре, элемент И 35, инвертор 36, IK триггер 37 с возможностью предустановки по S- и R-входам, элементы 38 и 39.The increment calculation blocks 14 and 15 are identical. Each of them contains K, 8-trigger 32, element OR 33, divider 34 into four, element AND 35, inverter 36, IK trigger 37 with the possibility of presetting on the S- and R-inputs, elements 38 and 39.

2020

Функциональные св зи устройства осуществл ютс  по следующим лини м: вход 4П формировател  1 знака оценочной функции  вл етс  входом тактовой частоты, выходы 41 и 42 формировател  1 знака оценочной функции, 25 выходы 43-47 блока 2 переключени , первый 48 (51) и второй 49 (52) выходы блока 3 (4) управлени  реверсивным счетчиком, выход 50 (53) блока 3 (4), входы 54 и 55 блоков 7 и 8 сравнени  кодов соответственно, выходы 56 и 57 загрузки реверсивных счетчиков 9 и 10 соответственно  вл ютс  входами устройства и соеди- иены с блоком программы; входы 58 и 59 загрузки регистров-счетчиков 5 и 6 соответственно соединены с блоком программы, выxoд ы 60 и 61 переполнени  реверсивных сЧетчиков 9 и 10 соответственно, выход 62 пезоThe functional communications of the device are carried out along the following lines: the 4P input of the 1 sign maker of the evaluation function is the clock input, the outputs 41 and 42 of the 1 sign maker of the evaluation function, 25 outputs 43-47 of the switching unit 2, the first 48 (51) and the second 49 (52) the outputs of the reversible counter control unit 3 (4), the output 50 (53) of the block 3 (4), the inputs 54 and 55 of the comparison code blocks 7 and 8, respectively, the outputs 56 and 57 of the reversible counter loads 9 and 10, respectively device inputs and connectors to the program block; inputs 58 and 59 of load of register-counters 5 and 6, respectively, are connected to the program block, outputs 60 and 61 overflow of reversible counters 9 and 10, respectively, output 62 pezo

3535

фиг, 5 - схема блока вычислени  прира-„ Реполнени  старшего разр да суммато- щений. ра-накопител  13, входы 63 и 64 блоИнтерпол тор содержит формирова- 2 переключени  дл  сброса или ус- тель 1 знака оценочной функции, блок 2 переключени , блоки 3 и 4 управлени  реверсивными счетчиками, регистры-., счетчики 5 и 6 координат, блоки 7 и 8 сравнени  кодов, реверсивные счетчики 9 и 10 с возможностью параллельной записи и считывани  кодов, блоки Пи 12 элементов И, сумматор-накопитель 13, блоки 14 и 15 вычислени Fig. 5 is a block diagram of the calculation of the increment of the highest bit of accumulations. storage accumulator 13, inputs 63 and 64 of the interpolator contains 2 switching formations for resetting or the 1 digit mark of the evaluation function, switching unit 2, reversible counter control blocks 3 and 4, registers-, counters 5 and 6 coordinates, blocks 7 and 8 code comparisons, reversible counters 9 and 10 with the possibility of parallel writing and reading codes, PI blocks 12 And elements, accumulator 13, Calculation Blocks 14 and 15

тановки триггера 20 этого блока по командам линейной или круговой интерпол ции подключены к блоку про-.The settings of the trigger 20 of this block are connected to the unit of pro- linear commands by linear or circular interpolation.

граммы, входы 65 и 66 начальной установки триггеров 29 .блоков 3 и 4 соответственно, входы 67 и 68 начальной установки триггеров 37 блоков 14 и 15 вычислени  приращенийgrams, inputs 65 and 66 of the initial setup of triggers 29. blocks 3 and 4, respectively, inputs 67 and 68 of the initial setup of triggers 37 blocks 14 and 15 of the increment calculation

50 соответственно подключены к блоку программы, вход 69 установки триггера 32 блоков 14 и 15 подключен к блоку программы; выходы 70 (72), 71 (73) устройства по координатам50, respectively, are connected to the program block, input 69 of the trigger setup 32 blocks 14 and 15 are connected to the program block; outputs 70 (72), 71 (73) devices by coordinates

приращений, элемент И 16.increments, element and 16.

Формирователь 1 знака оценочной функции содержит RS-триггер J7 и два элемента И 18 и 19. S-вход триггера подключен к входу устройства, R-вход - к выходу переполнени  старшего разр да сумматора 13.The shaper 1 of the evaluation function sign contains an RS flip-flop J7 and two elements AND 18 and 19. The S input of the trigger is connected to the input of the device, the R input to the overflow output of the high bit of the adder 13.

Блок 2 переключени  содержит RS- триггер. 20, четыре элемента И 21-24, элементы ИЛИ 25 и 26.Switching unit 2 contains an RS trigger. 20, four elements AND 21-24, elements OR 25 and 26.

Блоки 3 и 4 управлени  реверсивными счетчиками идентичны и каждыйBlocks 3 and 4 of the control of reversible meters are identical and each

из них содержит элемент ИЛИ 27, инвертор 28, 1К-триггер 29 с возможностью предустановки по S и R входам , элементы И 30 и 31.of them contains the element OR 27, the inverter 28, the 1K-trigger 29 with the possibility of presetting on the S and R inputs, the elements And 30 and 31.

Блоки 14 и 15 вычислени  приращений идентичны. Каждый из них содержит К,8-триггер 32, элемент ИЛИ 33, делитель 34 на четыре, элемент И 35, инвертор 36, IK триггер 37 с возможностью предустановки по S- и R-входам, элементы 38 и 39.The increment calculation blocks 14 and 15 are identical. Each of them contains K, 8-trigger 32, element OR 33, divider 34 into four, element AND 35, inverter 36, IK trigger 37 with the possibility of presetting on the S- and R-inputs, elements 38 and 39.

Функциональные св зи устройства осуществл ютс  по следующим лини м: вход 4П формировател  1 знака оценочной функции  вл етс  входом тактовой частоты, выходы 41 и 42 формировател  1 знака оценочной функции, выходы 43-47 блока 2 переключени , первый 48 (51) и второй 49 (52) выходы блока 3 (4) управлени  реверсивным счетчиком, выход 50 (53) блока 3 (4), входы 54 и 55 блоков 7 и 8 сравнени  кодов соответственно, выходы 56 и 57 загрузки реверсивных счетчиков 9 и 10 соответственно  вл ютс  входами устройства и соеди- иены с блоком программы; входы 58 и 59 загрузки регистров-счетчиков 5 и 6 соответственно соединены с блоком программы, выxoд ы 60 и 61 переполнени  реверсивных сЧетчиков 9 и 10 соответственно, выход 62 пеFunctional communications of the device are carried out on the following lines: 4P input of 1 sign maker of the evaluation function is the clock input, outputs 41 and 42 of 1 sign maker of the evaluation function, outputs 43-47 of the switching unit 2, the first 48 (51) and the second 49 (52) the outputs of block 3 (4) of the control of the reversible counter, the output 50 (53) of block 3 (4), the inputs 54 and 55 of the blocks 7 and 8 of the code comparison, respectively, the outputs 56 and 57 of the load of the reversible counters 9 and 10, respectively, are the inputs devices and connected with the program block; inputs 58 and 59 of load of register-counters 5 and 6, respectively, are connected to the program block, outputs 60 and 61 overflow of reversible counters 9 and 10, respectively, output 62 ne

2 переключени  дл  сброса или ус-  2 switches for reset or use

тановки триггера 20 этого блока по командам линейной или круговой интерпол ции подключены к блоку про-.The settings of the trigger 20 of this block are connected to the unit of pro- linear commands by linear or circular interpolation.

граммы, входы 65 и 66 начальной установки триггеров 29 .блоков 3 и 4 соответственно, входы 67 и 68 начальной установки триггеров 37 блоков 14 и 15 вычислени  приращенийgrams, inputs 65 and 66 of the initial setup of triggers 29. blocks 3 and 4, respectively, inputs 67 and 68 of the initial setup of triggers 37 blocks 14 and 15 of the increment calculation

соответственно подключены к блоку программы, вход 69 установки триггера 32 блоков 14 и 15 подключен к блоку программы; выходы 70 (72), 71 (73) устройства по координатамrespectively connected to the program block, the input 69 of the installation of the trigger 32 blocks 14 and 15 is connected to the program block; outputs 70 (72), 71 (73) devices by coordinates

+х(+у), -х(-у) соответственно св зывают выходы элементов И 39 и 38 блока 14 (15) с выходами устройства; на выход 74 элемента И 16,+ x (+ y), x (y), respectively, connect the outputs of the elements And 39 and 38 of block 14 (15) with the outputs of the device; at the exit 74 of the element And 16,

3 .3

выход устройства падает сигнал окон чани  интерпол ции участка и смены кадра, и он св зан с блоком программы .the output of the device drops the signal at the end of the area interpolation and frame change, and it is associated with the program block.

Интерпол ци  в устройстве ведетс  по методу оценочной функции. При линейной интерпол ции оценочна  фун ци  имеет вид IJjj йху -4ух;, где X;, у - координаты текущей точки интерпол ционной траектории, дх, ду - приращени  координат х и у на участке интерпол ции; U;; - значение О71еночной функции в. точке (х-, Yj ) fInterpolation in the device is conducted by the method of evaluation function. In linear interpolation, the estimated func tion has the form Ijjj yhu -4uh; where X; y are the coordinates of the current point of the interpolation trajectory, dx, and d are the increments of the x and y coordinates in the interpolation region; U ;; - value of O71enochny function in. point (x-, Yj) f

Из фиг. 6 видно, что если , то дл  приближени  к заданной пр мой следует сделать шаг вдоль оси У Если же U;: О, то шаг делаетс  вдол . оси X. На самой пр мой U;j 0, и направление перемещени  определ етс From FIG. 6 that if, then, in order to approximate a given straight line, a step should be made along the axis Y. If U is:; O, then the step is made along the length of the curve. X axis. On the straight U; j 0, and the direction of travel is determined by

произвольно. При аппаратной реализации алгоритма удобней в этом случае делать шаг вдоль оси X. При ща- ге по оси X новое значение оценочно функции: U;, 4ху--лу(х; + 1)и- -йу. При шаге по оси У соответственно получим U; , йх(у| +I)-uyx; Ujj +UX.Таким образом, стратеги  линейной интерпол ции выгл дит так. Анализируетс  знак оценочной функции. Если , то делаетс  шаг по оси X и из предыдущего значени  оценочной функции вычитаетс  величина ду, если же U;: сО, то делаетс  шаг по оси У и к предыдущему значенио оценочной функции.прибавл етс  величина их, В процессе интерпол ции шаги по координатам подсчитываютс . Интерпол ци  прекращаетс , когда текущие значени  координат X и у сравниваютс  с величиной АХ соответственно.arbitrarily. In the case of a hardware implementation of the algorithm, it is more convenient in this case to take a step along the X axis. When right along the X axis, a new value is estimated for the function: U ;, 4hu — lu (x; + 1) and –y. At a step along the Y axis, respectively, we obtain U; , yx (y | + i) -uyx; Ujj + UX. Thus, the strategy of linear interpolation looks like this. The sign of the evaluation function is analyzed. If, then the step is taken along the X axis and the value of d is subtracted from the previous value of the evaluation function; if U ;: сО, then the step is taken along the Y axis and to the previous value of the evaluation function. Their value is added. During the interpolation process, the steps are along the coordinates are counted. Interpolation is terminated when the current values of the coordinates X and y are compared with the magnitude of AX, respectively.

При круговой интерпол ции обычно оценочна  функци  имеет видIn circular interpolation, the evaluation function is usually

и. ()-.and. () -.

При таком определении оценочной функции дл  точек, лежащих вне круга , , дл  точек, лежащих внутри круга, и- 0, дл  точек на окружности Ujj 0. Стратеги  интерпол ции зависит от положени  текущей точки траектории и направлени  обхода дуги окружности. Так, если точка (х;, yj) находитс  в первом квадранте и движение идет против часовой стрелки (фиг. 7), то при делаетс  шаг вдоль оси У и вычисл етс  новое значение оценочной функции Uii., х;+(yj -1 f -Ro xt y; -Ro+2yj -t-I With this definition, the evaluation function for points lying outside the circle, for points lying inside the circle, and- 0, for points on the circle Ujj 0. The interpolation strategy depends on the position of the current trajectory point and the direction of the circumference of the circular arc. So, if the point (x ;, yj) is in the first quadrant and the movement goes counterclockwise (Fig. 7), then a step is taken along the Y axis and a new value of the evaluation function Uii., X; + (yj -1 f -Ro xt y; -Ro + 2yj -tI

2525

59218 . 459218. four

U; +2y-+l (1), a значение yj увели-, чиваетс  на единицу. Если же U;j О, то делаетс  шаг вдоль оси X, вычисл етс  и,-„. (х;- I f +y|-R x +yJ-R - 5 -2x; + U;j -2x.- + l (2), a значение X уменьшаетс  на единицу. По таким хе правилам будет происходить в ычисле-- ние при движении точки в третьем квадранте в том же направлении. ВоU; + 2y- + l (1), and the value of yj increases by one. If U; j O, then a step is taken along the X axis, and u, - „is calculated. (x; - I f + y | -R x + yJ-R - 5 -2x; + U; j -2x.- + l (2), and the value of X decreases by one. By such x, the rules will occur in numbers - when a point moves in the third quadrant in the same direction.

О втором и четвертом квадрантах если U;; -0, то делаетс  шаг вдоль оси X и вычисл етс  t iti.j Ь - +2xj + J,x, x. J (3), если же U;.0, то делаетс  шаг вдоль оси У и вычисл ютс  5 Ui,j,,Ui|-2y. +1, () При движении по часовой стрелке стратеги  мен етс : в первом и третьем квадрантах вычислени  ведутс  по формулам (3) и (4), во втором и четвер20 том - по формулам (1) и (2). About the second and fourth quadrants if U ;; -0, a step is taken along the X axis and it is calculated t iti.j b - + 2xj + j, x, x. J (3), if U; .0, then a step is made along the Y axis and 5 Ui, j ,, Ui | -2y are calculated. +1, () When moving clockwise, the strategy changes: in the first and third quadrants, the calculations are carried out by formulas (3) and (4), in the second and fourth volumes - by formulas (1) and (2).

В цел х сокращени  аппаратурных затрат и унификации вычислен в предлагаемом интерпол торе предлагаетс  при шаге вдоль оси X новое значение оценочной функции всегда про ИЗВОДИТЬ по формуле ,; U, j+2X;+ .In order to reduce hardware costs and unification, the proposed interpolator proposes, with a step along the X axis, a new value of the evaluation function always be EXTRACTED using the formula,; U, j + 2X; +.

+1 (5), а при шаге по оси У - по формуле Uj-,, Ui -2yj+l (6), что при названном определении оценоч ной функции соответствует движению в первом и третьем квадрантах по часовой стрелке. Предлагаетс  также шаг вдоль оси X производить, если 0, а вдоль оси У, если U, j&0.+1 (5), and at a step along the Y axis, according to the formula Uj-, Ui -2yj + l (6), which, under the above definition, the estimated function corresponds to the motion in the first and third quadrants clockwise. It is also proposed to perform a step along the X axis, if 0, and along the Y axis, if U, j & 0.

5 Така  стретеги  требует изменени  определени  оценочной функции при переходе в четвертый и второй квадранты . Дл  этих квадрантов определим Uij RO-(х;+У р . Тогда вне круга5 Such a stretch requires a change in the definition of the evaluation function when moving to the fourth and second quadrants. For these quadrants we define Uij RO- (x; + Y p. Then outside the circle

0 , внутри круга . При Ujj О дл  приближени  точки к дуге окрз ности требуетс  сделать шаг вдоль оси X и вычислить и,-,, j Rjj-() - ( )+2xi-Uu-. +2x5-1 (7).0, inside the circle. When Ujj О, in order to approach the point to the circular arc, it is necessary to take a step along the X axis and calculate and, -, ,, j Rjj () - () + 2xi-Uu-. + 2x5-1 (7).

5 Это отличаетс  от выражени  (5) на 2, что легко получить действием 2(х;-1)+1. Иначе говор , если X уменьшаетс , то вйачале следует текущее значение х уменьшить на5 This differs from (5) by 2, which is easily obtained by the action 2 (x; -1) +1. In other words, if X decreases, then the current value of x should be reduced by

0 единицу, затем результат удвоить и увеличить- на единицу. Если же Uj:: П, то дл  приближени  точки к дуге окружности следует сделать шаг вдоль оси У и вычислить Ujj, Ro t; 0 unit, then double the result and increase by one. If Uj :: P, then to approach the point to the arc of a circle, one should take a step along the axis Y and calculate Ujj, Ro t;

5 - (у; -1) (х +у )-2у. -1 и - (2у. + +1) (8). Это выражение отличаетс  от (б) на -2 и его легко получить действием (у;-1) + . Иначе еели у увеличиваетс , то вычислени  очередного значени  оценочной функции при шаге по оси У текущее значение у беретс  уменьшенным на единицу. После удвоени  значени  к полученному результату прибавл етс  единица.5 - (y; -1) (x + y) -2y. -1 and - (2u. +1 + 1) (8). This expression differs from (b) by -2 and is easy to obtain by the action of (y; -1) +. Otherwise, if y is increased, then the calculation of the next value of the evaluation function during the step along the axis of Y, the current value of y is taken reduced by one. After doubling the value, a unit is added to the result.

При интерпол ции против часовой стрелки в первом и третьем квадрантах используютс  выражени  (7) и (8Y во втором и четвертом - выражени  (5) и (6). Автоматическа  модификаци  оценочной функции позвол ет сохранить без изменени  структуры св зи и состар вычислительного блока устройства.When interpolating counterclockwise in the first and third quadrants, expressions (7) and (8Y in the second and fourth - expressions (5) and (6) are used. Automatic modification of the evaluation function allows you to save without changing the structure of the communication and .

Таким образом, дл  осуществлени  многоквадран1;ной круговой интер пол ции прин то: координаты начальной точки дуги (Хд, Yjj ) задаютс  со знаками; задаетс  направление интер- пoл ции координаты конечной точки дуги (xj,, ) задаютс  со знаками. В блоке программы по знакам (Хд,Уо) и направлению интерпол ции устанавливаютс  начальные знаки выдачи приращений координа г, определ ющие начальную установку триггеров 37 в блоках 14 и 15 вычислени  приращений и начальную установку триггеров 29 в блоках 3 и 4 .управлени  реверсив ными счетчиками. Если при этом реверсивный счетчик 9 координаты х включилс  на вычитание, то при вводе значени  х производитс  вычитание единицы. В реверсивном счетчике 10 координаты у, если он включаетс  на сложение, вычитание единицы не производитс , так как с Него будет сниматьс  отрицательное число. Далее в процессе интерпол ции из реверсивного счетчика 9 с каждым шагом по оси X на сумматор 13 через блок 11 элементов И передаетс  пр мой код содержимого блока 9. Передача осуществл етс  со сдвигом на один разр д влево, что эквивалентно умножению на два, после чего на младший разр д сумматора 13 прибавл етс  единица . С каждым шагом по оси У на сумматор 13 с блока 10 через блок 12 передаетс  со. сдвигом на один раз- ,р д влево обратный код содержимого блока 10, после чего на младший разр д сумматора I3 добавл етс  единица , что даст значение 2 (yj-)+. В сум1маторе 3 вычисл етс  и накапливаетс  текущее значение оценочнойThus, to implement multi-quadrangle; circular circular interpolation, the following are used: the coordinates of the starting point of the arc (Xd, Yjj) are given with signs; specifies the direction of the interpolation. The coordinates of the end point of the arc (xj ,,) are specified with signs. In the program block, by signs (Xd, Wo) and the direction of interpolation, initial signs of issuing increments of coordinates are set, defining the initial installation of triggers 37 in blocks 14 and 15 of increment calculation and the initial installation of triggers 29 in blocks 3 and 4. Reverse counters control . If the reversible counter 9 of the x coordinate is included in the subtraction, then when you enter the values, the unit is subtracted. In the reversible counter 10, the y coordinates, if it is included in the addition, the unit is not subtracted, since a negative number will be taken from It. Then, during the interpolation process, from the reversible counter 9, with each step along the X axis to the adder 13, the block 11 of the elements And is transmitted the direct code of the block 9 contents. The transfer is carried out with a shift by one bit to the left, which is equivalent to multiplying by two, after which for the low-order bit of the adder 13, one is added. With each step along the Y axis, to the adder 13 from block 10 through block 12 is transmitted from. by shifting by one bit, p d to the left, the reverse code of the contents of block 10, after which one is added to the lower bit of the adder I3, which gives the value 2 (yj -) +. In Sum 3, the current value of the estimated value is calculated and accumulated.

функции. Переполнение сумматора означает , что оценочна  функци  становитс  положительной.functions. Overflow of the adder means that the evaluation function becomes positive.

В процессе интерпол ции признаком перехода границы квадранта  вл етс  достижение одной из координат нулевого значени . При этом переполн етс  реверсивный счетчик соответствующей координаты. Сигнал переполнени  используетс  дл  переключени  триггеров 29 в инверсное предыдущее состо ние, благодар  чему реверсивный счетчик, работавший на сложение, переключаетс  в режим вычитани , аDuring the interpolation process, a sign of a quadrant border crossing is the achievement of one of the coordinates of a zero value. In this case, the reversible counter of the corresponding coordinate is overflowed. The overflow signal is used to switch the flip-flops 29 to the inverse of the previous state, whereby the reversible counter that worked on the addition switches to the subtraction mode, and

второй реверсивный счетЧик - в режим сложени . Этот же сигнал измен ет на инверсное состо ние триггера 37 блока вывода приращений другого координатного канала, а также измен ет состо ние триггера знака координаты своего канала, так как после перехода через нулевое значение координаты мен ет знак на обратный. Обработка дуги должна закончитьс , когда совпадают значени  и знаки координат текущей и конечной точек.the second reversible counter is in add mode. The same signal changes to the inverse state of the trigger 37 of the output unit of the increments of another coordinate channel, and also changes the state of the sign trigger of the coordinate of its channel, since after passing through the zero value of the coordinate it changes the sign to the opposite one. The arc processing must end when the values and signs of the coordinates of the current and end points match.

Еще одна особенность многоквадрантной круговой интерпол ции методом оценочной функции св зана с не внымAnother feature of multiquadrant circular interpolation by the estimation function method is associated with an implicit

заданием радиуса интерполируемой окружности и округлением координат начальной точки дуги. В результате начальна  точка дуги располагаетс  S узле координатной сетки, шаг которойspecifying the radius of the interpolated circle and rounding the coordinates of the starting point of the arc. As a result, the starting point of the arc is located at the S node of the grid, whose pitch is

совпадает с шагом интерпол ции, и в общем случае не пренадлежит дуге радиуса R. Радиус-вектор этой точки по модулю равен л1х +Уо RO и в общем случае не  вл етс  целочисленньгмcoincides with the interpolation step, and in the general case does not belong to the arc of radius R. The radius vector of this point is equal in modulus to l1x + V0 RO and in the general case is not integer

относительно шага интерпол ции. В результате интерполируетс  дуга радиусом R. Как показало моделирование процесса интерпол ции на ЭВМ при достижении границы квадранта, если R целочисленно, текуща  точка имеет кoo fздftнaты по модулю (О, R,+ I) илиrelative to the interpolation step. As a result, the arc interpolates with a radius of R. As the simulation of the interpolation process on a computer has shown when the quadrant border is reached, if R is integer, the current point has a modulus of (O, R, + I) or

; (,0). Если не прин ть специальных мер, то в дальней1ием произойдет накопление ошибки и на границе оче- едного квадранта координаты текущей точки примут значение (Rg+2,0) или ; (, 0). If no special measures are taken, then in the long run an error will accumulate and at the border of the single quadrant the coordinates of the current point will take the value (Rg + 2.0) or

0 ) и т.д. Кроме того, на границе квадранта значение оценочной функции всегда оказываетс  положительным . В св зи со сменой выражени  лл  оценочной функции на границе квадранта первый шаг делаетс  неверно , т.е. компенсаци  ошибки по радиусу не происходит. 0) etc. In addition, at the boundary of the quadrant, the value of the evaluation function is always positive. In connection with the change in the expression for the evaluation function at the boundary of the quadrant, the first step is done incorrectly, i.e. error compensation over the radius does not occur.

Дл  устранени  этого  влени  в предлагаемом интерпол торе в блокиTo eliminate this phenomenon in the proposed interpolator into blocks

9и 10 реверсивных счетчиков введен по два дополнительных разр да, а в блоки 15 и 14 вычислени  приращений делители на 4, Начальна  установка делителей 00. В интерпол торе обрабатываетс  дуга радиуса 4R, а на выходе благодар  делению на 4 осуществл етс  пр ведение к радиусу R. На границе квадранта, как и в случа интерпол ции дуги радиуса R, достигаетс  точка с координатами (0,4R-H или (4R+1,0), в сумматоре остаетс  значение оценочной функции. Благода .р  установке делителей на 4 на выходы по координатам поступает точное число шагов. При достижении границы квадранта сигнал переполнени  реверсивного счетчика сбрасывает делители в блоках 14 и 15, сбрасываютс  первые два разр да реверсивных счетчиков 9 и 10, а также сумматор 13, Таким образом, в интерпол торе устанавливаютс  величины, соответству- ющие точному положению точки на окружности радиуса 4R. Поэтому дальнейшее движение будет происходить точно.9 and 10 reversible counters are entered with two additional bits, and divider 4 is added to blocks 15 and 14 for incrementing. The initial setting of divisors is 00. In the interpolator, the arc of radius 4R is processed, and at the output, by division by 4, the radius R is applied At the boundary of the quadrant, as in the case of interpolation of an arc of radius R, a point is reached with coordinates (0.4R-H or (4R + 1.0), the value of the evaluation function remains in the adder. Thanks to setting the dividers to 4 at the outputs the coordinates receive the exact number of steps. When the limit is reached, Vadranta, the overflow counter overflow signal resets the dividers in blocks 14 and 15, the first two bits of the reversible counters 9 and 10, and also the adder 13 are reset. Thus, the values corresponding to the exact position of the point on a circle of radius 4R are set in the interpolator. further movement will occur exactly.

Устройство работает в двух режи- мах.The device operates in two modes.

В режиме линейной интерпол ции от программы в блок 2 вводитс  команда Линейна  интерпол ци , в реверсивный счетчик 9 - величина Дх перемещение по оси X на участке интерпол ции , в реверсивный счетчикIn the linear interpolation mode from the program, the Linear interpolation command is entered into block 2, the reversible counter 9 is assigned the value of Dx along the X axis in the interpolation segment, and the reversible counter

10- величина ду - перемещение по оси У на участке интерпол ции, счетчики 5 и 6 сбрасываютс , в блоки 14 и 15 ввод тс  начальные установки, соответствующие требуемым по программе направлением выдачи сигналов по ос м X и У, сбрасываютс  делители10 is the value of do — movement along the Y axis in the interpolation section, counters 5 and 6 are reset, blocks 14 and 15 are entered into the initial settings corresponding to the direction of signal output required by the program on axes X and Y, dividers are reset

34 в блоках 14 и 15, сумматор 13 и триггер 17 формировател  знака оценочной функции,34 in blocks 14 and 15, the adder 13 and the trigger 17 of the sign maker of the evaluation function,

С пуском устройства по линии 69 устанавливаютс  триггеры 32 в блоках 14 и 15 и по линии 40 подаютс  импульсы fj , частота которых определ ет скорость интерпол ции. Первый - импульс проходит через элемент И 19 формировател  1, по S-входу устанавливает триггер 17 формировател  1, элемент И 19 закрываетс , элемент И 18 открываетс . Кроме того, по ли- ,нии 42 этот импульс поступает иа втоWith the start-up of the device, line 69 sets the triggers 32 in blocks 14 and 15, and line 40 provides pulses fj, the frequency of which determines the interpolation rate. The first - a pulse passes through the element I 19 of the imager 1, the trigger 17 of the imaging device 1 is installed at the S-input, the element And 19 closes, and the element 18 opens. In addition, according to line 42, this impulse comes in

2020

25 25

259218 8259218 8

рые входы блока элементов И 12, чем осуществл етс  передача дополнительного кода числа ду из блока 10 в сумматор-накопитель 13. В сумматоре 13 5 осуществл етс  сложение текущего значени  оценочной функции с дополнительным кодом числа А у, т.е. образуетс  величина U;, U---Ay. Этот же тактовый импульс поступает на входThese are the inputs of the AND 12 block, which transfers the additional code of the number DU from block 10 to the accumulator 13. In the adder 13 5, the current value of the evaluation function is added with the additional code of the number Y y, i.e. a value U is formed; U is Ay. The same clock pulse goes to the input.

10 блока 2 переключени , проходит через открытый элемент И 24 этого блока, по линии 45 поступает на счетный вход регистра-счетчика 5, а через элемент ИЛИ 25 блока 2 по линии 43 поступает10 of the switching unit 2, passes through the open element AND 24 of this block, via line 45 enters the counting input of the register-counter 5, and through the OR element 25 of block 2 via line 43 enters

t5 на вход делител  34 блока 14 вычислени  перемещени  по оси х). Второй тактовый импульс проходит через элемент И 18 формировател  1 и по линии 41 поступает на блок 11 элементов И, осуществл   перенос в сумматор пр мого кода содержимого реверсивного счетчика 9. В сумматоре вычисл етс  новое значение оценочной функцииt5 to the input of the divider 34 of the block 14 calculating the displacement along the axis x). The second clock pulse passes through the element AND 18 of the imaging unit 1 and, via line 41, enters the block 11 of the elements AND, transferring the content of the reversible counter 9 to the adder of the direct code. In the adder the new value of the evaluation function is calculated

25 25

О ABOUT

0 5 0 5

5five

00

5five

и,;, Jitij Если результат сложени  окажетс  положительным или нулевым , то сумматор переполн етс , с выхода старшего его разр да сигнал переполнени  по линии 62 сбрасывает триггер 17 формировател  1, закрыва  элемент И 18 и открыва  элемент И 19. Тогда очередной тактовый импульс пойдет по пути первого.and,;, Jitij If the result of the addition is positive or zero, the adder overflows, from the output of its senior bit the overflow signal on line 62 resets the trigger 17 of the driver 1, closing the element And 18 and opening the element And 19. Then the next clock pulse will go on the way first.

Второй тактовый импульс поступает также на блок 2, проходит через элемент И 23, по линии 46 поступает на счетный вход регистра-счетчика 6 и через элемент ИЛИ 26 по линии 44 подаетс  на делитель 34 блока 15 дл  выдачи по оси У. Попеременна  выдача сигналов по указанным пут м идет в.соответствии со знаком оценочной функции, причем каждый четвертый импульс , попадающий в выходной блок 14 или 15, по вл етс  на выходе устройства , проход  через элемент И 35 и далее И 38, либо И 39.The second clock pulse is also fed to block 2, passes through AND 23, passes through line 46 to the counting input of register-counter 6, and through OR 26 through line 44 goes to divider 34 of block 15 for outputting along the U axis. these paths are in accordance with the sign of the evaluation function, with every fourth pulse entering the output block 14 or 15 appearing at the output of the device, passing through the element 35 and then 38 and 38 or 39.

Процесс интерпол ции продолжаетс  до получени  в счетчиках-регистрах 5 и 6 чисел Дх и йу соответственно , т.е. когда содержимое счетчиков сравниваетс  с содержимым блоков 9 и 10 соответственно, это фиксир.у- етс  блоками 7 и 8 сравнени  кодов. Сигнал соответствующего блока сравнени  по линии 54 или 55 сбрасывает триггер 32 в блоке 14 или 15, закрываетс  элемент И 35 блока 14 или 15, перекрыва  канал выдачи прираще5The interpolation process continues until the counters-registers 5 and 6 have the numbers Dx and yu, respectively, i.e. when the contents of the counters are compared with the contents of blocks 9 and 10, respectively, this is fixed by blocks 7 and 8 of the code comparison. The signal of the corresponding comparison unit on line 54 or 55 resets the trigger 32 in block 14 or 15, AND element 35 of block 14 or 15 is closed, closing the increment channel 5

НИИ по оси X ипи у. При наличии сигналов от обоих блоков сравнени  по вл етс  сигнал на выходе элемента И 16, который подаетс  в блок программы дл  ввода информации очередного кадра программы.Research Institute on the X axis ipi y. If there are signals from both comparison blocks, a signal appears at the output of AND 16, which is fed to a program block to enter information of the next program frame.

В режиме круговой интерпол ции от программы в блок 2 вводитс  команда Кругова  интерпол ци , триг гер 20 блока 2 устанавливаетс , открыва  элементы И 21 и 22, по линии 47 поступает разрешающий сигнал на третьи входы элементов И 30 и 31 блоков 3 и 4 управлени  реверсивными счетчиками. В блоках 3 и 4 по лини м 65 и 66 производитс  начальна  установка триггера 29, соответству- гоща  задаваемому режиму работы реверсивных счетчиков 9 и 10. В них ввод тс  координаты начальной точки дуги окружности (XQ, Уд) со знаками. В счетчики-регистры 5 и 6 ввод тс  координаты конечной точки дуги (хц, У() со знаками. В блоках 14 и 15 по лини х 67 и 68 осуществл етс  начальна  установка триггеров 37, соответствующа  заданным направлени м выдачи приращений по ос м X и У соответственно , сбрасываютс  делители 34 .In the circular interpolation mode from the program, the Krugov interpolation command is entered into block 2, the trigger 20 of block 2 is established by opening the elements 21 and 22, and the line 47 receives the enabling signal to the third inputs of the elements 30 and 31 of the reverse control blocks 3 and 4 counters. In blocks 3 and 4, along lines 65 and 66, the initial setting of trigger 29 is made, corresponding to the specified operating mode of the reversible counters 9 and 10. In these, coordinates of the initial point of the circular arc (XQ, Od) with signs are entered. In the register-registers 5 and 6, the coordinates of the end point of the arc (Xc, Y () with signs) are entered. In blocks 14 and 15 along lines 67 and 68, the initial setting of the trigger 37 is performed, corresponding to the specified directions for issuing increments on the X axis. and Y, respectively, dividers 34 are reset.

С пуском устройства устанавливаютс  триггеры 32 в блоках 14 и 15 и подаютс  импульсы тактовой частоты на формирователь 1.With the start-up of the device, the triggers 32 are installed in blocks 14 and 15 and the clock pulses are applied to the driver 1.

Первый импульс проходит через элемент И 19, устанавливает триггер 17 этого блока и по линии 42 поступает на вторые входы блока 12 элементов И. Производитс  пересылка со сдвигом на один разр д влево обратного кода содержимого реверсивного счетчика 10 в сумматор-накопитель 13, после чего на младший разр д сумматора прибавл етс  единица. Таким образом , ла сумматор засылаетс  число (2уд+1), которое складываетс  с те- курщм значением оценочной функции. Этот же импульс с линии 42 поступает на BTopbte входы элементов И 30 и 31 блока 4 управлени  реверсивных счетчиков 10. В зависимости от состо ни  триггера 29 этого блока один из элементов И 30 и 31 открыт, второй закрыт. Проход  через открытый элемент И, импульс поступает на вход или - реверсивного счетчика 10, увеличива  или уменьша  на ед ни ду его содержимое.The first pulse passes through the element I 19, sets the trigger 17 of this block and on line 42 enters the second inputs of the block 12 elements I. The forwarding code is sent with a shift to the left of the reverse code of the content of the reversible counter 10 to the accumulator 13, then the low-order bit of the adder is one. Thus, the la adder sends the number (2ud + 1), which is added to the current value of the evaluation function. The same impulse from line 42 enters the BTopbte inputs of elements AND 30 and 31 of control reversible counter control unit 4 10. Depending on the state of the trigger 29 of this block, one of elements 30 and 31 is open, the second is closed. The passage through the open element I, the impulse goes to the input of or - the reversible counter 10, increasing or decreasing its contents by one or two units.

59218105921810

По линии 42 первый импульс поступает также в блок 2, где проходит через элементы И 22, RHH 26 и по линии 44 подаетс  на вход делител On line 42, the first pulse also enters block 2, where it passes through elements 22, RHH 26, and via line 44 is fed to the input of a divider

5 34 блока 15 вычислени  приращени  координаты у. Прохождение сигнала .по цеп м блока 15 остаетс  таким же, как И в режиме линейной интерпол ции. Второй тактовой импульс проходит5 34 units 15 of the calculation of the increment of the y coordinate. The signal flow through the circuit of block 15 remains the same as AND in the linear interpolation mode. The second clock pulse passes

через элемент И 18 формировател  1, по линии 41 через блок I1 осуществл ет пересьшку со сдвигом на один разр д влево содержимого реверсивного счётчика 9 в сумматор 13 с последую 5 щим добавлением единицы на младший разр д сумматора. Далее через элементы И 30 и 31 блока управлени  реверсивным счетчиком 9 производитс  изменение содержимого реверсивного through the element 18 of the imaging unit 1, via line 41 through the block I1 performs a jumper shifted by one bit to the left of the contents of the reversible counter 9 into the adder 13 with the subsequent 5 addition of one unit to the least significant bit of the adder. Further, through the elements 30 and 31 of the control unit of the reversible counter 9, the content of the reversible is changed.

20 счетчика на единицу. Кроме того, с линии 4 импульс такта поступает на элемент И 21 блока 2, проходит через него и элемент ИЛИ 25 и по линии 43 подаетс  в блок 14 вычислени  при ращений по оси X. Прохождение сигна- ла по цеп м блока 14 остаетс  таким же, как и в режиме линейной интерпол ции .20 counters per unit. In addition, a clock pulse from line 4 goes to AND 21 of block 2, passes through it and the OR 25 element, and via line 43 is fed to calculation block 14 when it grows along the X axis. Signal flow through block 14 remains the same as in the linear interpolation mode.

После 3 асылки в сумматор 13 чйс30 ла 2X|j-t-l в сумматоре вычисл етс After 3 links to the adder 13, the number 30 of the 2X | j-t-l in the adder is calculated

очередное значение оценочной функции, Если при этом сумматор переполн етс , т.е. U, jjO., то сигнал переполнени  по линии 62 сбрасывает триггер 17the next value of the evaluation function, if the totalizer overflows, i.e. U, jjO., The overflow signal on line 62 resets trigger 17

35 блока I, Тогда очередной импульс такта пойдет по пути пе.рвого. Если же переполнени  нет, то очередной импульс идет, по пути второго. Если заданна  дуга окружности ле40 жит в -пределах одного квадранта, то подобна  работа интерпол тора происходит до сравнени  кодов чисел в блоках 9, 5 и 10, 6 соответственно. Достижение равенства чисел фиксируетс 35 block I, then the next pulse of tact will go the way of p.rvogo. If there is no overflow, then the next impulse goes, on the way of the second. If a given arc of a circle lies within the limits of one quadrant, then the interpolator works in a similar way before comparing the codes of numbers in blocks 9, 5 and 10, 6, respectively. Achieving equality of numbers is fixed

45 блоками 7 и 8 сравнени  кодов, сигналы которых производ т такие же операции , как и в режиме линейной интерпол ции .45 by blocks 7 and 8 comparison of codes whose signals perform the same operations as in the linear interpolation mode.

Если же заданна  дуга окружности - проходит через несколько квадрантов, то при достижении границы квадранта происходит следующее. Реверсивный счетчик, работавший на вычитание, при достижении О переполн етс , 55 Сигнал переполнени  по линии 60 (или 61) через элемент ИЛИ 27 блоков 3 и 4 управлени  реверсивным счетчиком измен ет состо ние триггеров 29 этихIf a given arc of a circle passes through several quadrants, then when the boundary of the quadrant is reached, the following occurs. The reversible counter, which worked on the subtraction, when reaching O overflows, 55 An overflow signal on line 60 (or 61) through the OR 27 element of blocks 3 and 4 of the reversible counter control changes the state of the flip-flops 29 of these

блоков на инверсное, переключа  счет чики 9 и 10 в противоположный режим счета. Такие же переключени  производ тс  в триггере 37 блока 14 или 15 (переключаетс  только триггер в блоке своего координатного канала). Кроме того, по линии 60 (или 61) сбрасываютс  делители 34 блоков 14 и 15, обнул етс  сумматор 13, через элемент ИЛИ 27 сбрасываютс  первые (младшие) два разр да реверсивных счетчиков 9 и 10 и переключаетс  в инверсное состо ние триггер знака в реверсивном счетчике своего канала. Интерпол тор готов к обработ ке дуги в очередном квадранте.blocks to inverse by switching counters 9 and 10 to the opposite counting mode. The same switchings are made in the trigger 37 of block 14 or 15 (only the trigger in the block of its coordinate channel is switched). In addition, on line 60 (or 61), dividers 34 of blocks 14 and 15 are reset, the adder 13 is zeroed, the first (lower) two bits of the reversing counters 9 and 10 are reset through the OR element 27 and the invert state of the sign trigger is reversed your channel counter. The interpolator is ready for processing the arc in the next quadrant.

формула изобретени  invention formula

Линейно-круговой интерпол тор, содержащий формирователь знака оценочной функции,сумматор-накопитель, св занный выходом с первым входом блока знака оценочной функции, и в каткдом координатном канале последова тельно соединенные реверсивный счетчик и блок элементов И, подключенный вторыми входами к выходу блока знака оценочной функции, а выходами - к разр дным входам сумматора-накопител , отличающийс  тем, что, с целью расширени  функциональных возможностей и упрощени  программировани , в него введены блок переключени , входы которого св заны с выходами формировател  знака оценочной функции, элемент И и в каждый координатный канал введены блок управ лени  реверсивным счетчиком и последовательно соединенные регистр-счетчик , блок сравнени  кодов и блок вычислени  приращений, первый вход ко- 5 торого соединен с соответствующим входом элемента И, второй вход - с первыми выходами блока переключени , третий - с выходом реверсивного счетчика , с вторым входом сумматора-на- tO копител , с первым входом блока управлени  реверсивным счетчиком каждого канала, с четвертым входом блока вычислени  приращений соседнего канала, выходы блока вычислени  при- t5 ращений соединены с первыми выходами линейно-кругового интерпол тора, второй выход бЛока переключени  подключен к первому входу регистра- счетчика, а третий выход - к третье20 му входу блока управлени  реверсивным счетчиком, четвертый вход которого соединен с соответствующим выходом формировател  знака оценочной функции , а выходы - с входами реверсив-Linear-circular interpolator containing the estimator sign driver, accumulator connected with the output to the first input of the sign block of the evaluation function, and in the second coordinate channel, a successively connected reversible counter and block of AND elements, connected by the second inputs to the output of the estimated sign block functions, and outputs to the bit inputs of the accumulator adder, characterized in that, in order to expand the functionality and simplify programming, a switching unit has been introduced therein, the inputs of which associated with the outputs of the sign maker of the evaluation function, the element And and in each coordinate channel are entered a control unit by a reversible counter and serially connected register-counter, a code comparison unit and an increment calculation unit, the first input of which is connected to the corresponding input of the element And, the second input - with the first outputs of the switching unit, the third - with the output of the reversible counter, with the second input of the adder-tO of the accumulator, with the first input of the control unit with the reversible counter of each channel, with the fourth input the unit for calculating increments of the adjacent channel, the outputs of the unit for calculating the increments of t5 are connected to the first outputs of the linear-circular interpolator, the second output of the switching unit is connected to the first input of the register-counter, and the third output to the third input of the control unit by the reversible counter, the fourth input which is connected to the corresponding output of the sign maker of the evaluation function, and the outputs are connected to the reversible inputs

25 ного счетчика, выход элемента И подключен к второму выходу линейно-кругового интерпол тора, первый вход которого соединен с вторым входом формировател  знака оценочной функ30 ции, вторые входы - с вторьтми входами блока переключени , третьи - с 1п тыми входами блока вычислени  приращений, четвертый вход - с вто- рь1М входом регистра-счетчика а п - The 25th counter, the output of the AND element is connected to the second output of the linear-circular interpolator, the first input of which is connected to the second input of the sign maker of the evaluation function30, the second inputs - with the second inputs of the switching unit, the third - with the 1st inputs of the increment calculator, the fourth input - with the second input of the register-counter a n -

5 тый вход - с вторым входом реверсивного счетчика, вторые выходы ко- торого подключены к вторым входам блока сравнени  кодов.The 5th input is with the second input of the reversible counter, the second outputs of which are connected to the second inputs of the code comparison unit.

ifQifQ

Фщ.ЦFsch.Ts

7f(73)7f (73)

jomrjomr

Составитель И.Ивец Редактор И.Дербак Техред Л.ОлейникCompiled by I.Ivets Editor I.Derbak Tehred L.Oleinik

Заказ 511.9/44 Тираж 836ПодписноеOrder 511.9 / 44 Circulation 836 Subscription

ВНИИПИ Государственного комитета СССРVNIIPI USSR State Committee

по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  иаб., д. 4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk iab., d. 4/5

Производственно-полиграфическое предпри тие, г. Ужгород, ул. Проектна , 4Production and printing company, Uzhgorod, st. Project, 4

.5.five

Корректор А.ОбручарProofreader A. Obruchar

Claims (1)

Формула изобретенияClaim Линейно-круговой интерполятор, 20 содержащий формирователь знака оценочной функции,·сумматор-накопитель, связанный выходом с первым входом блока знака оценочной функции, и в каждом координатном канале последова-25 тельно соединенные реверсивный счетчик и блок элементов И, подключенный вторыми входами к выходу блока знака оценочной функции, а выходами - к разрядным входам сумматора-накопите- 30 ля, отличающийся тем, что, с цепью расширения функциональных возможностей и упрощения программирования, в него введены блок переключения, входы которого связаны с : выходами формирователя знака оценочной функции, элемент И и в каждый координатный канал введены блок управ ления реверсивным счетчиком и последовательно соединенные регистр-счетчик, блок сравнения кодов и блок вычисления приращений, первый вход которого соединен с соответствующим входом элемента И, второй вход - с первыми выходами блока переключения, третий - с выходом реверсивного счетчика, с вторым входом сумматора-накопителя, с первым входом блока управления реверсивным счетчиком каждого канала, с четвертым входом блока вычисления приращений соседнего канала, выходы блока вычисления приращений соединены с первыми выходами линейно-кругового интерполятора, второй выход блока переключения подключен к первому входу регистрасчетчика, а третий выход - к третьему входу блока управления реверсивным счетчиком, четвертый вход которого соединен с соответствующим выходом формирователя знака оценочной функции, а выходы - с входами реверсивного счетчика, выход элемента И подключен к второму выходу линейно-кругового интерполятора, первый вход которого соединен с вторым входом формирователя знака оценочной функции, вторые входы - с вторыми входами блока переключения, третьи - с (пятыми входами блока вычисления приращений, четвертый вход - с вторым входом регистра-счетчика, а пятый вход - с вторым входом реверсивного счетчика, вторые выходы кб-о торого подключены к вторым входам блока сравнения кодов.A linear-circular interpolator, 20 containing a shaper of the sign of the evaluation function, an accumulator-drive connected by the output to the first input of the sign block of the evaluation function, and in each coordinate channel, the reverse counter and the block of elements And connected to the output of the block by second inputs sign of the evaluation function, and the outputs to the discharge inputs of the accumulator-accumulator 30, characterized in that, with a circuit for expanding functional capabilities and simplifying programming, a switching unit, input cat They are associated with: the outputs of the sign generator of the evaluation function, the And element, and a reverse counter control unit and series-connected register counter, a code comparison unit and an increment calculation unit, the first input of which is connected to the corresponding input of the And element, are introduced into each coordinate channel, the second input - with the first outputs of the switching unit, the third - with the output of the reversing counter, with the second input of the accumulator-accumulator, with the first input of the control unit of the reversing counter of each channel, with the fourth input of the block The calculation of the increments of the adjacent channel, the outputs of the increment calculation unit are connected to the first outputs of the linear-circular interpolator, the second output of the switching unit is connected to the first input of the counter, and the third output is connected to the third input of the reversing counter control unit, the fourth input of which is connected to the corresponding output of the sign former evaluation function, and the outputs with the inputs of the reversible counter, the output of the element And is connected to the second output of the linear circular interpolator, the first input of which is connected n with the second input of the evaluator of the sign of the evaluation function, the second inputs with the second inputs of the switching unit, the third with (the fifth inputs of the increment calculation unit, the fourth input with the second input of the register counter, and the fifth input with the second input of the reversing counter, second outputs kb-o are connected to the second inputs of the code comparison unit. 51 5951 59 Фиг.1Figure 1
SU853891369A 1985-04-26 1985-04-26 Linear-circular interpolator SU1259218A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853891369A SU1259218A1 (en) 1985-04-26 1985-04-26 Linear-circular interpolator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853891369A SU1259218A1 (en) 1985-04-26 1985-04-26 Linear-circular interpolator

Publications (1)

Publication Number Publication Date
SU1259218A1 true SU1259218A1 (en) 1986-09-23

Family

ID=21175694

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853891369A SU1259218A1 (en) 1985-04-26 1985-04-26 Linear-circular interpolator

Country Status (1)

Country Link
SU (1) SU1259218A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР N 741234, кл. G 05 В 19/18, 1980. Агурский М.С. и др. Числовое программное управление станками. М.: Машиностроение, 1966, с. 178- 179, рис. 80. *

Similar Documents

Publication Publication Date Title
GB1363073A (en) Generation of trigonometrical and other functions by interpolation between point values
CN106092156A (en) AC servo serial communication encoder position feedback pulse frequency dividing output system and method
US3349332A (en) Electronic counter for counting in the gray code binary pulses
SU1259218A1 (en) Linear-circular interpolator
SU1352461A1 (en) Circular interpolator
SU1149218A1 (en) Linear-circular interpolator
SU741234A1 (en) Linear-circular interpolator
SU983651A1 (en) Device for correcting cutter position in program controlled machinetool
SU1665341A1 (en) Circle interpolator
SU451060A1 (en) 3D interpolator
RU1807450C (en) Digital linear interpolator
SU1368986A1 (en) Potential recount decade
SU1522157A1 (en) Linear interpolator
SU819796A1 (en) Linear interpolator
US4053793A (en) Modular logic circuit for performing different logic functions
SU1665343A1 (en) Circular interpolator
US4054822A (en) Contouring control system employing ramp staircasing of position points
SU485419A1 (en) Device for combined numerical control
SU708516A2 (en) Reversible counter
GB1230021A (en)
SU1633386A1 (en) Symbol generator
SU1246347A2 (en) Polyphase generator of step-triangle functions
SU875343A1 (en) Circular interpolator
SU769576A1 (en) Information registering device
SU1129636A1 (en) Shaft turn angle encoder