JPH0561817B2 - - Google Patents

Info

Publication number
JPH0561817B2
JPH0561817B2 JP62229616A JP22961687A JPH0561817B2 JP H0561817 B2 JPH0561817 B2 JP H0561817B2 JP 62229616 A JP62229616 A JP 62229616A JP 22961687 A JP22961687 A JP 22961687A JP H0561817 B2 JPH0561817 B2 JP H0561817B2
Authority
JP
Japan
Prior art keywords
clock
reset pulse
pulse
counter
width
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 - Lifetime
Application number
JP62229616A
Other languages
Japanese (ja)
Other versions
JPS6473938A (en
Inventor
Shu Yoshida
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 JP62229616A priority Critical patent/JPS6473938A/en
Publication of JPS6473938A publication Critical patent/JPS6473938A/en
Publication of JPH0561817B2 publication Critical patent/JPH0561817B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、デイジタル回路におけるデータの伝
送の方式に関し、特に、データの多重、分離に必
要な同期クロツクの発生回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmission system in a digital circuit, and more particularly to a synchronous clock generation circuit necessary for multiplexing and demultiplexing data.

[従来の技術] クロツクを1/2nに分周するカウンタを位相関
係の不明な別の周期でリセツトする場合、クロツ
クの立ち上がりがリセツトパルスの有効期間内に
ある場合(第8図の場合)と、そうでない場合
(第9図の場合)との2通りの状態が起こり得る。
[Prior art] When resetting a counter that divides a clock into 1/2 n at another period with an unknown phase relationship, when the rising edge of the clock is within the valid period of the reset pulse (the case shown in Fig. 8). There are two possible situations: (1) and (2) a case where this is not the case (the case shown in FIG. 9).

ただし、リセツトタイミングはクロツク周期の
2k倍(k<n)とし、カウンタは入力の立ち上が
りで進み、リセツトにより0に戻るものとする。
However, the reset timing is based on the clock cycle.
It is assumed that the counter is multiplied by 2k (k<n), and the counter advances at the rising edge of the input and returns to 0 upon reset.

[解決すべき問題点] リセツトタイミングの周期がクロツク周期の整
数倍ならば、最初に回路を立ち上げるタイミング
により、ほとんどの場合第8図または第9図のい
ずれかの状態に落ち着くが、運悪くリセツトパル
スの後端がクロツクの立ち上がりと丁度重なる場
合(厳密にいえば回路素子の遅延時間以下に接近
した場合)、入力信号または回路動作のわずかな
揺らぎにより、クロツクの立ち上がりがリセツト
パルスの立ち下りより前にある状態と(第10図
参照)、後ろにある状態(第11図参照)とが一
定しないため、安定した同期クロツクが得られな
い。
[Problems to be solved] If the reset timing period is an integer multiple of the clock period, depending on the timing at which the circuit is initially started up, in most cases it will end up in either the state shown in Figure 8 or Figure 9, but unfortunately If the trailing edge of the reset pulse exactly overlaps with the rising edge of the clock (strictly speaking, if it approaches less than the delay time of the circuit elements), slight fluctuations in the input signal or circuit operation may cause the rising edge of the clock to coincide with the falling edge of the reset pulse. Since the earlier state (see FIG. 10) and the later state (see FIG. 11) are not constant, a stable synchronized clock cannot be obtained.

そこで、本発明の目的とするところは、上述し
た従来の問題点を解決し、常時安定した同期クロ
ツクを得ることができる同期安定回路を提供する
ことにある。
SUMMARY OF THE INVENTION It is, therefore, an object of the present invention to provide a synchronous stabilization circuit that can solve the above-mentioned conventional problems and provide a constantly stable synchronous clock.

[問題点の解決手段] 本発明は、リセツトパルスにより初期値に戻る
カウンタによつて1つのクロツクを分周し、この
カウンタを前記クロツクの周期の整数倍の一定周
期になる別のタイミングから抽出したリセツトパ
ルスにより初期値に戻すことにより、このタイミ
ングに同期したクロツク信号をカウンタ出力とし
て得る同期安定回路において、 前記クロツクが前記リセツトパルスの有効期間
内に立ち上がつているか否かを常に監視し、該ク
ロツクが前記リセツトパルスの有効期間内に立ち
上がつている場合は、以降のリセツトパルスの幅
を広げ、前記クロツクが前記リセツトパルスの有
効期間内に立ち上がつていない場合は、以降のリ
セツトパルスの幅を狭める構成としている。
[Means for Solving Problems] The present invention divides the frequency of one clock using a counter that returns to its initial value by a reset pulse, and extracts this counter from another timing that has a constant period that is an integral multiple of the period of the clock. In the synchronization stabilizing circuit which obtains a clock signal synchronized with this timing as a counter output by returning the clock to its initial value using a reset pulse, the circuit constantly monitors whether or not the clock rises within the valid period of the reset pulse. , if the clock rises within the valid period of the reset pulse, the width of the subsequent reset pulse is widened, and if the clock does not rise within the valid period of the reset pulse, the width of the subsequent reset pulse is increased. The configuration is such that the width of the reset pulse is narrowed.

[実施例] 以下、本発明を図示の一実施例を参照して具体
的に説明する。
[Example] Hereinafter, the present invention will be specifically described with reference to an illustrated example.

第1図は、本発明の同期安定回路の一実施例の
ブロツク回路図である。
FIG. 1 is a block circuit diagram of one embodiment of the synchronous stabilizing circuit of the present invention.

同図において、この回路は、第一クロツクaを
カウンタ1で分周し、そのカウンタ1を第二クロ
ツクbの立ち上がりでリセツトすることにより、
第二クロツクbに同期した同期クロツクcを発生
するものである。
In the figure, this circuit divides the first clock a by a counter 1 and resets the counter 1 at the rising edge of the second clock b.
It generates a synchronous clock c synchronized with the second clock b.

もし、第二クロツクbの立ち上がりでリセツト
パルスを作成し、そのパルスで単純に前記カウン
タ1をリセツトしても、同期クロツクcは得られ
るが、第一クロツクaと第二クロツクbとの位相
関係が任意であるので、前述した第8図又は第9
図のいずれかの状態に定まらず、同期クロツクc
の波形が不安定になるという状態が起こり得る。
If a reset pulse is created at the rising edge of the second clock b and the counter 1 is simply reset with that pulse, a synchronized clock c can be obtained, but the phase relationship between the first clock a and the second clock b is is optional, so the above-mentioned figure 8 or 9
Synchronous clock c
A situation may occur in which the waveform becomes unstable.

この回路では、リセツトパルスhが前記カウン
タ1をリセツトしている期間に、クロツクaの立
ち上がりが存在すれば、前記リセツトパルスhの
幅を広くし、存在しなければ前記幅を狭くすると
いう動作を実行することにより、前記リセツトパ
ルスhの立ち下りが第一クロツクaの立ち上がり
に接近して、同期クロツクcの位相が不安定にな
るという状態を防止している。
This circuit widens the width of the reset pulse h if there is a rising edge of the clock a while the reset pulse h is resetting the counter 1, and narrows the width if there is no rising edge of the clock a. This prevents a situation in which the falling edge of the reset pulse h approaches the rising edge of the first clock a and the phase of the synchronous clock c becomes unstable.

本実施例回路の例では、第一クロツクaの周波
数は同期クロツクcの2n倍、同期クロツクcの周
波数は第二クロツクbの3倍とし、前記カウンタ
1により前記第一クロツクaを1/2nに分周して
同期クロツクcを得るものとしている(第2図参
照)。
In the example of the circuit of this embodiment, the frequency of the first clock a is 2 n times that of the synchronous clock c, the frequency of the synchronous clock c is three times that of the second clock b, and the counter 1 is used to increase the frequency of the first clock a by 1/1. 2n to obtain the synchronous clock c (see Figure 2).

ここで、前記カウンタ1は、ck入力端子に入
力する前記第一クロツクaの立ち上がりでカウン
トアツプし、R入力端子の前記リセツトパルスh
がHIGHの時、カウンタ値は前記ck入力とは無
関係に0に戻る。
Here, the counter 1 counts up at the rising edge of the first clock a input to the ck input terminal, and counts up at the rising edge of the first clock a input to the ck input terminal.
When is HIGH, the counter value returns to 0 regardless of the ck input.

シフトレジスタ2は、ck入力の立ち上がりで
D入力がQA,QB,QC,……にシフトして出力
される。
In the shift register 2, the D input is shifted to QA, QB, QC, . . . at the rising edge of the ck input and output.

このシフトレジスタ2と、アンドゲート3,
4、インバータ5,6とを組み合わせた回路は、
第二クロツクbの立ち上がりで幅の異なる2種類
のパルスを発生する(第7図参照)。
This shift register 2, and gate 3,
4. The circuit combining inverters 5 and 6 is
At the rising edge of the second clock b, two types of pulses with different widths are generated (see FIG. 7).

2種類のパルスは、第二のD型フリツプフロツ
プ(以下、F.Fと略記する)11の状態によりい
ずれか一方が選択されてリセツトパルスhとして
出力され、前記カウンタ1をリセツトする。
One of the two types of pulses is selected depending on the state of the second D-type flip-flop (hereinafter abbreviated as FF) 11 and outputted as a reset pulse h, thereby resetting the counter 1.

そして、前記第二のF.F11の状態は、インバ
ータ12、アンドゲート13,14、インバータ
15及び第一のF.F10の出力によつて制御され
ている。
The state of the second F.F. 11 is controlled by the inverter 12, AND gates 13 and 14, the inverter 15, and the output of the first F.F.

尚、前記シフトレジスタ2のck端子には、第
一クロツクaの16倍程度の周波数の高速クロツク
を与えるものとする。
It is assumed that a high-speed clock having a frequency approximately 16 times that of the first clock a is applied to the ck terminal of the shift register 2.

ここで、第一クロツクaの立ち上がりで前記ア
ンドゲート13よりパルス幅の狭いパルスdが出
力され、その時リセツトパルスhがHIGHであれ
ば、アンドゲート14が開いて第一のF.F10が
たたかれる。第一のF.F10はリセツトパルスh
がLOWに戻ればクリアされてしまうが、パルス
gの立ち下りで第一のF.F10の状態が第二のF.
F11にラツチされ、第二のF.F11のQ出力で
あるiがHIGHになり、リセツトパルスの幅の広
い方が選択される(第3図参照)。
Here, at the rising edge of the first clock a, a narrow pulse d is output from the AND gate 13, and if the reset pulse h is HIGH at that time, the AND gate 14 is opened and the first F.F10 is activated. It will be destroyed. The first F.F10 is a reset pulse h
If returns to LOW, it will be cleared, but at the falling edge of pulse g, the state of the first F.F10 changes to the second F.F.
F.F11 is latched, and i, the Q output of the second F.F11, becomes HIGH, and the one with the wider reset pulse width is selected (see FIG. 3).

第一クロツクaの立ち上がりにおいては、リセ
ツトパルスhがLOWのときは第一のF.F10は
たたかれず、第二の前記F.F11のQ出力である
パルスiはLOWとなり、リセツトパルスhとし
て幅の狭いパルスが選択されることになる(第4
図参照)。
At the rising edge of the first clock a, when the reset pulse h is LOW, the first F.F10 is not struck, and the pulse i, which is the Q output of the second F.F11, becomes LOW, and as the reset pulse h. A narrow pulse will be selected (fourth
(see figure).

リセツトパルスhの立ち下りがパルスdの立ち
上がりに接近して、パルスhの幅の切り替えが起
こる瞬間を示したタイミングチヤートを第5図、
第6図に示す。
Figure 5 shows a timing chart showing the moment when the falling edge of the reset pulse h approaches the rising edge of the pulse d and the width of the pulse h changes.
It is shown in FIG.

第5図は、パルスdがパルスhの外に出たため
に、以降のパルスhの幅が狭くなる様子を示し、
第6図はパルスdがパルスhの中に入つたため
に、以降のパルスhの幅が広くなる様子を示して
いる。
FIG. 5 shows how the width of the subsequent pulse h becomes narrower because the pulse d goes outside the pulse h.
FIG. 6 shows how the width of the subsequent pulse h becomes wider because the pulse d enters the pulse h.

第5図aでは、パルスhの立ち下りがパルスd
に接近しているが、パルスdが一旦パルスhの外
にでると、第5図bに示すように直ちにパルスh
の幅が狭くなつて、パルスhの立ち下りとパルス
dとは一気に離れるので、再びパルスdがパルス
hの中に入るためには以前よりさらに接近しなけ
ればならない。
In FIG. 5a, the falling edge of pulse h is pulse d.
However, once the pulse d exits the pulse h, the pulse h immediately approaches the pulse h as shown in FIG. 5b.
As the width of the pulse h becomes narrower, the falling edge of the pulse h and the pulse d suddenly separate from each other, so that in order for the pulse d to enter the pulse h again, it has to come closer than before.

第6図aでは、パルスdが一旦パルスhの中に
入ると、第6図bに示すように直ちにパルスhの
幅が広くなつて、パルスdを大きく取り込もうと
するので、パルスdがパルスhから外に出にくく
る。このように、一種のヒステリシス効果によつ
て、第5図a又は第6図aのような状態が長く続
くことはなく、第5図b又は第6図bのいずれか
の状態に落ち着くことになる。
In FIG. 6a, once the pulse d enters the pulse h, the width of the pulse h immediately becomes wider as shown in FIG. Makes it difficult to go outside. In this way, due to a kind of hysteresis effect, the state shown in FIG. Become.

このようにして、リセツトパルスhがカウンタ
1をリセツトしている間に第一クロツクaの立ち
上がりが存在すればリセツトパルスhの幅を広く
し、存在しなければ狭くする、という動作によ
り、リセツトパルスhの立ち下りが第一クロツク
aの立ち上がりに接近して同期クロツクcが不安
定になる、という状態を防止することができる。
In this way, if there is a rising edge of the first clock a while the reset pulse h is resetting the counter 1, the width of the reset pulse h is widened, and if there is no rising edge, the width of the reset pulse h is narrowed. It is possible to prevent a situation in which the falling edge of h approaches the rising edge of the first clock a and the synchronous clock c becomes unstable.

尚、本発明は上記実施例に限定されるものでは
なく、本発明の要旨の範囲内で種々の変形実施が
可能である。
Note that the present invention is not limited to the above embodiments, and various modifications can be made within the scope of the gist of the present invention.

[発明の効果] 以上説明したように、本発明によればクロツク
の立ち上がりがリセツトパルスの有効期間内にあ
るか否かを判定し、リセツトパルスがカウンタを
リセツトしている期間にクロツクの立ち上がりが
あればリセツトパルスの幅を広くし、なければ狭
くする、という動作により、リセツトパルスの立
ち下りがクロツクの立ち上がりに接近して同期ク
ロツクを不安定にする、という状態を防止するこ
とができる。
[Effects of the Invention] As explained above, according to the present invention, it is determined whether the rising edge of the clock is within the effective period of the reset pulse, and the rising edge of the clock is determined while the reset pulse is resetting the counter. By widening the width of the reset pulse if it exists, and narrowing it if it does not, it is possible to prevent a situation where the falling edge of the reset pulse approaches the rising edge of the clock, making the synchronous clock unstable.

また、本発明の回路を使用することにより、例
えば第一クロツクの立ち上がりで変化するデータ
を、第二クロツクに同期したタイミングで多重し
て出力するという場合、リセツトパルスの立ち下
りは常に第一クロツクの立ち上がりから離れてい
るので、このタイミングを利用してデータをサン
プルすることにより、サンプルするタイミングが
データの変化点に接近することを避けることがで
きるという効果がある。
Furthermore, by using the circuit of the present invention, for example, when data that changes at the rising edge of the first clock is multiplexed and output at a timing synchronized with the second clock, the falling edge of the reset pulse is always at the rising edge of the first clock. By sampling data using this timing, it is possible to avoid sampling timing approaching a data change point.

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

第1図は本発明の同期安定回路の一実施例のブ
ロツク回路図、第2図は第1図中のカウンタ1の
動作を説明するタイミングチヤート、第3図は幅
の広いリセツトパルスの発生を示すタイミングチ
ヤート、第4図は幅の狭いリセツトパルスの発生
を示すタイミングチヤート、第5図a,bはリセ
ツトパルスの幅が狭くなる瞬間のタイミングチヤ
ート、第6図a,bはリセツトパルスの幅が広く
なる瞬間のタイミングチヤート、第7図はシフト
レジスタへの高速クロツク、第二クロツク及びア
ンドゲート出力の関係を示すタイミングチヤー
ト、第8図〜第11図は従来のカウンタの動作を
説明する図で、第8図、第9図はそれぞれクロツ
クの立ち上がりがリセツトパルスの有効期間内に
ある場合、ない場合を示すタイミングチヤート、
第10図、第11図はそれぞれクロツクパルスの
立ち上がりがリセツトパルスの立ち下りより前に
ある場合、後ろにある場合を示すタイミングチヤ
ートである。 1……カウンタ、2……シフトレジスタ、3〜
6……ゲート回路、10,11……D型フリツプ
フロツプ、12〜18……ゲート回路、a……第
一クロツク、b……第二クロツク、c……同期ク
ロツク、h……リセツトパルス。
Fig. 1 is a block circuit diagram of one embodiment of the synchronous stabilizing circuit of the present invention, Fig. 2 is a timing chart explaining the operation of counter 1 in Fig. 1, and Fig. 3 shows the generation of a wide reset pulse. FIG. 4 is a timing chart showing the generation of a narrow reset pulse. FIGS. 5 a and b are timing charts at the moment when the reset pulse width becomes narrow. FIGS. 6 a and b are reset pulse widths. FIG. 7 is a timing chart showing the relationship between the high-speed clock, second clock, and AND gate output to the shift register. FIGS. 8 to 11 are diagrams explaining the operation of a conventional counter. FIGS. 8 and 9 are timing charts showing when the rising edge of the clock is within the valid period of the reset pulse and when it is not, respectively.
FIGS. 10 and 11 are timing charts showing cases in which the rising edge of the clock pulse is before and after the falling edge of the reset pulse, respectively. 1...Counter, 2...Shift register, 3~
6... Gate circuit, 10, 11... D-type flip-flop, 12-18... Gate circuit, a... First clock, b... Second clock, c... Synchronous clock, h... Reset pulse.

Claims (1)

【特許請求の範囲】 1 リセツトパルスにより初期値に戻るカウンタ
によつて1つのクロツクを分周し、このカウンタ
を前記クロツクの周期の整数倍の一定周期になる
別のタイミングから抽出したリセツトパルスによ
り初期値に戻すことにより、このタイミングに同
期したクロツク信号をカウンタ出力として得る同
期安定回路において、 前記クロツクが前記リセツトパルスの有効期間
内に立ち上がつているか否かを常に監視し、該ク
ロツクが前記リセツトパルスの有効期間内に立ち
上がつている場合は、以降のリセツトパルスの幅
を広げ、前記クロツクが前記リセツトパルスの有
効期間内に立ち上がつていない場合は、以降のリ
セツトパルスの幅を狭めることを特徴とする同期
安定回路。
[Claims] 1. One clock is frequency-divided by a counter that returns to its initial value by a reset pulse, and this counter is divided by a reset pulse extracted from another timing with a constant period that is an integral multiple of the period of the clock. In a synchronization stabilizing circuit which obtains a clock signal synchronized with this timing as a counter output by returning the clock to its initial value, the circuit constantly monitors whether or not the clock rises within the valid period of the reset pulse. If the clock rises within the valid period of the reset pulse, the width of the subsequent reset pulse is widened, and if the clock does not rise within the valid period of the reset pulse, the width of the subsequent reset pulse is increased. A synchronous stabilization circuit characterized by narrowing the width.
JP62229616A 1987-09-16 1987-09-16 Synchronism stabilizing circuit Granted JPS6473938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62229616A JPS6473938A (en) 1987-09-16 1987-09-16 Synchronism stabilizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62229616A JPS6473938A (en) 1987-09-16 1987-09-16 Synchronism stabilizing circuit

Publications (2)

Publication Number Publication Date
JPS6473938A JPS6473938A (en) 1989-03-20
JPH0561817B2 true JPH0561817B2 (en) 1993-09-07

Family

ID=16894975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62229616A Granted JPS6473938A (en) 1987-09-16 1987-09-16 Synchronism stabilizing circuit

Country Status (1)

Country Link
JP (1) JPS6473938A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2668930B1 (en) * 1990-11-09 1995-02-17 Oreal COSMETIC, PHARMACEUTICAL OR FOOD COMPOSITION COMPRISING AN AQUEOUS DISPERSION OF LIPID VESICLES.

Also Published As

Publication number Publication date
JPS6473938A (en) 1989-03-20

Similar Documents

Publication Publication Date Title
US4366394A (en) Divide by three clock divider with symmetrical output
US5230013A (en) PLL-based precision phase shifting at CMOS levels
US4786823A (en) Noise pulse suppressing circuit in digital system
JP2695535B2 (en) Timer input control circuit and counter control circuit
US4317053A (en) High speed synchronization circuit
US5898640A (en) Even bus clock circuit
US3935475A (en) Two-phase MOS synchronizer
JPH0561817B2 (en)
JP2003179583A (en) Signal synchronous circuit
KR930008659B1 (en) Ripple Counter with Initial Value
JPH05130094A (en) Clock transfer circuit
JPH05315898A (en) Trigger synchronization circuit
KR940003771Y1 (en) Glitch Prevention Synchronization Circuit
JPH0282812A (en) Clock switching system
KR950002063Y1 (en) Wide Area Data Clock Synchronization Circuit
KR100278271B1 (en) A clock frequency divider
JP3151865B2 (en) Sync detection circuit
KR200219484Y1 (en) distribution circuit in synchronous transmission apparatus
KR950007458B1 (en) Clock synchronization circuit
KR930003905Y1 (en) Clock generator
JPH01268309A (en) Two-phase clock generator
JP2648958B2 (en) Pulse insertion circuit
JP2679471B2 (en) Clock switching circuit
JP3280724B2 (en) Image interface circuit
JP2524091Y2 (en) Two-phase clock generator