JP2949349B2 - Pulse width modulation circuit - Google Patents

Pulse width modulation circuit

Info

Publication number
JP2949349B2
JP2949349B2 JP1160366A JP16036689A JP2949349B2 JP 2949349 B2 JP2949349 B2 JP 2949349B2 JP 1160366 A JP1160366 A JP 1160366A JP 16036689 A JP16036689 A JP 16036689A JP 2949349 B2 JP2949349 B2 JP 2949349B2
Authority
JP
Japan
Prior art keywords
pulse width
signal
delay
width modulation
output
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1160366A
Other languages
Japanese (ja)
Other versions
JPH0326016A (en
Inventor
裕之 山本
裕一 後藤
利治 西村
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP1160366A priority Critical patent/JP2949349B2/en
Publication of JPH0326016A publication Critical patent/JPH0326016A/en
Application granted granted Critical
Publication of JP2949349B2 publication Critical patent/JP2949349B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、パルス幅変調回路に関し、更に詳しくは、
高い周波数での使用に適したパルス幅変調回路に関す
る。
The present invention relates to a pulse width modulation circuit, and more particularly, to a pulse width modulation circuit.
The present invention relates to a pulse width modulation circuit suitable for use at a high frequency.

(発明の背景) いわゆるパルス幅変調回路は各種の分野で利用されて
いる。例えば、モータの制御,レーザプリンタの中間調
再現などが主な用途である。このうち、モータの制御は
比較的周波数も低く、制御を行ないやすい。また、専用
のパルス幅変調用のICも用意されており、問題はない。
BACKGROUND OF THE INVENTION A so-called pulse width modulation circuit is used in various fields. For example, it is mainly used for controlling a motor, reproducing halftone of a laser printer, and the like. Of these, the motor control has a relatively low frequency and is easy to control. In addition, there is no problem because a dedicated pulse width modulation IC is also provided.

ところが、レーザプリンタでは使用する周波数も高
く、パルス幅変調用の専用ICも用意されていない。従っ
て、ディスクリートで構成していた。
However, laser printers use a high frequency, and there is no dedicated IC for pulse width modulation. Therefore, it was constituted by discrete.

第3図は上述のように構成したパルス幅変調回路の構
成例を示す構成図である。図において、1は外部より与
えられるデータクロックを基準に三角波を発生する三角
波発生回路、2はデータクロックを基準にしてディジタ
ルデータ入力をアナログ信号に変換するD/A変換器、3
は三角波発生回路1よりの三角波とD/A変換器2からの
アナログ信号とを比較することによりパルス幅の制御さ
れたPWM信号を生成するコンパレータである。
FIG. 3 is a configuration diagram showing a configuration example of the pulse width modulation circuit configured as described above. In the figure, reference numeral 1 denotes a triangular wave generating circuit for generating a triangular wave based on a data clock supplied from outside, 2 a D / A converter for converting a digital data input to an analog signal based on the data clock, 3
Is a comparator that generates a PWM signal with a controlled pulse width by comparing a triangular wave from the triangular wave generation circuit 1 with an analog signal from the D / A converter 2.

また、第4図は上述したパルス幅変調回路の動作状態
における各部の信号波形を示す波形図である。
FIG. 4 is a waveform diagram showing signal waveforms at various parts in the operating state of the above-described pulse width modulation circuit.

外部より与えられるデータクロック(第4図(a))
に従って、三角波発生回路1内のトランジスタTr1はオ
ン/オフを繰り返す。このTr1のオン/オフの繰り返し
と同期して、コンデンサC1は放電/充電を繰り返す。こ
のC1の放電/充電により三角波の電圧が生成される。
尚、C1の充放電は可変抵抗器VR1を介しているので、三
角波の波高値はこのVR1で調節される。この三角波はト
ランジスタTr2で電流増幅され、コンデンサC2を介して
外部に出力される(第4図(b))。尚、この三角波
は、両端が電源の+−に接続された可変抵抗器VR2によ
りDCオフセット調製がなされる。
Data clock provided externally (FIG. 4 (a))
Accordingly, the transistor Tr1 in the triangular wave generation circuit 1 repeats on / off. In synchronization with the repetition of ON / OFF of Tr1, the capacitor C1 repeats discharging / charging. This discharge / charge of C1 generates a triangular wave voltage.
Since the charging and discharging of C1 is performed via the variable resistor VR1, the peak value of the triangular wave is adjusted by VR1. This triangular wave is current-amplified by the transistor Tr2 and output to the outside via the capacitor C2 (FIG. 4 (b)). The DC offset of this triangular wave is adjusted by a variable resistor VR2 whose both ends are connected to + and-of the power supply.

一方、D/A変換器2でディジタルデータ入力より生成
されたアナログ信号(第4図(c))と上述の三角波
(第4図(b))とがコンパレータ3で比較され、PWM
信号(第4図(d))が得られる。
On the other hand, the analog signal (FIG. 4 (c)) generated from the digital data input by the D / A converter 2 and the above-described triangular wave (FIG. 4 (b)) are compared by the comparator 3, and the PWM signal is output.
A signal (FIG. 4 (d)) is obtained.

(発明が解決しようとする課題) 第3図に示した回路構成では、三角波(第4図b)や
アナログ信号(第4図(c))へノイズが混入すると、
比較結果であるパルス幅信号も容易に変化する。従っ
て、アナログで処理を行なうことによる精度の悪化,D/A
変換器が高価であるなどの問題点がある。特に、アナロ
グレベルで比較を行なっているために、精度の安定にも
難点がある。
(Problems to be Solved by the Invention) In the circuit configuration shown in FIG. 3, if noise is mixed into a triangular wave (FIG. 4b) or an analog signal (FIG. 4 (c)),
The pulse width signal, which is the comparison result, also changes easily. Therefore, degradation of accuracy due to analog processing, D / A
There is a problem that the converter is expensive. In particular, since the comparison is performed at the analog level, there is a difficulty in stabilizing the accuracy.

これをディジタル化するには、データクロックより更
に周波数の高い高周波クロックが必要となり、実現は困
難である。
Digitization of this requires a high-frequency clock having a higher frequency than the data clock, which is difficult to realize.

本発明は上記した問題点に鑑みてなされたもので、そ
の目的とするところは、アナログで比較をする方式と比
べ高精度にパルス幅を制御することが可能なパルス幅変
調回路を、ディジタル方式により簡単な構成で実現する
ことにある。
The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a pulse width modulation circuit capable of controlling a pulse width with higher precision than a method of comparing by analog, using a digital system. Therefore, the present invention is realized with a simpler configuration.

(課題を解決するための手段) 上記課題を解決する本発明は、基準となるクロック信
号から遅延時間の異なる複数の遅延信号を生成する遅延
手段と、入力された複数ビットのディジタルデータをデ
コードし、コードデータを出力するデコーダと、前記複
数の遅延信号のうち、前記デコーダから出力されたコー
ドデータに対応した1つの遅延信号を選択的に通過させ
る選択手段と、この選択手段を通過した遅延信号とクロ
ック信号とをゲーティングする論理ゲート手段とを有
し、前記入力された複数ビットのディジタルデータに応
じたパルス幅の信号を得ることを特徴とするものであ
る。
(Means for Solving the Problems) According to the present invention for solving the above problems, there are provided delay means for generating a plurality of delay signals having different delay times from a reference clock signal, and decoding of input digital data of a plurality of bits. A decoder for outputting code data, a selector for selectively passing one of the plurality of delay signals corresponding to the code data output from the decoder, and a delay signal passing through the selector. And a logic gate means for gating the clock signal and a clock signal, and a signal having a pulse width corresponding to the input digital data of a plurality of bits is obtained.

(作用) 本発明のパルス幅変調回路において、遅延手段により
生成された複数の遅延信号のうち、ディジタルデータ入
力に応じたもののみが選択手段を通過し、この選択手段
を通過した遅延信号とクロック信号とが論理ゲート手段
でゲーティングされる。この結果、ディジタルデータ入
力に応じたパルス幅の信号が生成される。
(Operation) In the pulse width modulation circuit of the present invention, of the plurality of delay signals generated by the delay means, only the signal corresponding to the digital data input passes through the selection means, and the delay signal and the clock having passed through the selection means The signal is gated by the logic gate means. As a result, a signal having a pulse width corresponding to the digital data input is generated.

(実施例) 以下図面を参照して、本発明の実施例を詳細に説明す
る。
(Example) Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

まず、第1図のブロック図を参照して本発明のパルス
幅変調回路の概要について説明する。この図において、
10はデータクロックを受けて周波数1/2のクロックを出
力するフリップ・フロップである。11はフリップ・フロ
ップ10のQ出力を受け、遅延時間の異なる複数の遅延さ
れた信号(以下これを遅延信号と呼ぶ)を出力するディ
レーラインである。尚、この実施例では64の素子(DL−
1〜DL−64)を有するものとして説明する。また、この
ディレーライン11は、複数の出力タップを有する単一の
素子であっても、複数の遅延素子を縦続接続したもので
あっても良い。更には、ロジックIC,バッファ等が有す
る固定遅延やゲートアレイにおける1ゲートの固定遅延
を利用したものであっても良い。12は6ビットのディジ
タルデータ入力を受け、64の出力(0〜63)のいずれか
1つが順次ローレベルになるデコーダである。13はデコ
ーダ12の出力により、ディレーライン11の遅延出力を選
択的に通過させる選択回路である。この選択回路13は64
個のオアゲートで構成されており、ディレーライン11か
らはそれぞれ位相の異なる遅延信号がそれぞれ選択回路
13を構成するオアゲートの一端に接続されている。ま
た、それぞれのオアゲートの他端にはデコーダ12の出力
が接続されている。14はフリップ・フロップ10の出力
と選択回路13の出力を受け、排他的論理和をとる排他的
論理和(ExOR)ゲートである。
First, the outline of the pulse width modulation circuit of the present invention will be described with reference to the block diagram of FIG. In this figure,
Reference numeral 10 denotes a flip-flop that receives a data clock and outputs a clock having a frequency of 1/2. Reference numeral 11 denotes a delay line which receives the Q output of the flip-flop 10 and outputs a plurality of delayed signals having different delay times (hereinafter referred to as delay signals). In this embodiment, 64 elements (DL-
1 to DL-64). The delay line 11 may be a single element having a plurality of output taps or a cascade connection of a plurality of delay elements. Further, a fixed delay of a logic IC, a buffer or the like or a fixed delay of one gate in a gate array may be used. Reference numeral 12 denotes a decoder which receives a 6-bit digital data input and any one of 64 outputs (0 to 63) sequentially becomes a low level. A selection circuit 13 selectively passes the delay output of the delay line 11 in accordance with the output of the decoder 12. This selection circuit 13 has 64
Delay gates with different phases from the delay line 11.
13 is connected to one end of an OR gate. The output of the decoder 12 is connected to the other end of each OR gate. An exclusive OR (ExOR) gate 14 receives the output of the flip-flop 10 and the output of the selection circuit 13 and takes an exclusive OR.

第2図は本実施例の説明のためのタイムチャートであ
る。
FIG. 2 is a time chart for explaining the present embodiment.

以下、第1図及び第2図を参照して本実施例の動作説
明を行う。
Hereinafter, the operation of the present embodiment will be described with reference to FIG. 1 and FIG.

データクロックはフリップ・フロップ10により周波数
1/2のクロックに変換される。このフリップ・フロップ1
0のQ出力(第2図(a))はディレーライン10に供給
され、64種類の遅延時間の異なる遅延信号が出力されて
いる(第2図(b)〜第2図(e))。
Data clock frequency is set by flip-flop 10.
Converted to 1/2 clock. This flip flop 1
A Q output of 0 (FIG. 2 (a)) is supplied to the delay line 10, and 64 types of delayed signals having different delay times are output (FIGS. 2 (b) to 2 (e)).

一方、デコーダ12の出力は、6ビットのディジタルデ
ータ入力に対応して、0〜63のうちいずれか1つのみが
L,他はHとなっている。この入出力の関係を第1表に示
す。
On the other hand, the output of the decoder 12 corresponds to a 6-bit digital data input, and only one of 0 to 63 is output.
L and others are H. Table 1 shows the relationship between the input and output.

従って、選択回路13の各オアゲートの出力は、デコー
ダ13の出力がLである箇所のみでディレーライン11から
の遅延信号が現われる。デコーダ12の出力がHである箇
所のオアゲートの出力はHレベルに固定される。
Therefore, as for the output of each OR gate of the selection circuit 13, the delay signal from the delay line 11 appears only at the point where the output of the decoder 13 is L. The output of the OR gate where the output of the decoder 12 is H is fixed at H level.

尚、これらオアゲートの出力はまとめて排他的論理和
ゲート14の一方の入力に接続されているので、デコーダ
12の出力がLである箇所のオアゲートの出力のみが選択
されて出力されていることと等価である。
Since the outputs of these OR gates are connected together to one input of the exclusive OR gate 14, the decoder
This is equivalent to selecting and outputting only the output of the OR gate at the position where the output of 12 is L.

そして、排他的論理和ゲート14は選択回路13で選択さ
れた遅延信号とフリップ・フロップ10の出力の排他的
論理和をとる。この結果、排他的論理和ゲート14の出力
側には、2つの入力が一致でL,不一致でHとなる信号が
現われる。排他的論理和ゲート14の一方の入力(遅延信
号)は選択結果により変化するので、排他的論理和ゲー
ト14の出力信号はパルス幅が可変の信号,すなわちPWM
信号になる。尚、第2図(g)に示したPWM信号は、DL
−3(第2図(d))が選択された場合を示している。
従って、本実施例では、どの遅延信号を選択するかで、
PWM信号のローレベルのパルス幅を64段階に自由に変化
させることが可能である。
Then, the exclusive OR gate 14 takes the exclusive OR of the delay signal selected by the selection circuit 13 and the output of the flip-flop 10. As a result, a signal appears on the output side of the exclusive OR gate 14 in which the two inputs are L when they match and H when they do not match. Since one input (delay signal) of the exclusive OR gate 14 changes according to the selection result, the output signal of the exclusive OR gate 14 has a variable pulse width, that is, a PWM signal.
Signal. Note that the PWM signal shown in FIG.
-3 (FIG. 2 (d)) is selected.
Therefore, in this embodiment, depending on which delay signal is selected,
It is possible to freely change the low-level pulse width of the PWM signal in 64 steps.

以上説明したように本実施例によれば、高価なD/A変
換器が不要となり、低コスト化を図れる。また、アナロ
グでの処理を行なわないので、ノイズにも強く、精度の
低下の必要はない。そして、通常のディジタル処理と異
なり、ドットクロックより周波数の高いクロックは不要
であり、回路構成も簡単である。また、本実施例で使用
した各部品は集積化に適しており、回路をコンパクトに
することも可能である。
As described above, according to this embodiment, an expensive D / A converter is not required, and cost reduction can be achieved. In addition, since analog processing is not performed, it is resistant to noise, and there is no need to reduce accuracy. Unlike ordinary digital processing, a clock higher in frequency than the dot clock is not required, and the circuit configuration is simple. Further, each component used in this embodiment is suitable for integration, and the circuit can be made compact.

尚、以上の実施例ではパルス幅を64段階に変化させる
場合について説明したが、これに限定されるものではな
い。すなわち、基本的な回路構成は本実施例と同じまま
で、ディレーラインのタップ数(又は素子数),選択回
路のオアゲート数,デコーダの処理能力を必要に応じて
変形するだけで、所望のパルス幅の変化率が得られる。
In the above embodiment, the case where the pulse width is changed in 64 steps has been described, but the present invention is not limited to this. In other words, while the basic circuit configuration remains the same as in the present embodiment, the desired pulse can be obtained only by modifying the number of taps (or the number of elements) of the delay line, the number of OR gates of the selection circuit, and the processing capability of the decoder as necessary. The rate of change of the width is obtained.

また、本実施例では、選択手段としてオアゲートから
なる選択回路,選択された遅延信号とクロックとのゲー
ティングを行なう論理ゲート手段として排他的論理和ゲ
ートを使用して説明を行なったが、これに限定されるも
のではない。すなわち、他種類の論理ゲートを使用して
同様の動作を行なわせることも可能である。
In the present embodiment, the description has been made using the selection circuit formed of an OR gate as the selection means and the exclusive OR gate as the logic gate means for gating the selected delay signal and the clock. It is not limited. That is, the same operation can be performed using other types of logic gates.

(発明の効果) 以上詳細に説明したように、本発明では、遅延手段で
生成した複数の遅延信号のうち、ディジタルデータ入力
に応じたもののみを選択し、選択された遅延信号とクロ
ック信号とをゲーティングするようにした。この結果、
ディジタルデータ入力に応じたパルス幅の信号が生成さ
れる。従って、アナログで比較をする方式と比べ、パル
ス幅を高精度に制御することが可能なパルス幅変調回路
を、ディジタル方式により簡単な構成で実現することが
できる。
(Effects of the Invention) As described in detail above, according to the present invention, of the plurality of delay signals generated by the delay means, only the signal corresponding to the digital data input is selected, and the selected delay signal and clock signal are selected. Gating. As a result,
A signal having a pulse width corresponding to the digital data input is generated. Therefore, a pulse width modulation circuit capable of controlling the pulse width with higher accuracy than the analog comparison method can be realized with a simple configuration by a digital method.

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

第1図は本発明の一実施例の構成を示す構成図、第2図
は本実施例の動作の説明のためのタイムチャート、第3
図は従来のパルス幅変調回路の構成例を示す構成図、第
4図は従来のパルス幅変調回路の動作状態に於ける波形
図である。 10……フリップ・フロップ 11……ディレーライン 12……デコーダ、13……選択回路 14……排他的論理和ゲート
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention, FIG. 2 is a time chart for explaining the operation of this embodiment, and FIG.
FIG. 1 is a configuration diagram showing a configuration example of a conventional pulse width modulation circuit, and FIG. 4 is a waveform diagram in an operation state of the conventional pulse width modulation circuit. 10: flip-flop 11: delay line 12: decoder, 13: selection circuit 14: exclusive OR gate

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭61−240715(JP,A) 米国特許4496861(US,A) (58)調査した分野(Int.Cl.6,DB名) H03K 7/08 ────────────────────────────────────────────────── (5) References JP-A-61-240715 (JP, A) U.S. Pat. No. 4,486,861 (US, A) (58) Fields investigated (Int. Cl. 6 , DB name) H03K 7 / 08

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】基準となるクロック信号から遅延時間の異
なる複数の遅延信号を生成する遅延手段と、 入力された複数ビットのディジタルデータをデコード
し、コードデータを出力するデコーダと、 前記複数の遅延信号のうち、前記デコーダから出力され
たコードデータに対応した1つの遅延信号を選択的に通
過させる選択手段と、 この選択手段を通過した遅延信号とクロック信号とをゲ
ーティングする論理ゲート手段とを有し、 前記入力された複数ビットのディジタルデータに応じた
パルス幅の信号を得ることを特徴とするプリンタ用パル
ス幅変調回路。
A delay means for generating a plurality of delay signals having different delay times from a reference clock signal; a decoder for decoding input digital data of a plurality of bits and outputting code data; Selecting means for selectively passing one delayed signal corresponding to the code data output from the decoder among the signals; and logic gate means for gating the delayed signal and the clock signal passed through the selecting means. A pulse width modulation circuit for a printer, comprising: obtaining a signal having a pulse width corresponding to the input digital data of a plurality of bits.
JP1160366A 1989-06-22 1989-06-22 Pulse width modulation circuit Expired - Fee Related JP2949349B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1160366A JP2949349B2 (en) 1989-06-22 1989-06-22 Pulse width modulation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1160366A JP2949349B2 (en) 1989-06-22 1989-06-22 Pulse width modulation circuit

Publications (2)

Publication Number Publication Date
JPH0326016A JPH0326016A (en) 1991-02-04
JP2949349B2 true JP2949349B2 (en) 1999-09-13

Family

ID=15713423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1160366A Expired - Fee Related JP2949349B2 (en) 1989-06-22 1989-06-22 Pulse width modulation circuit

Country Status (1)

Country Link
JP (1) JP2949349B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0151261B1 (en) * 1995-07-14 1998-12-15 문정환 Pulse width modulation circuit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4496861A (en) 1982-12-06 1985-01-29 Intel Corporation Integrated circuit synchronous delay line

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4496861A (en) 1982-12-06 1985-01-29 Intel Corporation Integrated circuit synchronous delay line

Also Published As

Publication number Publication date
JPH0326016A (en) 1991-02-04

Similar Documents

Publication Publication Date Title
US6040726A (en) Digital duty cycle correction loop apparatus and method
JPS5970019A (en) Shift register delay circuit
US6850177B2 (en) Digital to analog convertor
JPH05304789A (en) Vibration wave motor control circuit
US4550307A (en) Pulse generator
US6362766B1 (en) Variable pulse PWM DAC method and apparatus
JP2949349B2 (en) Pulse width modulation circuit
KR101119903B1 (en) Timing generation circuit
US4578598A (en) Random pulse generator circuit
JPH0376494B2 (en)
US4389637A (en) Digital to analog converter
JPH05191238A (en) Pwm circuit
US4713622A (en) Multiple state tone generator
JP2853723B2 (en) Pulse width modulation circuit
JP3413951B2 (en) Variable duty pulse wave generator
JP3326887B2 (en) Pulse width modulation circuit
US6950118B2 (en) Laser imaging device including a pulse width modulator system
JPH06224708A (en) Pulse width modulation circuit
JPH0758912B2 (en) High-speed settling D / A converter
JP3774882B2 (en) D / A converter
JP2978270B2 (en) Pulse generator
JP3235676B2 (en) Arbitrary waveform generator
JP2002314424A (en) Digital/analog converter circuit
KR910008455B1 (en) Periodic interval integration circuit for digital signal
JPS63229917A (en) One-odd number frequency divider

Legal Events

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