SU1383505A1 - Converter of binary code to binary-coded decimal code of angular units - Google Patents

Converter of binary code to binary-coded decimal code of angular units Download PDF

Info

Publication number
SU1383505A1
SU1383505A1 SU864143419A SU4143419A SU1383505A1 SU 1383505 A1 SU1383505 A1 SU 1383505A1 SU 864143419 A SU864143419 A SU 864143419A SU 4143419 A SU4143419 A SU 4143419A SU 1383505 A1 SU1383505 A1 SU 1383505A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
input
binary
register
outputs
Prior art date
Application number
SU864143419A
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 SU864143419A priority Critical patent/SU1383505A1/en
Application granted granted Critical
Publication of SU1383505A1 publication Critical patent/SU1383505A1/en

Links

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

Изобретение относитс  к области автоматики и цифровой вычислительной техники и может быть использовано при построении след щих двоично-дес тичных преобразователей. Целью изобретени   вл етс  сокращение времени преобразовани . Поставленна  цель достигаетс  тем, что в преобразователь.The invention relates to the field of automation and digital computing and can be used in the construction of the following binary-decimal converters. The aim of the invention is to reduce the conversion time. The goal is achieved by the fact that the converter.

Description

ю J:3J: 3

J3J3

ff

9  9

llll

Э Uh

|-t| -t

1 г1 g

s "

(L

00 0000 00

со сд о сдfrom SD to SD

1515

16sixteen

DD

с|одержа1ций группу элементов ИСКЛЮЧАЮ- 11|ЕЕ ШШ 1, сумматор 2., регистр.3, с|хему сравнени  4, элементы И 5,6, э лемент ИЛИ 7, двоично-дес тичный ре- версивньш счетчик 9, дополнительноwith | observatcii group of elements EXCLUDE- 11 | EE ШШ 1, adder 2., register.3, with | comparison of 4, elements AND 5.6, element OR 7, binary-decimal forward counter 9, additionally

введены коммутатор 14, посто нное поминающее устройство 15, регистр последовательного приближени  16, счетчик 17, одновибратор 18, элемент И 19. 1 табл. 1 ил.a switch 14, a constant reference device 15, a sequential approximation register 16, a counter 17, a one-shot 18, an AND 19 element are introduced. 1 il.

i.1i.1

Изобретение относитс  к автомати- к|е и вычислительной технике и может б|ыть использовано в системах автоматического управлени , сбора информации, к|онтрол  производственных процессов д|п  визуальной оценки в угловых еди- посто нных и измен ющихс  угло- величин, представл емых в двоич- нЬм цифровом коде.The invention relates to automatic and computer technology and can be used in automatic control systems, information gathering, ontrol of production processes for visual evaluation in constant angular and variable angles represented by in binary digital code.

Целью изобретени   вл етс  сокра- прение времени готовно.сти преобразовател  к ,The aim of the invention is to save time ready.

На чертеже приведена блок-схема предлагаемого преобразовател .The drawing shows the block diagram of the proposed Converter.

Преобразователь содержит группу 1 э}лементбв ИСКЛЮЧАЮЩЕЕ ИЛИ, сумматор 2 р|егистр 3, схему 4 сравнени  кодов, э лементы И 5 и 6, элемент ИЛИ 7, эле- НЕ 8, двоично-дес тичный ревер- с1ивньй счетчик 9, вход 10 коНстанты йреобразовател , вход 11 сброса пре- о бразовател , тактовьй вход 12 пре- фразовател , информа11;ионньй вход 13 феобразовател , коммутатор 14, по- cJTOHHHoe запоминающее устройство 15, р егистр 16 -последовательного прибли- ени , счетчик 17, одновибратор 18, з-лемент И 19.The converter contains a group of 1 e} lementbv EXCLUSIVE OR, adder 2 p | register 3, circuit 4 comparison of codes, elements AND 5 and 6, element OR 7, element HE 8, binary-decimal reversive counter 9, input 10 conversion controller, input 11, reset of preamplifier, clock input 12 of transducer, information11; ionizer 13 input of transformer, switch 14, jToHHHoe storage device 15, register of 16 consecutive approximation, counter 17, one-oscillator 18, s-lemth and 19.

Дл  достижени  указанной цели в г(редлагаемом преобразователе исполь- дуетс  комбинированньй алгоритм получени  эквивалента входного кода, который начинаетс  п тактами последовательного приближени  (поразр дно, начина  со старшего разр да), а про- должаетс  след щим режимом работы до сравнени  кодов в схеме 4.To achieve this goal, in g (the proposed converter uses a combined algorithm for obtaining the equivalent input code, which begins with successive approximation steps (bitwise, starting with the highest bit), and continues with the following mode of operation before comparing the codes in circuit 4 .

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

Сигналом по входу .11 сброса, по- данным вследствие включени  питани  или независимо от этого, устанавлива- «;тс  в исходное состо ние регистр 3,The signal at the reset input .11, due to the power on or independently of this, is set-;; to the initial state, register 3,

а также двоично-дес тичный реверсив- ньм счетчик 9, регистр 16 последовательного приближени  и счетчик 17. Первый вслед за этим тактовый импульс с входа 12 тактовых импульсов проходит через элемент И 19, поскольку второй его вход подключен к инверсному выходу счетчика 17, наход щегос  в единичном состо нии. С выхода элемента И 19 тактовый импульс следует на тактовый вход регистра 16 последовательного приближени , на выходах которого устанавливаетс  код 01, . . 1, (см. таблицу), соответствующий первой половине полного угла. Этот код в качестве адреса поступает на посто нное запоминающее устройство 15, где записаны две группы слов: D - коды которых соответствуют двоично-дес тичному коду разр дности N угловой меры, Е - коды которых соответствуют двоичному коду разр дности N угловой меры. Код D из посто нно- .го запоминающего устройства через коммутатор 14 поступает на вход регистра 3, откуда импульсом с выхода элемента ИЛИ 7 перезаписываетс  на первый вход схемы 4 сравнени  и на вход сумматора 2. Выход сумматора 2 подключен к второму входу коммутатора 14, который при наличии единичного уровн  на выходе счетчика 17 отключает его от входа регистра 3.as well as a binary-decimal reversible counter 9, the sequential approximation register 16 and counter 17. The first clock pulse from the input of 12 clock pulses passes through the AND 19 element, since its second input is connected to the inverted output of the counter 17, which is in a single state. From the output of the AND element 19, a clock pulse follows the clock input of the register 16 of successive approximation, the outputs of which are set to code 01,. . 1, (see table), corresponding to the first half of the full angle. This code as an address goes to the permanent storage device 15, where two groups of words are written: D - codes of which correspond to the binary-decimal code of the N size of the angular measure, E - codes of which correspond to the binary code of the N of the angular measure. The code D from the read-only memory through the switch 14 is fed to the input of register 3, from where it is transferred by a pulse from the output of the OR element 7 to the first input of the comparison circuit 4 and to the input of the adder 2. The output of the adder 2 is connected to the second input of the switch 14, which in the presence of a single level at the output of the counter 17, disconnects it from the input of the register 3.

В таблице приведены переходы регистра прследовательного приближени .The table shows the transitions of the register of the approximate approximation.

На втором выходе схемы 4 сравнени  вырабатываетс  единичньй сигнал, если код на входе 13 больше кода D, и нулевой, если код на входе 13 меньше кода D. Сигнал сравнени  записываетс  в старший разр д регистра 16 последовательного приближени  по приходу на его тактовый вход второго тактового импульса (см. табллцу). По второму тактовому .импульсу с входа 12, аналогично описанному, происходит определение квадранта, в котором находитс  угол, эквйвалеЕТТный входному коду. При этом в регистре 16 формируетс  два равр да кода D.At the second output of the comparison circuit 4, a single signal is generated if the code at input 13 is greater than code D, and zero if the code at input 13 is less than code D. The comparison signal is written to the high-order register 16 of the sequential approximation as it arrives at its second clock input pulse (see tabltsu). On the second clock pulse from input 12, similarly to that described, a quadrant is determined, in which there is an angle equivalent to the ELECTRONIC code. In this case, in the register 16, two equalities of the D code are formed.

По третьему, четвертому и т.д. импульсам определ ютс  октант, шестнадцата  и т.д. части полного угла, в которых находитс  значение определ емого .угла. При этом на выходах D и Е посто нного запоминающего устройства 15 формируютс  коды, хран щиес  по адресам, соответствующим указанньм дол м полного угла в две- ичном и двоично-дес тичном кодах.On the third, fourth, etc. pulses are determined by octant, sixteen, etc. the parts of the total angle in which the value of the definable angle is located. At the same time, at the outputs D and E of the permanent storage device 15, codes are stored that are stored at addresses corresponding to the specified full angle parts in binary and binary-decimal codes.

Практически нет необходимости. в количестве разр дов, определ емых последовательньм приближением, большим четырех, поэтому целесообразно дл  управлени  переходом к след щему режиму работы воспользоватьс  выходом третьего разр да Q счетчика 17. По приходу с тактового входа 12 п того тактового импульса на выходе счетчика 17 формируетс  нулевой сигнал и элемент И 19 закрываетс . По нулевому уровню на выходе счетчика 17 коммутатор 14 отключает от входа регистра 3 выход D посто нного запоминающего устройства 15 и подключает выход сумматора 2 к входу регистра 3,Virtually no need. in the number of bits determined by a sequential approximation larger than four, it is therefore advisable to control the transition to the next mode of operation using the third bit output of the Q counter 17. Upon arrival from the clock input of the 12 fifth clock pulse, the zero signal is generated at the output of the counter 17 and Element And 19 is closed. On the zero level at the output of the counter 17, the switch 14 disconnects from the input of the register 3 the output D of the permanent storage device 15 and connects the output of the adder 2 to the input of the register 3,

По спаду логического уровн  на выходе счетчика 17 однови.братором 18 вырабатываетс  импульс, управл кнций записью двоично-дес тичного кода угловых единиц Е с выхода посто нного запоминающего устройства 15 в двоич но-дее тйчньм реверсивный счетчик 9 по его информационным входам.From the decay of the logic level at the output of the counter 17 by the one-sided 18, a pulse is generated that controls the recording of the binary-decimal code of the angular units E from the output of the permanent storage device 15 in a binary-to-nine reversible counter 9 on its information inputs.

Таким образом, блок-схема преобразовател  приходит в соответствие, необходимое дл  работы его в след ще режиме и, начина  с шестого тактовог импульса, преобразователь функционирует в полном соответствии с описанием его работы, приводимым дл  известного устройства, однако в пределах 1/6 части полного угла. ;Thus, the block diagram of the converter corresponds to that required for its operation in the following mode and, starting with the sixth clock pulse, the converter functions in full accordance with the description of its operation, given for the known device, but within 1/6 of the total angle. ;

Врем , необходимое дл  вхождени  преобразовател  в след щий режим в этом случав соответственно в 16 раз меньше, чем на полном угле.The time required for the converter to enter the next mode in this case is 16 times less, respectively, than at the full angle.

Claims (1)

Формула изобретени Invention Formula Преобразователь двоичного кода в двоично-дес тичный код.угловых еди0Binary code to binary decimal code converter 5five 00 5five 00 5five 00 5five 00 5five ниц, содержащий сумматор, pei-истр, схему сравнени , первый и второй элементы И, элемент ИЛИ, двоично-дес тичный реверсивный счетчик, элемент НЕ и группу элементов ИСКЛЮЧАРЦЕЕ Ш1И, первые входы элементов ИСЮ1ЮЧА10ЩЕЕ ИЛИ группы соединены с входом константы преобразовател , вторые входы соединены с выходом Больше схемы сравнени  и с входом переноса сумматора , первые входы которого соединены с выходами элементов ИСЮ1ЮЧАЮЩЕЕ ИЛИ группы,, вторые, входы сумматора соединены с выходами регистра и с первыми входами схемы сравнени , вторые входы которой соединены с информационным входом преобразовател , вход сброса которого соединен с входами сброса регистра и двоично-дес тичного реверсивного счетчика, выходы которого  вл ютс  выходами преобразовател , тактовьБ вход которого соединен с первыми входами первого и второго элементов И, вторые, входы которых соединены соответственно с выходами Меньше и Больше схемы сравнени , а третьи входы первого и второго элементов И через элемент НЕ подключены к входу сброса преобразовател , вько- ды первого и второго элементов И соединены соответственно с входами инкремента и декремента двоично-дес тичного реверсивного счетчика и к первому и второму входам первого элемента ИЛИ, выход которого соединен с входом записи регистра, отличающийс  тем, что, с целью сокращени  времени преобразов а.ни , в него введены коммутатор, посто нное запоминающее устройство, одновибра- тор, счетчик, третий элемент И и регистр последовательного прибл11жени , тактовый вход которого соединен с выходом третьего элемента И и с синхро- входом счетчика, выход которого соединен с первым входом третьего элемента И, с управл ющим входом коммутатора и через одновибратор с входом записи двоично-дес тичного реверсивного счетчика, информационные входы которого подключены к группе выходов двоично-дес тичного кода посто нного запоминающего устройства, группа выходов двоичного кода которого соединена с первой группой входов коммутатора , втора  группа входов которого соединена с выходами сумматора, а выходы коммутатора соединены с инфор5 13835056a block containing an adder, a pei-ister, a comparison circuit, the first and second elements AND, the element OR, a binary-decimal reversible counter, the element NOT and a group of elements EXCLUSIVE STI, the first inputs of the elements of the ULTR1 OR of the group are connected to the input of the constant constant, the second inputs connected to the output of the More comparison circuit and to the transfer input of the adder, the first inputs of which are connected to the outputs of the elements of the ULTIMATE OR group, the second, the inputs of the adder are connected to the outputs of the register and the first inputs of the comparison circuit, the second inputs to The second is connected to the information input of the converter, the reset input of which is connected to the reset inputs of the register and the binary-decimal reversible counter, the outputs of which are the outputs of the converter, the clock input B of which is connected to the first inputs of the first and second elements I, the second inputs of which are connected respectively to Smaller and More outputs of the comparison circuit, and the third inputs of the first and second elements AND are NOT connected to the reset input of the converter, the inputs of the first and second elements AND are connected respectively, with the increment and decrement inputs of the binary-decimal reversible counter and the first and second inputs of the first OR element, the output of which is connected to the register entry input, characterized in that, in order to reduce the conversion time A.i. This storage device, a single-oscillator, a counter, a third And element and a sequential approximation register, the clock input of which is connected to the output of the third And element and to the synchronous input of the counter, the output of which is connected to the first input And, with the control input of the switch and through the one-shot with the input of the record of the binary-decimal reversible counter, the information inputs of which are connected to the output group of the binary-decimal code of the persistent storage device whose output group of the binary code is connected to the first group of inputs of the switch , the second group of inputs of which is connected to the outputs of the adder, and the outputs of the switch are connected to information 5 13835056 мационными входами регистра, адресныенени , вход сброса регистра последойходы посто нного запоминающего уст-нательного приближени  соединен сregister inputs, the address, the reset input of the register of post-runs of the permanent memory approximation is connected to ройства соединены с выходами регист-входом сброса преобразовател  и последовательного приближени ,г дом сброса счетчика, тактовый йходThe probes are connected to the outputs of the register input of the converter reset and successive approximation, where the counter is reset, the clock input информационньш вход которого соеди-преобразовател  соединен с вторымthe information input of which the transducer is connected to the second нен с выходом Больше схемы срав-входом третьего элемента И.Not with the output of More circuits with the input of the third element I.
SU864143419A 1986-10-31 1986-10-31 Converter of binary code to binary-coded decimal code of angular units SU1383505A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864143419A SU1383505A1 (en) 1986-10-31 1986-10-31 Converter of binary code to binary-coded decimal code of angular units

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864143419A SU1383505A1 (en) 1986-10-31 1986-10-31 Converter of binary code to binary-coded decimal code of angular units

Publications (1)

Publication Number Publication Date
SU1383505A1 true SU1383505A1 (en) 1988-03-23

Family

ID=21266101

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864143419A SU1383505A1 (en) 1986-10-31 1986-10-31 Converter of binary code to binary-coded decimal code of angular units

Country Status (1)

Country Link
SU (1) SU1383505A1 (en)

Non-Patent Citations (1)

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

Similar Documents

Publication Publication Date Title
US3665417A (en) Flexible computer accessed telemetry
JPS6266322A (en) Data bus buffer control circuit
SU1383505A1 (en) Converter of binary code to binary-coded decimal code of angular units
US5410312A (en) Digital/analog conversion device with two switched latches for simultaneous D/A conversion
RU1784963C (en) Code translator from gray to parallel binary one
US4683545A (en) Speed determining process and a device for implementing same
SU1266008A1 (en) Converter of binary code to binary-coded decimal code of angular units
SU1383321A1 (en) Smooth periodic function generator
SU1387198A1 (en) Shaft rotation angle-to-code converter
SU1275425A1 (en) Device for converting binary code to binary-coded decimal code
SU1208607A1 (en) Binary code converter
SU1149243A1 (en) Reversible binary code-to-binary coded decimal code translator
SU1387004A2 (en) N-sensors-to-computer interface
SU1548799A1 (en) Device for conversion of brightness histograms
SU1126964A1 (en) Device for organizing queue
SU1102031A1 (en) Analog-to-digital servo converter
SU1064458A1 (en) Code/pdm converter
SU1695290A1 (en) Data sorting device
SU1285465A1 (en) Function generator
SU1270900A1 (en) Device for converting serial code to parallel code
JPS6012181Y2 (en) analog data input device
SU1302437A1 (en) Device for converting parallel code to serial code
SU658556A1 (en) Gray code-to -binary code converter
SU1187273A1 (en) Angle-to-digital converter
SU993245A1 (en) Series binary code-to-unit counting code converter