JP5235372B2 - Pulse generator - Google Patents
Pulse generator Download PDFInfo
- Publication number
- JP5235372B2 JP5235372B2 JP2007254251A JP2007254251A JP5235372B2 JP 5235372 B2 JP5235372 B2 JP 5235372B2 JP 2007254251 A JP2007254251 A JP 2007254251A JP 2007254251 A JP2007254251 A JP 2007254251A JP 5235372 B2 JP5235372 B2 JP 5235372B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- update
- pulse
- value
- end timing
- 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.)
- Active
Links
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 claims description 47
- 230000007704 transition Effects 0.000 description 14
- 238000010586 diagram Methods 0.000 description 12
- 238000000034 method Methods 0.000 description 7
- 230000000737 periodic effect Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 239000013078 crystal Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Landscapes
- Measuring Pulse, Heart Rate, Blood Pressure Or Blood Flow (AREA)
Description
本発明は、パルス発生装置に関する。特に、本発明はシームレスにパルス生成条件を変更可能なパルス発生装置に関する。 The present invention relates to a pulse generator. In particular, the present invention relates to a pulse generator capable of seamlessly changing pulse generation conditions.
従来、所定の周期でパルス信号を生成して出力するパルス発生装置が用いられている。この種のパルス発生装置は、例えばインバータ回路等の負荷回路に出力パルス信号を供給するために用いられる。 Conventionally, a pulse generator that generates and outputs a pulse signal at a predetermined cycle is used. This type of pulse generator is used to supply an output pulse signal to a load circuit such as an inverter circuit.
従来の例によるパルス発生装置300のブロック図を図8に示す。パルス発生装置300は、同期信号Syと出力パルス信号Soを、例えばインバータ回路等の負荷回路400に供給する。
A block diagram of a
パルス発生装置300は、基準クロックとして所定周波数のパルス信号を供給する発振器360と、発振器360が発振したパルス信号を入力してカウントアップするパルス生成カウンタ310と、パルス生成カウンタ310のカウント値と周期値設定レジスタ321に設定された周期値Thとに基づいてパルス生成カウンタ310をクリアし、パルス生成カウンタ310に該周期で同期信号Syを生成させるデジタルコンパレータ320と、を有している。
The
更に、パルス発生装置300は、上記周期毎に、パルス生成カウンタ310のカウント値と、前端タイミング値設定レジスタ331に設定された前端タイミング値Tfとを比較して、前端タイミングで出力パルス信号を立ち上げる信号を出力するデジタルコンパレータ333と、同様に、パルス生成カウンタ310のカウント値と、後端タイミング値設定レジスタ334に設定された後端タイミング値Tbとを比較して、後端タイミングで出力パルス信号を立ち下げる信号を出力するデジタルコンパレータ336と、上記デジタルコンパレータ333,336が出力する信号に基づいて出力パルス信号Soを生成する出力パルス生成手段337と、を有している。
Further, the
図8では、パルス発生装置300が出力する同期信号Sy及び出力パルス信号Soそれぞれは、負荷回路400に供給される。
In FIG. 8, each of the synchronization signal Sy and the output pulse signal So output from the
次に、図8に示すパルス発生装置300が出力パルス信号Soを生成する様子を、図9に示すタイミング図を参照して説明する。図9において、(a)は、パルス生成カウンタ310が生成する同期信号Syの波形を示し、(b)は、パルス生成カウンタ310のカウント値Cpを示し、(c)は、出力パルス生成回路337が生成する出力パルス信号Soを示している。
Next, how the
(b)のカウント値Cpは、時間t1において、(a)の同期信号Syの立ち上がりと共にクリアされてゼロになる。パルス生成カウンタ310は、その後カウントアップして、再び同期信号Syの立ち上がりと共にカウント値Cpがクリアされてゼロになる。このカウント値Cpがクリアされる所定の時間間隔が、周期信号Syの周期値Thである。
The count value Cp in (b) is cleared to zero with the rise of the synchronization signal Sy in (a) at time t1. The
(c)の時間t1から出力パルス信号Soの立ち上がりまでの遅延時間値Trは、前端タイミング値Tfにより定められる。また、(c)の出力パルス信号Soのパルス幅Pwは、後端タイミング値Tbと前端タイミング値Tfとの差により定められる。このようにして、(c)の出力パルス信号Soが、時間t2からt3の間に生成される。出力パルス信号Soは、(c)に示すように、周期ごとに繰り返し生成される。 The delay time value Tr from the time t1 of (c) to the rise of the output pulse signal So is determined by the front end timing value Tf. The pulse width Pw of the output pulse signal So in (c) is determined by the difference between the rear end timing value Tb and the front end timing value Tf. In this way, the output pulse signal So of (c) is generated between the times t2 and t3. The output pulse signal So is repeatedly generated every period as shown in (c).
上述した出力パルス信号Soの周期値を変更する手法としては、例えば、周期値設定レジスタ321に記憶する周期値Thを変更する方法、または、広範囲の周波数で安定した信号をシームレス(継ぎ目なく)に発生させる観点から、上記発振器として、ダイレクト・デジタル・シンセサイザ(DDS)を用いる方法がある。
As a method of changing the cycle value of the output pulse signal So described above, for example, a method of changing the cycle value Th stored in the cycle
上記パルス発生装置300において、出力パルス信号Soの遅延時間値Tr又はパルス幅Pwを変更するためには、周期値Th、前端タイミング値Tf又は後端タイミング値Tb等のパルス生成条件のパラメータを変更すれば良い。しかし、これらのパラメータを変更するタイミングによっては、図10(c)に示すように、不要な出力パルス信号So´を生成する場合があり、シームレスな周波数の変更を行えないことがある。
In the
図10は、パルス生成条件を変更した場合を説明するタイミング図である。図10における(a)から(c)は、図9の(a)から(c)と同様のことを示しているが、時間t3とt4との間で、パルス生成条件の変更が行われている。 FIG. 10 is a timing diagram illustrating a case where the pulse generation conditions are changed. (A) to (c) in FIG. 10 show the same as (a) to (c) in FIG. 9, but the pulse generation conditions are changed between times t3 and t4. Yes.
図10に示す例では、パルス生成条件のパラメータは、前端タイミング値TfがTf´に、後端タイミング値TbがTb´に変更されている。上記パラメータの変更が、時間t3とt4との間で行われたので、変更後のパルス生成条件に基づいた出力パルス信号Soと共に、不要な出力パルス信号So´が生成されている。 In the example shown in FIG. 10, the parameters of the pulse generation condition are changed such that the front end timing value Tf is Tf ′ and the rear end timing value Tb is Tb ′. Since the parameter change is performed between time t3 and t4, an unnecessary output pulse signal So ′ is generated along with the output pulse signal So based on the changed pulse generation condition.
上記不要な出力パルス信号の生成を回避する手法として、パルス生成条件の変更を同期信号と同じタイミングで行うことがある。しかし、常に同期信号と同じ周期でパルス生成条件を変更できないとすると、非常に長い周期値を有する同期信号を用いている場合には、例えば誤って周期値として1000秒を設定した場合等、その周期が経過するまでパルス生成条件の変更を行えなくなり、操作性が悪くなるという問題点がある。 As a technique for avoiding the generation of the unnecessary output pulse signal, the pulse generation condition may be changed at the same timing as the synchronization signal. However, if the pulse generation condition cannot always be changed in the same cycle as the synchronization signal, when using a synchronization signal having a very long cycle value, for example, when 1000 seconds is erroneously set as the cycle value, There is a problem that the pulse generation conditions cannot be changed until the period elapses, and the operability is deteriorated.
更に、パルス発生装置は、装置外部からの指令信号に基づいて出力パルス信号の発生及び停止を行う場合もあるので、このように、装置外部の指令信号に基づいて、出力パルス信号の発生及び停止が制御される場合には、同期信号と同じ周期でパルス生成条件を変更することは困難である。 Furthermore, since the pulse generator may generate and stop the output pulse signal based on a command signal from the outside of the device, the output pulse signal is generated and stopped based on the command signal outside the device. Is controlled, it is difficult to change the pulse generation condition in the same cycle as the synchronization signal.
そこで、本発明は、装置外部からの指令信号に基づいて出力パルス信号の発生及び停止を行う場合も、パルス生成条件の変更をシームレスに行うことができるパルス発生装置を提供することを目的とする。 SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a pulse generator capable of seamlessly changing pulse generation conditions even when generating and stopping an output pulse signal based on a command signal from the outside of the apparatus. .
上記の課題を解決するために、本発明に係るパルス発生装置は、所定周波数パルス信号のパルス数をカウントする第1カウント手段と、上記第1カウント手段のカウント値と設定された周期値とに基づいて上記第1カウント手段をクリアし、上記第1カウント手段に該周期で同期信号を生成させる同期信号生成手段と、上記周期毎に、上記カウント値と設定された前端及び後端タイミング値とに基づいて決められるパルス生成条件を有する出力パルス信号を生成するパルス生成手段と、更新コマンド信号の入力に基づいて上記出力パルス信号の上記パルス生成条件を更新する更新信号を発生する更新信号発生手段と、上記更新信号発生手段を制御する制御手段と、を備え、上記制御手段は、上記周期値が設定された更新制御時間値より小さい場合には、上記更新信号を次入力の同期信号に同期させて発生させ、上記周期値が該更新制御時間値より大きい場合には、上記更新信号を上記更新コマンドの入力に同期させて発生させることを特徴とする。 In order to solve the above-described problems, a pulse generator according to the present invention includes a first count unit that counts the number of pulses of a predetermined frequency pulse signal, a count value of the first count unit, and a set cycle value. Based on the first count means, the synchronization signal generation means for generating a synchronization signal in the cycle, the count value and the front and rear end timing values set for each cycle, Generation means for generating an output pulse signal having a pulse generation condition determined based on the update command signal, and an update signal generation means for generating an update signal for updating the pulse generation condition of the output pulse signal based on an input of the update command signal And control means for controlling the update signal generating means, wherein the control means is smaller than the update control time value for which the period value is set. In this case, the update signal is generated in synchronization with the synchronization signal of the next input, and when the period value is larger than the update control time value, the update signal is generated in synchronization with the input of the update command. It is characterized by that.
上述した本発明に係るパルス発生装置によれば、装置外部からの指令信号に基づいて出力パルス信号の発生及び停止を行う場合も、パルス生成条件の変更をシームレスに行うことができる。 According to the above-described pulse generator according to the present invention, even when the output pulse signal is generated and stopped based on a command signal from the outside of the device, the pulse generation conditions can be changed seamlessly.
以下、本発明に係るパルス発生装置の好ましい一実施形態を図面を参照して説明する。図1は、本発明に係るパルス発生装置の一実施形態を示すブロック図である。 Hereinafter, a preferred embodiment of a pulse generator according to the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a pulse generator according to the present invention.
本実施形態のパルス発生装置100は、図1に示すように、所定周波数パルス信号のパルス数をカウントする第1カウント手段10と、この第1カウント手段10のカウント値Cpと設定された周期値Thとに基づいて第1カウント手段10をクリアし、第1カウント手段10に該周期で同期信号Syを生成させる同期信号生成手段20と、上記周期毎に、カウント値Cpと設定された前端タイミング値Tf及び後端タイミング値Tbとに基づいて決められるパルス生成条件を有する出力パルス信号Soを生成するパルス生成手段30と、更新コマンド信号S3の入力に基づいて出力パルス信号Soのパルス生成条件を更新する更新信号S2を発生する更新信号発生手段40と、この更新信号発生手段40を制御する制御手段50と、を備えている。
As shown in FIG. 1, the
本実施形態のパルス発生装置100は、図1に示すように、同期信号生成手段20が生成した同期信号Syと、パルス生成手段30が生成した出力パルス信号Soとが、負荷回路200に供給される。この負荷回路200としては、例えば、インバータ回路が挙げられる。
As shown in FIG. 1, the
本実施形態のパルス発生装置100では、第1カウント手段10は、指令信号によりパルス数のカウントの開始又は停止が制御される。この指令信号は、パルス発生装置100の装置外部から供給される場合と、装置内部から供給される場合とがある。
In the
上記同期信号生成手段20が生成した同期信号Syは、出力パルス信号Soが供給される負荷回路200において、入力した出力パルス信号Soの周期を特定するための基準として用いられるものである。本実施形態のパルス発生装置100では、この同期信号Syを各構成要素の同期信号に用いている。
The synchronization signal Sy generated by the synchronization signal generation means 20 is used as a reference for specifying the cycle of the input output pulse signal So in the
上記制御手段50は、少なくともCPU、ROM、RAM、表示部及び操作入力部(図示せず)を有し、予め記憶されているプログラムに従って、更新信号発生手段40の制御を行う。制御手段50のCPUは、パルス発生装置100の他の構成要素の制御を兼ねていても良い。
The control means 50 includes at least a CPU, a ROM, a RAM, a display unit, and an operation input unit (not shown), and controls the update
この制御手段50は、周期値Thが、設定された更新制御時間値Tiより小さい場合には、更新信号S2を次入力の同期信号に同期させて発生させ、周期値Thが該更新制御時間値Tiより大きい場合には、更新信号S2を更新コマンドS3の入力に同期させて発生させる。 When the cycle value Th is smaller than the set update control time value Ti, the control means 50 generates the update signal S2 in synchronization with the synchronization signal of the next input, and the cycle value Th is the update control time value. If it is greater than Ti, the update signal S2 is generated in synchronization with the input of the update command S3.
上記更新制御時間値Tiは、ユーザ等により任意に定められる時間値である。本実施形態のパルス発生装置100は、上記指令信号が、パルス発生装置100外部から供給される場合であっても、この更新制御時間Tiを用いた上記処理を行うことにより、周期信号Syと同期させてパルス生成条件を変更することが可能となる。
The update control time value Ti is a time value arbitrarily determined by a user or the like. Even if the command signal is supplied from the outside of the
以下、上述した本実施形態のパルス発生装置100の一実施例を、図面を参照しながら説明する。図2は、図1のパルス発生装置100の実施例を示すブロック図である。
Hereinafter, an example of the above-described
本実施例のパルス発生装置100は、図2に示すように、基準クロックとしての所定周波数のパルス信号を供給する発振器60を備えている。この発振器60としては、例えば水晶発振器を用いることができる。発振器60は、パルス生成カウンタ10及び制御手段50に基準クロックのパルス信号を出力する。
以下、パルス発生装置100の他の各構成要素について詳述する。
As shown in FIG. 2, the
Hereinafter, other components of the
まず、第1カウント手段としてのパルス生成カウンタ10について以下に説明する。
本実施例のパルス生成カウンタ10では、図2に示すように、パルス発生装置100外部からの指令信号Seによりパルス数のカウントの開始又は停止が制御される。パルス生成カウンタ10は、カウント開始の指令信号Seを入力(指令信号SeがHの状態)するとカウントを開始し、カウント値Cpを同期信号生成手段20及びパルス生成手段30に出力し、出力パルス信号Soが発生される。一方、指令信号Seを入力していない状態(指令信号SeがLの状態)では、パルス生成カウンタ10は、カウントを停止して、出力パルス信号Soは発生しない。
First, the pulse generation counter 10 as the first counting means will be described below.
In the pulse generation counter 10 of the present embodiment, as shown in FIG. 2, the start or stop of counting the number of pulses is controlled by a command signal Se from the outside of the
パルス生成カウンタ10は、発振器60から出力された基準クロックであるパルス信号のパルス数をカウントし、そのカウント値Cpを同期信号生成手段20に出力する。また、パルス生成カウンタ10は、後述する同期信号生成手段20から出力されるクリア信号CLが入力されて、カウント値Cpがクリアされる。パルス生成カウンタ10は、同期式カウンタであることが好ましい。本実施例では、同期式のアップカウンタを用いている。
The pulse generation counter 10 counts the number of pulses of the pulse signal that is the reference clock output from the
パルス生成カウンタ10、所定の周期を有する同期信号Syを、更新信号発生手段40及び制御手段50に出力する。また、パルス生成カウンタ10は、同期信号Syを負荷回路200に出力する。
The pulse generation counter 10 outputs a synchronization signal Sy having a predetermined cycle to the update signal generation means 40 and the control means 50. Further, the pulse generation counter 10 outputs the synchronization signal Sy to the
パルス生成カウンタ10は、公知の回路を用いて構成することができる。同期信号生成手段20から出力されるクリア信号CLは、例えば、パルス生成カウンタ回路のクリア端子に入力することができる。 The pulse generation counter 10 can be configured using a known circuit. The clear signal CL output from the synchronization signal generation means 20 can be input to the clear terminal of the pulse generation counter circuit, for example.
次に、同期信号生成手段20について以下に説明する。
同期信号生成手段20は、図2に示すように、第1の周期値設定レジスタ21と、第2の周期値設定レジスタ22と、同期信号生成コンパレータ23とで構成される。
Next, the synchronization signal generating means 20 will be described below.
As shown in FIG. 2, the synchronization
第1の周期値設定レジスタ21は、パルス生成カウンタ10が生成する同期信号Syの周期値Thを記憶する。この周期値Thは、後述する制御手段50によって、第1の周期値設定レジスタ21に設定される。第1の周期値設定レジスタ21は、設定された周期値Thを第2の周期値設定レジスタ22に出力する。この周期値Thは、パルス発生装置100が出力する出力パルス信号Soの周期値となる。
The first cycle
第2の周期値設定レジスタ22は、後述する更新信号発生手段40が発生する更新信号S2を入力すると、第1の周期値設定レジスタ21が出力する周期値Thを記憶する。第2の周期値設定レジスタ22は、設定された周期値Thを同期信号生成コンパレータ23に出力する。
The second cycle
同期信号生成コンパレータ23は、パルス生成カウンタ10が出力するカウント値Cpを一方の入力部に入力する。また、第2の周期値設定レジスタ22が出力する周期値Thを他方の入力部に入力する。
The synchronization signal generation comparator 23 inputs the count value Cp output from the pulse generation counter 10 to one input unit. Also, the cycle value Th output from the second cycle
同期信号生成コンパレータ23は、入力したカウント値Cpと、第2の周期値設定レジスタ22に設定された周期値Thとを比較して、カウント値Cpが、カウント値Cpが、周期値Thと一致するか、又は、周期値Thよりも大きければ、パルス生成カウンタ10のカウント値Cpをクリアするクリア信号CLを、パルス生成カウンタ10に出力する。
The synchronization signal generation comparator 23 compares the input count value Cp with the cycle value Th set in the second cycle
上記同期信号生成手段20は、公知の回路を用いて構成することができる。例えば、第1の周期値設定レジスタ21及び第2の周期値設定レジスタ22は、メモリを用いて構成できる。また、同期信号生成コンパレータ23は、デジタルコンパレータを用いて構成できる。
The synchronization signal generating means 20 can be configured using a known circuit. For example, the first cycle
次に、パルス生成手段30について、以下に説明する。
パルス生成手段30は、図2に示すように、第1の前端タイミング値設定レジスタ31と、第2の前端タイミング値設定レジスタ32と、前端タイミング生成コンパレータ33と、第1の後端タイミング値設定レジスタ34と、第2の後端タイミング値設定レジスタ35と、後端タイミング生成コンパレータ36と、出力パルス生成手段37とで構成される。
Next, the pulse generation means 30 will be described below.
As shown in FIG. 2, the pulse generation means 30 includes a first front end timing
第1の前端タイミング値設定レジスタ31は、出力パルス信号Soの前端タイミング値Tfを記憶する。この前端タイミング値Tfは、後述する制御手段50によって、第1の前端タイミング値設定レジスタ31に設定される。第1の前端タイミング値設定レジスタ31は、設定された前端タイミング値Tfを第2の前端タイミング値設定レジスタ32に出力する。
The first front end timing
第2の前端タイミング値設定レジスタ32は、後述する更新信号発生手段40が生成する更新信号S2を入力すると、第1の前端タイミング値設定レジスタ31が出力する前端タイミング値Tfを記憶する。第2の前端タイミング値設定レジスタ32は、設定された前端タイミング値Tfを前端タイミング生成コンパレータ33に出力する。
The second front end timing
前端タイミング生成コンパレータ33は、パルス生成カウンタ10が出力するカウント値Cpを一方の入力部に入力する。また、第2の前端タイミング値設定レジスタ32が出力する前端タイミング値Tfを他方の入力部に入力する。
The front end
前端タイミング生成コンパレータ33は、入力したカウント値Cpと、第2の前端タイミング値設定レジスタ32に設定された前端タイミング値Tfとを比較して、カウント値Cpが、前端タイミング値Tfと一致するか、又は、前端タイミング値Tfよりも大きければ、前端タイミングで出力パルス信号を立ち上げる信号を、出力パルス生成手段37に出力する。
The front end
第1の後端タイミング値設定レジスタ34及び第2の後端タイミング値設定レジスタ35それぞれは、出力パルス信号Soの後端タイミング値Tbを記憶する点を除いて、上述した第1の前端タイミング値設定レジスタ31又は第2の前端タイミング値設定レジスタ32と同様に構成されている。
Each of the first rear end timing
また、後端タイミング生成コンパレータ36は、後端タイミングで出力パルス信号を立ち下げる信号を、出力パルス生成手段37に出力する点を除いて、上述した前端タイミング生成コンパレータ33と同様に構成されている。
The rear end
出力パルス生成手段37は、前端タイミングで出力パルス信号を立ち上げる信号と、後端タイミングで出力パルス信号を立ち下げる信号とを入力して、出力パルス信号Soを生成し、負荷回路200に出力する。
The output pulse generation means 37 receives the signal for raising the output pulse signal at the front end timing and the signal for lowering the output pulse signal at the rear end timing, generates the output pulse signal So, and outputs it to the
本実施例のパルス発生装置100のパルス生成手段30では、上述したように、第1の周期値設定レジスタ21、第1の前端タイミング値設定レジスタ31及び第1の後端タイミング値設定レジスタ34からなる第1のレジスタ群と、第2の周期値設定レジスタ22、第2の前端タイミング値設定レジスタ32及び第2の後端タイミング値設定レジスタ35からなる第2のレジスタ群と有している。
In the
そして、パルス生成手段30は、出力パルス信号Soのパルス生成条件を変更する更新信号S2の供給を受けて、はじめて上記第1のレジスタ群に記憶されたデータにより、上記第2のレジスタ群のデータが更新されて、出力パルス信号Soを生成する。 Then, the pulse generation means 30 receives the update signal S2 for changing the pulse generation condition of the output pulse signal So, and only the data stored in the first register group for the first time is the data in the second register group. Is updated to generate the output pulse signal So.
上記パルス生成手段30は、公知の回路を用いて構成することができる。例えば、各レジスタ22は、メモリを用いて構成できる。また、各コンパレータは、デジタルコンパレータを用いて構成できる。 The pulse generation means 30 can be configured using a known circuit. For example, each register 22 can be configured using a memory. Each comparator can be configured using a digital comparator.
次に、制御手段50について、以下に説明する。 Next, the control means 50 will be described below.
制御手段50は、発振器60が出力する所定周期パルス信号を入力して分周する分周器51と、分周器51が出力する分周したパルス信号を入力し、この分周したパルス信号をカウントしたカウント値Ciを出力する第2カウント手段52(以下、インヒビットカウンタ52ともいう)と、設定された更新制御時間値Ti(以下、インヒビット時間値Tiともいう)を後述する更新制御信号生成手段53に出力する更新制御時間設定レジスタ54(以下、インヒビット時間値設定レジスタ54ともいう)と、カウント値Ciを一方の入力部に入力し、且つインヒビット時間値Tiを他方の入力部に入力して、カウント値Ciがインヒビット時間値Tiよりも大きい場合に更新制御信号S1(以下、インヒビット信号S1ともいう)を出力する更新制御信号生成手段53と、パルス生成条件等を表示する表示部56と、上記各構成要素を制御するCPU55と、で構成される。
Control means 50 inputs a
以下、制御手段50の各構成要素について説明する。 Hereinafter, each component of the control means 50 is demonstrated.
分周器51は、発振器60の出力する基準クロックである所定周期パルス信号を入力して、分周したパルス信号をインヒビットカウンタ52に出力する。分周器51の分周比は、インヒビット時間値Tiの値等に基づいて適宜設定されることが好ましい。この観点から、分周器51としては、プログラマブル分周器を用いることが好ましい。
The
インヒビットカウンタ52は、分周器51を介して発振器60が出力するパルス信号を入力してカウントし、同期信号Syの入力によりカウント値Ciがクリアされる。インヒビットカウンタ52は、カウント値Ciを更新制御信号生成手段53の一方の入力部に出力する。
The inhibit
インヒビットカウンタ52は、更新制御信号生成手段53が出力するインヒビット信号S1を入力している時(インヒビット信号SiがHの状態)のみパルス信号のカウントを行い、インヒビット信号S1を入力していない時(インヒビット信号SiがLの状態)にはカウントを停止して、その時のカウント値Ciを保持する。 The inhibit counter 52 counts the pulse signal only when the inhibit signal S1 output from the update control signal generation means 53 is input (when the inhibit signal Si is in the H state), and does not input the inhibit signal S1 ( When the inhibit signal Si is L), the count is stopped and the count value Ci at that time is held.
インヒビットカウンタ52は、同期式カウンタであることが好ましい。本実施例では、同期式のアップカウンタを用いている。パルス生成カウンタ10から出力される同期信号Syは、例えば、インヒビットカウンタ回路のクリア(CL)端子に入力することができる。また、更新制御信号生成手段53が出力するインヒビット信号S1は、インヒビットカウンタ回路のネガティブイネーブル(*EN)端子に入力することができる。
The inhibit
インヒビット時間値設定レジスタ54は、インヒビット時間値Tiを記憶しており、その設定されたインヒビット時間値Tiを更新制御信号生成手段53の他方の入力部に出力する。インヒビット時間値設定レジスタ54は、CPU55によって、インヒビット時間値Tiが設定される。
The inhibit time
インヒビット時間値Tiは、周期値Thよりも大きいことが好ましく、ユーザが、CPU55にパルス生成条件の更新を指示した後、更新完了までを待つことができる時間よりも小さいことが好ましい。即ち、同期信号Syの周波数が数MHz以上の場合には、インヒビット時間値Tiは、ユーザの感覚で見分けられないくらい十分に短い時間値であれば良い。
The inhibit time value Ti is preferably larger than the cycle value Th, and is preferably smaller than the time during which the user can wait until the update is completed after instructing the
更新制御信号生成手段53は、カウント値Ciがインヒビット時間値Tiよりも大きい場合にインヒビット信号S1を、更新信号発生手段40及び上記インヒビットカウンタ52に出力する。更新制御信号生成手段53は、例えばデジタルコンパレータを用いて構成することができる。
The update control signal generation means 53 outputs the inhibit signal S1 to the update signal generation means 40 and the inhibit
インヒビットカウンタ52が有するビット数は、分周器51の分周比と、パルス生成カウンタ10で発生可能な最大発生周期値との関係に基づいて決定されることが好ましい。例えば、パルス生成カウンタ10が最大周期値1000秒まで発生可能とする。また、分周器51の分周比を1000000とし、発振器60の発振周波数を100MHzとする。この場合、インヒビット時間値Tiを10と選べば、インヒビットカウンタ52は0.1秒までカウントアップすることになるので、このインヒビット時間値は、ユーザの感覚で見分けられないくらい十分に短い時間値となり、ユーザが、CPU55にパルス生成条件の更新を指示した後、更新完了までを待つことができる時間よりも十分に小さくなる。
The number of bits included in the inhibit
また、通常、同期信号Syの周期値Thは高々10−3秒であるので、0.1秒に対応するインヒビット時間値Tiは、同期信号Syの周期値よりも大きい。この場合、インヒビットカウンタ52は、長くても10-3秒の周期で同期信号Syを入力するので、0.1秒までカウントアップする前に、常にカウント値Ciがクリアされるため、更新制御信号生成手段53がインヒビット信号S1を出力することはない。
Usually, since the cycle value Th of the synchronization signal Sy is at most 10 −3 seconds, the inhibit time value Ti corresponding to 0.1 seconds is larger than the cycle value of the synchronization signal Sy. In this case, since the inhibit
CPU55は、制御手段50の各構成要素を制御する。また、CPU55は、ユーザ等の要求に応じて、更新コマンド信号S3を生成し、更新信号発生手段40に出力する。
The
また、本実施例のCPU55は、同期信号生成手段20及びパルス生成手段30を制御する。CPU55が、更新コマンド信号S3を出力する場合には、まず、パルス生成条件のパラメータを、同期信号生成手段20及びパルス生成手段30に出力した後、更新コマンド信号S3を生成し、更新信号発生手段40に出力する。
Further, the
また、制御手段50は、表示部56を有している。表示部56には、パルス生成条件のパラメータ等、制御手段50及びパルス発生装置100の処理状態が表示される。パルス生成条件のパラメータ等には、周期値Th、遅延時間値Tr、パルス幅Pw、前端タイミング値Tf,後端タイミング値Tbなどが含まれる。遅延時間値Tr及びパルス幅Pwは、前端タイミング値Tf又は後端タイミング値Tbを用いて設定することもできる。
Further, the control means 50 has a
本実施例では、ユーザが、CPUにパルス生成条件のパラメータ等の変更を指示した後、該パラメータ等の変更が完了するまでの間、表示部56には、パルス生成条件が更新中であることが表示される。
In this embodiment, after the user instructs the CPU to change the parameters of the pulse generation conditions, the pulse generation conditions are being updated on the
具体的には、CPU55は、更新コマンドS3を更新信号発生手段40に出力した後、更新信号発生手段40が更新履歴信号S4を発生してCPU55に出力している間は、表示部56にパルス生成条件が更新中であることを表示する。即ち、更新信号発生手段40からの更新履歴信号S4の入力がなくなった時点で、CPU55は、パルス生成条件の更新が完了したと判断する。または、更新信号発生回路40が出力する更新信号S2を割り込み信号としてCPU55に入力し、この割り込み信号を用いて、パルス生成条件の更新が完了をCPU55に認識させても良い。
Specifically, the
パルス生成条件が更新中であることを示す表示としては、パラメータの背景色を変えること、又は、アイコンを表示させること等が挙げられる。 Examples of the display indicating that the pulse generation condition is being updated include changing the background color of a parameter or displaying an icon.
次に、更新信号発生手段40について、更に以下に説明する。
更新信号発生手段40は、CPU55からの更新コマンド信号S3を入力した時、更新制御信号生成手段53からのインヒビット信号S1を入力していない場合には、次入力の同期信号Syが来るまで、更新信号S1の発生を保留して、次入力の同期信号Syに同期させて更新信号S2を発生する。
Next, the update signal generating means 40 will be further described below.
When the
更新信号発生手段40は、更新信号設定レジスタ(図示せず)を有しており、更新コマンドS3を入力すると、上記更新信号設定レジスタの設定をハイ(H)状態に設定する。そして、更新信号S2を発生した後に、上記更新信号設定レジスタの設定をロー(L)状態に変更する。つまり、更新信号発生手段40が更新信号S2を発生して、はじめて、CPU55が出力した更新コマンド信号S3の入力が更新信号発生手段40に許可される。
The update signal generating means 40 has an update signal setting register (not shown), and when the update command S3 is input, the setting of the update signal setting register is set to a high (H) state. Then, after generating the update signal S2, the setting of the update signal setting register is changed to a low (L) state. That is, the
また、更新信号発生手段40は、上記更新信号設定レジスタの設定がハイ(H)状態の場合に、更新履歴信号S4を発生しCPU55に出力する(更新履歴信号S4がHの状態)。更新信号発生手段40は、上記更新信号設定レジスタの設定をロー(L)状態の場合には、CPU55に更新履歴信号S4を出力しない(更新履歴信号S4がLの状態)。
Further, the update signal generation means 40 generates the update history signal S4 and outputs it to the
一方、更新信号発生手段40は、CPU55からの更新コマンド信号S3を入力した時、更新制御信号生成手段53からのインヒビット信号S1を入力している場合には、即座に更新信号S2を発生する。
On the other hand, when the update command signal S3 from the
このように、制御手段50の更新制御信号生成手段53は、更新コマンド信号S3の入力から次の同期信号Syの入力までに、インヒビットカウンタ52のカウント値Ciがインヒビット時間値Tiより大きい場合には、インヒビット信号S1を出力する。従って、インヒビット時間値Tiが出力されているときには、制御手段50は、更新信号発生手段40に更新コマンド信号S3の入力を許可して、即座に更新信号S2を発生させる。即ち、更新信号発生手段40は、次入力の同期信号Syを待つことはない。
As described above, the update control
次に、上述した本実施例のパルス発生装置100の動作の一例を、まず図3に示すタイミング図を参照して、以下に説明する。
Next, an example of the operation of the above-described
図3において、(a)は、同期信号Syを示し、(b)は、更新コマンド信号S3を示し、(c)は、更新履歴信号S4を示し、(d)は、インヒビットカウンタ52のカウント値Ciを示し、(e)は、インヒビット信号S1を示し、(f)は、更新信号S2を示している。また、(d)には、インヒビット時間値Tiも示している。
In FIG. 3, (a) shows the synchronization signal Sy, (b) shows the update command signal S3, (c) shows the update history signal S4, and (d) shows the count value of the inhibit
(1)同期信号Syの周期値Thがインヒビット時間値Tiよりも小さい場合
(d)の左側の部分では、同期信号Syの周期値Thがインヒビット時間値Tiよりも小さいので、インヒビットカウンタ52のカウント値Ciがインヒビット時間値Tiを越える前に、同期信号Syによりカウント値Ciがクリアされる。従って、(e)に示すように、インヒビット信号S1は出力されない。
(1) When the cycle value Th of the synchronization signal Sy is smaller than the inhibit time value Ti In the left part of (d), the cycle value Th of the synchronization signal Sy is smaller than the inhibit time value Ti. Before the value Ci exceeds the inhibit time value Ti, the count value Ci is cleared by the synchronization signal Sy. Therefore, as shown in (e), the inhibit signal S1 is not output.
ここで、(b)に示すように、時間t1において、CPU55が更新コマンド信号S3を出力すると、(c)に示すように、更新信号発生手段40は更新履歴信号S4を出力し、(f)に示すように、次入力の同期信号Syが来るまで、更新信号S2の発生を保留した後、時間t2において、次入力の同期信号Syに同期させて更新信号S2を発生する。そして、(c)に示すように、更新信号発生手段40は更新履歴信号S4の出力を停止する。また、(d)に示すように、インヒビットカウンタ52のカウント値Ciが、同期信号Syと同期して、クリアされる。
Here, as shown in (b), when the
(2)同期信号Syの周期値Thがインヒビット時間値Tiよりも大きい場合
(d)の右側の部分では、同期信号Syの周期値Thがインヒビット時間値Tiよりも大きいので、時間t4において、インヒビットカウンタ52のカウント値Ciがインヒビット時間値Tiを越えた後、インヒビットカウンタ52はパルス信号のカウントを停止して、その後カウント値Ciは一定の値に保持されている。そして、(e)に示すように、更新制御信号生成手段53は、時間t4において、インヒビット信号S1を出力する。
(2) When the cycle value Th of the synchronization signal Sy is greater than the inhibit time value Ti In the right part of (d), the cycle value Th of the synchronization signal Sy is greater than the inhibit time value Ti, so After the count value Ci of the
ここで、(b)に示すように、時間T4よりも過去の時間t3において、CPU55が更新コマンド信号S3を既に発生していたとすると、(c)に示すように、更新信号発生手段40は、更新履歴信号S4を出力した後、次入力の同期信号Syが来るか又はインヒビット信号S1が出力されるまで、(f)に示すように、更新信号S2の発生を保留している。
Here, as shown in (b), when the
そして、(e)に示すように、時間t4において、更新制御信号生成手段53が、インヒビット信号S1を出力すると、(f)に示すように、更新信号発生手段40は、同期信号Syを待つことなく即座に更新信号S2を発生する。そして、(c)に示すように、更新信号発生手段40は更新履歴信号S4の出力を停止する。一方、(d)に示すように、インヒビットカウンタ52のカウント値Ciは、その後一定の値が保持され続けて、次入力の同期信号Syと同期して、クリアされる。そして、(e)に示すように、更新制御信号生成手段53は、インヒビット信号S1の出力を停止する。
Then, as shown in (e), when the update control signal generating means 53 outputs the inhibit signal S1 at time t4, as shown in (f), the update signal generating means 40 waits for the synchronization signal Sy. Instead, the update signal S2 is generated immediately. Then, as shown in (c), the
また、(b)に示すように、時間t4より後の時間t5において、CPU55が更新コマンド信号S3を出力した場合にも、(c)に示すように、更新信号発生手段40は、更新履歴信号S4を出力すると共に、(f)に示すように、即座に更新信号S2を発生する。
As shown in (b), when the
次に、本実施例の動作の一例を、図4に示す状態遷移図を用いて、以下に説明する。
本実施例のパルス発生装置100は、以下の4つの状態を有する。
(1)「状態0(ゼロ)」:パルス生成カウンタ10がパルス信号のカウントを停止しており出力パルス信号Soを発生していない状態。
(2)「状態1」:出力パルス信号Soを発生中であるがパルス生成条件のパラメータを更新していない状態。
(3)「状態2」:出力パルス信号Soを発生中であり且つパルス生成条件のパラメータを更新中であるが、カウント値Ciがインヒビット時間値Tiを経過する前の状態。
(4)「状態3」:出力パルス信号Soを発生中であり且つカウント値Ciがインヒビット時間値Tiを経過した後の状態。
Next, an example of the operation of this embodiment will be described below with reference to the state transition diagram shown in FIG.
The
(1) “State 0 (zero)”: a state in which the
(2) “
(3) “
(4) “
(1)状態0(ゼロ)
パルス発生装置100は、外部からの指令信号Seが入力されていない(Se=L)ので、パルス生成カウンタ10は、カウントを停止して、出力パルス信号Soは発生しない。パルス発生装置100が、指令信号Seを入力する(Se=H)と、状態0から状態1に遷移する。
(1) State 0 (zero)
Since the
(2)状態1
パルス発生装置100は、状態0から状態1に遷移すると、パルス生成カウンタ10がカウントを開始して、出力パルス信号Soを発生する。状態1では、同期信号Syが発生しても、状態は遷移せずにインヒビットカウンタ52がクリアされるのみである。状態1では、パルス発生装置100は、CPU55が更新コマンド信号S3を発生すると、更新履歴信号S4を発生する(S4=H)と共に、状態1から状態2に遷移する。また、パルス発生装置100は、表示部56にパルス生成条件のパラメータを更新中である表示を示す。
(2)
When the
一方、状態1において、カウント値Ciがインヒビット時間値Tiを越えると、更新制御信号生成手段53がインヒビット信号S1を出力(S1=H)して、パルス発生装置100は、状態1から状態3に遷移する。
On the other hand, when the count value Ci exceeds the inhibit time value Ti in the
状態2では、パルス発生装置100は、同期信号Syが発生すると、更新信号発生手段40が更新信号S2を生成して、パルス生成条件のパラメータを更新する。パルス発生装置100は、パラメータの更新を完了した後、更新履歴信号S4の出力を停止(S4=L)すると共に、表示部56の更新中の表示を元に戻した後、状態2から状態1に遷移する。状態2では、CPU55が更新コマンド信号を繰り返し発生しても、パルス発生装置100の状態は遷移しない。
In
また、状態2において、パルス発生装置100は、同期信号Syが発生する前に、カウント値Ciがインヒビット時間値Tiを超えた場合には、以下の処理を行った後に、状態2から状態3に遷移する。パルス発生装置100は、カウント値Ciがインヒビット時間値Tiを超えた場合には、まず、インヒビット信号S1を発生する(S1=H)と共に更新信号S2を発生し、パルス生成条件のパラメータを更新した後、更新履歴信号S4の出力を停止(S4=L)すると共に、表示部56の更新中の表示を元に戻す。また、状態2において、パルス発生装置100は、同期信号Syとインヒビット信号S1とが同時に発生した場合には、更新信号S2を発生させ、パルス生成条件のパラメータを更新する。
In
状態3では、パルス発生装置100は、CPU55が更新コマンド信号S3を発生すると、状態の遷移を行うことなく、以下の処理を行う。パルス発生装置100は、CPU55が更新コマンド信号S3を発生すると、次入力の同期信号Syの発生を待つことなく、更新履歴信号S4を発生(S4=H)して、表示部56にパルス生成条件のパラメータを更新中である表示を行うと共に、更新信号S2を発生した後、パルス生成条件のパラメータを更新し、更新履歴信号S4の出力を停止(S4=L)すると共に、表示部56の更新中の表示を元に戻す。
In the
また、状態3では、パルス発生装置100は、同期信号Syが発生すると、インヒビットカウンタ52のカウント値Ciをクリアし、インヒビット信号S1の出力を停止する(S1=L)。また、パルス発生装置100は、同期信号Syの発生と、更新コマンド信号S3とが同時に発生した場合には、状態3から状態1に遷移すると同時に、更新信号S2を発生し、パルス生成条件のパラメータを更新する。
なお、パルス発生装置100は、状態3から状態2への遷移することはない。
In
Note that the
いずれの状態においても、パルス発生装置100は、装置外部からの指令信号Seの入力がなくなった場合(Se=L)には、出力パルス信号Soの発生を停止して、状態0に遷移する。ただし、状態2でパラメータを更新中の場合には、更新信号S2を発生すると共に、表示部56に更新中の表示を行う。また、状態3において、更新コマンド信号S3の発生と、指令信号SeのHからLへの変化が同時に生じた場合にも、状態3から状態0へ遷移するのと同時に、更新信号S2を発生すると共に、表示部56の更新中の表示を行う。
In any state, when the command signal Se from the outside of the device is no longer input (Se = L), the
次に、上記本実施例のパルス発生装置100の表示部56の動作について、図5及び図6を参照して、以下に説明する。ここでは、表示部56がCRTである場合について述べる。図5は、パルス発生装置100の表示部56の動作を説明するフローチャートである。図6は、パルス発生装置100の表示部56の表示を説明する図である。
Next, the operation of the
まず、図5のステップS101において、ユーザが、パルス生成条件のパラメータの変更を行うために、パルス発生装置100の操作入力部を操作して、前端タイミング値Tfを更新する操作を行う。
First, in step S101 in FIG. 5, the user operates the operation input unit of the
次に、ステップS102において、CPU55が変更コマンド信号S3を発生し更新信号発生手段40に出力する。更新信号発生手段40は、更新履歴信号S4を発生し、CPU55に出力する。
Next, in step S102, the
次に、ステップS103において、CPU55は、表示部56にパルス生成条件のパラメータを更新中である表示を行う。具体的には、CPU55は、表示部56に表示されているパルス生成条件のパラメータの背景色を変更するか、又は、アイコンを表示することができる。
Next, in step S <b> 103, the
次に、ステップS104において、CPU55は、更新信号発生手段40から更新履歴信号S4を入力しているのかを判断する。もし、更新信号発生手段40から更新履歴信号S4を入力していれば、S104の前に戻る。一方、更新信号発生手段40から更新履歴信号S4を入力していなければ、CPU55は、パルス生成条件のパラメータの更新が完了した判断して、ステップS105に進む。
Next, in step S104, the
次に、ステップS105において、CPU55は、表示部56の表示を元に戻す。
以上で、パルス発生装置100の表示部56が、パルス生成条件が変更中であることを示す動作が終了する。
Next, in step S105, the
This completes the operation of the
次に、図5のステップS103において、表示部56に表示される例を、図6を参照して以下に説明する。
Next, an example displayed on the
図6(a)は、パルス生成条件を変更する前の状態における表示部56の表示を示す。表示部56には、周期値Th、遅延時間値Tr及びパルス幅Pwが表示されている。
Fig.6 (a) shows the display of the
次に、図6(b)は、パルス生成条件を変更中の状態の表示部56の表示を示す。図5の例では、前端タイミング値Tfのみを変更しているので、遅延時間値Trが変更前の20.000msから60.000msに変更中であり、この遅延時間値の背景色が変更されていると共に、アイコン57が表示されている。
Next, FIG.6 (b) shows the display of the
次に、図6(c)は、パルス生成条件の変更が完了した状態の表示部56の表示を示す。遅延時間値Trが、変更前の20.000msから60.000msに更新されている。また、アイコンの表示が消えている。
Next, FIG.6 (c) shows the display of the
上述した本実施例のパルス発生装置300によれば、装置外部からの指令信号Seに基づいて出力パルス信号Soの発生及び停止を行う場合も、パルス生成条件の変更をシームレスに行うことができる。具体的には、同期信号Syの周期値Thがインヒビット時間値Tiよりも小さい場合には、変更コマンド信号S3の発生後の次入力の同期信号Syと同期してパルス生成条件が更新されるので、不要なパルスを生成しない。また、同期信号Syの周期値Thがインヒビット時間値Tiよりも大きい場合には、変更コマンド信号S3の発生と同時に、パルス生成条件が更新される。従って、比較的に長い周期値を設定している場合にも、パルス生成条件の更新が速やかに実行されるので、操作性に優れている。
According to the
また、パルス生成条件の更新中には、表示部56に更新中の表示がなされるので、ユーザは、パルス発生装置100がパルス生成条件の更新中である状態にあることが明確に認識できる。例えば、パルス発生装置100において、比較的長い周期値Thを扱うためにインヒビット時間値Tiを比較的長い時間に設定された状態で、ユーザが、パルス生成条件のパラメータを変更した場合には、変更が完了するまでに相当の時間を要するが、表示部56に更新中の表示がなされることで、ユーザは、更新の状態を把握することが可能となる。
In addition, during the update of the pulse generation condition, the
次に、本発明の実施形態に係る他の実施例を、図7を参照しながら以下に説明する。特に説明しない点については、上述の実施例に関して詳述した説明が適宜適用される。また、図7において、図1〜図6と同じ構成要素に同じ符号を付してある。 Next, another example according to the embodiment of the present invention will be described below with reference to FIG. For points that are not particularly described, the description in detail regarding the above-described embodiments is applied as appropriate. Moreover, in FIG. 7, the same code | symbol is attached | subjected to the same component as FIGS.
本実施例のパルス発生装置100は、図7に示すように、制御手段50が、更新信号S2´と強制更新信号S5の論理和を出力する論理手段70を有している。制御手段50は、周期値Thが設定されたインヒビット時間値Tiより小さい場合には、更新信号S2を次入力の同期信号Syに同期させて発生させ、周期値Thがインヒビット時間値Tiより大きい場合には、更新信号S2を強制更新信号S5に基づいてパルス生成条件を更新する。
In the
本実施例では、パルス生成カウンタ10への指令信号Siが、パルス発生装置100内部のCPU55から出力される。本実施例では、CPU55が、出力パルス信号Soの発生状態を把握しているので、CPU55のみで、同期信号Syと同期させてパルス生成条件を更新する更新コマンド信号S3を発生し、この更新コマンド信号S3を更新信号発生手段40に出力することができる。そのため、本実施例では、上述した実施例が有していた、インヒビットカウンタ、インヒビット時間値設定レジスタ、更新制御信号生成手段及び分周器を備えていない。即ち、制御手段50は、CPU55により構成される。
In this embodiment, a command signal Si to the
本実施例では、論理手段70を有している。論理手段70は、更新信号発生手段40が出力する更新信号S2´が一方の入力部に入力され、CPU55が出力する強制更新信号S5が他方の入力部に入力される。論理手段70は、更新信号S2´と強制更新信号S5との論理和の結果を更新信号S2として、同期信号生成手段20及びパルス生成手段30に出力する。
In this embodiment, a logic means 70 is provided. In the logic means 70, the update signal S2 ′ output from the update signal generating means 40 is input to one input section, and the forced update signal S5 output from the
CPU55は、周期値Thがインヒビット時間値Tiよりも小さい場合には、更新コマンド信号S3のみを発生する。この場合には、更新コマンド信号S3を入力した更新信号発生手段40は、更新信号S2´を次入力の同期信号syに同期させて発生し論理手段70に出力する。
When the period value Th is smaller than the inhibit time value Ti, the
一方、CPU55は、周期値Thがインヒビット時間値Tiよりも大きい場合には、強制更新信号S5を発生し論理手段70に出力する。
On the other hand, when the cycle value Th is larger than the inhibit time value Ti, the
従って、更新信号S2´又は強制更新信号S5を入力した論理手段70は、更新信号S2を即座に発生するので、パルス生成条件は速やかに更新される。 Therefore, the logic means 70 that has received the update signal S2 ′ or the forced update signal S5 immediately generates the update signal S2, so that the pulse generation conditions are updated quickly.
その他の構成は、上述した実施例と同様である。 Other configurations are the same as those in the above-described embodiment.
上述した本実施例のパルス発生装置100によれば、パルス生成カウンタ10への指令信号Siが、パルス発生装置100内部の制御手段50から出力されているので、制御手段50を簡易に構成できるため、製造コストが低減される。また、パルス生成条件の変更をシームレスに行うことができる。
According to the
本発明のパルス発生装置は、上述した実施形態又は実施例に制限されることなく、本発明の趣旨を逸脱しない限り適宜変更が可能である。 The pulse generator of the present invention is not limited to the above-described embodiments or examples, and can be appropriately changed without departing from the spirit of the present invention.
例えば、上述した実施形態又は実施例では、上記第1カウンタ手段は、アップカウンタであったが、ダウンカウンタであっても良い。この場合には、カウント値がゼロになった時に同期信号を生成して出力するようにすれば、上記同期信号生成コンパレータを設けずに上記同期信号生成手段を構成することも可能である。 For example, in the above-described embodiment or example, the first counter unit is an up counter, but may be a down counter. In this case, if the synchronization signal is generated and output when the count value becomes zero, the synchronization signal generation means can be configured without providing the synchronization signal generation comparator.
100 パルス発生装置
10 第1カウント手段(パルス生成カウンタ)
20 同期信号生成手段
21 第1の周期値設定レジスタ
22 第2の周期値設定レジスタ
23 同期信号生成コンパレータ
30 パルス生成手段
31 第1の前端タイミング値設定レジスタ
32 第2の前端タイミング値設定レジスタ
33 前端タイミング生成コンパレータ
34 第1の後端タイミング値設定レジスタ
35 第2の後端タイミング値設定レジスタ
36 後端タイミング生成コンパレータ
37 出力パルス生成手段
40 更新信号発生手段
50 制御手段
51 分周器
52 第2のカウント手段(インヒビットカウンタ)
53 更新制御信号生成手段
54 インヒビット時間値設定レジスタ
55 CPU
56 表示部
60 発振器
70 論理手段(OR論理回路)
200 負荷回路
Se 外部指令信号
Si 内部指令信号
Sy 同期信号
So 出力パルス信号
S1 インヒビット信号
S2 更新信号
S3 更新コマンド信号
S4 更新履歴信号
S5 強制更新コマンド信号
Cp 第1カウント手段(パルス生成カウンタ)のカウント値
Ci 第2のカウント手段(インヒビットカウンタ)のカウント値
Ti 更新制御時間値(インヒビット時間)値
Th 周期値
Tf 前端タイミング値
Tb 後端タイミング値
100
20 synchronization signal generating means 21 first period
53 Update control signal generation means 54 Inhibit time
56
200 Load circuit Se External command signal Si Internal command signal Sy Synchronization signal So Output pulse signal S1 Inhibit signal S2 Update signal S3 Update command signal S4 Update history signal S5 Forced update command signal Cp Count value of first count means (pulse generation counter) Ci Count value of second counting means (inhibit counter) Ti Update control time value (inhibit time) value Th Period value Tf Front end timing value Tb Rear end timing value
Claims (6)
前記第1カウント手段のカウント値と設定された周期値とに基づいて前記第1カウント手段をクリアし、前記第1カウント手段に該周期で同期信号を生成させる同期信号生成手段と、
前記周期毎に、前記カウント値と設定された前端及び後端タイミング値とに基づいて決められるパルス生成条件を有する出力パルス信号を生成するパルス生成手段と、
更新コマンド信号の入力に基づいて前記出力パルス信号の前記パルス生成条件を更新する更新信号を発生する更新信号発生手段と、
前記更新信号発生手段を制御する制御手段と、を備え、
前記制御手段は、前記所定周波数パルス信号をカウントし、前記同期信号の入力によりクリアされる第2カウント手段と、前記更新コマンド信号の入力から次の同期信号の入力までに、前記第2カウント手段のカウント値が前記更新制御時間値より大きい場合に、更新制御信号を出力する更新制御信号生成手段と、を有し、前記更新制御信号が出力されているとき、前記更新コマンド信号の入力を許可して、前記更新信号発生手段に前記更新信号を発生させることを特徴とするパルス発生装置。 First counting means for counting the number of pulses of the predetermined frequency pulse signal;
Synchronization signal generating means for clearing the first counting means based on the count value of the first counting means and the set cycle value, and causing the first counting means to generate a synchronization signal in the cycle;
Pulse generation means for generating an output pulse signal having a pulse generation condition determined based on the count value and the set front end and rear end timing values for each cycle;
Update signal generating means for generating an update signal for updating the pulse generation condition of the output pulse signal based on an input of an update command signal;
Control means for controlling the update signal generating means,
The control means counts the predetermined frequency pulse signal and is cleared by the input of the synchronization signal, and the second count means from the input of the update command signal to the input of the next synchronization signal Update control signal generation means for outputting an update control signal when the count value is greater than the update control time value, and permits the input of the update command signal when the update control signal is output Then, the update signal generating means causes the update signal to be generated .
前記所定周波数パルス信号をカウントし、前記同期信号の入力によりクリアされる第2カウント手段と、
前記更新コマンド信号の入力から次の同期信号の入力までに、前記第2カウント手段のカウント値が前記更新制御時間値より大きい場合に、更新制御信号を出力する更新制御信号生成手段と、を有し、
前記更新制御信号が出力されているとき、前記更新コマンド信号の入力を許可して、前記更新信号発生手段に前記更新信号を発生させることを特徴とする請求項1に記載のパルス発生装置。 The control means includes
A second counting means for counting the predetermined frequency pulse signal and being cleared by the input of the synchronization signal;
Update control signal generation means for outputting an update control signal when the count value of the second count means is greater than the update control time value between the input of the update command signal and the input of the next synchronization signal. And
2. The pulse generation device according to claim 1, wherein when the update control signal is output, the update command signal is allowed to be input and the update signal generation means generates the update signal.
前記周期値を記憶する第1の周期値設定手段と、前記前端タイミング値を記憶する第1の前端タイミング値設定手段と、前記後端タイミング値を記憶する第1の後端タイミング値設定手段と、
前記更新信号が入力されて、前記第1の周期値設定手段に記憶された周期値が記憶される第2の周期値設定手段と、前記第1の前端タイミング値設定手段に記憶された前端タイミング値が記憶される第2の前端タイミング値設定手段と、前記第1の後端タイミング値設定手段に記憶された後端タイミング値が記憶される第2の後端タイミング値設定手段と、を有しており、
前記第2の周期値設定手段に記憶された周期値と、第2の前端タイミング値設定手段に記憶された前端タイミング値と、第2の後端タイミング値設定手段に記憶された後端タイミング値とに基づいて決められるパルス生成条件を有する出力パルス信号を生成することを特徴とする請求項1から4の何れか一項に記載のパルス発生装置。 The pulse generation means includes
First period value setting means for storing the period value; first front end timing value setting means for storing the front end timing value; and first rear end timing value setting means for storing the rear end timing value; ,
Second period value setting means for receiving the update signal and storing the period value stored in the first period value setting means; and front end timing stored in the first front end timing value setting means Second front end timing value setting means for storing a value, and second rear end timing value setting means for storing a rear end timing value stored in the first rear end timing value setting means. And
The period value stored in the second period value setting means, the front end timing value stored in the second front end timing value setting means, and the rear end timing value stored in the second rear end timing value setting means pulse generator according to claim 1, any one of 4 and generates an output pulse signal having a pulse generation condition determined based on and.
前記更新履歴信号を発生している間は、パルス生成条件が更新中であることを表示する表示部を有していることを特徴とする請求項1から5の何れか一項に記載のパルス発生装置。 The update signal generation means generates an update history signal from the time when the update command signal is input until the pulse generation condition is updated,
Wherein while the update history signal occurs, the pulse according to any one of claims 1 5, characterized in that the pulse generating condition and a display unit for displaying that the updating Generator.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007254251A JP5235372B2 (en) | 2007-09-28 | 2007-09-28 | Pulse generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007254251A JP5235372B2 (en) | 2007-09-28 | 2007-09-28 | Pulse generator |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2009088841A JP2009088841A (en) | 2009-04-23 |
JP5235372B2 true JP5235372B2 (en) | 2013-07-10 |
Family
ID=40661696
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007254251A Active JP5235372B2 (en) | 2007-09-28 | 2007-09-28 | Pulse generator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5235372B2 (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0365328U (en) * | 1989-10-30 | 1991-06-25 | ||
JPH05276020A (en) * | 1992-03-30 | 1993-10-22 | Nec Ic Microcomput Syst Ltd | Timer counter |
JP2840905B2 (en) * | 1992-10-07 | 1998-12-24 | 三菱電機株式会社 | Counter circuit |
JP2842824B2 (en) * | 1996-01-30 | 1999-01-06 | 日本電気アイシーマイコンシステム株式会社 | PWM signal generator |
JP2912290B2 (en) * | 1997-03-25 | 1999-06-28 | 日本電気アイシーマイコンシステム株式会社 | PWM control circuit |
JP2007036310A (en) * | 2005-07-22 | 2007-02-08 | Calsonic Kansei Corp | Pulse output unit |
-
2007
- 2007-09-28 JP JP2007254251A patent/JP5235372B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2009088841A (en) | 2009-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5886015B2 (en) | Time measuring device, microcontroller, program, and time measuring method | |
JP2009005288A (en) | Clock generating circuit | |
JPH06112813A (en) | Clock generating circuit | |
JP5114218B2 (en) | Frequency correction circuit and clock device using the same | |
JPH11264857A (en) | Semiconductor testing device | |
JP5235372B2 (en) | Pulse generator | |
JP2006303863A (en) | Pulse signal generating device | |
JP3039781B1 (en) | Timer circuit | |
JP3970474B2 (en) | Clock signal generation circuit and clock frequency adjustment method thereof | |
JP5112792B2 (en) | Synchronous processing system and semiconductor integrated circuit | |
JP6623745B2 (en) | Control method of electronic circuit and oscillator | |
JP6500550B2 (en) | Timer correction device, timer correction method and timer correction program | |
KR101147361B1 (en) | RTC Control Circuit | |
US6760798B1 (en) | Interface mechanism and method for interfacing a real-time clock with a data processing circuit | |
JP4825415B2 (en) | Display driver generating charge pumping signals synchronized to different clocks for multiple mode | |
JPH1020052A (en) | Time correction method and device therefor | |
JPS6356565B2 (en) | ||
US20060153008A1 (en) | Control device and control method capable of external synchronization | |
JP4176720B2 (en) | Synchronization control device and synchronization control method | |
JP5056886B2 (en) | Clock signal generation device and electronic device | |
JP7456216B2 (en) | Drive control device, electronic clock, and motor drive signal output control method | |
JP5000420B2 (en) | PLL synthesizer circuit | |
JP2001244812A (en) | Method and device for clock switching | |
JP6421779B2 (en) | Signal generation apparatus and signal generation method | |
JP2000101347A (en) | Oscillation control circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A625 | Written request for application examination (by other person) |
Free format text: JAPANESE INTERMEDIATE CODE: A625 Effective date: 20100803 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121015 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121023 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20121119 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130226 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130326 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5235372 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160405 Year of fee payment: 3 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |