SU133681A1 - Device to convert decimal numbers to binary - Google Patents

Device to convert decimal numbers to binary

Info

Publication number
SU133681A1
SU133681A1 SU657130A SU657130A SU133681A1 SU 133681 A1 SU133681 A1 SU 133681A1 SU 657130 A SU657130 A SU 657130A SU 657130 A SU657130 A SU 657130A SU 133681 A1 SU133681 A1 SU 133681A1
Authority
SU
USSR - Soviet Union
Prior art keywords
binary
register
output
decimal
bit
Prior art date
Application number
SU657130A
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 SU657130A priority Critical patent/SU133681A1/en
Application granted granted Critical
Publication of SU133681A1 publication Critical patent/SU133681A1/en

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)

Description

Известны устройства дл  преобразовани  дес тичных чисел в двоичные , содержащие клавишную систему ручного ввода и дешифратор дес тичного кода в двоично-дес тичный.Devices are known for converting decimal numbers to binary ones, comprising a key-input system of manual input and a decrypter of a decimal code into a binary-decimal.

Предлагаемое устройство отличаетс  от известных тем, что оно состоит из генератора пачек сдвигаюш,их импульсов, т-разр дного выходного регистра (от -число необходимых двоичных разр дов), триггеров, предназначенных дл  осуществлени  фиксированных задержек, четырехразр дного регистра дл  фиксации двоично-дес тичного кода и двух сумматоров Последовательного действи . Выход четырехразр дного регистра соединен с одним из входов первого сумматора, второй вход которого соединен через триггеры задержки с выходом второго сумматора, а входы последнего соединены с первым и третьим разр дами т-разр дного выходного регистра. Последний разр д выходного регистра подключен к выходу первого сумматора. Выход генератора пачек импульсов соединен со сдвиговыми входами триггеров и регистров. Выполненное таким образом устройство позвол ет значительно уменьшить количество потребного оборудовани  сравнительно с известными устройствами того же назначени .The proposed device differs from the known ones in that it consists of a generator of shift bursts, their pulses, a t-bit output register (from the number of necessary binary bits), triggers designed to implement fixed delays, a four-bit register for fixing the binary-dec a valid code and two consecutive adders. The output of the four-bit register is connected to one of the inputs of the first adder, the second input of which is connected via delay triggers to the output of the second adder, and the inputs of the latter are connected to the first and third bits of the t-bit output register. The last bit of the output register is connected to the output of the first adder. The generator output of the pulse bursts is connected to the shift inputs of the triggers and registers. A device made in this way can significantly reduce the amount of equipment required compared with known devices of the same purpose.

Функциональна  схема описываемого устройства приведена на чертежеИзвестно , что любое дес тичное га-разр дное число может быть представлено в видеThe functional diagram of the described device is shown in the drawing. It is known that any decimal g-digit number can be represented as

Л р„-10 -1 .10- + . . . +р2-10 +рг10,L p „-10 -1 .10- +. . . + p2-10 + pr10,

где п - число дес тичных разр дов (1, 2 . . .),where n is the number of decimal digits (1, 2...),

р„ - значение старшего разр да дес тичного числа, которое может принимать значени  от О ...pn is the value of the higher digit of the decimal number, which can take values from O ...

№ 133681-2 -No. 133681-2 -

Это же дес тичное число может быть представлено в несколько измененном видеThe same decimal number can be represented in a slightly modified form.

V { ... (р„.10+р„ 1)-10+р„,1. 10+ ... +Р2 10+р,,V {... (p „. 10 + p„ 1) -10 + p „, 1. 10+ ... + P2 10 + p ,,

Обозначим величину в однородных скобках через Ui, а результат ее умножени  на 10 через v i.Denote the value in homogeneous brackets by Ui, and the result of multiplying it by 10 by v i.

При работе устройства имеет место, однозначное преобразование числа из дес тичной системы счислени  в двоичный эквивалент в соответствии с рекуррентными соотношени миWhen the device operates, there is a one-to-one conversion of the number from the decimal number system to the binary equivalent in accordance with the recurrence relations

и, У(, 4-/ „-;+ь V, (Ut + Ur2)2, где УО ООкончательный результат преобразовани and, U (, 4- / "-; + V, (Ut + Ur2) 2, where EO OO is the final result of the transformation

п «-1+Рьn «-1 + Рь

где величина «„ соответствует значению преобразуемого числа.where the value "" corresponds to the value of the number to be converted.

Отметим, что умножение величины на степень двойки означает сдвиг ее на соответствующее число разр дов.Note that multiplying a quantity by a power of two means shifting it by the corresponding number of bits.

Работа предлагаемого устройства происходит следующим образом.The operation of the proposed device is as follows.

Информаци  последовательно набираетс  на клавишной системе ручиого ввода /, начина  со старшего разр да. Все дес ть клавиш (О, 1, 2, . ... 9) системы ручного ввода имеют две пары контактов. Перва  пара нормально разомкнутых контактов 10 служит дл  установки кода вводимого числа через дешифратор 11 дес тичного кода в двоично-дес тичный на четырехразр дном, регистре 12 со сдвигом. Втора  пара нормально замкнутых KOiHTaKTOB 13 всех клавиш служит дл  управлени  генератором 14 пачек импульсов.The information is sequentially typed on the keypad system of the manual input /, starting from the highest bit. All ten keys (О, 1, 2,. ... 9) of the manual entry system have two pairs of contacts. The first pair of normally open contacts 10 serves to set the code of the input number through the decryptor 11 of the decimal code to binary and decimal on the four-bit, register 12 with a shift. A second pair of normally closed KOiHTaKTOB 13 all keys serves to control the generator 14 bursts of pulses.

Допустим, необходимо преобразовать в двоичный код дес тичное число 594. Первой нажимаетс  клавиша 5. При этом замыкаетс  нормально разомкнутый контакт этой клавиши и через соответствующие цепи дешифратора 11 происходит установка кода 0101 на четырехразр дном регистре 12 со сдвигом. Установление триггеров этого регистра в положение «/ осуществл етс  замыканием соответствующих коллекторных цепей триггеров через дешифратор и нормально разомкнутыеконтакты клавиши на «землю - При отпускании клавиши5 замыкаетс  ее нормально замкнутый контакт, который устанавливает триггер 15 управлени  в положение «/ и, тем самым, через дифференцирующую цепочку 16 запускает ждущий мультивибратор генератора 14 пачек импульсов . Генератор выдает необходимое число сдвиговых импульсов. Число последних равно разр дности выходного регистра //. Сдвиговые импульсы подаютс  на сдвиговые входы 17 четырехразр дного регистра со сдвигом двоично-дес тичного кода, двух последовательных сумматоров /// и IV, т-разр дного выходного регистра (т - количество разр дов преобразуемого числа) и промежуточных триггеров 18 и 19, необходимых дл  осуществлени  фиксированных задержек.Suppose a decimal number 594 needs to be converted into a binary code. The first key is pressed 5. This closes the normally open contact of this key and sets the code 0101 to the four-bit register 12 through the corresponding circuits of the decoder 11 with a shift. The flip-flops of this register are set to the "/" position by closing the corresponding collector circuits of the flip-flops via the decoder and normally open key contacts to the "ground" When the key 5 is released, its normally closed contact closes, which sets the control trigger 15 to the position / and, thus, through the differentiating the chain 16 starts the waiting multivibrator generator 14 packets of pulses. The generator produces the required number of shift pulses. The number of the latter is equal to the output register size //. The shift pulses are fed to the shift inputs 17 of the four-bit register with the shift of the binary-decimal code, two successive adders /// and IV, t-bit output register (t is the number of digits of the number to be converted) and intermediate triggers 18 and 19 required for fixed delays.

Дес тично-двоичное число с четырехразр дного регистра проходит, начина  с младших разр дов, через сумматор///на старший разр дит) выходного сдвигающего регистра. Сумматор /// производит последовательное суммированиеThe binary-binary number from the four-bit register passes, starting with the least significant bits, through the adder /// to the highest bit) of the output shift register. Adder /// performs sequential summation

«г+1 -/+Р„-/В данном случае Ui VQ+ рз . ,“G + 1 - / + P„ - / In this case, Ui VQ + pz. ,

Генератор пачек импульсов выдает т сдвигающих импульсов (например , 20), после чего в выходном регистре устанавливаетс  число в двоичном коде. Сумматор /V отрабатывает функцию Vf+ i (Ui + The pulse generator generates t shift pulses (e.g., 20), after which a binary number is set in the output register. The adder / V fulfills the function Vf + i (Ui +

Дл  этой цели с выходного регистра {с его первого и третьего разр дов) двоична  информаци  поступает в сумматор IV. Дл  описываемого примера сумматор IV производит следующее суммирование двоичной информации .For this purpose, from the output register (from its first and third bits) binary information enters the adder IV. For the example described, adder IV performs the following summation of binary information.

i;i («1 + ы,.22) 5 + 5-22 25- Триггер 20 служит дл  осуществлени  сдвига числа на один разр д и получени  равенства -У f/ -2 50.i; i ("1 + s, .22) 5 + 5-22 25- Trigger 20 serves to shift the number by one bit and to get the equality -f / -250.

Итак, после выдачи генератором М первой пачки в 20 импульсов на выходном регистре установилс  код О . 00101, а в промежуточных триггерах 18, 19, 20-010. Затем вводитс  цифра т-1-го разр да вводимого числа, в данном случае 9. Дл  этого нажимаетс  клавиша Р и в четырехразр дном регистре устанавливаетс  код 1001. При отпускании клавиши запускаетс  генератор 14 пачек импульсов и производитс  суммирование в сумматорах /// и iV.So, after the first burst of 20 pulses were issued by the generator M, the code O was set on the output register. 00101, and in intermediate triggers 18, 19, 20-010. Then the digit of the t-1st digit of the input number is entered, in this case 9. To do this, press the P key and enter the code 1001 in the four-bit register. When you release the key, the generator of 14 bursts is started and summation is performed in the adders /// and iV .

В сумматоре IV производитс  сложение следующей информацииAdder IV adds the following information.

Эта информаци , складыва сь с кодом 1001, образует на выходе сумматора /// суммуThis information, combined with the code 1001, forms the sum at the output of the adder.

котора  соответствует дес тичному значению 59.which corresponds to the decimal value of 59.

В период следовани  второй пачки импульсов оп ть производитс  подготовка к следующему этапу ввода, т- е. содержимое двух младших разр дов выходного регистра записываетс  в промежуточных триггерах 18 и 20.In the period following the second burst of pulses, preparations are made for the next step of the input, i.e. the contents of the two lower bits of the output register are written in intermediate triggers 18 and 20.

Таким образом, схема подготовлена дл  выполнени  равенстваThus, the circuit is prepared to perform equality

02 {а2+«2- 22). 2 (59+ 59-22). 2 590.02 {a2 + “2-22). 2 (59+ 59-22). 2 590.

Последним вводитс  значение младшего разр да, в данном случае 4. При нажатии клавиши 4 в четырехразр дном регистре устанавливаетс  код 0100, который, складыва сь с суммой, полученной в сумматоре IV, образует двоичное представление дес тичного числа 594.-00 .... . . . 1001010010, которое после око нчани  следовани  пачки импульсов запишетс  в выходном регистре.The last entry is the low-order value, in this case 4. Pressing the 4 key in the four-bit register sets the code 0100, which, added to the sum received in adder IV, forms the binary representation of the decimal number 594.-00 ... . . . 1001010010, which after the eye of the next pulse train will be written in the output register.

Дл  ввода полученного двоичного числа в последующее устройство (например, в цифровую вычислительную машину) оператором нажимаетс  кнопка 21 ввода. При этом двоична  информаци  выдаетс  на выход 22 устройства, а выходной регистр, промежуточные триггеры, а также триггеры сумматоров /// -и IV устанавливаютс  в нулевое состо иие (шина 23). Четырехразр дный дес тично-двоичный регистр со сдвигом специальной установки в состо ние «О не требует, так как после прохождени  каждой пачки сдвиговых импульсов он автоматически очищаетс  от записанной в нем информации.To enter the received binary number into a subsequent device (for example, into a digital computer) the operator presses the input button 21. In this case, binary information is output to the device output 22, and the output register, intermediate triggers, as well as the triggers of the /// -and IV accumulators are set to zero (bus 23). The four-bit decimal-binary register with the shift of the special setting to the state "O" does not require, because after passing each pack of shift pulses it is automatically cleared of the information recorded in it.

Предмет изобретени Subject invention

Устройство дл  преобразовани  дес тичных чисел в двоичные, имеющее клавишную систему ручного ввода и дешифратор дес тичного кода в двоично-дес тичный, отличающеес  тем, что, с целью уменьщени  количества потребного оборудовани , оно содержит генератор пачекA device for converting decimal numbers into binary ones, having a key input system of manual input and a decrypter of a decimal code into a binary decimal, characterized in that, in order to reduce the amount of equipment required, it contains a generator of packs

-3-№133681-3- №133681

00- - .0101000 00- - -0001010 00- . -011001000- - .0101000 00- - -0001010 00-. -0110010

00- - .0110010 00- . -0001001 00- - -0111011 ,00- - .0110010 00-. -0001001 00- - -0111011,

сдвигающих импульсов, два сумматора, т-разр дный регистр (т-число необходимых двоичных разр дов), триггеры, служащие дл  задержки, и четырехразр дный регистр дл  фиксации двоично-дес тичного кода, выход которого соединен с одним из входов первого сумматора, второй вход которого соединен через триггеры задержки с выходом второго сумматора , входы которого соединены с первым и третьим разр дами /п-разр дного регистра, последний разр д которого подключен к выходу первого сумматора, а выход генератора пачек импульсов соединен со сдвиговыми входами триггеров и регистровshift pulses, two adders, a t-bit register (t is the number of necessary bits), triggers used for delay, and a four-bit register for fixing the binary-decimal code, the output of which is connected to one of the inputs of the first adder, the second the input of which is connected via delay delays with the output of the second adder, the inputs of which are connected to the first and third bits of the n-bit register, the last bit of which is connected to the output of the first adder, and the output of the generator of pulse bursts trigger and register inputs

2/2 /

17ffJ17ffJ

SU657130A 1960-02-29 1960-02-29 Device to convert decimal numbers to binary SU133681A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU657130A SU133681A1 (en) 1960-02-29 1960-02-29 Device to convert decimal numbers to binary

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU657130A SU133681A1 (en) 1960-02-29 1960-02-29 Device to convert decimal numbers to binary

Publications (1)

Publication Number Publication Date
SU133681A1 true SU133681A1 (en) 1960-11-30

Family

ID=48404674

Family Applications (1)

Application Number Title Priority Date Filing Date
SU657130A SU133681A1 (en) 1960-02-29 1960-02-29 Device to convert decimal numbers to binary

Country Status (1)

Country Link
SU (1) SU133681A1 (en)

Similar Documents

Publication Publication Date Title
GB716486A (en) Improvements in apparatus for electrically performing the mathematical operation of converting a number from one scale of notation into another
US4441095A (en) Code translator
GB796323A (en) Improvements relating to electronic digital calculating apparatus
SU133681A1 (en) Device to convert decimal numbers to binary
GB769726A (en) Improvements relating to digital calculating apparatus
US3564225A (en) Serial binary coded decimal converter
US3579267A (en) Decimal to binary conversion
GB867191A (en) Improvements in apparatus for converting data in a first number system to one in a different number system, and more particularly for binary to decimal conversion, and vice versa
SU140269A1 (en) A device for converting numbers from a binary number system to a binary-decimal
SU643870A1 (en) Parallel-action arithmetic device
SU1269271A1 (en) Binary code-to-residual class system code converter
SU717754A1 (en) Binary-decimal-to-binary number converter
SU367419A1 (en) DEVICE FOR INSTALLATION OF THE TENTIFIED KEYBOARD COMPUTING MACHINE
SU503234A1 (en) Binary to decimal number converter
SU913376A1 (en) Non-linear time probability converter
SU468236A1 (en) Code Conversion Device
SU152126A1 (en) A device for converting numbers from a binary number system to a binary-decimal
GB789166A (en) Improvements in or relating to electronic arithmetic units
SU572781A1 (en) Radix converter of binary-decimal numbers into binary numbers
SU744568A2 (en) Parallel accumulator
SU1448414A1 (en) Device for encoding block codes
Schorum et al. High speed binary to decimal conversion system Patent
SU723554A1 (en) Information input-output arrangement
SU491950A1 (en) Binary arithmetic unit
SU962942A1 (en) Device for multiplying in residual class system