Claims (2)
Недостаток известного генератора число переключателей коммутатора и св зей между ними велико и непропорционально возрастает с увеличением числа п, кроме того,необходимо применение определенного числа сумматоров по моду.гао два, которое растет с увеличением n, что уменьшает надежность генератора. Цель изобретени - повышение надежности генератора М-последовательностей . Она достигаетс тем, что в генератор М-последовательностей, содержащий генератор тактовых импульсов, выход которого подключен к тактирующеiviy входу разр дного регистра сдвига, Ьумматор по модулю два, в-него дополнительно введены п-кольцевой регистр сдвига, два элемента ИЛИ и три элемента И, причем выход первого элемента ИЛИ подключен ко входу п-разр дного регистра сдвига, тактирующие входы которого подключены к выходу ра тактовых импульсов, а выход соединен с первыми входами первого и второ го элементов И, второй вход второго элемента И подключен к выходу первого разр да кольцевого регистра сдвига, к первым входам сумматора по модулю два и TpeTbeir-o элемента И, выход которого подключен к первому входу первого эле мента ИЛИ, второй вход которого соединен с выходом второго элемента И, при этом выходы коммутатора соединены со входами второго элемента ИЛИ, выход которого подключен ко второму вхо ду первого элемента И, выход первого элемента И соединен со вторым входом сумматора по модулю два, выход которо го Подключен ко второму входу третьего элемента И, а третий вход суммато-; ра по модулю два соединен с выходом генератора тактовых импульсов. На чертеже предстайлена функциональна схема генератора М-последовательностей . Генератор содержит генератор I так товых импульсов, п-разр дный регистр 2. сдвига, кольцевой регистр 3 сдвига, коммутатор 4, элементы 5, 6, 7 И, эле менты 8, 9 ИЛИ, сумматор 10 по.модулю два) кЬторой может быть выполнен на элементе,И ИЛИ, элементах 12, 13 И и D-триггёре 14. Общий принцип работы устройства заключаетс в развертывании на врем формировани одного символа М-последо вательности предшествующих задержанных символов во временную .последовательную цепочку и последовательном суммировании по модулю два символов, позиции которых совпадают с временными позици ми логических синхрон ной с ней второй последовательности. Эта втора последовательность состоит из и О,- временные позиции которых соответствуют положению ненулевых и нулевых коэффициентов в полиноме задержки, представленном в двоичном виде. Устройство работает следующим обсазом . Перед началом работы во все ра-зр ды регистра 3, кроме первого (младшего ) , записаны О, и, например, во все разр ды регистра 2 .- , Сумматор 10 находитс в состо нии . Переключатели коммутатора 4, номера которых равны позиционным нго . мерам ненулевых коэффициентов полинома задержки, замкнуты. Значени первого по п-й разр д регистра 2 соответствуют значени м задержанных от одного до n тактов символов псевдослучайной последовательности. При подаче тактовых импульсов от генератора 1 на тактирующие входы регистров 2 и 3, на выходе регистра 2 по вл ютс , начина ; с п-го номера, символы и поступают на входы элементов 5 и 6 И. На инверсный управл ющий вход элемента 6 и сигналы с выхода регистра 3 не проход т в течение первых n тактов, поэтому он в это врем открыт дл прохождени символов. С выхода элемента 6 И символы поступают на первый вход элемента 8 ИЛИ и далее с выхода последней - иа вход регистра 2. Через -п тактов регистр 2 возвращаетс в первоначальное состо ние. Одновременно с , рассмотренным продвижением символов перемещаетс по регистру 3 , каж.дый такт по вл сь на одном из его выходов и опрашива соединенный с ним переключатель коммутатора 4. В случае замкнутого переключател эта проходит на вход элемента 9 ИЛИ, выполн ющий функцию сборки выходных сигналов коммутатора 4, далее с выхода элемента 9 ИЛИ поступает на управл ющий вход элемента 5 И и открывает его. В результате соответствующий символ с выхода элемента 5 И проходит на счетный вход сумматора 10. Через n тактов на сумматоре 10 формируетс новый символ псевдослучайной последовательности . В следующем n + 1 такте работы устройства с выхода регистра 3 поступает на инверсный управл ющий вход элемента б И, управл ющий вход элемента 7 и и входы элемента 11 ИЛИ и элемента 13 И сумматора 10, В результате элемент 6 И закрываетс и не пропускает с выхода на вход регистра 2 п-й символ, который таким образом стираетс . Элемент 7 И открываетс , и новый символ с его выхода поступает на второй вход элемента 8 ИЛИ, далее.с ВЕДхода последнего - на запись в первый разр д регистра 2, : в котором под действием n -ь 1 тактбвого импульса происходит сдвиг его , содержимого вправо на один разр д. Сумматор-10 сбрасываетс в нулевое состо ние. Логическа возвращаетс в первый разр д регистра 3 и на этрм заканчиваетс цикл формировани одного символа последовательности, алее работа устройства повтЬр е.тс по рассмотренному циклу. При данномконкретном выполнении сумматора 10 по модулю два генератор работает следуюгцим образом. С 1-го по п-и такт включительно йа инверсном входе элемента 13 И присутс сутствует логический о , вследетвие чего D-триггер 14 работает в счет ном режиме, выполн суммирование по модулю два информации, приход щей на его вход синхронизации с выхода . элемента 12 И. На первый вход элемента 12 И подаютс тактирующие импульсы от генератора 1, а на ее второй вход символы, поступишзие через элемент 5 И и элемент 11 ИЛИ с выхода регистра 2. На п + 1 такте с выхода регистра 3 поступает 1 на инверсный управл ющий вход элемента 6 И, на управл ю щий вход элемента 7 И и на входы элементов 11 ИЛИ-и -13 И сумматора 10. В результате закрываетс , элемент б И и происходит стирание содержимого старшего (1 - п) разр да регистра 2; открываетс элемент 7 И и результат сум мировани на предшествующих п тактах ,fновый символ последовательности) переписываетс с выхода D-триггера 14 через элемент 7 ИИ элемент 8 ИЛИ в первый разр д регистра 2; сбрасываетс в нулевое состо ние D-триггер 14. Таким образом генератор переходит в исходное состо ние следующего цикла формировани символа псевдослучайной последовательности. Формула изобретени Генератор И-последовательностей, содержапдай генератор тактовых импульсов , выход которого подключен к таксирующему входу разр дного регистра сдвига, сумматор по модулю два, отличающийс тем, что, с целью повышени надежности генератора, в Него дополнйТ1 Льно введены п-кольцевой регистр сдвига, два элемента ИЛИ и три элемента И, причем выход первого элемента ИЛИ подключен ко входу п-разр дного регистра сдвига, тактирующие входы которого подключены к выходу генератора тактовьис импульсов, а выход соединен с первыми входами первого и второго элементов И, второй вход второго элемента И подключен к выходу первого раЭр да кольцевого. (регистра сдвига, к первым входам сумматора по модулю два и элемента И, выг ход- которого подключен к первому : входу первого элемента ИЛИ, второй вход которого соединен с выходом второго элемента И, при этом выходы коммутатора соединены со входами второго элемента ИЛИ, выход которого подключен ко второму входу первого элемента И, выход первого элемента И соединен со вторым входом сумматора по модулю два, выход которого подключен ко второму входу третьего элемента И, а третий вход по модулю два соединен с выходом.генератора тактовых импульсов. Источники информации, прин тые во внимание при экспертизе 1.Авторское свидетельство СССР W 301834, кл. Н 03 К 3/84, 8.05.69. The disadvantage of the known generator is that the number of switches of the switch and the connections between them is large and disproportionately increases with increasing number n, moreover, it is necessary to use a certain number of modulators. Two of them increase with increasing n, which reduces the reliability of the generator. The purpose of the invention is to increase the reliability of the generator of M-sequences. It is achieved by the fact that a generator of clock pulses, the output of which is connected to the clock input of the bit shift register, the modulator two, is additionally entered into an n-ring shift register, two elements OR, and three elements AND , the output of the first element OR is connected to the input of the n-bit shift register, the clocking inputs of which are connected to the output of the clock pulses, and the output connected to the first inputs of the first and second elements, And the second input of the second element a AND is connected to the output of the first bit of the ring shift register, to the first inputs of the modulo two adder and TpeTbeir-o of the AND element, the output of which is connected to the first input of the first OR element, the second input of which is connected to the output of the second AND element, while the outputs the switch is connected to the inputs of the second element OR, the output of which is connected to the second input of the first element AND, the output of the first element AND is connected to the second input of the modulo two adder, the output of which is connected to the second input of the third element AND, and the third input about-; Modulo two is connected to the output of the clock generator. In the drawing, the functional diagram of the M-sequence generator is represented. The generator contains the generator I of such pulses, n-bit register 2. shift, ring register 3 shift, switch 4, elements 5, 6, 7 AND, elements 8, 9 OR, adder 10 across the module two) performed on the element AND AND OR, elements 12, 13 AND and the D-trigger 14. The general principle of operation of the device is to deploy at the time of formation of one character M-sequence of the preceding delayed characters in a temporary chain and successively modulo two characters, whose positions coincide with the time positions of logical second sequence synchronous with it. This second sequence consists of and O, whose temporary positions correspond to the position of nonzero and zero coefficients in the delay polynomial, represented in binary form. The device operates as follows. Before starting work, all resolutions of register 3, except the first (youngest), are recorded on O, and, for example, in all bits of register 2 .-, Adder 10 is in the state. Switches switch 4, the numbers are equal to the position ngo. measures of nonzero delay polynomial coefficients, closed. The values of the first in the nth position of register 2 correspond to the values of the delayed one to n clock ticks of the pseudo-random sequence symbols. When the clock pulses from the generator 1 to the clock inputs of registers 2 and 3, at the output of the register 2 appear, starting; From the nth number, the symbols and arrive at the inputs of elements 5 and 6 I. The inverse control input of element 6 and the signals from the output of register 3 do not pass during the first n cycles, therefore it is open for passing symbols at this time. From the output of element 6 AND, the characters arrive at the first input of element 8 OR, and then from the output of the last - and input to register 2. After -p cycles, register 2 returns to its original state. Simultaneously with the considered progress of the characters, it moves through register 3, each clock stroke appears on one of its outputs and interrogates the switch 4 connected to it. In the case of a closed switch, this is passed to the input of element 9 OR, which performs the function of assembling the output signals switch 4, then from the output of the element 9 OR enters the control input of the element 5 AND and opens it. As a result, the corresponding symbol from the output of element 5 I passes to the counting input of the adder 10. Through n clock cycles on the adder 10, a new symbol of a pseudo-random sequence is formed. In the next n + 1 cycle of operation of the device, the output of the register 3 enters the inverse control input of the element bI, the control input of the element 7 and the inputs of the element 11 OR and the element 13 And the adder 10, as a result, the element 6 And closes and does not pass The input to the register is the 2nd nth character, which is thus erased. Element 7 And opens, and a new character from its output goes to the second input of element 8 OR, next with the last input, to write to the first digit of register 2, in which under the action of the n-1 tact pulse, its shift occurs right one bit. The adder-10 is reset to the zero state. Logic returns to the first bit of register 3 and the cycle of forming a single character of the sequence ends, and then the device repeats itself over the considered cycle. With this particular implementation of the adder 10 modulo two, the generator operates as follows. From the 1st to the right clock cycle, inclusively, the inverse input of the element 13 And there is a logical o, after which the D-trigger 14 operates in the counting mode, modulo two information arriving at its sync input from the output. element 12 I. At the first input of element 12 I, clock pulses from generator 1 are sent, and at its second input, the characters arrive through element 5 AND and element 11 OR from the output of register 2. At the n + 1 clock cycle from the output of register 3 it enters 1 the inverted control input of element 6 AND, to the control input of element 7 AND and to the inputs of elements 11 OR-and -13 AND of the adder 10. As a result, the element b And closes the contents of the older (1 - n) register and 2; element 7A opens and the result of summing up on preceding steps, fnew symbol of the sequence) is rewritten from the output of the D flip-flop 14 via element 7 of the AI element 8 OR for the first register bit 2; D-trigger 14 is reset to the zero state. Thus, the generator returns to the initial state of the next pseudo-random symbol generation cycle. Claims An I-Sequence Generator containing a clock pulse generator, the output of which is connected to the tax input of the discharge shift register, a modulo two adder, characterized in that, in order to increase the reliability of the generator, the n-ring shift register is added to it, two OR elements and three AND elements, the output of the first OR element is connected to the input of the n-bit shift register, the clocking inputs of which are connected to the output of the pulse generator, and the output is connected to the first the inputs of the first and second elements And the second input of the second element And is connected to the output of the first paEr yes ring. (shift register, to the first inputs of the modulo two adder and the element I, the output of which is connected to the first: the input of the first element OR, the second input of which is connected to the output of the second element AND, while the outputs of the switch are connected to the inputs of the second element OR, output which is connected to the second input of the first element And, the output of the first element And is connected to the second input of the modulo two adder, the output of which is connected to the second input of the third element And, and the third input modulo two is connected to the output of the clock pulse generator Sources of information taken into account during the examination 1. Authorship certificate of the USSR W 301834, class H 03 K 3/84, 8.05.69.
2.Авторское свидетельство СССР № 3.75769, кл. Н 03 К 3/84, 19.04.71.2. USSR author's certificate number 3.75769, cl. H 03 K 3/84, 04.19.71.
748828748828