SU736089A1 - Device for converting table codes - Google Patents

Device for converting table codes Download PDF

Info

Publication number
SU736089A1
SU736089A1 SU762414859A SU2414859A SU736089A1 SU 736089 A1 SU736089 A1 SU 736089A1 SU 762414859 A SU762414859 A SU 762414859A SU 2414859 A SU2414859 A SU 2414859A SU 736089 A1 SU736089 A1 SU 736089A1
Authority
SU
USSR - Soviet Union
Prior art keywords
inputs
outputs
decoder
counter
block
Prior art date
Application number
SU762414859A
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 SU762414859A priority Critical patent/SU736089A1/en
Application granted granted Critical
Publication of SU736089A1 publication Critical patent/SU736089A1/en

Links

Landscapes

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

Description

Изобретение относитс  к области - автоматики, вычислительной техники и передачи информации и может быть использовано дл  двухстороннего преобразовани  кодов, заданных в двоичной форме таблицами взаимного соответстви . Известны преобразователи кодов, содержащие дл  каждой группы кодов отдельные матрицы и логические элементы 1 . Недостатком таких устройств  вл  етс  их сложность. Наиболее близким к изобретению по технической сущности  вл етс  ус ройство дл  преобразовани  табличных кодов, содержащее схему сравнени  и две группы информационных шин 2 . Недостатки устройства - сложност его конструктивного исполнени ,обус ловленна  .наличием шифраторов дл  хранени  полных множеств кодовых комбинаций таблиц взаимного соответ стви , а также невозможность преобразовывать коды трех и более таблиц взаимного соответстви . Цель изобретени  - упрощение и расширение функциональных возможностей устройства. Указанна  цель достигаетс  тем, что устройство дополнительно содержит вторую схему сравнени , элементы И, ИЛИ, генератор импульсов и два аналогичных блока преобразовани  кодов, первые группы входов которых подключены к соответствующим группам информационных шин устройства , первые группы выходов - ко входам первой и второй схем сравнени , инверсные выходы которых соединены соответственно со входами первого и второго элементов И, другие входы которых подключены ко входам выбора пары таблиц соответстви  , а инверсные выходы - ко входам элемента ИЛИ, инверсный выход которого подключен к первым коммутирующим входам блоков преобразовани  кодов, вторые коммутирующие входы которых соединены с выходом генератора импульсов , а третьи - со входами выбора направлени  преобразовани  вторые группы выходов б.поков преобразовани  кодов  вл ютс  выходами устройства, а также тем, что блок преобразовани  кодов содержит счетчик , дешифратор и коммутирующий Ьлемент, причем разр дные входы счетчи; а подключены к группе информационных шин устройства, а выхо,цы ко входаи дешифратора и выходам устро-йства, выходы дешифратора соединены со входами схемы сравнени ,первый , второй и третий входы коммутирующего элемента соединены с соответствующими входами блока преобразовани  кодов, а выход - со входом счетчика.The invention relates to the field of automation, computing and information transfer, and can be used for two-way conversion of codes defined in binary form by tables of mutual correspondence. Code converters are known that contain separate matrices and logic elements 1 for each group of codes. The disadvantage of such devices is their complexity. The closest to the invention in its technical nature is a device for converting tabular codes containing a comparison circuit and two groups of information buses 2. The drawbacks of the device are the complexity of its design, due to the presence of encoders for storing full sets of code combinations of tables of mutual correspondence, as well as the impossibility of converting the codes of three or more tables of mutual correspondence. The purpose of the invention is to simplify and expand the functionality of the device. This goal is achieved by the fact that the device additionally contains a second comparison circuit, elements AND, OR, a pulse generator and two similar code conversion blocks, the first groups of inputs of which are connected to the corresponding groups of information buses of the device, the first groups of outputs to the inputs of the first and second comparison circuits The inverse outputs of which are connected respectively to the inputs of the first and second elements I, the other inputs of which are connected to the inputs for selecting a pair of corresponding tables, and the inverse outputs to the inputs the OR element, the inverse output of which is connected to the first switching inputs of the code conversion blocks, the second switching inputs of which are connected to the output of the pulse generator, and the third to the conversion direction selection inputs of the second output groups of the code conversion poles, and the outputs of the device that the code conversion unit comprises a counter, a decoder, and a switching element, with the bit inputs of the counter; And they are connected to the device information bus group, and the outputs, the inputs to the decoder inputs and the device outputs, the decoder outputs are connected to the inputs of the comparison circuit, the first, second and third inputs of the switching element are connected to the corresponding inputs of the code conversion unit, and the output is connected to the input counter.

На фиг. 1 представлена блок-схема устройства дл  преобразовани  табличных кодов (вариант реализации дл  двухпар таблиц); на фиг. 2 - схема блока преобразовани  кодов;на фиг.3 схема сравнени .FIG. 1 is a block diagram of a device for converting table codes (an embodiment for two-pair tables); in fig. 2 is a block conversion circuit diagram; FIG. 3 is a comparison circuit.

Устройство содержит блоки 1 и 2 преобразовани  кодов, генератор 3 импульсов, первую и вторую схемы 4 и 5 сравнени , элемент ИЛИ 6, первый и второй элементы И 7 и 8, группы ин(юрмационных шин 9 и 10, первые 11, 12 и вторые 13, 14 группы выходов блоков преобразовани  кодов, входы 15 и 16 выбора направлени  преобразовани  , входы 17 и 18 выбора пары таблиц соответстви  . Схема блока преобразовани  кодов содержит счетчик 19, дешифратор 20, коммутирующий элемент 21.The device contains blocks 1 and 2 of conversion codes, a generator of 3 pulses, the first and second circuits 4 and 5 of comparison, the element OR 6, the first and second elements AND 7 and 8, and the groups IN (legal buses 9 and 10, the first 11, 12 and the second 13, 14 groups of outputs of the conversion code blocks, inputs 15 and 16 for selecting the direction of the conversion, inputs 17 and 18 for selecting a pair of matching tables. The code conversion block circuit comprises a counter 19, a decoder 20, a switching element 21.

Схема сравнени  содержит двухвходовые элементы И 22, 23 и 24, резистор 25/ клемму 26 источника питани .The comparison circuit contains two-input elements And 22, 23 and 24, a resistor 25 / terminal 26 of the power supply.

Схема на фиг.1 представлена дл  двух пар таблиц взаимного соответстви  (например А и Б, Д и Е).The diagram in figure 1 is presented for two pairs of tables of mutual correspondence (for example, A and B, D and E).

В данном варианте на вход 17 (подаетс  команда выборки пары таблиц А-Б, а на вход 18 - Д-Е.In this embodiment, input 17 (the command is taken to select a pair of tables AB, and input 18 is a D-E.

По входам 15 или 16 выбираетс  направление преобразовани , например из А в Б или Б в А и т.д.From the inputs 15 or 16, the direction of the conversion is selected, for example from A to B or B to A and so on.

Преобразователь табличных кодов работае-- следующим образом.Table code converter works as follows.

Преобразуемый (заданный) код таблицы А по шинам 9 поступает параллельно на входы счетчика 19 блока 1 и запоминаетс  в последнем. Сигнал Разр.А. (команда направлени  преобразовани ) , подтверждающий наличие кода на шинах 9, поступает по входу 16на вход коммутирующего элемента 21 блока 2, разреша  импульсам от генератора проходить через элемент 21 блока 2 на вход счетчика 19, увеличива  его двоичный код на единицу по каждоь у импульсу. Таким образом, создаетс  полное множество кодов искомой таблицы Б.The convertible (predetermined) code of table A over tires 9 is fed in parallel to the inputs of the counter 19 of block 1 and is stored in the latter. Signal Allow A. (conversion direction command) confirming the presence of a code on buses 9 enters input 16 to the input of the switching element 21 of block 2, allowing pulses from the generator to pass through element 21 of block 2 to the input of counter 19, increasing its binary code by one each pulse. Thus, a complete set of codes for the desired table B. is created.

С выходов счетчика 19 блока 1 двоичный код таблицы А поступает на входы дешифратора 20 блока 1, которы преобразует. двоичный код в единично-позиционный , т.е. возбуждает один из 2 выходов дешифратора.From the outputs of the counter 19 of block 1, the binary code of table A is fed to the inputs of the decoder 20 of block 1, which converts. binary code in unit position, i.e. excites one of the 2 outputs of the decoder.

С вЫходо.в счетчика 19 блока 2 генерируемый двоичный код таблицы Б поступает на входы дешифратора 20, который преобразует двоичный код вWith the output of the counter 19 of block 2, the generated binary code of table B is fed to the inputs of the decoder 20, which converts the binary code to

единично-позиционный, т.е. возбуждает один из 2 выходов дешифратора.single position, i.e. excites one of the 2 outputs of the decoder.

Каждый выход дешифратора 20 блокаEach output of the decoder 20 block

1соединен с одним входом одного из1 is connected to one input of one of

2двухвходовых элементов И схемы сравнени  (фиг,3), второй вход которого соединен с соответствующим одним из 2 выходов дешифратора 20 блока 2.2 two-way elements AND of the comparison circuit (FIG. 3), the second input of which is connected to the corresponding one of the 2 outputs of the decoder 20 of the block 2.

Например, преобразуем код 0110100 буквы Т таблицы А в код 1001101For example, convert the code 0110100 of the letter T of table A into the code 1001101

таблицы Б. Код 0110100tables B. Code 0110100

буквыletters

буквы Т таблицы А, поступающий тю шинам 9 на вход счетчика 19,блокаletters T of table A, arriving with tyus 9 to the input of counter 19, block

1запоминаетс  в счетчике. С выходов счетчика 19 блока 1 код 0110100 буквы Т таблицы А поступает на входы дешифратора 20, блока 1 возбужда1 is stored in the counter. From the outputs of the counter 19 of block 1, the code 0110100 of the letter T of table A is fed to the inputs of the decoder 20, and the block 1 is excited

2-f 2 + 2 52-ой выход дешифратора 20 блока 1.2-f 2 + 2 52 output of the decoder 20 block 1.

Код 1001101 буквы Г таблицы Б создаетс  следующим образом.The code 1001101 of the letter D of Table B is created as follows.

Так как коды таблицы А сопровождаютс  сигналом Разр.А (направление преобразовани ), то через коммутирующий элемент 21 блока 2 на счетный вход счетчика 19 поступают импульсы от генератора 3, увеличива  его содержимое на единицу. Если счетчик 19 блока 2 предварительно установлен в О , то по 77-му импульсу поступившему на вход счетчика 19 блока 2, последний будет иметь значение 1001101, что соответствует коду буквы г таблицы Б. Если счетчик 19 блока 2 предварительно в О не устанавливаетс , то по одному из 2 импульсов, поступивших на вход счетчика,последний принимает значение 1001101.Since the codes of table A are accompanied by the Allow A signal (conversion direction), then through the switching element 21 of block 2, the counting input of counter 19 receives pulses from generator 3, increasing its content by one. If the counter 19 of block 2 is preset to O, then the 77th pulse received at the input of the counter 19 of block 2 will have the value 1001101, which corresponds to the code of the letter g of table B. If the counter 19 of block 2 is not preliminarily installed in O, then one of 2 pulses received at the input of the counter, the latter takes the value 1001101.

Так как каждое значение счетчика 19 блока 2 дешифратором 20 блока 2 преобразуетс  в единично-позиционную форму, т.е. возбуждаетс  один из 2 выходов дешифратора, то значение кода. 1001101 на выходах счетчика 19 блока 2 возбуждает 77-ой (2- + 2 + + 2 + 2) выход дешифратора 20 блока 2,52-ой.выход дешифратора 20 блока 1 соединен с одним входом одного из 2 клапанов, например 52, второй вход которого соединен с 77 выходом дешифратора 20 блока 2.Since each value of the counter 19 of block 2 by the decoder 20 of block 2 is converted into a unit-position form, i.e. One of the 2 decoder outputs is energized, then the code value. 1001101 at the outputs of the counter 19 of the block 2 excites the 77th (2- + 2 + + 2 + 2) output of the decoder 20 of the block 2.52-th. Output of the decoder 20 of the block 1 is connected to one input of one of the 2 valves, for example 52, the second the input of which is connected to the 77 output of the decoder 20 of block 2.

Особенность предложенного преобразовател  состоит 3 том, что каждому значению кода таблицы А соответствует возбужденное состо ние одного из 2 выходов дешифратора 20 блока 1, а каждому значению кода таблицы Б - одного из 2 выходов дешифратора 20 блока 2, причем выходы дешифраторов заведены на входы двухвходовых элементов И схемы сравнени  на основании таблиц соответстви  кодов.The peculiarity of the proposed converter consists of 3 that each value of the code of table A corresponds to the excited state of one of 2 outputs of the decoder 20 of block 1, and each value of the code of table B - one of 2 outputs of the decoder 20 of block 2, and the outputs of the decoders are connected to the inputs of two-input elements And comparison schemes based on correspondence tables.

При возбуждении двух входов одног из 2 элементов И на выходе схемы 4 сравнени  по вл етс  сигнал сравнени , запрещающий дальнейшее прохождение импульсов от генератораWhen two inputs are energized, one of 2 elements And at the output of the comparison circuit 4 a comparison signal appears, prohibiting further passage of pulses from the generator

через элемент 21 блока 2 на вход счетчика 19 блока 2. Таким образом, на выходах счетчика остаетс  тот код при котором выработалс  сигнал сравнени .through the element 21 of the block 2 to the input of the counter 19 of the block 2. Thus, at the outputs of the counter there remains that code at which the comparison signal was generated.

С выходов счетчика 19 блока 2 по шинам 14 выдаетс  преобразованный код таблицы Б,From the outputs of the counter 19 of block 2, the converted code of table B is outputted via buses 14,

Обратное преобразование, т.е. преобразование кода таблицы Б в код таблицы А, отличаетс  лишь тем, что преобразуемый код таблицы Б поступает на входы счетчика 19 блока 2 По ишнам 10, сопровождаетс  сигналом Разр.Б (направление преобразовани ) и полное множество кодов ггаблицы А создаетс  счетчиком 19 блока 1 с помощью импульсов от генератора 3, поступающих через коммутирующий элемент 21, а коды таблицы А снимаютс  с выходов счетчика 19 блока 1 по шинам 13.The inverse transform, i.e. The conversion of the code of table B to the code of table A differs only in that the converted code of table B is fed to the inputs of counter 19 of block 2 At 10, accompanied by a signal of Split B (direction of conversion) and the full set of codes of ggablitsy A is created by the counter 19 of block 1 s using pulses from the generator 3, coming through the switching element 21, and the codes of table A are removed from the outputs of the counter 19 of the block 1 via the buses 13.

Преобразование кодов другой пары таблиц, например Д-Е (возможно большее количество пар таблиц) отличаетс тем, что команда Выбор Д-Е подаетс  на вход 18, разреша  прохождение сигнала сравнени  кодов с выхода второй схемы 5 сравнени .Converting the codes of another pair of tables, for example L-E (possibly more pairs of tables), is different in that the Select E-E command is fed to input 18, allowing the code comparison signal from the output of the second comparison circuit 5 to pass.

По сравнению с известными преобразовател ми предложенный преобразователь табличных кодов имеет более простую конструкцию из-за уменьшени  объема запоминающих устройств до 2х п двоичных знаков (п - разр дность двоичного кода) вместо х п двоичных, знаков в известных преобразовател х .Compared with known converters, the proposed table code converter has a simpler design due to a decrease in the storage capacity to 2x n binary characters (n is the binary code size) instead of xn binary characters in known converters.

Claims (2)

1. Устройство дл  преобразовани  табличных кодов, содержащее схему сравнени  и две группы информационных шин, отличающее с  тем.1. A device for converting table codes containing a comparison circuit and two groups of information buses, characterized in that. что, с целью упрощени  и расширени  функциональных возможностей устройства , оно дополнительно содержит вторую схему сравнени , элементы И, ИЛИ, генератор импульсов и два анас логичных блока преобразовани  кодов, первые группы входов которых подключены к соответствующим группам информационных шин устройства, первые группы выходов - ко входам первойthat, in order to simplify and expand the functionality of the device, it additionally contains a second comparison circuit, AND, OR, pulse generator and two unaccountable code conversion units, the first groups of inputs of which are connected to the corresponding groups of device information buses, the first groups of outputs — inputs first и второй схем сравнени , инверсные . выходы которых соединены соответственно со входами первого и второго элементов И, другие входы которых подключены ко входам выбора пары таблиц соответстви  , а инверсные вы ходы - ко входам элемента ИЛИ, инверсный выход которого подключен к первым коммутирующим входам блоков преобразовани  кодов, вторые коммутирующие входы которых соединены сand the second comparison circuit, inverse. the outputs of which are connected respectively to the inputs of the first and second elements AND, the other inputs of which are connected to the inputs of selecting a pair of matching tables, and the inverse outputs to the inputs of the OR element, the inverse output of which is connected to the first switching inputs of the code conversion blocks, the second switching inputs of which are connected with 0 выходом генератора импульсов, а тревыбора направлетьи - со входами0 by the output of the pulse generator, and the alarm is routed to the inputs ни  преобразовани  , вторые группы выходов блока преобразовани  кодов  вл ютс  выходами устройства.neither the transform, the second output groups of the code conversion block are the outputs of the device. 2. Устройство по П.1, отличающеес  тем, что блок преобразовани  кодов содержит счетчик, дешифратор и кo 1мyтиpyющий элемент, причем разр дные входы счетчика подключены к группе информационных шин, устройства, а выходы - ко входам дешифратора .и выходам устройства, выходы дешифратора соединены со входами схемы сравнени , первый, второй и2. The device according to claim 1, characterized in that the code conversion unit contains a counter, a decoder and a 1-meter element, the discharge inputs of the counter being connected to the group of information buses, the device, and the outputs to the inputs of the decoder. And the outputs of the decoder, the outputs of the decoder connected to the inputs of the comparison circuit, first, second and третий входы коммутирующего элементаthird inputs of the switching element 3535 соединены с соответствующими входами блока Преобразовани  кодов, а выход со входом счетчика.are connected to the corresponding inputs of the code conversion block, and the output to the counter input. Источники информации, прин тые во внимание при экспертизе 40 1. Авторское свидетельство СССР 327471, кл. G 06 F 5/00, 1970.Sources of information taken into account in the examination of 40 1. USSR author's certificate 327471, cl. G 06 F 5/00, 1970. 2. Авторское свидетельство СССР № 410387,кл. G 06 F 5/02, 1972.2. USSR author's certificate No. 410387, cl. G 06 F 5/02, 1972. иг.1ig.1 fPu.2 5.fPu.2 5.
SU762414859A 1976-10-26 1976-10-26 Device for converting table codes SU736089A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU762414859A SU736089A1 (en) 1976-10-26 1976-10-26 Device for converting table codes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU762414859A SU736089A1 (en) 1976-10-26 1976-10-26 Device for converting table codes

Publications (1)

Publication Number Publication Date
SU736089A1 true SU736089A1 (en) 1980-05-25

Family

ID=20680892

Family Applications (1)

Application Number Title Priority Date Filing Date
SU762414859A SU736089A1 (en) 1976-10-26 1976-10-26 Device for converting table codes

Country Status (1)

Country Link
SU (1) SU736089A1 (en)

Similar Documents

Publication Publication Date Title
US3717851A (en) Processing of compacted data
SU736089A1 (en) Device for converting table codes
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
US4544916A (en) Digital code translator
US3675235A (en) Read-out circuits for electrical position-encoders
US3987437A (en) Key switch signal multiplexer circuit
US3649823A (en) Digital translator
SU647688A1 (en) Function generator
SU1133611A2 (en) Adaptive telemetring device
SU1030964A1 (en) Coding device
SU658586A1 (en) Multichannel voltage-to-code converter
SU1072260A1 (en) Voltage-to-decimal-code converter
SU1368994A1 (en) Binary-to-binary-decimal code converter
KR940000954A (en) Key input device
SU409269A1 (en) ANGLE CONVERTER —COD12
SU577671A1 (en) Voltage-to-number converter
SU1226671A1 (en) Table code converter
SU711677A1 (en) Voltage-to-code converter
KR940002143Y1 (en) Signal level sensing circuit
SU362348A1 (en)
SU1073894A1 (en) Device for forming block balanced ternary code
SU1032462A2 (en) Device for determining gain factor of analog computer unit
SU860056A1 (en) Parallel to serial code converter
SU564632A1 (en) Binary digits comparing device
SU131108A1 (en) Digital-to-continuous function transducer