SU1728864A1 - Device for checking program operation - Google Patents

Device for checking program operation Download PDF

Info

Publication number
SU1728864A1
SU1728864A1 SU884454116A SU4454116A SU1728864A1 SU 1728864 A1 SU1728864 A1 SU 1728864A1 SU 884454116 A SU884454116 A SU 884454116A SU 4454116 A SU4454116 A SU 4454116A SU 1728864 A1 SU1728864 A1 SU 1728864A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
generator
decoder
trigger
Prior art date
Application number
SU884454116A
Other languages
Russian (ru)
Inventor
Владимир Николаевич Тимофеев
Геннадий Петрович Игохин
Original Assignee
Предприятие П/Я В-2749
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 Предприятие П/Я В-2749 filed Critical Предприятие П/Я В-2749
Priority to SU884454116A priority Critical patent/SU1728864A1/en
Application granted granted Critical
Publication of SU1728864A1 publication Critical patent/SU1728864A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Изобретение относитс  к вычислитель-, ной технике, в частности к цифровым вычислительным машинам (ЦВМ) и микропроцессорным системам, обеспечивающим автоматизированное управление объектами в реальном масштабе времени. Цель изобретени  - повышение достоверности контрол . Устройство дл  контрол  хода программ содержит счетчик 1 времени, генератор 2 одиночных импульсов, генератор 3 импульсов , триггер 4 блокировки, элементы И 5, 6 и 7, элементы ИЛИ 8 и 9, дешифратор 10. Устройство обеспечивает контроль при зацикливании и случайном останове на любом участке программы. 3 ил.The invention relates to computer technology, in particular to digital computers (micro-computer) and microprocessor systems that provide automated control of objects in real time. The purpose of the invention is to increase the reliability of the control. The device for monitoring the program progress contains a time counter 1, a generator of 2 single pulses, a generator of 3 pulses, a trigger 4 locks, elements AND 5, 6 and 7, elements OR 8 and 9, a decoder 10. The device provides control during looping and random stopping on any section of the program. 3 il.

Description

V5V5

16sixteen

(L

СWITH

VIVI

юYu

00 0000 00

оabout

4four

Изобретение относитс  к вычислительной технике, в частности к цифровым вычислительным машинам (ЦВМ) и микропроцессорным системам, обеспечивающим автоматизированное управление объектами в реальном масштабе времени.The invention relates to computing, in particular, to digital computing machines (digital computers) and microprocessor systems that provide automated real-time control of objects.

Цель изобретени  - повышение достоверности контрол .The purpose of the invention is to increase the reliability of the control.

На фиг.1 представлена функциональна  схема устройства дл  контрол  хода программ; на фиг.2 - временна  диаграмма работы устройства дл  контрол  хода программ при нормальной последовательности выполнени  программы и при случайном зацикливании или останове ЦВМ на участке программы без команд выдачи признаков работы; на фиг.З-тоже, дл  контрол  хода программ при зацикливании ЦВМ на участке программы, включающем коман- . ды выдачи признаков работы.Figure 1 shows the functional diagram of the device for monitoring the progress of programs; Fig. 2 shows a timing diagram of the operation of the device for monitoring the progress of the programs during the normal sequence of the program and randomly cycling or stopping the digital computer on the program section without commands for outputting signs of operation; in FIG. 3, too, to control the progress of programs when cycling a digital computer on a program section that includes a command. dy issuing signs of work.

Устройство дл  контрол  хода программ содержит счетчик 1 времени, генератор 2 одиночных импульсов, генератор 3 тактовых импульсов, триггер 4 блокировки, элементы И 5-7, элементы ИЛИ 8 и 9, дешифратор 10, вход 11 блокировки, вход 12 кода команды устройства, вход 13 общего сброса, вход 14 Питание включено, выход 15 неисправности программы, выход 16 перезапуска программы, выход 17 счетчика 1, выход 18счетчика 1, выход 19 переполнени  счетчика 1, выход 20 триггера 4 блокировки, выход 21 элемента ИЛИ 9, выход 22 генератора 3, выход 23 дешифратора 10, выход 24 дешифратора 10, выход 25 элемента ИЛИ 8 начальной установки, выход 26 генератора 2 одиночных импульсов.The device for monitoring the program progress contains a time counter 1, a generator of 2 single pulses, a generator of 3 clock pulses, a lock trigger 4, elements AND 5-7, elements OR 8 and 9, a decoder 10, a lock input 11, a device command code input 12, an input 13 general reset, input 14 Power on, output 15 program faults, output 16 restarting the program, output 17 of counter 1, output 18 of the counter 1, output 19 of the counter overflow 1, output 20 of the locking trigger 4, output 21 of the element OR 9, output 22 of the generator 3 , the output 23 of the decoder 10, the output 24 of the decoder 10, output 25 of the element OR 8 of the initial installation, the output 26 of the generator 2 single pulses.

Устройство дл  контрол  хода программ работает следующим образом.The device for controlling the course of programs works as follows.

При выполнении программы в ЦВМ на вход 12 дешифратора 10 адресной магистрали ЦВМ поступают определенные коды адреса, формируемые в специальных командах программы. По первому коду адреса команды выдел етс  сигнал на выходе 23 дешифратора 10, по второму коду адреса выдел етс  сигнал на выходе 24 дешифратора 10. Сигнал с выхода 23 дешифратора 10,  вл ющийс  сигналом Признак работы 1, проходит через элемент ИЛИ 9 и с выхода 21 элемента ИЛИ 9 поступает на первый счетный вход счетчика 1 и на вход перезапуска генератора 2 одиночных импульсов. Сигнал на выходе 21 элемента ИЛИ 9 вызывает увеличение на один дискрет содержимого счетчика 1 и установку на определенное врем  в единичное состо ние выхода 26 генератора 2 одиночных импульсов . Сигнал с выхода 24 дешифратора 10,  вл ющийс  сигналом Признак работы 2,When the program is executed in the digital computer, the input address 12 of the decoder 10 of the address line of the digital computer receives certain address codes generated in special program commands. The first code of the address of the command extracts the signal at the output 23 of the decoder 10, the second code of the address extracts the signal at the output 24 of the decoder 10. The signal from the output 23 of the decoder 10, which is the signal Sign of operation 1, passes through the OR 9 element and from the output 21 element OR 9 is fed to the first counting input of the counter 1 and to the restart input of the generator 2 single pulses. The signal at the output 21 of the element OR 9 causes an increase in one digit of the contents of the counter 1 and setting for a certain time the output state 26 of the generator 2 of single pulses to a single state. The output from the 24 of the decoder 10, which is a signal Sign of operation 2,

поступает на второй счетный вход счетчика 1 и вызывает уменьшение его содержимого на один дискрет. Единичное состо ние выхода 26 генератора 2 разрешает работуenters the second counting input of counter 1 and causes a decrease in its contents by one discrete. The single state of output 26 of generator 2 permits operation

5 счетчика 1 и триггера 4. Нулевое состо ние генератора 2 вызывает принудительную установку триггера 4 в единичное состо ние и установку в О счетчика 1. Нулевое состо ние генератора 2 одиночных импульсов оп0 редел етс  наличием сигнала начальной установки на выходе 25элемента ИЛИ 8 или отсутствием в течение определенного времени импульсов на выходе 21 элемента ИЛИ 9. Дл  сохранени  единичного состо ни 5 counter 1 and trigger 4. The zero state of generator 2 causes the trigger 4 to be forced to be set to one and set to O of counter 1. The zero state of the generator 2 single pulses is determined by the presence of the initial setting signal at the 25 element output OR 8 or by the absence of for a certain time of the pulses at the output 21 of the element OR 9. To maintain a single state

5 выхода 26 генератора 2 временной интервал между импульсами на входе перезапуска генератора 2 должен быть меньше длительности выходных импульсов генератора 2. Величина длительности выходных5 of the output 26 of the generator 2, the time interval between the pulses at the input of the restart of the generator 2 must be less than the duration of the output pulses of the generator 2. The value of the duration of the output

0 импульсов генератора 2 определ етс  в соответствии с характеристиками работы программы ЦВМ в реальном масштабе времени.0 generator 2 pulses are determined according to the real-time digital computer program operation characteristics.

При начальном пуске ЦВМ с пульта опе5 ратора или автоматическом пуске ЦВМ при включении первичного питани  на выходеWith the initial start-up of the digital computer from the operator's console or automatic start-up of the digital computer when the primary power is turned on at the output

25элемента ИЛИ 8 формируетс  сигнал общего сброса, устанавливающий в О выход25 OR 8, a general reset signal is generated, setting an O output

26генератора 2 одиночных импульсов. Ну- 0 левое состо ние выхода 26 генератора 2 вызывает принудительную установку в О счетчика 1 и в 1 - триггера 4 блокировки. Единичное состо ние выхода 20 триггера 4 разрешает работу элементов И 5 и 6 и про5 хождение частоты на выходе 22 генератора26 generator 2 single pulses. Well- 0, the left state of the output 26 of the generator 2 causes the counter 1 to be forcedly set in O and the blocking trigger 4 to 1. The single state of the output 20 of the trigger 4 permits the operation of the elements of And 5 and 6 and the propagation of the frequency at the output of the generator 22

3через элементы И 7 и ИЛИ 9 на первый счетный вход счетчика 1 и вход перезапуска генератора 2 одиночных импульсов. Первым импульсом на выходе 21 элемента ИЛИ 93 Through the elements of AND 7 and OR 9 to the first counting input of counter 1 and the restart input of the generator 2 single pulses. The first impulse at the output of 21 elements OR 9

0 устанавливаетс  в 1 выход 26 генератора 2, разреша  таким образом работу счетчика 1 и триггера 4 блокировки. Счетчик 1 подсчитывает импульсы с выхода 22 генератора 3 импульсов и формирует на выходах 17 и 180 is set to 1 output 26 of generator 2, thus allowing the operation of counter 1 and lockout trigger 4. Counter 1 counts the pulses from the output 22 of the generator 3 pulses and generates at the outputs 17 and 18

5 сигналы Сброс ЦВМ и Пуск ЦВМ, которые проход т через открытые элементы И 5 и 6 на выходы 16 и 15 устройства и производ т начальный сброс и пуск ЦВМ. По окончании сигнала Пуск ЦВМ на выходе 165 signals Reset DVR and Start DVR that pass through the open elements And 5 and 6 to the outputs 16 and 15 of the device and perform the initial reset and start of the DVR. At the end of the signal, the start of the digital computer at output 16

0 элемента И 6 устанавливаетс  в О триггер0 elements and 6 is set to the o trigger

4блокировки, разреша  работу дешифратора 10 и запреща  прохождение сигналов на выходе 22 генератора 3 через элемент И 7.4 blocking, allowing the operation of the decoder 10 and prohibit the passage of signals at the output 22 of the generator 3 through the element And 7.

При нормальном выполнении програм- 5 мы ЦВМ команды формировани  сигналов Признак работы 1 и Признак работы 2 выдаютс  таким образом, чтобы не происходило переполнени  счетчика 1 и установки в О генератора 2 одиночных импульсов. В этом случае выход 20 триггера 4 блокировкиDuring normal execution of the program, the digital computers of the signal-forming command Signs of operation 1 and Sign of work 2 are issued in such a way that counter 1 does not overflow and the generator 2 of single pulses are installed in O. In this case, the output 20 of the trigger 4 blocking

остаетс  в нулевом состо нии и запрещает формирование на выходах 15 и 16 устройства сигналов неисправности и перезапуска программы.remains in the zero state and prohibits the formation of a fault signal and program restart at the device outputs 15 and 16.

Работа устройства дл  контрол  хода программ при переходе ЦВМ в неуправл емое состо ние включает зацикливание и случайный останов ЦВМ на любом участке программы.The operation of the device to control the progress of programs when the digital computer goes into an uncontrolled state includes looping and accidental stopping of the digital computer on any part of the program.

При нарушении хода программы ЦВМ, обусловленном случайным остановом или зацикливанием ЦВМ на участке программы, в состав которой не вход т команды выдачи признаков работы, формировани  сигналов Признак работы 1 и Признак работы 2 соответственно на выходах 23 и 24 дешифратора 10 не происходит. В этом случае импульсы с выхода 21 элемента ИЛИ 9 на вход перезапуска генератора 2 одиночных импульсов не поступают, и сигнал на выходе 26 генератора 2 через определенный интервал времени переходит в нулевое состо ние , устанавлива  в 1 триггер 4 блокировки и в О - счетчик 1. Единичное состо ние выхода 20 триггера 4 блокировки разрешает прохождение импульсов с выхода 22 генератора 3 импульсов на первый счетный вход счетчика 1 и определ ет принудительную установку в 1 выходов 23 И 24 дешифратора 10. На выходах 17 и 18 счетчика 1 формируютс  сигналы неисправности и перезапуска программы и поступают на выходы 15 и 16 устройства, производ  сброс и перезапуск ЦВМ.If the program's progress is caused by accidental stopping or looping of the digital computer in the program section, which does not include commands for issuing signs of operation, the generation of signals Sign of Work 1 and Sign of Work 2, respectively, at outputs 23 and 24 of the decoder 10 does not occur. In this case, the pulses from the output 21 of the element OR 9 to the restart input of the generator 2 single pulses do not arrive, and the signal at the output 26 of the generator 2 after a certain time interval goes to the zero state, is set to 1 blocking trigger 4 and to O - counter 1. The single state of the output 20 of the blocking trigger 4 permits the passage of pulses from the output 22 of the generator 3 of pulses to the first counting input of counter 1 and determines the forced setting at 1 of outputs 23 and 24 of the decoder 10. At outputs 17 and 18 of counter 1, signals are not running equality and restart of the program and arrive at the outputs 15 and 16 of the device, producing a reset and restart of the digital computer.

При нарушении хода программы, обусловленном зацикливанием ЦВМ на участке программы с командами выдачи признаков работы, происходит нарушение заданной последовательности формировани  сигналов на выходе 21 элемента ИЛИ 9 и на выходе 24 дешифратора 10 соответственно на увеличение и уменьшение содержимого счетчика 1. В этом случае, в зависимости от типа команды выдачи признака работы, на которой произошло зацикливание ЦВМ, содержимое счетчика 1 через определенный интервал времени достигает крайнего значени , и на выходе 19 счетчика 1 по вл етс  сигнал, устанавливающий триггер 4 блокировки в 1,When the program is disturbed due to cycling of the digital computer at the program section with commands for issuing features of work, the specified sequence of forming signals at the output 21 of the element OR 9 and at the output 24 of the decoder 10 violates the increase and decrease in the contents of the counter 1. In this case, depending on the type of command for issuing the sign of work, on which the cycling of the digital computer occurred, the contents of counter 1 reach an extreme value at a certain time interval, and at output 19 of counter 1 it appears c signal setting trigger 4 locks in 1,

Единичное состо ние выхода 20 триггера 4 блокировки запрещает работу дешифратора 10 и разрешает прохождение сигналов с выходов 17 и 18 счетчика 1 соответственно на выход 15 неисправности программы и выход 16 перезапуска программы ЦВМ.The single state of the output 20 of the blocking trigger 4 prohibits the operation of the decoder 10 and permits the passage of signals from the outputs 17 and 18 of the counter 1, respectively, to the output 15 of the program malfunction and the output 16 of the restarting of the digital computer program.

Оператор при необходимости может заблокировать по входе 11 устройства дл The operator, if necessary, can block on the input 11 of the device for

контрол  хода программ формирование сигналов неисправности и перезапуска ЦВМ.monitoring the progress of programs forming fault signals and restarting the digital computer.

Таким образом, устройство дл  контрол  хода программ позвол ет осуществитьThus, the device for controlling the progress of the programs allows

контроль за выполнением программы работы ЦВМ в реальном масштабе времени в тех автоматизированных системах управлени , где отсутствует возможность использовани  системы прерываний ЦВМ дл  целейcontrol over the implementation of the real-time DVM program in automated control systems where the possibility of using the DVR interrupt system for purposes is missing

контрол , обеспечить защиту выполнени  ЦВМ функций управлени  объектами от таких неуправл емых состо ний ЦВМ, как зацикливание и случайный останов ЦВМ на любой команде и на любом участке программы .control, to ensure the protection of the fulfillment by the digital computer of the functions of controlling objects from such unmanaged states of digital computers, such as looping and accidental stopping of digital computers on any command and on any part of the program.

Claims (1)

Формула изобретени  Устройство дл  контрол  хода программ , содержащее три элемента И, два эле- мента ИЛИ, дешифратор,. генераторClaims An apparatus for controlling the progress of programs, comprising three AND elements, two OR elements, a decoder ,. generator тактовых импульсов, счетчик времени, триггер блокировки, причем выход переполнени  счетчика времени подключен к единичному входу триггера блокировки, выход которого соединен с первыми входамиclock pulses, a time counter, a lock trigger, the overflow output of a time counter connected to a single input of a lock trigger whose output is connected to the first inputs первого и второго элементов И, выходы которых  вл ютс  выходами неисправности и перезапуска программы устройства, вход блокировки устройства соединен с вторыми входами первого и второго элементов И,the first and second And elements, the outputs of which are the outputs of the malfunction and the restart of the device program, the device lock input is connected to the second inputs of the first and second elements And, третьи входы которых подключены соответственно к первому и второму информационным выходам счетчика времени, входы общего сброса и включени  питани  устройства соединены с входами первого элементаthe third inputs of which are connected respectively to the first and second information outputs of the time counter, the general reset and power on inputs of the device are connected to the inputs of the first element ИЛИ, информационный вход дешифратора подключен к входу кода команды устройства , отличающеес  тем, что, с целью повышени  достоверности контрол , в устройство введен генератор одиночных импульсов , причем выход первого элемента ИЛИ подключен к входу начальной установки генератора одиночных импульсов, вход перезапуска которого соединен с выходом второго элемента ИЛИ, выход генератораOR, the information input of the decoder is connected to the input of the device command code, characterized in that, in order to increase the reliability of the control, a single pulse generator is inserted into the device, the output of the first element OR is connected to the initial setup input of the single pulse generator, the restart input of which is connected to the output the second element OR the generator output одиночных импульсов - с нулевыми входами триггера блокировки и счетчика времени, синхровход триггера блокировки соединен с выходом второго элемента И, первый и второй выходы дешифратора соединены соответственно с декрементным входом счетчика времени и первым входом второго элемента ИЛИ, второй вход и выход которого соединены соответственно с выходом третьего элемента И и инкрементным входомsingle pulses - with the zero inputs of the blocking trigger and the time counter; the synchronous input of the blocking trigger is connected to the output of the second element AND, the first and second outputs of the decoder are connected respectively to the decrement input of the time counter and the first input of the second element OR, the second input and output of which are connected respectively to the output the third element And incremental input счетчика времени, выход триггера блокировки - с входом разрешени  дешифратора и первым входом третьего элемента И, второй вход которого соединен с выходом генератора тактовых импульсов.the time counter, the output of the lockout trigger — with the enable input of the decoder and the first input of the third element I, the second input of which is connected to the output of the clock pulse generator. лl лl фиь.2fi.2 5five ЛL 4646 пP 8eight I II I ДD лl   пP
SU884454116A 1988-07-04 1988-07-04 Device for checking program operation SU1728864A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU884454116A SU1728864A1 (en) 1988-07-04 1988-07-04 Device for checking program operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU884454116A SU1728864A1 (en) 1988-07-04 1988-07-04 Device for checking program operation

Publications (1)

Publication Number Publication Date
SU1728864A1 true SU1728864A1 (en) 1992-04-23

Family

ID=21387076

Family Applications (1)

Application Number Title Priority Date Filing Date
SU884454116A SU1728864A1 (en) 1988-07-04 1988-07-04 Device for checking program operation

Country Status (1)

Country Link
SU (1) SU1728864A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 1312581, кл.С 06 F 11/28, 1985. Авторское свидетельство СССР № 1101831, кл. G 06 F11/28, 1983. *

Similar Documents

Publication Publication Date Title
US4586179A (en) Microprocessor reset with power level detection and watchdog timer
US3943339A (en) Inductive loop detector system
US4287565A (en) Monitoring system for program controlled apparatus
US4683568A (en) Method of monitoring computer elements, particularly microprocessors
US5740360A (en) Apparatus and method for resetting a microprocessor in the event of improper program execution
JPH02213950A (en) Error injection system
US3426331A (en) Apparatus for monitoring the processing time of program instructions
SU1728864A1 (en) Device for checking program operation
SU1101831A1 (en) Device for checking program run
RU2265240C2 (en) System control module
SU1702374A1 (en) Device for monitoring pulse sequence
SU1312581A1 (en) Device for checking time of program execution
SU1735853A1 (en) Device to lock data in the computing system on turning the power on/off
SU781814A1 (en) Control device
RU2099778C1 (en) Device for object control
SU1255995A1 (en) Device for programmed control
SU1509904A1 (en) Device for disabling and restarting microprocessor at power faults
SU468345A1 (en) Device for position control of stepper motor
SU1537856A1 (en) Vibration of limiter for gas-turbine engine
SU1446601A1 (en) Time-programmable device
SU1119018A1 (en) Device for checking control unit of robot
SU1013962A1 (en) Two-processor system checking device
EP0360952B1 (en) Device for creation and control of indication signals
SU1693609A1 (en) Device for program execution time check
SU1474655A2 (en) Program execution time monitor