SU1305869A1 - Binary code-to-binary-coded decimal code converter - Google Patents

Binary code-to-binary-coded decimal code converter Download PDF

Info

Publication number
SU1305869A1
SU1305869A1 SU853995428A SU3995428A SU1305869A1 SU 1305869 A1 SU1305869 A1 SU 1305869A1 SU 853995428 A SU853995428 A SU 853995428A SU 3995428 A SU3995428 A SU 3995428A SU 1305869 A1 SU1305869 A1 SU 1305869A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
binary
converter
elements
Prior art date
Application number
SU853995428A
Other languages
Russian (ru)
Inventor
Борис Александрович Кудряшов
Алексей Борисович Шишков
Original Assignee
Предприятие П/Я Г-4421
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 Предприятие П/Я Г-4421 filed Critical Предприятие П/Я Г-4421
Priority to SU853995428A priority Critical patent/SU1305869A1/en
Application granted granted Critical
Publication of SU1305869A1 publication Critical patent/SU1305869A1/en

Links

Abstract

Изобретение касаетс  автоматики и вычислительной техники и может быть использовано при построении преобразователей в измерительных и управл ющих системах. Цель изобретени  - расширение класса решаемых задач за счет возможности получени  двоично-дес тичного кода угловых единиц в диапазоне ±180° и повышение быстродействи . Поставленна  цель достигаетс  тем, что в преобразователь , содержащий генератор импульсов 1, сумматор 6, регистр 7, дешифратор 5, двоичный счетчик 3, двоично-дес тичный счетчик 10 и два элемента И 2 и 9, введены элементы НЕ 12 и 13, элементы И 14 и 15, элементы ЗИ 16 и 17 с соответствующими св з ми. 1 йл. о ел 00 О5 со ПThe invention relates to automation and computing and can be used in the construction of transducers in measuring and control systems. The purpose of the invention is to expand the class of tasks to be accomplished due to the possibility of obtaining a binary-decimal code of angular units in the range of ± 180 ° & and speeding up. The goal is achieved by the fact that the elements NOT 12 and 13, the elements AND, and the elements II are entered into the converter containing the pulse generator 1, the adder 6, the register 7, the decoder 5, the binary counter 3, the binary-decimal counter 10 and two elements 2 and 9. 14 and 15, elements ZI 16 and 17 with corresponding connections. 1 yl. about ate 00 O5 with P

Description

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано при построении преобразователей в измерительных и управл ющих системах.The invention relates to automation and computing and can be used in the construction of transducers in measuring and control systems.

Целью изобретени   вл етс  расширение класса решаемых задач за, счет возможности получени  двоично-дес тичного кода угловых единиц в диапазонеThe aim of the invention is to expand the class of tasks to be solved by the possibility of obtaining a binary-decimal code of angular units in the range

Расширение функ1;,иональных возможностей достигаетс  за счет того, что при необходимости получени  на выходе преобразовател  двоично-дес тичного кода угловых единиц, в диапазоне ±180° двоичный счетчик в диапазоне 0-180° (старший разр д двоичного кода угла о ) работает на вычитание, а в диапазоне О - минус 180 (,NThe expansion of the function; 1; ionic possibilities is achieved due to the fact that, if necessary, at the output of the converter of the binary-decimal code of angular units, in the range of ± 180 °, a binary counter in the range of 0-180 ° (the highest bit of the binary code of the angle o) runs on subtraction, and in the range of O - minus 180 (, N

+180° и повышение его быстродействи , на сложение. При этом на выходе двоНа чертеже показана функциональна  схема предлагаемого преобразовател , Преобразователь содержит генератор 1 импульсов, элемент И 2, двоичный счетчик 3, информационный вход 4, дешифратор 5, сумматор 6, регистр 7, вход В задани  константы, элемент И 9, двоично-дес тичный счетчик 10 (угловых единиц), выход 11, элементы НЕ 12 и 13, элемент И 14 и 15, элементы ЗИ 20 ,16 и 17, элемент ИЛИ 18, вход 19 выбора режима и знаковый выход 20,+ 180 ° and increase its speed, on addition. In this case, the binary output of the drawing shows the functional diagram of the proposed converter, the converter contains a pulse generator 1, element 2, binary counter 3, information input 4, decoder 5, adder 6, register 7, input b of a given constant, element 9, binary decimal counter 10 (angle units), output 11, elements NOT 12 and 13, element AND 14 and 15, elements ZI 20, 16 and 17, element OR 18, mode selection input 19 and sign output 20,

Генератор 1 импульсов вырабатываетPulse generator 1 generates

непрерывную последовательность импулсов , котора  пропускаетс  элементом И 2 на первые входы элемента И 14, элементов ЗИ 16 и 17, второй вход элемента И 9 и тактовый вход регистр 7 до тех пор, пока дешифратор 5 не вы вит нулевое состо ние счетчика 3, Замкнутые в кольцо сумматор 6 и регистр 7 представл ют собой накапли,- вающий сумматор, который на калздый тактовый импульс добавл ет к записанному в регистре 8 числу константу С, сформированную на входе 8, Единичный сигнал, возникающий на выходе переполнени  сумматора 6, разрешает прохождение импульсов через элемент И 9 на счетный вход суммирующего двоично-дес тичного счетчика Ю. Счечик 10 состоит из декад и секстад, а его структура определ етс  видом угловых единиц на выходе 11,a continuous sequence of pulses, which is passed by the AND 2 element to the first inputs of the AND 14 element, the ZI elements 16 and 17, the second input of the AND 9 element and the clock input register 7 until the decoder 5 detects the zero state of the counter 3, closed in the ring adder 6 and the register 7 are incandescent, - a wow adder, which for a clock pulse adds a constant C to the number written in register 8, formed at the input 8, the single signal that occurs at the overflow output of the adder 6 permits the passage of a pulse in via the AND gate 9 to the count input of summing the binary coded decimal counter Yu Schechik 10 consists of decades and sekstad, and its structure is determined by the angular units in the view of exit 11,

При единичном значении сигнала на входе 19 выбора режима импульсы с выхода элемента И 2 проход т через элемент И 14 и элемент ИЛИ 18 на вычитающий вход двоичного счетчика 3, При нулевом значении сигнала на входе 19 импульсы с выхода элемента И 2 проход т либо на вычитающий вход счетчика 3 (через элемент ЗИ 16 и элемент ИЛИ 18 при нулевом значении сигнала на входе инвертора 13), либо на суммирующий вход счетчика 3 (через элемент ЗИ 17 при единичном значении сигнала на входе инвертора 13)With a single value of the signal at the input mode selection input 19, the pulses from the output of the element AND 2 pass through the element 14 and the element OR 18 to the subtractive input of the binary counter 3, When the signal at input 19 is zero, the pulses from the output of the element 2 pass either to the subtracting the input of counter 3 (through the element ZI 16 and the element OR 18 with a zero value of the signal at the input of the inverter 13), or to the summing input of the counter 3 (through the element ZI 17 with a single value of the signal at the input of the inverter 13)

Расширение функ1;,иональных возможностей достигаетс  за счет того, что при необходимости получени  на выходе преобразовател  двоично-дес тичного кода угловых единиц, в диапазоне ±180° двоичный счетчик в диапазоне 0-180° (старший разр д двоичного кода угла о ) работает на вычитание, а в диапазоне О - минус 180 (,NThe expansion of the function; 1; ionic possibilities is achieved due to the fact that, if necessary, at the output of the converter of the binary-decimal code of angular units, in the range of ± 180 °, a binary counter in the range of 0-180 ° (the highest bit of the binary code of the angle o) runs on subtraction, and in the range of O - minus 180 (, N

0 0

5five

00

5five

00

5five

ично-дес тичного счетчика формируетс  код угловых единиц в пределах 0-180, а знак кода определ етс  значением старшего разр да N двоичного кода угла. Одновременно с этим уменьшаетс  максимальное число рабочих тактов преобразовател , что повышаем его быстродействие.an analog-decimal counter forms the code of angular units within 0-180, and the code's sign is determined by the value of the high bit N of the binary angle code. At the same time, the maximum number of operating cycles of the converter is reduced, which increases its speed.

Преобразователь работает следующим образом.The Converter operates as follows.

В начале цикла преобразовани  в двоичный счетчик 3 записываетс  преобразуемое число N в дополнительном коде, поступающее по входу 4, и производитс  обнуление регистра 7 и двоично-дес тичного счетчика 10. После записи в двоичный счетчик 3 числа N дешифратор 5 разрешает прохождение импульсов генератора 1 через элемент И 2, Эти импульсы поступают на тактовый вход регистра 7 и второй вход элемента И 9 независимо от значени  сигнала на входе 19 выбора режима. При единичном значении сигнала на входе 19 и1- 1пульсы генератора 1 проход т на вычитающий вход двоичного счетчика 3, уменьша  записанное в него число. После: прохождени  N-ro импульса двоичный счетчик 3 переходит в нулевое х:осто ние и дешифратор 5 запрещает дальнейшее прохождение , импульсов через э,демент И 2.At the beginning of the conversion cycle, binary number 3 is written, the converted number N in the additional code arriving at input 4, and the register 7 and the binary-decimal counter 10 are reset. After writing to the binary number 3, the N decoder 5 permits the generator 1 pulses to pass through element 2, These pulses arrive at the clock input of the register 7 and the second input of the element 9, regardless of the value of the signal at the input 19 of the mode selection. With a single value of the signal at input 19 and 1-1, the pulses of generator 1 are passed to the subtracting input of binary counter 3, reducing the number written to it. After: the passage of the N-ro pulse, the binary counter 3 goes to zero x: the stop and the decoder 5 prohibits the further passage of the pulses through e, dement And 2.

Число импульсов К, прошедших через элемент И 9 на вход двоично-дес тичного счетчика 1 Отравно числу тактов , в которых на выходе переполнени  сумматора 6 возникает единичный си1 налThe number of pulses K that have passed through the element I 9 to the input of the binary-decimal counter 1 is relative to the number of cycles in which a single value is generated at the output of the overflow of the adder 6

5050

К К с/2 - Д/2 K s / 2 - D / 2

(1)(one)

где mwhere m

Д D

число дво,ичных разр дов сумматора 6 ,и регистра 7; число, записанное в регистре 7 после: N-ro такта.the number of duplicates, the bit bits of the adder 6, and register 7; the number recorded in register 7 after: N-ro tact.

Дл  того, чтобы преобразователь не имел набег 1ющей ошибки, значение константы .С выбираетс  из услови In order for the converter to not have an incident error, the value of the constant. C is selected from the condition

3130586931305869

значени  4 при максимальном преобразуемог о углаvalue 4 at maximum convertible angle

че вх вх ( 2) геwhat the in in (2)

Q Q

Кп,2CP, 2

(т-п )(mn)

п - число разр дов двоичного счетчика 3;n is the number of bits of the binary counter 3;

число состо ний двоично-дес тичного счетчика 10.the number of states of the binary-decimal counter is 10.

тТаким образом, в конце цикла преобразовани , при единичном значении сигнала на входе 19, на выходе 11 формируетс  двоично-дес тичный код угловых единиц в диапазоне 0mThus, at the end of the conversion cycle, with a single value of the signal at input 19, a binary-decimal code of angular units in the range of 0m is generated at output 11

Максимальное число рабочих так 2 . Этот режим работы иденThe maximum number of workers so 2. This mode of operation is iden

ЗЬО. тов N тичен прототипу.Zo Comrade N is typical of the prototype.

При нулевом значении сигнала на входе 10 при импульсы генератора 1 проход т на вычитающий вход двоичного счетчика 3, а при N 1 на суммирующий вход, соответственно уменьша  или увеличива  записанное в него число. После прохождени  N-ro (N(, О) либо (2 - N)-ro (NO I) импульса счетчик 3 переходит в нулевое состо ние и дешифратор 5 запрещает дальнейшее прохождение импульсов через элемент И 2, При этом в KO це цикла преобразовани  на выходе 1 с учетом формул (1) и (2) формируетс  код угловых единиц в пределах 0-180, т.е. осуществл етс  преобразование дополнительного кода в пр мой . Знак кода определ етс  значением NJJ, проход щим через элемент И 15 на выход 20 преобразовател , а максимальное число рабочих тактов равноWhen the signal at input 10 is zero, the generator 1 pulses are passed to the subtracting input of binary counter 3, and when N 1 to the summing input, respectively, decreasing or increasing the number written to it. After passing the N-ro (N (, O) or (2 - N) -ro (NO I) pulse, the counter 3 goes to the zero state and the decoder 5 prohibits further passage of the pulses through the element 2, At the same time, in KO the conversion cycle Output 1, taking into account formulas (1) and (2), forms the code of angular units within 0-180, i.e., the additional code is converted into direct. The code sign is determined by the value NJJ passing through AND 15 on the output 20 of the Converter, and the maximum number of work cycles is equal to

Nm Nm

/2 . / 2.

О)ABOUT)

Claims (1)

Формула изобретени Invention Formula Преобразователь двоичного кода в двоично-дес тичный код, содержащий двоичный счетчик, информационный вход которого  вл етс  информационным входом преобразовател , а выходA binary-to-binary converter that contains a binary counter, whose information input is the information input of the converter, and the output Редактор А.ШандорEditor A. Shandor Составитель Б.Кудр шов Техред В .КадарCompiled by B. Kudr seam Tehred V. Kadar Заказ 1466/56 Тираж 902ПодписноеOrder 1466/56 Circulation 902 Subscription ВНИШИ Государственного комитета СССРVNISHI USSR State Committee по делам изобретений и открытий 113035, Москва, Ж-35, Раушска  наб., д.4/5for inventions and discoveries 113035, Moscow, Zh-35, Raushsk nab., 4/5 Производственно-полиграфическое предпри тие, г.Ужгород, ул.Проектна ,4 .Production and printing company, Uzhgorod, Projecto st., 4. - 20- 20 2525 JQ Jq д d через дешифратор подключен к первому входу первого элемента Н, второй вход которого соединен с выходом генератора импульсов, двоично-дес с тичный счетчик, выход которого  вл етс  выходом преобразовател , а вход соединен с выходом второго элемента И, первый и второй входы которого подключены к выходу перfO вого элемента И и выходу переполнени  сумматора соответственно, разр дный выход которого соединен с информационным входом регистра, тактовый вход и выход которого подt5 ключены к выходу первого элемента И и первому входу сумматора соответственно , второй вход которого соединен с входом задани  константы пребразо- вател , отличающийс  тем, что, с целью расширени  класса решаемых задач за счет возможности получени  двоично-дес тичного кода угловых единиц в диапазоне ±180 и повышени  его быстродействи , в преобразователь введены два элемента НЕ, третий и четвертый элементы И, два элемента ЗИ и элемент ИЛИ, причем первые входы третьего элемента И и первого и второго элементов ЗИ соединены с выходом первого элемента И, а их выходы подключены соответственно к первому, второму входам элемента ИЛИ и входу сложени  двоичного счетчика, вход вычитани  которого подключен к выходу элемента ИЛИ, вход выбора режима преобразовател  подключен непосредственно к второму входу третьего элемента И и через первый элемент НЕ - к вторым входам первого и второго элементов ЗИ и первому входу четвертого элемента И, второй вход которого объединен с третьим входом второго элемента ЗИ и подключен к информационному входуthrough the decoder is connected to the first input of the first element H, the second input of which is connected to the output of the pulse generator, a binary-dec with a primary counter, the output of which is the output of the converter, and the input connected to the output of the second element And, the first and second inputs of which are connected to the output The first AND element and the overflow output of the adder, respectively, the bit output of which is connected to the information input of the register, the clock input and the output of which are connected to the output of the first AND element and the first input of the accumulator correspondingly, the second input of which is connected to the input of the assignment of a constant of the diverter, characterized in that, in order to expand the class of the solved problems due to the possibility of obtaining a binary-decimal code of angular units in the range of ± 180 and increasing its speed, two elements are introduced into the converter NOT, the third and fourth elements are And, two elements of ZI and the element OR, and the first inputs of the third element And and the first and second elements of ZI are connected to the output of the first element And, and their outputs are connected respectively to the first, second the inputs of the OR element and the input of the binary counter, the input of the subtraction of which is connected to the output of the element OR, the input mode selector of the converter is connected directly to the second input of the third element AND and through the first element NOT to the second inputs of the first and second elements of the ZI and the first input of the fourth element AND whose second input is combined with the third input of the second ZI element and is connected to the information input 45 преобразовател , и через второй элемент НЕ к третьему входу первого элемента ЗИ, выход четвертого элемента И  вл етс  знаковым выходом преобразовател .45 of the transducer, and through the second element NOT to the third input of the first ZI element, the output of the fourth element I is the sign output of the converter. 3535 4040 Корректор Л.ПилипенкоProofreader L. Pilipenko
SU853995428A 1985-12-23 1985-12-23 Binary code-to-binary-coded decimal code converter SU1305869A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU853995428A SU1305869A1 (en) 1985-12-23 1985-12-23 Binary code-to-binary-coded decimal code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU853995428A SU1305869A1 (en) 1985-12-23 1985-12-23 Binary code-to-binary-coded decimal code converter

Publications (1)

Publication Number Publication Date
SU1305869A1 true SU1305869A1 (en) 1987-04-23

Family

ID=21211954

Family Applications (1)

Application Number Title Priority Date Filing Date
SU853995428A SU1305869A1 (en) 1985-12-23 1985-12-23 Binary code-to-binary-coded decimal code converter

Country Status (1)

Country Link
SU (1) SU1305869A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 297960, кл. Н 03 М 7/12, 1968. Авторское свидетельство СССР № 970354, кл. Н 03 М 7/12, 1980. *

Similar Documents

Publication Publication Date Title
SU1305869A1 (en) Binary code-to-binary-coded decimal code converter
US4206458A (en) Numerical display system for electronic instrument
SU1266008A1 (en) Converter of binary code to binary-coded decimal code of angular units
SU1363481A1 (en) Code converter
SU1187273A1 (en) Angle-to-digital converter
SU834889A1 (en) Code-to-frequency converter
SU1238030A1 (en) Reversible digital integrator
SU1352461A1 (en) Circular interpolator
SU1307383A2 (en) Device for measuring phase error signal
SU1297227A1 (en) Shaft angle-to-digital converter
SU1064458A1 (en) Code/pdm converter
SU919092A1 (en) Reversible circular counter
SU1312570A1 (en) Unit-counting function generator
SU1290295A1 (en) Device for calculating ordinal statistics of sequence of binary numbers
SU377840A1 (en) MULTIPLE ACCOUNT CONVERTING ANGLE-CODE
SU1285605A1 (en) Code converter
SU1636844A1 (en) Device for modulo addition and subtraction
SU1287287A1 (en) Shift-to-digital converter
SU534037A1 (en) Pulse counter
SU993470A2 (en) Code-to-pdm converter
SU1338064A1 (en) Linear counter
SU1352389A1 (en) Frequency signal deviation meter
SU1285596A1 (en) Device for automatic checking of shaft turn angle-to-digital converter
SU1049946A1 (en) Displacement digitizer
SU1261108A1 (en) Pulse repetition frequency divider with variable countdown