JPH0482412A - Pulse generator - Google Patents
Pulse generatorInfo
- Publication number
- JPH0482412A JPH0482412A JP2197401A JP19740190A JPH0482412A JP H0482412 A JPH0482412 A JP H0482412A JP 2197401 A JP2197401 A JP 2197401A JP 19740190 A JP19740190 A JP 19740190A JP H0482412 A JPH0482412 A JP H0482412A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- clock
- data
- duty
- 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.)
- Pending
Links
- 238000003079 width control Methods 0.000 claims abstract description 4
- 230000000630 rising effect Effects 0.000 claims description 7
- 101000798114 Homo sapiens Lactotransferrin Proteins 0.000 abstract description 2
- 102100032241 Lactotransferrin Human genes 0.000 abstract description 2
- 101100273567 Arabidopsis thaliana CYCL1-1 gene Proteins 0.000 abstract 1
- 101100412046 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) RCY1 gene Proteins 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 230000001276 controlling effect Effects 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Landscapes
- Pulse Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
し産業上の利用分野コ
本発明は、主として放電灯制御点灯回路を制御するパル
ス幅変調された出力パルス信号を得るためのパルス発生
装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates primarily to a pulse generator for obtaining a pulse width modulated output pulse signal for controlling a discharge lamp control lighting circuit.
[従来の技術]
従来、放電灯点灯回路を制御するパルス幅変調された出
力パルス信号を得るためのこの種のパルス発生装置は、
マイクロプロセッサを用いて形成され、プログラムによ
ってソフト的に形成される内部カウンタにより所定のオ
ン、オフデユーティ(所定の”H”区間、”L”区間)
の出力パルス信号を得るようにしていた。[Prior Art] Conventionally, this type of pulse generator for obtaining a pulse width modulated output pulse signal for controlling a discharge lamp lighting circuit has been used.
A predetermined on/off duty (predetermined "H" interval, "L" interval) is determined by an internal counter that is formed using a microprocessor and is software-based by a program.
I was trying to obtain an output pulse signal.
しかしながら、上述の従来例にあっては、マイクロプロ
セッサのマシンサイクルによってオン、オフデユーティ
の設定精度が規制され、−船釣にマシンサイクルは数μ
sec程度であるので、数μsec以下の精度でオン、
オフデユーティを設定することができないという問題が
あり、放電灯を高周波点灯する放電灯点灯装置の周波数
発生凹路として用いる場合に問題があった。However, in the above-mentioned conventional example, the setting accuracy of on and off duties is regulated by the machine cycle of the microprocessor.
sec, so it can be turned on with an accuracy of several μsec or less.
There is a problem in that an off-duty cannot be set, which causes a problem when the discharge lamp is used as a frequency generating concave path in a discharge lamp lighting device that lights a discharge lamp at a high frequency.
そこで、上述の問題を解決するために、クロック信号を
カウントするプリセッタブルなカウンタ回N(ロジック
回路)を用いてハード的にパルス幅変調された出力パル
ス信号を得るようにしたものが考えられる。しかしなが
ら、カウンタ回路を用いたものにあっても、″H″区間
、”L″区間設定精度はクロック信号の周波数によって
規定されるので、高い設定精度を実現するなめには、高
い周波数のクロック信号を用いる必要があり、クロック
信号の周波数を高くした場合には、高価な回路素子を使
用しなければならず、コストが高くなるという問題があ
った。Therefore, in order to solve the above-mentioned problem, it is conceivable to use a presettable counter N (logic circuit) that counts the clock signal to obtain an output pulse signal that is pulse width modulated using hardware. However, even with counter circuits, the accuracy of setting the "H" section and "L" section is determined by the frequency of the clock signal, so in order to achieve high setting accuracy, a high frequency clock signal is required. If the frequency of the clock signal is increased, expensive circuit elements must be used, resulting in an increase in cost.
また第3図に示すハーフクロック制御方法を用いた回路
が提案されている。Further, a circuit using the half clock control method shown in FIG. 3 has been proposed.
この従来例回路は 出力パルス信号の”H”区間設定デ
ータおよび”L”区間設定データをラッチするデータラ
ッチ回路1と、一定周期のクロック信号CLKをカウン
トし上記両区間設定データが交互にセットされるプリセ
ッタブルなカウンタ回路2と、上記カウンタ回路2から
のリップルキャリー信号RCYをトリガクロックとする
トグルフリップフロップ回路3とで構成され、両区間設
定データをそれぞれ独立に変化させるパルス幅制御手段
(口承せず)を設けることによりトグルフリップフロッ
プ回路3からパルス幅変調された出力パルス信号OUT
を得るようにしたものである。This conventional circuit includes a data latch circuit 1 that latches the "H" section setting data and "L" section setting data of the output pulse signal, and a data latch circuit 1 that counts a constant cycle clock signal CLK and sets the above two section setting data alternately. It consists of a presettable counter circuit 2 and a toggle flip-flop circuit 3 which uses the ripple carry signal RCY from the counter circuit 2 as a trigger clock. By providing a pulse width modulated output pulse signal OUT from the toggle flip-flop circuit 3
It was designed to obtain
パルス幅制御手段はマイクロプロセッサにて形成されて
おり、マイクロプロセッサから出力される“H“区間設
定データ、”L”区間設定データが上記データラッチ回
路1の入力端子IN、〜工N+2に入力され、タイミン
グ制御回路4から出力されるタイミング信号によってラ
ッチされるようになっている。The pulse width control means is formed by a microprocessor, and the "H" section setting data and "L" section setting data outputted from the microprocessor are input to the input terminals IN and N+2 of the data latch circuit 1. , is latched by a timing signal output from the timing control circuit 4.
ここにデータラッチ回路1はラッチ信号LATCHA、
LATCH,によって上記区間設定データをカウンタ回
路2のアリセットデータとして出力するようになってい
る。また、マイクロプロセッサからのハーフクロック制
御信号HLFも一旦ラッチして信号HALFとして出力
するようになっている。Here, the data latch circuit 1 receives latch signals LATCHA,
LATCH outputs the section setting data as reset data for the counter circuit 2. Further, the half clock control signal HLF from the microprocessor is also latched once and outputted as the signal HALF.
また、カウンタ回路2は4ビットのブリセ・yタプルカ
ウンタを3個用いて12ビットのカウンタ回路2が形成
され、カウンタ回路2のリップルキャリー信号RCYが
ハーフクロック制御回路5を介してトグルフリップフロ
ップ回路3にトリガクロック信号として入力されている
。このトグルフリップフロツブ回路3のフリップフロッ
プ出力は2個のインバータを介して出力パルス信号OU
Tとして出力され、同時に、所定のプリセットデータを
上記データラッチ回路1から読み出すための上記イネー
ブル信号ENA、EN、が出力されるようになっている
。Further, the counter circuit 2 uses three 4-bit Brise/y-tuple counters to form a 12-bit counter circuit 2, and the ripple carry signal RCY of the counter circuit 2 is sent to a toggle flip-flop circuit via a half-clock control circuit 5. 3 as a trigger clock signal. The flip-flop output of this toggle flip-flop circuit 3 is connected to an output pulse signal OU via two inverters.
At the same time, the enable signals ENA and EN for reading preset data from the data latch circuit 1 are output.
ここに、ハーフクロック制御回路5は、ハーフクロック
制御信号HALFが”H″のときに、リップルキャリー
信号RCY/)立ち上がり(トグルフリ117017回
路の反転タイミング)を半クロツクだけ右にシフトさせ
、クロック信号CLKの半クロックの精度(倍精度)で
”H′″区間、L”区間の設定を可能にしている。Here, when the half clock control signal HALF is "H", the half clock control circuit 5 shifts the rise of the ripple carry signal RCY/) (the inversion timing of the toggle free 117017 circuit) to the right by half a clock, and the clock signal CLK It is possible to set the "H'" section and the "L" section with half-clock precision (double precision).
また、タイミング制御回路4は、ラッチ信号LATCH
,LATCHA、LATCH,、LTCH、クリア信号
CLEAR,ロード信号LOAD、ラッチ信号L T
CH+を発生するもので、上記マイクロプロセッサから
出力されるタロツク信号CLK、スタート信号5TAR
T、区間データセット信号HLに基づいて所定のタイミ
ング信号を出力し、各回路の動作タイミングを制御する
ようになっている。Further, the timing control circuit 4 outputs a latch signal LATCH.
, LATCHA, LATCH, , LTCH, clear signal CLEAR, load signal LOAD, latch signal L T
It generates CH+, tarock signal CLK and start signal 5TAR output from the above microprocessor.
T, a predetermined timing signal is output based on the section data set signal HL to control the operation timing of each circuit.
この従来例の動作は以下の通りである。The operation of this conventional example is as follows.
―ず、上記マイクロプロセッサから出力されるスタート
信号5TARTが立ち上がると、システムリセットが行
われ、次に”H”区間設定データが確定すると、マイク
ロプロセッサから区間データ設定信号HLが立ち上がり
、ラッチ信号LATCHAが1パルス出力されてデータ
ラッチ回路1に”H”区間設定データがラッチされる0
次に、”L”区間設定データが確定すると、区間データ
設定信号HLの立ち下がりでラッチ信号LATCH−が
1パルス出力されて”L”区間設定データがデータラッ
チ回路1にラッチされる8次に、クリア信号CLEAR
が”L”になり、ラッチ信号LTCHが1パルス出力さ
れ、イネーブル信号ENkが“H”となっていると、”
H”区間設定データが読み出され、カウンタ回路2にプ
リセラt・データをセットするロード信号LOADが出
力されたとき、カウンタ回路2に”H”区間設定データ
がセットされる。この状態でカウンタ回路2によるクロ
ック信号CLKのカウントが開始され、カウンタ回路2
の出力Q1〜Q + 2が総て”H”になると、リップ
ルキャリー信号RCYが出力される。このリップルキャ
リー信号RCYによってイネーブル信号E N aがs
′H”になり、同時に出力パルス信号0UTt、” H
”になる、すると、“L”区間設定データがカウンタ回
路2にプリセットされ、第4図(a)に示すクロック信
号CLKのカウントが開始され、リップルキャリー信号
RCYが得られると、出力パルス信号が”L”になると
ともにイネーブル信号ENAが”H”になり、上述の動
作を繰り返すようになっている。-First, when the start signal 5TART output from the microprocessor rises, a system reset is performed.Next, when the "H" section setting data is determined, the section data setting signal HL rises from the microprocessor, and the latch signal LATCHA is set. 1 pulse is output and "H" section setting data is latched into data latch circuit 1.0
Next, when the "L" section setting data is determined, one pulse of the latch signal LATCH- is output at the falling edge of the section data setting signal HL, and the "L" section setting data is latched into the data latch circuit 1. , clear signal CLEAR
becomes “L”, the latch signal LTCH is outputted as one pulse, and the enable signal ENk is “H”, “
When the H" section setting data is read out and the load signal LOAD for setting the precert data to the counter circuit 2 is output, the "H" section setting data is set to the counter circuit 2. In this state, the counter circuit 2 starts counting the clock signal CLK, and the counter circuit 2 starts counting the clock signal CLK.
When all of the outputs Q1 to Q+2 become "H", a ripple carry signal RCY is output. This ripple carry signal RCY causes the enable signal E N a to
``H'', and at the same time the output pulse signal 0UTt, ``H''
", then the "L" interval setting data is preset in the counter circuit 2, and counting of the clock signal CLK shown in FIG. 4(a) is started. When the ripple carry signal RCY is obtained, the output pulse signal is At the same time that the enable signal ENA becomes "L", the enable signal ENA becomes "H", and the above-described operation is repeated.
したがって、両区間設定データに基づいて出力パルス信
号OUTの”H”区間および”L”区間が任意に(12
ビットの範囲で)設定でき、オン、オフデユーティを設
定できるようになっている。Therefore, the "H" section and "L" section of the output pulse signal OUT can be set arbitrarily (12
(within a range of bits), and the on/off duty can be set.
次に上記マイクロコンピュータから出力されるハーフク
ロック制御信号HLF(すなわち、データラッチ回路1
から出力される信号HALF)が”L”の場合には、リ
ップルキャリー信号RCYはそのままトグルフリップフ
ロツブ回路3のトリガクロックとなり、リップルキャリ
ー信号RCYの立ち上がりに同期して出力パルス信号O
UTの反転が行われる。一方、ハーフクロック制御信号
HLFが”H”になると、第4図(b)に示すようにリ
ップルキャリー信号RCYの立ち上がりが半クロックだ
け右にシフトし、このシフトされたリップルキャリー信
号RCYがトグルフリップフロツブ回路3のトリガクロ
ックとなって出力パルス信号OUTの反転動作が行われ
る。従ってハーフクロック制御信号HLFが”H”の場
合、”H”区間あるいは”L”区間を、区間設定データ
にて設定される場合に比べてクロック信号CLKの半り
ロック分だけ第4図(c)に示すように広くでき、クロ
ック信号CLKの周波数を高くすることなく、”H”区
間および”L”区間の設定精度を倍にすることができ、
安い回路素子を用いることができるので、コストを安く
できるようになっている。また、ハーフクロック制御信
号HLFを区間データ設定信号HLと同期させることに
より、自動でハーフクロック制御を行うことができると
いう特徴がある。Next, the half clock control signal HLF (that is, the data latch circuit 1
When the signal HALF) output from the ripple carry signal RCY is "L", the ripple carry signal RCY becomes the trigger clock of the toggle flip-flop circuit 3, and the output pulse signal O is synchronized with the rise of the ripple carry signal RCY.
An inversion of the UT is performed. On the other hand, when the half clock control signal HLF becomes "H", the rising edge of the ripple carry signal RCY is shifted to the right by half a clock, as shown in FIG. 4(b), and this shifted ripple carry signal RCY is toggled. This serves as a trigger clock for the float circuit 3 and performs an inversion operation of the output pulse signal OUT. Therefore, when the half clock control signal HLF is "H", the "H" interval or the "L" interval is set by half the clock signal CLK compared to the case where the interval setting data is set, as shown in Fig. 4 (c). ), the setting accuracy of the "H" section and "L" section can be doubled without increasing the frequency of the clock signal CLK.
Since inexpensive circuit elements can be used, costs can be reduced. Another feature is that by synchronizing the half clock control signal HLF with the section data setting signal HL, half clock control can be performed automatically.
[発明が解決しようとする課題]
ところが第3図従来例では周期を一定にすると、オンデ
ユティを半クロックずらした場合、オフデユティが半ク
ロックずれるという状態になり、もしオフデユティを一
定としたい条件があると、オフデユティがふらつくとい
・つな欠点があった。[Problems to be Solved by the Invention] However, in the conventional example shown in FIG. 3, if the cycle is constant, if the on-duty is shifted by half a clock, the off-duty will be shifted by half a clock.If there is a condition where the off-duty is desired to be constant, However, there was a major drawback in that the off-duty was erratic.
本発明は上述の問題点に鑑みて為されたもので、その目
的とするところはオン、オフデユーティの倍の設定精度
を実現でき、コストを安くすることができるパルス発生
装置を提供することにある。The present invention has been made in view of the above-mentioned problems, and its purpose is to provide a pulse generator that can achieve double the setting accuracy of on and off duty and reduce cost. .
[課題を解決するための手段]
本発明のパルス発生装置は、出力パルス信号の”H”区
間設定データおよび”L”区間設定データをラッチする
データラッチ回路と、一定周期のクロック信号をカウン
トし上記両区間設定データが交互にセットされるプリセ
ッタブルなカウンタ回路と、上記カウンタ回路からのリ
ップルキャリー信号をトリガクロック信号とするトグル
フリップフロップ回路とで構成され、両区間設定データ
をそれぞれ独立に変化させるパルス幅制御手段を設ける
ことにより、上記トグルフリップフロップ回路からパル
ス幅変調された出力パルス信号を得るようにしたパルス
発生装置であって、2ビットのハーフクロック制御信号
の組み合わせにてリップルキャリー信号の立ち上がりを
半クロックだけ適宜シフトさせてトリガクロック信号を
形成するハーフクロック制御回路を設けたものである。[Means for Solving the Problems] The pulse generator of the present invention includes a data latch circuit that latches "H" section setting data and "L" section setting data of an output pulse signal, and a data latch circuit that counts a clock signal of a constant period. Consists of a presettable counter circuit in which the above two interval setting data are set alternately, and a toggle flip-flop circuit which uses the ripple carry signal from the above counter circuit as a trigger clock signal, and changes both interval setting data independently. The pulse generator is configured to obtain a pulse width modulated output pulse signal from the toggle flip-flop circuit by providing a pulse width control means for controlling the ripple carry signal by a combination of 2-bit half clock control signals. A half clock control circuit is provided which appropriately shifts the rising edge of the clock by half a clock to form a trigger clock signal.
[作 用]
本発明は上述のように構成されており、マイクロプロセ
ッサの内部カウンタを用いて”H”区間および”L”区
間を設定していた場合にようにマイクロプロセッサのマ
シンサイクルにてオン、オフデユーティの設定精度が規
制されることがなく、マシンサイクルに関係なく”H”
区間および”L”区間を任意に設定することができ、オ
ン、オフデユーティの設定精度を高くすることができる
ようになっている。また、2ビットのハーフクロック制
御信号の組み合わせにてリップルキャリー信号の立ち上
がりを半クロックだけ適宜シフトさせてトリガクロック
信号を形成するハーフクロック制御回路を設けているの
で、2ビットのハーフクロック制御信号の組み合わせに
より4種類のパルス幅変調された出力波形が得られ、オ
ンデユーテイ、オフデユティを夫々独立してハーフクロ
・ツク制御ができる。[Function] The present invention is configured as described above, and unlike the case where the "H" interval and the "L" interval are set using the internal counter of the microprocessor, it is possible to turn on the machine cycle of the microprocessor. , the off-duty setting accuracy is not restricted and is set to “H” regardless of the machine cycle.
The section and the "L" section can be set arbitrarily, making it possible to increase the accuracy of setting the on and off duties. In addition, a half-clock control circuit is provided that appropriately shifts the rising edge of the ripple carry signal by half a clock to form a trigger clock signal in combination with the 2-bit half-clock control signal. By combining, four types of pulse width modulated output waveforms can be obtained, and half clock control of on-duty and off-duty can be performed independently.
[実施例]
第1区は本発明の実施例の具体回路を示しており、この
実施例ではデータラッチ回路1は8ビットの”H”区間
設定データおよび”L”区間設定データをラッチすると
ともにマイクロコンピュータから出力されるハーフクロ
ック制御信号HLF、HLF2をラッチするようになっ
ており、このラッチしたハーフクロック制御信号HLF
、、HL F yに対応して信号HALF、、HALF
、がデータラッチ回路1からハーフクロック制御回路5
へ出力するようになっている。ハーフクロック制御回路
5はカウンタ回路2のリップルキャリー信号RCY、を
上記の信号HALF1.HALF2の組み合わせで、半
クロックだけシフトさせ、クロック信号CLKの半りッ
ロクの精度で“H”区間、“L”区間を夫々独立して制
御することができるようになっている点で従来例回路と
異なっており、タイミング制御回路4、データラッチ回
路1及びカウンタ回路2の動作は基本的に従来例と同様
である。[Embodiment] The first section shows a specific circuit of an embodiment of the present invention. In this embodiment, the data latch circuit 1 latches 8-bit "H" section setting data and "L" section setting data, and The half clock control signals HLF and HLF2 output from the microcomputer are latched, and the latched half clock control signals HLF
,,corresponding to HL F y, the signal HALF,,HALF
, from the data latch circuit 1 to the half clock control circuit 5
It is designed to output to. The half clock control circuit 5 converts the ripple carry signal RCY of the counter circuit 2 into the above-mentioned signal HALF1. By combining HALF2, it is possible to shift by half a clock and independently control the "H" period and "L" period with half a clock accuracy of the clock signal CLK, which is different from the conventional circuit. However, the operations of the timing control circuit 4, data latch circuit 1, and counter circuit 2 are basically the same as in the conventional example.
次に本発明の要部であるハーフクロック制御信号の動作
を説明する、いま、マイクロコンピュータから出力され
るハーフクロック制御信号HLF、HLF、(すなわち
、データラッチ回路1から出力される信号HA L F
+ 、 HA L F 2 )力じL”の場合には、
カウンタ回路2のリップルキャリー信号RCY、はその
ままトグルフリップフロツブ回路3のトリガクロックと
なるリップルキャリー信号RCYとなって、このリップ
ルキャリー信号RCYの立ち上がりに同期して出力パル
ス信号OUTの反転が行われる。Next, the operation of the half clock control signal, which is the main part of the present invention, will be explained.
+, HA L F 2) In the case of force L”,
The ripple carry signal RCY of the counter circuit 2 directly becomes the ripple carry signal RCY which becomes the trigger clock of the toggle flip-flop circuit 3, and the output pulse signal OUT is inverted in synchronization with the rise of this ripple carry signal RCY. .
この場合第2図(a)に示すクロック信号CLKに対し
て例えば5個分のパルス幅を持つオンデユティ、オフデ
ユティの出力パルス信号OUTが第2図(b)に示すリ
ップルキャリー信号RCY (RCY、)に同期して第
2図(c)のように出力される。 一方、ハーフクロッ
ク制御信号HLFHLF2が”L”、“H”になると、
つまり信号HALF、、HALF2が”L”、“H″に
なると、オンデユーテイの幅をクロック信号CLKの5
.5個分、オフデユーティの幅を上記と同様に5個分と
するように、オンデユーテイの立ち下がりに対応するリ
ップルキャリー信号RCYを第2図(d)に示すように
半クロックだけ右にシフトさせてトグルフリップフロッ
プ回路3のトリガクロックとしている。In this case, the on-duty and off-duty output pulse signal OUT having a pulse width of, for example, five pulses with respect to the clock signal CLK shown in FIG. 2(a) is the ripple carry signal RCY (RCY,) shown in FIG. 2(b). It is output as shown in FIG. 2(c) in synchronization with . On the other hand, when the half clock control signal HLFHLF2 becomes "L" or "H",
In other words, when the signals HALF, HALF2 become "L" or "H", the on-duty width is set to 5 of the clock signal CLK.
.. The ripple carry signal RCY corresponding to the falling edge of the on-duty is shifted to the right by half a clock as shown in FIG. This is used as a trigger clock for the toggle flip-flop circuit 3.
したがって、第2図(e)に示すように“H”区間がク
ロック信号CLKの5.5個の幅となって、“H”区間
設定データにて設定される場合に比べてクロック信号C
LKの半クロツク分だけ広くでき、クロック信号CLK
の周波数を高くすることなく、”H”区間および”L”
区間の設定精度を倍にすることができる。Therefore, as shown in FIG. 2(e), the width of the "H" section becomes 5.5 times of the clock signal CLK, and the width of the clock signal
The clock signal CLK can be widened by half a clock of LK.
"H" section and "L" without increasing the frequency of
The accuracy of interval setting can be doubled.
またハーフクロック制御信号HLF、、HLF。Also, half clock control signals HLF, , HLF.
が”H”、“L”になると、つまり信号HALFHAL
F2が”H”、“L“になると、オンデユーテイの幅を
クロック信号CLKの5個分、オフデユーティの幅を上
記と同様に5,5個分とするように、オンデユーテイの
立ち上がりに対応するリップルキャリー信号RCYを第
2図(f>に示すように半クロックだけ右にシフトさせ
てトグルフリップフロップ回路3のトリガクロックとし
ている。When becomes “H” or “L”, that is, the signal HALFHAL
When F2 becomes "H" or "L", the ripple carry corresponding to the rising edge of the on-duty is set so that the width of the on-duty is 5 times of the clock signal CLK and the width of the off-duty is 5.5 times as above. The signal RCY is shifted to the right by half a clock as shown in FIG.
従って、第2図(g)に示すように“L”区間がクロッ
ク信号CLKの5.5個の幅となって、“L”区間設定
データにて設定される場合に比べてクロック信号CLK
の半りロック分だけ広くできる。Therefore, as shown in FIG. 2(g), the "L" section has a width of 5.5 times of the clock signal CLK, and the clock signal CLK
It can be made wider by half a lock.
また更にハーフクロック制御信号HLF、、HL F
2が”H”、“H”になると、つまり信号HALF、、
HALF2が”H”、”H”になると、オンデユーテイ
の幅及びオフデユーティの幅を共に5゜5個分とするよ
うに、オンデユーテイの立ち下がり及びオフデユーティ
の立ち上がりに対応するリップルキャリー信号RCYを
第2図(h)に示すように半クロックだけ右にシフトさ
せてトグル79117071回路3のトリガクロックと
している。Furthermore, half clock control signals HLF, HL F
2 becomes “H”, “H”, that is, the signal HALF,
When HALF2 becomes "H", "H", the ripple carry signal RCY corresponding to the falling edge of the on-duty and the rising edge of the off-duty is set so that the width of the on-duty and the width of the off-duty are both 5 degrees. As shown in (h), it is shifted to the right by half a clock and is used as the trigger clock for the toggle 79117071 circuit 3.
従って、第2図(i)に示すように“L”及びH”区間
がクロック信号CLKの5.5個の幅となって、“L”
及び“H″区間設定データにて設定される場合に比べて
クロック信号CLKの半りロック分だけ広くできる。Therefore, as shown in FIG. 2(i), the "L" and H sections have a width of 5.5 times of the clock signal CLK, and the "L"
And compared to the case where it is set by "H" section setting data, it can be made wider by half a lock of the clock signal CLK.
C発明の効果]
本発明は上述のように構成されており、 本発明は上述
のように構成されており、マイクロプロセッサの内部カ
ウンタを用いて”H”区間および”L”区間を設定して
いた場合にようにマイクロプロセッサのマシンサイクル
にてオン、オフデユーティの設定精度が規制されること
がなく、マシンサイクルに関係なく”H″区問よび”L
”区間を任意に設定することができ、オン、オフデユー
ティの設定精度を高くすることができ、また2ビットの
ハーフクロック制御信号の組み合わせにてリップルキャ
リー信号の立ち上がりを半クロックだけ適宜シフトさせ
てトリガクロック信号を形成するハーフクロック制御回
路を設けているので、2ビットのハーフクロック制御信
号の組み合わせにより4種類のパルス幅変調された出力
波形が得られ、オンデユーテイ、オフデーユティを夫々
独立してハーフクロック制御ができ、その結果従来のよ
うなふらつきが生じることがなく細かなりロック制御が
行え、しかも従来の半分の基本クロックを用いることが
可能であるという効果がある。C Effects of the Invention] The present invention is configured as described above. The setting accuracy of on and off duty is not restricted by the microprocessor's machine cycle, as in the case of
”The interval can be set arbitrarily, the on/off duty can be set with high accuracy, and the rising edge of the ripple carry signal can be appropriately shifted by half a clock using a combination of 2-bit half clock control signals to trigger the trigger. Since a half-clock control circuit is provided to form the clock signal, four types of pulse width modulated output waveforms can be obtained by combining the 2-bit half-clock control signals, and the on-duty and off-duty can be independently controlled by the half clock. As a result, it is possible to perform fine lock control without causing fluctuations as in the conventional method, and moreover, it is possible to use half the basic clock as in the conventional method.
第1図は本発明一実施例の回路図、第2図は同上の動作
説明図、第3図は従来例の回路図、第4図は同上の動作
説明図である。
1はデータラッチ回路、2はカウンタ回路、3はトグル
フリップフロップ回路、4はタイミング制御回路、5は
ハーフクロック制御回路である。
代理人 弁理士 石 1)長 七FIG. 1 is a circuit diagram of an embodiment of the present invention, FIG. 2 is an explanatory diagram of the same operation, FIG. 3 is a circuit diagram of a conventional example, and FIG. 4 is an explanatory diagram of the same operation. 1 is a data latch circuit, 2 is a counter circuit, 3 is a toggle flip-flop circuit, 4 is a timing control circuit, and 5 is a half clock control circuit. Agent Patent Attorney Ishi 1) Choshichi
Claims (1)
L”区間設定データをラッチするデータラッチ回路と、
一定周期のクロックをカウントし上記両区間設定データ
が交互にセットされるプリセッタブルなカウンタ回路と
、上記カウンタ回路からのリップルキャリー信号をトリ
ガクロックとするトグルフリップフロップ回路とで構成
され、両区間設定データをそれぞれ独立に変化させるパ
ルス幅制御手段を設けることにより、上記トグルフリッ
プフロップ回路からパルス幅変調された出力パルス信号
を得るようにしたパルス発生装置であつて、2ビットの
ハーフクロック制御信号の組み合わせにてリップルキャ
リー信号の立ち上がりを半クロックだけ適宜シフトさせ
、トリガクロック信号を形成するハーフクロック制御回
路を設けたことを特徴とするパルス発生装置。(1) "H" section setting data of output pulse signal and "
a data latch circuit that latches L” section setting data;
It consists of a presettable counter circuit that counts a constant cycle clock and sets the data for setting both the above sections alternately, and a toggle flip-flop circuit that uses the ripple carry signal from the counter circuit as a trigger clock. The pulse generator is configured to obtain a pulse width modulated output pulse signal from the toggle flip-flop circuit by providing a pulse width control means for independently varying the data, and the pulse generator is configured to provide a pulse width modulated output pulse signal from the toggle flip-flop circuit. A pulse generator comprising a half clock control circuit that appropriately shifts the rising edge of a ripple carry signal by half a clock in combination to form a trigger clock signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2197401A JPH0482412A (en) | 1990-07-25 | 1990-07-25 | Pulse generator |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2197401A JPH0482412A (en) | 1990-07-25 | 1990-07-25 | Pulse generator |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0482412A true JPH0482412A (en) | 1992-03-16 |
Family
ID=16373902
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2197401A Pending JPH0482412A (en) | 1990-07-25 | 1990-07-25 | Pulse generator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0482412A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62289012A (en) * | 1986-06-07 | 1987-12-15 | Nec Home Electronics Ltd | Duty control pulse generating circuit |
| JPS63153911A (en) * | 1986-12-17 | 1988-06-27 | Nec Corp | Pulse output device |
| JPS63227114A (en) * | 1987-03-16 | 1988-09-21 | Nec Corp | Integrated circuit |
-
1990
- 1990-07-25 JP JP2197401A patent/JPH0482412A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62289012A (en) * | 1986-06-07 | 1987-12-15 | Nec Home Electronics Ltd | Duty control pulse generating circuit |
| JPS63153911A (en) * | 1986-12-17 | 1988-06-27 | Nec Corp | Pulse output device |
| JPS63227114A (en) * | 1987-03-16 | 1988-09-21 | Nec Corp | Integrated circuit |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR940005006B1 (en) | Frequency division circuits where the division ratio can be changed | |
| JPS62245814A (en) | Pulse circuit | |
| JPH0482412A (en) | Pulse generator | |
| JPH10276083A (en) | Even-numbered and odd-numbered frequency division circuit | |
| US4558457A (en) | Counter circuit having improved output response | |
| JP2556918Y2 (en) | Waveform control circuit of IC test equipment | |
| JPH0346816A (en) | Pulse generator | |
| JPH02250674A (en) | On delay circuit for inverter | |
| JP2998899B2 (en) | Pulse generator | |
| JP2530874Y2 (en) | Startable oscillator circuit | |
| JPS6233394Y2 (en) | ||
| JPH07118395B2 (en) | Discharge lamp lighting control device | |
| JPH10261953A (en) | Odd number frequency division clock generating circuit | |
| JPH04133514A (en) | Pulse generator | |
| JPH0677228B2 (en) | Clock signal generation circuit | |
| JPS6024432B2 (en) | Electronic clock frequency adjustment device | |
| JPH05137395A (en) | Motor drive circuit | |
| JPS6359017A (en) | Pulse generating circuit | |
| JPS61141568A (en) | Synchronous oscillating circuit | |
| JPH06125247A (en) | Input pulse control circuit | |
| JPH03121612A (en) | Input pulse control circuit | |
| JPS6379421A (en) | Odd number frequency divider | |
| JPS6166571A (en) | Thyristor/inverter gate pulse control device | |
| JPS6361963A (en) | Delay time measuring circuit | |
| JPH06109813A (en) | Timing generator |