SU1474852A1 - Decoder - Google Patents

Decoder Download PDF

Info

Publication number
SU1474852A1
SU1474852A1 SU874288255A SU4288255A SU1474852A1 SU 1474852 A1 SU1474852 A1 SU 1474852A1 SU 874288255 A SU874288255 A SU 874288255A SU 4288255 A SU4288255 A SU 4288255A SU 1474852 A1 SU1474852 A1 SU 1474852A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
trigger
decoder
clock
Prior art date
Application number
SU874288255A
Other languages
Russian (ru)
Inventor
Ильяс Абдулхаевич Сафин
Владимир Николаевич Тюшняков
Original Assignee
Предприятие П/Я В-2969
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 Предприятие П/Я В-2969 filed Critical Предприятие П/Я В-2969
Priority to SU874288255A priority Critical patent/SU1474852A1/en
Application granted granted Critical
Publication of SU1474852A1 publication Critical patent/SU1474852A1/en

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

Изобретение относитс  к электросв зи, вычислительной технике и может использоватьс  в цифровых системах передачи данных в коде "Манчестер-2". Декодер автоматически подстраиваетс  к тактовой частоте входного сигнала, что обеспечивает расширение функциональных возможносте декодера. Декодер имеет вход 1, триггеры 2,5,6,10, элемент 3 НЕ, элементы 4,15 И, выходы 7,18, блок 8 дифференцировани , элемент 9 ИЛИ, счетчики 11,14, регистры 12,17, блок 13 сравнени  и генератор 16 тактовых импульсов. 3 ил.The invention relates to telecommunications, computing, and can be used in digital data transmission systems in Manchester-2 code. The decoder automatically adjusts to the clock frequency of the input signal, which enhances the functionality of the decoder. The decoder has an input 1, triggers 2,5,6,10, element 3 NOT, elements 4,15 And, outputs 7,18, block 8 differentiation, element 9 OR, counters 11,14, registers 12,17, block 13 compare and a 16 clock pulse generator. 3 il.

Description

; b

фив.1fiv.1

Изобретение относитс  к электросв зи , вычислительной технике и может использоватьс  в цифровых системах передачи данных в коде Ман- честер-2.The invention relates to telecommunications, computing and can be used in digital data transmission systems in Manshester-2 code.

Цель изобретени  - расширение функциональных возможностей декодера счет автоматической подстройки к изменению тактовой частоты входно- го сигнала.The purpose of the invention is to expand the functionality of the decoder by automatically adjusting the change in the clock frequency of the input signal.

На фиг.1 изображена функциональна  схема декодера} на фиг.2 и 3 - временные диаграммы, по сн ющие работу и,принцип восстановлени  тактовой частоты кодера при декодировании сигнала форматом 8 бит.FIG. 1 shows a functional diagram of a decoder} in FIGS. 2 and 3 — timing diagrams explaining the operation and the principle of restoring the clock frequency of an encoder when decoding a signal with an 8-bit format.

Декодер (фиг.1) имеет вход 1, первый триггер 2, элемент НЕ 3, первый элемент И 4, второй 5 и третий б триггеры, первый вых;;д 7, блок 8 дифференцировани , элемент ИЛИ 9, четвертый триггер 10, первый счетчик 11, второй регистр 12 параллельной записи, блок 13 сравнени , второй счетчик 14, второй элемент И 15, генератор 16 тактовых импульсов, первый регистр 17 сдвига и второй выход 18.The decoder (Fig. 1) has an input 1, the first trigger 2, the element NOT 3, the first element AND 4, the second 5 and the third one triggers, the first output ;; d 7, the differentiation unit 8, the element OR 9, the fourth trigger 10, the first a counter 11, a second parallel-write register 12, a block 13 of comparison, a second counter 14, a second element 15, a clock generator 16, a first shift register 17, and a second output 18.

Принцип работы декодера основан на выделении из выходного сигнала с определенным форматом информационных и тактовых импульсов. Декодер измер ет половину первого тактового интервала сигнала и по измеренному значению воспроизводит импульсы, по частоте и фазе совпадающие с тактовы ми импульсами кодера.The principle of operation of the decoder is based on the selection of information and clock pulses from the output signal with a specific format. The decoder measures half of the first clock signal interval and, using the measured value, reproduces pulses that coincide in frequency and phase with the clock pulses of the encoder.

Декодер работает следующим образом .The decoder works as follows.

При отсутствии на входе.1 входного сигнала декодер устанавливаетс  в исходное состо ние. При этом счетчик -14 выходным сигналом блокирует триггер 10 по R-входу и по входу управлени  выключает блок 13 сравнени . Первый 2 и второй 5 триггеры обнулены и готовы к приему информации по С-входам, Нулевой сигнал с пр мого выхода триггера 2 блокирует элемент И 4. Регистр 12 параллельной записи находитс  в состо нии запрета записи. Счетчик 11 последовательно считает по отрицательному фронту импульсы генератора 16.If there is no input on input. 1, the decoder is reset. In this case, the output counter -14 blocks the trigger 10 at the R input and shuts down the comparison unit 13 at the control input. The first 2 and second 5 triggers are set to zero and are ready to receive information on the C-inputs. The zero signal from the direct output of the trigger 2 blocks And 4. The parallel register 12 is in the prohibitory recording state. The counter 11 sequentially counts on a negative front the pulses of the generator 16.

На фиг.2а, б, в показано формирование кода Манчестер-2 форматом в 8 ;бит в кодере. Единичный бит сигнала , принимаемый в первом тактовомOn fig.2a, b, c, the formation of a Manchester-2 code in the format of 8; bits in the encoder is shown. Single bit signal received in the first clock

0 „ 0 „

00

с with

00

интервале,  вл етс  стартовым битом. В момент времени t0 стартовый бит кода поступает на вход 1 декодера (фиг.2в и За). Положительный фронт сигнала опрокидывает триггер 2 (фиг.2к) и единичный сигнал с его пр мого выхода поступает на второй вход элемента И 4. Одновременно продифференцированный фронт сигнала через элемент ИЛИ 9 сбрасывает счетчик 11 в нулевое состо ние (фиг.Зб, г). Триггер 10 при этом не реагирует на сигнал по С-входу, так как блокирован сигналом с выхода счетчика 14. Счетчик 11 начинает считать тактовые импульсы (фиг.Зв, г) генератора 16. В момент времени t1, соответствующий половине тактового интервала, на входе 1 устанавливаетс  низкий уро- вень, который через элемент НЕ 3 не открывает элемент И 4. С выхода элемента И 4 единичный сигнал (фиг.Зд) разрешает по входу управлени  запись в регистр 12, а также обнул ет счетчик 14. Сигнал с выхода счетчика 14 (фиг.2д) разрешает работу по С.-вхо- ду триггера 10 и по входу управлени  включает блок 13 сравнени . Регистр 12 по положительному фронту тактового импульса генератора 16 переписывает на содержимое счетчика 1 1 (фиг.Зз). По этому же тактовому импульсу блок 13 сравнени  выдает сигнал равенства (фиг.Зе) выходных значений счетчика 11 и регистра 12. Этот сигнал через элемент ИЛИ 9 обнул ет счетчик 11 и опрокидывает по С-входу триггер 10. Нулевой сигнал с инверсного триггера 10 закрывает элемент И 4. Тем самым запрещаетс  дальнейша  запись в регистр 12 и снимаетс  блокировка со счетчика 14 (фиг.Зд).interval, is the start bit. At time t0, the start bit of the code is fed to the input 1 of the decoder (Figure 2b and Over). The positive signal front overturns trigger 2 (Fig. 2k) and a single signal from its direct output goes to the second input of element 4. At the same time, a differentiated front of the signal through element 9 or 9 resets counter 11 to the zero state (Fig. 3b, d). The trigger 10 does not react to the signal at the C-input, as it is blocked by the signal from the output of the counter 14. The counter 11 starts counting the clock pulses (FIG. D, d) of the generator 16. At time t1, corresponding to half the clock interval, at the input 1 a low level is set which, through the NOT 3 element, does not open the AND 4 element. From the output of the AND element 4, a single signal (FIG. 10) allows the control input to write to the register 12, and also zero the counter 14. The output signal from the counter 14 (fig.2d) allows work on the S. -input trigger 10 and the input control laziness includes comparing unit 13. Register 12 on the positive edge of the clock pulse of the generator 16 rewrites the contents of the counter 1 1 (fig.Z3). By the same clock pulse, the comparator unit 13 generates an equal signal (FIG. Ze) of the output values of counter 11 and register 12. This signal, through the OR 9 element, twists the counter 11 and overturns the trigger 10 via the C input. A zero signal from the inverse trigger 10 closes the element AND 4. Thus, further writing to the register 12 is prohibited and the lock is removed from the counter 14 (Fig. 3).

Временное положение сигнала сравнени  сдвигаетс  на один такт частоты генератора 16 относительно фронта тактовой частоты кодера, но это несоответствие не будет накапливатьс  из такта в такт, так как начальное состо ние счетчика 11 периодически корректируетс  положительными фронтами сигнала с шины устройства. iThe time position of the comparison signal is shifted by one clock of the frequency of the generator 16 relative to the clock edge of the encoder, but this discrepancy will not accumulate from the clock to the clock because the initial state of the counter 11 is periodically corrected by positive edges of the signal from the device bus. i

Таким образом, в регистре 12 фиксируетс  код, соответствующий во временной области половине периода тактовой частоты кодера. Этот код хранитс  до окончани  декодировани Thus, in register 12, a code is fixed, corresponding in the time domain to half the period of the encoder clock frequency. This code is stored until decoding is completed.

последнего бита информации входного сигнала.last bit of input information.

После обнулени  сигналом сравнени  счетчик 11 начинает новый счет с момента времени t,, (фиг.Зг). В момент времени t2 проходит положительный фронт сигнала с входа 1, обнул е счетчик 11 и одновременно по С-входу опрокидывает триггер 2 (фиг.Зж). В дальнейшем данный цикл повтор етс . Счетчик 11 обнул етс  положительными ф ронтами сигнала с входа 1, а если их в соответствующем интервале нет, то сигналами с выхода блока 13 сравнени .After zeroing with the comparison signal, the counter 11 starts a new counting from the moment of time t ,, (Fig. 3g). At time t2, the positive edge of the signal from input 1 passes, zeroing counter 11 and simultaneously triggering trigger 2 at the C-input (FIG. ZJ). In the following, this cycle is repeated. Counter 11 is zeroed by the positive fronts of the signal from input 1, and if there are none in the corresponding interval, then signals from the output of comparison unit 13.

На С-входы триггера 10 поступают короткие импульсы, соответствующие фронтам тактовых импульсов кодера кода Манчестер-2 (фиг.2а, г). На выходе триггера 10 формируетс  восстановленна  тактова  частота кодера (фиг.2е). С выхода К-го разр да регистра 17 на R-входы триггера 2 иOn the C-inputs of the trigger 10 receives short pulses corresponding to the edges of the clock pulses of the encoder code Manchester-2 (Fig.2A, g). At the output of the trigger 10, the recovered encoder clock frequency is generated (Fig. 2e). From the output of the K-th bit of register 17 to the R-inputs of trigger 2 and

5поступает восстановленна  частота, сдвинута  на К-тактов частоты генератора 16 (фиг.2ж).5, the recovered frequency is received, shifted by K-cycles of the frequency of the generator 16 (FIG. 2g).

Эти импульсы разрешают работу тригеров 2 и 5 только по фронтам, наход щимс  в центре тактового интервала С выхода элемента И 15 на выход 18 поступают синхронизирующие импульсы (фиг.2з), расположенные в середине декодированных информационных импульсов , поступающих с выхода триггеровThese pulses permit the operation of triggers 2 and 5 only on the fronts located in the center of the clock interval. From the output of the AND 15 element, the output 18 receives synchronizing pulses (Fig. 2h) located in the middle of the decoded information pulses coming from the output of the triggers.

6на выход 7 (фиг.2м). Сигнал с выхода триггера 6 соответствует исходному сигналу, за исключением стартового бита, который на выходе 7 идет нулевым уровнем.6 to exit 7 (FIG. 2m). The signal from the output of the trigger 6 corresponds to the original signal, with the exception of the start bit, which at output 7 goes to zero.

Счетчик 14 заполн етс  импульсами с инверсного выхода триггера 10. После приема 8-го импульса на его выходе в момент времени tj устанавлиThe counter 14 is filled with pulses from the inverse output of the trigger 10. After receiving the 8th pulse at its output at time tj,

Claims (1)

Формула изобретени  Декодер, содержащий первый - тре50Claims of the Invention A decoder containing the first one - tre50 мент НЕ, тактовый вход первого триггера объединен с входом элемента НЕ и  вл етс  входом декодера, выход элемента НЕ соединен с тактовым входом второго триггера, инверсный вываетс  единичный сигнал, блокирующий по R-входу триггер 10 и по входу тий триггеры, первый элемент И, эле- управлени  блок 13 сравнени  (фиг.2д). После этого декодер готов к приему следующей информационной посылки, начинающейс  в первом такте с единичного стартового бита.the HE is not, the clock input of the first trigger is combined with the input of the element NOT and is the decoder input, the output of the element is NOT connected to the clock input of the second trigger, the inverse is outputted by a single signal that blocks the trigger 10 for the R input and the input for the trigger I, control unit 13 comparison (fig.2d). After that, the decoder is ready to receive the next information packet, starting in the first clock cycle from a single start bit. Декодер позвол ет регулировать форматы декодируемых информационных посылок длиной 4, 8, 16, 32 и т. д. бит. Дл  этого выходной сигнал счетчика 14 снимаетс  с соответствующих разр дов: 4, 8, 16, 32 и т. д.The decoder allows you to adjust the formats of decoded data packets with a length of 4, 8, 16, 32, etc. bits. For this, the output of counter 14 is taken from the corresponding bits: 4, 8, 16, 32, and so on. На временных диаграммах (фиг.З) показан пример измерени  тактовогоThe time diagrams (FIG. 3) show an example of measuring the clock ход которого соединен с входом установки в 1 третьего триггера и информационным входом первого триггера , инверсный выход которого сое- 55 динен с информационным входом второго триггера и входом установки вthe stroke of which is connected to the installation input to 1 of the third trigger and the information input of the first trigger, the inverse output of which is connected to the information input of the second trigger and the installation input to О третьего триггера, выход которого  вл етс  первым выходом декодера,About the third trigger, the output of which is the first output of the decoder, ОABOUT интервала при частоте генератора 16 в 12 раз больший тактовой частоты исходного кодированного сигнал а. Однако дл  уверенной работы декодера необходимо , чтобыinterval when the oscillator frequency 16 is 12 times the clock frequency of the original encoded signal a. However, for a confident decoder to work, it is necessary that F6/F MOIKC 20,F6 / F MOIKC 20, где F - тактова  частота генератора 1 6;where F is the clock frequency of the generator 1 6; Р,„п- максимальна  тактова  частота кодировани  сигнала. Нижн   частота входного сигнала определ етс  разр дностью счетчика 11P, „p - maximum clock frequency of coding the signal. The lower frequency of the input signal is determined by the counter size 11 F-. , JLF-. Jl 5 «кн 2 n „5 "kn 2 n„ Динамический диапазон, перекрываемый декодером, равенThe dynamic range overlaid by the decoder is F D -F D - F,F, s мs m 0,1 2 0.1 2 S ми «S mi например, если Fu 1 МГц, п 14,for example, if Fu is 1 MHz, p 14, то Г5 Meitt 50 кГц, F,then G5 Meitt 50 kHz, F, 30 Гц. 30 Hz. Таким образом,, декодер позвол ет декодировать сигналы, поступающие от различных объектов, наход щихс  на разном рассто нии и имеющих различную скорость передачи. При этом отсутствует необходимость в дополнительных регулировках и переключени х . Декодер подстраиваетс  автоматически к любой тактовой частоте входного сигнала из перекрываемого динамического диапазона, В случа х, когда по каким-то дестабилизирующим факторам генератор какого-нибудь кодера измен ет свою частоту, но продолжает работу, декодер обеспечивает надежное декодирование на новой частоте.Thus, a decoder allows decoding signals from different objects at different distances and having different transmission rates. At the same time, there is no need for additional adjustments and switching. The decoder adjusts automatically to any clock frequency of the input signal from the overlapped dynamic range. In cases when, for some destabilizing factors, the generator of some encoder changes its frequency but continues to work, the decoder provides reliable decoding at the new frequency. Формула изобретени  Декодер, содержащий первый - треClaims of Invention A decoder containing a first - three мент НЕ, тактовый вход первого триггера объединен с входом элемента НЕ и  вл етс  входом декодера, выход элемента НЕ соединен с тактовым входом второго триггера, инверсный вытий триггеры, первый элемент И, эле- the ment is NOT, the clock input of the first trigger is combined with the input of the element NOT and is the decoder input, the output of the element is NOT connected to the clock input of the second trigger, the inverse of the trigger, the first element AND ход которого соединен с входом установки в 1 третьего триггера и информационным входом первого триггера , инверсный выход которого сое- динен с информационным входом второго триггера и входом установки вthe stroke of which is connected to the setup input to 1 of the third trigger and the information input of the first trigger, the inverse output of which is connected to the information input of the second trigger and the installation input to О третьего триггера, выход которого  вл етс  первым выходом декодера,About the third trigger, the output of which is the first output of the decoder, отличающийс  тем, что, с целью расширени  области применени  декодера за счет автоматической подстройки к изменению тактовой частоты входного сигнала, в него введены блок дифференцировани , элемент ИЛИ, счетчики, генератор тактовых импульсов, регистры, блок сравнени , четвертый триггер и второй элемент И вход блока дифференцировани  подключен -к входу декодера, выход блока дифференцировани  соединен с первым входом элемента ИЛИ, выход которого соединен с установочным входом первого счетчика и тактовым входом четвертого триггера, пр мой выход которого соединен с информационным входом первого регистра, выход которого соединен с первым входом второго элемент И и установочными входами первого if второго триггеров , пр мой выход первого триггера соединен с первым входом первого элемента И, второй вход которого подключен к выходу элемента НЕ, вы14748526characterized in that, in order to expand the scope of the decoder by automatically adjusting to changing the clock frequency of the input signal, a differentiation unit, an OR element, counters, a clock generator, registers, a comparison block, a fourth trigger and a second element are entered into it And the block input differentiation is connected to the input of the decoder, the output of the differentiation unit is connected to the first input of the OR element, the output of which is connected to the installation input of the first counter and the clock input of the fourth trigger, forward The second output is connected to the information input of the first register, the output of which is connected to the first input of the second element AND and the installation inputs of the first if second trigger, the direct output of the first trigger is connected to the first input of the first element AND, the second input of which is connected to the output of the element HE, you 14748526 ход первого элемента И соединен с управл ющим входом второго регистра и установочным входом второго счетчика , выход которого соединен с управл ющим входом блока сравнени  и установочным входом четвертого триггера, инверсный выход которого соединен с третьим входом первого элемента И, тактовым входом второгоthe stroke of the first element I is connected to the control input of the second register and the installation input of the second counter, the output of which is connected to the control input of the comparator unit and the installation input of the fourth trigger, the inverse output of which is connected to the third input of the first element I, the clock input of the second 10ten 1515 2020 счетчика, информационным входом четвертого триггера и вторым входом -второго элемента И, выход которого  вл етс  вторым выходом декодера, выход генератора тактовых импульсов соединен с тактовыми входами первого , второго регистров, блока сравнени  и первого счетчика, выходы которого соединены с соответствующими первыми информационными входами блока сравнени  и информационными входами второго регистра, выходы которо го соединены с соответствующими вторыми информационными входами блока сравнени , выход которого соединен с вторым входом элемента ИЛИ.the counter, the information input of the fourth trigger and the second input of the second AND element whose output is the second output of the decoder, the output of the clock generator is connected to the clock inputs of the first, second registers, the comparison unit and the first counter whose outputs are connected to the corresponding first information inputs of the block comparison and information inputs of the second register, the outputs of which are connected to the corresponding second information inputs of the comparison unit, the output of which is connected to the second Odom OR element. ход первого элемента И соединен с управл ющим входом второго регистра и установочным входом второго счетчика , выход которого соединен с управл ющим входом блока сравнени  и установочным входом четвертого триггера, инверсный выход которого соединен с третьим входом первого элемента И, тактовым входом второгоthe stroke of the first element I is connected to the control input of the second register and the installation input of the second counter, the output of which is connected to the control input of the comparator unit and the installation input of the fourth trigger, the inverse output of which is connected to the third input of the first element I, the clock input of the second 5five 00 счетчика, информационным входом четвертого триггера и вторым входом -второго элемента И, выход которого  вл етс  вторым выходом декодера, выход генератора тактовых импульсов соединен с тактовыми входами первого , второго регистров, блока сравнени  и первого счетчика, выходы которого соединены с соответствующими первыми информационными входами блока сравнени  и информационными входами второго регистра, выходы которого соединены с соответствующими вторыми информационными входами блока сравнени , выход которого соединен с вторым входом элемента ИЛИ.the counter, the information input of the fourth trigger and the second input of the second AND element whose output is the second output of the decoder, the output of the clock generator is connected to the clock inputs of the first, second registers, the comparison unit and the first counter whose outputs are connected to the corresponding first information inputs of the block comparison and information inputs of the second register, the outputs of which are connected to the corresponding second information inputs of the comparison unit, the output of which is connected to the second Odom OR element. ЯНллЯЯЯ гYanlyaya i I «-I 0i I «-I 0 ШSh I . II. I timtim t 9t 9 t ж 3t f 3 кto 4four .V/ itf.V / itf гg
SU874288255A 1987-07-21 1987-07-21 Decoder SU1474852A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU874288255A SU1474852A1 (en) 1987-07-21 1987-07-21 Decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU874288255A SU1474852A1 (en) 1987-07-21 1987-07-21 Decoder

Publications (1)

Publication Number Publication Date
SU1474852A1 true SU1474852A1 (en) 1989-04-23

Family

ID=21320992

Family Applications (1)

Application Number Title Priority Date Filing Date
SU874288255A SU1474852A1 (en) 1987-07-21 1987-07-21 Decoder

Country Status (1)

Country Link
SU (1) SU1474852A1 (en)

Non-Patent Citations (1)

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

Similar Documents

Publication Publication Date Title
JPH05244145A (en) Variable timing signal generating circuit
JPS57173230A (en) Phase synchronizing circuit
GB1456453A (en) Phase locked oscillators
JPS54151321A (en) Write-in inhibit control circuit in frame synchronizer
SU1474852A1 (en) Decoder
JPH0157539B2 (en)
US4213688A (en) Automatic exposure time control apparatus for camera
SU1758846A1 (en) Reference frequency generator
SU1529443A1 (en) Multidigit controllable frequency divider
SU1177792A1 (en) Device for measuring time intervals
JP2658126B2 (en) Input frequency generator
SU1125760A2 (en) Device for synchronizing binary signals in channels with permanent predominance
SU1005295A1 (en) Coder-decoder
SU1184105A1 (en) Clock device
SU951681A1 (en) Pulse delay device
JP2535393B2 (en) Sync signal detection circuit
SU966660A1 (en) Device for measuring short pulse duration
KR870001231B1 (en) Arrangement for starting electric motor
KR900002624A (en) Clamp Pulse Writing Circuit
JP2751569B2 (en) Retiming circuit
SU1149233A1 (en) Timer
SU999022A1 (en) Device for controlling driving stepping motor
SU917172A1 (en) Digital meter of time intervals
SU702535A1 (en) Device for clocking start-stop systems for transmission of descrete data
SU1083388A1 (en) Device for shaping sync pulses