SU1654826A1 - Device for checking signal sequences - Google Patents
Device for checking signal sequences Download PDFInfo
- Publication number
- SU1654826A1 SU1654826A1 SU894667411A SU4667411A SU1654826A1 SU 1654826 A1 SU1654826 A1 SU 1654826A1 SU 894667411 A SU894667411 A SU 894667411A SU 4667411 A SU4667411 A SU 4667411A SU 1654826 A1 SU1654826 A1 SU 1654826A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- group
- inputs
- outputs
- output
- encoder
- Prior art date
Links
Abstract
Изобретение относитс к вычислительной технике и может быть использовано дл контрол последовательности прохождени сигналов в различных автоматизированных системах управлени и устройствах автоматики. Отличительной особенностью устройства вл етс то, что оно позвол ет выдавать во внешние цепи код сигнала, на котором произошла ошибка. Это дает возможность локализовать место неисправности и сократить врем поиска несправных элементов . Целью изобретени вл етс расширение функциональных возможностей за счет выдачи кода сигнала, на котором произошла ошибка. 1 табл. 6 ил.The invention relates to computing and can be used to control the sequence of signals in various automated control systems and automation devices. A distinctive feature of the device is that it allows to issue the signal code on which the error occurred to external circuits. This makes it possible to localize the location of the fault and shorten the time for searching for faulty elements. The aim of the invention is to extend the functionality by issuing a signal code on which an error has occurred. 1 tab. 6 Il.
Description
1 Изобретение относитс к вычислительной технике и может быть использовано дл контрол последовательности прохождени сигналов в различных автоматизированных системах управлени и устройствах автоматики.1 The invention relates to computing and can be used to control the sequence of signals in various automated control systems and automation devices.
Цель изобретени - расширение функциональных возможностей за счет выдачи кода сигнала, на котором произошла ошибка.The purpose of the invention is to extend the functionality by issuing a signal code on which an error occurred.
На фиг. 1 приведена функциональна схема устройства, на фиг. 2 - функциональна схема первого шифратора; на фиг. 3 - функциональна схема формирователей импульсов, на фиг. 4 - функциональна схема второго шифратора , на фиг. 5 - функциональна схема коммутатора, на фиг. 6 - временна диаграмма.FIG. 1 shows a functional diagram of the device; FIG. 2 - the functional scheme of the first encoder; in fig. 3 is a functional diagram of pulse shapers; FIG. 4 is a functional diagram of the second encoder; FIG. 5 is a functional diagram of the switch; FIG. 6 - time diagram.
Устройство содержит шифратор 1, группу 2 из п регистров, регистр J числа контролируемых сигналов, группуThe device contains the encoder 1, group 2 of p registers, register J of the number of monitored signals, group
4 формирователей импульсов,шифратор 5, коммутатор 6, блок 7 сравнени , элемент ИЛИ 8, блок 9 сравнени , формирователь 10 импульсов, элементы 11 и 12 задержки, счетчик 13, элемент riri 14, группу 15 элементов И, группу 16 входов контролируемых сигналов, группы 17 входов номеров контролируемых последовательностей, группу 18 .входов числа контролируемых сигналов, группу 19 выходов номера контролируе- последовательности и выход 20 -шибки устройства.4 pulse shapers, encoder 5, switch 6, comparison block 7, element OR 8, comparison block 9, pulse shaper 10, delay elements 11 and 12, counter 13, riri element 14, group 15 of elements And, group 16 of inputs of monitored signals, groups of 17 inputs of controlled sequence numbers, a group of 18. inputs of the number of monitored signals, a group of 19 outputs of a controlled-sequence number and an output of a 20-device error.
Шифратор 1 содержит (дл варианта п 5) группу 21 элементов И, группу 22 триггеров, группу 23 элементов И, группу 24 элементов И, группу 25 элементов НЕ и группу 26 элементов ИЛИ.The encoder 1 contains (for option n 5) a group of 21 elements AND, a group of 22 triggers, a group of 23 elements AND, a group of 24 elements AND, a group of 25 elements NOT and a group of 26 elements OR.
Регистры кодов номеров контролируемых сигналов содержат Iog2n разр дов каждый. При этом в регистр сThe number code registers of the monitored signals contain Iog2n bits each. In this case, the register with
ОABOUT
елate
-U-U
номером 1 записываетс код номера сигнала следующего первым в последовательности , в регистр с номером 2 - следующего вторым и т.д.Number 1 records the code of the signal number of the next signal first in the sequence, in register number 2 the next second, and so on.
Регистр кода числа сигналов в последовательности содержит (log2n-H) разр дов.The number of signals in the sequence code register contains (log2n-H) bits.
Формироватепи 4 импульсов содержат элемент НЕ 27, элемент 28 задержки и элемент И 29.The shape of the 4 pulses contains a HE element 27, a delay element 28 and an AND element 29.
Шифратор 5 осуществл ет преобразог вание позиционного кода в двоичный код и содержит (дл варианта на восемь входов) элементы ИЛИ-НЕ 30, элемен- ты ИЛИ 31, элемент НЕ 32 и элемент И 33,The encoder 5 converts the positional code into a binary code and contains (for the eight-input version) the elements OR-NOT 30, the elements OR 31, the element NOT 32 and the element AND 33,
Коммутатор 6 содержит мультиплексоры 34.Switch 6 contains multiplexers 34.
Счетчик 13 содержит(log n-M) разр дов .Counter 13 contains (log n-M) bits.
Устройство работает следующим образом .The device works as follows.
В исходном состо нии триггеры 22 шифратора 1, регистры 2 ,-2, 3 и счетчик 13 наход тс в нулевом состо нии (цепи сброса при включении не показаны ) . Перед началом работы в регистры по входам 17 занос тс коды контролируемых сигналов, причем в регистр 2 j заноситс код сигнала следующего первым в последовательности , в 2 2 следующего вторым и т„д0 При этом сигналу, поступающему по входу 16, с номером 1 соответствует код 0...000, с номером 2 - 0...001, с но- мером 3 - 0...010 и т.д. В регистр 3 по входам 18 заноситс код числа контролируемых сигналов, причем контролируемой последовательности, содержащей один сигнал, соответствует код О ,„ „ 001, два сигнала - код 0... 010, три сигнала - 0...011 и т.д. Пусть задана последовательность сигналов 1,3,2,4,5 (). Тогда в регистры 2 {-2 у, записаны соответствующие коды (2,-0...000, 22 0...010, 23 - 0...00 24- 0...011, 2ff- 0...100).In the initial state, the triggers 22 of the encoder 1, the registers 2, -2, 3 and the counter 13 are in the zero state (the power-on reset circuits are not shown). Before starting work, the codes of the monitored signals are entered into the registers at the inputs 17, and the signal of the next signal first in the sequence is entered in register 2 j into 2 2 next with the second signal and m = 0 At this, the signal received at input 16 with number 1 corresponds to 0 ... 000, with the number 2 - 0 ... 001, with the number 3 - 0 ... 010, etc. In register 3, the inputs 18 contain the code of the number of monitored signals, and the monitored sequence containing one signal corresponds to the code О, „„ 001, two signals - code 0 ... 010, three signals - 0 ... 011, etc. . Let the sequence of signals be 1,3,3,4,5 (). Then the registers 2 {-2 y, the corresponding codes are written (2, -0 ... 000, 22 0 ... 010, 23 - 0 ... 00 24- 0 ... 011, 2ff- 0 ... 100).
В регистрV3 записан код 0...0101, Первым в контролируемой последовательности поступает сигнал 1, при этом триггер 22 в шифраторе 1 устанавливаетс в единичное состо ние, открыва элемент И 23, так как на остальных входах этого элемента присутствуют логические 1 с входов элементов |НЕ 25 - НЕ 25,, о Сигнал низкого уровн с инверсного выхода триггера 22 закрывает остальные элементы И 23г In the register V3, the code 0 ... 0101 is written. The first signal in the monitored sequence is signal 1, while the trigger 22 in the encoder 1 is set to one state, opening AND 23, since the remaining inputs of this element contain logical 1 from the element inputs | NOT 25 - NOT 25 ,, o The low level signal from the inverse output of the trigger 22 closes the remaining elements AND 23g
00
Q Q
; ;
5 5 , 5 5,
- 55 40- 55 40
И 23 п, На выходе элемента ИЛИ 261 шифратора I по вл етс сигнал высокого уровн , который становитс на самоблокировку через элемент И 24,. Самоблокировка необходима дл отработки текущих сигналов при поступлении очередных сигналов до прихода тактовых импульсов (ТИ, фиг. 2), при этом по этому сигналу (в нашем случае это сигнал с номером 3) триггер 22 5 устанавливаетс в единичное состо ние, то на выходе 26ч сигнал высокого уровн отсутствует, так как И 23 $ закрыт низким уровнем с нулевого выхода 22,. На информационных выходах шифратора 5 по вл етс код 000, а на управл ющем выходе - сигнал высокого уровн . При этом к коммутатору 6 подключен регистр 2, так как на управл ющих вхо- цах коммутатора 6 присутствует нулевой код от счетчика 13. В блоке 9 сравнени происходит сравнение кодов от шифратора 5 и регистра 215на еговыхо-- де присутствует высокий уровень, который через элемент НЕ 14 закрывает элементы И 15| и сигнал Ошибка и код номера сигнала не формируютс .And 23 p. A high level signal appears at the output of the encoder element OR 261 of the encoder I, which becomes self-blocking through the And 24, element. Self-blocking is necessary for practicing the current signals when the next signals arrive before the arrival of the clock pulses (TI, Fig. 2), while the signal (in our case, the signal with number 3) triggers 22 5 is set to one, then at 26h there is no high level signal, since AND $ 23 is closed low from zero output 22 ,. A code 000 appears at the information outputs of the encoder 5, and a high level signal appears at the control output. In this case, register 2 is connected to switch 6, since the control inputs of switch 6 contain the zero code from counter 13. In comparison block 9, the codes from encoder 5 and register 215 are compared to its high level, which NOT 14 closes elements AND 15 | and the signal Error and the signal number code are not generated.
Одновременно по высокому уровню с возбужденного выхода шифратора 1 формируетс тактовый импульс, который через элемент ИЛИ 8 и элемент 12 задержки производит установку счетчика 13 в следующее состо ние (0...001) и сброс триггера 22 через элемент И 21,, шифратора 1. Врем задержки элемента 12 определ етс временем устойчивого срабатывани логических элементов устройства. Устройство переходит к обработке очередного сигнала с номером 3, при этом на выходе „ элемента ИЛИ 26 шифратора 1 по вл етс высокий уровень, так как элемент И 23з открываетс высокими уровн ми с нулевого выхода триггера 22 и единичного выхода триггера 22,. Сигнал на выходе ИЛИ 26 становитс на самоблокировку через элемент И 24 и через элемент НЕ 25 закрывает элементы И 23 1 и 23. Кроме того, элементы И 23 л - 24 закрыты низким уровнем с нулевого выхода триггера 22 . На информационных выходах шифратора 5 по вл етс код 010, поступающий на входы блока 9 сравнени . К другим входам блока 9 сравнени через коммутатор 6 подключен регистр 2g, так как на управл ющих входах коммутатора 6 присутствует код 0...001 отAt the same time, a clock pulse is generated at a high level from the excited output of the encoder 1, which through the element OR 8 and the delay element 12 sets the counter 13 to the next state (0 ... 001) and resets the trigger 22 through the element 21, encoder 1. The delay time of element 12 is determined by the sustained response time of the logic elements of the device. The device proceeds to processing the next signal with number 3, while the output of the element OR 26 of the encoder 1 appears high, since the element AND 23z is exposed to high levels from the zero output of the trigger 22 and the single output of the trigger 22 ,. The signal at the output OR 26 becomes self-blocking through the AND 24 element and through the NOT 25 element closes the AND 23 1 and 23 elements. In addition, the AND 23 L - 24 elements are closed low from the zero output of the trigger 22. At the information outputs of the encoder 5, code 010 arrives at the inputs of block 9 of the comparison. The other inputs of the comparison unit 9 through the switch 6 are connected to the register 2g, since the control inputs of the switch 6 contain the code 0 ... 001 from
счетчика 13. На выходе блока 9 сравнени присутствует высокий уровень и сигнал высокого уровн с третьего . выхода шифратора 1 поступает на соот- , ветствуюший формирователь импульсов в ;в блоке 4, где формируетс импульс, который через элемент ИЛИ 8 и элемент 12 задержки производит установку счетчика 13 в следующее состо ние (0...010) и сброс триггера 223 через элемент И 21 шифратора 1. Далее процесс повтор етс дл остальных сигшшов контролируемой последовательности до того момента, когда счетчик 13 примет состо ние, равное коду, записанному в регистре 3 (0...0101).Это происходит з тот момент, когда будет обработан п тый сигнал контролируемой последовательности и сформированный тактовый импульс сбросит триггер 225 в шифраторе 1 в нулевое состо ние . Все выходы шифратора t остаютс в нулевом состо нии, при этом шифратор 5 снимает управл ющий сигнал, отключа коммутатор 6. Одновременно срабатывает блок 7 сравнени , на выходе которой по вл етс сигнал высокого уровн , по переднему фронту которого формируетс импульс, который через элемент 11 задержки производит сброс счетчика 13 и регистров 2{- 2п и 3. Устройство готово к контролю следующей последовательности сигналов В случае, если происходит нарушение последовательности сигналов (например , вместо сигнала 3 по вл етс сиг- нал 2),то срабатывает блок 9 сравне- ни ;на-выходе которого низкий уровень Этот уровень через элемент НЕ 14 поступает на шину 20 Ошибка и открывает группу элементов И 15(- И 15, и на выходах 18 присутствует код сигнала , на кот.ором происходит ошибка. Аналогично устройство работает при всех других нарушени х контролируемых сигналов .counter 13. At the output of comparator block 9, there is a high level and a high signal from the third. output of the encoder 1 is fed to a corresponding pulse generator in; in block 4, a pulse is formed which, through the OR 8 element and the delay element 12, sets the counter 13 to the next state (0 ... 010) and flips out the trigger 223 AND 21 of the encoder 1. Then the process is repeated for the remaining sigleshoes of the monitored sequence until the moment when the counter 13 takes a state equal to the code recorded in register 3 (0 ... 0101). This happens at the moment it is processed fifth monitored signal The spins and the generated clock pulse will reset trigger 225 in encoder 1 to the zero state. All outputs of the encoder t remain in the zero state, while the encoder 5 removes the control signal by turning off the switch 6. At the same time, the comparison unit 7 operates, at the output of which a high level signal appears, on the leading edge of which a pulse is generated, which through element 11 delays reset the counter 13 and registers 2 {-2p and 3. The device is ready to control the next sequence of signals. If a violation of the sequence of signals occurs (for example, a signal 2 appears instead of the signal 3), then Block 9 compares, on whose output a low level This level goes through the NOT 14 element to the bus 20 Error and opens a group of elements And 15 (- And 15, and on the outputs 18 there is a signal code on which the error occurs. Similarly, the device works with all other disturbances of monitored signals.
В таблице приведены соответстви входов 16 и кодов, заносимых в регистры 2,- 3..The table shows the correspondences of the inputs 16 and codes recorded in registers 2, - 3 ..
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894667411A SU1654826A1 (en) | 1989-03-27 | 1989-03-27 | Device for checking signal sequences |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894667411A SU1654826A1 (en) | 1989-03-27 | 1989-03-27 | Device for checking signal sequences |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1654826A1 true SU1654826A1 (en) | 1991-06-07 |
Family
ID=21436501
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU894667411A SU1654826A1 (en) | 1989-03-27 | 1989-03-27 | Device for checking signal sequences |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1654826A1 (en) |
-
1989
- 1989-03-27 SU SU894667411A patent/SU1654826A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 103080ч, кл. G 06 F 11/00, 1980. Авторское свидетельство СССР № 1229762, кл. G 06 F 11/00, 1983. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1654826A1 (en) | Device for checking signal sequences | |
SU1513440A1 (en) | Tunable logic device | |
SU1218386A1 (en) | Device for checking comparison circuits | |
SU1444744A1 (en) | Programmable device for computing logical functions | |
RU1839279C (en) | Frequency divider with variable rate scaling | |
SU1594548A1 (en) | Device for monitoring of processor addressing the memory | |
SU1425608A1 (en) | Device for extracting reversal signals | |
SU1444782A1 (en) | Device for shaping tests | |
SU1640822A1 (en) | Frequency-to-code converter | |
SU1522383A1 (en) | Digital pulse generator | |
SU1264206A1 (en) | Switching device for multichannel check and control systems | |
SU1737727A1 (en) | Controlled frequency divider with fractional division ratio | |
SU1642472A1 (en) | Device for checking the sequence of operatorъs actions | |
SU1295393A1 (en) | Microprogram control device | |
SU1501064A1 (en) | Device for monitoring pulse sequences | |
SU1539761A1 (en) | Information input device | |
SU1599900A2 (en) | Buffer storage | |
SU653747A2 (en) | Binary counter | |
SU1513463A2 (en) | Device for interfacing computer with communication channels | |
SU1115225A1 (en) | Code-to-time interval converter | |
SU1596460A1 (en) | Tracing a-d converter | |
SU1695266A1 (en) | Multichannel device for program-simulated control | |
SU1359904A1 (en) | Device for checking binary counters with consecutive input of information | |
SU1536365A1 (en) | Information input device | |
SU1493996A1 (en) | Device for output of data from computer |