JPS5844817A - Pulse width modulating system - Google Patents

Pulse width modulating system

Info

Publication number
JPS5844817A
JPS5844817A JP56143461A JP14346181A JPS5844817A JP S5844817 A JPS5844817 A JP S5844817A JP 56143461 A JP56143461 A JP 56143461A JP 14346181 A JP14346181 A JP 14346181A JP S5844817 A JPS5844817 A JP S5844817A
Authority
JP
Japan
Prior art keywords
pulse
counter
output
memory
pulse width
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
JP56143461A
Other languages
Japanese (ja)
Other versions
JPS6355812B2 (en
Inventor
Masaaki Tamura
田村 政昭
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Tokyo Shibaura Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Tokyo Shibaura Electric Co Ltd filed Critical Toshiba Corp
Priority to JP56143461A priority Critical patent/JPS5844817A/en
Publication of JPS5844817A publication Critical patent/JPS5844817A/en
Publication of JPS6355812B2 publication Critical patent/JPS6355812B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K7/00Modulating pulses with a continuously-variable modulating signal
    • H03K7/08Duration or width modulation ; Duty cycle modulation

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

PURPOSE:To obtain a correction pulse width modulation wave with a simple constitution, high accuracy, and low ripple, by providing the 1st and 2nd memories respectively storing the contents of an upper-order bit early in the period of the 1st counter output and a lower-order bit slow in the period. CONSTITUTION:The 2nd counter 25 counts the 2nd pulse CP1 with a start pulse P1, a lower-order bit of the counter 25 is stored in a memory 30 and an upper- order bit is to a memory 26 at the incoming of a pulse P2. The 1st pulse CP2 is counted at a counter 28 and when it is coincident with the value in the memory 26, an FF29 is reset to obtain a pulse width signal. When a value of a counter 31 counting a carry output of the counter 28 is coincident with the value of the memory 30, a pulse applied to the counter 28 is inhibited at a one pulse inhibiting gate 34 and the output pulse width is incremented by one pulse's share of the 2nd pulse CP2.

Description

【発明の詳細な説明】 この発明はパルス幅変調方式に関し、例えば家庭用ビデ
オテープレコーダ(以下VTRと称する)の回転ヘッド
ディスクモータとかキャプスタンモータのサーボ回路に
使用して好適する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a pulse width modulation method, and is suitable for use in, for example, a servo circuit of a rotary head disk motor or a capstan motor of a home video tape recorder (hereinafter referred to as VTR).

一般に家庭用VTRの回転ヘットディスクモータとかキ
ャプスタンモータに対しては、記録ビデオ信号の垂直同
期信号に同期させたり、再生コントロールパルスを使っ
て正確にテープ走行をコントロールするため速度制御及
び位相制御を行って精密にサーボをかける必要がある。
In general, the rotating head disk motor or capstan motor of a home VTR has speed control and phase control in order to synchronize it with the vertical synchronization signal of the recording video signal and to accurately control tape running using playback control pulses. It is necessary to go there and apply the servo precisely.

従来ディスクリートのトランジスタ回路やバイポーラ形
集積回路を使ったサーボ方式では、コンデンサと抵抗に
よるCR時定数を利用して、サンプリングホールド処理
を行い、直流誤差電圧を得、モータをコントロールして
いた。
Conventional servo systems using discrete transistor circuits or bipolar integrated circuits use a CR time constant created by a capacitor and resistor to perform sampling and hold processing to obtain a DC error voltage and control the motor.

その後デジタルICの進歩により、水晶発振等の正確な
りロックパルスを基準として、計測対象となる信号間の
位相差、あるいは信号の周期をデジタル数に変換し、こ
れをデジタル・アナログ変換して操作量としてモータド
ライブ回路に帰還する方法が開発されている。この場合
のデジタルアナログ変換は、計測の結果得たデジタル、
数に応じて、正確な基準クロックパルスを使ってパルス
幅変調(PWM)を行うものである。
Later, with the advancement of digital ICs, the phase difference between the signals to be measured, or the period of the signal, was converted into a digital number, based on the accurate lock pulse of a crystal oscillation, etc., and this was converted from digital to analog to the manipulated variable. A method has been developed to feed back to the motor drive circuit. In this case, digital-to-analog conversion involves converting the digital
Depending on the number, a precise reference clock pulse is used to perform pulse width modulation (PWM).

第1図は従来のパルス幅変調回路であり、カウンタ11
は、スタートパルスPlが入力するさ、第2のクロック
パルスCP2をカウントすることができる。このカウン
タ1ノのカウント出力は、メモリ12に加えられるが、
このメモリ12は、ストアパルスP2が入力したときに
前記カウンタ11のカウント出力をラッチすることがで
きる。ここでスタートパルスP1として垂直同期パルス
、ストアパルスP2として回転ヘッドディスクの回転検
出パルスを用いね、ば、垂直同期パルスさ回転検出パル
スとの位相差が前記カウンタ1ノのカウント値であられ
される。
FIG. 1 shows a conventional pulse width modulation circuit, in which a counter 11
can count the second clock pulse CP2 as soon as the start pulse Pl is input. The count output of this counter 1 is added to the memory 12,
This memory 12 can latch the count output of the counter 11 when the store pulse P2 is input. Here, the vertical synchronization pulse is used as the start pulse P1, and the rotation detection pulse of the rotary head disk is used as the store pulse P2.For example, the phase difference between the vertical synchronization pulse and the rotation detection pulse is calculated by the count value of the counter 1. .

メモリ12のイ呆持内容は、コンパレータ13の一方の
入力端に加えられる。このコンパレータ13の他方の入
力端には、カウンタ14のカウント出力が加えられてい
る。このカウンタ14の第2のクロックパルスCP2を
カウントしており、そのキャリー出力は、フリップフロ
ップ回路15のセット入力端子に加えられる。また、こ
のフリップフロップ回路15のリセット入力端子には、
前記コンパレータ13の一致パルスが加えられる。した
がって、フリップフロップ回路15の出力は、一定周期
のキャリー出力が得られた時点でセットされ、メモリJ
2の内容に応じて発生タイミングが異なる一致パルスの
伶られた時点でリセツI・されるPWM波となる。
The contents of memory 12 are applied to one input of comparator 13. The count output of the counter 14 is applied to the other input terminal of the comparator 13. This counter 14 counts the second clock pulse CP2, and its carry output is applied to the set input terminal of the flip-flop circuit 15. In addition, the reset input terminal of this flip-flop circuit 15 has a
The coincidence pulse of the comparator 13 is applied. Therefore, the output of the flip-flop circuit 15 is set when a carry output of a certain period is obtained, and
The PWM wave is reset at the point in time when the coincident pulse whose generation timing differs depending on the contents of 2 is lost.

ところで、自動制御系としては、回転を検出する信号の
周期であるサンプリング周波数は高い方が望ましく、そ
れに対してPWMのキャリア周波数は充分に高い方が望
ましい。才たデジタル数の精度を決めるビット数は多い
方が望才しい。これらを考慮すると、基準クロックパル
ス周波数は非常に画くなってしまう。例えばサンプリン
グ周波数200H7,、PWM周波数5KH2として、
デジタル数の精度を12ビツトとするさ、基準クロック
パルス周波−数は20MHzに達する。これでは窩集積
化が可能なMO8ICやI L (Imtegrate
d Injection Logic )テは動かない
ので、1つの対策として従来はPWM周波数をやむを得
ず2KH2程度才で下げ、さらにテジタル精度を10ビ
ット程度まで下げるこ古が行なわれている。しかしなが
ら、この方法であるとPWM波のキャリアを除くための
ローパスフィルタの特性がサーボループの位相特性まで
影響を及ぼしたり、さらには非線形領域の応答特性が悪
化することがあるという欠点を有していた。
Incidentally, for an automatic control system, it is desirable that the sampling frequency, which is the period of the signal for detecting rotation, be high, and on the other hand, it is desirable that the carrier frequency of PWM be sufficiently high. The higher the number of bits, which determines the accuracy of digital numbers, the better. Taking these into consideration, the reference clock pulse frequency becomes very different. For example, if the sampling frequency is 200H7, and the PWM frequency is 5KH2,
If the precision of the digital number is 12 bits, the reference clock pulse frequency reaches 20 MHz. With this, MO8IC and IL (Integrate
d Injection Logic) does not work, so conventionally one countermeasure has been to unavoidably lower the PWM frequency to about 2KH2 and further lower the digital precision to about 10 bits. However, this method has the disadvantage that the characteristics of the low-pass filter for removing the carrier of the PWM wave may affect the phase characteristics of the servo loop, and furthermore, the response characteristics in the nonlinear region may deteriorate. Ta.

この発明は上述の事情に対処すべくなされたもので、比
較的低い周波数のクロックパルスを使って、しかもPW
Mキャリア周波数を比較的高くできる修正形のパルス幅
変調方式を提供することを目的とする。
This invention was made to deal with the above-mentioned situation, and uses relatively low frequency clock pulses and
It is an object of the present invention to provide a modified pulse width modulation method that allows the M carrier frequency to be relatively high.

第2図は本方式の基本的な構成図であり、25は第1の
カウンタであり、入力端子2ノにスタートパルスP、が
入力するとクロックパルスCP1をカウントするように
なる。このカウンタ25のカウント出力のうち、下位ビ
ットは第1のメモリ26の一方の入力端子に加えられ、
上位ビットは第2のメモリ3oの入力端子に加えられる
。第1.第2のメモ1)2e、3oは、入力端子22を
介して加えられるストアパルスP2が入力した古きに入
力端に加えられている内容を保持し、出力端に導出する
FIG. 2 is a basic configuration diagram of this system, and 25 is a first counter, which starts counting clock pulses CP1 when a start pulse P is input to the input terminal 2. Of the count output of this counter 25, the lower bit is added to one input terminal of the first memory 26,
The upper bits are applied to the input terminal of the second memory 3o. 1st. The second memo 1) 2e and 3o retain the content that was previously applied to the input terminal when the store pulse P2 applied via the input terminal 22 was input, and output it to the output terminal.

第1のメモリ26の内容は、コンパレータ27の一方の
入力端に加えられる。このコンパレータ27の他方の入
力端には、第2のカウンタ28のカウント出力が加えら
れている。そして、第2のカウンタ28のキャリー出カ
とコンパレータ27の一致出力とは、フリップフロップ
回路29のセット端子、リセット4を子にそれぞれ加え
られる。
The contents of the first memory 26 are applied to one input of a comparator 27. The count output of a second counter 28 is applied to the other input terminal of the comparator 27. The carry output of the second counter 28 and the coincidence output of the comparator 27 are applied to the set terminal and reset terminal 4 of the flip-flop circuit 29, respectively.

したかつて、カウンタ25、メモリ26、コンパレータ
27、カウンタ28、フリップフロップ回路29の系統
をみた限りでは、第11ン1のものと同様な機能動作を
イ4る。
As far as we can see from the system of the counter 25, memory 26, comparator 27, counter 28, and flip-flop circuit 29, the functions and operations are similar to those of the 11th unit 1.

次に、この発明においては、前記キャリー出力は、第3
のカウンタ3ノにも入力される。この第3のカウンタ3
ノのカウント出力は、比較器32の一方に入力される。
Next, in this invention, the carry output is the third
It is also input to counter 3. This third counter 3
The count output of 0 is input to one side of the comparator 32.

この比+11M632の他方Oこは、前記η42のメモ
リ30の保持出力が加えられる。この比較器32は、第
2のメモリ30の保持内容に応じて、カウンタ3ノの出
力を用い、PWM波修正度を決定するものである。
The holding output of the memory 30 of η42 is added to the other side of this ratio +11M632. This comparator 32 uses the output of the counter 3 to determine the degree of PWM wave modification according to the content held in the second memory 30.

つまり、メモリ30、比較器32、カウンタ31は、P
WM波1し正マクニチュードを決定するもので、この動
作は後で詳述するっ比較器32の出力は、同期化回路3
3に入力される。
In other words, the memory 30, comparator 32, and counter 31 are
The output of the comparator 32 is used to determine the positive magnitude of the WM wave 1, and this operation will be explained in detail later.
3 is input.

この同期化回路33は、入力端子23から禁止回路34
を1市してカウンタ28にクロックパルスCP2か入力
するのを禁示するの6ご、禁止タイミンクをとるための
ものである。
This synchronization circuit 33 connects the input terminal 23 to the inhibition circuit 34.
This is to set the timing for prohibiting input of the clock pulse CP2 to the counter 28 after inputting the clock pulse CP2.

上古v第2図の回路を受に具体的にした例が第3図に示
す回路である。第2図と同一部は、同符号を付して曲間
する。第3図において、カウンタ2互は1+1]えば1
2ビツト、第1のメモリ26は8ビツト、第2のメモリ
5o114ビツト、カウンタ31は4ビツトさして説明
する。□カウンタ31のカウント出力と、第2のメモリ
30のカウント出力は、出力ビツト数が同じである。比
較器32には、この出力ビツト数と同じ数のアンド回路
41,42,43.44が設けられている。各アンド回
路は、第2のメモリ3ノの内容とカウンタ3ノの内容と
の対応ビット間の論理積をおる。ここで対応ヒツトは、
−上位、下位方向に各内容をみた場合に、互いの内容が
上位、下位で逆方向となるように対応づけられている。
The circuit shown in FIG. 3 is a concrete example of the circuit shown in FIG. 2 as a receiver. The same parts as in FIG. 2 are denoted by the same reference numerals between songs. In Figure 3, the two counters are 1+1], for example, 1
2 bits, the first memory 26 is 8 bits, the second memory 5o114 bits, and the counter 31 is 4 bits. □The count output of the counter 31 and the count output of the second memory 30 have the same number of output bits. The comparator 32 is provided with the same number of AND circuits 41, 42, 43, and 44 as the number of output bits. Each AND circuit performs a logical product between corresponding bits of the contents of the second memory 3 and the contents of the counter 3. The corresponding person here is
- When looking at each content in the upper and lower directions, the contents are correlated so that the upper and lower parts are in opposite directions.

つ才り、上位のビットと下位のビットが逆配列関係とな
るように対応づけられている。アンド回路41〜44の
出力は、同期化回路33を構成するDクイブフリツブフ
ロツブ回路45〜48の各対応するデータ入力端子と、
オア回路49・〜52の各第1入力端に加えられる。オ
ア回路49〜52の各第2入力端には、前ieDタイプ
フリップ″フ1フツプ回路45〜48の各反転出力が加
えられる、また、l)タイプフリップフロップ回路45
〜48の各り1つツク入力端には、先の入力端子23か
ら加えられるクロックパルスか入力される。そしてオア
回路49〜52の各出力端は、桧止回路34としてのア
ンド回路に接続される。同期化回路33ハ、クロックパ
ルスCP2に同、nubて、アンド回路41〜44の出
力の(filれか1つでも零(ロウレベル)になった際
、そσ)立下りに同勘して禁止パルスを出力する。
In other words, the upper bits and lower bits are correlated so that they are in reverse order. The outputs of the AND circuits 41 to 44 are connected to the corresponding data input terminals of the D-quib flip-flop circuits 45 to 48 constituting the synchronization circuit 33,
It is applied to each first input terminal of OR circuits 49 to 52. The respective inverted outputs of the previous ieD type flip-flop circuits 45 to 48 are applied to the second input terminals of the OR circuits 49 to 52, and the l) type flip-flop circuits 45
A clock pulse applied from the previous input terminal 23 is input to each of the input terminals 48 to 48. Each output terminal of the OR circuits 49 to 52 is connected to an AND circuit serving as a stop circuit 34. The synchronization circuit 33 c, in response to the clock pulse CP2, prohibits the outputs of the AND circuits 41 to 44 (if any one of them becomes zero (low level), then σ) falls. Outputs pulses.

次に上記した回路の動作ヲh足明する。この回路による
と、クロックパルスcp、pたとえは1、28 M H
Z古しても、メモリ26が8ヒツト、カウンタ28も8
ヒツトであるから、5に、、HzのPWM波きなる。こ
のますでは、量化誤差が大きいので、これを補完して精
度を上げるために、本回路の特徴部分が動作するっつま
り、本回路(こては、PWM波のキャリア周期を自動的
に修正する。っ 第4図に示すように、8ビツト構成のPWM波発生部は
、1周期で256個のクロックパルスCP2を要するが
、このクロックパルスCP2を適当なタイミンクで禁止
すれば、257個のPWM波周期に延ばすことができる
。つまり、P W M波の周期を第4図fa) 、 f
b)に比較して示す、ように、256Δtから257Δ
tにqルばし、例えは立上りから立下りまでの期間T1
をT1+] Δ1にすることができる。但しΔt−、fcpcp はクロックパルス周波斂である。このよう番こするため
には、たとえば周期の始め、つまりスタート時(キャリ
ー出力を得る前)にクロックパルスCP2がカウンタ2
8に入力するのを1個分禁止すればよい。この修正は、
ハイレベルの期間が変るのみならす、周期も変るが修正
部分が全周期に比べて小さいので、1/256と1/2
57とは略同じとみてよい。
Next, the operation of the above circuit will be explained. According to this circuit, the clock pulse cp,p for example is 1,28 MH
Even though the Z is old, the memory 26 is 8 hits and the counter 28 is also 8.
Since it is a human, a PWM wave of 5 Hz is generated. In this case, the quantification error is large, so in order to compensate for this and increase the accuracy, the characteristic part of this circuit operates. As shown in Figure 4, the PWM wave generator with an 8-bit configuration requires 256 clock pulses CP2 in one cycle, but if this clock pulse CP2 is inhibited at an appropriate timing, 257 PWM wave generators can be generated. In other words, the period of the PWM wave can be extended to the period of the PWM wave as shown in Fig. 4 fa), f
As shown in comparison with b), from 256Δt to 257Δ
For example, the period T1 from the rising edge to the falling edge
can be set to T1+]Δ1. However, Δt- and fcpcp are clock pulse frequency contrasts. In order to do this, for example, at the beginning of the cycle, i.e., at the start (before obtaining the carry output), the clock pulse CP2 is applied to the counter 2.
It is sufficient to prohibit inputting one item into 8. This modification is
If only the high level period changes, the cycle also changes, but the correction part is small compared to the whole cycle, so it is 1/256 and 1/2
It can be considered that it is almost the same as 57.

このような修正を、PWM波のたとえば、16周期に1
回だけ修正したとすると、1/16たけアナログ電圧が
変ったことになりそれだけデジタルアナログ変換梢度が
上ったことになる。
Such correction is applied once every 16 cycles of the PWM wave, for example.
If the correction is made only once, the analog voltage has changed by 1/16, and the digital-to-analog conversion rate has increased by that much.

次に、16周期に複数回の修正を行なおとした場合は、
その修正位置は、できるだけ均等番こ配分した方がよい
。たとえば16周期に4回行うとすると、4周期毎に1
回行った方が、2wM波をアナログ変換した際、修正の
効果が時間的に平均して現われる。そこで本回路では、
メモリ30の4bロデータを用いて修正する場合、■偶
数周期で修正する場合は、必す均等ζこ修正し■かつ2
進加算的に修正し各ビットにおける修正位置は変更しな
い。この■■の条件を設定するために、メモリ30のカ
ウント内容出力において、「1,2,4,8」のカウン
トビットをとりだしている。
Next, if you make multiple corrections in 16 cycles,
It is better to distribute the correction positions as evenly as possible. For example, if you do it 4 times in 16 cycles, 1 time every 4 cycles.
When the 2wM wave is converted to analog, the effect of the correction appears on average over time. Therefore, in this circuit,
When making corrections using the 4b data in the memory 30, ■When making corrections in even-numbered cycles, make sure to make even corrections and
Modification is performed in a base-addition manner, and the modification position for each bit is not changed. In order to set the conditions of ■■, the count bits "1, 2, 4, 8" are extracted from the count content output of the memory 30.

具体的に第5図を参照して述べると、第5図(a)は、
無修正のPWM波であり、第5 図(bl 〜fplは
禁止パルスが禁止回路34に入力するタイミングパルス
例である。
Specifically, referring to FIG. 5, FIG. 5(a) shows
This is an unmodified PWM wave, and FIG.

今、PWM波の16周期T+6に1回修正するものとす
ると、第5図(b)のタイミンクパルスl)1が得られ
る。次に、16周期T141に2回修正を行うとすると
第5図(clのタイミンクパルスC1が得られる。つま
り、カウンタ3)は、カウンタ28のキャリーをカウン
トしているため、カウンタ3ノの各ビット出力Y+  
+ Yt r Yt lX8は、第6図(a)〜(di
に示すようになる。ここで、メモリ30の各ビット出力
Xl  r X2 +X4+X8は、倒れのモードの禁
止パルスを得るのか決定する。例えば、今、各ビット出
力rx、。
Now, assuming that the PWM wave is corrected once every 16 cycles T+6, the timing pulse l)1 shown in FIG. 5(b) is obtained. Next, if correction is made twice in 16 cycles T141, the timing pulse C1 of cl is obtained in FIG. Bit output Y+
+ Yt r Yt lX8 is shown in Fig. 6(a) to (di
It becomes as shown in . Here, each bit output of the memory 30, Xl r For example, now each bit output rx,.

x2 、x番 、Xs」がrl、O,O,OJで・あっ
たとする。この場合は、アンド回路44に出力「1」を
得ることかできる。カウンタ31のビット出力「yλ」
は、16周期毎に立下るから、同期化回路32はこの立
下りタイミングでかつ、クロックパルスCP2に同期し
て禁止パルスを出力する。このときの禁止パルスモード
は、第5図fblに示すようにPWM波の16周周期上
なり、このときの波形が修正される。
Suppose that "x2, x number, Xs" is rl, O, O, OJ. In this case, it is possible to obtain an output "1" from the AND circuit 44. Bit output of counter 31 “yλ”
falls every 16 cycles, so the synchronization circuit 32 outputs the inhibit pulse at this falling timing and in synchronization with the clock pulse CP2. The prohibited pulse mode at this time is 16 cycles above the PWM wave as shown in FIG. 5fbl, and the waveform at this time is corrected.

I’xI lX2  lX4  +xsJ=rl、O,
0゜0」が変らなければこの修正が繰り返えされ、全体
を平均化すればrl、0,0.OJの内容に対応した分
修正されたことになる。また’ xl+ X2 1 x
41 xa J −r O+ 1 + O*0」であれ
ば、アンド回路43の出力が「1」となり得る。「y4
」は8周期毎に立下るパルス列であるから、第5図(c
lに示すような禁止パルス列モードなる。さらに[xl
  + X2 + x4+X、J=rl、1,0.OJ
であったとするとアンド回路43.44の出力が「1」
となり得る。そして、rysJr−y*Jはそれぞれ1
6周期、8周期毎に立下るから、第5図(diに示す禁
止パルスモードなる。しかし、このモードは、第5図(
bl 、 (C1のモードを2進加算的に合成すれば得
られる。したがって、16周期の毎周期を修正しようと
すれば[xl 、X2.x4.x8」=rl、]、1.
IJに設定すれば良く、この場合は、第5図(bl 、
 (C1、tel 、 (Iのモートを合成すれば良い
。これによって、全体を平均的に修正補完することがで
きる。
I'xI lX2 lX4 +xsJ=rl, O,
If "0°0" does not change, this correction is repeated, and if the whole is averaged, rl, 0,0. This means that it has been revised to correspond to the content of the OJ. Also' xl+ X2 1 x
41 xa J −r O+ 1 + O*0”, the output of the AND circuit 43 can be “1”. "y4
” is a pulse train that falls every 8 cycles, so Figure 5 (c
This becomes a prohibited pulse train mode as shown in FIG. Furthermore [xl
+X2+x4+X, J=rl, 1,0. O.J.
If so, the output of AND circuits 43 and 44 is "1"
It can be. And rysJr-y*J are each 1
Since the pulse falls every 6th or 8th period, it becomes the prohibited pulse mode shown in Fig. 5(di). However, this mode is
bl , (can be obtained by combining the modes of C1 in a binary additive manner. Therefore, if we try to modify each of the 16 cycles, [xl , X2.x4.x8''=rl, ], 1.
It is sufficient to set it to IJ, and in this case, it is necessary to set it to IJ.
(C1, tel, (I's mote can be synthesized. This allows the whole to be corrected and complemented on the average.

上記したrx+  + X2  ! X4 、Xs J
の例としてrl、0.O,OJ  I’0.1.O,O
J。
The above rx+ + X2! X4, Xs J
As an example, rl, 0. O, OJ I'0.1. O, O
J.

rl、1.O,OJ  、rl、1,1.IJを示した
が、このカウント内容についての意味は次の如く説明で
きる。今、PWM波の目標値は、メモリ26の内容がr
o、o、・・・1,0.OJであり、メモリ30の内容
かro、0,0.OJであるとき理想であったとする。
rl, 1. O, OJ, rl, 1,1. Although IJ is shown, the meaning of this count content can be explained as follows. Now, the target value of the PWM wave is that the contents of the memory 26 are r
o, o, ...1,0. OJ, and the contents of the memory 30 are ro, 0, 0 . Suppose that it is ideal when OJ is OJ.

この場合は、メモリ26の内容に対応したPWM波が得
られテイル。(無修正)ここで、ストアパルスP2のタ
イミングが遅れて、メモIJ s oの内容がrxl 
 lX2 1X4  +X5J=rl+ 0.0゜0」
になったとすると、これは、クロックパルスCP、の1
個分だけラッチタイミングが遅れたことを意味する。し
たがってこの場合は先のように16周期に1回の修正が
行なわれる。これによってPWM波をアナログ変換した
場合その出力の9?Aが行なわれる。次にメモリ30の
内容が”’+  、X2 1 X41 x8 J =r
011゜0.0」になったとする。このことは、ストア
パルスP2によ6ラツチタイミングがさらζご遅れたこ
おを意味する。したがってこの場合は、先のように8周
期に1回のPWM波修正が行なわれる。つまり、微細な
ずれは、4b目のメモリ30に内容によってそのタイミ
ングすれに応じたPWM波修正が行なわれることになる
In this case, a PWM wave corresponding to the contents of the memory 26 is obtained. (Uncensored) Here, the timing of store pulse P2 is delayed and the contents of memo IJ s o are
lX2 1X4 +X5J=rl+ 0.0゜0"
, this is one of the clock pulses CP,
This means that the latch timing is delayed by an amount equal to 1. Therefore, in this case, correction is performed once every 16 cycles as before. If the PWM wave is converted to analog by this, the output will be 9? A is done. Next, the contents of the memory 30 are "'+, X2 1 X41 x8 J = r
011°0.0''. This means that the latch timing is further delayed by the store pulse P2. Therefore, in this case, PWM wave correction is performed once every eight cycles as before. In other words, for minute deviations, the PWM wave is corrected in accordance with the timing deviation, depending on the contents of the 4bth memory 30.

上述したように本発明によると、クロックパルスCP2
の周波数を精度を高くする為に高い周波数に設定する必
要はなく、アナログ変換するのζご都合の良い周波数O
ζ選ぶことができ設計の自由度が拡大される1、また、
クロックパルスCP、の周波数を但<シたからと言って
従来の如<PWM波のキャリア周波数を低くする必要は
ない、これは第1.第2のメモリを用いて上位ピッ!・
と下位ビットを分割したことによる。
According to the present invention, as described above, the clock pulse CP2
There is no need to set the frequency of
ζ can be selected, increasing the degree of freedom in design1, and
However, just because the frequency of the clock pulse CP is lowered, it is not necessary to lower the carrier frequency of the PWM wave as in the conventional case. Use the second memory to select the upper level!・
This is due to the division of the lower bits.

さらに本発明によると、無修正のPWM波に対して修正
を行うことができ、その全体的にみた精度を高くするこ
とができる。なお修正手段としては、第2のメモIJ 
s oの内容を、予じめ禁止パルスモードを記憶してい
る演算器に入力してその内容に応じて修正タイミングを
得るようにしてもよいが、この場合は回路構成が抜雑に
なる。しかし本発明の実施例のものを用いれば非常に簡
単な構成で安価に実施可能であり、集積回路化するにも
適している。上述した説明において、修正のために抽出
するビット数は、4ビツトの場曾を述べたがこのビット
数は任意である。また第3図の回路は、パルスの極眩、
その他ビット数により種々変形できることはもちろんで
ある。
Furthermore, according to the present invention, it is possible to modify an unmodified PWM wave, thereby increasing its overall accuracy. As a correction method, please refer to the second memo IJ.
The contents of s0 may be inputted to an arithmetic unit that stores the prohibited pulse mode in advance, and the correction timing may be obtained in accordance with the contents, but in this case, the circuit configuration becomes sloppy. However, if the embodiments of the present invention are used, they can be implemented at low cost with a very simple structure, and are suitable for integration into an integrated circuit. In the above explanation, the number of bits to be extracted for correction is often 4 bits, but this number of bits is arbitrary. In addition, the circuit shown in Figure 3 has a pulse that is extremely dazzling.
Of course, various other modifications can be made depending on the number of bits.

このように本発明は、簡単な構成で、高精度、低リップ
ルの修正PWM波を発生し得るパルス幅変調方式を提供
できる。
As described above, the present invention can provide a pulse width modulation method that can generate a modified PWM wave with high precision and low ripple with a simple configuration.

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

第1図は従来のパルス幅変調回路の構成説明図、第2図
はこの発明の一実施例を示す構成説明図、第3図は第2
図の構成をさらに具体的に示した回路図、第4図(al
 、 (bl、第5図(al〜(pl、第6図(al〜
(d)は第3図の回路動作説明するのに示した動作信号
波形図である。 25.28.31・・カウンタ、26.30・・・メモ
リ、27・・・コンパレータ、32・・・比較器、33
・・・同期化回路、34・・・禁止回路。
FIG. 1 is a configuration explanatory diagram of a conventional pulse width modulation circuit, FIG. 2 is a configuration explanatory diagram showing an embodiment of the present invention, and FIG. 3 is a configuration explanatory diagram of a conventional pulse width modulation circuit.
FIG. 4 (al.
, (bl, Fig. 5 (al~ (pl, Fig. 6 (al~
(d) is an operation signal waveform diagram shown to explain the circuit operation of FIG. 3. 25.28.31...Counter, 26.30...Memory, 27...Comparator, 32...Comparator, 33
...Synchronization circuit, 34...Prohibition circuit.

Claims (1)

【特許請求の範囲】[Claims] 比較対象となる第1のパルスと第2のパルスの間隔を第
1のカウンタの第1のクロックパルスカウント数でとり
たし、このカウント内容をメモリに保持しておき、第2
のクロックパルスをカウントする第2のカウンタのカウ
ント数と該メモリの内容とをコンパレータにて比較し、
該コンパレータの一致出力と前記第2のカウンタのキャ
リー出力とをフリップフロップ回路に加えてパルス幅変
調出力を得るパルス幅変調方式において、前記メモリと
して前記第1のカウンタのカウント出力の周期の早い上
位ビットと周期の遅い下位ビットとの内容をそれぞれ保
持する第1.第2のメモリを設け、また前記第2のカウ
ンタのキャリー出力をカウントする第3のカウンタを設
け、前記カウント出力の周期の早い上位ビットの内容を
保持した第1のメモリの各ビット内容に応じて前記第3
のカウンタの各ビット出力を選択し、その選択出力によ
って前記第2のカウンタに入力する第2のクロックパル
スの禁止位置を決めることにより、パルス幅変調波を修
正するようにしたことを特徴とするパルス幅変調方式。
The interval between the first pulse and the second pulse to be compared is determined by the first clock pulse count number of the first counter, this count content is held in memory, and the second pulse is
A comparator compares the count number of a second counter that counts clock pulses with the contents of the memory,
In a pulse width modulation method in which a coincidence output of the comparator and a carry output of the second counter are added to a flip-flop circuit to obtain a pulse width modulation output, the upper part of the count output of the first counter with a faster cycle is used as the memory. The first . A second memory is provided, and a third counter for counting the carry output of the second counter is provided, and the count output corresponds to the contents of each bit of the first memory holding the contents of the high-order bits having a fast cycle. The third
The pulse width modulated wave is modified by selecting each bit output of the counter and determining the prohibited position of the second clock pulse input to the second counter based on the selected output. Pulse width modulation method.
JP56143461A 1981-09-11 1981-09-11 Pulse width modulating system Granted JPS5844817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56143461A JPS5844817A (en) 1981-09-11 1981-09-11 Pulse width modulating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56143461A JPS5844817A (en) 1981-09-11 1981-09-11 Pulse width modulating system

Publications (2)

Publication Number Publication Date
JPS5844817A true JPS5844817A (en) 1983-03-15
JPS6355812B2 JPS6355812B2 (en) 1988-11-04

Family

ID=15339237

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56143461A Granted JPS5844817A (en) 1981-09-11 1981-09-11 Pulse width modulating system

Country Status (1)

Country Link
JP (1) JPS5844817A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711694B1 (en) 2000-02-03 2004-03-23 Telefonaktiebolaget Lm Ericsson(Publ) Apparatus and method for generating a modulated clock signal including harmonics that exhibit a known sideband configuration

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6711694B1 (en) 2000-02-03 2004-03-23 Telefonaktiebolaget Lm Ericsson(Publ) Apparatus and method for generating a modulated clock signal including harmonics that exhibit a known sideband configuration

Also Published As

Publication number Publication date
JPS6355812B2 (en) 1988-11-04

Similar Documents

Publication Publication Date Title
US4620300A (en) Digital signal detecting and compensating circuit with adjustable window signal
US5247469A (en) Digital frequency synthesizer and method with vernier interpolation
JPS63121483A (en) Motor speed control system
AU610854B2 (en) Digital servo system using microcomputer for controlling phase and speed of rotary body
US4769613A (en) Digitalized amplitude detection circuit for analog input signal
US4535461A (en) Digital clock bit synchronizer
US4642562A (en) Phase difference demodulator
US4596964A (en) Digital phase locked loop
US3938184A (en) Digital flutter reduction system
JPS5844817A (en) Pulse width modulating system
US3159840A (en) Pattern sensitivity compensation in high pulse density recording
JP2775822B2 (en) Inverter on-delay circuit
US4543620A (en) Code generating apparatus
US5701285A (en) Optical data reproducing apparatus
JP2638812B2 (en) PLL circuit
KR870001231B1 (en) Arrangement for starting electric motor
US4731568A (en) Error signal generator
KR0135925Y1 (en) Circuit for generating control signal of sled motor for optical disk player
JP2624888B2 (en) TACH generation circuit for rotary head magnetic recording / reproducing device
JPH0553026B2 (en)
JP2797415B2 (en) Pulse width modulator
JPS63155209A (en) Digital servocontrol circuit
JPH0427040Y2 (en)
JP2634425B2 (en) Pitch modulation circuit
JPS60170074A (en) Information reproducer