SU1376075A1 - Device for input of information from two-position transducers - Google Patents
Device for input of information from two-position transducers Download PDFInfo
- Publication number
- SU1376075A1 SU1376075A1 SU864120655A SU4120655A SU1376075A1 SU 1376075 A1 SU1376075 A1 SU 1376075A1 SU 864120655 A SU864120655 A SU 864120655A SU 4120655 A SU4120655 A SU 4120655A SU 1376075 A1 SU1376075 A1 SU 1376075A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- trigger
- inputs
- information
- Prior art date
Links
Landscapes
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в автоматизированных системах управлени и контрол дл ввода информации о состо нии двухпозиционных датчиков в управл ющую ЭВМ. Цель изобретени - повышение быстродействи устройства. Устройство содержит генератор импульсов, мультиплексор, блок пам ти, элемент сравнени , три счетчика, семь триггеров , два элемента И-НЕ, п ть элементов И, элемент НЕ, блок элементов И-НЕ, одновибратор и элемент ИЛИ-НЕ. Устройство производит циклический опрос датчиков. Ввод информации происходит при вы влении изменени состо ни датчика. При этом циклический опрос прекращаетс , вьщаетс сигнал готовности в управл ющую ЭВМ, запускаетс работа схемы защиты от дребезга ЭВМ и производитс считывание информации параллельно с работой схемы защиты от дребезга. Устройства имеет режим начальной установки. 1 ил. (ЛThe invention relates to automation and computing and can be used in automated control and monitoring systems for entering information about the state of two-position sensors into a control computer. The purpose of the invention is to increase the speed of the device. The device contains a pulse generator, a multiplexer, a memory unit, a reference element, three counters, seven triggers, two AND-NOT elements, five AND elements, an NOT element, a AND-NOT element block, a one-shot and an OR-NOT element. The device performs a cyclic survey of sensors. Information is entered when detecting a change in sensor state. In this case, the cyclic interrogation is terminated, the readiness signal is inserted into the control computer, the operation of the computer chatter protection circuit is started and the information is read in parallel with the operation of the chatter protection circuit. The device has an initial installation mode. 1 il. (L
Description
оо oo
ОдOd
о about
СПSP
Изобретение относитс к вычислительной технике и автоматике и может быть использовано в автоматизирован- ньпс системах управлени и контрол дл ввода информации о состо нии двух- позиционньгх датчиков в управл ющую ЭВМ.The invention relates to computing and automation and can be used in automated control and monitoring systems for entering information about the state of two-position sensors into a control computer.
Цель изобретени - повышение быстродействи устройства.The purpose of the invention is to increase the speed of the device.
На чертеже представлена функциональна схема устройства.The drawing shows the functional diagram of the device.
Устройство дл ввода информации от двухпозиционньпс датчиков содержит генератор 1 импульсов, первьй элемент И-НЕ 2, первый счетчик 3, первый элемент И 4, вход 5 начальной установки устройства, первый триггер 6, блок элементов И-НЕ 7, второйThe device for entering information from two-position sensors contains a pulse generator 1, the first element AND-NOT 2, the first counter 3, the first element AND 4, the input 5 of the initial installation of the device, the first trigger 6, the block of elements AND-NOT 7, the second
В режим начальной установки устройство переходит при подаче импульса (логический О) на вход 5. При этом первый триггер 6 устанавливаетс в единичное, а первый счетчик 3 - в нулевое состо ние. Тактовые импульсы с выхода генератора 1 импульсов через первый элемент И-НЕ 2, открытый по -другому входу с инверсного выхода второго, триггера 10, поступают на счетчик 3, работающий в режиме суммировани , а также через первый ,элемент И 4 на вход синхронизации блока 11 и на стробирующий вход четвертого триггера 24, на информационный вход которого поступает сигнал с выхода блока 11. На информационном и управл ющем входах блока 11 с выхоWhen the initial installation mode is set, the device switches to the input 5 when a pulse (logic O) is applied. The first trigger 6 is set to one and the first counter 3 is set to the zero state. Clock pulses from the output of the pulse generator 1 through the first element AND-NOT 2, opened at the other input from the inverse output of the second, trigger 10, arrive at the counter 3, operating in the summation mode, and also through the first, element 4 to the synchronization input of the block 11 and the gate input of the fourth trigger 24, the information input of which receives a signal from the output of the block 11. At the information and control inputs of the block 11 from the output
устанавливаетс логический set to logical
элемент И 8, третий-элемент И 9, вто-20 да триггера 6 через элементы И 8 и 9 рой триггер 10, блок 11 пам ти, мультиплексор 12, адресные выходы 13 устройства , двухпозиционные датчики 14, элемент 15 сравнени , четвертый элемент И 16, элемент НЕ 17, п тый эле- 25 мент И 18, одновибратор 19, третий триггер 20, второй счетчик 21, третий счетчик 22, элемент ИЛИ-НЕ 23, четвертый триггер 24, п тый триггер 25, шестой триггер 26, седьмой триг- 30 гер 27, второй элемент И-НЕ 28, информационный выход 29, вход 30 разрешени перезаписи, выход 31 сигнала готовности устройства.element 8, third element 9, second 20 and trigger 6 through elements 8 and 9, trigger 10, memory block 11, multiplexer 12, device address outputs 13, on-off sensors 14, comparison element 15, fourth AND element 16, element 17, fifth element 25 and 18, one-shot 19, third trigger 20, second counter 21, third counter 22, element OR-NOT 23, fourth trigger 24, fifth trigger 25, sixth trigger 26, seventh Trig-30 ger 27, second element IS-NOT 28, information output 29, rewriting resolution input 30, output 31 of the device readiness signal.
О - режим записи О в чейку, соответствующую коду, установленному на адрес ных входах блока 11 с выходов счетчика 3. При осуществлении записи в последнюю чейку на всех входах блока элементов И-НЕ 7 устанавливаетс логическа 1, а на выходе импульс логического нул , который устанавливает/триггер 6 в нулевое состо ние и переводит устройство в режим опроса датчиков . При этом на управл ющемO - write mode O into the cell corresponding to the code set at the address inputs of block 11 from the outputs of counter 3. When writing to the last cell, logical 1 is set at all inputs of the block of AND-NOT elements 7, and the output is a logical zero pulse, which sets / flip-flop 6 to the zero state and switches the device to the sensor polling mode. At the same time on the manager
входе блока 11 устанавливаетс логическа 1 с выхода элемента И 8 (режим считывани ), а на информацион ном входе - сигнал состо ни датчиков 14, подключенного к входу мульти плексора 12, соответствующего коду на его адресных входах. Информаци о состо нии датчика 14 поступает на первьш вход элемента И 16, через элемент НЕ 17 - на первый вход .элемента И 18, на вход элемента 15 срав нени , где сравниваетс с содержимым соответствующей чейки, поступающим с выхода блока 11. При их несоответствии сигнал на выходе триггера 24, а следовательно и на выходе 29 устройства соответствует состо нию датчика 14, а на выходе элемента 15 сравнени возникает сигнал рассогласовани (логическа 1), которьш переводит триггер 10 в единичное состо ние . При этом логический О с инверсного выхода триггера 10 блокирует прохождение тактовых импульсов через элемент И-НЕ 2 к на его выходе, а следовател1 но, и на вх,оде синхронизации блока 11 устанавливаетс уровеньThe input of the block 11 is set to logical 1 from the output of the AND 8 element (read mode), and on the information input is the signal of the state of the sensors 14 connected to the input of the multiplexer 12 corresponding to the code on its address inputs. The status information of the sensor 14 is fed to the first input of the element AND 16, through the element NOT 17 to the first input of the element AND 18, to the input of the comparison element 15, where it is compared with the contents of the corresponding cell coming from the output of block 11. If they do not match the signal at the output of the trigger 24, and therefore at the output 29 of the device, corresponds to the state of the sensor 14, and at the output of the comparison element 15, a discrepancy signal (logical 1) arises, which translates the trigger 10 into a single state. At the same time, the logical O with the inverse output of the trigger 10 blocks the passage of clock pulses through the element IS-NOT 2 k at its output, and consequently, the level
Устройство работает следующим образом . The device works as follows.
В исходном состо нии логический О с пр мого выхода третьего триггера 20 через вторые входы четвертого 16 и п того 18 элементов И поступает на входы сброса второго 21 и третьего 22 счетчиков и запрещает счет. П тый 25 и шестой 26 триггеры установлены в нулевое состо ние и на выходе элемента И 28 сформирована логц- ческа 1. Седьмой триггер 27 установлен в нулевое состо ние и на его выходе сформирован логический О. Состо ние триггерных чеек, из которых состоит блок 11 пам ти (оперативное динамическое запоминающее устройство ) после включени питани неопределенно , поэтому в устройстве предусмотрен режим начальной установки, при котором в чейки блока 11 производитс запись логических О. После начальной установки устройство переходит , в режим опроса датчиков.In the initial state, the logical O from the direct output of the third trigger 20 through the second inputs of the fourth 16 and the fifth 18 elements And goes to the reset inputs of the second 21 and third 22 counters and prohibits counting. Fifth 25 and sixth 26 triggers are set to the zero state and logical 28 is formed at the output of the And 28 element. The seventh trigger 27 is set to the zero state and logical O is formed at its output. The state of the trigger cells that make up the block 11 memory (dynamic dynamic storage device) after switching on the power is uncertain, therefore the device has an initial installation mode, in which logical O are recorded in the cells of block 11. After the initial installation, the device goes into op mode dew sensors.
устанавливаетс логический set to logical
0 да триггера 6 через элементы И 8 и 9 5 0 0 yes trigger 6 through the elements And 8 and 9 5 0
5five
0 0
00
5five
О - режим записи О в чейку, соответствующую коду, установленному на адресных входах блока 11 с выходов счетчика 3. При осуществлении записи в последнюю чейку на всех входах блока элементов И-НЕ 7 устанавливаетс логическа 1, а на выходе импульс логического нул , который устанавливает/триггер 6 в нулевое состо ние и переводит устройство в режим опроса датчиков . При этом на управл ющемO - write mode O into the cell corresponding to the code set at the address inputs of block 11 from the outputs of counter 3. When writing to the last cell, logical 1 is set at all inputs of the block of AND-NOT elements 7, and the output of logical zero, which sets trigger 6 is in the zero state and switches the device to the sensor polling mode. At the same time on the manager
входе блока 11 устанавливаетс логическа 1 с выхода элемента И 8 (режим считывани ), а на информационном входе - сигнал состо ни датчиков 14, подключенного к входу мультиплексора 12, соответствующего коду на его адресных входах. Информаци о состо нии датчика 14 поступает на первьш вход элемента И 16, через элемент НЕ 17 - на первый вход .элемента И 18, на вход элемента 15 сравнени , где сравниваетс с содержимым соответствующей чейки, поступающим с выхода блока 11. При их несоответствии сигнал на выходе триггера 24, - а следовательно и на выходе 29 устройства соответствует состо нию датчика 14, а на выходе элемента 15 сравнени возникает сигнал рассогласовани (логическа 1), которьш переводит триггер 10 в единичное состо ние . При этом логический О с инверсного выхода триггера 10 блокирует прохождение тактовых импульсов через элемент И-НЕ 2 к на его выходе, а следовател1 но, и на вх,оде синхронизации блока 11 устанавливаетс уровеньthe input of block 11 is set to logical 1 from the output of the element 8 (read mode), and on the information input a signal of the state of the sensors 14 connected to the input of the multiplexer 12 corresponding to the code on its address inputs. The status information of the sensor 14 goes to the first input of the element AND 16, through the element NOT 17 to the first input of the element AND 18, to the input of the comparison element 15, where it is compared with the contents of the corresponding cell coming from the output of the block 11. If they do not match, the signal At the output of the trigger 24, - and, therefore, at the output 29 of the device corresponds to the state of the sensor 14, and at the output of the comparison element 15, a mismatch signal (logical 1) arises, which translates the trigger 10 into a single state. At the same time, the logical O with the inverse output of the trigger 10 blocks the passage of clock pulses through the element IS-NOT 2 k at its output, and consequently, the level
логической 1, a на управл ющем входе блока 11 - уровень логического О (режим записи). Логическа 1 с пр мого выхода триггера 10 переводит седьмой триггер 27 в единичное состо ние . Прин в сигнал готовности кода с выхода 31 устройства, управл юща ЭВМ считывает информацию с выхода 29 и выходов 13 устройства, выдает на вход 30 устройства импульс перезаписи состо ни датчика 14 в чейку блока 11, который переводит шестой триггер 26 в единичное состо ние Логический О с инверсного выхода триггера 26 переводит триггер 27 в нулевое состо ние и тем самым снимает сигнал готовности с выхода 31 устройства . Одновременно с выдачей сигнала готовности логическа 1 с пр мого выхода триггера 10 поступает на вход одновибратора 19, который вырабатывает короткий импульс (логический О). Этот импульс переводит третий триггер 20 в единичное состо ние Логическа 1 с его пр мого выхода поступает на вторые входы четвертого 16 и п того 18 элементов И и разрешает прохождение сигнала состо ни датчика 14 на входы сброса второго 21 и третьего 22 счетчиков. Если датчик. 14 срабатывает с дребезгом, то уразрешение счета на входах сброса второго 21 и третьего 22 счетчиков прерывистое - каждый новый импульс дребезга обнул ет счетчики и счет начинаетс сначала.logical 1, a at the control input of block 11 is the logical level O (recording mode). Logic 1 from the direct output of the trigger 10 transfers the seventh trigger 27 to a single state. Upon receipt of a code readiness signal from the device output 31, the control computer reads information from output 29 and device outputs 13, sends a sensor overwrite sensor 14 to the cell of block 11, which translates the sixth trigger 26 into a single state Logic O the inverted trigger output 26 triggers the trigger 27 to the zero state and thereby removes the ready signal from the output 31 of the device. Simultaneously with the output of the readiness signal of logical 1, the direct output of the trigger 10 is fed to the input of the one-shot 19, which produces a short pulse (logical O). This impulse translates the third trigger 20 into a single state of Logic 1 from its direct output to the second inputs of the fourth 16 and fifth 18 AND elements and allows the signal of the state of the sensor 14 to pass to the reset inputs of the second 21 and third 22 counters. If the sensor. 14 is triggered with bounce, then the counting on the reset inputs of the second 21 and third 22 counters is intermittent — each new bounce pulse nullifies the counters and the counting starts again.
Только после окончани дребезга на входе сброса одного из счетчиков (второго 21 или третьего 22) устанавливаетс устойчива логическа 1. Если по окончании дребезга датчик 14 замкнут, то логическа 1 (разрешение счета) по вл етс на входе сброса счетчика 21, а если датчик 14 разомкнут, то логическа 1 по вл етс на входе сброса счетчика 22. Счетчик, у которого на входе сбросаOnly after the end of the bounce at the reset input of one of the counters (second 21 or third 22) is a stable logical 1 established. If at the end of the bounce, sensor 14 is closed, then logical 1 (counting resolution) appears at the reset input of counter 21, and if sensor 14 open, then logic 1 appears at the reset input of counter 22. A counter that has a reset input
присутствует логическа 1 , считает необходимое количество импульсов иlogical 1 is present, counts the required number of pulses and
Таким образом.процесс п д, работки информации управл работа схемы защиты от др контактов датчиков идут па и независимо друг от друга позвол ет вести обработку и моделировать быстрые проThus, the process pd, the processing of information, the control circuit protection from the other sensor contacts go pa and independently from each other allows processing and simulating fast processes.
на его выходе переполнени. формирует реальном масштабе времени. с логическа 1, котора поступаетits output overflows. generates real time. c logical 1 which arrives
на вход элемента ШШ-НЕ 23. Отрицательный перепад с выхода элемента ИЛИ-НЕ 23 переводит триггер 20 в нулевое состо ние. Логический О с пр мого выхода триггера 20 через четвертый 16 и п тый 18 элементы И поступает на входы сброса второго 21to the input of an SHSh-NOT 23 element. A negative differential from the output of the OR-NOT 23 element transfers the trigger 20 to the zero state. Logic O from the direct output of the trigger 20 through the fourth 16 and fifth 18 elements And goes to the reset inputs of the second 21
00
ss
00
5 five
и третьего 22 счетчиков, обнул ет их и запрещает счет. На выходах переполнени второго 21 и третьего 22 счетчиков устанавливаютс логические О, а на выходе элемента ИЛИ-НЕ 23 - логическа 1. Положительный перепад с инверсного выхода триггера 20 переводит п тьш триггер 25 в единичное состо ние. Из изложенного видно, что продесс приема и обработки информации управл ющей ЭВМ и работа схемы защиты от дребезга контактов датчиков 14 идут параллельно и независимо друг от друга. Если процесс приема и обработки информации заканчиваетс раньше окончани дребезга контакто сначала по вл етс логическа на втором входе элемента И-НЕ 28, а затем - на первом входе этого элемента . В противном случае сначала по вл етс логическа 1 на первом входе элемента И-НЕ 28, а затем - на втором входе этого элемента. При по влении логической 1 на первом и втором входах элемента И-НЕ 28 на его выходе по вл етс логический О,and the third 22 counters, zeroed them and forbids the account. At the overflow outputs of the second 21 and third 22 counters, logical O is set, and at the output of the OR-NOT 23 element, logical 1. A positive differential from the inverse output of the flip-flop 20 translates into five flip-flop 25 into the single state. From the above it can be seen that the process of receiving and processing information of the control computer and the work of the bounce protection circuit of the contacts of the sensors 14 are parallel and independent of each other. If the process of receiving and processing information ends before the end of the bounce, the contact first appears logic at the second input of the AND-NE element 28, and then at the first input of this element. Otherwise, logical 1 first appears at the first input of the NAND 28 element, and then at the second input of this element. When logical 1 appears at the first and second inputs of the NAND element 28, logical O appears at its output
тов, II -1 Itcomrade, II -1 It
который переводит п тый 25 и шестой 26 триггеры в исходное (нулевое) состо ние и через второй вход элемента И 4 проходит, на вход синхронизации блока 11 и на вход сброса триггера 10, который по положительному перепаду переводитс в нулевое состо ние. При этом разблокируетс прохождение тактовых импульсов через элемент И-НЕ 2 и устанавливаетс логическа 1,на управл ющем входе блока 11 (режим считывани ). Таким образом устройство переходит к дальнейшему опросу датчиков 14. При отсутствии дребезга датчиков 14 устройство работает ана логично описанному.which transfers the fifth 25 and sixth 26 triggers to the initial (zero) state and passes through the second input of the element 4 to the synchronization input of the block 11 and to the reset input of the trigger 10, which is transferred to the zero state by a positive differential. In this case, the passage of clock pulses through the AND-HE 2 element is unblocked and a logical 1 is set at the control input of block 11 (read mode). Thus, the device proceeds to a further interrogation of the sensors 14. In the absence of the bounce of the sensors 14, the device operates similarly to that described.
Таким образом.процесс приема и об- работки информации управл ющей ЭВМ и работа схемы защиты от дребезга контактов датчиков идут параллельно и независимо друг от друга. Это позвол ет вести обработку информации и моделировать быстрые процессы вThus, the process of receiving and processing information of the control computer and the operation of the bounce protection circuit of the sensor contacts run in parallel and independently from each other. This allows information processing and simulation of fast processes in the
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864120655A SU1376075A1 (en) | 1986-06-23 | 1986-06-23 | Device for input of information from two-position transducers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864120655A SU1376075A1 (en) | 1986-06-23 | 1986-06-23 | Device for input of information from two-position transducers |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1376075A1 true SU1376075A1 (en) | 1988-02-23 |
Family
ID=21257762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864120655A SU1376075A1 (en) | 1986-06-23 | 1986-06-23 | Device for input of information from two-position transducers |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1376075A1 (en) |
-
1986
- 1986-06-23 SU SU864120655A patent/SU1376075A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 656078, кл. G 06 F 3/00, 1979. Авторское свидетельство СССР № 1019430, кл. G 06 F 3/05, 1982. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1376075A1 (en) | Device for input of information from two-position transducers | |
SU1269143A1 (en) | Information input device | |
SU1403019A1 (en) | Method of monitoring the state of contacts of contact group | |
SU1597730A1 (en) | Method and apparatus for measuring speed of movement | |
SU1451832A1 (en) | Variable-frequency pulser | |
SU1280600A1 (en) | Information input device | |
SU1322246A1 (en) | Timer | |
SU1522188A1 (en) | Device for input of information | |
SU1478205A1 (en) | Data input unit | |
SU1434419A1 (en) | Information input device | |
SU1562897A2 (en) | Device for information input from two-position transmitters | |
SU1513457A1 (en) | Program debugging device | |
SU1352630A1 (en) | Time interval shaping device | |
SU1101834A1 (en) | Device for determining graph characteristics | |
SU402156A1 (en) | PULSE DISTRIBUTOR | |
SU708253A1 (en) | Time interval measuring arrangement | |
SU1206824A1 (en) | Scaling unit for device for reading graphic information | |
SU1471187A2 (en) | Data input unit | |
SU1368876A1 (en) | Random number generator | |
SU1368853A1 (en) | Device for measuring time intervals | |
SU1023351A1 (en) | Device for forming time intervals | |
SU1280610A1 (en) | Device for comparing numbers | |
SU1587511A1 (en) | Logic analyser | |
SU1157544A1 (en) | Device for functional-parametric checking of logic elements | |
SU1275762A1 (en) | Pulse repetition frequency divider |