JPH0145251B2 - - Google Patents

Info

Publication number
JPH0145251B2
JPH0145251B2 JP4273381A JP4273381A JPH0145251B2 JP H0145251 B2 JPH0145251 B2 JP H0145251B2 JP 4273381 A JP4273381 A JP 4273381A JP 4273381 A JP4273381 A JP 4273381A JP H0145251 B2 JPH0145251 B2 JP H0145251B2
Authority
JP
Japan
Prior art keywords
circuit
output
time
execution
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
JP4273381A
Other languages
Japanese (ja)
Other versions
JPS57157174A (en
Inventor
Hitoshi Horibata
Takehisa Matsura
Masazumi Minaki
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP4273381A priority Critical patent/JPS57157174A/en
Publication of JPS57157174A publication Critical patent/JPS57157174A/en
Publication of JPH0145251B2 publication Critical patent/JPH0145251B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G5/00Setting, i.e. correcting or changing, the time-indication

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)
  • Measurement Of Predetermined Time Intervals (AREA)
  • Electromechanical Clocks (AREA)
  • Electronic Switches (AREA)

Description

【発明の詳細な説明】 この発明は、ある基準時刻から指定した時間間
隔を以つて所定の出力を遅延実行する制御回路に
おいて、基準時刻計数用カウンタの出力側に加算
回路を設け、この加算回路の出力が遅延すべき本
来の時刻となるように動作せしめ、加算回路の時
刻データ出力と遅延実行すべき時刻が記憶されて
いるメモリ回路のデータ出力とを比較回路により
比較し、更に比較後発生する遅延実行出力制御信
号を時刻補正回路において本来の遅延実行すべき
時刻に合わせることにより、遅延制御を誤りなく
確実に指定した遅延時刻に実行するようにした点
を特徴とするものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a control circuit that delays execution of a predetermined output at a specified time interval from a certain reference time, in which an adder circuit is provided on the output side of a counter for counting the reference time, and the adder circuit The time data output of the adder circuit is compared with the data output of the memory circuit in which the time to be delayed is stored, and the output of the adder circuit is operated so that the output is the original time to be delayed. The present invention is characterized in that the delay execution output control signal is adjusted to the original time at which the delay should be executed in the time correction circuit, thereby ensuring that the delay control is executed at the designated delay time without error.

一般に、ある基準時刻から指定した時間間隔を
以つて遅延実行する制御回路では指定遅延時刻を
例えばメモリ回路に記憶し、一連のアドレス制御
によりメモリ回路の出力に遅延すべき実行時刻を
読み出し、この読み出した出力と任意に設定可能
なある基準時刻から同様に任意に設定可能な或る
一定の間隔を以つて計数している基準時刻計数用
カウンタの出力とを比較し、この比較結果が一致
している場合に所定の出力を指定した遅延時間を
以つて得るようになつている。
Generally, in a control circuit that delays execution by a specified time interval from a certain reference time, the specified delay time is stored in, for example, a memory circuit, and the execution time to be delayed is read out from the output of the memory circuit by a series of address controls. and the output of a reference time counting counter that counts at a certain interval that can also be set arbitrarily from a certain standard time that can be arbitrarily set, and if the comparison results match. When there is a specified delay time, a predetermined output is obtained with a specified delay time.

第1図は従来の遅延制御回路を示し、1は基準
時刻計数用カウンタでなり、この基準時刻計数用
カウンタ1は、任意に設定可能な基準時刻信号入
力を計数動作開始時刻として、基準時刻信号入力
及び任意に設定可能なある一定の間隔をもつたク
ロツク入力とを例えばアンドゲート回路2を通す
ことによつて、基準時刻信号TSが“1”の信号
の場合のみ出力される計数用クロツクCLにより
機能を果すものである。3は実行時刻データET
を記憶するメモリ回路4のアドレスを制御する回
路であり、これは基準時刻計数用クロツクよりも
数倍速い周期率を持つクロツクHCによりメモリ
回路の全アドレスを順次出力し、メモリ回路4の
書き込み及び読み出しをアドレス制御するために
設けられているものである。メモリ回路4には指
定した実行時刻データETを順次出力されるアド
レス制御回路3のアドレス指定により書き込み、
記憶してあり、やはりアドレス制御回路からのア
ドレス指定により、順次メモリ回路から指定実行
時刻AT及び実行データEDを読み出せるように
なつている。このメモリ回路から読み出された指
定実行時刻データATと前述した基準時刻計数用
カウンタの出力データとを比較回路5において比
較し、この比較した結果が一致している場合に
は、ある任意に設定した基準時刻から指定した遅
延すべき時間だけ経過したものと判断して、遅延
実行出力制御信号DSを発生し、この制御信号DS
を実行データ出力発生回路6へ供給することによ
り、所定の実行出力EOを得るものである。
FIG. 1 shows a conventional delay control circuit, and reference numeral 1 is a reference time counting counter. By passing the input and a clock input having a certain interval that can be set arbitrarily through an AND gate circuit 2, a counting clock CL is generated which is output only when the reference time signal TS is a "1" signal. It performs its functions by 3 is execution time data ET
This is a circuit that controls the addresses of the memory circuit 4 that stores the memory circuit 4. This circuit sequentially outputs all addresses of the memory circuit using a clock HC that has a cycle rate several times faster than the reference time counting clock, and controls the writing and writing of the memory circuit 4. This is provided for address control of reading. The specified execution time data ET is written into the memory circuit 4 according to the address designation of the address control circuit 3 which is sequentially output.
The specified execution time AT and execution data ED can be read out from the memory circuit sequentially by address designation from the address control circuit. The specified execution time data AT read from this memory circuit and the output data of the reference time counting counter described above are compared in the comparator circuit 5, and if the comparison results match, a certain arbitrary setting is made. It is determined that the specified delay time has elapsed from the reference time set, and the delay execution output control signal DS is generated, and this control signal DS
By supplying the execution data output generation circuit 6 to the execution data output generation circuit 6, a predetermined execution output EO is obtained.

例えば、基準時刻計数用カウンタ1が8ビツト
のバイナリカウント出力を発生するものと仮定す
る。上記基準時刻計数用カウンタ1は、00000000
から11111111まで、アンドゲート回路2から供給
される基準時刻計数用クロツクにより、1カウン
トずつ順次カウントアツプする。
For example, assume that the reference time counter 1 generates an 8-bit binary count output. The above reference time counter 1 is 00000000.
From 11111111, the reference time counting clock supplied from the AND gate circuit 2 sequentially counts up one count at a time.

一方、実行時刻データETも基準時刻計数用カ
ウンタ1と同じく8ビツトとする。今、実行時刻
データETに00111111なるデータが与えられたと
すると、該データはメモリ回路4に書込まれ、そ
れが読出されて指定実行時刻データATとして比
較回路5へ入力される。基準時刻計数用カウンタ
1は前記のようにカウントアツプ動作をしてお
り、比較回路5はカウント値が指定実行時刻デー
タAT即る00111111となつたことを検出して、遅
延実行出力制御信号DSを発生する。
On the other hand, the execution time data ET is also 8 bits like the reference time counter 1. Now, assuming that data 00111111 is given to the execution time data ET, the data is written into the memory circuit 4, read out, and input to the comparison circuit 5 as the designated execution time data AT. The reference time counter 1 performs a count-up operation as described above, and the comparator circuit 5 detects that the count value has reached the designated execution time data AT, ie, 00111111, and outputs the delayed execution output control signal DS. Occur.

従来は、このように基準時刻用計数カウンタの
出力データと指定した遅延実行時刻を記憶してい
るメモリ回路から読み出す時刻データとを単に比
較するものであるから、比較後発生する遅延実行
出力制御信号DSは実際に遅延実行すべき時刻よ
りも遅れてしまい、この遅れを無視するか、もし
くはメモリ回路に実行時刻データを供給する時点
で遅れ分の補正をしなければならず厄介であり、
第一に実行に対する誤りの要因ともなり得る。
Conventionally, the output data of the reference time counting counter is simply compared with the time data read from the memory circuit that stores the specified delay execution time, so the delay execution output control signal generated after the comparison is DS is delayed from the time when it should actually be executed, and this delay must be ignored or compensated for when supplying execution time data to the memory circuit, which is troublesome.
First, it can be a cause of errors in execution.

また、連続的に遅延実行出力を得ようとする場
合、当然のことながら実行出力信号発生中はメモ
リ回路の読み出しを含めて次の出力信号発生のた
めの一連の制御動作を実施できない状態にあり、
この時間帯の空白分も指定した遅延実行時刻に対
する遅れの要因となり、この空白を補償するため
に例えばメモリ回路のアドレス制御回路を動作さ
せるクロツクパルスの周期率を増々高速にしなけ
ればならず、誤り発生の大きな原因ともなる。
Furthermore, when attempting to obtain delayed execution outputs continuously, it goes without saying that while the execution output signal is being generated, it is impossible to perform a series of control operations for generating the next output signal, including reading the memory circuit. ,
The blank space in this time period also causes a delay with respect to the specified delay execution time, and in order to compensate for this blank space, for example, the cycle rate of the clock pulse that operates the address control circuit of the memory circuit must be made faster and faster, resulting in errors. It is also a major cause of

この発明の目的はこのような従来の欠点を除去
し、遅延実行に対して誤りのない安定な動作を行
うことができる遅延実行制御回路を提供すること
にある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a delay execution control circuit which can eliminate such conventional drawbacks and perform error-free and stable operation with respect to delayed execution.

この発明では基準時刻計数用カウンタ1の出力
を加算回路に供給し、この加算回路にて基準時刻
に或る一定の時間を加えることにより遅延実行す
べき本来の時刻となるように動作させ、この加算
回路の時刻データ出力とメモリ回路の実行時刻デ
ータ出力とを比較回路において比較するととも
に、メモリ回路から読み出した実行時刻データを
例えばレジスタに蓄積し、比較回路から発生する
遅延実行出力制御信号により実行データの出力を
得ることと、更に比較回路から出力される制御信
号発生のタイミングを本来の遅延実行時刻に補正
するようになすものである。
In this invention, the output of the reference time counting counter 1 is supplied to an adder circuit, and the adder circuit adds a certain amount of time to the reference time so that the original time to be delayed is reached. The time data output of the adder circuit and the execution time data output of the memory circuit are compared in the comparator circuit, and the execution time data read from the memory circuit is stored in, for example, a register, and executed by the delayed execution output control signal generated from the comparator circuit. In addition to obtaining data output, the timing of generation of the control signal output from the comparator circuit is corrected to the original delay execution time.

第2図はこの発明の一実施例を示し、この図に
おいて第1図と共通する部分には同一符号を付し
その詳細説明は省略するも、1は基準時刻計数用
カウンタ、2はアンドゲート回路、3はアドレス
制御回路、4はメモリ回路、5は比較回路、6は
実行データ出力発生回路である。
FIG. 2 shows an embodiment of the present invention. In this figure, parts common to those in FIG. 3 is an address control circuit, 4 is a memory circuit, 5 is a comparison circuit, and 6 is an execution data output generation circuit.

この発明においては加算回路7、実行時刻デー
タ蓄積用レジスタ8及び時刻補正回路9を設ける
ものである。
In this invention, an adder circuit 7, an execution time data storage register 8, and a time correction circuit 9 are provided.

即ち、加算回路7において基準時刻計数用カウ
ンタ1の時刻データ出力に或る一定の時間を加え
ることにより遅延実行すべき本来の基準時刻とな
すものであるから、基準時刻計数用カウンタ1の
時刻データ出力は、本来の遅延実行時刻よりも加
算回路において加える時間分だけ早い時刻データ
になつており、従つて比較後発生する遅延実行出
力制御信号も同様に早くなつている。
That is, by adding a certain period of time to the time data output of the reference time counting counter 1 in the adding circuit 7, the original reference time to be delayed is set. The output is time data that is earlier than the original delay execution time by the time added by the adder circuit, and therefore the delay execution output control signal generated after comparison is also earlier.

比較回路において、二つの被比較データ入力が
一致した場合には、制御信号によりレジスタ8に
蓄積されていた実行時刻データED2を実行データ
出力発生回路6に移し、同時に比較回路からの制
御信号COを時刻補正回路9に入力し、この時刻
補正回路からの遅延実行出力制御信号DSにより
実行データの出力ED1を制御する。この間、既に
メモリ回路から実行時刻データATを読み出す動
作がなされており、次の基準時刻ETと実行時刻
ATの比較を行つている。従つて、実行データ出
力EOの発生中も待期状態というべき空白時間な
くしてメモリ回路からの読み出しが行われ、一連
の制御動作を実施して次の実行すべき時刻を確実
に制御している。
In the comparison circuit, when the two data inputs to be compared match, the control signal transfers the execution time data ED 2 stored in the register 8 to the execution data output generation circuit 6, and at the same time the control signal CO from the comparison circuit is transferred. is input to the time correction circuit 9, and the execution data output ED1 is controlled by the delayed execution output control signal DS from the time correction circuit. During this time, the execution time data AT has already been read from the memory circuit, and the next reference time ET and execution time are being read.
I am comparing AT. Therefore, even while the execution data output EO is occurring, reading from the memory circuit is performed without any blank time that could be called a waiting state, and a series of control operations are performed to reliably control the time at which the next execution should be performed. .

第3図は、上記の動作を説明するためのタイミ
ング図である。図において、加算回路7は基準時
刻計数用カウンタ1の出力に1を加算して、比較
回路5へ供給するため、比較回路5の出力COは、
実行時刻データETが00111111のとき、これより
1少い00111110において、出力COを発生する。
FIG. 3 is a timing diagram for explaining the above operation. In the figure, since the adder circuit 7 adds 1 to the output of the reference time counter 1 and supplies it to the comparator circuit 5, the output CO of the comparator circuit 5 is
When the execution time data ET is 00111111, the output CO is generated at 00111110, which is one less than this.

従つて実行時刻データ蓄積用レジスタ8の出力
ED2は、図のように基準時刻計数用カウンタ1の
出力が00111111となる1クロツク前で、該データ
をロードすることが可能になり、実行データ出力
発生回路6は、あらかじめ入力される該データを
用いて実行データ出力EOを発生する。
Therefore, the output of execution time data storage register 8
As shown in the figure, the ED 2 can load the data one clock before the output of the reference time counter 1 becomes 00111111, and the execution data output generation circuit 6 loads the data input in advance. Generate execution data output EO using .

以上説明したごとく、この発明によれば遅延実
行すべき時刻に対する遅れは理論的には回路構成
上当然発生する誤差分のみであり、この値は全く
無視できる程に小さく、時刻補正回路の例えば時
刻合わせのためのカウンタなどの数を増やして精
度をあげれば増々小さくすることができる。ま
た、連続的に遅延実行させる場合、出力信号発生
の時間を待たずにメモリ回路の続み出しを行える
ので、この時間の空白分も除去でき、更にこの空
白分を補償するためにメモリ回路のアドレス制御
をするクロツクパルスの周期率を高速にしなけれ
ばならない必要性もなくなり、従つて誤りのない
安定な遅延制御を実行することができる。
As explained above, according to the present invention, the delay with respect to the time when the delay should be executed is theoretically only the error that naturally occurs due to the circuit configuration, and this value is so small that it can be completely ignored. The size can be further reduced by increasing the number of counters, etc. for matching and improving accuracy. In addition, in the case of continuous delayed execution, the memory circuit can be continued without waiting for the output signal generation time, so this time gap can also be removed, and in order to compensate for this gap, the memory circuit There is no need to increase the cycle rate of the clock pulse for address control, and therefore error-free and stable delay control can be performed.

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

第1図は従来例を説明するための系統図、第2
図はこの発明の一実施例を示す系統図、第3図は
第2図の動作を説明するためのタイミング図であ
る。 1……基準時刻計数用カウンタ、2……アンド
ゲート回路、3……アドレス制御回路、4……メ
モリ回路、5……比較回路、6……実行データ出
力発生回路、7……加算回路、8……実行時刻デ
ータ蓄積用レジスタ、9……時刻補正回路、なお
図中同一あるいは相当部分には同一符号を付して
示してある。
Figure 1 is a system diagram for explaining the conventional example;
The figure is a system diagram showing one embodiment of the present invention, and FIG. 3 is a timing diagram for explaining the operation of FIG. 2. DESCRIPTION OF SYMBOLS 1...Reference time counter, 2...AND gate circuit, 3...Address control circuit, 4...Memory circuit, 5...Comparison circuit, 6...Execution data output generation circuit, 7...Addition circuit, 8... Execution time data storage register, 9... Time correction circuit. Identical or corresponding parts in the drawings are denoted by the same reference numerals.

Claims (1)

【特許請求の範囲】[Claims] 1 基準時刻信号と基準時刻計数用クロツクとを
入力するアンドゲート回路と、上記アンドゲート
回路の出力を計数する基準時刻計数用カウンタ
と、上記基準時刻計数用カウンタの時刻データ出
力に一定の時間を加える加算回路と、遅延実行す
べき実行時刻データを記憶するメモリ回路と、上
記基準時刻計数用クロツクよりも速い周期のクロ
ツクによりメモリ回路のアドレスを出力し、上記
メモリ回路の書込み及び読出しをアドレス制御す
るアドレス制御回路と、上記加算回路からの出力
と上記メモリ回路からの出力とを比較し、両者が
一致したとき制御信号を発生する比較回路と上記
メモリ回路の出力を蓄積し、上記比較回路の制御
信号によりその蓄積データを実行データ出力発生
回路へ出力するレジスタと、上記比較回路からの
制御信号を入力し、上記比較回路から出力される
制御信号発生のタイミングを本来の遅延実行時刻
に補正して上記実行データ出力発生回路へ供給す
る時刻補正回路とを具備した遅延制御回路。
1. An AND gate circuit that inputs a reference time signal and a reference time counting clock, a reference time counting counter that counts the output of the AND gate circuit, and a fixed time period for the time data output of the reference time counting counter. an adder circuit for adding data, a memory circuit for storing execution time data to be executed with a delay, and a clock having a cycle faster than the reference time counting clock to output the address of the memory circuit, and address control of writing and reading of the memory circuit. an address control circuit that compares the output from the adder circuit with the output from the memory circuit, and generates a control signal when the two match; the outputs of the memory circuit and the comparator circuit are accumulated; A register that outputs the accumulated data to the execution data output generation circuit in response to a control signal, and a control signal from the comparison circuit are inputted to correct the timing of generation of the control signal output from the comparison circuit to the original delayed execution time. and a time correction circuit that supplies the execution data to the execution data output generation circuit.
JP4273381A 1981-03-24 1981-03-24 Delay control circuit Granted JPS57157174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4273381A JPS57157174A (en) 1981-03-24 1981-03-24 Delay control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4273381A JPS57157174A (en) 1981-03-24 1981-03-24 Delay control circuit

Publications (2)

Publication Number Publication Date
JPS57157174A JPS57157174A (en) 1982-09-28
JPH0145251B2 true JPH0145251B2 (en) 1989-10-03

Family

ID=12644233

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4273381A Granted JPS57157174A (en) 1981-03-24 1981-03-24 Delay control circuit

Country Status (1)

Country Link
JP (1) JPS57157174A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2554701Y2 (en) * 1992-12-19 1997-11-17 川崎重工業株式会社 Welding robot with crater processing function

Also Published As

Publication number Publication date
JPS57157174A (en) 1982-09-28

Similar Documents

Publication Publication Date Title
US4016409A (en) Longitudinal parity generator for use with a memory
US5233638A (en) Timer input control circuit and counter control circuit
JP3437802B2 (en) Clock control circuit and error correction circuit using the same
EP0393716B1 (en) Delay circuit
JPS58129552A (en) Processor
JPH0145251B2 (en)
US20050248901A1 (en) Microcontroller with synchronised analog to digital converter
US5221906A (en) Program control digital pulse generator
US6275416B1 (en) Pulse generator circuit, particularly for non-volatile memories
JPH0767288B2 (en) Gate pulse controller for thyristor inverter
JP2803305B2 (en) Inverter on-delay circuit
JP2981275B2 (en) Programmable controller
KR100207481B1 (en) Detecting time adjustment equipment to detect data during desire period
JPS58119022A (en) Delay controller
JPS601644B2 (en) Timing pulse generation circuit
JPH05128060A (en) Information processor
SU572846A1 (en) Memory control block
RU1803912C (en) Adder
JPH08179925A (en) Synchronization change-put circuit
JPS61296572A (en) Time base correcting device
SU1487085A1 (en) Device for suppressing redundancy of cyclic data
JP2660132B2 (en) Phase difference correction circuit
JPH05241702A (en) Parallel interface circuit
JPS61123957A (en) Storage device
JPH0419894A (en) Elastic store circuit