SU1423984A1 - Relay-type interpolator - Google Patents

Relay-type interpolator Download PDF

Info

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
Application number
SU864110338A
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 SU864110338A priority Critical patent/SU1423984A1/en
Application granted granted Critical
Publication of SU1423984A1 publication Critical patent/SU1423984A1/en

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)

25 Формула изобретени 25 claims ,, „ ,, „ 1 . Линейный интерпол тор, содержащий управл емый генератор импульсов, узел двоичного умножител , первый счетчик и два регистра, выходы первого регистра и счетчика соединены с первым и вторым входами узла двоичного умножител , вход запуска управл емого генератора импул.ьсов соединен с входом запуска интерпол тора, о т- личающийс  тем, что, с целью повышени  точности, быстродействи  и снижени  аппаратурных затрат, в него введены второй счетчик и коммутатор , выходы которого  вл ютс  выходами шаговых координатных приращений интерпол тора, информационные входы второго счетчика, первого и второго регистров  вл ютс  вхоцами задани  большего приращени  управл ющего кода и признаков координатной ориентации интерпол тора соответственно, входы записи первого и второго регистров  вл ютс  первым и вторым входами записи интерпол тора, вход запуска которого соединен с входом записи второго счетчика и с входом сброса первого счетчика, выход тактовой последовательности управл емого генератора импульсов соединен- со счетными входами первого и второго счетчиков и с первым информационным входом ком-- мутатора, второй информационный вход и управл ющие входы которого соедине30one . A linear interpolator containing a controlled pulse generator, a binary multiplier node, the first counter and two registers, the outputs of the first register and counter are connected to the first and second inputs of the binary multiplier node, the start input of the controlled pulse generator is connected to the start input of the interpolator, This is due to the fact that, in order to increase accuracy, speed and reduce hardware costs, a second counter and a switch are introduced into it, the outputs of which are interpolator outputs of stepping coordinate increments a, the information inputs of the second counter, the first and second registers are the inputs for setting the larger increment of the control code and the signs of the coordinate orientation of the interpolator, respectively; the recording inputs of the first and second registers are the first and second recording inputs of the interpolator, the trigger input of which is connected to the input records of the second counter and with the reset input of the first counter, the output of the clock sequence of the controlled pulse generator is connected with the counting inputs of the first and second counters and with the first nformatsionnym kom-- mutator input, a second data input and control inputs of which soedine30 3535 4040 4545 5050 5555 ны с выходом узла двоичного умножител  и выходами второго регистра соответственно , выход переноса второго счетчика и вход начальной установки интерпол тора соединены с первым и.„ вторым входами останова управл емого генератора импульсов, вькод признака останова которого  вл етс  выходом признака Окончание интерпол ции интерпол тора.With the output of the binary multiplier node and the outputs of the second register, respectively, the transfer output of the second counter and the input of the initial setup of the interpolator are connected to the first and second stops of the controlled pulse generator, the output of which the stop sign is the interpolator interpolation end. 2. Интерпол тор по п. Ij о т л и- чающийс  тем, что коммутатор содержит два мультиплексора и четыре элемента И, выходы которых образуют выход коммутатора, первые входы всех элементов И и первый и второй адресные входы первого и второго мультиплексоров соединены с соответствующими управл ющими входами коммутатора, первый информационный вход которого соединен с вторым, третьим и четвертым информационными входами первого мультиплексора и с первым, третьим четвертым информационными входами JBToporo мультиплексора, второй инфор- рационный вход коммутатора соединен ip. первым входом первого мультиплексо- |ja и с вторым входом второго мульти- |шексора, выход первого мультиплексо- а соединен с вторыми входами первого2. The interpolator according to claim Ij is based on the fact that the switchboard contains two multiplexers and four I elements, whose outputs form the switch output, the first inputs of all And elements and the first and second address inputs of the first and second multiplexers are connected to the corresponding the control inputs of the switch, the first information input of which is connected to the second, third and fourth information inputs of the first multiplexer and the first, third and fourth information inputs of the JBToporo multiplexer, the second information input switch is connected by ip. the first input of the first multiplex | ja and with the second input of the second multiplex | sheksor, the output of the first multiplex is connected to the second inputs of the first и второго элементов И, выход второго мультиплексора соединен с вторыми входами третьего и четвертого элементов И.and the second elements And, the output of the second multiplexer is connected to the second inputs of the third and fourth elements I. 3. Интерпол тор по п. 1, о т л и- чающийс  тем, что управл емый генератор импульсбв содержит первый элемент И, выход которого  вл етс  выходом тактовой последовательности, управл емого генератора импульсов, два триггера, генератор импульсов, выход которого соединен с первым входом первого элемента И и с входом синхронизации в.торого триггера, выход которого  вл етс  выходом признака останова управл емого генератора импульсов и соединен с вторым входом первого элемента И, второй элемент И, первый и второй входы которого  вл ютс  первым и вторым входами остано- ра управл емого генератора импульсов, вхоц, запуска и вход логической единицы которого соедине.ны с входом синхронизации и с информационным входом первого триггера, выход которого со- единен с информационным входом второго триггера, инверсный вход сброса которого соединен с выходом второго3. The interpolator according to claim 1, which is based on the fact that the controlled pulse generator contains the first AND element, the output of which is the output of the clock sequence controlled by the pulse generator, two triggers, the pulse generator whose output is connected to the first input of the first element And with the synchronization input of the second trigger, the output of which is the output of the stop sign of the controlled pulse generator and connected to the second input of the first And element, the second And element, the first and second inputs of which are the first and torym inputs ostano- ra controllable pulse generator vhots, start and input logic unit which soedine.ny a synchronization input and a data input of the first flip-flop, whose output is connected to the data input of second flip-flop inverse reset input connected to the output of the second элемента И и с инверсным входом сброса первого триггера.element And with the inverse reset input of the first trigger. ЛОLO 3232 ггyy //// М S/TffftaA4 5,8M S / TffftaA4 5.8 2222 е/Р.Зe / RZ U23984U23984 If UHfr SouuMffPO f HOiffumf/v} 1(и/(л joaSo rr / i/Mffre/3ftafl f /oaIf UHfr SouuMffPO f HOiffumf / v} 1 (and / (l joaSo rr / i / Mffre / 3ftafl f / oa ПЛАЯАЯЯЛЛЯАЯЯЯМPLAYAAJALLAAYAYAYAM JJ - fftino Sfo/ra- fftino Sfo / ra ЛйлгУLilgu SjltfAO/SjltfAO / : I I 1 I t I f t : I I 1 I t I f t J „L. 1 .lJJ J „L. 1 .lJJ : . 7 ЗГ s 9 7 в 9 :. 7 PG s 9 7 to 9 , .lJJ..UJjJ.lJJ..UJJJ 7 3 и S в 79 9 7 3 and S at 79 9 ,,- ff/,, - ff / JJ J LJ l t t Фиг 6Fig 6
SU864110338A 1986-08-21 1986-08-21 Relay-type interpolator SU1423984A1 (en)

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)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
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