SU1474852A1 - Decoder - Google Patents
Decoder Download PDFInfo
- 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
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)
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) |
-
1987
- 1987-07-21 SU SU874288255A patent/SU1474852A1/en active
Non-Patent Citations (1)
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 |