SU1367163A1 - Binary serial code to unit-counting code converter - Google Patents

Binary serial code to unit-counting code converter Download PDF

Info

Publication number
SU1367163A1
SU1367163A1 SU864029671A SU4029671A SU1367163A1 SU 1367163 A1 SU1367163 A1 SU 1367163A1 SU 864029671 A SU864029671 A SU 864029671A SU 4029671 A SU4029671 A SU 4029671A SU 1367163 A1 SU1367163 A1 SU 1367163A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
counter
converter
code
Prior art date
Application number
SU864029671A
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 SU864029671A priority Critical patent/SU1367163A1/en
Application granted granted Critical
Publication of SU1367163A1 publication Critical patent/SU1367163A1/en

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

Изобретение относитс  к области автоматики и цифровой вычислительной техники и может быть использовано при построении устройств контрол  и управлени . Целью изобретени   вл етс  обеспечение возможности преобразовани  пр мого и дополнительного кодов и повьшение быстродействи . Поставленна  цель достигаетс  тем, что в преобразователь последовательного двоичного кода в число-импульсный код, содержащий генератор 3 импульсов , сдвиговый регистр 5, счетчик 7, дополнительно введены элемент И 1, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 2, элемент 4 задержки, элемент ИЛИ 6. 1 ил. S (ЛThe invention relates to the field of automation and digital computing and can be used in the construction of monitoring and control devices. The aim of the invention is to provide the possibility of converting forward and supplemental codes and increasing speed. The goal is achieved by the fact that a serial binary code to a pulse-pulse code containing a pulse generator 3, a shift register 5, a counter 7, the element AND 1, the element EXCLUSIVE OR 2, the element 4 delay, the element OR 6. 1 or . S (l

Description

0000

3i3i

(35 О9(35 O9

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано при построении аналого-цифровых преобразователей и, в частности, в устройствах контрол  и записи управл ющих программ дл  станков с ЧПУ.The invention relates to automation and computing and can be used in the construction of analog-to-digital converters and, in particular, in control devices and recording control programs for CNC machines.

Цель изобретени  - расширениеThe purpose of the invention is the expansion

да на выход преобразовател  прохо число импульсов, равное числовому эквиваленту входного числа. Импул переполнени  по установочному R-B 15 ДУ останавливает генератор 3 импу сов.yes the output of the converter passes a number of pulses equal to the numerical equivalent of the input number. The overflow impulse according to the installation R-B 15 remote control stops the generator 3 impulses.

Преобразование параллельного в число-импульсный код осуществл с  одновременно с приемом послед щей входной информации. The parallel-to-pulse-code conversion was carried out simultaneously with the reception of the subsequent input information.

2020

2525

класса решаемых задач за счет возмож- Q на выходе счетчика 7 по вл етс , ности преобразовани  как пр мого, так и дополнительного кодов, а также повышение быстродействи .the class of tasks to be solved, due to the possibility of Q at the output of counter 7, the transformation of both forward and additional codes, as well as an increase in speed, appear.

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

На чертеже прин ты следующие обозначени : элемент И 1, элемент 2 ИС- КЛО ШОЩЕЕ ИЖ, генератор 3 импульсов, элемент 4-задержки, сдвиговый регистр 5, элемент ИЛИ 6, счетчик 7, вход 8 знака, информационный вход 9, тактовый вход 10, выход 11 записи, выход 12 преобразовател .In the drawing, the following notation is accepted: element AND 1, element 2 of the IC-CLO SHOWTING IL, generator 3 pulses, element 4-delay, shift register 5, element OR 6, counter 7, input 8 characters, information input 9, clock input 10 , write output 11, converter output 12.

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

Перед началом работы преобразовател  генератор 3 импульсов устанавливаетс  в исходное состо ние по R- входу (соответствующа  цепь не указана ) . На информационный вход 9 поступает входной последовательньш дво- ичньй код, а на вход 8 знака - код знака. С выхода элемента 2 ИСКЛЮЧАЮЩЕЕ ИЛИ код поступает на информационный вход сдвигового регистра 5. Импульсы , приход щие по входу 10 на тактируемьш С-вход регистра 5, записывают входной код в регистр 5, причем положительное число записываетс  в регистр 5 в виде обратного кода, а отрицательное число - в виде дополнительного . Импульсом по входу 11 записи , который приходит после п-го тактового импульса на У-вход счетчика 7, код с Q-выходов сдвигового регистра 5 параллельно переписываетс  в счетчик 7, по входу запускаетс  генератор 3 импульсов и добавл етс  единица в счетчик 7 с помощью элемен30Before the converter starts operation, the 3-pulse generator is reset to its initial state via the R input (the corresponding circuit is not indicated). Information input 9 receives an input serial two-digit code, and input input 8 characters a character code. From the output of element 2, the EXCLUSIVE OR code goes to the information input of the shift register 5. The pulses arriving at input 10 to the clock C input of the register 5 write the input code to the register 5, the positive number being written to the register 5 as a reverse code, and negative number - in the form of additional. A pulse at the input 11 of the record, which arrives after the n-th clock pulse to the Y input of counter 7, the code from the Q outputs of the shift register 5 is parallelly rewritten to counter 7, the input starts the generator of 3 pulses and adds one to counter 7 element30

3535

4040

4545

Claims (1)

Формула изобретенFormula invented Преобразователь последователь двоичного кода в число-импульсный код, содержащий сдвиговый регистр счетчик, генератор импульсов, R-в которого соединен с выходом перен счетчика, а выход генератора импу сов  вл етс  выходом преобразоват тактовый вход которого соединен входом тактировани  сдвигового -ре гистра, отличающийс  что, с целью расширени  класса р шаемых задач за счет возможности образовани  как пр мого, так и до нительного кодов, а также повьш1ен быстродействи , в него введены эл мент ИСКЛЮЧАЮЩЕЕ ИЛИ, элемент И, мент задержки, элемент ИЛИ, выход торого соединен со счетным входом счетчика, вход записи которого со нен с входом записи преобразоват первым входом элемента И и S-вход генератора импульсов, выход котор соединен с первьм входом элемент ИЛИ, второй вход которого через э мент задержки соединен с выходом мента И, второй вход которого сое нен с входом знака преобразовател и первым входом элемента ИСКЛЮЧАЮ ИЛИ, второй вход которого соедине информационным входом преобразов л  , а выход элемента ИСКЛЮЧАЮЩЕЕ The converter follows the binary code into a pulse number code containing a shift register counter, a pulse generator whose R is connected to the output of the counter transfer, and the output of the pulse generator is the output that converts the clock input of which is connected to the clock input of the shift register, which differs , in order to expand the class of solved tasks due to the possibility of the formation of both direct and subcodes, as well as increase the speed, the EXCLUSIVE OR element, the AND element, the delay element, t OR, the output of which is connected to the counting input of the counter, whose recording input with the recording input will convert the first input of the AND element and the S input of the pulse generator, the output connected to the first input of the OR element, the second input of which through the delay element is connected to the output And, the second input of which is co-connected with the input of the converter sign and the first input of the element EXCLUSIVE OR, the second input of which is connected with the information input of the conversion, and the output of the element EXCLUSIVE 5050 тов и 1, задержки 4 и ИЛИ 6, если элемент И 1 открыт по второму входу, т.е. на входе 8 знака уровень, соответствующий 1. Добавление единицы к содержимому счетчика 7 происходит, если на входе преобразовател  код по-1 55 соединен с информационным входом ложительного числа, при этом обрат- сдвигового регистра, разр дные выходы ный код, записанный в счетчик 7, преобразуетс  в дополнительный. Такимcom and 1, delay 4 and OR 6, if the element AND 1 is open at the second input, i.e. at the input of 8 characters, the level corresponding to 1. Adding one to the contents of counter 7 occurs if the code -1 55 at the input of the converter is connected to the information input of a false number, while the reverse shift register, the bit output code recorded in counter 7 converted to optional. So (( Преобразователь последовательного двоичного кода в число-импульсный код, содержащий сдвиговый регистр, счетчик, генератор импульсов, R-вход которого соединен с выходом переноса счетчика, а выход генератора импульсов  вл етс  выходом преобразовател  тактовый вход которого соединен с входом тактировани  сдвигового -регистра , отличающийс  тем что, с целью расширени  класса решаемых задач за счет возможности преобразовани  как пр мого, так и дополнительного кодов, а также повьш1ени  быстродействи , в него введены элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, элемент И, элемент задержки, элемент ИЛИ, выход-которого соединен со счетным входом счетчика, вход записи которого соединен с входом записи преобразовател , первым входом элемента И и S-входом генератора импульсов, выход которого соединен с первьм входом элемента ИЛИ, второй вход которого через элемент задержки соединен с выходом элемента И, второй вход которого соединен с входом знака преобразовател  и первым входом элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, второй вход которого соединен с информационным входом преобразовател  , а выход элемента ИСКЛЮЧАЮЩЕЕ ИЛИA serial binary code to a pulse code code containing a shift register, a counter, a pulse generator whose R input is connected to the transfer output of a counter, and the output of a pulse generator is the output of a converter whose clock input is connected to a shift register register input, differing in that, in order to expand the class of problems to be solved due to the possibility of converting both direct and additional codes, as well as to increase the speed, the EXCLUSIVE IL element is introduced into it And, the element And, the delay element, the element OR, the output of which is connected to the counting input of the counter, the recording input of which is connected to the recording input of the converter, the first input of the element And and the S input of the pulse generator, the output of which is connected to the first input of the element OR, the second the input of which is connected via the delay element to the output of the AND element, the second input of which is connected to the input of the converter sign and the first input of the EXCLUSIVE OR element, the second input of which is connected to the information input of the converter, and the output of the IC element KEY OR которого соединены с разр дными входами счетчика.which are connected to the bit inputs of the counter. образом, как положительные, так и отрицательные числа представлены в счетчике 7 дополнительным кодом. Импульсы с выхода генератора 3 поступают в виде число-импульсного кода на выход 12 преобразовател  и через элемент ИЛИ 6 - на счетный С-вход счетчика 7. Импульс переполнени  Р.Thus, both positive and negative numbers are represented in counter 7 by an additional code. The pulses from the output of the generator 3 arrive in the form of a number-pulse code at the output 12 of the converter and, through the element OR 6, to the counting C input of the counter 7. The overflow pulse P. пP когда на выход преобразовател  проходит число импульсов, равное числовому эквиваленту входного числа. Импульс переполнени  по установочному R-BXO- ДУ останавливает генератор 3 импульсов .when the output of the converter passes a number of pulses equal to the numerical equivalent of the input number. The overflow pulse according to the setting R-BXO-DU stops the generator of 3 pulses. Преобразование параллельного кода в число-импульсный код осуществл етс  одновременно с приемом последующей входной информации. The parallel code is converted into a pulse number code simultaneously with the reception of subsequent input information. на выходе счетчика 7 по вл етс , at the output of counter 7 appears, соединен с информационным входом сдвигового регистра, разр дные выходы connected to the information input of the shift register, bit outputs Формула изобретени Преобразователь последовательного двоичного кода в число-импульсный код, содержащий сдвиговый регистр, счетчик, генератор импульсов, R-вход которого соединен с выходом переноса , счетчика, а выход генератора импульсов  вл етс  выходом преобразовател , тактовый вход которого соединен с входом тактировани  сдвигового -регистра , отличающийс  тем, что, с целью расширени  класса решаемых задач за счет возможности преобразовани  как пр мого, так и дополнительного кодов, а также повьш1ени  быстродействи , в него введены элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, элемент И, элемент задержки, элемент ИЛИ, выход-которого соединен со счетным входом счетчика, вход записи которого соединен с входом записи преобразовател , первым входом элемента И и S-входом генератора импульсов, выход которого соединен с первьм входом элемента ИЛИ, второй вход которого через элемент задержки соединен с выходом элемента И, второй вход которого соединен с входом знака преобразовател  и первым входом элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, второй вход которого соединен с информационным входом преобразовател  , а выход элемента ИСКЛЮЧАЮЩЕЕ ИЛИClaims of a serial binary code converter to a pulse code code containing a shift register, a counter, a pulse generator whose R input is connected to the transfer output, a counter, and the output of the pulse generator is the output of the converter whose clock input is connected to the shift clock input - register, characterized in that, with the aim of expanding the class of tasks due to the possibility of converting both direct and additional codes, as well as speeding up, it is entered EXCLUSIVE OR element, AND element, delay element, OR element, the output of which is connected to the counter input of the counter, the record input of which is connected to the converter record input, the first input of the AND element and S input of the pulse generator, the output of which is connected to the first input of the OR element the second input of which is connected via the delay element to the output of the AND element, the second input of which is connected to the input of the converter sign and the first input of the EXCLUSIVE OR element, the second input of which is connected to the information input of the converter l, and the output element is EXCLUSIVE OR соединен с информационным входом сдвигового регистра, разр дные выходы connected to the information input of the shift register, bit outputs которого соединены с разр дными входами счетчика.which are connected to the bit inputs of the counter.
SU864029671A 1986-02-27 1986-02-27 Binary serial code to unit-counting code converter SU1367163A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864029671A SU1367163A1 (en) 1986-02-27 1986-02-27 Binary serial code to unit-counting code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864029671A SU1367163A1 (en) 1986-02-27 1986-02-27 Binary serial code to unit-counting code converter

Publications (1)

Publication Number Publication Date
SU1367163A1 true SU1367163A1 (en) 1988-01-15

Family

ID=21223609

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864029671A SU1367163A1 (en) 1986-02-27 1986-02-27 Binary serial code to unit-counting code converter

Country Status (1)

Country Link
SU (1) SU1367163A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 602936, кл. Н 03 М 9/00, 1978. Авторское свидетельство СССР 993245, кл. Н 03 М 9/00, 1983. *

Similar Documents

Publication Publication Date Title
SU1367163A1 (en) Binary serial code to unit-counting code converter
SU943704A1 (en) Binary to digital pulse code converter
SU941992A1 (en) Digital pulse to parallel binary code converter
SU1302437A1 (en) Device for converting parallel code to serial code
SU1425848A1 (en) Parallel to series code converter
SU1174919A1 (en) Device for comparing numbers
SU1159165A1 (en) Parallel code-to-serial code translator
SU1156057A1 (en) Translator of n-bit binary code to p-bit code
SU1182685A1 (en) Unit-counting code-to-parallel binary code translator
SU1309316A1 (en) Parallel n-digit code-to-sequential code converter
SU378833A1 (en) DEVICE FOR INPUT OF INFORMATION
SU1075255A1 (en) Parallel binary code/unit-counting code translator
SU1285605A1 (en) Code converter
SU993245A1 (en) Series binary code-to-unit counting code converter
SU1188728A1 (en) Device for implementing boolean functions
SU1417193A1 (en) Series to parallel code converter
SU1315973A2 (en) Time interval-to-binary code converter
SU1727200A1 (en) Device for conversion of series code to parallel code
SU1226671A1 (en) Table code converter
SU1709293A2 (en) Device for information input
SU1725399A1 (en) Binary decimal-to-decimal code converter
SU1689948A1 (en) Generator of random numbers
SU1084779A1 (en) Translator from binary code to binary-coded decimal code
SU1149243A1 (en) Reversible binary code-to-binary coded decimal code translator
RU1784963C (en) Code translator from gray to parallel binary one