JPS63129709A - Counter - Google Patents

Counter

Info

Publication number
JPS63129709A
JPS63129709A JP27604186A JP27604186A JPS63129709A JP S63129709 A JPS63129709 A JP S63129709A JP 27604186 A JP27604186 A JP 27604186A JP 27604186 A JP27604186 A JP 27604186A JP S63129709 A JPS63129709 A JP S63129709A
Authority
JP
Japan
Prior art keywords
output
clock signal
signal
reset
reset 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.)
Granted
Application number
JP27604186A
Other languages
Japanese (ja)
Other versions
JP2532413B2 (en
Inventor
Masazumi Kamoi
鴨井 正純
Junichiro Karasuno
烏野 潤一郎
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61276041A priority Critical patent/JP2532413B2/en
Publication of JPS63129709A publication Critical patent/JPS63129709A/en
Application granted granted Critical
Publication of JP2532413B2 publication Critical patent/JP2532413B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To attain stable count by detecting whether or not a reset signal is close to a predetermined edge of a clock signal and starting the count from the edge of the next clock signal sequentially. CONSTITUTION:A leading (trailing) close detection circuit 13 (12) outputs a pulse output 13a (12a) rising with a delay of a predetermined time (t) from the trailing of a reset signal when the trailing of the reset signal 7 is close before and after the leading (trailing) of the clock signal 1a and descending at the leading of the next clock signal. An output 15a rising by the leading of the output 13a and descending at the leading of the output 12a is obtained from a flip-flop 15. The output 15a is fed to a changeover circuit 16 as a control signal, and a signal 10a is selected when the output 15a is at a high level and an output 16a is selected from a signal 11a when the output 15a is at a low level. The output 16a is fed to a counter 7 as a reset to count the clock signal 6.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、リセット信号の到来に応じて順次クロックパ
ルスを計数するカウンタ装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a counter device that sequentially counts clock pulses in response to the arrival of a reset signal.

従来の技術 近年、カウンタ装置はコンピュータ、画像メモリ等の種
々の分野において使用されている。
2. Description of the Related Art In recent years, counter devices have been used in various fields such as computers and image memories.

第6図は画像メモリ装置におけるカウンタ装置の一使用
例を示すもので、1はクロック信号発生器であシ、その
出力であるクロック信号1aは計数器2に印加されてい
る。
FIG. 6 shows an example of the use of a counter device in an image memory device, in which 1 is a clock signal generator, and its output, a clock signal 1a, is applied to a counter 2. In FIG.

3は水平および垂直同期信号発生回路でアリ、その出力
である水平および垂直同期信号は、モニターテレビジョ
ン受像機4に印加され、その偏向系を制御している。
Reference numeral 3 denotes a horizontal and vertical synchronizing signal generating circuit, whose output horizontal and vertical synchronizing signals are applied to a monitor television receiver 4 to control its deflection system.

また、前記水平および垂直同期信号に位相同期した信号
が計数器2にリセット信号7として印加され、計数器2
は、そのリセット信号の到来によりクロツク信号のカウ
ントを新たに開始するよう構成されている。
Further, a signal phase-synchronized with the horizontal and vertical synchronization signals is applied to the counter 2 as a reset signal 7, and the counter 2
is configured to newly start counting the clock signal upon arrival of the reset signal.

計数器2の計数値は画像情報を記憶した画像メモリ(R
OM)5に順次印加され、前記計数値に応じた番地の画
像情報を出力し、モニターテレビジョン受像機4に映出
されるよう構成されている。
The count value of counter 2 is stored in the image memory (R
OM) 5, the image information of the address corresponding to the count value is outputted, and is displayed on the monitor television receiver 4.

発明が解決しようとする問題点 以上のような構成において、第6図の波形図に示すよう
なリセット信号7によってクロック信号1aのパルス数
のカウントを開始する場合、一般にリセット信号7のパ
ルスの立下がシからクロック信号1aの立上がりの数を
カウントする方式がとられている。
Problems to be Solved by the Invention In the above configuration, when counting the number of pulses of the clock signal 1a using the reset signal 7 as shown in the waveform diagram of FIG. A method is adopted in which the number of rises of the clock signal 1a is counted from the bottom.

しかしながら、第6図に示すリセットパルス7がその一
番目のパルスアaのようにクロック信号1aの立上がり
の直前で立下がった場合、計数器2はその直後のクロッ
ク信号1aの立上がシからカウントして計数出力6を出
力するが、リセット信号7の二番目のパルス7bのよう
にクロック信号の立上がりの直後に立下がると、計数器
2は次のクロック信号の立上がシからカウントを開始す
ることとなる。
However, if the reset pulse 7 shown in FIG. 6 falls just before the rising edge of the clock signal 1a, as in the first pulse aa, the counter 2 counts from the rising edge of the clock signal 1a immediately after that. However, when the clock signal falls immediately after the rising edge of the clock signal, like the second pulse 7b of the reset signal 7, the counter 2 starts counting from the rising edge of the next clock signal. I will do it.

すなわち、リセットパルス7aと7bによる計数出力e
に約クロックパルスの1個分の時間的遅れが発生する。
That is, the count output e due to the reset pulses 7a and 7b
A time delay of approximately one clock pulse occurs.

一般に、リセット信号とクロック信号とは、それぞれ異
なる系統の経路を通って入力されるため、前段回路の各
素子の温度特性の差異等により両者間に若干の位相差が
生じ、前述のようにリセット信号がクロックパルスの直
前に位置したり直後に位置したりすることが繰返される
ことがある。
Generally, the reset signal and the clock signal are input through different paths, so there is a slight phase difference between them due to differences in the temperature characteristics of each element in the previous stage circuit, and as described above, the reset signal and clock signal are input through different paths. There may be repeated instances where a signal immediately precedes or immediately follows a clock pulse.

このようなことが第6図に示す画像メモリ装置に生じる
と、再生画像にチラッキが生じるという問題点を有して
いた。
When this occurs in the image memory device shown in FIG. 6, there is a problem in that flickering occurs in the reproduced image.

本発明は、かかる問題点に鑑み再生画像にチラッキを生
じないカウンタ装置を提供するものである。
In view of this problem, the present invention provides a counter device that does not cause flickering in reproduced images.

問題点を解決するだめの手段 本発明のカウンタ装置は、リセット信号の到来に応じて
クロック信号の立上がシあるいは立下がりの予め定めら
れた一方の端縁を順次計数するに際し、前記リセット信
号が前記クロック信号の定められた端縁に近接している
か否かを検出し、近接している場合には、その次のクロ
ック信号の前記端縁より順次計数を開始するよう構成し
たものである。
Means for Solving the Problems The counter device of the present invention, when sequentially counting one predetermined rising edge or falling edge of a clock signal in response to the arrival of a reset signal, is configured to detect whether or not the clock signal is close to a predetermined edge of the clock signal, and if so, to start counting sequentially from the edge of the next clock signal. .

作  用 上記構成によれば、計数を開始するに際して、計数誤差
が生じやすい状態、すなわち、リセット信号がクロック
信号の計数すべき端縁に近接している状態であるか否か
を検出し、近接している場合には、次のクロック信号よ
り計数を開始するものであるため、リセット信号とクロ
ック信号との間に若干の位相変動が生じても計数値が変
動することはないものである。
According to the above configuration, when starting counting, it is detected whether or not a counting error is likely to occur, that is, a state in which the reset signal is close to the edge of the clock signal to be counted. In this case, counting is started from the next clock signal, so even if a slight phase change occurs between the reset signal and the clock signal, the count value will not change.

実施例 以下図面を参照して本発明のカウンタ装置の一実施例に
ついて説明する。
Embodiment An embodiment of the counter device of the present invention will be described below with reference to the drawings.

第1図は本発明のカウンタ装置の一実施例のブロック図
である。
FIG. 1 is a block diagram of an embodiment of a counter device of the present invention.

第1図において、8.9はそれぞれリセット信号7およ
びクロック信号1aの入力端子であシ、入力端子8に入
力されたリセット信号7は、第1および第2のD型7リ
ツプフロツプ回路10.11の各り端子と立下がシ接近
検出回路12および立上がシ接近検出回路13に印加さ
れている。
In FIG. 1, 8.9 are input terminals for the reset signal 7 and the clock signal 1a, respectively, and the reset signal 7 input to the input terminal 8 is input to the first and second D-type 7 lip-flop circuits 10.11. The voltage is applied to each of the terminals 1 and 2 to the approach detection circuit 12 on the falling edge and the approach detection circuit 13 on the rising edge.

また、入力端子9に入力されたクロック信号1aは第2
のD型フリップフロップ回路11のCK端子と立上がシ
接近検出回路13に印加されるとともに、インバータ1
4を介して第1のD型フリップ70ツブ回路1oのCK
端子と立下がシ接近検出回路12に印加されている。
Further, the clock signal 1a input to the input terminal 9 is
The rising edge of the CK terminal of the D-type flip-flop circuit 11 is applied to the approach detection circuit 13, and the inverter 1
CK of the first D-type flip 70 tube circuit 1o through 4
A terminal and a falling edge are applied to the approach detection circuit 12.

立上がシ接近検出回路13は後述のような構成よりなり
、第2図に示すようにリセット信号7の立下がりが、ク
ロック信号1aの立上がりの前後に近接している場合に
は、そのリセット信号の立下がりより予め定められた時
間t(クロック信号周期の略%程度)だけ遅れて立上が
り、次のクロック信号の立上がりで立下がるパルス出力
13aが を出力し、立下つ接近検出回路12も同様な構成により
、リセット信号7の立下がシがクロック信号1aの立下
がシに近接している場合には、そのリセット信号の立下
がシより予め定められた時間tだけ遅れて立上がり、次
のクロック信号の立上がりで立下がるパルス出力12a
を出力するものである。
The rising edge approach detection circuit 13 has a configuration as described below, and when the falling edge of the reset signal 7 is close to the rising edge of the clock signal 1a as shown in FIG. The pulse output 13a rises after a predetermined time t (approximately % of the clock signal period) after the falling edge of the signal, and falls at the rising edge of the next clock signal. With a similar configuration, when the falling edge of the reset signal 7 is close to the falling edge of the clock signal 1a, the falling edge of the reset signal 7 is delayed by a predetermined time t from the rising edge of the clock signal 1a. , the pulse output 12a falls at the next rising edge of the clock signal.
This outputs the following.

また、第1のD型フリップフロップ回路10からは、リ
セット信号7の立下がシ後(Low レベル)における
クロック信号1aの立下がりで立下がり、リセット信号
の立上がり後(H4ghレベル)におけるクロック信号
1aの立上がシで立上がる出力10aが作成され、第2
のD型フリップフロップ回路11からはリセット信号7
の立下がシ後におけるクロック信号の立上がシで立下が
シ、リセット信号の立上がシ後におけるクロック信号の
立下がシで立上がる出力11aが出力される。
Further, from the first D-type flip-flop circuit 10, the reset signal 7 falls at the fall of the clock signal 1a after the reset signal 7 (Low level), and the clock signal 7 falls after the reset signal rises (H4gh level). An output 10a that rises at the rising of 1a is created, and the second
The reset signal 7 is output from the D-type flip-flop circuit 11 of
An output 11a is output which rises at the rising edge of the clock signal after the falling edge of the reset signal and rising edge of the clock signal at the falling edge of the clock signal after the rising edge of the reset signal.

雨検出回路12.13の各出力12a、13aはフリッ
プ70ツブ16に印加され、出力13aの立上がシで立
上がシ、出力12aの立上がりで立下がる出力15aが
得られる。
The respective outputs 12a and 13a of the rain detection circuit 12.13 are applied to the flip 70 knob 16, and an output 15a is obtained, which rises when the output 13a rises and falls when the output 12a rises.

この出力15aは制御信号として切換回路16に印加さ
れ、前記出力15aがノ・イレベルの期間は信号10a
を、ロウレベルの期間は信号11aを出力16aとして
選択し、この出力16aをリセット信号として計数器1
7に印加して、クロック信号6の計数を行うものである
This output 15a is applied to the switching circuit 16 as a control signal, and during the period when the output 15a is at the NO level, the signal 10a is
During the low level period, the signal 11a is selected as the output 16a, and this output 16a is used as the reset signal to control the counter 1.
7 to count the clock signal 6.

すなわち、第2図に示すように、リセット信号7の立下
がシがクロック信号1aの立上がりの前後において近接
している際には、クロック信号1aの次の立下がシに同
期して立下がるノ(ルス10aを作成し、このパルス1
0aをリセット信号16aとして使用するものであるた
め、リセット信号7の立下がシがクロック信号1aの立
上がりに対して前後に変位しても、常に次のクロック信
号の立上がりよりカウントを開始することとなシ、安定
な計数が望めるものである。
That is, as shown in FIG. 2, when the falling edge of the reset signal 7 is close to the rising edge of the clock signal 1a, the next falling edge of the clock signal 1a will rise in synchronization with the rising edge of the clock signal 1a. Create pulse 10a and apply this pulse 1
Since 0a is used as the reset signal 16a, even if the falling edge of the reset signal 7 shifts back and forth relative to the rising edge of the clock signal 1a, counting always starts from the rising edge of the next clock signal. This means that stable counting can be expected.

第3図は、第1図の立上がシ接近検出回路13の一実施
例を示すブロック図であシ、入力端子8に印加されたリ
セット信号7は、第4のD型フリップフロップ回路2o
に印加されるとともに、第1の遅延回路18により予め
定められた時間t(クロック信号周期の%程度)だけ遅
延された信号7aとして第3のD型7リツプフロツプ回
路19に印加されている。
FIG. 3 is a block diagram showing an embodiment of the approach detection circuit 13 shown in FIG.
and is applied to the third D-type 7-lip-flop circuit 19 as a signal 7a delayed by a predetermined time t (approximately % of the clock signal period) by the first delay circuit 18.

また、入力端子9に印加されたクロック信号1aは、第
3のフリップフロップ回路19に印加されるとともに、
第2の遅延回路21によ)時間tだけ遅延された信号1
bとして第4のツー9フ1フ0フブ回路2oのCK端子
に印加されている。
Further, the clock signal 1a applied to the input terminal 9 is applied to the third flip-flop circuit 19, and
Signal 1 delayed by time t) by second delay circuit 21
A signal b is applied to the CK terminal of the fourth two-nine-fifth-one-fifth circuit 2o.

第3のD型フリップフロップ回路19のQ出力19aは
、第1と第2のANDゲート回路22゜24およびNO
Rゲート回路23に印加され、前記第4のD型フリップ
フロップ回路2oのQ出力20aは第1のANDゲート
回路22とNORゲート回路23に、またQ出力は第2
のANDゲー ・ト回路24に印加されている。
The Q output 19a of the third D-type flip-flop circuit 19 is connected to the first and second AND gate circuits 22, 24 and NO.
The Q output 20a of the fourth D-type flip-flop circuit 2o is applied to the R gate circuit 23, the Q output is applied to the first AND gate circuit 22 and the NOR gate circuit 23, and the Q output is applied to the second
is applied to the AND gate circuit 24.

第1のANDゲート回路22の出力22aは第3の遅延
回路26を介して信号22bとしてフリップフロップ回
路26のSET端子に、またNORゲート回路23の出
力23aはフリップフロップ回路26のRESET端子
に印加されている。
The output 22a of the first AND gate circuit 22 is applied as a signal 22b to the SET terminal of the flip-flop circuit 26 via the third delay circuit 26, and the output 23a of the NOR gate circuit 23 is applied to the RESET terminal of the flip-flop circuit 26. has been done.

そして、第2のANDゲート回路24の出力24aとフ
リップフロップ回路26の出力26aとは第3のAND
ゲート回路27に印加され、その出力として信号13a
が得られるものである。
The output 24a of the second AND gate circuit 24 and the output 26a of the flip-flop circuit 26 are
is applied to the gate circuit 27, and the signal 13a is applied as its output.
is obtained.

以上の実施例においては、リセット信号によりクロツク
信号の立上がりを屓次計数するよう構成しているが、同
様にしてクロック信号の立下がりを計数することも可能
である。
In the embodiments described above, the rise of the clock signal is counted successively by the reset signal, but it is also possible to count the fall of the clock signal in a similar manner.

発明の効果 以上のように、本発明によれば、リセット信号とクロッ
ク信号の位相関係が時間的に若干変動する場合において
も、安定な計数が期待できるものである。
Effects of the Invention As described above, according to the present invention, stable counting can be expected even when the phase relationship between the reset signal and the clock signal varies slightly over time.

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

第1図は本発明のカウンタ装置の一実施例を示すブロッ
ク図、第2図は同動作を示す波形図、第3図は同要部の
ブロック図、第4図は同要部の動作を示す波形図、第5
図は従来の画像メモリ装置のブロック図、第6図は同動
作波形図である。 7・・・・・・計数器、8・・・・・・リセット信号入
力端子、9・・・・・・クロック信号入力端子、10.
11・・・・・・D型フリップ70ツブ回路、12・・
・・・・立上がり接近検出回路、13・・・・・・立下
がり接近検出回路、15・・・・・・フリップフロップ
、16・・・・・・切換回路。
FIG. 1 is a block diagram showing an embodiment of the counter device of the present invention, FIG. 2 is a waveform diagram showing the same operation, FIG. 3 is a block diagram of the main part, and FIG. 4 is a block diagram showing the operation of the same main part. Waveform diagram shown, No. 5
The figure is a block diagram of a conventional image memory device, and FIG. 6 is a waveform diagram of the same operation. 7... Counter, 8... Reset signal input terminal, 9... Clock signal input terminal, 10.
11...D type flip 70 tube circuit, 12...
... Rising approach detection circuit, 13... Falling approach detection circuit, 15... Flip-flop, 16... Switching circuit.

Claims (1)

【特許請求の範囲】[Claims] リセット信号の到来よりクロック信号の立上がりあるい
は立下がりの予め定められた一方の端縁を順次計数する
に際し、前記リセット信号が前記クロック信号の定めら
れた端縁に近接しているか否かを検出する検出手段を有
し、近接している場合には、その次のクロック信号の前
記端縁より計数を開始することを特徴とするカウンタ装
置。
When sequentially counting one predetermined edge of the rising or falling edge of the clock signal from the arrival of the reset signal, it is detected whether the reset signal is close to the predetermined edge of the clock signal. 1. A counter device comprising a detection means, and starts counting from the edge of the next clock signal when the two clock signals are close to each other.
JP61276041A 1986-11-19 1986-11-19 Counter device Expired - Lifetime JP2532413B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61276041A JP2532413B2 (en) 1986-11-19 1986-11-19 Counter device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61276041A JP2532413B2 (en) 1986-11-19 1986-11-19 Counter device

Publications (2)

Publication Number Publication Date
JPS63129709A true JPS63129709A (en) 1988-06-02
JP2532413B2 JP2532413B2 (en) 1996-09-11

Family

ID=17563961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61276041A Expired - Lifetime JP2532413B2 (en) 1986-11-19 1986-11-19 Counter device

Country Status (1)

Country Link
JP (1) JP2532413B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5510279A (en) * 1978-07-07 1980-01-24 Matsushita Graphic Commun Syst Inc Generator for timing clock pulse of modem
JPS62269517A (en) * 1986-05-19 1987-11-24 Fujitsu Ltd Counter circuit
JPS6314521A (en) * 1986-07-07 1988-01-21 Sony Corp Counter

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5510279A (en) * 1978-07-07 1980-01-24 Matsushita Graphic Commun Syst Inc Generator for timing clock pulse of modem
JPS62269517A (en) * 1986-05-19 1987-11-24 Fujitsu Ltd Counter circuit
JPS6314521A (en) * 1986-07-07 1988-01-21 Sony Corp Counter

Also Published As

Publication number Publication date
JP2532413B2 (en) 1996-09-11

Similar Documents

Publication Publication Date Title
CA2039309A1 (en) Odd/even field detector for video signals
JPS63129709A (en) Counter
KR970002960B1 (en) Line synchronizing circuit
KR840005640A (en) Signal generating method and circuit for field deflection control
JP2542707B2 (en) Horizontal sync pulse measurement circuit
JPS6298976A (en) Sawtooth signal generating circuit
US5231509A (en) Burst gate pulse generating device for use in image signal reproducing system
JP2936800B2 (en) Signal generator
JPH0659091B2 (en) Sync signal generator
JP2721691B2 (en) Horizontal period identification device
JPH04154383A (en) Horizontal synchronizing signal protecting circuit
JP3054498B2 (en) Image display device and input signal determination circuit
KR900004190Y1 (en) Mode finding for monitor
JP2622189B2 (en) Liquid crystal display signal processing circuit
JPH0127326Y2 (en)
JPS594046B2 (en) Light pen field of view position detection device
JPS6076808A (en) Clock shaping circuit
JPH0339943Y2 (en)
JPH01213074A (en) Synchronous clamp circuit
SU1260937A1 (en) Information input device
KR910003673Y1 (en) Vertical center automatic control circuit
JPH0131831B2 (en)
JPH1165511A (en) Vertical timing signal generating circuit
JP2001197331A (en) Synchronizing signal processing circuit and video signal processor
JPS62213488A (en) Muting circuit