SU1305869A1 - Binary code-to-binary-coded decimal code converter - Google Patents
Binary code-to-binary-coded decimal code converter Download PDFInfo
- 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
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)
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) |
-
1985
- 1985-12-23 SU SU853995428A patent/SU1305869A1/en active
Non-Patent Citations (1)
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 |