SU1401589A1 - Code to time interval converter - Google Patents

Code to time interval converter Download PDF

Info

Publication number
SU1401589A1
SU1401589A1 SU864050558A SU4050558A SU1401589A1 SU 1401589 A1 SU1401589 A1 SU 1401589A1 SU 864050558 A SU864050558 A SU 864050558A SU 4050558 A SU4050558 A SU 4050558A SU 1401589 A1 SU1401589 A1 SU 1401589A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
outputs
counter
codes
code
Prior art date
Application number
SU864050558A
Other languages
Russian (ru)
Inventor
Эльянур Валиахмедович Ахмадеев
Дмитрий Валентинович Беляев
Валентин Павлович Симонов
Original Assignee
Предприятие П/Я А-1758
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 Предприятие П/Я А-1758 filed Critical Предприятие П/Я А-1758
Priority to SU864050558A priority Critical patent/SU1401589A1/en
Application granted granted Critical
Publication of SU1401589A1 publication Critical patent/SU1401589A1/en

Links

Landscapes

  • Inverter Devices (AREA)

Abstract

Изобретение относитс  к импульсной технике и может быть использовано дл  одновременного формировани  нескольких различных по скважности сигналов с широтно- импульсной модул цией, необходимых дл  управлени  многоприводным устройством, например роботом, с большим числом степеней свободы. Цель изобретени  - расширение функциональных возможностей устройства - достигаетс  путем увеличени  числа одновременно преобразуемых различных кодов в соответствующие временные интервалы . Дл  этого в устройство дополнительно введены дешифратор 8 и триггеры 9 по числу каналов преобразовани  с функциональными св з ми, показанными на чертеже. Кроме того, устройство содержит генератор 1 импульсов, счетчик 2 импульсов, задат- чик 3 кода, запоминающий блок 4, элементы 2И-ИЛИ 5, второй счетчик 6 импульсов, блок 7 сравнени  кодов. Введение новых элементов и св зей позвол ет одновременно преобразовывать несколько различных кодов в соответствующие временные интервалы без увеличени  по числу каналов преобразовани  всех содержащихс  в устройстве элементов . 2 3. п. ф-лы, 4 ил. SS (ЛThe invention relates to a pulse technique and can be used to simultaneously form several signals with a different duty cycle with pulse-width modulation necessary to control a multi-drive device, such as a robot, with a large number of degrees of freedom. The purpose of the invention — extending the functionality of the device — is achieved by increasing the number of simultaneously converting different codes to corresponding time intervals. To do this, a descrambler 8 and triggers 9 by the number of conversion channels with functional connections shown in the drawing are additionally introduced into the device. In addition, the device contains a pulse generator 1, a pulse counter 2, a setpoint generator 3 codes, a storage unit 4, elements 2I-OR 5, a second counter 6 pulses, a unit 7 of code comparison. The introduction of new elements and links allows you to simultaneously convert several different codes into the corresponding time intervals without increasing the number of channels for converting all the elements contained in the device. 2 3. p. F-ly, 4 ill. SS (L

Description

Хана/ii Hana / ii

Канап мKanap m

ubif.oSubif.oS

NN

ОABOUT

сдsd

ОО CDOO CD

1 1зобретение относитс  к импульсной технике и может быть использовано дл  одно- пременпого формировани  нескольких различных по скважности сигналов с широтно- имнульсной модул цией, необходимых дл  управлени  многоприводным устройством, например роботом, с большим числом степеней свободы.1 1 the invention relates to a pulse technique and can be used for the single-generation of several signals with a different duty cycle with a pulse-width modulation necessary to control a multi-drive device, such as a robot, with a large number of degrees of freedom.

Целью изобретени   вл етс  расширение функциональных возможностей устройства путем увеличени  числа одновременно преобразуемых различных кодов в соответствую- |дие временные интервалы.The aim of the invention is to enhance the functionality of the device by increasing the number of simultaneously converting different codes to the corresponding time intervals.

На фиг. 1 представлена функциональна  схема устройства; на фиг. 2 - схема счетчика импульсов; на фиг. 3-4 временные диаграммы работы преобразовател .FIG. 1 shows a functional diagram of the device; in fig. 2 is a pulse counter circuit; in fig. 3-4 time diagrams of converter operation.

Преобразователь код-временной интервал содержит генератор 1 импульсов, счетчик 2 импульсов, задатчик 3 кодов, запоминающий блок 4, элементы 2И-ИЛИ 5, счетчик 6 импульсов, блок 7 сравнени  ко- дов, дешифратор 8, триггеры 9, при этом выход генератора 1 импульсов соединен со счетными входами счетчиков 2 и 6, младшие разр ды счетчика 2 соединены с адресными входами дешифратора 8, запоминающего блока 4 и задатчика 3 кодов, информационные входы которого соединены с входными шинами, а выходы - с первыми входами элементов 2И-ИЛИ 5, вторые входы которых соединены с пр мым выходом старшего разр да счетчика 2, соответствующий инверсный выход которого соединен с третьими входами элементов 2И-ИЛИ 5, четвертые входы которых соединены с выходами запоминающего бло,ка 4, а выходы - с информационными входами счетчика 6, выходы которого соединены с информационными входами запоминающего блока 4 и входами блока 7 сравнени  кодов, выход которого соединен с входом запрета записи запоминающего блока 4 и информационными входами триггеров 9, счетные входы которых соединены с соответствующими выходами дещиф- ратора 8, а выходы - с выходными шинами.The code-time interval converter contains a pulse generator 1, a pulse counter 2, a setpoint generator 3 codes, a storage unit 4, elements 2И-OR 5, a pulse counter 6, a code comparison unit 7, a decoder 8, triggers 9, and the output of the generator 1 pulses connected to the counting inputs of the counters 2 and 6, the lower bits of the counter 2 are connected to the address inputs of the decoder 8, the storage unit 4 and the setting device 3 codes, the information inputs of which are connected to the input buses, and the outputs - with the first inputs of the elements 2I-OR 5, the second inputs of which are connected They are connected with the direct output of the higher bit of counter 2, the corresponding inverse output of which is connected to the third inputs of elements 2И-OR 5, the fourth inputs of which are connected to the outputs of the storage unit 4, and the outputs to information inputs of counter 6, the outputs of which are connected to information inputs of the storage unit 4 and inputs of the code comparison unit 7, the output of which is connected to the recording prohibition input of the storage unit 4 and information inputs of the trigger 9, the counting inputs of which are connected to the corresponding outputs Rattor 8, and exits - with output tires.

Генератор импульсов может быть выполнен на основе инверторов с резистивно-емкостными св з ми или с кварцевой стабилизацией , например, на микросхеме К 155ЛН1.The pulse generator can be made on the basis of inverters with resistive-capacitive connections or with quartz stabilization, for example, on a K 155LN1 microcircuit.

Счетчик 2 импульсов выполнен суммирующим и .может быть выполнен на микросхемах К 155ИЕ5, К 155ЛА2 и К 155ЛН1, например по схеме, приведенной на фиг. 2.The pulse counter 2 is made summing and can be performed on the K 155IE5, K 155LA2 and K 155LN1 microcircuits, for example, according to the scheme shown in FIG. 2

Задатчик 3 кодов и запоминающий блок 4 выполнены многорегистровыми, с числом регистров, соответствующим количеству одновременно преобразуемых различных кодов , а разр дностью регистров, равной разр дности входных кодов, например, на микросхемах запоминающих устройств К 155РУ2 выходы которых подключены через нагрузочные резисторы к источнику питани , аThe setting unit 3 codes and the storage unit 4 are made multi-register, with the number of registers corresponding to the number of simultaneously converting different codes, and the register size equal to the input code, for example, on memory chips K 155RU2 whose outputs are connected via load resistors to the power source, but

00

r r

0 5 0 5

к информационным входам подключены дополнительные инверторы, например, на микросхемах К 561ЛН2 дл  компенсации инвертировани  ими выходного сигнала.Additional inverters are connected to the information inputs, for example, on К 561ЛН2 microcircuits to compensate for the inverted output signal.

Элементы 2И-ИЛИ могут быть выполнены на микросхемах К 599ЛКЗ и их количество определ етс  разр дностью входных кодов.Elements 2I-OR can be performed on K 599 LKZ microcircuits and their number is determined by the width of the input codes.

Счетчик 6 может быть выполнен на основе микросхемы К 155ИЕ7, блок 7 сравнени  кодов может быть выполнен на основе микросхем К 155ЛА2 или К 155ЛЛ1, в зависимости от представлени  входной информации пр мыми или инверсными кодами.Counter 6 can be made on the basis of the K 155IE7 microcircuit, block 7 of the code comparison can be made on the basis of the K 155LA2 or K 155LL1 microcircuit, depending on whether the input information is represented by direct or inverse codes.

Дешифратор 8 может быть выполнен на основе микросхемы К 155ИДЗ, а триггеры 9 - на основе микросхем К I55TM2.The decoder 8 can be made on the basis of the K 155IDZ chip, and the triggers 9 - on the basis of the K I55TM2 chip.

При использовании в устройстве элементов , выполненных на других типах микросхем , дл  сохранени  работоспособности устройства необходимо соблюдать следующие временные соотношени . Сигнал с выхода блока 7 должен поступать на вход запрета записи запоминающего блока 4 раньше изменени  информации на его информационных входах, а на информационные входы триггеров - позже изменени  сигналов на выходах дешифратора 8, в противном случае в устройстве нарушитс  соответствие выходных сигналов входным.When using elements made on other types of microcircuits in the device, the following time relationships should be observed to maintain the device's operability. The signal from the output of block 7 must go to the input of the prohibition to record storage unit 4 before changing the information on its information inputs, and to the information inputs of the triggers later than changing the signals on the outputs of the decoder 8, otherwise the device will not match the output signals to the input.

Преобразователь код - вре.менной интервал работает следующим образом.Converter code - time. The interval works as follows.

Генератор 1 и.мпульсов вырабатывает импульсы , поступающие на вход суммирующего счетчика 2, младщие разр ды Q,..., QN которого с тактовой частотой генератора 1 импульсов осуществл ют последовательный перебор 2 адресов многорегистрового за- 5 датчика 3 кодов, .многорегистрового запоминающего блока 4 и дещифратора 8. На выходах Q, ,...,QN задатчика 3 кода и запоминающего блока 4 в каждый такт частоты устанавливаетс  информационный код того канала преобразовани , адрес которого в данный такт определ етс  значени ми младших разр дов Q,...,Q счетчика 2. На одном из выходов Q,...,QM дещифратора 8, соответствующем каналу преобразовани , адрес которого в данный такт установлен на его адресных входах А-,...,Ат, по вл етс  импульс отрицательной пол рности, который устанавливает соответствующий триггер 9 в состо ние, определ емое уровнем сиг.- нала на его информационном входе. С пр мого Р и инверсного Р выходов старшего разр да счетчика 2, подключенных к вторым и третьим входам N элементов 2И-ИЛИ 5, в течение первых 2 тактов генератора 1 импульсов поступают соответственно единичный и нулевой уровни сигналов. Поэтому в течение указанных тактов на выходы элементов 2И-ИЛИ 5, т. е. на входы D,,...,О„ предварительной установки счетчика 6, поступают информационные коды с выходовThe generator 1 and pulses produce pulses arriving at the input of summing counter 2, the minor bits Q, ..., whose QN with a clock frequency of the pulse generator 1 carries out a sequential search of 2 addresses of a multi-register encoder 3, of a multi-register storage unit 4 and decipheror 8. At the outputs Q, ..., QN of the setter 3 of the code and the storage unit 4, the information code of that conversion channel is set at each frequency beat, the address of which at that time is determined by the values of the lower bits Q, ... , Q counter 2. H one of the outputs Q, ..., QM of the decimator 8, corresponding to the conversion channel, whose address is set to its address inputs A -, ..., At at the same time, is a negative polarity pulse, which sets the corresponding trigger 9 in state determined by the signal level at its information input. From the direct P and inverse P outputs of the highest bit of counter 2, connected to the second and third inputs of N elements 2I-OR 5, during the first 2 cycles of the generator 1 pulses, the signal levels are equal to one and zero. Therefore, during the indicated measures, the outputs of the 2I-OR 5 elements, i.e., the inputs D ,, ..., О „of the presetting of the counter 6, receive information codes from the outputs

00

00

5five

00

5five

Qi,---,Qn задатчика 3 кодов и не проход т коды с выходов Qi,...,Qw запоминающего блока 4. Счетчик 6 измен ет значение поступающего на входы DI, ..., DH кода на единицу младщего разр да в течение каждого из 2 тактов генератора 1 импульсов. Причем , при задании на входной шине временных интервалов пр мыми кодами счетчик 6 выполнен вычитающим, а при задании обратными кодами - суммирующим.Qi, ---, Qn of the dial of the 3 codes and the codes from the outputs Qi, ..., Qw of the storage unit 4 do not pass. Counter 6 changes the value of the incoming to the inputs DI, ..., DH code per unit of the youngest digit in the course of each of the 2 cycles of the generator 1 pulses. Moreover, when the time codes are set by the direct codes on the input bus, counter 6 is made subtractive, and when set by the return codes, it is summing.

С выходов QI,..., счетчика 6 измененный код поступает на информационные входы DI ,..., ..DH запоминающего блока 4, куда происходит его запись при условии отсутстви  запрещающего нулевого . уровн  сигнала на его входе запрета записи Vp. Блок 7 сравнени  кода с посто нным числом вырабатывает этот нулевой уровень сигнала на своем выходе при равенстве уровней сигналов на выходах Q,, ..., Q счетчика 6 единичному уровню в случае задани  временных интервалов пр мыми кодами и нулевому - в случае задани  обратными кодами. Кроме того, сигнал с выхода блока 7 сравнени  кода с посто нным числом поступает на информационные входы триггеров 9, что при задании ненулевой длительности временного интервала по какому-либо каналу позвол ет установить триггер 9, соответствующий этому каналу, в единичное состо ние при обращении по адресу этого канала в течение первых 2 тактов цикла преобразовани .From the outputs QI, ..., of the counter 6, the modified code arrives at the information inputs DI, ..., ..DH of the storage unit 4, where it is recorded under the condition that there is no prohibiting zero. The signal level at its input to the Vp recording prohibition. Block 7 of the code comparison with a constant number generates this zero signal level at its output when the signal levels at the outputs Q ,, ..., Q of the counter 6 are equal to a single level in the case of setting time intervals with direct codes and zero if setting with return codes . In addition, the signal from the output of block 7 of code comparison with a constant number arrives at the information inputs of the flip-flops 9, which, if you specify a non-zero duration of the time interval on any channel, allows you to set the flip-flop 9 corresponding to this channel to one state when accessed address of this channel during the first 2 cycles of the conversion cycle.

Дл  последующих 2 (2-1) такто в уровни сигналов на пр мом Р и инверсном Р выходах счетчика 2 измен ют свои значени  на противоположные. Поэтому, в эти последующие такты на входы DI ,..., D предварительной записи счетчика 6 через элементы 2И-ИЛИ 5 поступают информационные коды с выходов Q, ..., QM запоминающего блока 4 и не проход т коды с выходов Q.,,..., Qrt задатчика 3 кодов.For the next 2 (2-1) clocks, the signal levels on the forward P and inverse P outputs of counter 2 change their values to opposite. Therefore, these subsequent cycles to the inputs DI, ..., D of pre-recording counter 6 through the elements 2I-OR 5 receive information codes from the outputs Q, ..., QM of the storage unit 4 and the codes from the outputs Q do not pass. , ..., Qrt master 3 codes.

С выходов Q, ..., Q|j счетчика 6 повторно измененный код поступает на информационные входы D,..., D;j запоминающего блока 4, куда он и записываетс  при условии отсутстви  запрещающего сигнала на входе V Таким образом, информационный код любого канала преобразовани , хран щийс  в запоминающем блоке 4, в такты обращени  по адресу этого канала измен етс  на единицу младшего разр да в каждый такт до тех пор, пока не станет равным коду на входных шинах IP,..,, NP, соответствующему вре менному интервалу нулевой длительности. С этого момента и до начала нового цикла преобразовани  на выходе блока 7 сравнени  кодов с посто нным числом в такты обращени  по адресу данного канала устанавливаетс  нулевой уровень сигнала, запрещающий изменение информационного кода в запоминающем блоке 4 и позвол ющий установить в нулевое состо ние триггер 9, соответствующий этому каналу преобразоFrom the outputs Q, ..., Q | j of the counter 6, the re-modified code is fed to the information inputs D, ..., D; j of the storage unit 4, where it is recorded under the condition that there is no inhibitory signal at input V. Thus, the information code any conversion channel stored in the storage unit 4 to the clock cycles at the address of this channel is changed by one least significant bit every time until it becomes equal to the code on the input bus IP, .. ,, NP, corresponding to the time a variable interval of zero duration. From this moment and until the beginning of a new conversion cycle, a zero signal level is established at the output of a block 7 comparing codes with a constant number to the access cycles at the address of this channel, prohibiting the change of the information code in the storage unit 4 and allowing the trigger 9 to be set to zero. corresponding to this channel

вани . Так продолжаетс  до тех пор, пока не закончатс  эти 2 () такты. А затем уровни сигналов на пр мом Р и инверсном Р выходах счетчика 2 вновь станов тс  соответственно единичным и нулевым. На выходы элементов 2И-ИЛИ 5 поступают информационные коды с выходов Q,,...,QN задатчика 3 кодов, и начинаетс  новый цикл преобразовани  кодов во временные интервалы . Таким образом, длительность цикла преобразовани  кода во временной интервал составл ет тактов. Дискрет преобразовани  составл ет тактов. Максимальна  длительностьVani. This continues until the 2 () bars have completed. And then the signal levels at the forward P and inverse P outputs of counter 2 again become single and zero, respectively. The outputs of the 2I-OR 5 elements receive information codes from the outputs Q ,,, ..., QN of the setter 3 of the codes, and a new cycle of code conversion to time intervals begins. Thus, the cycle time for converting a code into a time interval is in cycles. The transform discretion is clock cycles. Maximum duration

рую можно задать, составл ет тактов.Ru can be set, make ticks.

временного интервала, кото- 2 (2 J-I)time interval which is 2 (2 j-i)

00

5five

с with

00

00

00

5five

Введение в преобразователь код - временной интервал новых элементов и св зей позвол ет повысить функциональные возможности устройства, т. е. одновременно преобразовывать несколько различных кодов в соответствующие временные интервалы без увеличени  по числу каналов преобразовани  всех содержащихс  в устройстве элементов.Introduction of a code to the converter — the time interval of new elements and links allows for increasing the functionality of the device, i.e., simultaneously converting several different codes to the corresponding time intervals without increasing the number of channels for converting all the elements contained in the device.

Claims (3)

1. Преобразователь код - временной интервал , содержащий генератор импульсов, выход которого подключен к входу первого счетчика, задатчик кодов, информационные входы которого соединены с входными шинами , а выходы подключены к первым входам элементов 2И-ИЛИ, к другим входам которых подключены выходы запоминающего блока, информационные входы которого соединены с выходами второго счетчика, блок сравнени  кодов, выход которого подключен к одному из входов триггера, отличающийс  тем, что, с целью расширени  функциональных возможностей устройства путем увеличени  числа одновременно преобразуе.мых различных кодов в соответствующие временные интервалы, в него дополнительно введены дещифратор и триггеры по числу каналов преобразовани , причем пр мой выход старЩего разр да первого счетчика соединен с вторыми входами элементов 2И-ИЛИ, а инверсный - с третьими, четвертые входы которых соединены с выходами запоминающего блока, а выходы - с информационными входами второго счетчика, счетный вход которого подключен к выходу генератора импульсов , а выходы - к входам блока сравнени  кодов, выход которого соединен с входом запрета записи запоминающего блока и информационными входами триггеров, выходы которых соединены с выходными шинами, а счетные входы - с выходами дешифратора, входы которого соединены с адресными входами задатчиков кодов и запоминающего блока и выходами младших разр дов первого счетчика.1. Converter code is a time interval containing a pulse generator, the output of which is connected to the input of the first counter, the setpoint generator, the information inputs of which are connected to the input buses, and the outputs are connected to the first inputs of elements 2I-OR, the other inputs of which are connected to the outputs of the storage unit The information inputs of which are connected to the outputs of the second counter, a code comparison unit whose output is connected to one of the trigger inputs, characterized in that, in order to expand the functionality of the devices by increasing the number of simultaneously converting different codes into the corresponding time intervals, additionally entered a decimator and triggers according to the number of conversion channels, and the direct output of the high bit of the first counter is connected to the second inputs of the 2I-OR elements, and the inverse to the third , the fourth inputs of which are connected to the outputs of the storage unit, and the outputs to the information inputs of the second counter, the counting input of which is connected to the output of the pulse generator, and the outputs to the inputs of the block are compared and codes whose output is connected to the prohibition input of the storage block and information inputs of the triggers, whose outputs are connected to the output buses, and the counting inputs to the decoder outputs, the inputs of which are connected to the address inputs of the code setters and the storage block and the low-order outputs of the first counter . 2. Преобразователь по п. 1, отличающийс  тем, что второй счетчик выполнен вычитающим , блок сравнени  кодов выполнен в виде элемента И-НЕ, а задание временных интервалов осуществлено пр мыми кодами.2. The converter according to claim 1, characterized in that the second counter is made subtractive, the code comparison unit is made as an AND-NOT element, and the time intervals are set by direct codes. 3. Преобразователь по п. 1, отличающийс  тем, что второй счетчик выполнен суммирующим , блок сравнени  кодов выполнен в виде элемента ИЛИ, а задание временных интервалов осуществлено обратными кодами.3. The converter according to claim 1, characterized in that the second counter is made summing, the code comparison unit is made as an OR element, and the time intervals are specified by inverse codes. сриг.гSrig.G.
SU864050558A 1986-04-07 1986-04-07 Code to time interval converter SU1401589A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864050558A SU1401589A1 (en) 1986-04-07 1986-04-07 Code to time interval converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864050558A SU1401589A1 (en) 1986-04-07 1986-04-07 Code to time interval converter

Publications (1)

Publication Number Publication Date
SU1401589A1 true SU1401589A1 (en) 1988-06-07

Family

ID=21231426

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864050558A SU1401589A1 (en) 1986-04-07 1986-04-07 Code to time interval converter

Country Status (1)

Country Link
SU (1) SU1401589A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1168061, кл. Н 03 К 7/08, 18.04.83. Авторское свидетельство СССР № 738143, кл. Н 03 К П/ОО, 1977. *

Similar Documents

Publication Publication Date Title
SU1401589A1 (en) Code to time interval converter
SU1166173A1 (en) Device for digital magnetic recording in binary-coded decimal code
SU1667254A1 (en) Number-to-time converter
SU1485408A1 (en) Code-to-voltage converter
SU1405110A1 (en) Reversible pulse counter
KR950002302B1 (en) A/d converter
SU1487191A1 (en) Multichannel code-voltage converter
SU1008905A1 (en) Digital code-to-pulse repetition rate converter
SU1636994A1 (en) Semi-markovian process generation device
SU657435A1 (en) K-digit pulse-phase adder
SU840860A1 (en) Controllable pulse distributor
SU1166291A1 (en) Multichannel number-to-time interval converter
SU1091209A1 (en) Device for compressing information
SU630627A1 (en) Binary ten-digit- to-binary-decimal number converter
SU1506553A1 (en) Frequency to code converter
SU1481691A1 (en) Device for converting physical variable to code
SU1278863A1 (en) Interface for linking the using equipment with digital computer
SU987681A1 (en) Register
SU1541669A1 (en) Programmer
SU1603360A1 (en) Generator of basic functions
SU1658391A1 (en) Serial-to-parallel code converter
SU1649531A1 (en) Number searcher
SU1437974A1 (en) Generator of pseudorandom sequences
RU1798901C (en) Single-pulse frequency multiplier
SU1548799A1 (en) Device for conversion of brightness histograms