SU924859A1 - Frequency-to-code converter - Google Patents

Frequency-to-code converter Download PDF

Info

Publication number
SU924859A1
SU924859A1 SU802996445A SU2996445A SU924859A1 SU 924859 A1 SU924859 A1 SU 924859A1 SU 802996445 A SU802996445 A SU 802996445A SU 2996445 A SU2996445 A SU 2996445A SU 924859 A1 SU924859 A1 SU 924859A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
frequency
code
key
output
Prior art date
Application number
SU802996445A
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 SU802996445A priority Critical patent/SU924859A1/en
Application granted granted Critical
Publication of SU924859A1 publication Critical patent/SU924859A1/en

Links

Landscapes

  • Measuring Frequencies, Analyzing Spectra (AREA)

Description

(54) ПРЕОБРАЗОВАТЕЛЬ ЧАСТОТЫ В КОД(54) FREQUENCY CONVERTER TO CODE

II

Изобретение относитс  к вычислительной технике и может быть использовано дл  св зи вычислительной машины с внешними устройствами, в системах управлени  и моделировани , в измерительных системах.The invention relates to computing and can be used to communicate a computer with external devices, in control and simulation systems, in measurement systems.

Известен преобразователь частота-код содержащий триггер, соединенный с дифференцирующей цепью, триггеры управлени , вентили, генератор образцовой частоты , схему запрета, счетчик с дешифратором , коммутатор и управл емый делитель частоты til- . .A known frequency-code converter containing a trigger connected to a differentiating circuit, control triggers, valves, an exemplary frequency generator, a inhibitor circuit, a counter with a decoder, a switch and a controlled frequency divider til-. .

Недостатком данного преобразовател   вл етс  то, что он не учитывает знак преобразуемой величины.The disadvantage of this converter is that it does not take into account the sign of the value being converted.

Наиболее близким к предлагаемому  вл етс  преобразователь частоты в код, содержащий генератор стабильной частоты , выход которого через первый ключ соединен со счетным входом счетчика, через второй ключ - с информационным входом преобразовател  код-частота и непосредственно с тактовым входом пре-The closest to the present invention is a frequency converter into a code containing a stable frequency generator, the output of which is connected to the counter input through a first key, to the code-frequency information input through the second key and directly to the clock input of the counter.

образовател  код-частота, первый формирователь временного интервала, выход которого соединен с установочным входом , счетчика и со вторым входом второго ключа, а выход преобразовател  код-частота через второй формирователь временного интервала соединен со вторым входом первого ключа и установочным входом преобразовател  кода в частоту 2.the code-frequency generator, the first time interval generator, the output of which is connected to the installation input, a counter and the second input of the second key, and the code-frequency converter output is connected via the second time interval generator to the second input of the first key and the installation input of the code converter to frequency 2 .

10ten

Недостатком преобразовател   вл етс  то, что он не учитывает знак преобразуемой частоты.The disadvantage of the converter is that it does not take into account the sign of the frequency to be converted.

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

15 а именно учет знака преобр)азуемой величины .15 namely, taking into account the sign of the converted value.

Поставленна  цель достигаетс  тем, что в преобразователь частоты в код, содержащий генератор, выход которого The goal is achieved by the fact that in the frequency converter in the code containing a generator, the output of which

20 через первый ключ соединен с суммирующим входом счетчика, непосредственно соединен с тактовым входом преобразовател  код-частота и через второй20 through the first key is connected to the summing input of the counter, directly connected to the clock input of the code-frequency converter and through the second

ключ - с информационным входом преобразовател  код-частота, выход которого через формирователь временных интервалов соединен со вторым входом первого ключа, дополнительно введены три триггера , два элемента задержки, п ть ключей и два- элемента ИЛИ, причем выход первого триггера соединен со, входами первого и второго дополнительных ключей и через первый элемент задержки со входом сброса второго триггера, кkey - with the information input of the code-frequency converter, the output of which is connected to the second input of the first key through the time interval shaper, three triggers, two delay elements, five keys and two OR elements are added, the output of the first trigger and the second additional keys and through the first delay element with the reset input of the second trigger, to

счетному входу которого подключен вход сброса третьего триггера, выход второго триггера соединен со входами третьего и четвертого дополнительных ключей и через второй элемент задерж- ки со входом сброса первого триггера, к счетному входу которого подключен пр мой вход третьего триггера, выход которого соединен со вторыми входами первого и четвертого дополнительных ключей и третьим входом первого основного ключа, а инверсный выход соединен со вторыми входами второго и третьего ключей и с первым входом п того дополнительного ключаг к второму входу которого подключен выход генератора, при этом выход формировател  временных интервалов соединен со входом первого элемента ИЛИ и с третьим входом п того дополнительного ключа, выход которого соединен с вычитающим входом счетчика, выходы первого и третьего дополнительньгх ключей через второй элемент ИЛИ соединены со вторым входом второго ключа, а выходы второго и четвертого дополнительных ключей через первый элемент ИЛИ соединены со входом сброса преобразовател  код-частота.the counting input of which is connected to the reset input of the third trigger, the output of the second trigger is connected to the inputs of the third and fourth additional keys and through the second delay element to the reset input of the first trigger, to the counting input of which the direct input of the third trigger is connected, the output of which is connected to the second inputs the first and fourth additional keys and the third input of the first primary key, and the inverse output is connected to the second inputs of the second and third keys and to the first input of the fifth additional key the second input of which is connected to the generator output, while the output of the time interval generator is connected to the input of the first OR element and to the third input of the fifth additional key, the output of which is connected to the subtractive input of the counter, the first and third additional switches are connected to the second input the second key, and the outputs of the second and fourth additional keys through the first element OR are connected to the reset input of the code-frequency converter.

На чертеже приведена структурна  схема преобразовател  частоты в код.The drawing shows a block diagram of the frequency converter in the code.

Преобразователь содержит входные шины 1 и 2, по которым поступают импульсы положительного и отрицательног приращений частоты, три триггера 3, 4 и 5, ключи 6-11, первый элемент 12 задержки, второй элемент 13 задержки, элемент ИЛИ 14, ключ 15, элемент ИЛИ 16, преобразователь 17 код-частота , генератор 18, счетчик 19, формирователь 20 временных интервалов, шину 21, котора   вл етс  выходом устройства.The converter contains input buses 1 and 2, through which impulses of positive and negative frequency increments are received, three triggers 3, 4 and 5, keys 6-11, first delay element 12, second delay element 13, element OR 14, key 15, element OR 16, the code-frequency converter 17, the generator 18, the counter 19, the time generator 20, the bus 21, which is the output of the device.

Устройство работает следующим образом .The device works as follows.

Преобразователь предназначен дл  преобразовани  в дополнительный кодThe converter is intended to be converted into additional code.

потока импульсов с малым значением частоты. Знак потока определ етс  наличием . импульсов на шинах 1 или 2. Моменты поступлени  импульсов по шинам 1 и 2 разделены во времени, т, е. не могут одновременно присутствовать импульсы на разных шинах. Преобразователь позвол ет измер ть значение частоты за врем , равное двум периодамpulse flow with a low frequency value. The sign of flow is determined by the presence. impulses on tires 1 or 2. The moments of arrival of impulses along tires 1 and 2 are separated in time, i.e., impulses cannot be simultaneously present on different tires. The converter allows you to measure the frequency value over a time equal to two periods.

преобразуемой частоты. Первый импульс положительного приращени  поступает по шине 1 на счетный вход триггера 3 и на пр мой вход триггера 4 знака. В резульгтате триггеры 3 и 4 устанавливаютс  вfrequency conversion. The first positive increment pulse is fed through bus 1 to the counting input of trigger 3 and to the direct input of trigger 4 characters. As a result, triggers 3 and 4 are set to

5 ё единичное состо ние. Срабатывает ключ 6 к сигнал с его выхода через элемент ИЛИ 14 и ключ 15 разрешает прохождение частоты с выхода генератора 18 на информационный вход преобразовател  17 код-частота. Цо приходу второго импульса по шине 1 триггер 3 сбрасываетс  в нулевое состо ние, ключ 6 закрьтаетс  и прохождение частоты с генератора 18 в преобразователь 175 th unit state. The key 6 to the signal from its output through the element OR 14 and the key 15 enables the passage of the frequency from the output of the generator 18 to the information input of the code-to-frequency converter 17. When the second pulse arrives on the bus 1, the trigger 3 is reset to the zero state, the key 6 is locked and the frequency passes from the generator 18 to the converter 17

Claims (2)

5 код-частота прекращаетс . За врем  периода преобразуемой частоты во входном регистре преобразовател  17 код-частота образуетс  код, пр мо пропоршональный величине периода, так как число им0 пульсов, поступивших на вход преобразовател  17 кЪд-частота с генератора 18, пр мо пропорционально вeли инe периода преобразуемой частоты. Сразу после заполнени  входного регистра преобразовател  17 код-частота импульс с его выхода устанавливает формирователь временных интервалов в единичное состо ние, и через ключ 8 на суммирующий вход счетчика 19 начинает поступать часто- та с генератора 18. Вьздача импульсов в счетчик 19 продолжаетс  до момента по влени  второго импульса с выхода преобразовател  17 код-час.тота. При этом формирователь 20 временных интервалов сбрасываетс  в нулевое с(х;то ние , ключ 8 запираетс , а сам преобразователь 17 код-частота устанавливаетс  в исходное состо ние через элемент ИЛИ 16. Значение кода в счетчике 19 пр мо пропорционально интервалу времени , прошедшему между двум  выходными импульсами преобразовател -кодчастота , обратно пропорхшонально коду, записанному в нем, и пр мо пропорцио .нально значению преобразуемой частоты. Код со счетчика 19 снимаетс  по ш не 21, при этом сам счетчик об1гул етс  (не показано). С приходом третьего, четвертого и последующих импулы;оБ по шине 1 описанный процесс повтор етс , Первый импульс отрицательного приращени  частоты поступает по шине 2 на счетный вход триггера 5 и на вход сброса триггера 4. В результате триггер 5 устанавливаетс  в единичное состо ние , а триггеры 3 и 4 устацавли- ваютс  в нулевое состо ние. Срабатывае ключ 9. Далее работа преобразовател  происходит аналогично работе с положи- тельными приращени (/ги частоты. Отличие состоит в том, то сигналом с инверсного выхода триггера 4 открьюаетс ключ 11. В результате частота с генератора 18 поступает на вычитающий вход счетчика 1-9, в котором образуетс  дополнительный код отрицательного числа Если после первого, третьего и т. д. импульса положительного приращени  частоты в устройство приходит импульс отрицательного, то триггер 4 устанавливаетс  в нулевое состо ние, а триггер 5 в единичное. Срабатьгоает ключ 1О (так как триггер 3 из-за наличи  элемента, задержки еще сброшен) и на входе сбро- са преобразовател  17 код-частота подаетс  сигнал, устанавливающий его висходное состо ние. Далее триггер 3 сбрасываетс , ключ 10 закрываетс , ключ 9 открьгоаетс .и работа устройства происходит как при приходе импульсов отрицательного приращени  частоты. Если после нечетного импульса отрицательного прирашеч   частоты поступае импульс положительного приращени , то срабатывает ключ 7, преобразователь 17 код-частота, устанавливаетс  в исходное состо ние, устанавливаетс  триггер 3, сбрасьгоаетс  триггер 5, срабатьгоает ключ 6 и далее работа устройства про- исходит аналогично работе при приходе импульса положительного приращени . Использование в преобразователе элементов (трех триггеров, двух элементов задержки, п ти ключей и двух элементов ИЛИ) позвол ет учитьгоать знак преобразуемой частоты. Такой метод преобразовани  необходим при низации совместной работы LIBM с часто ными датчиками, выходна  величина которых представлена в виде двух потоков в зависимости от знака измер емой величины . Дл  реализации такого типа пре образовани  необходимо использовать два преобразовател , аналогичных прототипу. Следовательно, использование предлагаемых преобразователей при построении управл ющей системы позвол ет уме ишть вдвое число преобразователей частота-код дл  приема информации с датчиков с тернарным кодированием. Формула изобретени  Преобразователь частоты в код, содер-. жащий генератор, выход которого через : первый ключ соединен с суммирующим входом счетч-ика, непосредственно соединен с тактовым входом преобразовател  код-частота и через второй ключ с информационным входом преобразовател  код-частота,, выход которого через форьмирователь временных интервалов соединен с вторым входом первого ключа, отличающийс  тем, что, с целью расширени  функциональных возможностей, в него дополнительно введены элемента задерлжи, п ть ключей, два элемента ИЛИ и три триггера, выход первого из которых соединен с входами первого и второго дополнительнь1х ключей и через первый элемент задержки с входом сброса второго триггера,к счетному входу которого подключен вход сброса третьего триггера, выход второго Tpfnrepa соединен с входами третьего и четвертого дополнительных ключей и через второй элемент задержки с входом сброса первого триггера, к счетному входу которого подключен и пр мой вход, третьего триггера, пр мой выход которого соединен с вторыми входами первого и четвертого дополнительных ключей и третьим входом первого основного ключа, а Ш1- версный выход соединен с вторыми входами второго и третьего ключей и с первым входом п того дополните ьного ключа, к второму входу которого подключен выход генератора, при этом выход формировател  временных интервалов соедш1ен с входом первого элемента ИЛИ и третьим входом п того дополнительного ключа, выход которого соединен с вычитающим входом счетчика выходы первого и третьего дополнительных ключей через второй элемент ИЛИ соединены с вторым входом второго ключа, а выходы второго к четвертого дополнительных ключей через первый элемент ИЛИ соединены с входом сброса преобразовател  код-частота. Источники информации, прин тые во внимание при экспертизе 1.Авторское свидетельство СССР № 372684, кл. Н 03 К 13/2О, 1973. 5, the code-frequency is terminated. During the period of the frequency being converted, the code-frequency in the input register of the code-17 converter forms a code directly proportional to the period, since the number of pulses received at the input of the converter 17-cd frequency from the generator 18 is directly proportional to the frequency of the period of the frequency being converted. Immediately after the input register of the code-frequency converter 17 is filled, the pulse from its output sets the shaper of time intervals to one state, and through the key 8 to the summing input of the counter 19 the frequency starts to flow from the generator 18. The pulse output to the counter 19 continues until effects of the second pulse from the output of the 17 code-hour converter. In this case, the time shaper 20 is reset to zero s (x; the current, the key 8 is locked, and the code-frequency converter 17 is reset to the initial state through the OR element 16. The code value in the counter 19 is directly proportional to the time interval between two output pulses of the converter-code frequency, inversely proportional to the code written in it, and directly proportional to the value of the frequency to be converted. The code from counter 19 is removed on W 21, while the counter itself is turned on (not shown). second, fourth, and subsequent impulses; BUS on bus 1; the described process repeats; The first pulse of negative frequency increment goes on bus 2 to the counting input of trigger 5 and to the reset input of trigger 4. As a result, trigger 5 is set to one, and triggers 3 and 4 are stabilized in the zero state. Key 9 is activated. Next, the converter operates in the same way as with positive increments (/ rf of the frequency. The difference is that the signal from the inverted output of the trigger 4 opens the key 11. As a result, the frequency from the generator 18 goes to the subtracting input of the counter 1-9, in which the additional code of the negative number is formed If after the first, third, etc. pulses of the positive the increment of the frequency in the device comes a negative pulse, then the trigger 4 is set to the zero state, and the trigger 5 to the unit state. The key 1O is activated (since the trigger 3 due to the presence of the element, the delay is still reset) and a signal is set at the reset input of the converter 17 of the code-frequency that establishes its input state. Further, the trigger 3 is reset, the key 10 is closed, the key 9 is turned off. And the device operates as in the case of arrival of negative frequency increment pulses. If, after an odd pulse of a negative frequency increase, a positive increment pulse arrives, the key 7, the code-to-frequency converter 17 operates, is reset, the trigger 3 is set, the trigger 5 is reset, the switch 6 is activated and then the device operates similarly to the arrival of a pulse of positive increment. The use of elements in the converter (three triggers, two delay elements, five keys and two OR elements) allows one to learn the sign of the frequency to be converted. This method of conversion is necessary when the LIBM jointly works with frequent sensors, the output value of which is represented in the form of two streams, depending on the sign of the measured value. To implement this type of transformation, it is necessary to use two converters similar to the prototype. Consequently, the use of the proposed transducers in the construction of a control system makes it possible to double the number of frequency-code transducers for receiving information from sensors with ternary coding. Claims of frequency converter in code, A generator, the output of which through: the first key is connected to the summing input of the counter, is directly connected to the clock input of the code-frequency converter and through the second key to the information input of the code-frequency converter, the output of which is connected to the second input of the first through the time converter key, characterized in that, in order to extend the functionality, it additionally introduces a delay element, five keys, two OR elements and three flip-flops, the output of the first of which is connected to With the first and second keys and through the first delay element with the reset input of the second trigger, to the counting input of which the reset input of the third trigger is connected, the output of the second Tpfnrepa is connected to the inputs of the third and fourth additional keys and through the second delay element with the reset input of the first trigger, to the counting input of which is connected to the direct input, the third trigger, the direct output of which is connected to the second inputs of the first and fourth additional keys and the third input of the first main key, and Ш1- The digital output is connected to the second inputs of the second and third keys and to the first input of the fifth additional key, to the second input of which the generator output is connected, while the output of the time slot generator is connected to the input of the first OR element and the third input of the fifth additional key, whose output connected to the subtracting input of the counter, the outputs of the first and third additional keys through the second element OR are connected to the second input of the second key, and the outputs of the second to the fourth additional keys through the first the OR element is connected to the code-frequency converter reset input. Sources of information taken into account during the examination 1. USSR author's certificate No. 372684, cl. H 03 K 13 / 2O, 1973. 2.Авторское свидетельство СССР № 705674, кл. Н 03 К 13/20, 1979.2. USSR author's certificate number 705674, cl. H 03 K 13/20, 1979.
SU802996445A 1980-10-24 1980-10-24 Frequency-to-code converter SU924859A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU802996445A SU924859A1 (en) 1980-10-24 1980-10-24 Frequency-to-code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU802996445A SU924859A1 (en) 1980-10-24 1980-10-24 Frequency-to-code converter

Publications (1)

Publication Number Publication Date
SU924859A1 true SU924859A1 (en) 1982-04-30

Family

ID=20923165

Family Applications (1)

Application Number Title Priority Date Filing Date
SU802996445A SU924859A1 (en) 1980-10-24 1980-10-24 Frequency-to-code converter

Country Status (1)

Country Link
SU (1) SU924859A1 (en)

Similar Documents

Publication Publication Date Title
SU924859A1 (en) Frequency-to-code converter
SU1381419A1 (en) Digital time interval counter
SU746397A1 (en) Time interval meter
SU748271A1 (en) Digital frequency meter
SU1157519A1 (en) Time interval-to-number converter
SU1105913A1 (en) Device for calculating partial derivative
SU705360A1 (en) Digital central frequency meter
SU902249A1 (en) Time interval-to-digital code converter
SU1056190A1 (en) Device for determining difference of two numbers
SU892712A1 (en) Device for converting pulse trains into time intervals
SU746912A1 (en) Digital differential time-pulse modulator
SU917172A1 (en) Digital meter of time intervals
SU744948A1 (en) Pulse delay device
SU907457A1 (en) Device for comparing frequencies
SU382023A1 (en) DEVICE FOR MEASURING DISTORTIONS OF PULSES
SU1124285A1 (en) Random arrival generator
SU1275314A2 (en) Digital frequency meter
SU782153A1 (en) Analogue-digital converter
SU1309049A1 (en) Device for differentiating pulse-frequency signals
SU1247773A1 (en) Device for measuring frequency
SU1195278A1 (en) Digital phase-meter
SU771619A1 (en) Device for tolerance testing
SU575771A2 (en) Voltage-to-code converter
SU900438A2 (en) Follow-up analogue-digital converter
SU938196A1 (en) Phase-shifting device