JPH04269677A - Pll circuit device - Google Patents
Pll circuit deviceInfo
- Publication number
- JPH04269677A JPH04269677A JP3030796A JP3079691A JPH04269677A JP H04269677 A JPH04269677 A JP H04269677A JP 3030796 A JP3030796 A JP 3030796A JP 3079691 A JP3079691 A JP 3079691A JP H04269677 A JPH04269677 A JP H04269677A
- Authority
- JP
- Japan
- Prior art keywords
- pll
- circuit
- frequency division
- frequency
- slip
- 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.)
- Withdrawn
Links
Landscapes
- Tests Of Electronic Circuits (AREA)
- Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
- Measuring Phase Differences (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明はPLL スリップを強制
的に発生させることができる全く新しいPLL 回路装
置を提案するものである。BACKGROUND OF THE INVENTION The present invention proposes a completely new PLL circuit device that can forcibly generate a PLL slip.
【0002】0002
【従来の技術】PLL 回路を備えるシステムにおいて
は、PLL スリップ(PLL回路の位相比較対象とな
る2つのパルス信号の位相のずれ)を強制的に発生させ
、そのシステムの動作を検査するとか、或いはPLL
スリップの発生を検出するエラー検出回路の動作検査を
する等のことが行われる。図1はPLL 回路装置を示
しており、PLL 回路3は位相比較部31, LPF
(ローパスフィルタ) 部32及びVCO(電圧制御発
振器) 部33により構成されている。マスタクロック
が入力される第1分周回路1はこれを1/M(Mは整数
)に分周したクロックmCLKを出力し、位相比較部3
1の一入力としている。[Prior Art] In a system equipped with a PLL circuit, a PLL slip (a phase shift between two pulse signals to be compared in the PLL circuit) is forcibly generated to inspect the operation of the system, or PLL
Operations such as checking the operation of an error detection circuit that detects the occurrence of a slip are performed. FIG. 1 shows a PLL circuit device, and the PLL circuit 3 includes a phase comparator 31, an LPF
(low pass filter) section 32 and VCO (voltage controlled oscillator) section 33. The first frequency dividing circuit 1 to which the master clock is input divides the master clock by 1/M (M is an integer) and outputs the clock mCLK, and the phase comparator 3
1 is used as one input.
【0003】PLL 回路3の出力であるスレーブクロ
ックは第2分周回路2へ与えられ、ここで1/N(Nは
整数)に分周されて得られたクロックsCLKが位相比
較部31へその他入力として与えられている。このよう
な回路構成によりPLL 回路3出力、つまりスレーブ
クロックとしては、クロックmCLKの周波数の1/N
の、またはマスタクロックの周波数の1/M・Nの安定
した周波数のクロックが得られる。クロックmCLK,
sCLK はまたエラー検出回路4へ入力されており、
両者に位相のずれ、つまりPLL スリップがあった場
合に、これを検出してPLL エラー信号を発するよう
にしている。このエラー検出回路4が動作するか否かを
検査するにはPLL スリップを強制的に発生させる必
要がある。従来はマスタクロックを断つとか、マスタク
ロック発生源(例えば水晶発振子)からのマスタクロッ
ク供給を断ち、これに替えて周波数シンセサイザ出力を
与えるようにし、その出力を変化させる等の方法でPL
L スリップを発生させることとしていた。[0003] The slave clock that is the output of the PLL circuit 3 is given to the second frequency divider circuit 2, and the clock sCLK obtained by dividing the frequency by 1/N (N is an integer) is sent to the phase comparator 31. is given as input. With this circuit configuration, the PLL circuit 3 output, that is, the slave clock, has a frequency of 1/N of the clock mCLK.
A clock with a stable frequency of 1/M·N of the frequency of the master clock can be obtained. clock mCLK,
sCLK is also input to the error detection circuit 4,
If there is a phase shift between the two, that is, a PLL slip, this is detected and a PLL error signal is generated. In order to check whether or not the error detection circuit 4 operates, it is necessary to forcibly generate a PLL slip. Conventionally, PL was controlled by cutting off the master clock, or cutting off the master clock supply from the master clock generation source (for example, a crystal oscillator), and replacing it with a frequency synthesizer output, and changing the output.
It was planned that an L slip would occur.
【0004】0004
【発明が解決しようとする課題】このため図示の如きP
LL 回路装置単独の場合は可能であるとしても、これ
を組込んだシステムではPLL スリップを発生させる
ことは実際上不可能であった。特にシステム運用下で自
己診断を自動的に行わせることは不可能である。本発明
はシステムに組込まれた状況下であっても、またそのシ
ステムを運用している場合であっても強制的にPLL
スリップを発生させることができる全く新規なPLL
回路装置を提供することを目的とする。[Problem to be solved by the invention] For this reason, P as shown in the figure
Although it is possible to generate a PLL slip using only the LL circuit device, it is actually impossible to generate a PLL slip in a system incorporating this device. In particular, it is impossible to automatically perform self-diagnosis during system operation. The present invention forcibly executes PLL even when it is incorporated into a system or when the system is operated.
Completely new PLL that can generate slips
The purpose is to provide a circuit device.
【0005】[0005]
【課題を解決するための手段】本発明のPLL 回路装
置は、第1分周回路1を分周比可変のものとすることで
任意にPLL スリップを発生せしめることとする。[Means for Solving the Problems] In the PLL circuit device of the present invention, a PLL slip can be generated arbitrarily by making the first frequency dividing circuit 1 variable in frequency division ratio.
【0006】[0006]
【作用】第1分周回路1は分周カウンタにより構成され
る。このカウンタの初期設定値を変えることにより分周
比が変化し、これに従い位相比較対象の2つのクロック
mCLK, sCLKの周波数の値が変化し、PLL
スリップが発生する。このPLL スリップはエラー検
出回路4により検出される。[Operation] The first frequency dividing circuit 1 is constituted by a frequency dividing counter. By changing the initial setting value of this counter, the frequency division ratio changes, and accordingly, the frequency values of the two clocks mCLK and sCLK whose phases are compared change, and the PLL
A slip occurs. This PLL slip is detected by the error detection circuit 4.
【0007】[0007]
【実施例】以下本発明をその実施例を示す図面に基づい
て詳述する。本発明のPLL 回路装置はマスタクロッ
クを分周する第1分周回路1の構成が異なるが、全体的
構成は従来のPLL 回路装置同様、図1によって表さ
れる。即ち、PLL 回路3は位相比較部31, LP
F(ローパスフィルタ) 部32及びVCO(電圧制御
発振器) 部33により構成されている。マスタクロッ
クが入力される第1分周回路1はこれを1/M(Mは整
数)に分周したクロックmCLKを出力し、位相比較部
31の一入力としている。PLL 回路3の出力である
スレーブクロックは第2分周回路2へ与えられ、ここで
1/N(Nは整数)に分周されて得られたクロックsC
LKが位相比較部31へその他入力として与えられてい
る。クロックmCLK,sCLK はまたエラー検出回
路4へ入力されており、両者に位相のずれ、つまりPL
L スリップがあった場合に、これを検出してPLL
エラー信号を発するようにしている。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to drawings showing embodiments thereof. Although the PLL circuit device of the present invention differs in the configuration of the first frequency dividing circuit 1 that divides the master clock, the overall configuration is shown in FIG. 1 as in the conventional PLL circuit device. That is, the PLL circuit 3 includes a phase comparator 31, LP
It is composed of an F (low pass filter) section 32 and a VCO (voltage controlled oscillator) section 33. The first frequency dividing circuit 1 to which the master clock is inputted divides the master clock by 1/M (M is an integer) and outputs a clock mCLK, which is used as one input of the phase comparator 31. The slave clock that is the output of the PLL circuit 3 is given to the second frequency divider circuit 2, where the frequency is divided by 1/N (N is an integer) and the resulting clock sC
LK is provided to the phase comparator 31 as another input. The clocks mCLK and sCLK are also input to the error detection circuit 4, and there is a phase difference between them, that is, PL.
L If there is a slip, it is detected and the PLL
I am trying to emit an error signal.
【0008】図2は第1分周回路1の構成例を説明の為
に簡素化して示している。第1分周回路1はそのリップ
ルキャリー出力端子RC出力をロード端子LOADに与
えることで、計数初期値をロードできる。初期値を設定
するための端子D0,D1,D2,D3 のうち上位3
ビット分D1,D2,D3には固定値、例えば“0”が
与えられており、最下位の1ビット分D0には初期値設
定回路11から“0”又は“1”が与えられる。この初
期値設定回路11は例えば、このPLL 回路装置を含
むシステム全体の制御を司るマイクロプロセッサ等であ
る。マスタクロックは第1分周回路1の端子CLK へ
計数の対象として与えられる。またキャリー出力をクロ
ックmCLKとしている。FIG. 2 shows a simplified example of the configuration of the first frequency dividing circuit 1 for the purpose of explanation. The first frequency divider circuit 1 can load the count initial value by applying its ripple carry output terminal RC output to the load terminal LOAD. Top 3 of terminals D0, D1, D2, and D3 for setting initial values
Bits D1, D2, and D3 are given fixed values, for example, "0", and the lowest one bit D0 is given "0" or "1" from the initial value setting circuit 11. This initial value setting circuit 11 is, for example, a microprocessor that controls the entire system including this PLL circuit device. The master clock is applied to the terminal CLK of the first frequency dividing circuit 1 as a counting target. Further, the carry output is used as the clock mCLK.
【0009】第1分周回路1の分周比は、D0入力が“
0”である場合は1/M(図2では1/16) である
。D0入力が“1”であると分周比は1/(M−1)
(図2では1/15) となる。つまり分周比をこのよ
うに変じることによりクロックmCLKが変化し、これ
に伴いクロックsCLKも変化し、PLL スリップが
発生することになる。通信用の場合、マスタクロック,
スレーブクロックは数MHz〜数十MHz のオーダ
であり、クロックmCLKは数kHz のオーダである
。従って分周比Mは212程度となる。The frequency division ratio of the first frequency dividing circuit 1 is such that the D0 input is “
If the D0 input is “1”, the division ratio is 1/(M-1).
(1/15 in Figure 2). In other words, by changing the frequency division ratio in this way, the clock mCLK changes, and the clock sCLK changes accordingly, causing a PLL slip. For communication, master clock,
The slave clock is on the order of several MHz to several tens of MHz, and the clock mCLK is on the order of several kHz. Therefore, the frequency division ratio M is approximately 212.
【0010】図3はこの場合の第1分周回路1の構成を
示すブロック図である。4ビットの分周カウンタ21,
22,23がシリアルに接続されている。初段の分周カ
ウンタ21のリップルキャリー出力端子RCが2段目の
分周カウンタ22のイネーブル端子ENに接続され、そ
のリップルキャリー出力端子RCが3段目の分周カウン
タ23のイネーブル端子ENに接続されている。そして
3段目のリップルキャリー端子RCがインバータを介し
て全分周カウンタ21,22,23のロード端子LOA
Dに接続されている。FIG. 3 is a block diagram showing the configuration of the first frequency dividing circuit 1 in this case. 4-bit frequency division counter 21,
22 and 23 are connected in series. The ripple carry output terminal RC of the first stage frequency division counter 21 is connected to the enable terminal EN of the second stage frequency division counter 22, and the ripple carry output terminal RC is connected to the enable terminal EN of the third stage frequency division counter 23. has been done. The third stage ripple carry terminal RC is connected to the load terminal LOA of the full frequency division counters 21, 22, 23 via an inverter.
Connected to D.
【0011】マスタクロックは全分周カウンタ21,2
2,23の計数入力端子CLK に与えられている。2
段目,3段目の分周カウンタ22,23 の初期値入力
端子は総て“0”に固定されている。初段の分周カウン
タ21の初期値入力端子の上位3ビットD1,D2,D
3は“0”に固定されており、最下位ビットD0のみ初
期値設定回路11から“0”又は“1”が設定されるよ
うになっている。そして3段目のキャリー出力をクロッ
クmCLKとしている。[0011] The master clock is a full frequency division counter 21, 2.
2 and 23 counting input terminals CLK. 2
The initial value input terminals of the frequency dividing counters 22 and 23 in the third and third stages are all fixed to "0". Upper 3 bits D1, D2, D of the initial value input terminal of the first stage frequency division counter 21
3 is fixed at "0", and only the least significant bit D0 is set to "0" or "1" by the initial value setting circuit 11. The carry output of the third stage is used as the clock mCLK.
【0012】斯かる構成の第1分周回路1では最下位ビ
ットに“0”が設定されたときは分周カウンタ21は2
4 =16の計数でリップルキャリー信号を発し、この
とき2段目の分周カウンタ22がイネーブルされるから
、28 のマスタクロック入力で分周カウンタ22はリ
ップルキャリー信号を発する。これが3段目の分周カウ
ンタ23へ与えられるので、結局分周カウンタ23の出
力、つまりクロックmCLKは212=4096分周出
力となる。従って最下位ビットを“1”に設定した場合
は第1分周回路1は4095分周回路となる。In the first frequency dividing circuit 1 having such a configuration, when the least significant bit is set to "0", the frequency dividing counter 21 is set to 2.
A ripple carry signal is generated at a count of 4=16, and since the second stage frequency division counter 22 is enabled at this time, the frequency division counter 22 generates a ripple carry signal at a master clock input of 28. Since this is given to the third-stage frequency division counter 23, the output of the frequency division counter 23, that is, the clock mCLK, becomes a frequency-divided output of 212=4096. Therefore, when the least significant bit is set to "1", the first frequency dividing circuit 1 becomes a 4095 frequency dividing circuit.
【0013】分周比の変化率は以下の式(1) で表さ
れる。The rate of change in the frequency division ratio is expressed by the following equation (1).
【0014】
〔{C/(M−1)}−(C/M)〕/(C/M)
…(1) 但し、C:マスタクロックの周波数[{C/(M-1)}-(C/M)]/(C/M)
...(1) However, C: Master clock frequency
【0015】いま、C=32.768MHz 、M=4
096とすると式(1) の値は244.200243
8 ×10−6となり、約244ppmの周波数変化が
可能である。図4は第1分周回路の他の例を示している
。この例では初期値の全ビット値をメモリ12で記憶す
る構成とし、分周比の変化をより広い範囲で自在に選択
できるようにしている。勿論全ビットを記憶させること
とせず、必要な複数ビットを変化できるようにしてもよ
い。[0015] Now, C=32.768MHz, M=4
096, the value of formula (1) is 244.200243
8 x 10-6, and a frequency change of about 244 ppm is possible. FIG. 4 shows another example of the first frequency dividing circuit. In this example, all bit values of the initial value are stored in the memory 12, so that changes in the frequency division ratio can be freely selected within a wider range. Of course, it is not necessary to store all bits, but a plurality of necessary bits may be changed.
【0016】[0016]
【発明の効果】以上の如き本発明によればPLL 回路
装置の接続状況、運用状況に拘らず強制的にPLL ス
リップを発生させることができる。従って本発明は、P
LL スリップ発生に起因するエラーに伴う状態の検査
、エラー検出回路の機能検査等を自動的に行わせるのに
極めて有益である。[Effects of the Invention] According to the present invention as described above, a PLL slip can be forcibly generated regardless of the connection status and operation status of the PLL circuit device. Therefore, the present invention provides P
This is extremely useful for automatically performing inspections of conditions associated with errors caused by occurrence of LL slips, function inspections of error detection circuits, and the like.
【図1】PLL 回路装置のブロック図である。FIG. 1 is a block diagram of a PLL circuit device.
【図2】第1分周回路の略示構成図である。FIG. 2 is a schematic configuration diagram of a first frequency dividing circuit.
【図3】第1分周回路のブロック図である。FIG. 3 is a block diagram of a first frequency dividing circuit.
【図4】第1分周回路の略示構成図である。FIG. 4 is a schematic configuration diagram of a first frequency dividing circuit.
1 第1分周回路 2 第2分周回路 3 PLL 回路 31 位相比較部 32 LPF 部 33 VCO 部 1 First frequency divider circuit 2 Second frequency divider circuit 3 PLL circuit 31 Phase comparison section 32 LPF section 33 VCO Department
Claims (1)
) と、該第1分周回路(1) の出力をその位相比較
部(31)の一入力とするPLL 回路(3) と、該
PLL 回路(3) のVCO 部(33)の出力を分
周し、分周出力を前記位相比較部(31)の他入力とす
る第2分周回路(2) とを備えるPLL 回路装置に
おいて、前記第1分周回路(1) は分周比の設定可変
になしてあることを特徴とするPLL 回路装置。[Claim 1] A first frequency dividing circuit (1
), a PLL circuit (3) which uses the output of the first frequency dividing circuit (1) as one input of its phase comparator (31), and divides the output of the VCO section (33) of the PLL circuit (3). In the PLL circuit device, the first frequency dividing circuit (1) is configured to set a frequency division ratio. A PLL circuit device characterized by being variable.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3030796A JPH04269677A (en) | 1991-02-26 | 1991-02-26 | Pll circuit device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3030796A JPH04269677A (en) | 1991-02-26 | 1991-02-26 | Pll circuit device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04269677A true JPH04269677A (en) | 1992-09-25 |
Family
ID=12313648
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3030796A Withdrawn JPH04269677A (en) | 1991-02-26 | 1991-02-26 | Pll circuit device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04269677A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010529723A (en) * | 2007-06-01 | 2010-08-26 | クリーア セミコンダクター コーポレーション | Frequency synchronization system and frequency synchronization method |
-
1991
- 1991-02-26 JP JP3030796A patent/JPH04269677A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010529723A (en) * | 2007-06-01 | 2010-08-26 | クリーア セミコンダクター コーポレーション | Frequency synchronization system and frequency synchronization method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7567099B2 (en) | Filterless digital frequency locked loop | |
US4339722A (en) | Digital frequency multiplier | |
JP3323054B2 (en) | Frequency multiplier | |
EP1368896A1 (en) | Sigma delta fractional-n frequency divider with improved noise and spur performance | |
CN111642139B (en) | Frequency regulator, frequency regulating method thereof and electronic equipment | |
EP0563945A1 (en) | Phase locked loop | |
CN1023368C (en) | phase detector | |
JPH11234100A (en) | Phase comparator | |
JPH04269677A (en) | Pll circuit device | |
US6346833B1 (en) | Frequency multiplier circuit | |
JPS59110227A (en) | Variable frequency clock generator | |
EP0566274A1 (en) | Frequency synthesizer using phase-locked loop | |
US6369625B1 (en) | Phase locked loop circuit | |
JP2877185B2 (en) | Clock generator | |
JPH10322200A (en) | Phase lock detecting circuit | |
JPH0548453A (en) | Frequency synthesizer | |
US20060055469A1 (en) | Variable frequency synthesizer comprising a sigma-delta modulator | |
KR20010005039A (en) | Lock detector circuit for phase locked loop | |
JPS58168333A (en) | Phase comparing system of phase locking loop circuit | |
JPH0528830Y2 (en) | ||
JPS63313918A (en) | oscillation device | |
JPS5869125A (en) | Variable frequency oscillator using a crystal oscillator | |
US6335644B1 (en) | Method for synthesizing a clock signal and synthesizing device thereof | |
KR100260446B1 (en) | Digital processing phase locked loop in transmit system | |
JP3592998B2 (en) | Frequency multiplier |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19980514 |