[go: up one dir, main page]

RU2258304C1 - Code converter - Google Patents

Code converter Download PDF

Info

Publication number
RU2258304C1
RU2258304C1 RU2004106096/09A RU2004106096A RU2258304C1 RU 2258304 C1 RU2258304 C1 RU 2258304C1 RU 2004106096/09 A RU2004106096/09 A RU 2004106096/09A RU 2004106096 A RU2004106096 A RU 2004106096A RU 2258304 C1 RU2258304 C1 RU 2258304C1
Authority
RU
Russia
Prior art keywords
input
output
trigger
inputs
converter
Prior art date
Application number
RU2004106096/09A
Other languages
Russian (ru)
Other versions
RU2004106096A (en
Inventor
Г.И. Шишкин (RU)
Г.И. Шишкин
А.А. Курочкин (RU)
А.А. Курочкин
В.В. Шубин (RU)
В.В. Шубин
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 RU2004106096/09A priority Critical patent/RU2258304C1/en
Application granted granted Critical
Publication of RU2258304C1 publication Critical patent/RU2258304C1/en
Publication of RU2004106096A publication Critical patent/RU2004106096A/en

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

FIELD: computer science.
SUBSTANCE: device has T-triggers 1,3,9,10, register 5, XOR element 6, OR-Not element 7, counter 8, front pulse generator 11, RS trigger 12, clock input 2, a group of information inputs 13, launch inputs 14, information output 4.
EFFECT: broader functional capabilities.
2 dwg

Description

Изобретение относится к вычислительной технике и может быть использовано в системах передачи цифровой информации.The invention relates to computer technology and can be used in digital information transmission systems.

Известен преобразователь кода (см. А.С. СССР №1332536 от 07.03.86, МКИ: Н 03 М 5/12, «Преобразователь кода», И.В. Келтуяла, опубл. 23.08.87, Бюл. № 31), содержащий генератор импульсов, прямой выход которого соединен с вторыми входами первого и второго элементов И, элемент НЕ, выход которого подключен к первому входу второго элемента И, триггер, выход которого является выходом преобразователя. Первый вход первого элемента И объединен с входом элемента НЕ и является входом преобразователя. D-вход триггера подключен к выходу элемента НЕ. Выходы первого и второго элементов И и инверсный выход генератора импульсов соединены, соответственно, с S-, R- и С-входами триггера.Known code converter (see AS USSR No. 1332536 dated 03/07/86, MKI: H 03 M 5/12, "Code Converter", IV Keltuyala, publ. 23.08.87, Bull. No. 31), comprising a pulse generator, the direct output of which is connected to the second inputs of the first and second elements AND, the element is NOT, the output of which is connected to the first input of the second element And, a trigger, the output of which is the output of the converter. The first input of the first AND element is combined with the input of the element NOT and is the input of the converter. The trigger D-input is connected to the output of the element NOT. The outputs of the first and second elements And and the inverse output of the pulse generator are connected, respectively, with the S-, R- and C-inputs of the trigger.

Недостатком известного преобразователя кода является низкое быстродействие из-за низкой скорости преобразования.A disadvantage of the known code converter is the low speed due to the low conversion speed.

Наиболее близким по совокупности существенных признаков к заявляемому изобретению является преобразователь кода (см. статью В.П. Климова, И.М. Казанова, И.Л. Вишнякова ″Кодирующие устройства оптических каналов″ в сборнике статей ″Электронная техника в автоматике″, под ред. Ю.И. Конева, выпуск 16. - М.: Радио и связь, 1985 г., с.263, рис.5,а), содержащий инвертор, вход которого является тактовым входом преобразователя и соединен с тактовым входом первого триггера и входом селекции мультиплексора, а выход соединен с тактовым входом второго триггера. Информационный вход первого триггера является информационным входом преобразователя, а выход соединен с первым входом мультиплексора и информационным входом второго триггера, инверсный выход которого соединен со вторым входом мультиплексора, выход которого является выходом преобразователя.The closest set of essential features to the claimed invention is a code converter (see the article by V.P. Klimov, I.M. Casanova, I.L. Vishnyakova ″ Optical channel encoders ″ in the collection of articles Electronic Engineering in Automation ’, under Edited by Yu.I. Konev, Issue 16. - M .: Radio and Communications, 1985, p.263, Fig. 5, a) containing an inverter, the input of which is the clock input of the converter and connected to the clock input of the first trigger and input selection of the multiplexer, and the output is connected to the clock input of the second trigger. The information input of the first trigger is the information input of the converter, and the output is connected to the first input of the multiplexer and the information input of the second trigger, the inverse output of which is connected to the second input of the multiplexer, the output of which is the output of the converter.

Недостатками известного преобразователя кода являются:The disadvantages of the known code Converter are:

- сложность выделения момента начала поступления полезной информации ввиду постоянного формирования последовательности импульсов на выходе преобразователя в режиме ожидания;- the difficulty of highlighting the moment the beginning of the receipt of useful information due to the constant formation of a sequence of pulses at the output of the converter in standby mode;

- отсутствие возможности формирования на выходе преобразователя кода информационных посылок определенной длины вследствие отсутствия в схеме преобразователя кода устройства, задающего количество битов в выходной информационной посылке;- the lack of the possibility of forming at the output of the code converter information packets of a certain length due to the absence in the converter code circuit of the device that sets the number of bits in the output information packet;

- необходимость формирования признака начала информационной посылки, обеспечивающего взаимную синхронизацию приемника и передатчика и достоверную передачу сообщений вследствие использования фазоманипулированного кода в качестве выходного кода преобразователя.- the need to form a sign of the beginning of the information package, providing mutual synchronization of the receiver and the transmitter and reliable transmission of messages due to the use of phase-shifted code as the output code of the converter.

Задачей, на решение которой направлено заявляемое изобретение, является создание преобразователя кода, обладающего расширенными функциональными возможностями, а именно: формирование на выходе преобразователя сигнала логического "0" в режиме ожидания, формирование на выходе преобразователя информационных посылок определенной длины, формирование на выходе самосинхронизирующейся последовательности импульсов, не требующей дополнительного формирования признака начала информационной посылки.The task to which the claimed invention is directed is to create a code converter having advanced functionality, namely: generating a logical "0" signal in the output of the converter in standby mode, generating information packets of a certain length at the converter output, forming a self-synchronizing pulse sequence at the output , which does not require additional formation of the sign of the beginning of the information package.

Технический результат, заключающийся в расширении функциональных возможностей, достигается тем, что в преобразователь кода, содержащий первый триггер, тактовый вход которого соединен с тактовым входом преобразователя, второй триггер и выход, введены регистр, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, элемент ИЛИ-НЕ, счетчик-делитель, третий и четвертый триггеры, формирователь импульса по фронту, RS-триггер, группа информационных входов и вход пуска, первый, второй, третий и четвертый триггеры выполнены в виде Т-триггеров с R-входами, при этом R-вход первого Т-триггера соединен с инверсным выходом RS-триггера и R-входами счетчика-делителя и второго Т-триггера, а выход - с первыми входами элемента ИСКЛЮЧАЮЩЕЕ ИЛИ и элемента ИЛИ-НЕ, выход которого соединен с входом формирователя импульса по фронту, а второй вход - с выходом регистра, информационные входы которого соединены с соответствующими входами группы информационных входов преобразователя, последовательный вход - с общей шиной, вход разрешения параллельной загрузки - с входом пуска преобразователя и S-входом RS-триггера, а тактовый вход - с тактовыми входами счетчика-делителя и второго Т-триггера, выходом четвертого Т-триггера и вторым входом элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, выход которого соединен с тактовым входом третьего Т-триггера, R-вход которого соединен с выходом формирователя импульса по фронту и R-входом четвертого Т-триггера, а выход - с тактовым входом четвертого Т-триггера, выход счетчика-делителя соединен с R-входом RS-триггера, выход второго Т-триггера соединен с выходом преобразователя.The technical result, which consists in expanding the functionality, is achieved by the fact that a code, an EXCLUSIVE OR element, an OR-NOT element, a divider counter are entered into the code converter containing the first trigger, the clock input of which is connected to the clock input of the converter, the second trigger and output , the third and fourth triggers, a front-end pulse shaper, RS-trigger, a group of information inputs and a start input, the first, second, third and fourth triggers are made in the form of T-triggers with R-inputs, while the R-input of the first T- The trigger is connected to the inverse output of the RS-trigger and the R-inputs of the divider counter and the second T-trigger, and the output is connected to the first inputs of the EXCLUSIVE OR element and the OR-NOT element, the output of which is connected to the pulse former input and the second input with the output of the register, the information inputs of which are connected to the corresponding inputs of the group of information inputs of the converter, the serial input is with a common bus, the parallel boot enable input is with the start of the converter and the S-input of the RS-trigger, and the clock input is with a clock the inputs of the counter-divider and the second T-trigger, the output of the fourth T-trigger and the second input of the EXCLUSIVE OR element, the output of which is connected to the clock input of the third T-trigger, the R-input of which is connected to the output of the pulse shaper along the front and R-input of the fourth T-flip-flop, and the output with the clock input of the fourth T-flip-flop, the output of the divider counter is connected to the R-input of the RS-flip-flop, the output of the second T-flip-flop is connected to the output of the converter.

Указанная совокупность признаков позволяет расширить функциональные возможности преобразователя кода, а именно:The specified set of features allows you to expand the functionality of the code Converter, namely:

- обеспечить формирование на выходе преобразователя сигнала логического ″0″ в режиме ожидания за счет блокирования работы преобразователя в режиме ожидания;- to ensure the formation of the output of the logical signal converter ″ 0 ″ in standby mode by blocking the operation of the converter in standby mode;

- обеспечить формирование на выходе преобразователя информационных посылок определенной длины за счет задания количества битов в выходной информационной посылке;- to ensure the formation at the output of the converter of information packages of a certain length by setting the number of bits in the output information package;

- обеспечить формирование на выходе самосинхронизирующейся последовательности импульсов, не требующей дополнительного формирования признака начала информационной посылки за счет использования кода, характеризующегося обязательной сменой уровня в начале каждого битового интервала, логический ″0″ и логическая ″1″ принимают на время битового интервала высокий или низкий уровень сигнала, при этом длительность битового интервала логического ″0″ меньше длительности битового интервала логической ″1″.- to ensure the formation at the output of a self-synchronizing pulse sequence that does not require additional formation of the sign of the beginning of the information packet by using a code characterized by a mandatory level change at the beginning of each bit interval, the logical ″ 0 ″ and logical ″ 1 ″ take a high or low level for the time of the bit interval signal, while the duration of the bit interval of the logical ″ 0 ″ is less than the duration of the bit interval of the logical ″ 1 ″.

На фиг.1 приведена принципиальная электрическая схема преобразователя кода; на фиг.2 - временные диаграммы работы преобразователя кода. Преобразователь кода содержит (см. фиг.1) первый триггер 1, тактовый вход 2, второй триггер 3, выход 4, регистр 5, элемент 6 ИСКЛЮЧАЮЩЕЕ ИЛИ, элемент 7 ИЛИ-НЕ, счетчик-делитель 8, третий 9 и четвертый 10 триггеры, формирователь 11 импульса по фронту, RS-триггер 12, группу 13 информационных входов и вход 14 пуска. Первый 1, второй 3, третий 9 и четвертый 10 триггеры выполнены в виде Т-триггеров с R-входами. Тактовый вход первого Т-триггера 1 соединен с тактовым входом 2 преобразователя, a R-вход - с инверсным выходом RS-триггера 12 и R-входами счетчика-делителя 8 и второго Т-триггера 3. Выход первого Т-триггера 1 соединен с первыми входами элемента 6 ИСКЛЮЧАЮЩЕЕ ИЛИ и элемента 7 ИЛИ-НЕ. Выход элемента. 7 ИЛИ-НЕ соединен с входом формирователя 11 импульса по фронту, а второй вход - с выходом регистра 5, информационные входы которого соединены с соответствующими входами группы 13 информационных входов преобразователя, последовательный вход - с общей шиной, вход разрешения параллельной загрузки - с входом пуска преобразователя и S-входом RS-триггера 12, а тактовый вход - с тактовыми входами счетчика-делителя 8 и второго Т-триггера 3, выходом четвертого Т-триггера 10 и вторым входом элемента 6 ИСКЛЮЧАЮЩЕЕ ИЛИ. Выход элемента 6 ИСКЛЮЧАЮЩЕЕ ИЛИ соединен с тактовым входом третьего Т-триггера 9, R-вход которого соединен с выходом формирователя 11 импульса по фронту и R-входом четвертого Т-триггера 10, а выход - с тактовым входом четвертого Т-триггера 10. Выход счетчика-делителя 8 соединен с R-входом RS-триггера 12. Выход второго Т-триггера 3 соединен с выходом преобразователя.Figure 1 shows a circuit diagram of a code converter; figure 2 is a timing diagram of the operation of the code Converter. The code converter contains (see Fig. 1) the first trigger 1, clock input 2, the second trigger 3, output 4, register 5, element 6 EXCLUSIVE OR, element 7 OR NOT, counter divider 8, third 9 and fourth 10 triggers , a front pulse shaper 11, an RS trigger 12, a group 13 of information inputs and a start input 14. The first 1, second 3, third 9 and fourth 10 triggers are made in the form of T-triggers with R-inputs. The clock input of the first T-flip-flop 1 is connected to the clock input 2 of the converter, and the R-input is connected to the inverse output of the RS-flip-flop 12 and the R-inputs of the counter-divider 8 and the second T-flip-flop 3. The output of the first T-flip-flop 1 is connected to the first the inputs of element 6 are EXCLUSIVE OR and element 7 is OR NOT. The output of the item. 7 OR NOT connected to the input of the pulse shaper 11 on the front, and the second input to the output of the register 5, the information inputs of which are connected to the corresponding inputs of the group 13 of the information inputs of the converter, the serial input to the common bus, the parallel boot enable input to the start input the converter and the S-input of the RS flip-flop 12, and the clock input - with the clock inputs of the counter-divider 8 and the second T-flip-flop 3, the output of the fourth T-flip-flop 10 and the second input of the element 6 EXCLUSIVE OR. The output of element 6 EXCLUSIVE OR is connected to the clock input of the third T-trigger 9, the R-input of which is connected to the output of the pulse former 11 and the R-input of the fourth T-trigger 10, and the output is connected to the clock input of the fourth T-trigger 10. Output the counter-divider 8 is connected to the R-input of the RS-trigger 12. The output of the second T-trigger 3 is connected to the output of the Converter.

Формирователь 11 импульса по фронту может быть выполнен по схеме, представленной в книге Хоровиц П., Хилл У. «Искусство схемотехники: В 3-х томах: Т.2.» Пер. с англ. - 4-е изд., перераб. и доп. - М.: Мир, 1993, стр.173, рис.8.97а.Shaper 11 of the pulse along the front can be performed according to the scheme presented in the book Horowitz P., Hill W. "The art of circuitry: In 3 volumes: T.2." Per. from English - 4th ed., Revised. and add. - M.: Mir, 1993, p. 173, Fig. 8.97a.

Преобразователь кода работает следующим образом.The code converter works as follows.

В исходном состоянии на тактовом входе 2, входах группы 13 информационных входов, входе 14 пуска и выходе 4 преобразователя присутствует уровень логического ″0″. Первый 1, второй 3, третий 9, четвертый 10 Т-триггеры, счетчик-делитель 8 и RS-триггер 12 находятся в состоянии логического ″0″.In the initial state, the clock input 2, the inputs of the group 13 information inputs, input 14 start and output 4 of the Converter there is a logical level ″ 0 ″. The first 1, second 3, third 9, fourth 10 T-flip-flops, counter-divider 8 and RS-flip-flop 12 are in a logical ″ 0 ″ state.

Преобразователь готов к преобразованию кода. На входы группы 13 входов подается информация в двоичном коде: первый бит информационной посылки на первый информационный вход регистра 5, второй бит - на второй информационный вход и т.д. На вход 2 (см. фиг.2, а) поступают тактовые импульсы. На вход 14 пуска (см. фиг.2, б) подается импульс длительностью от одного до двух периодов тактовой последовательности, поступающей на вход 2. Регистр 5 переводится в режим параллельной загрузки. RS-триггер 12 устанавливается в единичное состояние и на его инверсном выходе устанавливается уровень логического ″0″ (см. фиг.2, в), который поступает на R-входы Т-триггеров 1, 3 и счетчика-делителя 8, разрешая их переключение. С приходом первого импульса, поступающего на вход 2, на выходе Т-триггера 1 устанавливается уровень логической ″1″ (см. фиг.2, е), который через элемент 6 поступает на тактовый вход Т-триггера 9 и переключает его в единичное состояние (см. фиг.2, к). Это ведет к тому, что Т-триггер 10 переключается в единичное состояние (см. фиг.2, л), переводя элемент 6 в режим инвертирования информации, поступающей на его первый вход (см. фиг.2, ж). На выходе элемента 7 устанавливается уровень логического ″0″ (см.фиг.2, з). Т-триггер 3, в свою очередь, переключается в единичное состояние и, следовательно, на выходе 4 преобразователя устанавливается уровень логической ″1″ (см. фиг.2, м). Положительный перепад с выхода Т-триггера 10 поступает на тактовый вход регистра 5, осуществляя запись информации с входов группы 13 входов в регистр 5 и, соответственно, выдачу на выход регистра 5 (см. фиг.2, д) логического уровня первого бита информационной посылки. Далее происходит преобразование в зависимости от логического состояния бита информационной посылки, при этом после окончания импульса, поступающего на вход 14 пуска регистр 5 переводится в режим сдвига информации влево.The converter is ready for code conversion. The information in binary code is fed to the inputs of the group of 13 inputs: the first bit of the information packet to the first information input of register 5, the second bit to the second information input, etc. Input 2 (see figure 2, a) receives clock pulses. Input 14 start (see figure 2, b) is a pulse with a duration of one to two periods of the clock sequence received at input 2. Register 5 is placed in parallel loading mode. The RS-trigger 12 is set to a single state and at its inverse output the logic level is ″ 0 ″ (see FIG. 2, c), which is fed to the R-inputs of T-flip-flops 1, 3 and counter-divider 8, allowing their switching . With the arrival of the first pulse arriving at input 2, the output of the T-trigger 1 is set to the logical level ″ 1 ″ (see figure 2, e), which through element 6 is fed to the clock input of the T-trigger 9 and switches it to a single state (see figure 2, k). This leads to the fact that the T-trigger 10 switches to a single state (see figure 2, l), putting the element 6 in the mode of inverting the information received at its first input (see figure 2, g). At the output of element 7, the logical level ″ 0 ″ is set (see Fig. 2, h). The T-trigger 3, in turn, switches to a single state and, therefore, at the output 4 of the converter, the logical level is ″ 1 ″ (see Fig. 2, m). A positive difference from the output of the T-flip-flop 10 goes to the clock input of the register 5, recording information from the inputs of the group 13 of the inputs to the register 5 and, accordingly, issuing the output of the register 5 (see figure 2, e) the logical level of the first bit of the information package . Next, the conversion takes place depending on the logical state of the bit of the information packet, and after the end of the pulse received at the start input 14, register 5 is transferred to the left shift information mode.

Преобразование логической ″1″ происходит следующим образом. На один бит информационной посыпки, имеющий состояние логической ″1″, приходится шесть импульсов на тактовом входе 2. С приходом импульса, поступающего на вход 2, на выходе Т-триггера 1 устанавливается уровень логического ″0″, который, инвертируясь элементом 6, поступает на тактовый вход Т-триггера 9 и переключает его в нулевое состояние. С приходом следующего импульса, поступающего на вход 2, на выходе Т-триггера 1 устанавливается уровень логической ″1″. С приходом следующего импульса, поступающего на вход 2, на выходе Т-триггера 1 устанавливается уровень логического ″0″, который, инвертируясь элементом 6, поступает на тактовый вход Т-триггера 9 и переключает его в единичное состояние. Это ведет к тому, что Т-триггер 10 переключается в нулевое состояние, переводя элемент 6 в режим прямой передачи информации, поступающей на его первый вход. Отрицательный перепад с выхода Т-триггера 10 поступает на тактовый вход счетчика-делителя 8, осуществляя его переключение. С приходом следующего импульса, поступающего на вход 2, на выходе Т-триггера 1 устанавливается уровень логической ″1″, который, инвертируясь элементом 6, поступает на тактовый вход Т-триггера 9 и переключает его в нулевое состояние. С приходом следующего импульса, поступающего на вход 2, на выходе Т-триггера 1 устанавливается уровень логического ″0″. С приходом следующего импульса, поступающего на вход 2, на выходе Т-триггера 1 устанавливается уровень логической ″1″, который через элемент 6 поступает на тактовый вход Т-триггера 9 и переключает его в единичное состояние. Это ведет к тому, что Т-триггер 10 переключается в единичное состояние, переводя элемент 6 в режим инвертирования информации, поступающей на его первый вход. Т-триггер 3, в свою очередь, переключается и, следовательно, происходит изменение логического уровня на выходе 4 преобразователя. Положительный перепад с выхода Т-триггера 10 поступает на тактовый вход регистра 5, осуществляя в нем сдвиг информации влево и, соответственно, выдачу на выход регистра 5 логического уровня следующего бита информационной посылки.The logical ″ 1 ″ conversion is as follows. For one bit of information sprinkling, having a logical state ″ 1 ″, there are six pulses at clock input 2. With the arrival of a pulse arriving at input 2, the output of T-trigger 1 is set to a logic level ″ 0 ″, which, inverting with element 6, goes to the clock input of the T-flip-flop 9 and switches it to the zero state. With the arrival of the next pulse arriving at input 2, the logic level ″ 1 ″ is set at the output of the T-trigger 1. With the arrival of the next pulse arriving at input 2, the logic level ″ 0 ″ is established at the output of T-trigger 1, which, inverting with element 6, goes to the clock input of T-trigger 9 and switches it to a single state. This leads to the fact that the T-trigger 10 switches to the zero state, putting the element 6 in the mode of direct transmission of information received at its first input. The negative difference from the output of the T-trigger 10 is supplied to the clock input of the counter-divider 8, by switching it. With the arrival of the next pulse arriving at input 2, the logic level ″ 1 ″ is established at the output of T-trigger 1, which, inverting with element 6, goes to the clock input of T-trigger 9 and switches it to the zero state. With the arrival of the next pulse arriving at input 2, the logic level ″ 0 ″ is set at the output of the T-trigger 1. With the arrival of the next pulse arriving at input 2, the logic level ″ 1 ″ is established at the output of T-flip-flop 1, which through element 6 is fed to the clock input of T-flip-flop 9 and switches it to a single state. This leads to the fact that the T-trigger 10 switches to a single state, putting the element 6 in the mode of inverting the information received at its first input. T-trigger 3, in turn, is switched and, therefore, there is a change in the logic level at the output 4 of the Converter. A positive difference from the output of the T-trigger 10 goes to the clock input of the register 5, shifting the information in it to the left and, accordingly, issuing the next bit of the information packet to the output of the register 5 of the logical level.

Преобразование логического ″0″ происходит следующим образом. На один бит информационной посылки, имеющий состояние логического ″0″, приходится два импульса на тактовом входе 2. С приходом импульса, поступающего на вход 2, на выходе Т-триггера 1 устанавливается уровень логического ″0″. На выходе элемента 7 формируется положительный перепад, который поступает на вход формирователя 11 импульса по фронту. На выходе формирователя 11 вырабатывается импульс (см. фиг.2, и), который поступает на R-входы Т-триггеров 9 и 10, устанавливая их в нулевое состояние. Отрицательный перепад с выхода Т-триггера 10 поступает на тактовый вход счетчика-делителя 8, осуществляя его переключение. С приходом следующего импульса, поступающего на вход 2, на выходе Т-триггера 1 устанавливается уровень логической ″1″, который через элемент 6 поступает на тактовый вход Т-триггера 9 и переключает его в единичное состояние. Это ведет к тому, что Т-триггер 10 переключается в единичное состояние, переводя элемент 6 в режим инвертирования информации, поступающей на его первый вход. На выходе элемента 7 устанавливается уровень логического ″0″. Т-триггер 3, в свою очередь, переключается и, следовательно, происходит изменение логического уровня на выходе 4 преобразователя. Положительный перепад с выхода Т-триггера 10 поступает на тактовый вход регистра 5, осуществляя в нем сдвиг информации влево и, соответственно, выдачу на выход регистра 5 логического уровня следующего бита информационной посылки.Converting a logical ″ 0 ″ is as follows. For one bit of the information packet, which has a logical state of ″ 0 ″, there are two pulses at clock input 2. With the arrival of a pulse arriving at input 2, the level of logic ″ 0 ″ is set at the output of T-trigger 1. At the output of element 7, a positive difference is formed, which is fed to the input of the pulse shaper 11 along the front. The output of the shaper 11 produces a pulse (see figure 2, and), which is fed to the R-inputs of the T-flip-flops 9 and 10, setting them to zero. The negative difference from the output of the T-trigger 10 is supplied to the clock input of the counter-divider 8, by switching it. With the arrival of the next pulse arriving at input 2, the logic level ″ 1 ″ is established at the output of T-flip-flop 1, which through element 6 goes to the clock input of T-flip-flop 9 and switches it to a single state. This leads to the fact that the T-trigger 10 switches to a single state, putting the element 6 in the mode of inverting the information received at its first input. At the output of element 7, the logical level ″ 0 ″ is set. T-trigger 3, in turn, is switched and, therefore, there is a change in the logic level at the output 4 of the Converter. A positive difference from the output of the T-trigger 10 goes to the clock input of the register 5, shifting the information in it to the left and, accordingly, issuing the next bit of the information packet to the output of the register 5 of the logical level.

Преобразование последующих битов информационной посылки осуществляется аналогично.Conversion of subsequent bits of the information packet is carried out similarly.

В момент окончания преобразования последнего бита информационной посылки на выходе регистра 5 устанавливается уровень логического ″0″. С приходом импульса, поступающего на вход 2, на выходе Т-триггера 1 устанавливается уровень логического ″0″. На выходе элемента 7 формируется положительный перепад, который поступает на вход формирователя 11 импульса по фронту. На выходе формирователя 11 вырабатывается импульс, который поступает на R-входы Т-триггеров 9 и 10, устанавливая их в нулевое состояние. Отрицательный перепад с выхода Т-триггера 10 поступает на тактовый вход счетчика-делителя 8, осуществляя его переключение так, что на его выходе устанавливается уровень логической ″1″ (см. фиг.2, г), который устанавливает в нулевое состояние RS-триггер 12, уровень логической ″1″ с инверсного выхода которого поступает на R-входы Т-триггеров 1, 3 и счетчика-делителя 8, сбрасывая их в нулевое состояние и запрещая их переключение.At the moment of the end of the conversion of the last bit of the information package at the output of register 5, the logical level ″ 0 ″ is set. With the arrival of the pulse received at input 2, at the output of the T-flip-flop 1, the logical level ″ 0 ″ is set. At the output of element 7, a positive difference is formed, which is fed to the input of the pulse shaper 11 along the front. At the output of the shaper 11, a pulse is generated, which is fed to the R-inputs of the T-flip-flops 9 and 10, setting them to zero. A negative difference from the output of the T-trigger 10 goes to the clock input of the counter-divider 8, switching it so that the logic level ″ 1 ″ is set at its output (see FIG. 2, d), which sets the RS-trigger to zero 12, the logical level ″ 1 ″ from the inverse output of which is supplied to the R-inputs of T-flip-flops 1, 3 and counter-divider 8, resetting them to zero and prohibiting their switching.

Для преобразования следующей информационной посылки необходимо на входы группы 13 входов подать информацию в двоичном коде, а на входе 14 пуска сформировать импульс длительностью от одного до двух периодов тактовой последовательности, поступающей на вход 2. Следует отметить, что количество битов в информационной посылке нечетное.To convert the next information package, it is necessary to submit information in binary code to the inputs of the group of 13 inputs, and to generate a pulse at the input of start 14 of a duration of one to two periods of the clock sequence received at input 2. It should be noted that the number of bits in the information package is odd.

Изготовлен лабораторный макет преобразователя кода, испытания которого подтвердили осуществимость и практическую ценность заявляемого объекта.A laboratory model of the code converter was made, tests of which confirmed the feasibility and practical value of the claimed object.

Claims (1)

Преобразователь кода, содержащий первый триггер, тактовый вход которого соединен с тактовым входом преобразователя, второй триггер и выход, отличающийся тем, что введены регистр, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ, элемент ИЛИ-НЕ, счетчик-делитель, третий и четвертый триггеры, формирователь импульса по фронту, RS-триггер, группа информационных входов и вход пуска, первый, второй, третий и четвертый триггеры выполнены в виде Т-триггеров с R-входами, при этом R-вход первого Т-триггера соединен с инверсным выходом RS-триггера и R-входами счетчика-делителя и второго Т-триггера, а выход - с первыми входами элемента ИСКЛЮЧАЮЩЕЕ ИЛИ и элемента ИЛИ-НЕ, выход которого соединен с входом формирователя импульса по фронту, а второй вход - с выходом регистра, информационные входы которого соединены с соответствующими входами группы информационных входов преобразователя, последовательный вход - с общей шиной, вход разрешения параллельной загрузки - с входом пуска преобразователя и S-входом RS-триггера, а тактовый вход - с тактовыми входами счетчика-делителя и второго Т-триггера, выходом четвертого Т-триггера и вторым входом элемента ИСКЛЮЧАЮЩЕЕ ИЛИ, выход которого соединен с тактовым входом третьего Т-триггера, R-вход которого соединен с выходом формирователя импульса по фронту и R-входом четвертого Т-триггера, а выход - с тактовым входом четвертого Т-триггера, выход счетчика-делителя соединен с R-входом RS-триггера, выход второго Т-триггера соединен с выходом преобразователя.A code converter containing a first trigger, the clock input of which is connected to the clock input of the converter, a second trigger and an output, characterized in that a register, an EXCLUSIVE OR element, an OR-NOT element, a divider counter, a third and fourth trigger, a pulse shaper on the edge are entered , RS-trigger, a group of information inputs and a start input, the first, second, third and fourth triggers are made in the form of T-triggers with R-inputs, while the R-input of the first T-trigger is connected to the inverse output of the RS-trigger and R- inputs of the counter-divider and in of the T-flip-flop, and the output - with the first inputs of the EXCLUSIVE OR element and the OR-NOT element, the output of which is connected to the front of the pulse shaper, and the second input - with the output of the register, the information inputs of which are connected to the corresponding inputs of the group of information inputs of the converter, serial input - with a common bus, parallel boot enable input - with a drive start input and an RS-trigger S-input, and a clock input - with clock inputs of a divider counter and a second T-trigger, fourth T-trigger output and the second input of the EXCLUSIVE OR element, the output of which is connected to the clock input of the third T-trigger, the R-input of which is connected to the front of the pulse shaper and the R-input of the fourth T-trigger, and the output - to the clock input of the fourth T-trigger, output the counter-divider is connected to the R-input of the RS-trigger, the output of the second T-trigger is connected to the output of the converter.
RU2004106096/09A 2004-03-01 2004-03-01 Code converter RU2258304C1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
RU2004106096/09A RU2258304C1 (en) 2004-03-01 2004-03-01 Code converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
RU2004106096/09A RU2258304C1 (en) 2004-03-01 2004-03-01 Code converter

Publications (2)

Publication Number Publication Date
RU2258304C1 true RU2258304C1 (en) 2005-08-10
RU2004106096A RU2004106096A (en) 2005-08-10

Family

ID=35844790

Family Applications (1)

Application Number Title Priority Date Filing Date
RU2004106096/09A RU2258304C1 (en) 2004-03-01 2004-03-01 Code converter

Country Status (1)

Country Link
RU (1) RU2258304C1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4011559A (en) * 1975-07-21 1977-03-08 The United States Of America As Represented By The Secretary Of The Navy Universal binary code converter
SU1266007A1 (en) * 1984-08-10 1986-10-23 Предприятие П/Я В-2962 Code converter
SU1332536A1 (en) * 1986-03-07 1987-08-23 Предприятие П/Я В-2962 Code converter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4011559A (en) * 1975-07-21 1977-03-08 The United States Of America As Represented By The Secretary Of The Navy Universal binary code converter
SU1266007A1 (en) * 1984-08-10 1986-10-23 Предприятие П/Я В-2962 Code converter
SU1332536A1 (en) * 1986-03-07 1987-08-23 Предприятие П/Я В-2962 Code converter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
КЛИМОВ В.П. и др. Кодирующие устройства оптических каналов. Сб. ст. ЭтвА/ Под ред. Ю.И.Конева. Вып.16. М.: Радио и связь, 1985, с.263, рис.5а. *

Also Published As

Publication number Publication date
RU2004106096A (en) 2005-08-10

Similar Documents

Publication Publication Date Title
KR910700567A (en) High speed programmable divider
CN105718404A (en) Square-wave generator and generating method based on FPGA
CN108155894B (en) Synchronous hybrid delay type DPWM module based on FPGA
CN101299601B (en) Clock switching circuit
CN108574477B (en) Configurable delay line
RU2258304C1 (en) Code converter
US3376384A (en) Receiver to teletypewriter converter
US7098706B1 (en) High speed synchronizer for simultaneously initializing rising edge triggered and falling edge triggered flip-flops
RU2259009C1 (en) Code converter
CN102035538B (en) High-speed programmable frequency divider
RU2250562C2 (en) Binary-to-width-keyed code converter
RU2159988C1 (en) Binary-to-phase-keyed number converter
RU2260907C2 (en) Code converter
RU2262191C1 (en) Code transformer
JP3935274B2 (en) Clock switching circuit
RU2259010C1 (en) Code converter
RU2258305C1 (en) Converter of bi-pulse code to binary code
RU2253944C2 (en) Code transformer
RU2282306C1 (en) Code transformer
TW200531437A (en) Improved double-edge-trigger flip-flop
RU2274949C2 (en) Code converter
RU2297096C1 (en) Binary-to-phase-keyed code converter
SU1283962A1 (en) Synchronous counting device
US20080055126A1 (en) Parallelization of serial digital input signals
RU2249911C2 (en) Code transformer

Legal Events

Date Code Title Description
MM4A The patent is invalid due to non-payment of fees

Effective date: 20080302