JPH0346816A - Pulse generator - Google Patents

Pulse generator

Info

Publication number
JPH0346816A
JPH0346816A JP18280189A JP18280189A JPH0346816A JP H0346816 A JPH0346816 A JP H0346816A JP 18280189 A JP18280189 A JP 18280189A JP 18280189 A JP18280189 A JP 18280189A JP H0346816 A JPH0346816 A JP H0346816A
Authority
JP
Japan
Prior art keywords
signal
circuit
clock
section
setting data
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
JP18280189A
Other languages
Japanese (ja)
Other versions
JP2998898B2 (en
Inventor
Hisaharu Ito
久治 伊藤
Minoru Kuroda
稔 黒田
Akira Yabuta
藪田 明
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 Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP1182801A priority Critical patent/JP2998898B2/en
Publication of JPH0346816A publication Critical patent/JPH0346816A/en
Application granted granted Critical
Publication of JP2998898B2 publication Critical patent/JP2998898B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Inverter Devices (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To realize a double setting precision and to reduce the cost by providing a half clock control circuit which properly shifts the rise of a ripple carry signal by a half clock with a half clock control signal to generate a trigger clock signal. CONSTITUTION:When a half clock control signal HALF is in the high level, a half clock control circuit 6 shifts to right the rise of a ripple carry signal RCY by a half clock. Therefore, the high level section and the low level section can be controlled by the precision of the half clock of a clock signal CLK, namely, the double precision. For example, the high level or low level section is widened by an extent corresponding to the half clock of the clock signal CLK in comparison with that set by section setting data when the half clock control signal HLF is in the high level. Thus, the setting precision of the high level or low level section is raised twice without raising the frequency of the clock signal CLN, and the cost is reduced because this device is formed with inexpensive circuit elements.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、放電灯点灯回路を制御するパルス幅変調され
た出力パルス信号を得るためのパルス発生装置に関する
ーものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a pulse generator for obtaining a pulse width modulated output pulse signal for controlling a discharge lamp 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.

[発明が解決しようとする課題] しかしながら、上述の従来例にあっては、マイクロプロ
セッサのマシンサイクルによってオン、オフデユーティ
の設定精度が規制され、−膜内にマシンサイクルは数μ
5c7c程度であるので、数μsec以下の精度でオン
、オフデユーティを設定することができないという問題
があり、放電灯を高周波点灯する放電灯点灯回路のスイ
ッチング制御用のパルス発生装置として用いる場合に問
題があった。
[Problems to be Solved by the Invention] However, in the above-mentioned conventional example, the setting accuracy of on and off duties is regulated by the machine cycle of the microprocessor, and - the machine cycle within the membrane is several μ.
Since it is about 5c7c, there is a problem that it is not possible to set the on/off duty with an accuracy of several microseconds or less, which causes a problem when used as a pulse generator for switching control of a discharge lamp lighting circuit that lights a discharge lamp at high frequency. there were.

そこで、上述の問題を解決するために、クロック信号を
カウントするプリセッタブルなカウンタ回路(ロジック
回路)を用いてハード的にパルス幅変調された出力パル
ス信号を得るようにしたものが考えられる。しかしなが
ら、カウンタ回路を用いたものにあっても、”H”区間
、”L”区間の設定精度はタロツク信号の周波数によっ
て規定されるので、高い設定精度を実現するためには、
高い周波数のクロック信号を用いる必要があり、クロッ
ク信号の周波数を高くした場合には、高価な回路素子を
使用しなければならず、コストが高くなるという問題が
あった。
Therefore, in order to solve the above-mentioned problem, it is possible to obtain an output pulse signal that is pulse width modulated using hardware using a presettable counter circuit (logic circuit) that counts the clock signal. However, even if a counter circuit is used, the setting accuracy of the "H" section and "L" section is determined by the frequency of the tarok signal, so in order to achieve high setting accuracy,
It is necessary to use a clock signal with a high frequency, and when the frequency of the clock signal is increased, expensive circuit elements must be used, resulting in an increase in cost.

本発明は上記の点に鑑みて為されたものであり、その目
的とするところは、オン、オフデユーティの設定精度を
高くすることができ、しかもクロック信号の周波数を高
くすることなく、倍の設定精度を実現でき、コストを安
くすることができるパルス発生装置を提供することにあ
る。
The present invention has been made in view of the above points, and its purpose is to be able to increase the accuracy of setting the on and off duty, and to double the setting without increasing the frequency of the clock signal. An object of the present invention is to provide a pulse generator that can achieve high accuracy and reduce costs.

[課題を解決するための手段] 本発明のパルス発生装置は、出力パルス信号の”H”区
間設定データおよび” L”区間設定データをラッチす
るデータラッチ回路と、一定周期のクロック信号をカウ
ントし上記両区間設定データが交互にセットされるプリ
セッタブルなカウンタ回路と、上記カウンタ回路からの
リップルキャリー信号をトリガクロック信号とするトグ
ルフリップフロップ回路とで構成され、両区間設定デー
タをそれぞれ独立に変化させるパルス幅制御手段を設け
ることにより、上記トグルフリップフロップ回路からパ
ルス幅変調された出力パルス信号を得るようにしたパル
ス発生装置であって、ハーフクロック制御信号にてリッ
プルキャリー信号の立ち上がりを半クロックだけ適宜シ
フトさせてトリガクロック信号を形成するハーフクロッ
ク制御回路を設けたものである。
[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 to control the rising edge of the ripple carry signal by half a clock using a half clock control signal. A half clock control circuit is provided to form a trigger clock signal by appropriately shifting the trigger clock signal.

[作 用] 本発明は上述のように構成されており、出力パルス信号
の”H”区間設定データおよび”L″′区間設定データ
をデータラッチ回路にラッチし、−定周期のクロック信
号をカウントし上記両区間設定データが交互にセットさ
れるプリセッタブルなカウンタ回路からのリップルキャ
リー信号をトグルフリップフロップ回路のトリガクロッ
ク信号とし、上記トグルフリップフロップ回路からパル
ス幅変調された出力パルス信号を得るようにしたので、
マイクロプロセッサの内部カウンタを用いて”H”区間
および”L″区間設定していた従来例のようにマイクロ
プロセッサのマシンサイクルにてオン、オフデユーティ
の設定精度が規制されることがなく、マシンサイクルに
関係なく” H”区間および”L”区間を任意に設定す
ることができ、オン、オフデユーティの設定精度を高く
することができるようになっている。また、ハーフクロ
ック制御信号にてリップルキャリー信号の立ち上がりを
半クロックだけ適宜シフトさせてトリガクロック信号を
形成するハーフクロック制御回路を設けて・いるので、
クロック信号の周波数を高くすることなく、倍の設定精
度を実現でき、コストを安くすることができるようにな
っている。
[Function] The present invention is configured as described above, and the "H" section setting data and the "L" section setting data of the output pulse signal are latched in a data latch circuit, and - a fixed period clock signal is counted. Then, a ripple carry signal from a presettable counter circuit in which the above two interval setting data are set alternately is used as a trigger clock signal of the toggle flip-flop circuit, and a pulse width modulated output pulse signal is obtained from the toggle flip-flop circuit. So,
Unlike the conventional example in which the "H" interval and "L" interval were set using the microprocessor's internal counter, the setting accuracy of on and off duty is not restricted by the microprocessor's machine cycle, and the machine cycle Regardless, the "H" interval and the "L" interval can be arbitrarily set, making it possible to increase the accuracy of setting the on and off duties. In addition, a half clock control circuit is provided which appropriately shifts the rising edge of the ripple carry signal by half a clock using the half clock control signal to form a trigger clock signal.
This makes it possible to double the setting accuracy and reduce costs without increasing the frequency of the clock signal.

[実施例コ 第1図は本発明一実施例を示すもので、出力パルス信号
の”H”区間設定データおよび°°L″区間設定データ
をラッチするデータラッチ回路1と、一定周期のタロツ
ク信号CLKをカウントし上記両区間設定データが交互
にセットされるプリセッタブルなカウンタ回路2と、上
記カウンタ回路2からのリップルキャリー信号RC’Y
をトリガクロックとするトグル71717071回路3
とで構成され、両区間設定データをそれぞれ独立に変化
させるパルス幅制御手段を設けることによりトグルフリ
ップフロップ回路3からパルス幅変調された出力パルス
信号OUTを得るようにしたものである。実施例にあっ
ては、パルス幅制御手段はマイクロプロセッサにて形成
されており、マイクロプロセッサから出力される” H
”区間設定データ、”L”区間設定データがデータラッ
チ回路1の入力端子IN、〜IN、2に入力され、タイ
ミング制御回路4から出力されるタイミング信号によっ
てラッチされるようになっている。
[Embodiment] Fig. 1 shows an embodiment of the present invention, which includes a data latch circuit 1 that latches "H" interval setting data and °°L" interval setting data of an output pulse signal, and a tarlock signal of a constant period. A presettable counter circuit 2 that counts CLK and sets the above-mentioned two interval setting data alternately, and a ripple carry signal RC'Y from the counter circuit 2.
Toggle 71717071 circuit 3 with as trigger clock
A pulse width modulated output pulse signal OUT is obtained from the toggle flip-flop circuit 3 by providing pulse width control means for independently changing both interval setting data. In the embodiment, the pulse width control means is formed by a microprocessor, and the "H" output from the microprocessor is
The "section setting data" and "L" section setting data are input to input terminals IN, -IN, 2 of the data latch circuit 1, and are latched by a timing signal output from the timing control circuit 4.

ここに、データラッチ回路1は1次バッファ1aと2次
バッファ1bとで形成され、両バッファ1a、、1bは
、第2図および第3図に示すようにフリップフロップと
Tバッファとで形成されている。1次バッファlaでは
、区間データセット信号HLが入力されているときに、
入力端子IN。
Here, the data latch circuit 1 is formed of a primary buffer 1a and a secondary buffer 1b, and both buffers 1a, 1b are formed of flip-flops and T-buffers as shown in FIGS. 2 and 3. ing. In the primary buffer la, when the section data set signal HL is input,
Input terminal IN.

〜IN、□を介して入力されるD T l−D T +
 2をラッチ信号LATCHA、LATCH,によって
”H”区間設定データD A + ””” D A l
よ、”L″区間投定データDB、〜DB、□とじてラッ
チするようになっている。また、2次バッファ1bでは
、ラッチ信号LTCHによって1次バッファ1aのラッ
チデータD A l” D A 12、DB、〜・DB
+2を取り込んで、イネーブル信号ENA、ENsによ
って選択された区間設定データD A +〜D A +
 2あるいはDB、−DB+2をカウンタ回路2のプリ
セットデータとして出力するようになっている。また、
ハーフクロック制御信号HLFも一旦ラッチして信号H
ALFとして出力するようになっている。
~IN, D T l−D T + input via □
2 is set as “H” section setting data D A + “”” D A l by latch signals LATCHA and LATCH.
, "L" section projection data DB, ~DB, □ are closed and latched. In addition, in the secondary buffer 1b, the latch data DA12, DB, ~・DB of the primary buffer 1a is output by the latch signal LTCH.
+2, and section setting data DA + to DA + selected by enable signals ENA and ENs.
2 or DB, -DB+2 is output as preset data of the counter circuit 2. Also,
The half clock control signal HLF is also latched once and the signal H
It is designed to be output as ALF.

また、カウンタ回路2およびトグルフリップフロップ回
路3はカウンタ/出力回路5として一体化されており、
第4図に示すように、4ビ・ントのプリセッタブルカウ
ンタを3個用いて12ビツトのカウンタ回路2が形成さ
れ、カウンタ回路2のリップルキャリー信号RCYがハ
ーフクロック制御回路6を介してトグルフリップフロ・
・21回路3にトリガクロック信号として入力されてい
る。このトグルフリップフロップ回路3のフリップフロ
ップ出力は2個のインバータを介して出力パルス信号O
UTとして出力され、同時に、所定のプリセ・/トデー
タをデータラッチ回路1から読み出すイネーブル信号E
NA、EN、が出力されるようになっている。ここに、
ハーフクロック制御回路6は、ハーフクロック制御信号
HALFが”H”のときに、リップルキャリー信号RC
Yの立ち上がり(トグルフリップフロップ回路の反転タ
イミング)を半クロックだけ右にシフトさせ、クロック
信号CLKの半クロックの精度(倍精度)で” H”区
間、L”区間の制御を可能にしている。
Further, the counter circuit 2 and the toggle flip-flop circuit 3 are integrated as a counter/output circuit 5,
As shown in FIG. 4, a 12-bit counter circuit 2 is formed using three 4-bit presettable counters, and a ripple carry signal RCY of the counter circuit 2 is toggled and flipped via a half-clock control circuit 6. Flo・
・It is input to the 21 circuit 3 as a trigger clock signal. The flip-flop output of this toggle flip-flop circuit 3 is converted into an output pulse signal O via two inverters.
An enable signal E is output as UT and simultaneously reads predetermined preset/to data from the data latch circuit 1.
NA and EN are output. Here,
The half clock control circuit 6 outputs a ripple carry signal RC when the half clock control signal HALF is "H".
The rising edge of Y (the inversion timing of the toggle flip-flop circuit) is shifted to the right by half a clock, making it possible to control the "H" period and the "L" period with half a clock precision (double precision) of the clock signal CLK.

また、タイミング制御回路4は、ラッチ信号LATCH
,LATCHA、LATCHa、LTCHを発生する第
5図に示すようなラッチ制御回路4aと、クリア信号C
LEAR,ロード信号LOAD、ラッチ信号LTCH,
を発生する第6図に示すようなカウンタ制御回路4bと
で形成されており、マイクロプロセッサから出力される
クロック信号CLK、スタート信号5TART、区間デ
ータセット信号HLに基づいて所定のタイミング信号を
出力し、各回路の動作タイミングを制御するようになっ
ている。
Further, the timing control circuit 4 outputs a latch signal LATCH.
, LATCHA, LATCHa, LTCH as shown in FIG. 5, and a clear signal C.
LEAR, load signal LOAD, latch signal LTCH,
The counter control circuit 4b as shown in FIG. , to control the operation timing of each circuit.

ところで、実施例では、出力パルス信号OUTに基づい
て2相りロック信号OU T + 、 OU T 2を
発生させる2相りロック発生回路7と、放電灯点灯装置
10のスイッチングを制御する出力信号として、出力パ
ルス信号OUTを出力するか、2相りロック信号OU 
T 、、 OU T 2を出力するかを切り換え信号S
 E/HBにより切り換える出力切り換え回路8とが設
けられており、シングルエンド型(出力パルス信号OU
Tでスイッチングトランジスタが制御される1石インバ
ータ方式)あるいはハーフブリッジ型(2相りロック信
号OUT、。
By the way, in the embodiment, the two-phase lock generation circuit 7 generates the two-phase lock signals OUT + and OUT 2 based on the output pulse signal OUT, and the output signal that controls the switching of the discharge lamp lighting device 10 is used. , output the output pulse signal OUT, or output the two-phase lock signal OUT.
The switching signal S determines whether to output T ,, OUT 2.
A single-end type (output pulse signal OU
Single-stone inverter type (with switching transistor controlled by T) or half-bridge type (two-phase lock signal OUT).

0UT2によって直列接続された一対のスイッチングト
ランジスタが制御される2石インバータ方式)の放電灯
点灯装置10のスイッチング′M御信号が得られるよう
になっている。ここに、2相りロック発生回路7は、ク
ロック信号CLKをカウントしてノンオーバラップ区間
を設定するプリセッタブルカウンタ回路7aと、プリセ
ッタブルカウンタ回路7aから出力されるリップルキャ
リー信号RCY 2°に基づいてゲート回路7Cを制御
するゲート制御回路7bとで形成され、8ビツトの設定
スイッチで設定されるノンオーバツラツブ区間設定デー
タHB +〜HB、に基づいてノンオーバラップ区間が
設定された2相りロック信号0UT1.0UT2を出力
するようになっている。
A switching 'M control signal for the discharge lamp lighting device 10 (two-wheel inverter type) in which a pair of switching transistors connected in series is controlled by 0UT2 is obtained. Here, the two-phase lock generation circuit 7 is based on a presettable counter circuit 7a that counts the clock signal CLK and sets a non-overlapping section, and a ripple carry signal RCY 2° output from the presettable counter circuit 7a. and a gate control circuit 7b that controls the gate circuit 7C, and has a non-overlapping section set based on non-overlapping section setting data HB+ to HB set using an 8-bit setting switch. The lock signal 0UT1.0UT2 is output.

以下、実施例の動作について第8図および第9図に示す
タイムチャートを用いて説明する。第8図は本実施例の
基本動作を示す波形図であり、まず、マイクロプロセッ
サから出力されるスタート信号5TARTが立ち上がる
と、システムリセットが行われる1次に、”H”区間設
定データDA、〜D A + 2が確定すると、マイク
ロプロセッサから区間データ設定信号HLが立ち上がり
、ラッチ信号LATCHAが1パルス出力されてデータ
ラッチ回路1の1次バッファ1aにII H11区間設
定データDA、〜DA、□がラッチされる6次に、”L
“区間設定データDB、〜DB、、が確定すると、区間
データ設定信号HLの立ち下がりでラッチ信号LATC
H,tが1パルス出力されて”L″′区間設定データD
B、〜D B + 2がデータラッチ回路1の1次バッ
ファ1aにラッチされる。
The operation of the embodiment will be explained below using the time charts shown in FIGS. 8 and 9. FIG. 8 is a waveform diagram showing the basic operation of this embodiment. First, when the start signal 5TART output from the microprocessor rises, the "H" section setting data DA, - When D A + 2 is determined, the section data setting signal HL rises from the microprocessor, one pulse of the latch signal LATCHA is output, and the II H11 section setting data DA, ~DA, □ are stored in the primary buffer 1a of the data latch circuit 1. The 6th latched
“When the section setting data DB, ~DB, etc. are determined, the latch signal LATC is activated at the falling edge of the section data setting signal HL.
One pulse of H and t is output and "L"' section setting data D
B, ~D B + 2 are latched into the primary buffer 1a of the data latch circuit 1.

次に、クリア信号CLEAR力じLnになり、ラッチ信
号LTCHが1パルス出力され、両区間設定データDA
、〜DA、□、DBI〜D B + 2は2次バッファ
1bにラッチされる。このとき、イネーブル信号ENA
が”H”となっているので、2次バッファ1bから″H
″区間設定データDAI〜D A + 2が読み出され
、カウンタ回路2にプ9セットデータをセットするロー
ド信号LOADが出力されたとき、カウンタ回路2(こ
”H”区間設定データDAl〜D A l 2がセット
される。この状態でカウンタ回路2によるクロック信号
CLKのカウントが開始され、カウンタ回路2の出力Q
1〜Q2が総て”I(”になると、リップルキャリー信
号RCYが出力される。このリップルキャリー信号RC
Yによってイネーブル信号EN、が“Hパになり、同時
に出力パルス信号OUTも°′H′′になる。すると、
区間設定データDB、〜D B + 2がカウンタ回路
2にプリセットされ、クロック信号CLKのカウントが
開始され、リップルキャリー信号RCYが得られると、
出力パルス信号が”L”になるとともにイネーブル信号
ENAが°H′″になり、上述の動作を繰り返すように
なっている。
Next, the clear signal CLEAR becomes Ln, the latch signal LTCH is outputted as one pulse, and both interval setting data DA
, ~DA, □, and DBI~D B +2 are latched into the secondary buffer 1b. At this time, the enable signal ENA
is “H”, so the data is “H” from the secondary buffer 1b.
``When the section setting data DAI~DA+2 is read out and the load signal LOAD for setting the P9 set data in the counter circuit 2 is output, the counter circuit 2 (this "H" interval setting data DAI~DA+2 is outputted). l2 is set. In this state, the counter circuit 2 starts counting the clock signal CLK, and the output Q of the counter circuit 2
When all of 1 to Q2 become "I(", a ripple carry signal RCY is output.This ripple carry signal RC
The enable signal EN becomes "H" due to Y, and at the same time, the output pulse signal OUT also becomes "H''. Then,
When the section setting data DB, ~D B + 2 is preset in the counter circuit 2, counting of the clock signal CLK is started, and the ripple carry signal RCY is obtained,
When the output pulse signal becomes "L", the enable signal ENA becomes "H'", and the above-described operation is repeated.

したがって、両区間設定データDA、〜D A l 2
、DB、〜D B + 2に基づいて出力パルス信号O
UTの”H”区間および°゛L”区間が任意に(12ビ
ツトの範囲で)設定でき、オン、オフデユーティを設定
できるようになっている。なお、オン、オフデユーティ
を変更する場合には、”H”区間設定データDAI〜D
 A + 2をセットした後、区間データ設定信号HL
を”H”にし、”し”区間設定データDB、〜D B 
r zをセットした境、区間データ設定信号HLを”L
”にすれば良い。
Therefore, both section setting data DA, ~D A l 2
, DB, ~DB+2 based on the output pulse signal O
The "H" section and °L" section of UT can be set arbitrarily (within a range of 12 bits), and the on/off duty can be set. When changing the on/off duty, " H” section setting data DAI~D
After setting A + 2, section data setting signal HL
Set to “H” and set “Shi” section setting data DB, ~DB
After setting rz, set the section data setting signal HL to "L".
”.

例えば、第8図に示すように、クロック信号CLKの周
波数を16MHz(周期62.5nseC)とし、”H
”区間を161パルス、”L”区間を164パルスに設
定する場合には、”H”区間設定データDA、〜DA、
□の8ビツト目および6ビツト目をパ1”に設定し、”
 L″区間設定データDB、〜DB、2の8ビツト目、
6ビツト目、2ビツト目、1ビツト目を1”に設定すれ
ば良いことになる。この場合、出力パルス信号OUTの
周期は、タロツク信号CLKの325パルス分となって
20.2μsecであり、周波数49゜2kHzとなる
。また、”H”区間あるいは”L′°区間の幅を1パル
ス分(62,5nsec)だけ広くすると、周期はクロ
ック信号CLKの326パルス分となり、周波数は49
.1kHzになる。したがって、実施例では、出力パル
ス信号OUTの”H”区間あるいは” L”区間を62
.5n S e C刻みで設定できるとともに、0.1
kH2刻みで周波数を制御できることになり、この設定
精度は、従来のマイクロプロセッサによるソフト的な内
部カウンタを用いたパルス発生装置では側底達成できな
い設定精度であり、パルス発生装置のスイッチング制御
信号として用いた場合において、きめ細かな点灯制御が
行えることになる。
For example, as shown in FIG. 8, the frequency of the clock signal CLK is 16 MHz (period 62.5 nsec)
When setting the “section” to 161 pulses and the “L” section to 164 pulses, the “H” section setting data DA, ~DA,
Set the 8th and 6th bits of □ to "Pa1".
8th bit of L″ section setting data DB, ~DB, 2,
It is sufficient to set the 6th bit, 2nd bit, and 1st bit to 1". In this case, the period of the output pulse signal OUT is 325 pulses of the tally clock signal CLK, which is 20.2 μsec. The frequency becomes 49°2kHz.Also, if the width of the "H" section or "L'° section is widened by one pulse (62.5nsec), the period becomes 326 pulses of the clock signal CLK, and the frequency becomes 49°.
.. It becomes 1kHz. Therefore, in the embodiment, the "H" section or "L" section of the output pulse signal OUT is set to 62
.. Can be set in 5n S e C increments, and can be set in 0.1
The frequency can now be controlled in kHz increments, and this setting accuracy is impossible to achieve with conventional pulse generators that use a software internal counter using a microprocessor. In this case, fine-grained lighting control can be performed.

なお、カウンタ回路2にてカウントされるクロック信号
CLKの周波数を高くすれば、設定精度をより高くでき
ることは言うまでもない。
It goes without saying that setting accuracy can be further increased by increasing the frequency of the clock signal CLK counted by the counter circuit 2.

次に、第9図はハーフクロック制御の動作説明図であり
、いま、マイクロコンピュータから出力されるハーフク
ロック制御信号HLF (すなわち、データラッチ回路
1から出力される信号HALF)が”L ”の場合には
、リップルキャリー信号RCYはそのままトグルフリッ
プフロップ回路3のトリガクロックとなり、第9図(b
)に示すように、リップルキャリー信号RCYの立ち上
がりに同期して出力パルス信号OU Tの反転が行われ
る。−方、ハーフクロック制御信号HLFが”H”にな
ると、第9図(a)に示すように、リップルキャリー信
号RCYの立ち上がりが半クロックだけ右にシフトし、
このシフトされたりップルキャリー信号RCYがトグル
フリップフロップ回路3のトリガクロックとなって出力
パルス信号OUTの反転動作が行われる。したがって、
ハーフクロック制御信号HLFが“H”の場合、”H゛
区間るいは”L”区間を、区間設定データDA、〜DA
、2゜DB、〜DB、、にて設定される第9図(b)の
場合に比べてクロック信号CLKの半2012分だけ広
くでき、タロツク信号CLKの周波数を高くすることな
く、”H′区区間よび”L”区間の設定精度を倍にする
ことができ、安い回路素子を用いることができるので、
コストを安くできるようになっている0丈な、ハーフク
ロック制御信号HLFを区間データ設定信号HLと同期
させることにより、自動でハーフクロック制御を行うこ
とができる。
Next, FIG. 9 is an operation explanatory diagram of half clock control, where the half clock control signal HLF output from the microcomputer (that is, the signal HALF output from the data latch circuit 1) is "L". In this case, the ripple carry signal RCY directly becomes the trigger clock for the toggle flip-flop circuit 3, and as shown in FIG.
), the output pulse signal OUT is inverted in synchronization with the rise of the ripple carry signal RCY. - On the other hand, when the half clock control signal HLF becomes "H", the rising edge of the ripple carry signal RCY shifts to the right by half a clock, as shown in FIG. 9(a).
This shifted pull-carry signal RCY serves as a trigger clock for the toggle flip-flop circuit 3 to invert the output pulse signal OUT. therefore,
When the half clock control signal HLF is “H”, the “H” interval or the “L” interval is set to the interval setting data DA, ~DA.
, 2°DB, ~DB, , compared to the case of FIG. The setting accuracy of the ward section and "L" section can be doubled, and cheap circuit elements can be used.
Half clock control can be automatically performed by synchronizing the half clock control signal HLF, which is low in cost, with the section data setting signal HL.

すなわち、区間設定データDAI〜D A li D 
B +〜D B + zの入力時に、ハーフクロック制
御信号HLFを入力することにより、出力パルス信号O
UTの周波数fを、一定時間毎に変化させて放電灯を段
調光し、ソフトスタートさせることができるようになっ
ている。第10図(a)は放電灯の点灯を、ハーフクロ
ック制御を行わずにソフトスタートさせる場合の周波数
fの変化例、第10図(b)はハーフクロック制御を行
ってソフトスタートさせる場合の周波数fの変化例を示
しており、ハーフクロック制御を行った場合には、ハー
フクロック制御を行わない場合に比べて周波数fの変化
幅を1/2にでき、きめ細かい段調光によって滑らかな
ソフトスタートが行えることが分かる。
That is, the section setting data DAI to D A li D
By inputting the half clock control signal HLF when inputting B + to D B + z, the output pulse signal O
By changing the frequency f of the UT at regular intervals, the discharge lamp can be dimmed in stages and soft-started. Figure 10(a) shows an example of the change in frequency f when lighting a discharge lamp is soft-started without half-clock control, and Figure 10(b) shows the frequency when soft-started with half-clock control. An example of a change in f is shown. When half-clock control is performed, the width of change in frequency f can be halved compared to when half-clock control is not performed, and smooth soft start can be achieved by fine-grained stepwise dimming. It turns out that it can be done.

次に、2相りロック発生回路7では、ノンオーバララッ
プ区間設定データHB、〜HB aがプリセットされた
プリセッタブルカウンタ回路7aにてクロック信号CL
Kをカウントしてノンオーバラップ区間を設定するよう
になっており、第11図に示すように、プリセッタブル
カウンタ回路7aから出力されるリップルキャリー信号
RCY 2°に基づいてゲート回路7Cを制御するゲー
ト制御信号が形成され、このゲート制御信号にて制御さ
れるゲート回路7cによって出力パルス信号OUTにノ
ンオーバラップ区間を付与した2相りロック信号OUT
、、ou’rzが形成されるようになっている。
Next, in the two-phase lock generation circuit 7, a clock signal CL is output from a presettable counter circuit 7a to which non-overlap section setting data HB, ~HBa is preset.
K is counted to set a non-overlapping section, and as shown in FIG. 11, the gate circuit 7C is controlled based on the ripple carry signal RCY 2° output from the presettable counter circuit 7a. A two-phase lock signal OUT in which a gate control signal is formed and a non-overlapping section is added to the output pulse signal OUT by a gate circuit 7c controlled by the gate control signal.
,,ou'rz are formed.

上述のようにして発生された出力パルス信号OUTおよ
び2相りロック信号OUT、、0UT2は、出力切り換
え回路8を介して出力されるようになっており、出力切
り換え信号S E/HBが”H”のとき、出力パルス信
号OUTが出力され、出力切り換え信号S E/HBが
“L″のとき、2相りロック信号OUT、、OUT、が
出力される。したがって、出力切り換え信号S E/H
Bを適当に設定することにより、シングルエンド型ある
いはハーフブリッジ型の放電灯点灯装置10に対応でき
るパルス発生装置が得られることになる。
The output pulse signal OUT and the two-phase lock signal OUT, 0UT2 generated as described above are outputted via the output switching circuit 8, and the output switching signal S E/HB is set to "H". ”, the output pulse signal OUT is output, and when the output switching signal SE/HB is “L”, the two-phase lock signals OUT, , OUT are output. Therefore, the output switching signal S E/H
By appropriately setting B, a pulse generator that can be used with a single-ended or half-bridge discharge lamp lighting device 10 can be obtained.

[発明の効果] 本発明は上述のように構成されており、出力パルス信号
の′″H”区間設定データおよび”L”区間設定データ
をデータラッチ回路にラッチし、定周期のタロツクをカ
ウントし上記両区間設定データが交互Cセセットされる
プリセッタブルなカウンタ回路からのリップルキャリー
信号をトグルフリップフロップ回路のトリガクロックと
し、上記トグルフリップフロップ回路からパルス幅変調
された出力パルス信号を得るようにしたので、マイクロ
プロセッサの内部カウンタを用いて°°H”区間および
”L”区間を設定していた従来例のようにマイクロプロ
セッサのマシンサイクルにてオン、オフデユーティの設
定精度が規制されることがなく、マシンサイクルに関係
なく”H”区間および“L”区間を任意に設定すること
ができ、オン、オフデユーティの設定精度を高くするこ
とができるという効果がある。また、ハーフクロック制
御信号にてリップルキャリー信号の立ち上がりを半クロ
ックだけ適宜シフトさせてトリガクロック信号を形成す
るハーフクロック制御回路を設けているので、クロック
信号の周波数を高くすることなく、倍の設定精度を実現
でき、コストを安くすることができるという効果がある
[Effects of the Invention] The present invention is configured as described above, and latches the ``H'' interval setting data and the ``L'' interval setting data of the output pulse signal in the data latch circuit, and counts the fixed period tarock. A ripple carry signal from a presettable counter circuit in which the above two interval setting data are alternately set is used as a trigger clock for a toggle flip-flop circuit, and a pulse width modulated output pulse signal is obtained from the toggle flip-flop circuit. Therefore, unlike the conventional example where the internal counter of the microprocessor was used to set the °°H" interval and the "L" interval, the setting accuracy of on and off duty is not restricted by the microprocessor's machine cycle. , the "H" section and "L" section can be arbitrarily set regardless of the machine cycle, and the on/off duty setting accuracy can be increased.Also, ripples can be eliminated with the half clock control signal. A half-clock control circuit is provided that appropriately shifts the rising edge of the carry signal by half a clock to form a trigger clock signal, making it possible to double the setting accuracy without increasing the frequency of the clock signal, reducing costs. It has the effect of being able to

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

第1図は本発明一実施例のブロック回路図、第2図乃至
第7図は同上の要部回路図、第8図乃至第11図は同上
の動作説明図である。 1はデータラッチ回路、2はカウンタ回路、3はトグル
フリップフロ71回路、4はタイミング制御回路、8は
ハーフクロック制御回路である。
FIG. 1 is a block circuit diagram of an embodiment of the present invention, FIGS. 2 to 7 are circuit diagrams of the main parts of the same, and FIGS. 8 to 11 are operation explanatory diagrams of the same. 1 is a data latch circuit, 2 is a counter circuit, 3 is a toggle flip-flow 71 circuit, 4 is a timing control circuit, and 8 is a half clock control circuit.

Claims (1)

【特許請求の範囲】[Claims] (1)出力パルス信号の“H”区間設定データおよび“
L”区間設定データをラッチするデータラッチ回路と、
一定周期のクロック信号をカウントし上記両区間設定デ
ータが交互にセットされるプリセッタブルなカウンタ回
路と、上記カウンタ回路からのリップルキャリー信号を
トリガクロック信号とするトグルフリップフロップ回路
とで構成され、両区間設定データをそれぞれ独立に変化
させるパルス幅制御手段を設けることにより、上記トグ
ルフリップフロップ回路からパルス幅変調された出力パ
ルス信号を得るようにしたパルス発生装置であって、ハ
ーフクロック制御信号にてリップルキャリー信号の立ち
上がりを半クロックだけ適宜シフトさせてトリガクロッ
ク信号を形成するハーフクロック制御回路を設けたこと
を特徴とするパルス発生装置。
(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 clock signal of a constant period and sets the above two interval setting data alternately, and a toggle flip-flop circuit that uses the ripple carry signal from the counter circuit as a trigger clock signal. A pulse generator which obtains a pulse width modulated output pulse signal from the above-mentioned toggle flip-flop circuit by providing a pulse width control means for independently changing the interval setting data, the pulse generator having a half clock control signal. A pulse generator comprising a half clock control circuit that appropriately shifts the rising edge of a ripple carry signal by half a clock to form a trigger clock signal.
JP1182801A 1989-07-15 1989-07-15 Pulse generator Expired - Fee Related JP2998898B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1182801A JP2998898B2 (en) 1989-07-15 1989-07-15 Pulse generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1182801A JP2998898B2 (en) 1989-07-15 1989-07-15 Pulse generator

Publications (2)

Publication Number Publication Date
JPH0346816A true JPH0346816A (en) 1991-02-28
JP2998898B2 JP2998898B2 (en) 2000-01-17

Family

ID=16124661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1182801A Expired - Fee Related JP2998898B2 (en) 1989-07-15 1989-07-15 Pulse generator

Country Status (1)

Country Link
JP (1) JP2998898B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533383A (en) * 1978-08-31 1980-03-08 Toshiba Corp Counter circuit
JPS60129748U (en) * 1984-02-08 1985-08-30 三洋電機株式会社 pulse width modulation circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533383A (en) * 1978-08-31 1980-03-08 Toshiba Corp Counter circuit
JPS60129748U (en) * 1984-02-08 1985-08-30 三洋電機株式会社 pulse width modulation circuit

Also Published As

Publication number Publication date
JP2998898B2 (en) 2000-01-17

Similar Documents

Publication Publication Date Title
TW437169B (en) Reset circuit for flip-flop
JPH0346816A (en) Pulse generator
JPH0346794A (en) Electric discharge lamp lighting controller
JPH0346793A (en) Electric discharge lamp lighting controller
JP2998899B2 (en) Pulse generator
JP2688277B2 (en) Pulse generator
JPH04325875A (en) Pulse generator
JP2978270B2 (en) Pulse generator
JP3342044B2 (en) Pulse generation circuit
JPH0482412A (en) Pulse generator
JPH0346795A (en) Electric discharge lamp lighting device
JP2955117B2 (en) Pulse generation circuit
JP2710702B2 (en) Discharge lamp lighting device
JPH04325874A (en) Pulse generator
JPH0346796A (en) Electric discharge lamp lighting device
JPH05115193A (en) Microcontroller for controlling motor
JPS6359017A (en) Pulse generating circuit
JPH06313874A (en) Drive method for liquid crystal display element
JPH0522094A (en) Pulse generator
JPH0676592A (en) Enable circuit
JPH0522951A (en) Inverter power device
JPH0320809A (en) Clock switching circuit
JPH03217121A (en) Asynchronous counter device
JPH0437672B2 (en)
JPH0674093U (en) Switching element drive circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees