JPH0110653Y2 - - Google Patents

Info

Publication number
JPH0110653Y2
JPH0110653Y2 JP1986125667U JP12566786U JPH0110653Y2 JP H0110653 Y2 JPH0110653 Y2 JP H0110653Y2 JP 1986125667 U JP1986125667 U JP 1986125667U JP 12566786 U JP12566786 U JP 12566786U JP H0110653 Y2 JPH0110653 Y2 JP H0110653Y2
Authority
JP
Japan
Prior art keywords
processing
periodic
data
signal
processing data
Prior art date
Legal status (The legal status 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 status listed.)
Expired
Application number
JP1986125667U
Other languages
Japanese (ja)
Other versions
JPS6246950U (en
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 filed Critical
Priority to JP1986125667U priority Critical patent/JPH0110653Y2/ja
Publication of JPS6246950U publication Critical patent/JPS6246950U/ja
Application granted granted Critical
Publication of JPH0110653Y2 publication Critical patent/JPH0110653Y2/ja
Expired legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【考案の詳細な説明】 この考案は、処理要求に従つて定周期処理デー
タおよび不定周期処理データを時分割処理する計
算機システムにおける定周期処理データの処理抜
け防止装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION This invention relates to a device for preventing processing omissions of periodic processing data in a computer system that time-divisionally processes periodic processing data and non-periodic processing data in accordance with processing requests.

従来において、定周期処理データおよび不定周
期処理データを処理要求に従つて時分割処理する
計算機システムがあるが、この計算機システムで
は定周期処理データの処理要求と不定周期処理デ
ータの処理要求とが同時に発生して処理要求の競
合が生じ、定周期処理データが処理されなくなる
という事態を防止するため、定周期処理データと
不定周期処理データとの間に優先関係を設定し、
優先度の高い定周期処理データを優先して処理す
るようにしている。
Conventionally, there is a computer system that time-sharingly processes fixed periodic processing data and irregular periodic processing data according to processing requests, but in this computer system, processing requests for fixed periodic processing data and processing requests for irregular periodic processing data are simultaneously processed. In order to prevent a situation where a conflict of processing requests occurs and the fixed periodic processing data is not processed, a priority relationship is set between the fixed periodic processing data and the irregular periodic processing data,
Periodically processed data with high priority is processed preferentially.

このような優先処理のための制御は、オペレー
テイングシステムと呼ばれる制御プログラムによ
つて実行されているが、制御プログラムを格納す
るメモリを新たに設ける必要があるため、ハード
ウエアの規模が大きくなるという欠点がある。こ
の欠点は、マイクロコンピユータシステムなどの
ように、メモリ容量が制約され、かつハードウエ
アの規模の小規模化が要求される計算機システム
では致命的となる。
Control for such priority processing is executed by a control program called an operating system, but it requires additional memory to store the control program, which increases the scale of the hardware. There are drawbacks. This drawback is fatal in computer systems, such as microcomputer systems, where memory capacity is limited and hardware needs to be downsized.

この考案は、上述した事情に鑑みなされたもの
で、その目的は定周期処理データの処理抜けを小
規模構成で防止し得るようにした定周期処理デー
タの処理抜け防止装置を提供することにある。
This invention was made in view of the above-mentioned circumstances, and its purpose is to provide a device for preventing processing omissions in periodic processing data that can prevent processing omissions in periodic processing data with a small-scale configuration. .

以下、図面に基づいて本考案を詳細に説明す
る。
Hereinafter, the present invention will be explained in detail based on the drawings.

第1図は本考案の一実施例を示すブロツク図で
ある。同図において、処理抜け防止装置は大別し
て、周期信号発生部1、遅れ周期カウンタ2、遅
れ周期監視部3とから構成されている。一方、計
算機4はプログラムメモリM、処理要求コマンド
フリツプフロツプF1〜Fn、マルチプレクサ
MPX、データ処理部PU1〜PUn、出力装置Q、
バツフアメモリBMとから構成されている。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, the processing omission prevention device is roughly divided into a periodic signal generating section 1, a delay period counter 2, and a delay period monitoring section 3. On the other hand, the computer 4 has a program memory M, processing request command flip-flops F1 to Fn, and a multiplexer.
MPX, data processing unit PU 1 ~ PUn, output device Q,
It consists of a buffer memory BM.

前記周期信号発生部1は、定周期処理データを
処理すべき周期に対応した周期τの周期信号P1
を発生するものであり、クロツクパルス発生器
CPGからのクロツクパルスをカウントするカウ
ンタCTR0と、カウンタCTR0のカウント値とデ
ータ設定器DS1に設定された定周期処理データの
処理周期τを表わす設定データD(τ)とを比較
し、一致の時にワンシヨツトパルスを出力するワ
ンシヨツトパルスジエネレータWPG0とを備え、
前記ワンシヨツトパルスが周期τの周期信号P1
として出力される。
The periodic signal generator 1 generates a periodic signal P 1 with a period τ corresponding to the period at which the fixed periodic processing data is to be processed.
It is a clock pulse generator.
The counter CTR 0 that counts clock pulses from the CPG is compared with the count value of the counter CTR 0 and the setting data D (τ) representing the processing cycle τ of the fixed-cycle processing data set in the data setting device DS 1 , and they match. Equipped with a one-shot pulse generator WPG 0 that outputs a one-shot pulse when
The one-shot pulse is a periodic signal P 1 with a period τ
is output as

遅れ周期カウント2は、前記周期信号P1によ
つてカウントアツプされ、データ処理部PU1から
のデータ処理完了信号P3によつてカウントダウ
ンされ、そのカウント値を定周期処理データの処
理遅れ周期数を表わす遅れ周期数信号DP1とし出
力するものである。
The delay period count 2 is counted up by the period signal P 1 and counted down by the data processing completion signal P 3 from the data processing unit PU 1 , and the count value is calculated as the number of processing delay periods of the fixed period processing data. It outputs a delay period number signal DP1 representing .

遅れ周期監視回路3は、前記遅れ周期数信号の
値が許容値以内の時、すなわちτ周期毎の定刻に
処理を開始すべき定周期処理データの定刻からの
遅れがその後においてとり戻せるような時間であ
れば、定周期処理データの処理要求コマンドS1
発生し、定刻からの遅れがその後においてとり戻
せないような時間であれば、異常信号P2を出力
するものであり、遅れ周期の許容値D(Y)を設
定するデータ設定器DS2、遅れ周期の非許容値D
(N)を設定するデータ設定器DS3、遅れ周期カ
ウンタ2の出力信号DP1と前記許容値D(Y)と
を比較し、DP1=D(Y)の時に処理要求コマン
ドS1を出力するワンシヨツトパルスジエネレータ
WPG1、前記信号DP1と非許容値D(N)とを比
較し、DP1=D(N)の時に異常信号P2を出力す
るワンシヨツトパルスジエネレータWPG2とを備
えている。
The delay cycle monitoring circuit 3 detects when the value of the delay cycle number signal is within an allowable value, that is, the time period after which the delay of periodic processing data whose processing should be started at the scheduled time every τ period can be recovered. If so, a processing request command S1 for periodic processing data is generated, and if the delay from the scheduled time is such that it cannot be recovered after that, an abnormal signal P2 is output, and the allowable delay period is Data setter DS 2 for setting value D(Y), unacceptable value D of delay period
(N), the data setter DS 3 compares the output signal DP 1 of the delay period counter 2 with the above-mentioned allowable value D(Y), and outputs the processing request command S 1 when DP 1 = D(Y). One-shot pulse generator
WPG 1 , and a one-shot pulse generator WPG 2 that compares the signal DP 1 with an unacceptable value D(N) and outputs an abnormal signal P 2 when DP 1 =D(N).

計算機4は、定周期処理データに関する処理要
求コマンドS1および他の不定周期処理データに関
する処理要求コマンドS2…Soを処理要求コマンド
フリツプフロツプF2〜Foに一時格納しておき、
マルチプレクサMPXによるコマンド検出走査に
よつて各コマンドS1〜Soに対する処理の受付けを
順次行い、各コマンドS1〜Soに対応するデータ処
理部PU1〜PUoにおいてプログラムメモリに記憶
された処理プログラムに従つた処理を順次実行さ
せる。バツフアメモリは処理プログラムを実行す
る上での各種データの一時記憶に使用される。そ
して、処理結果は出力装置Qを介して外部に出力
される。なお、データ処理部PU1は所定のデータ
処理が完了すると、このことを表わすデータ処理
完了信号P3を出力する。このデータ処理完了信
号P3は遅れ周期カウンタ2の信号として使用さ
れる。次に、動作を第2図のタイムチヤートを用
いて説明する。なお、遅れ周期の許容値D(Y)
および非許容値はD(N)は、それぞれD(Y)=
1、D(N)=3に設定されているものとする。
The computer 4 temporarily stores a processing request command S 1 regarding fixed periodic processing data and a processing request command S 2 .
Through command detection scanning by the multiplexer MPX, processing for each command S 1 to S o is sequentially accepted, and the processing stored in the program memory in the data processing units PU 1 to PU o corresponding to each command S 1 to S o is performed. Executes processes according to the program sequentially. The buffer memory is used to temporarily store various data when executing a processing program. The processing results are then output to the outside via the output device Q. Note that when the data processing unit PU 1 completes the predetermined data processing, it outputs a data processing completion signal P 3 representing this fact. This data processing completion signal P3 is used as a signal for the delay period counter 2. Next, the operation will be explained using the time chart shown in FIG. In addition, the allowable value of the delay period D(Y)
and non-acceptable values are D(N) and D(Y)=
1, and D(N)=3.

まず、周期信号発生部1からτ周期毎の周期信
号P1が出力されると、この周期信号P1によつて
遅れ周期カウンタCTR1はカウントアツプされ、
そのカウント値すなわち遅れ周期数信号DP1は第
2図cに示すようにDP1=1となる。これによつ
て、遅れ周期監視部3から定周期処理データJ(A)
(第2図a参照)に関する処理要求コマンドS1
出力される。この処理要求コマンドS1はマルチプ
レクサMPXによつて検出される。これによつて、
データ処理部PU1において定周期処理データJ(A)
に関する処理が第2図aの波線で示すような時間
だけ実行される。この処理が完了すると、データ
処理部PU1からデータ処理完了信号P3が出力さ
れ、これによつて遅れ周期カウンタCTR1かカウ
ントダウンされ、信号DP1はDP1=0となる。そ
して、信号DP1がDP1=0の間は、定周期処理デ
ータJ(A)に関する処理を実行中に処理要求のあつ
た他の不定周期処理データJ(B)に関する処理が第
2図bの波線で示すような時間だけ実行される。
この後、再び周期信号P1が発生すると、再び定
周期処理データJ(A)に関する処理が実行される。
First, when the periodic signal generator 1 outputs the periodic signal P 1 for every τ period, the delay period counter CTR 1 is counted up by this periodic signal P 1 .
The count value, that is, the delay period number signal DP 1 becomes DP 1 =1 as shown in FIG. 2c. As a result, the fixed period processing data J(A) is transmitted from the delay period monitoring unit 3.
A processing request command S1 regarding (see FIG. 2a) is output. This processing request command S1 is detected by multiplexer MPX. By this,
Fixed period processing data J(A) in data processing unit PU 1
The related processing is executed for a period of time as indicated by the dotted line in FIG. 2a. When this processing is completed, the data processing unit PU 1 outputs a data processing completion signal P 3 , which causes the delay period counter CTR 1 to count down, and the signal DP 1 becomes DP 1 =0. Then, while the signal DP 1 is DP 1 = 0, the processing related to other non-periodic processing data J(B) for which a processing request was made while the processing related to the fixed-period processing data J(A) is being executed is performed as shown in FIG. It is executed for the time shown by the wavy line.
Thereafter, when the periodic signal P1 is generated again, the process regarding the periodic processing data J(A) is executed again.

ところで、第2図のτ2の区間における不定周期
処理データの処理時間がt′時間長くなつ場合、τ3
の区間における定周期処理データJ(A)は定刻t3
おいてその処理が開始されないが、遅れ周期数信
号DP1がDP1=1となつているためにt′時間遅れ
て開始される。
By the way, if the processing time of irregular periodic processing data in the interval τ 2 in Fig. 2 increases by t' time, then τ 3
The periodic processing data J(A) in the interval does not start its processing at the fixed time t3 , but because the delay period number signal DP1 is DP1 =1, it starts with a delay of time t'.

しかし、第2図のτ4の区間における定刻t4で開
始すべき定周期処理データJ(A)の処理がt″時時間
だけ遅れ、かつその処理が通常よりも長くなり、
定刻t6を過ぎても完了しない場合、遅れ周期数信
号DP1は定刻t6においてDP1=3になる。信号
DP1が「3」になるというのは、遅れ時間が1周
期(1τ)以上になり、2周期分の定周期処理デー
タが未処理であることを意味する。このような場
合、その後において遅れをとり戻すことがほぼ不
可能と考えられる。そこで、ワンシヨツトパルス
ジエネレータWPG2は、信号DP1がDP1=3とな
つた時点で異常信号P3を出力し、出力装置Qを
介して外部において警報を発生させる。同時に、
遅れ周期カウンタCTR1をリセツする。この後、
同様な動作実行される。
However, the processing of the periodic processing data J(A) that should start at the scheduled time t 4 in the section τ 4 in FIG. 2 is delayed by t'' time, and the processing is longer than usual.
If the process is not completed even after the scheduled time t 6 , the delay period number signal DP 1 becomes DP 1 =3 at the scheduled time t 6 . signal
When DP 1 becomes "3", it means that the delay time is one cycle (1τ) or more and two cycles worth of periodic processing data are unprocessed. In such a case, it is considered almost impossible to catch up afterward. Therefore, the one-shot pulse generator WPG 2 outputs an abnormality signal P 3 when the signal DP 1 becomes DP 1 =3, and generates an alarm externally via the output device Q. at the same time,
Reset the delay period counter CTR 1 . After this,
A similar operation is performed.

以上の説明から明らかなように、本考案は定周
期処理データに関する処理の遅れを監視し、その
遅れ時間が許容値内であれば、定刻を過ぎた後で
あつても所定の処理を実行させるようにしたもの
である。このため、極めて簡単な構成で定周期処
理データの処理抜けを防止でき、計算機システム
の信頼性を一段と向上させることができる。特
に、計算機システムが外部装置を制御する目的の
ものである場合、計算機内部におけるデータ処理
量の変動に伴う外部装置への悪影響を防止できる
利点がある。
As is clear from the above explanation, the present invention monitors processing delays related to periodic processing data, and if the delay time is within an allowable value, predetermined processing is executed even after the scheduled time has passed. This is how it was done. Therefore, it is possible to prevent processing omissions of periodic processing data with an extremely simple configuration, and it is possible to further improve the reliability of the computer system. In particular, when the computer system is intended to control an external device, there is an advantage that it is possible to prevent adverse effects on the external device due to fluctuations in the amount of data processed inside the computer.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本考案の一実施例を示すブロツク図、
第2図は動作を説明するためのタイムチヤートで
ある。 1……周期信号発生部、2……遅れ周期カウン
タ、3……遅れ周期監視部、4……計算機。
FIG. 1 is a block diagram showing an embodiment of the present invention.
FIG. 2 is a time chart for explaining the operation. DESCRIPTION OF SYMBOLS 1... Periodic signal generation part, 2... Delayed period counter, 3... Delayed period monitoring part, 4... Calculator.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 処理要求に従つて定周期処理データおよび不定
周期処理データを時分割処理する計算機システム
における定周期処理データの処理抜け防止装置に
おいて、前記定周期処理データを処理すべき周期
に対応した周期信号を発生する周期信号発生手段
と、前記周期信号によりカウントアツプされ、前
記計算機システムにおけるデータ処理部からのデ
ータ処理完了信号によつてカウントダウンされ、
そのカウント値を定周期処理データの処理遅れ周
期数を表わす遅れ周期数信号として出力するカウ
ンタと、前記遅れ周期数信号の値が許容値内の場
合には定周期処理データの処理要求を発生し、許
容値外の場合には異常信号を発生する遅れ周期監
視手段とを具備してなる定周期処理データの処理
抜け防止装置。
Generates a periodic signal corresponding to the period at which the periodic processing data should be processed, in a device for preventing processing omissions of periodic processing data in a computer system that time-sharingly processes fixed periodic processing data and irregular periodic processing data according to a processing request. a periodic signal generating means for counting up by the periodic signal and counting down by a data processing completion signal from a data processing section in the computer system;
A counter outputs the count value as a delay cycle number signal representing the number of processing delay cycles of fixed-cycle processing data, and generates a processing request for fixed-cycle processing data when the value of the delay cycle number signal is within an allowable value. , and a delay cycle monitoring means for generating an abnormal signal when the value is outside the allowable value.
JP1986125667U 1986-08-18 1986-08-18 Expired JPH0110653Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1986125667U JPH0110653Y2 (en) 1986-08-18 1986-08-18

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1986125667U JPH0110653Y2 (en) 1986-08-18 1986-08-18

Publications (2)

Publication Number Publication Date
JPS6246950U JPS6246950U (en) 1987-03-23
JPH0110653Y2 true JPH0110653Y2 (en) 1989-03-28

Family

ID=31018763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1986125667U Expired JPH0110653Y2 (en) 1986-08-18 1986-08-18

Country Status (1)

Country Link
JP (1) JPH0110653Y2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5093358A (en) * 1973-12-19 1975-07-25
JPS5128449A (en) * 1974-09-04 1976-03-10 Hitachi Ltd
JPS5376720A (en) * 1976-12-20 1978-07-07 Hitachi Ltd Timer circuit of electronic computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5093358A (en) * 1973-12-19 1975-07-25
JPS5128449A (en) * 1974-09-04 1976-03-10 Hitachi Ltd
JPS5376720A (en) * 1976-12-20 1978-07-07 Hitachi Ltd Timer circuit of electronic computer

Also Published As

Publication number Publication date
JPS6246950U (en) 1987-03-23

Similar Documents

Publication Publication Date Title
US5233615A (en) Interrupt driven, separately clocked, fault tolerant processor synchronization
US4566111A (en) Watchdog timer
US4952367A (en) Timer channel for use in a multiple channel timer system
US4682282A (en) Minimum latency tie-breaking arbitration logic circuitry
US4942522A (en) Timer channel with multiple timer reference features
JPH0110653Y2 (en)
US5611073A (en) Method of ensuring parameter coherency in a multi-processor system
JPH0320776B2 (en)
US5572720A (en) Method of extending capacity of a microprocessor timer
US4710928A (en) Method and apparatus for detecting the uncontrollable operation of a control system
JP3314791B2 (en) Synchronization method for multiprocessor systems
SU1119020A1 (en) Memory control unit
JPS6051141B2 (en) Program runaway detection method
JP2689778B2 (en) Runaway detection device for electronic control unit
JP3152014B2 (en) Timer circuit
JP2923869B2 (en) Event input circuit
SU1213485A1 (en) Processor
SU1552186A2 (en) Device for monitoring program run
SU1539776A1 (en) Microprogram control device
JPH02252034A (en) Watchdog timer setting system
JPH1165624A (en) Programmable controller
JPH02302864A (en) Input/output controller
JPH06131211A (en) Method for testing input/output interruption in multiprocessor system
JPH04107748A (en) Microcomputer
JPH04106637A (en) Stall detection circuit