JPH01208909A - Timer device - Google Patents
Timer deviceInfo
- Publication number
- JPH01208909A JPH01208909A JP3346488A JP3346488A JPH01208909A JP H01208909 A JPH01208909 A JP H01208909A JP 3346488 A JP3346488 A JP 3346488A JP 3346488 A JP3346488 A JP 3346488A JP H01208909 A JPH01208909 A JP H01208909A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- output
- digital filter
- control circuit
- signal
- 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
Links
- 230000010355 oscillation Effects 0.000 claims abstract description 25
- 238000010586 diagram Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 4
- 239000003990 capacitor Substances 0.000 description 2
- 238000004904 shortening Methods 0.000 description 1
Landscapes
- Electronic Switches (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はCR発振回路で可変周波の連続パルスを発生し
、この連続パルスを指令信号で制御する発振計数式のタ
イマ装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an oscillation counting type timer device in which continuous pulses of variable frequency are generated by a CR oscillation circuit and the continuous pulses are controlled by a command signal.
従来の発振計数式タイマ装置の一例を第5図のブロック
図に示す、ここで時限設定用可変抵抗器1と発振用コン
デンサ2を有する発振回路3は連続したパルスを発生し
、その周期を可変抵抗器1で変更できるように構成され
ている。この発振回路3に接続された計数回路4は入力
したパルスをフリップフロップなどで分周してこの分周
出力を計数し、所定パルス数の計数が終了するとカウン
トアツプ信号を発し、出力回路5を動作させ端子6から
信号を出力する。制御回路7はスタート信号端子8.リ
セット信号端子9を有し、計数回路4と出力回路5に接
続され、この両信号端子8゜9に入力する指令信号によ
り計数回路4と出力回路5をスタートまたはリセットす
る。このようなタイマ装置の可変抵抗器1とコンデンサ
2以外は通常ICとして構成されており、制御回路7に
入力するスタートとりセントの両指令信号を発するロジ
ック回路も同−IC内に内蔵されるのが普通である。An example of a conventional oscillation counting type timer device is shown in the block diagram of FIG. It is configured so that it can be changed using a resistor 1. A counting circuit 4 connected to this oscillation circuit 3 divides the frequency of the input pulse using a flip-flop or the like and counts the frequency-divided output. When the counting of a predetermined number of pulses is completed, it issues a count-up signal and outputs the output circuit 5. It operates and outputs a signal from terminal 6. The control circuit 7 has a start signal terminal 8. It has a reset signal terminal 9 and is connected to the counting circuit 4 and the output circuit 5, and the counting circuit 4 and the output circuit 5 are started or reset by a command signal inputted to both signal terminals 8.9. Components other than the variable resistor 1 and capacitor 2 of such a timer device are usually configured as an IC, and the logic circuit that generates both the start and center command signals input to the control circuit 7 is also built into the IC. is normal.
ところでスタートとリセットの両指令信号を発するロジ
ック回路をIC内に内蔵するとこれらの信号レベルは比
較的低いレベル信号としなければならないのでノイズに
対して極めて敏感となり、tCの外部にC−Rフィルタ
などのノイズ除去手段を設ける必要があり、タイマ装置
を小形、安価にするための障害になっていた。By the way, if a logic circuit that generates both start and reset command signals is built into an IC, these signals must be at relatively low levels, making it extremely sensitive to noise, and a C-R filter etc. is required outside of tC. It is necessary to provide noise removal means, which is an obstacle to making the timer device smaller and cheaper.
本発明の目的はIC回路を構成するタイマ装置における
制御回路の両信号端子から混入するノイズを除去し、か
つ小形で安価なタイマ装置を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a small and inexpensive timer device that eliminates noise mixed in from both signal terminals of a control circuit in a timer device constituting an IC circuit.
上述の課題を解決するため本発明は、連続パルスを発生
する発振回路と、この発振回路により発生する連続パル
スを分周して計数する計数回路と、スタートとリセット
の両指令信号を受けて前記計数回路を制御する制御回路
とを備えたタイマ装置において、前記スタートとリセッ
トの両指令信号が前記発振回路の出力をクロック信号源
とするデジタルフィルタ回路を介して入力するように構
成する。なおデジタルフィルタ回路に入力するクロック
信号は計数回路の分周途中から得るように接続するとよ
い。In order to solve the above-mentioned problems, the present invention includes an oscillation circuit that generates continuous pulses, a counting circuit that divides and counts the continuous pulses generated by this oscillation circuit, and a counter that receives both start and reset command signals. The timer device includes a control circuit for controlling a counting circuit, and the timer device is configured such that both the start and reset command signals are inputted via a digital filter circuit that uses the output of the oscillation circuit as a clock signal source. Note that the clock signal input to the digital filter circuit is preferably connected so as to be obtained from the middle of frequency division of the counting circuit.
デジタルフィルタ回路は例えば縦続接続した所定数の遅
延フリップフロップ(以下この遅延フリップフロップを
D−FFと略称する)と各D−FFの出力が入力するA
ND回路とから構成され、縦続接続したD−FFの個数
nに応じたクロック信号のn周期以上にわたって入力信
号がハイレベル(以下このハイレベルの信号をHと略称
する)のときに出力信号すなわち制御回路への指令信号
が出力する。このようにしてクロック信号のn周期以上
におよばないノイズは制御回路に伝達されない、またデ
ジタルフィルタ回路のクロック信号は発振回路の出力か
ら得るように構成されているからこの発振回路の周波数
を調整し、設定時限の長い場合には十分長い時定数のフ
ィルタ特性とし、設定時限の短い場合には指令信号を素
早く取込む。A digital filter circuit includes, for example, a predetermined number of delay flip-flops connected in cascade (hereinafter this delay flip-flop will be abbreviated as D-FF) and an A input to which the output of each D-FF is input.
When the input signal is at a high level (hereinafter this high level signal will be abbreviated as H) for more than n cycles of a clock signal corresponding to the number n of cascade-connected D-FFs, the output signal is A command signal to the control circuit is output. In this way, noise that does not extend beyond n cycles of the clock signal is not transmitted to the control circuit, and since the clock signal of the digital filter circuit is configured to be obtained from the output of the oscillation circuit, the frequency of this oscillation circuit must be adjusted. When the set time period is long, the filter characteristic has a sufficiently long time constant, and when the set time period is short, the command signal is taken in quickly.
なお計数回路は分周回路で構成されているからクロック
信号はこの計数回路の分周途中から得るようにすれば分
周回路が節約される。Note that since the counting circuit is constituted by a frequency dividing circuit, if the clock signal is obtained from the middle of the frequency division of this counting circuit, the frequency dividing circuit can be saved.
第1図ないし第4図は本発明によるタイマ装置の実施例
で第5図と同一のものには第5図と同一の符号を付して
その詳細な説明を省略した。第1図は一実施例を示すブ
ロック図で、可変抵抗器1とコンデンサ2を有する発振
回路3.計数回路4゜出力回路5は従来のものと同様で
あるからこの説明は省略する0本発明が従来のものと異
なる点は制御回路7に入力するスタート指令信号は入力
端子lOからデジタルフィルタ回路12を介して制御回
路7に入力するように接続され、リセット指令信号は入
力端子11からデジタルフィルタ回路13を介して制御
回路7に入力するように接続されており、この両デジタ
ルフィルタ回路12.13のクロック信号源は発振回路
3の出力とし、ここでは発振回路3の出力を分岐して分
周回路14に接続し、この分周回路14で発振回路3の
連続パルスを分周して印加されていることである。この
両デジタルフィルタ回路12.13は全く同じ回路であ
り、例えば第2図に示すように縦続接続した2個のD
−F F 15,16とAND回路17を備え、両D
−F F 15.16のクロック端子には端子18から
分周回路14の出力パルスが印加される。またD−FF
15の入力端子10には指令信号り、が入力する。AN
D回路17の一方の入力端はD−FF15のQ、出力端
に接続され、他方の入力端はD−FF16のQ!出力端
に接続されて、その出力端は制御回路7に接続される。1 to 4 are embodiments of a timer device according to the present invention, and the same components as in FIG. 5 are given the same reference numerals as in FIG. 5, and detailed explanation thereof is omitted. FIG. 1 is a block diagram showing one embodiment of the oscillation circuit 3, which has a variable resistor 1 and a capacitor 2. The counting circuit 4゜output circuit 5 is the same as the conventional one, so its explanation will be omitted. The difference between the present invention and the conventional one is that the start command signal input to the control circuit 7 is input from the input terminal IO to the digital filter circuit 12. The reset command signal is connected to be input from the input terminal 11 to the control circuit 7 via the digital filter circuit 13, and both digital filter circuits 12 and 13 The clock signal source is the output of the oscillation circuit 3. Here, the output of the oscillation circuit 3 is branched and connected to the frequency divider circuit 14, and the continuous pulse of the oscillation circuit 3 is divided by the frequency divider circuit 14 and applied. This is what is happening. Both digital filter circuits 12 and 13 are exactly the same circuit, and for example, as shown in FIG.
- Equipped with F F 15, 16 and AND circuit 17, both D
The output pulse of the frequency divider circuit 14 is applied from the terminal 18 to the clock terminal of -F F 15.16. Also D-FF
A command signal is input to the input terminal 10 of 15. AN
One input terminal of the D circuit 17 is connected to the Q and output terminals of the D-FF 15, and the other input terminal is connected to the Q and output terminals of the D-FF 16. The output terminal is connected to the control circuit 7.
このデジタルフィルタ回路12の動作を第3図に示すタ
イムチャートを参照しながら説明する。第3図において
時刻t1〜t、はそれぞれクロック信号CKの立ち上が
り時刻(位相)を示す、 D−FF15に入力する信号
DIが時刻tsにローレベル(以下このローレベルの信
号をLと略称する)からHになり時刻t、にHからLに
なった場合、D−FF15の出力Q1は時刻t、の次の
クロック信号CKの立ち上がり時刻t1でHになり、D
−FF16に入力するが次のクロック信号Cにの立ち上
がり時刻t2にはLとなる。この出力Q、がHの間D−
FF16に印加されるクロック信号CKは立ち上がらな
いからD−FF16の出力Q8はLを続ける。The operation of this digital filter circuit 12 will be explained with reference to the time chart shown in FIG. In FIG. 3, times t1 to t each indicate the rise time (phase) of the clock signal CK. The signal DI input to the D-FF 15 is at a low level at time ts (hereinafter, this low level signal is abbreviated as L). When the output Q1 of the D-FF15 becomes H at time t, and goes from H to L at time t, the output Q1 of the D-FF15 becomes H at time t1 when the clock signal CK rises next to time t, and D
- It is input to the FF 16, but becomes L at the next rise time t2 of the clock signal C. While this output Q is H, D-
Since the clock signal CK applied to the FF16 does not rise, the output Q8 of the D-FF16 continues to be L.
したがってAND回路17の出力信号り、もしである。Therefore, the output signal of the AND circuit 17 is positive.
次に信号Diが時刻tcから時刻t4の間Hになった場
合、出力Q1は時刻t、から時刻t。Next, when the signal Di becomes H from time tc to time t4, the output Q1 changes from time t to time t.
までの間Hになる。したがって出力Q露は時刻t。Until then, it becomes H. Therefore, the output Q dew is at time t.
の次の時刻t4にHになり、時刻t、にLになる。It becomes H at the next time t4, and becomes L at time t.
したがって信号Dhは再出力Q r 、Q zが同時に
Hになった時刻t4から時刻t、の間Hになる。このよ
うにしてデジタルフィルタ回路12.13はクロック信
号CI[の2周期の時間幅を超えて信号Dムが続いたと
きのみこの信号D1を制御回路7に伝達する。そして2
周期より時間幅の短いノイズは制御回路7へ伝達されな
い、ここで可変抵抗器1を調整してクロック信号CMの
周期を変更すれば伝達し得る信号D!の時間幅も変更で
きる。すなわち可変抵抗器lの抵抗値を高(してクロッ
ク信号CKの周期を長(すると制御回路7に伝達される
指令信号り直の時間幅は長くなり、比較的長い周期のノ
イズも除去することができる。また可変抵抗器1の抵抗
値を低(してクロック信号GKの周期を短くすると制御
回路7に伝達される指令信号Diの時間幅も短くでき指
令信号Diを素早く取込めるから設定時限の短い場合に
都合よい、勿論デジタルフィルタ回路はそのD−FFの
縦続数を変更すればそのD−FF数に見合うクロック信
号CMの周期で定まる時間幅を超えて指令信号り、が続
いたときにこの指令信号が制御回路7に伝達される。Therefore, the signal Dh becomes H from time t4 when the re-outputs Q r and Q z become H at the same time to time t. In this way, the digital filter circuits 12, 13 transmit the signal D1 to the control circuit 7 only when the signal Dm continues for a time width of two cycles of the clock signal CI[. And 2
Noise with a time width shorter than the period is not transmitted to the control circuit 7. If the variable resistor 1 is adjusted here to change the period of the clock signal CM, the signal D! can be transmitted. You can also change the time range. In other words, by increasing the resistance value of the variable resistor l and lengthening the period of the clock signal CK, the time width of the command signal correction transmitted to the control circuit 7 becomes longer, and relatively long period noise can also be removed. In addition, by reducing the resistance value of the variable resistor 1 (by shortening the period of the clock signal GK), the time width of the command signal Di transmitted to the control circuit 7 can also be shortened, and the command signal Di can be taken in quickly. Of course, if the digital filter circuit changes the number of cascaded D-FFs, it is convenient when the command signal continues beyond the time width determined by the period of the clock signal CM corresponding to the number of D-FFs. This command signal is then transmitted to the control circuit 7.
第4図は第1図と異なる実施例を示すブロック図で第1
図と異なる点は分周回路14を発振回路3と計数回路4
との間に接続したことである。この実施例は長時限のタ
イマ装置で計数回路4のFFの接続段数の多い場合に適
し、デジタルフィルタ回路12用の分周回路として通常
は計数回路4のための分周回路14の一部を利用したも
のであり、より少ない素子で構成できるからIcの実現
に都合よい、この回路の動作は第1図に示すものと同様
であるからこの説明は省略する。Figure 4 is a block diagram showing an embodiment different from Figure 1.
The difference from the diagram is that the frequency divider circuit 14 is replaced by the oscillation circuit 3 and the counting circuit 4.
It is the connection between This embodiment is suitable for a long-time timer device in which the number of connected FF stages of the counting circuit 4 is large, and a part of the frequency dividing circuit 14 for the counting circuit 4 is normally used as the frequency dividing circuit for the digital filter circuit 12. This circuit is convenient for realizing Ic because it can be constructed with fewer elements.The operation of this circuit is similar to that shown in FIG. 1, so its explanation will be omitted.
本発明によればスタートとリセットの両指令信号が時限
用発振回路の出力をクロック信号源とするデジタルフィ
ルタ回路を介して制御回路に入力するように構成されて
いるから、クロック信号の周期に応じた所定信号幅以上
の両指令信号のみが制御回路に伝達され、この時間幅よ
り短いノイズは制御回路に伝達されないからC,Rなど
の大きいフィルタ回路を用いる必要がなく、IC化が容
易にでき小形化し得るという効果がある。また時限用発
振回路の周期を変えることによりデジタルフィルタ回路
のクロック信号の周期を変えてタイマ装置の設定時限に
応じた最適なフィルタ特性が得られ、かつデジタルフィ
ルタ回路用の特別な発振回路が不要であるという効果が
ある。According to the present invention, since both the start and reset command signals are input to the control circuit via the digital filter circuit whose clock signal source is the output of the time-limited oscillation circuit, Only the command signals with a predetermined signal width or more are transmitted to the control circuit, and noise shorter than this time width is not transmitted to the control circuit, so there is no need to use large filter circuits such as C and R, and it can be easily integrated into an IC. It has the effect of being able to be made smaller. In addition, by changing the period of the time limit oscillation circuit, the period of the clock signal of the digital filter circuit can be changed to obtain the optimal filter characteristics according to the set time limit of the timer device, and there is no need for a special oscillation circuit for the digital filter circuit. There is an effect that
第1図ないし第3図は本発明によるタイマ装置の一実施
例を示し、第1図はそのブロック図、第2図はデジタル
フィルタ回路の構成例を示す結線図、第3図は第2図の
デジタルフィルタ回路の動作を示すタイムチャート、第
4図は第1図と異なる実施例を示すブロック図、第5図
は従来のタイマ装置の一例を示すブロック図である。
3:発振回路、4:計数回路、7:制御回路、12、
ts:デジタルフィルタ回路、 7−2、第
1図 10
18 第2図
13図1 to 3 show an embodiment of a timer device according to the present invention, FIG. 1 is a block diagram thereof, FIG. 2 is a wiring diagram showing an example of the configuration of a digital filter circuit, and FIG. 3 is a diagram illustrating a configuration example of a digital filter circuit. FIG. 4 is a block diagram showing an embodiment different from that in FIG. 1, and FIG. 5 is a block diagram showing an example of a conventional timer device. 3: Oscillation circuit, 4: Counting circuit, 7: Control circuit, 12,
ts: Digital filter circuit, 7-2, Figure 1 10 18 Figure 2 13
Claims (1)
より発生する連続パルスを分周して計数する計数回路と
、スタートとリセットの両指令信号を受けて前記計数回
路を制御する制御回路とを備えたタイマ装置において、
前記スタートとリセットの両指令信号を前記発振回路の
出力をクロック信号源とするデジタルフィルタ回路を介
して入力するように構成したことを特徴とするタイマ装
置。1) An oscillation circuit that generates continuous pulses, a counting circuit that divides and counts the continuous pulses generated by this oscillation circuit, and a control circuit that receives both start and reset command signals and controls the counting circuit. In a timer device equipped with
A timer device characterized in that said start and reset command signals are inputted via a digital filter circuit whose clock signal source is the output of said oscillation circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3346488A JPH01208909A (en) | 1988-02-16 | 1988-02-16 | Timer device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3346488A JPH01208909A (en) | 1988-02-16 | 1988-02-16 | Timer device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01208909A true JPH01208909A (en) | 1989-08-22 |
Family
ID=12387265
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3346488A Pending JPH01208909A (en) | 1988-02-16 | 1988-02-16 | Timer device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01208909A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03159310A (en) * | 1989-11-17 | 1991-07-09 | Mitsubishi Electric Corp | Timer |
-
1988
- 1988-02-16 JP JP3346488A patent/JPH01208909A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03159310A (en) * | 1989-11-17 | 1991-07-09 | Mitsubishi Electric Corp | Timer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2745869B2 (en) | Variable clock divider | |
US4354124A (en) | Digital phase comparator circuit | |
JPH07106923A (en) | Digital control oscillation device | |
JP2001136059A (en) | Prescaler and pll circuit | |
US4075827A (en) | Adjustable circuit for an electronic timepiece | |
JPH1117531A (en) | Digital delay circuit and digital pll circuit | |
US5789969A (en) | Digital delay circuit and method | |
JPH03206722A (en) | Voltage control oscillator | |
JP3523362B2 (en) | Clock circuit and processor using the same | |
JPS5935218B2 (en) | PLL circuit | |
JPH01208909A (en) | Timer device | |
JPH0483413A (en) | Oscillation circuit and integrated circuit | |
JPH11205094A (en) | Frequency variable oscillator | |
JP2580940B2 (en) | Gate pulse width measurement circuit | |
JPH1198007A (en) | Frequency divider | |
JPH06164339A (en) | Digitally controlled delay device and digitally controlled oscillator | |
JPS6312424B2 (en) | ||
JPH08223003A (en) | Clock multiplying circuit | |
JPH05268020A (en) | Clock switching circuit | |
JP2666479B2 (en) | Clock switching circuit and clock switching method | |
JPH04326802A (en) | Oscillation circuit | |
JPS6029245Y2 (en) | pulse generator | |
JPH0450657Y2 (en) | ||
JPH0983353A (en) | Frequency dividing circuit and filter circuit | |
JPH0191528A (en) | High speed prescaler circuit |