SU1423984A1 - Relay-type interpolator - Google Patents
Relay-type interpolator Download PDFInfo
- Publication number
- SU1423984A1 SU1423984A1 SU864110338A SU4110338A SU1423984A1 SU 1423984 A1 SU1423984 A1 SU 1423984A1 SU 864110338 A SU864110338 A SU 864110338A SU 4110338 A SU4110338 A SU 4110338A SU 1423984 A1 SU1423984 A1 SU 1423984A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- inputs
- output
- interpolator
- pulse generator
- Prior art date
Links
Landscapes
- Complex Calculations (AREA)
Abstract
Изобретение относитс к области вычислительной техники и автоматики и позвол ет повысить точность, быстродействие и снизить аппаратурные затраты . Интерпол тор содержит управл емый генератор 1 импульсов, счетчик 2, регистры 3,6, узел 4 .двоичного умножени , счетчик 5 и тор 7. На входы 10,12 и 14-17 подаютс значени большего приращени , управл ющего кода и признаков координатной ориентации. Шаговые приращени по ведущей координате формируютс в каждом интерпол ционном такте и их количество соответствует значению большего приращени . Шаговые приращени по ведомой координате формируютс на выходе узла 4 в соответствии со значением управл ющего кода в регистре 3. 2 з.п. ф-лы, 6 ил. (ЛThe invention relates to the field of computer technology and automation, and improves the accuracy, speed and reduce hardware costs. The interpolator contains a controlled pulse generator 1, a counter 2, registers 3,6, a node 4. Binary multiplication, a counter 5 and a torus 7. The inputs 10,12 and 14-17 are supplied with the values of the larger increment, the control code and signs of the coordinate orientation . The step increments along the leading coordinate are formed in each interpolation beat and their number corresponds to the value of the larger increment. Step increments in the slave coordinate are formed at the output of node 4 in accordance with the value of the control code in register 3. 2 Cp. f-ly, 6 ill. (L
Description
4;:four;:
toto
САЗ СО 00 4SAZ CO 00 4
Изобретение относитс к автоматике и вычислительной технике и может быть использ.овано в выводных графических устройствах и в системах числового программного управлени .The invention relates to automation and computing and can be used in output graphics devices and in computer numerical control systems.
Цель изобретени - повышение точности быстродействи и снижение аппаратурных затрат.The purpose of the invention is to improve the accuracy of speed and reduce hardware costs.
На фиг. 1 приведена функциональна схема линейного интерпол тора; на фиг. 2 и 3 - функциональные схемы коммутатора и управл емого генератора импульсов; на фиг, 4-6 - алгоритм расчета управл ющего кода, временные диаграммы и пример интерпол ции отрезка пр мой соответственно.FIG. 1 shows a functional diagram of a linear interpolator; in fig. 2 and 3 are functional diagrams of the switch and controlled pulse generator; Figures 4-6 illustrate the control code calculation algorithm, timing diagrams, and an example of the interpolation of the straight segment, respectively.
Интерпол тор (фиг, 1) содержит управл емый генератор 1 импульсов, счетчик 2, регистр 3, узел 4 двоичного умножени , счетчик 5, регистр 6 и коммутатор 7. Интерпол тор имеет вход 8 начальной установки, вход 9 запуска, вход 10 задани большего приращени , вход 11 записи, вход 12 управл ющего кода, вход 13 записи, входы 14-17 признаков координатной ориентахХии, выходы 18 - 21 шаговых координатных приращений и выход .2 признака Окончание интерпол ции.The interpolator (FIG. 1) contains a controlled pulse generator 1, a counter 2, a register 3, a binary multiplication node 4, a counter 5, a register 6 and a switch 7. The interpolator has an initial setup input 8, a start input 9, a larger input 10 increments, entry 11 of the entry, entry 12 of the control code, entry 13 of the entry, inputs 14-17 of the coordinate orientation, outputs 18–21 step coordinate increments and exit .2 of the sign End of interpolation.
Коммутатор 7 (фиг. 2) содержит два мультиплексора 23 и элементы И 24 - 27.Switch 7 (Fig. 2) contains two multiplexer 23 and elements And 24 - 27.
Управл емый генератор 1 импульсов ( фиг. 3) содержит генератор 28 им пульсов, два триггера 29, 30 и два элемента И 31, 32. Интерпол тор работает следующим образом.The controlled pulse generator 1 (Fig. 3) contains a pulse generator 28, two flip-flops 29, 30 and two elements 31, 32. The interpolator works as follows.
Поскольку в интерпол торе шаговые приращени по ведущей координате формируютс в каждом интерпол ционном такте, то их Число равно значению большего приращени (БП), Шаговые приращени по ведомой координате формируютс на выходе узла 4. При этом значение управл ющего кода в регистре 3 должно быть таким, чтобы за число тактов, равные БП, на выходе узла 4 бьшо сформировано число импульсов , соответствующее значению меньшего приращени (МП).Since in the interpolator, step increments in the leading coordinate are formed in each interpolation cycle, their number is equal to the value of the larger increment (BP), Step increments in the driven coordinate are formed at the output of node 4. In this case, the value of the control code in register 3 must be so that the number of pulses corresponding to the value of the smaller increment (MP) is formed at the output of node 4 for the number of clock cycles equal to the BP.
При применении цифрового интегратора с последовательным переносом (счетчик 5 и узел 4) количество импульсов В за счет i-ro разр да управл ющего кода за врем БП вьфазит- с соотношениемWhen using a digital integrator with sequential transfer (counter 5 and node 4), the number of pulses B due to the i-th bit of the control code during the time of the power supply is with the ratio
B.- EQi2rJjB.- EQi2rJj
2 J4.4. где L ILL ч оператор выделени целой 2 J4.4. where L ILL is the integer selection operator
части, , П.parts, P.
Дл того чтобы за число тактов, равных БП, на выходе интегратора бьшо сформировано МП импульсов, должно удовлетвор тьс соотношениеIn order for the number of clock cycles equal to the power supply unit, at the output of the integrator to form MP pulses, the ratio must be satisfied
10ten
21 а Ь ,21 a b,
ir 1ir 1
00
где а. - значение цифры в i-м разр деwhere a. - the value of the digit in the i-th digit
управл ющего кода. Таким образом, задача определени 5 управл ющего кода сводитс к определению а, , а, , . ,, af, по известным значени м БП и МП с использованием приведенных соотношений. При этом наход тс значени В; и ими уравно- 0 вешиваетс значение МП.control code. Thus, the task of determining 5 of the control code is reduced to the definition of a,, a,,. ,, af, by known values of BP and MP using the above ratios. The values are B; and they equals 0 the value of the MP.
В линейном интерпол торе осуществл етс задание отрезка пр мой значением БП, значением управл ющего кода и признаками, задающими ориентацию 5 и расположение вектора по отношению к координатным ос м.In the linear interpolator, the segment is set by the direct BP value, the value of the control code, and the signs defining the orientation 5 and the vector location relative to the coordinate axes.
Интерпол тор работает следуюпдам образом.Interpol tor works in the following way.
По входу 8 интерпол тора от внеш- 0 него устройства поступает импульс, устанавливающий генератор 1 в исходное положение. На выходе генератора 1 импульсы не формируютс . Б регистр 6 по активному уровню сигнала на вхо- 5 де 13 записываетс значение признаков . Соответствие между активными уровн ми сигналов, признаками и соответствующими им входами следующееAt input 8 of the interpolator, an impulse comes from the external device, which sets generator 1 to the initial position. At the output of generator 1, no pulses are generated. B, register 6, according to the active signal level at input 5 and 13, the value of the signs is recorded. The correspondence between active signal levels, features and their corresponding inputs is as follows.
Признак Активный Вход 0 уровеньSign Active Log 0 level
1 14 15 1 14 15
Зн Х 1 16 Зн dY 1 . 17 В регистр 3 от внешнего устройства записываетс значение управл ющего кода, поступающего на вход 12 интерпол тора . Запись в регистр осуществл етс нулевым уровнем, подаваемым на вход 11 интерпол тора.Zn X 1 16 Zn dY 1. 17 The register 3 from an external device records the value of the control code, which is fed to the input 12 of the interpolator. The register is written to the zero level supplied to the input 11 of the interpolator.
В счетчик 2 записываетс значение БП, поступающего на вход 10 интерпол тора . Запись БП осуществл етс нулевым уровнем сигнала, подаваемым на, вход 9 интерпол тора. По переднему фронту указанного сигнала запусйа- етс генератор 1, и на его выходе . формируетс последовательность имThe counter 2 records the value of the power supply unit input to the input 10 of the interpolator. The recording of the PSU is carried out by the zero level of the signal applied to the input 9 of the interpolator. On the leading edge of the specified signal, the generator 1 is started, and at its output. a sequence is formed
пульсов заданной частоты. Указанна последовательность импульсов поступает на счетный вход счетчика 5, При этом на выходе двоичного умножител 4 формируетс последовательность импульсов , соответствующих МП (по ведомой координате). Коммутатор 7 осуществл ет в зависимости от значени признаков, записанных в регистр 6, перекоммутацию частотных потоков, поступающих от генератора 1 и двоичного умножител 4 на один из выходов +Х, -X, +Y, -Y (18 - 21).pulses of a given frequency. This sequence of pulses arrives at the counting input of counter 5, and at the output of binary multiplier 4, a sequence of pulses is formed corresponding to the MP (along the driven coordinate). Switch 7 performs, depending on the value of the attributes recorded in register 6, re-switching the frequency streams coming from generator 1 and binary multiplier 4 to one of the outputs + X, -X, + Y, -Y (18-21).
С приходом каждого импульса от ге- нератора 1 содержимое счетчика 2 уменьшаетс на единицу. При выдаче генератором 1 числа импульсов, равного БП, на выходе счетчика 2 формируетс сигнал переноса, привод щий к уста- новке генератора 1 в исходное состо ние , при котором импульсы на выход генератора 1 не выдаютс . При выдаче импульсов генератора 1 на выходе 22 формируетс уровень 1, сигнализирующий о генерации интерпол тором шаговых приращений. После выдачи БП-им- пульсов на выходе 22 формируетс сигнал О, сигнализирующий о готовности приема интерпол тором новых исходных данных.With the arrival of each pulse from generator 1, the contents of counter 2 are reduced by one. When the generator 1 produces a number of pulses equal to the PSU, a transfer signal is generated at the output of the counter 2, leading to the installation of the generator 1 to its initial state, in which the pulses are not output to the generator 1. When the generator 1 pulses are output, a level 1 is generated at the output 22, signaling that the interpolator generates step increments. After the output of the BP pulses, at the output 22, a signal O is generated, signaling that the interpolator is ready to receive new initial data.
Расчет управл ющего кода может быть осуществлен по алгоритму (фиг.4) микропроцессором или микроЭВМ. Часть граф-схемы алгоритма до штриховой The calculation of the control code can be carried out according to the algorithm (Fig. 4) by a microprocessor or microcomputer. Part of the flowchart of the algorithm to the bar
,,
линии служит дл определени числа имline serves to determine the number of them
,,
пульсов В- за счет i-ro разр да упр ав- л ющего кода за врем БП по формулеpulses of B-due to the i-ro bit of the control code during the BP time by the formula
ВAT
ГБП+2GBP + 2
Jti-H 1 2fУказанна формула реализуетс последовательным сдвигом БП (деление на 2) и прибавлени 1 при нечетном значении сдвигаемого операнда.Jti-H 1 2f The above formula is implemented by a successive shift of the BP (division by 2) and addition 1 with an odd value of the shifted operand.
Нижн часть граф-схемы алгоритма служит дл определени значени цифр (О или 1) в i-M разр де управл ющего кода путем уравновешивани кода МП весами В..The lower part of the flowchart of the algorithm serves to determine the value of the digits (O or 1) in the i-M bit of the control code by balancing the MP code with weights B.
Временна диаграмма работы (фиг.5) интерпол тора приведена дл , . Дл указанных приращений значение управл ющего кода равно 1010, где единица справа соответствует старшему разр ду. На временной диаграмме заштрихованные импульсы, снимаемые с первого и третьего выходов счетчика 5, отбираютс узлом 4 двоичного умножени и суммируютс . АктивнымThe time diagram of the work (Fig.5) of the interpolator is given for,. For these increments, the value of the control code is 1010, where the one on the right corresponds to the highest bit. In the timing diagram, the shaded pulses taken from the first and third outputs of counter 5 are sampled by the binary multiplication unit 4 and added together. Active
00
„ „
фронтом указанных импульсов вл етс передний фронт. С выхода узла 4 двоичного умножени импульсы, снимаемые с первого и третьего выходов счетчика 5, поступают на вход коммутатора. Из временных диаграмм следует, что на первый информационный вход коммутатора 7 импульсы поступают в каждом такте. На второй информационный вход комм татора 7 импульсы поступают с выхода двоичного умножител , образованного узлом 4 и счетчиком 5, причем импульсы формируютс не в каждом такте. Так на втором, шестом, восьмом , дес том тактах импульсы не формируютс (последнее отражено на временной диаграмме штриховой линией).the front of these pulses is the leading edge. From the output of node 4 binary multiplication, the pulses taken from the first and third outputs of counter 5 are fed to the input of the switch. From the time diagrams it follows that the first information input of the switch 7 pulses come in each clock cycle. To the second information input of the switch 7, the pulses come from the output of the binary multiplier formed by the node 4 and the counter 5, with the pulses being formed not every clock cycle. Thus, on the second, sixth, eighth, and tenth cycles, pulses are not formed (the latter is reflected in the time line by a dashed line).
Отрезок вертикальной пр мой, образованной под воздействием шаговых приращений, соответствующих исходным приращени м , , показан на фиг. 6.A segment of a vertical straight line formed under the influence of step increments corresponding to the initial increments, is shown in FIG. 6
,„ , „
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864110338A SU1423984A1 (en) | 1986-08-21 | 1986-08-21 | Relay-type interpolator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864110338A SU1423984A1 (en) | 1986-08-21 | 1986-08-21 | Relay-type interpolator |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1423984A1 true SU1423984A1 (en) | 1988-09-15 |
Family
ID=21253839
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864110338A SU1423984A1 (en) | 1986-08-21 | 1986-08-21 | Relay-type interpolator |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1423984A1 (en) |
-
1986
- 1986-08-21 SU SU864110338A patent/SU1423984A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 551611, кл. G U5 В 19/18, 19/415, 1975. Авторское свидетельство СССР № 395839, кл. G 06 F 15/353, 1972, * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4160154A (en) | High speed multiple event timer | |
SU1423984A1 (en) | Relay-type interpolator | |
SU1674061A1 (en) | Digital linear interpolator | |
SU1509957A1 (en) | Device for selecting indicators of object images | |
SU1406586A1 (en) | Generator of l-sequences | |
RU2037958C1 (en) | Frequency divider | |
SU1665382A1 (en) | Device for mathematic functions computation | |
SU1264165A1 (en) | Adder-accumulator | |
SU1140098A1 (en) | Digital interpolator | |
SU1434428A1 (en) | Device for raising to power | |
SU1229754A1 (en) | Arithmetic unit | |
SU1476616A1 (en) | Angular value binary-to-binary-coded-decimal code converter | |
RU1775854C (en) | Controlled pulse recurrence frequency divider | |
SU750480A1 (en) | Device for comparing numbers with tolerances | |
SU1385128A1 (en) | Frequency-pulsed signal adder | |
RU2006934C1 (en) | Device for calculation of combinatorial functions | |
SU991374A1 (en) | Function interpolator | |
SU251276A1 (en) | ALL-UNION 111 PATENTNV- '*' TECHNICAL LIBRARY. t. Gorbenko10 | |
SU1401454A1 (en) | Multiplication deviice | |
RU1809421C (en) | Linear interpolator | |
SU1584097A1 (en) | Device for checking priority of incoming pulses in n sequences | |
RU1805462C (en) | Device for determination of value of boolean functions | |
SU1108439A1 (en) | Device for multiplying codes together | |
SU1443745A1 (en) | Multichannel device for shaping pulse sequences | |
SU1228065A1 (en) | Digital meter of time intervals |