JPS6240886B2 - - Google Patents

Info

Publication number
JPS6240886B2
JPS6240886B2 JP54139596A JP13959679A JPS6240886B2 JP S6240886 B2 JPS6240886 B2 JP S6240886B2 JP 54139596 A JP54139596 A JP 54139596A JP 13959679 A JP13959679 A JP 13959679A JP S6240886 B2 JPS6240886 B2 JP S6240886B2
Authority
JP
Japan
Prior art keywords
clock
signal
oscillation
oscillator
clock 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.)
Expired
Application number
JP54139596A
Other languages
Japanese (ja)
Other versions
JPS5662428A (en
Inventor
Masao Ariizumi
Kazuhide Kawada
Akinori Tojo
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.)
NEC Corp
Original Assignee
Nippon 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP13959679A priority Critical patent/JPS5662428A/en
Publication of JPS5662428A publication Critical patent/JPS5662428A/en
Publication of JPS6240886B2 publication Critical patent/JPS6240886B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03LAUTOMATIC CONTROL, STARTING, SYNCHRONISATION, OR STABILISATION OF GENERATORS OF ELECTRONIC OSCILLATIONS OR PULSES
    • H03L7/00Automatic control of frequency or phase; Synchronisation

Description

【発明の詳細な説明】 本発明は、発振装置に関し、特にクロツク信号
を発生する発振器に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an oscillator, and more particularly to an oscillator that generates a clock signal.

一般に情報処理装置等はその制御がクロツク信
号で行われており、このクロツク信号の発生には
発振器が用いられている。この発振器、特に水晶
発振子のような機械的振動を増幅する発振器では
発振開始時に不安定な周波数を発振することが認
められている。従つて従来この種の発振器を有す
る情報処理装置では、その動作開始時に供給され
るクロツク信号が上述の不安定な発振に基づくも
のであつたため、安定発振を行うまでの期間で情
報処理装置自体が誤動作を引き起す恐れがあつ
た。また、この不安定な発振に基づくクロツク信
号を防止するためには非常に高価なクロツク発生
装置を付加しなければならなかつたために、発振
装置全体の構成が大型化、かつ複雑化し消費電力
も増加されるという欠点を有していた。
Generally, information processing devices and the like are controlled by clock signals, and an oscillator is used to generate the clock signals. It is recognized that this oscillator, especially an oscillator that amplifies mechanical vibrations such as a crystal oscillator, oscillates at an unstable frequency at the start of oscillation. Therefore, in conventional information processing equipment having this type of oscillator, the clock signal supplied at the start of its operation was based on the above-mentioned unstable oscillation. There was a risk of malfunction. In addition, in order to prevent clock signals based on this unstable oscillation, it was necessary to add a very expensive clock generator, which made the overall configuration of the oscillator larger and more complex, and increased power consumption. It had the disadvantage of being

本発明は、上記欠点を除去すべくなされたもの
で、容易にかつ簡単な回路構成で不安定発振時の
クロツク信号の出力を防止した発振器を提供する
ことにある。
The present invention has been made to eliminate the above-mentioned drawbacks, and an object of the present invention is to provide an oscillator which easily and with a simple circuit configuration prevents the output of a clock signal during unstable oscillation.

上記目的を達成するため本発明の発振装置は、
所定の固有振動数を有する振動子で発振してクロ
ツク信号を発生するクロツク発生器と、このクロ
ツク発生器からのクロツク信号を計数する機能を
有するカウンタと、前記クロツク信号を出力する
ゲート回路とを有し、前記カウンタの計数値が所
定の値に達した時制御信号を出力し、これにより
前記ゲート回路を閉じて前記クロツク信号を出力
するように構成される。
In order to achieve the above object, the oscillation device of the present invention includes:
A clock generator that generates a clock signal by oscillating with a resonator having a predetermined natural frequency, a counter that has a function of counting the clock signal from this clock generator, and a gate circuit that outputs the clock signal. and is configured to output a control signal when the count value of the counter reaches a predetermined value, thereby closing the gate circuit and outputting the clock signal.

以下図面を参照しながら本発明の一実施例を詳
細に説明する。
An embodiment of the present invention will be described in detail below with reference to the drawings.

第1図は、本発明の一実施例を示す発振器をマ
イクロプロセツサに接続した時の回転構成を示す
ブロツク図である。発振源1は、水晶振動子、セ
ラミツク振動子等により構成されており、機械的
振動により一定の発振周波数で発振する。クロツ
ク発生器2は発振源1によつて発振しその発振周
波数出力を使用マイクロプロセツサ6の動作に必
要な所定の周波数成分を有するクロツク信号8を
発生する。またクロツク発生器2はマイクロプロ
セツサ6から出力されるクロツク停止信号7を入
力するとクロツク信号8の発生を停止する。更に
カウンタ3は、クロツク発生器1からのクロツク
信号8を入力し、そのパルス数を計数し、所定の
値を越えるとキヤリー信号10を発生する。一方
フリツプフロツプ4はカウンタ3からのキヤリー
信号10でセツトされ、出力段のAND回路5に
制御信号11を出力する。AND回路5はフリツ
プフロツプ4からの制御信号11が供給されてい
る期間は、クロツク発生器2からのクロツク信号
8をマイクロプロセツサ6に動作用クロツク信号
9として供給する。マイクロプロセツサ処理部6
は動作用クロツク信号9を入力することにより動
作可能状態に設定される。更にマイクロプロセツ
サ処理部6はプログラム処理の終了あるいは区切
りにおいてクロツク停止信号7をクロツク発生器
2、カウンタ3、フリツプフロツプ4に夫々出力
し、クロツク発生器2の動作を停止させ、カウン
タ3とフリツプフロツプ4をリセツトするように
構成されている。このクロツク停止信号7が解除
されることにより、クロツク発生器2は再びクロ
ツク発生開始状態に設定される。
FIG. 1 is a block diagram showing a rotating configuration when an oscillator according to an embodiment of the present invention is connected to a microprocessor. The oscillation source 1 is composed of a crystal resonator, a ceramic resonator, etc., and oscillates at a constant oscillation frequency by mechanical vibration. The clock generator 2 oscillates from the oscillation source 1 and uses its oscillation frequency output to generate a clock signal 8 having a predetermined frequency component necessary for the operation of the microprocessor 6. Further, when the clock generator 2 receives the clock stop signal 7 outputted from the microprocessor 6, it stops generating the clock signal 8. Further, the counter 3 inputs the clock signal 8 from the clock generator 1, counts the number of pulses thereof, and generates a carry signal 10 when the number of pulses exceeds a predetermined value. On the other hand, the flip-flop 4 is set by the carry signal 10 from the counter 3, and outputs a control signal 11 to the AND circuit 5 at the output stage. The AND circuit 5 supplies the clock signal 8 from the clock generator 2 to the microprocessor 6 as the operating clock signal 9 while the control signal 11 from the flip-flop 4 is being supplied. Microprocessor processing section 6
is set to an operable state by inputting an operating clock signal 9. Further, the microprocessor processing unit 6 outputs a clock stop signal 7 to the clock generator 2, counter 3, and flip-flop 4 at the end or break of program processing, respectively, to stop the operation of the clock generator 2, and to stop the operation of the counter 3 and flip-flop 4. is configured to reset the When this clock stop signal 7 is released, the clock generator 2 is again set to the clock generation start state.

次に第1図の実施例の具体的動作について説明
する。
Next, the specific operation of the embodiment shown in FIG. 1 will be explained.

発振源1、クロツク発生器2、カウンタ3、フ
リツプフロツプ4、AND回路5、マイクロプロ
セツサ6の各々が動作状態にある時は、クロツク
発生器2で発生されたクロツク信号がAND回路
5を介して、マイクロプロセツサ処理部6に入力
され、プロセツサはそのクロツク信号9を基準ク
ロツクとして各部のマシンサイクル、制御信号を
作り所定のプログラム処理を実行する。今、マイ
クロプロセツサ6がプログラム処理を終了、ある
いはその途中で中断した時、プロセツサ処理部6
は内部で処理終了時に実行される命令に基いてク
ロツク停止信号7を出力して、クロツク発生器2
を非動作状態にする。これにより、クロツク信号
の発生は禁止され、かつマイクロプロセツサ6も
処理を停止する。この時点ではAND回路5への
入力であるフリツプフロツプ4の出力とクロツク
発生器2の出力とは共にローレベル“0”であ
る。この後、マイクロプロセツサ6が新しいプロ
グラム処理を実行する時、あるいは以前に中断し
た処理を続行する時、プロセツサ処理部6には動
作電源電圧が供給されるか、あるいは他の制御手
段(外部キー操作等)により動作状態に設定され
る。この時使用される制御信号としてはリセツ
ト、スタート、電源オン等の各種信号が用いら
れ、これらの信号によつてクロツク停止信号を解
除するとクロツク発生器2からはクロツク信号8
が発生され始める。このクロツク信号8はカウン
タ3とAND回路5に伝達される。この時点から
カウンタ3はクロツク信号8のカウントを始め
る。このカウンタ3の必要性は、水晶発振装置1
がその発振開始において極めて不安定であるた
め、この水晶発振装置1が安定な発振を行うまで
の期間、不安定な発振に基づく非所望のクロツク
パルスがマイクロプロセツサ処理部6に供給され
るのを避けるためである。従つて、たとえばクロ
ツク信号8の周波数が安定に到るまでに不安定な
クロツク信号が1万発発生する発振源1を使用す
る場合には、カウンタ3はリセツト後1万発目の
入力パルスでキヤリー信号10を発生するように
構成される。このようにすると、クロツク信号8
が1万発未満ではキヤリー信号10が出力されな
いので、不安定なクロツク信号が発生している間
は、フリツプフロツプ4の出力信号はローレベル
“0”になる。従つてAND回路5は閉じられてお
り、動作用クロツク信号9はマイクロプロセツサ
6には供給されず、水晶発振源1が安定な発振を
行なうまでの十分かつ最小の時間を経過した時点
で、初めてAND回路5が開かれ、所望の周期を
有する安定したクロツク信号9がマイクロプロセ
ツサ処理部6に供給される。
When the oscillation source 1, clock generator 2, counter 3, flip-flop 4, AND circuit 5, and microprocessor 6 are in operation, the clock signal generated by the clock generator 2 is passed through the AND circuit 5. , are input to the microprocessor processing section 6, and the processor uses the clock signal 9 as a reference clock to create machine cycles and control signals for each section and executes predetermined program processing. Now, when the microprocessor 6 finishes program processing or interrupts it in the middle, the processor processing unit 6
outputs a clock stop signal 7 based on an instruction executed internally at the end of processing, and outputs a clock stop signal 7 to the clock generator 2.
to be inactive. As a result, generation of the clock signal is prohibited, and the microprocessor 6 also stops processing. At this point, the output of the flip-flop 4 and the output of the clock generator 2, which are input to the AND circuit 5, are both at low level "0". After this, when the microprocessor 6 executes a new program process or continues a previously interrupted process, the processor processing unit 6 is supplied with an operating power supply voltage or is controlled by other control means (external keys). operation, etc.). The control signals used at this time include various signals such as reset, start, and power on. When the clock stop signal is released by these signals, the clock generator 2 outputs the clock signal 8.
begins to occur. This clock signal 8 is transmitted to the counter 3 and the AND circuit 5. From this point on, the counter 3 starts counting the clock signal 8. The necessity of this counter 3 is due to the fact that the crystal oscillator 1
Since the crystal oscillator 1 is extremely unstable at the start of its oscillation, it is necessary to prevent undesired clock pulses based on unstable oscillation from being supplied to the microprocessor processing unit 6 until the crystal oscillator 1 starts stable oscillation. This is to avoid it. Therefore, for example, when using an oscillation source 1 that generates 10,000 unstable clock signals until the frequency of the clock signal 8 becomes stable, the counter 3 will be reset at the 10,000th input pulse after being reset. The carry signal 10 is configured to generate a carry signal 10. In this way, the clock signal 8
Since the carry signal 10 is not output when the clock signal is less than 10,000 times, the output signal of the flip-flop 4 becomes a low level "0" while an unstable clock signal is generated. Therefore, the AND circuit 5 is closed, the operating clock signal 9 is not supplied to the microprocessor 6, and when a sufficient and minimum time has elapsed for the crystal oscillation source 1 to perform stable oscillation, For the first time, the AND circuit 5 is opened and a stable clock signal 9 having the desired period is supplied to the microprocessor processing unit 6.

以上の様に本実施例によれば、マイクロプロセ
ツサ処理部6が非動作状態においては、クロツク
信号の発生及び処理部への供給を禁止して消費電
力を節約するとともに、その動作開始に不安定な
クロツク信号の入力が禁止され、プロセツサ処理
部6が誤動作を起こすことを防止できる。
As described above, according to this embodiment, when the microprocessor processing section 6 is in the non-operating state, generation of the clock signal and supply to the processing section are prohibited to save power consumption, and it is also possible to prevent the clock signal from starting its operation. Input of a stable clock signal is prohibited, and malfunctions of the processor processing section 6 can be prevented.

尚、本実施例では水晶発振源1からの発振信号
から所定の周波数成分を有するパルス発生器2の
パルス信号8を所定の期間計数するようなカウン
タ3を使用したが、本発明はこれに限定されるこ
となく、発振装置の発振開始時、あるいはプロセ
ツサへの動作開始指示信号(リセツト、スタート
等)から所定の期間後にフリツプ・フロツプ4を
セツトするようなタイマー回路を用いてもよい。
又、このカウンタ3としては、上記タイマー回路
シフトレジスタ等所定期間出力信号の遅延が可能
であれば使用できることは明白である。
Although this embodiment uses a counter 3 that counts the pulse signal 8 of the pulse generator 2 having a predetermined frequency component from the oscillation signal from the crystal oscillation source 1 for a predetermined period, the present invention is not limited to this. Instead, a timer circuit may be used that sets the flip-flop 4 at the start of oscillation of the oscillator or after a predetermined period from an operation start instruction signal (reset, start, etc.) to the processor.
It is obvious that this counter 3 can be used as long as it is possible to delay the output signal for a predetermined period, such as the above-mentioned timer circuit shift register.

又、第1図図示の発振回路はすべてデイジタル
回路を構成できるので集積回路化が可能であるた
め、これらクロツク制御回路ブロツク2〜5をマ
イクロプロセツサ処理部6と同一チツプ上に形成
した場合には、安価で操作性の良い処理装置が得
られる。更に、カウンタ3として外部制御により
あるいは装置内部での制御(命令)によりその計
算値を自由に変更できるプログラムカウンタを用
いれば、より汎用性のある情報処理装置を得るこ
とができる。
Furthermore, since all of the oscillation circuits shown in FIG. 1 can be configured as digital circuits, they can be integrated into an integrated circuit. A processing device that is inexpensive and has good operability can be obtained. Furthermore, if a program counter whose calculated value can be freely changed by external control or control (command) within the device is used as the counter 3, a more versatile information processing device can be obtained.

更に本発明によれば、クロツク発生器に入力さ
れるクロツク停止信号解除用の信号として外部処
理装置からの制御信号を用いれば、発振開始のみ
ならず、通常の処理の途中においても任意にこの
プロセツサ処理部6を非動作状態に設定すること
ができる。これは例えばマルチプロセツサ構成に
おいて優先順位を決定する手段としても応用でき
ることを意味している。この様にクロツク信号の
供給を一時停止せしめることができる本発明は、
その処理面においても非常に多くの応用性を持つ
ものである。
Furthermore, according to the present invention, if a control signal from an external processing device is used as a signal for canceling a clock stop signal that is input to a clock generator, this processor can be used not only to start oscillation but also to arbitrarily cancel the clock stop signal in the middle of normal processing. The processing unit 6 can be set to a non-operating state. This means that it can be applied, for example, as a means for determining priorities in a multiprocessor configuration. The present invention, which can temporarily stop the supply of clock signals in this way,
It also has many applications in terms of processing.

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

第1図は本発明の一実施例をマイクロプロセツ
サに接続した時の要部を示すブロツク図である。 1……発振源、2……クロツク発生器、3……
カウンタ、4……フリツプフロツプ、5……
AND回路、6……マイクロプロセツサ処理部、
7……クロツク停止信号、8……クロツク信号、
9……動作用クロツク信号、10……キヤリー信
号、11……フリツプフロツプの出力信号。
FIG. 1 is a block diagram showing the main parts of an embodiment of the present invention when connected to a microprocessor. 1...Oscillation source, 2...Clock generator, 3...
Counter, 4...Flip-flop, 5...
AND circuit, 6... microprocessor processing section,
7... Clock stop signal, 8... Clock signal,
9...Operating clock signal, 10...Carry signal, 11...Flip-flop output signal.

Claims (1)

【特許請求の範囲】[Claims] 1 振動子を有する発振器と、前記発振器から発
生される信号の発振数を計数する計数回路と、前
記計数回路の計数結果に従つて前記発振器からの
発振信号の出力端子への伝達を制御するゲート回
路とを有し、前記計数回路が前記発振器からの発
振信号を所定数計数した後前記出力端子から前記
発振器からの発振信号を得ることを特徴とする発
振装置。
1. An oscillator having a vibrator, a counting circuit that counts the number of oscillations of a signal generated from the oscillator, and a gate that controls transmission of the oscillation signal from the oscillator to an output terminal according to the counting result of the counting circuit. 1. An oscillation device comprising: a circuit, wherein after the counting circuit counts a predetermined number of oscillation signals from the oscillator, the oscillation signal from the oscillator is obtained from the output terminal.
JP13959679A 1979-10-29 1979-10-29 Oscillator Granted JPS5662428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13959679A JPS5662428A (en) 1979-10-29 1979-10-29 Oscillator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13959679A JPS5662428A (en) 1979-10-29 1979-10-29 Oscillator

Publications (2)

Publication Number Publication Date
JPS5662428A JPS5662428A (en) 1981-05-28
JPS6240886B2 true JPS6240886B2 (en) 1987-08-31

Family

ID=15248943

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13959679A Granted JPS5662428A (en) 1979-10-29 1979-10-29 Oscillator

Country Status (1)

Country Link
JP (1) JPS5662428A (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57179286A (en) * 1981-04-27 1982-11-04 Nippon Oil Co Ltd Raw material pitch for carbon fiber
JPS57203338A (en) * 1981-06-10 1982-12-13 Nec Corp Oscillating device
JPS5838034A (en) * 1981-08-28 1983-03-05 Fujitsu Ltd Supply circuit for oscillator output
JPS5870336A (en) * 1981-10-21 1983-04-26 Nec Corp Oscillating device
JPS5971525A (en) * 1982-10-18 1984-04-23 Nec Corp State controller
JPS5986310A (en) * 1982-11-09 1984-05-18 Seiko Epson Corp Circuit for eliminating disturbance of oscillation
JPS60214175A (en) * 1984-04-09 1985-10-26 Matsushita Electric Ind Co Ltd On-vehicle television receiver
JPS60249427A (en) * 1984-05-25 1985-12-10 Matsushita Electronics Corp System clock generator
JPS61109217U (en) * 1984-12-21 1986-07-10
JPH0681041B2 (en) * 1985-04-03 1994-10-12 日本電気株式会社 Integrated circuit device
JPS6367822A (en) * 1986-09-09 1988-03-26 Nec Corp Oscillator
JPH0821815B2 (en) * 1986-12-22 1996-03-04 松下電子工業株式会社 Signal generator
JPH05259825A (en) * 1992-02-28 1993-10-08 Nec Corp Clock generating circuit
JPH0764668A (en) * 1993-08-23 1995-03-10 Nippon Motorola Ltd Clock generator
US7965111B2 (en) * 2008-04-29 2011-06-21 Qualcomm Incorporated Method and apparatus for divider unit synchronization
JP5193167B2 (en) * 2009-12-11 2013-05-08 旭化成エレクトロニクス株式会社 Oscillator, oscillation device

Also Published As

Publication number Publication date
JPS5662428A (en) 1981-05-28

Similar Documents

Publication Publication Date Title
JPS6240886B2 (en)
US4864255A (en) Oscillator capable of quickly supplying a stable oscillation signal
JPH08166834A (en) Clock generating circuit and microcomputer
US4857868A (en) Data driven clock generator
JPH04348410A (en) Microcomputer
JPS6148726B2 (en)
JPH0682310B2 (en) Operation frequency switching control circuit for arithmetic unit
JP2959223B2 (en) Clock oscillator
JP2546536B2 (en) Standby control circuit
JPS6333806B2 (en)
JPH049336B2 (en)
JPS6348203B2 (en)
JP2830216B2 (en) Standby circuit
JP2789725B2 (en) Microcomputer
JPS6135565B2 (en)
JPH0619569A (en) Clock generating circuit for microcomputer
JPH0326112A (en) Integrated circuit device
JPS62151024A (en) Integrated circuit device
JPH0434611A (en) Switching circuit for oscillation of microcomputer
JPS63292246A (en) Program evaluation device
JPH0764668A (en) Clock generator
JPH039413A (en) Oscillation clock switching circuit for microcomputer
JPH04314116A (en) Microcomputer
JPS58134339A (en) Information processor
JPH04177516A (en) Microcomputer