JPS5944126A - Control system for timer - Google Patents

Control system for timer

Info

Publication number
JPS5944126A
JPS5944126A JP15551782A JP15551782A JPS5944126A JP S5944126 A JPS5944126 A JP S5944126A JP 15551782 A JP15551782 A JP 15551782A JP 15551782 A JP15551782 A JP 15551782A JP S5944126 A JPS5944126 A JP S5944126A
Authority
JP
Japan
Prior art keywords
signal
counter
timer
circuit
frequency
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.)
Pending
Application number
JP15551782A
Other languages
Japanese (ja)
Inventor
Shinji Nishibe
西部 晋二
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric Co Ltd
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 Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP15551782A priority Critical patent/JPS5944126A/en
Publication of JPS5944126A publication Critical patent/JPS5944126A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PURPOSE:To eliminate the necessity of assistance for setting and prevent malfunctions due to setting mistakes, by discriminating the frequency, whether it is 50Hz or 60Hz, from the time width of a binary signal following to a commercial AC power frequency and automatically setting a timing signal generating circuit. CONSTITUTION:A commercial AC signal is rectified at a rectifier circuit 10 and converted into a count signal CC of a binary coding level at a square wave circuit 11. The count signal CC is supplied to a counter 12 and microprogram control circuit 15. At the control circuit 15, the time, during which the count signal CC is ''1'', is counted and compared with a reference value, and then, ''1'' or ''0'' is outputted to an output signal Jo. The output signal of an FF16 is supplied to a timing signal generating circuit 13 and, when the output of the FF16 is ''1'', ''5'' is selected as a coefficient setting value and, when the counter counts five pieces, a timing signal TA of 50msec is outputted. When the output of the FF16 is ''0'', ''6'' is selected and 50msec is outputted after the counter 12 counts six pieces.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は商用交流電源周波数を利用したタイマ装置を有
してなるマイクロプログラム制御方式の処理装置(二用
いられるタイマ制御方式じ関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a microprogram control type processing device having a timer device using a commercial AC power frequency.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

一般(=、情報処理装置において用いられるタイマ装置
(二は、発振源(二、水晶発振器を用いたものと、商用
又流電詠の周波数を利用したものとがある。このうち、
商用交流′電源周波数を利用したタイマ装置は、商相反
のタイマ動作が勘待できるが、枝国では電源周波数が統
一されておらず、50Hz の地域と60Hz の地域
とじ分布されることから、システムの連用(二あたって
は、使用又流竜源周披数を判定し、その周波数(二合っ
た回路設定を行なう8賛がある。この際の周波数の判定
並び(二回路設定を従来では、スイッチ操作、又は設定
用ピンの開放/魚箱等(二よるマニュアル操作手段(二
より行なっていた。
General (=, timer devices used in information processing equipment (2) oscillation sources (2) There are two types: one using a crystal oscillator and the other using a commercial or current frequency.
A timer device that uses a commercial AC power supply frequency can be expected to operate in a commercially inconsistent manner, but since the power supply frequency is not standardized in branch countries and is distributed between 50Hz and 60Hz regions, the system There are 8 methods to judge the frequency (2) and to set the circuit according to the frequency (2). Switch operations or opening of setting pins/fish boxes, etc. (2 manual operation methods (2).

第1図は従来のこの極周波数設定機構をもつタイマ装置
の回路構成を示すゾロツク図である、第1図において、
入力された間用交流竜碑(以下女流他号と称す)ACは
、整流回路10、及び矩形波回路1ノを経て2値化レベ
ルのカウント信号C,Ci二整形された後、3ビツトの
カウンタ12じ供給される。カウンタ121t′i、マ
ニュアル操作スイッチSWで選択されたd1数設定値(
ここでは5”又は“6″)をもって、上記カウント信号
CC+二従うカウント動作を繰返し、計時用信号発生回
路13より、所定時間単位(ここでは50m臓)の副時
用4M号TAを発生させる。この訂時用他号TA+二よ
りタイマ川カウンタ14のタイマカウント動作が実行さ
れる、ここで、上記マニュアル操作スイッチSWは、使
用される商用交流′電源すなわち入力される父流信号A
Cの周波数(50Hz760 Hz ) に応じて選択
的に切換操作されるもので、ここでは、交流信号ACの
周仮数が59Hz の際に、上記スインy−8Vv’を
オンに設定して、計数設定値”5nを選択し、又、交流
信号ACの周波数が60Hz の際は、上記スイッチS
Wをオフに設定して、計数設定値”6″′を選択する。
FIG. 1 is a Zoroku diagram showing the circuit configuration of a conventional timer device having this polar frequency setting mechanism.
The input AC signal AC (hereinafter referred to as "feminine" AC) passes through a rectifier circuit 10 and a rectangular wave circuit 1, and then is converted into two binary level count signals C and Ci, and then converted into a 3-bit signal. 12 counters are supplied. Counter 121t'i, d1 number setting value selected with manual operation switch SW (
5" or "6" in this case), the counting operation according to the count signal CC+2 is repeated, and the time signal generation circuit 13 generates the sub-hour No. 4M TA of a predetermined time unit (here, 50 meters). The timer count operation of the timer river counter 14 is executed from this time correction other number TA+2. Here, the manual operation switch SW is connected to the commercial AC' power supply used, that is, the input main current signal A.
It is selectively switched according to the frequency of C (50 Hz to 760 Hz).Here, when the cycle mantissa of the alternating current signal AC is 59 Hz, the above-mentioned switch y-8Vv' is set to ON, and the counting setting is performed. When the value "5n" is selected and the frequency of the alternating current signal AC is 60Hz, the above switch S
Set W to OFF and select the count setting value "6"'.

これにより、計時用信号発生回路13からは、使用され
る商用にα1し電源周波数が50 )(z、 60 H
z の何れであっても50 m5ecの計時用信号“I
’Aが得られるものである。この際のカウンタ12に入
力されるカラン) 4H号CCを周波数別(501(z
/60 Hz )に第2図(a) 、 (b)に示す。
As a result, the clock signal generation circuit 13 outputs the power supply frequency α1 from the used commercial power source to 50 ) (z, 60 H
z, the 50 m5ec timing signal “I
'A is what you get. At this time, the 4H CC is input to the counter 12 by frequency (501 (z
/60 Hz) as shown in Figures 2(a) and (b).

第2図(、)は交流電源周波数が50Hz の際のカウ
ント信号、同図(b)は同5QHz の除のカウント信
号をそれぞれ示している。
FIG. 2(,) shows the count signal when the AC power frequency is 50 Hz, and FIG. 2(b) shows the count signal when the AC power frequency is divided by 5QHz.

しかしながら、上述した従来のタイマ制御手段において
は、使用交流電源周波数に伴う回路設定をマニュアル操
作手段により行なうものであるから、収扱い操作の諏雑
化を招くとともに、設定ミスによる誤動作を招き易いと
いう問題があった。
However, in the above-mentioned conventional timer control means, the circuit settings according to the AC power frequency used are manually operated, which leads to complicated handling operations and is likely to cause malfunctions due to setting errors. There was a problem.

〔発明の目的〕[Purpose of the invention]

本発明は上記実情に疏みなされたもので、簡単な回路構
成にて、使用交流電源周波数に従う回路切換え設定を自
動的に行なうことのできるようにしたタイマ制御方式を
提供することを目的とする。
The present invention has been made in consideration of the above-mentioned circumstances, and an object of the present invention is to provide a timer control method that can automatically perform circuit switching settings according to the AC power frequency used, with a simple circuit configuration. .

〔発明の概髪〕[Overview of the invention]

本発明は、使用される薗用交九′嘔源周波数に従う2値
化信号を計数して得られる計時用信号によりタイマカウ
ント動作を行なうタイマ装置を有してなるマイクロプロ
グラム制御回路の処理装置におい゛C1上記2値化信号
をマイクロプログラム制御回路に分岐判定伯′号として
付勢し、その2値化(M号の時間幅から使用交流電源周
波数が5QHzであるか60Hz であるかを判定して
、その判定結果の保持信号1″−より、計時用信号発生
回路の設定を自動的に行なう構成としたものである。こ
れにより、人手を安すことなく、使用交流電源周波数に
従う回路設定を行なうことができ、設定ミスによる誤動
作を確実に回避できる。
The present invention relates to a processing device for a microprogram control circuit comprising a timer device that performs a timer counting operation based on a timer signal obtained by counting a binary signal according to the source frequency used.゛C1 The above binary signal is applied to the microprogram control circuit as a branch judgment signal, and the signal is converted into a binary signal (it is determined from the time width of signal M whether the AC power frequency used is 5QHz or 60Hz). The configuration is such that the timekeeping signal generation circuit is automatically set based on the holding signal 1''- of the judgment result.This allows the circuit settings to be made according to the frequency of the AC power supply used without any need for manpower. This allows you to reliably avoid malfunctions due to setting errors.

〔発E9jの実施例〕 以下第3図及び第4図を参照して本発明の一実施例を説
明する。第3図は本発明の一実施例を示す回路ブロック
図であり、上記第1図と同一部分には同一符号を付して
その説明を省略する。矩形波目%11より得られる、使
用交流電源周波数に従った2値化レベルのカウント信号
CCは、カウンタ12に供給されるとともに、マイクロ
ン0ログラム制御回路15:二分岐判定信号として供給
される。マイクロプログラム制御回路15はこのカウン
ト信号CCから、後述する周波数判定グロ、ダラム処理
により、使用交流電源周波数が50 Hz であるか6
0H2であるかを判定1′る、この判定結果の出力信号
Jo  はノリツブフロツノ16(=保持され、その出
力が計時用信号発生回路is+二計数設定値選択信号と
して供給される。
[Embodiment of Issuance E9j] An embodiment of the present invention will be described below with reference to FIGS. 3 and 4. FIG. 3 is a circuit block diagram showing one embodiment of the present invention, and the same parts as in FIG. 1 are given the same reference numerals and their explanation will be omitted. A count signal CC of a binary level according to the frequency of the AC power supply used, obtained from the rectangular wave %11, is supplied to the counter 12, and is also supplied to the micron 0 program control circuit 15 as a two-branch determination signal. From this count signal CC, the microprogram control circuit 15 uses frequency determination processing and Durham processing to be described later to determine whether the AC power frequency used is 50 Hz or not.
0H2 is determined 1', and the output signal Jo resulting from this determination is held as a control signal generator 16 (== held), and its output is supplied as a count set value selection signal to the clock signal generation circuit is+2.

第4図は上記マイクロプログラム制御回路15(二より
実行される周波数判定プログラムの処理フローを示すフ
ローチャートである。
FIG. 4 is a flowchart showing the processing flow of the frequency determination program executed by the microprogram control circuit 15 (2).

ここで第3図及び第4図を参照して一実施例の動作を説
明する。入力された交流信号(50Hz/ 60 Hz
 )A Cは整流回路10で整流された後、矩形波回路
11C二送られて2値化レベルのカウント信号C’C(
二整形される。このカウント信号CCIまカウンタ12
(二供給されるととも(二、マイクロプログラム制御回
路15(二分岐判定イ1号として供給される。マイクロ
プログラム制御回路15は、マイクロプログラムで使用
できるレジスタAを用いて、周波数判定処理を実行し、
入力されたカウント信号CCの“1”レベル期間(二お
ける内部クロックの計数値と予め設定された比較基準値
とを比較して、使用交流゛也雰周波数が59Hzである
か59 Hz であるかを判御1する。この周波数判定
処理を第4図を参照して説明すると、入力されたカラン
) イh号CCが“0”であるか“1”であるかを判定
し、“θ31から11”にす換わった時点で、予めクリ
アしたレジスタAを用い、内部クロックの削数を開始す
る。そして上記カラン)CCが“1″から10″′4二
切換わった時点で内部クロックの81数を停止する。そ
してレジスタA(−貯えられたCC=“1″の4%11
間(=おける内部クロックの計数値CDを予め設定され
た比較基準値8Dと比較し、CD>SDであれば出力イ
B号Jo  を1″としてフリップフロラf16をセッ
トする。このフリップフロップ16は電源か遮断される
までその状態を保持する。このフリップフロップ16の
出力4i号は計時用イ6号発生回路13(−供給され、
計数設定値(”5″又は“6″)のセレクト信号となる
。すなわち計時用信号発生回路13は、フリップフロラ
f16のセット出力(Q)が“1″であれば、計数設定
値として”5”を選択し、カウンタ12がカウント信号
CCを5個計数する度毎(二5 Q mIIeCの計時
用信号TAを出力する。又、フリップフロラ7°16の
セット出力(Q)が“0”であれば、W1゛数設定値と
して“6”を選択し、カウンタ12がカウント信号CC
を6個カウント1−る度毎に50m5ecの計時用信号
TAを出力する。この計時用信号発生回路13から出力
される5Qmmの計時用信号TAはタイマ用カウンタ1
4(二供給され、この計時用信号T、+l二従ってタイ
マカウント動作が実施される。
The operation of one embodiment will now be described with reference to FIGS. 3 and 4. Input AC signal (50Hz/60Hz
) A C is rectified by the rectifier circuit 10 and then sent to the rectangular wave circuit 11C to generate a count signal C'C (
It is reshaped. This count signal CCI counter 12
(2. Microprogram control circuit 15 (Two-branch judgment A is supplied as No. 1. Microprogram control circuit 15 executes frequency judgment processing using register A that can be used in the microprogram. death,
Compare the count value of the internal clock during the "1" level period of the input count signal CC with a preset comparison reference value, and determine whether the frequency of the AC being used is 59 Hz or 59 Hz. To explain this frequency determination process with reference to FIG. 11'', the number of internal clocks is started to be reduced using the register A cleared in advance. Then, when the above-mentioned CC changes from "1" to 10"'42, the 81 count of the internal clock is stopped. Then, register A (-4% of stored CC = "1"11
The count value CD of the internal clock at (=) is compared with a preset comparison reference value 8D, and if CD>SD, the output IB Jo is set to 1'' and the flip-flop f16 is set. The state is maintained until the power is cut off.The output No. 4i of this flip-flop 16 is supplied to the timekeeping No. 6 generating circuit 13 (-,
This is a selection signal for the count setting value ("5" or "6"). That is, if the set output (Q) of the flip-flora f16 is "1", the timing signal generation circuit 13 selects "5" as the count setting value, and selects "5" as the count setting value every time the counter 12 counts five count signals CC. (25 Q Outputs the clocking signal TA of the mIIeC. Also, if the set output (Q) of the flip-flora 7°16 is "0", "6" is selected as the W1 number setting value, and the counter 12 is the count signal CC
It outputs a timing signal TA of 50 m5ec every time it counts 6 times. The timing signal TA of 5Qmm outputted from the timing signal generation circuit 13 is sent to the timer counter 1.
4 (2) is supplied, and the timer counting operation is performed accordingly.

このようにして、タイマ月jカウンタ14(二は、使用
される交流電源の周波数が50Hzであっても60H2
であっても、伺らマニュアル操作を伴うことなく、常(
二50m5ecの計時用信号TAが供給される。従って
収扱い操作が量系化され、かつ回路設定ミス(二よる誤
動作が確実(=回避される。
In this way, the timer month j counter 14 (2) is 60H2 even if the frequency of the AC power supply used is 50Hz.
Even if it is, you can always (
A timing signal TA of 250 m5ec is supplied. Therefore, the handling operations are scaled up, and malfunctions due to circuit setting errors are reliably avoided.

〔発明の効果〕〔Effect of the invention〕

以上詳記したように本発明(−よれば、使用される商用
交流電源周波数(−従う2値化化号を11数して得られ
る計時用信号(二よりタイマカウント動作を行なうタイ
マ装置dを有してなるマイクロプログラム制御回路(二
おいて、間車な回路構成(二て、使用交流′電源周波数
(=従う回路設定を自動的(二行なうことができ、取扱
い操作を容易化できるとともく二、設定ミス(二よる誤
動作を確実(二回避することのできるタイマ制御方式が
提供できる。
As described in detail above, according to the present invention (-), the commercial AC power frequency used (-) the timer device d that performs the timer counting operation (the timer device d that is obtained by multiplying the binary code by 11). It has a microprogram control circuit (2), an idle circuit configuration (2), the AC power supply frequency used (= circuit settings that can be made automatically), and easy handling and operation. Second, it is possible to provide a timer control method that can reliably avoid malfunctions caused by setting errors.

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

第1図は従来のタイマ装置の構成を示す回路ブロック図
、第2図(a) I (b)は商用交流電源周波数(5
0Hz/ 60 Hz ) C従う2値化レベルのカウ
ント信号をそれぞれ示す4”A号波形図、第3図は本発
明の一実施例を示す回路ブロック図、第4図は上記実施
例(二おける周波数判定プログラムの処理フローを示す
フローチャートである。 10・・・整流回路、11・・・矩形波回路、12・・
・カウンタ、13・・・H1時用伯号発生回路、14・
・・タイマ用カウンタ、15川マイクロプログラム制御
回路、16・・・フリツノフロツノ、AC・・・商用交
流電源(交流信号)。 出願人代理人  弁理士 鈴 江 武 彦第1図 第2図 第4図
Fig. 1 is a circuit block diagram showing the configuration of a conventional timer device, and Fig. 2 (a) I (b) shows the commercial AC power frequency (5
0 Hz/60 Hz) A waveform diagram of No. 4"A showing the count signals of the binarized level according to C, FIG. 3 is a circuit block diagram showing one embodiment of the present invention, and FIG. It is a flowchart showing the processing flow of the frequency determination program. 10... Rectifier circuit, 11... Rectangular wave circuit, 12...
・Counter, 13... H1 hour number generation circuit, 14.
・・Counter for timer, 15 river microprogram control circuit, 16 ・・Furitsu no Furo Tsuno, AC ・・Commercial AC power supply (AC signal). Applicant's Representative Patent Attorney Takehiko Suzue Figure 1 Figure 2 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 商用文θ1し電源周波数4二従う2値化色号をもと弧二
生成される計時用信号(二よりタイマカウント動作を行
なうタイマ装置を有してなるマイクロプログラム制御方
式の処理装置(二おいて、NrJ記2値化伯号を計数す
るカウンタ、及びこのカウンタを選択された設定値をも
って繰返し動作させ、そのカウント値が前記設定値(二
連する母(二計時用伯号を発生する手段と、前記2値化
化号をマイクロプログラム制御回路(二分岐判冗伯号と
して付勢し、的記2値化伯号の一周期又は半周期じおけ
る内部クロック計数値と予め設定された比較基準値とを
比較して商用交流電源周波数を判定する手段と、この判
定結果を保持するソリツノフロップと、このソリツノフ
ロップの出力信号C二従い前記カウンタの設定値を選択
する手段とを有し、前記ソリツノフロップの出力信号i
二従う前記カウンタの設定値選択制御により、前記計時
用信号を異なる開用交流電源周波数(二おいて同一時間
単位とすることを特徴としたタイマ制御方式。
A microprogram-controlled processing device (two or more) having a timer device that performs timer counting operation (two or more timer signals) is generated based on a binary color code according to a commercial text θ1 and a power supply frequency 42. and a counter for counting NrJ binarized numbers, and this counter is operated repeatedly with a selected set value, and the count value is set to the set value (the mother of two consecutive numbers). Then, the binarization code is energized by the microprogram control circuit (as a bifurcated code) and compared with a preset internal clock count value at one cycle or half cycle of the binary code. It has means for determining the commercial AC power supply frequency by comparing it with a reference value, a Solitsuno flop for holding this determination result, and means for selecting the set value of the counter according to the output signal C2 of the Solitsuno flop. and the output signal i of the solituno flop
2. A timer control method characterized in that, by controlling the setting value selection control of the counter according to 2, the time measurement signal is set to different open alternating current power supply frequencies (2, and the same time unit).
JP15551782A 1982-09-07 1982-09-07 Control system for timer Pending JPS5944126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15551782A JPS5944126A (en) 1982-09-07 1982-09-07 Control system for timer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15551782A JPS5944126A (en) 1982-09-07 1982-09-07 Control system for timer

Publications (1)

Publication Number Publication Date
JPS5944126A true JPS5944126A (en) 1984-03-12

Family

ID=15607781

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15551782A Pending JPS5944126A (en) 1982-09-07 1982-09-07 Control system for timer

Country Status (1)

Country Link
JP (1) JPS5944126A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0544222U (en) * 1991-11-11 1993-06-15 山陽電子工業株式会社 Gas concentrator
JP2020046955A (en) * 2018-09-19 2020-03-26 株式会社東芝 AC input device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0544222U (en) * 1991-11-11 1993-06-15 山陽電子工業株式会社 Gas concentrator
JP2020046955A (en) * 2018-09-19 2020-03-26 株式会社東芝 AC input device

Similar Documents

Publication Publication Date Title
US3696293A (en) Pulse-frequency tester
JPS5944126A (en) Control system for timer
US4982109A (en) Circuit and method for measuring the duration of a selected pulse in a pulse train
AU616258B2 (en) Process and arrangement for the monitoring of a clock signal
NO173303B (en) PROCEDURE FOR AA SYNCHRONIZE A DIGITAL TIME CLOCK
JPS62262685A (en) Speed control system for ac motor
US2035759A (en) Method and apparatus for regulating clocks
JPS6150272B2 (en)
JPH08101288A (en) Time measuring system and clock
JPH0335170A (en) Detecting circuit for ac power supply failure
US3107338A (en) Electrical monitoring system
US2283344A (en) Electric timing system
JPS6115557B2 (en)
US3413475A (en) X-ray tube power supply for producing a series of selected numbers of consecutive alternating current voltage cycles
GB1201278A (en) Method and apparatus for testing jitter
JPS6057606B2 (en) LSI function identification method
JPS58131583A (en) Clocking device
JPH1133742A (en) Checking system for welding device
SU1181124A1 (en) Pulse shaper
CN2066991U (en) Voltage drop recorder
US6342779B1 (en) Method of control by phase angle
JP2812089B2 (en) Mounting panel identification device
JPH01260374A (en) Ic function measuring apparatus based on trigger signal
JPS58196479A (en) Program timer apparatus
Bhat et al. An Error Monitoring and Correction Circuit—(A Modification)