JP6332319B2 - PWM circuit - Google Patents

PWM circuit Download PDF

Info

Publication number
JP6332319B2
JP6332319B2 JP2016074987A JP2016074987A JP6332319B2 JP 6332319 B2 JP6332319 B2 JP 6332319B2 JP 2016074987 A JP2016074987 A JP 2016074987A JP 2016074987 A JP2016074987 A JP 2016074987A JP 6332319 B2 JP6332319 B2 JP 6332319B2
Authority
JP
Japan
Prior art keywords
signal
carrier
period
carrier signal
unit
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
JP2016074987A
Other languages
Japanese (ja)
Other versions
JP2017188987A (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.)
Toyota Central R&D Labs Inc
Original Assignee
Toyota Central R&D Labs 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 Toyota Central R&D Labs Inc filed Critical Toyota Central R&D Labs Inc
Priority to JP2016074987A priority Critical patent/JP6332319B2/en
Publication of JP2017188987A publication Critical patent/JP2017188987A/en
Application granted granted Critical
Publication of JP6332319B2 publication Critical patent/JP6332319B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Inverter Devices (AREA)

Description

本発明は、パルス幅変調(PWM)信号を生成するPWM回路に関する。   The present invention relates to a PWM circuit that generates a pulse width modulation (PWM) signal.

従来から、所定の周期を有するのこぎり波や三角波等のキャリア信号を生成し、そのキャリア信号と、PWM信号のON期間の割合であるデューティ比決定用の閾値とを比較して、比較結果をPWM信号として出力するPWM回路が知られている。PWM信号は、閾値がキャリア信号よりも大きい場合にはON、そうでない場合はOFFとなる信号である。   Conventionally, a carrier signal such as a sawtooth wave or a triangular wave having a predetermined cycle is generated, the carrier signal is compared with a threshold for determining a duty ratio, which is a ratio of the ON period of the PWM signal, and the comparison result is converted to PWM. A PWM circuit that outputs a signal is known. The PWM signal is a signal that is turned on when the threshold value is larger than the carrier signal, and turned off otherwise.

例えば、PWM信号を用いてモータの駆動を制御する場合には、モータに印加する所望の交流電圧波形(正弦波など)に応じて閾値を変化させて、その交流電圧波形に従った幅の異なるパルス列のPWM信号を生成する。   For example, when controlling the drive of a motor using a PWM signal, the threshold value is changed according to a desired AC voltage waveform (such as a sine wave) applied to the motor, and the width varies according to the AC voltage waveform. A pulse train PWM signal is generated.

ところで、キャリア信号の周期(キャリア周期)ごとにデューティ比が大きく変化しない場合には、キャリア周期内のパルスの立ち上がり、および、立ち下がりエッジの位置がキャリア周期ごとに大きく変化しないことになる。それによって、PWM信号にキャリア周期の高調波成分が多く含まれる状態となる。高調波成分の周波数が可聴周波数であれば雑音を生じ、また、キャリア周期の高調波が連続して負荷(モータ等)に印加されることになる。   By the way, when the duty ratio does not change greatly for each carrier signal period (carrier period), the rising and falling edge positions of the pulse within the carrier period do not change greatly for each carrier period. As a result, the PWM signal is in a state in which many harmonic components of the carrier period are included. If the frequency of the harmonic component is an audible frequency, noise is generated, and harmonics of the carrier period are continuously applied to the load (motor or the like).

特許文献1および特許文献2には、この問題を解決するために、キャリア周期ごとにPWM信号のパルス発生位置を時間軸上でずらし、キャリア周期ごとにパルスの立ち上がり、および、立ち下がりエッジの位置を変化させることで、キャリア周期の高調波成分の発生を抑制することが記載されている。   In Patent Document 1 and Patent Document 2, in order to solve this problem, the pulse generation position of the PWM signal is shifted on the time axis for each carrier period, and the rising edge and the falling edge position for each carrier period. It is described that the generation of higher harmonic components of the carrier period is suppressed by changing.

特開2006−14449号公報JP 2006-14449 A 特開平7−177753号公報JP-A-7-177753

特許文献1および特許文献2の方法では、PWM信号のデューティ比が大きい場合、すなわち、キャリア周期内でON期間が多くを占める場合には、キャリア周期内においてパルス発生位置をずらせる量が少なくなり、パルスの立ち上がり、および、立ち下がりエッジの位置を大きく変化させることができない。したがって、PWM信号のデューティ比が大きい場合には、キャリア周期の高調波成分の発生を抑制することが困難である。   In the methods of Patent Document 1 and Patent Document 2, when the duty ratio of the PWM signal is large, that is, when the ON period occupies a large amount within the carrier period, the amount of shift of the pulse generation position within the carrier period decreases. The position of the rising edge and the falling edge of the pulse cannot be changed greatly. Therefore, when the duty ratio of the PWM signal is large, it is difficult to suppress the generation of harmonic components of the carrier period.

そこで、本発明の目的は、PWM信号のデューティ比が大きい場合であっても、キャリア周期の高調波成分の発生を抑制することできるPWM回路を提供することである。   Accordingly, an object of the present invention is to provide a PWM circuit capable of suppressing the generation of harmonic components of a carrier period even when the duty ratio of the PWM signal is large.

本発明のPWM回路は、キャリア信号を生成するキャリア信号生成部と、前記キャリア信号と、PWM信号のデューティ比決定用の閾値とを比較し、その比較結果を前記PWM信号として出力するコンパレータ部と、を備え、前記キャリア信号生成部は、前記キャリア信号の周期に同期させて、前記キャリア信号の位相を乱数的に変化させる、ことを特徴とする。   The PWM circuit of the present invention includes a carrier signal generation unit that generates a carrier signal, a comparator unit that compares the carrier signal with a threshold value for determining a duty ratio of the PWM signal, and outputs the comparison result as the PWM signal. , And the carrier signal generation unit randomly changes the phase of the carrier signal in synchronization with the period of the carrier signal.

本発明のPWM回路において、前記キャリア信号生成部は、前記キャリア信号の周期の1/N倍(Nは2以上の整数)の周期を有するクロック信号に同期させてカウントを行うカウンタ部と、0からN−1までの間の整数の乱数を発生する乱数発生部と、位相変更部と、を備え、前記カウンタ部は、M(Mは0以上の整数)からN−1+Mまでカウントアップを行い、N−1+Mに達した時にはMに戻ってカウントアップを繰り返す、または、N−1+MからMまでカウントダウンを行い、Mに達した時にはN−1+Mに戻ってカウントダウンを繰り返すことで、前記キャリア信号の周期を有する基準信号を生成し、前記乱数発生部は、前記基準信号が予め定められた値になった時点で前記乱数を更新し、それ以外の時点では前記乱数を保持し、前記位相変更部は、前記基準信号をMだけ減じた基準変動信号と、前記乱数とを加算して得られた第1の値を、Nで除算して剰余を求めることで、前記基準変動信号に対して位相が乱数的に変化する位相変更信号を生成し、前記位相変更信号に基づいて、前記キャリア信号を生成する、としても好適である。   In the PWM circuit of the present invention, the carrier signal generation unit includes a counter unit that counts in synchronization with a clock signal having a period of 1 / N times (N is an integer of 2 or more) the period of the carrier signal; And a phase change unit, and the counter unit counts up from M (M is an integer of 0 or more) to N-1 + M. , When N-1 + M is reached, return to M and repeat count-up, or count down from N-1 + M to M, and when M reaches M, return to N-1 + M and repeat count-down, A reference signal having a period is generated, and the random number generator updates the random number when the reference signal reaches a predetermined value, and holds the random number at other times The phase change unit divides the first value obtained by adding the reference fluctuation signal obtained by subtracting the reference signal by M and the random number by N to obtain a remainder, thereby obtaining the reference fluctuation. It is also preferable that a phase change signal whose phase changes randomly with respect to the signal is generated, and the carrier signal is generated based on the phase change signal.

また、本発明のPWM回路において、前記キャリア信号生成部は、前記キャリア信号の1周期分の時系列データを記憶した記憶部をさらに備え、前記位相変更信号を読み出しアドレスとして用いて、前記記憶部から前記時系列データを読み出し、前記読み出された前記時系列データを、前記キャリア信号として出力する、としても好適である。   In the PWM circuit of the present invention, the carrier signal generation unit further includes a storage unit that stores time-series data for one period of the carrier signal, and uses the phase change signal as a read address, and the storage unit It is also preferable that the time-series data is read out from the data and the read-out time-series data is output as the carrier signal.

本発明のPWM回路によれば、キャリア信号の周期(キャリア周期)に同期させて、キャリア信号の位相を乱数的に変化させることで、PWM信号のデューティ比の大きさに関わらず、キャリア周期内におけるPWM信号のパルスの立ち上がり、および、立ち下がりエッジの位置がキャリア周期ごとに大きく変化する。したがって、PWM信号のデューティ比が大きい場合であっても、キャリア周期の高調波成分の発生を抑制することができる。   According to the PWM circuit of the present invention, the phase of the carrier signal is changed at random in synchronization with the cycle of the carrier signal (carrier cycle). The position of the rising edge and the falling edge of the pulse of the PWM signal greatly changes at every carrier period. Therefore, even when the duty ratio of the PWM signal is large, generation of harmonic components of the carrier period can be suppressed.

実施形態1におけるPWM回路の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a PWM circuit in the first embodiment. 位相変更部の構成を示すブロック図である。It is a block diagram which shows the structure of a phase change part. 基準信号、基準変動信号および位相変更信号の1キャリア周期内の変化の例を示すタイミングチャートである。It is a timing chart which shows the example of the change within one carrier period of a reference signal, a reference fluctuation signal, and a phase change signal. 実施形態1のキャリア信号およびPWM信号の変化の例と、従来技術のキャリア信号(従来)およびPWM信号(従来)の変化の例を示すタイミングチャートである。4 is a timing chart illustrating an example of changes in the carrier signal and the PWM signal according to the first embodiment and an example of changes in the carrier signal (conventional) and the PWM signal (conventional) according to the related art. 実施形態2におけるPWM回路の構成を示すブロック図である。FIG. 6 is a block diagram illustrating a configuration of a PWM circuit according to a second embodiment. 実施形態2の三角波変換部の構成を示すブロック図である。6 is a block diagram illustrating a configuration of a triangular wave converter according to a second embodiment. FIG. 1キャリア周期内の位相変更信号の変化に対する三角波信号の変化の例を示すタイミングチャートである。It is a timing chart which shows the example of the change of a triangular wave signal with respect to the change of the phase change signal within 1 carrier period. 実施形態2のキャリア信号およびPWM信号の変化の例と、従来技術のキャリア信号(従来)およびPWM信号(従来)の変化の例を示すタイミングチャートである。6 is a timing chart showing an example of changes in the carrier signal and PWM signal of Embodiment 2 and an example of changes in the carrier signal (conventional) and the PWM signal (conventional) of the prior art. 実施形態3におけるPWM回路の構成を示すブロック図である。FIG. 10 is a block diagram illustrating a configuration of a PWM circuit according to a third embodiment. 実施形態3の記憶部に記憶された1周期分のキャリア信号(三角波)の時系列データの例を示す表である。10 is a table illustrating an example of time-series data of carrier signals (triangular waves) for one period stored in a storage unit according to the third embodiment.

以下、本発明のPWM回路の実施形態を図面を参照しながら説明する。   Hereinafter, embodiments of a PWM circuit of the present invention will be described with reference to the drawings.

(実施形態1)
図1は、本発明の実施形態1におけるPWM回路100aの構成を示すブロック図である。PWM回路100aは、キャリア信号を生成するキャリア信号生成部80と、キャリア信号と、PWM信号のデューティ比決定用の閾値とを比較し、その比較結果をPWM信号として出力するコンパレータ部90とを備える。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of a PWM circuit 100a according to the first embodiment of the present invention. The PWM circuit 100a includes a carrier signal generation unit 80 that generates a carrier signal, and a comparator unit 90 that compares the carrier signal with a threshold value for determining the duty ratio of the PWM signal and outputs the comparison result as a PWM signal. .

コンパレータ部90には、閾値と、キャリア信号生成部80からのキャリア信号とが入力され、コンパレータ部90は、閾値がキャリア信号よりも大きい場合にはPWM信号をHigh(ON)にし、そうでない場合にはPWM信号をLow(OFF)にして、PWM信号を出力する。   The threshold value and the carrier signal from the carrier signal generation unit 80 are input to the comparator unit 90. When the threshold value is larger than the carrier signal, the comparator unit 90 sets the PWM signal to High (ON), otherwise The PWM signal is set to Low (OFF) and the PWM signal is output.

キャリア信号生成部80には、キャリア信号の周期(キャリア周期)TSWの1/N倍(Nは2以上の整数)の周期TCLKを有するクロック信号CLKが入力され、キャリア信号生成部80は、クロック信号CLKを用いてキャリア信号を生成し、出力する。なお、実施形態1のPWM回路100aでは、キャリア信号として「のこぎり波」が生成される。キャリア信号生成部80は、クロック信号CLKに同期させてカウントを行うカウンタ部10と、0からN−1までの間の整数の乱数を発生する乱数発生部20と、位相変更部40と、を備える。 The carrier signal generation unit 80 receives a clock signal CLK having a period T CLK that is 1 / N times (N is an integer of 2 or more) the period (carrier period) T SW of the carrier signal. The carrier signal is generated and output using the clock signal CLK. In the PWM circuit 100a of the first embodiment, a “sawtooth wave” is generated as a carrier signal. The carrier signal generation unit 80 includes a counter unit 10 that counts in synchronization with the clock signal CLK, a random number generation unit 20 that generates an integer random number between 0 and N−1, and a phase change unit 40. Prepare.

カウンタ部10には、クロック信号CLKが入力され、カウンタ部10は、クロック信号CLKに同期させて、M(Mは0以上の整数)からN−1+Mまでカウントアップを行い、N−1+Mに達した時にはMに戻ってカウントアップを繰り返すことで、キャリア周期を有する基準信号を生成し、出力する。図3(A)には、1キャリア周期TSW分の基準信号の変化の例を示してある。カウンタ部10がN回カウントを行うことで、1キャリア周期TSW分の基準信号ができる。図3(A)の基準信号の例では、キャリア周期の先頭の値がMになっているが、キャリア周期の先頭の値は、カウンタ部10のカウント値がとりえる値のいずれであっても良い。 The clock signal CLK is input to the counter unit 10, and the counter unit 10 counts up from M (M is an integer of 0 or more) to N−1 + M in synchronization with the clock signal CLK, and reaches N−1 + M. In this case, the reference signal having the carrier period is generated and output by repeating the count-up by returning to M. FIG. 3A shows an example of a change in the reference signal for one carrier cycle TSW . When the counter unit 10 counts N times, a reference signal for one carrier cycle TSW is generated . In the example of the reference signal in FIG. 3A, the leading value of the carrier period is M, but the leading value of the carrier period is any value that the count value of the counter unit 10 can take. good.

乱数発生部20には、カウンタ部10からの基準信号が入力され、乱数発生部20は、基準信号が予め定められた値になった時点で乱数(0からN−1までの間の整数)を更新し、それ以外の時点では乱数を保持する。予め定められた値は、基準信号のキャリア周期の先頭の値である。基準信号が予め定められた値(例えば、M)になるのは、1キャリア周期TSWに1回だけである。乱数発生部20は、キャリア周期の先頭で、1回だけ乱数を更新し、キャリア周期内ではその乱数を保持する。図3(A)の基準信号の例では、キャリア周期の先頭の値はMであるため、乱数発生部20は、基準信号がMになった時点(キャリア周期の先頭)で、乱数を更新する。 The random number generator 20 receives the reference signal from the counter unit 10, and the random number generator 20 receives a random number (an integer between 0 and N−1) when the reference signal reaches a predetermined value. Is updated, and the random number is held at other times. The predetermined value is the first value of the carrier period of the reference signal. The reference signal becomes a predetermined value (for example, M) only once in one carrier cycle TSW . The random number generator 20 updates the random number only once at the beginning of the carrier period, and holds the random number within the carrier period. In the example of the reference signal in FIG. 3A, since the leading value of the carrier period is M, the random number generator 20 updates the random number when the reference signal becomes M (the leading edge of the carrier period). .

位相変更部40には、カウンタ部10からの基準信号と、乱数発生部20からの乱数とが入力され、位相変更部40は、基準信号と乱数とを用いて位相変更信号を生成し、出力する。実施形態1では、位相変更信号がキャリア信号となる。   The phase change unit 40 receives the reference signal from the counter unit 10 and the random number from the random number generation unit 20, and the phase change unit 40 generates a phase change signal using the reference signal and the random number and outputs the phase change signal. To do. In the first embodiment, the phase change signal is a carrier signal.

図2は、位相変更部40の構成を示すブロック図である。また、図3は、位相変更部40における基準信号、基準変動信号および位相変更信号の1キャリア周期TSW内の変化の例を示すタイミングチャートである。 FIG. 2 is a block diagram illustrating a configuration of the phase changing unit 40. FIG. 3 is a timing chart showing an example of changes within one carrier cycle TSW of the reference signal, the reference variation signal, and the phase change signal in the phase change unit 40.

図2に示すように、位相変更部40は、減算部25と、加算部30と、剰余計算部31とを備える。減算部25には、基準信号が入力され、減算部25は、基準信号(MからN−1+Mまでの間の整数)をMだけ減じた基準変動信号(0からN−1までの間の整数)を生成し、出力する。図3(B)に示すように、基準変動信号は、基準信号から、基準信号に含まれているオフセット(M)分が取り除かれた信号である。なお、Mが0の場合は、基準信号と、基準変動信号とは同じ信号である為、減算部25は省略され、基準信号が基準変動信号となる。   As shown in FIG. 2, the phase changing unit 40 includes a subtracting unit 25, an adding unit 30, and a remainder calculating unit 31. A reference signal is input to the subtracting unit 25, and the subtracting unit 25 subtracts the reference signal (an integer between M and N-1 + M) by M, which is an integer between 0 and N-1. ) Is generated and output. As shown in FIG. 3B, the reference variation signal is a signal obtained by removing the offset (M) included in the reference signal from the reference signal. When M is 0, since the reference signal and the reference variation signal are the same signal, the subtracting unit 25 is omitted, and the reference signal becomes the reference variation signal.

加算部30には、基準変動信号と、乱数とが入力され、加算部30は、基準変動信号(0からN−1までの間の整数)と、乱数(0からN−1までの間の整数)とを加算して第1の値を生成し、出力する。剰余計算部31には、加算部30からの第1の値が入力され、剰余計算部31は、第1の値を、Nで除算して剰余を求め、その剰余を位相変更信号として出力する。   The adder 30 receives the reference fluctuation signal and the random number, and the adder 30 receives the reference fluctuation signal (an integer between 0 and N−1) and a random number (between 0 and N−1). (Integer) is added to generate and output the first value. The remainder calculation unit 31 receives the first value from the addition unit 30, and the remainder calculation unit 31 divides the first value by N to obtain a remainder, and outputs the remainder as a phase change signal. .

図3(C)には、乱数が0、1、2およびN−1の時の位相変更信号の例を示してある。位相変更信号は、乱数の値に応じて、基準変動信号を以下の(数1)式で求められる量だけ位相をずらした信号である。   FIG. 3C shows an example of the phase change signal when the random numbers are 0, 1, 2, and N-1. The phase change signal is a signal obtained by shifting the phase of the reference variation signal by an amount obtained by the following equation (1) according to the value of the random number.

位相=2π×(乱数/N) (数1)   Phase = 2π × (random number / N) (Equation 1)

乱数=0の場合は、位相変更信号と基準変動信号とは同じとなり、位相変更信号と、基準変動信号とに位相のずれはない。一方、乱数の値が0でない場合は、乱数の値に応じて、位相変更信号は、基準変動信号から位相がずれた信号となる。   When the random number = 0, the phase change signal and the reference variation signal are the same, and there is no phase shift between the phase change signal and the reference variation signal. On the other hand, when the value of the random number is not 0, the phase change signal is a signal whose phase is shifted from the reference variation signal according to the value of the random number.

図4の上部には、実施形態1の位相変更信号(キャリア信号)の変化の例と、その位相変更信号(キャリア信号)を用いて生成されたPWM信号が示されている。また、図4の下部には、各キャリア周期でキャリア信号の位相が変化しない従来技術の「のこぎり波」のキャリア信号(従来)の変化の例と、そのキャリア信号(従来)を用いて生成されたPWM信号(従来)が示されている。図4では、図3に比べてNの値をより大きくして、キャリア信号がより直線状に変化する様子が描かれている。   In the upper part of FIG. 4, an example of a change in the phase change signal (carrier signal) of the first embodiment and a PWM signal generated using the phase change signal (carrier signal) are shown. In the lower part of FIG. 4, an example of the change of the carrier signal (conventional) of the conventional “sawtooth wave” in which the phase of the carrier signal does not change in each carrier period and the carrier signal (conventional) are generated. The PWM signal (conventional) is shown. FIG. 4 shows a state in which the value of N is made larger than that in FIG. 3 and the carrier signal changes more linearly.

前述したように、乱数発生部20は、キャリア周期の先頭で乱数を更新し、キャリア周期内ではその乱数を保持する。図4では、第1周期の先頭で乱数=0に更新され、第2周期〜第4周期の各周期の先頭で乱数が0でない値に更新された例を示している。また、第2周期〜第4周期の各周期では、互いに異なる値の乱数となった場合の例を示している。したがって、第1周期〜第4周期の各位相変更信号(キャリア信号)は、位相のずれ量が互いに異なっている(各キャリア周期でキャリア信号の位相が異なっている)。   As described above, the random number generator 20 updates the random number at the beginning of the carrier period, and holds the random number within the carrier period. FIG. 4 shows an example in which the random number is updated to 0 at the beginning of the first period, and the random number is updated to a value other than 0 at the beginning of each period from the second period to the fourth period. In addition, in each of the second to fourth periods, an example is shown in which random numbers having different values are obtained. Accordingly, the phase change signals (carrier signals) in the first period to the fourth period have different amounts of phase shift (the phase of the carrier signal is different in each carrier period).

閾値は、1キャリア周期TSW内では一定の信号であり、キャリア周期毎に変化する信号であるが、図4では、各キャリア周期で同一の閾値が用いられている。閾値は0〜1.00の値であり、閾値が1キャリア周期TSW内で常にキャリア信号以下となる時の閾値は0であり、閾値が1キャリア周期TSW内で常にキャリア信号より大きい時の閾値は1.00である。閾値が0〜1.00の値をとることによって、PWM信号のデューティ比、すなわち、1キャリア周期TSW内のPWM信号のON期間の割合は、0%〜100%まで変化することになる。図4では、位相変更信号(キャリア信号)と比較される閾値と、キャリア信号(従来)と比較される閾値は、両方とも0.85になっている。よって、図4では、実施形態1のPWM信号および従来技術のPWM信号(従来)のデューティ比、すなわち、1キャリア周期TSW内のPWM信号のON期間の割合は、各キャリア周期で85%となっている。 The threshold value is a constant signal within one carrier cycle TSW and is a signal that changes for each carrier cycle. In FIG. 4, the same threshold value is used for each carrier cycle. Threshold is a value of from 0 to 1.00, the threshold when the threshold becomes less constantly carrier signal within one carrier period T SW 0, when the threshold is always greater than the carrier signal within one carrier period T SW The threshold value is 1.00. By threshold has a value of from 0 to 1.00, the duty ratio of the PWM signal, i.e., the ratio of the ON period of the PWM signal within one carrier period T SW will vary from 0% to 100%. In FIG. 4, the threshold value compared with the phase change signal (carrier signal) and the threshold value compared with the carrier signal (conventional) are both 0.85. Therefore, in FIG. 4, the duty ratio of the PWM signal of Embodiment 1 and the PWM signal of the prior art (conventional), that is, the ratio of the ON period of the PWM signal within one carrier cycle TSW is 85% in each carrier cycle. It has become.

図4に示すように、各キャリア周期で閾値の変化がない(デューティ比が変化しない)場合には、従来技術のPWM信号(従来)のように各キャリア周期内のパルスの立ち上がり、および、立ち下がりエッジの位置が変化しないことになり、それによって、PWM信号(従来)にキャリア周期の高調波成分が多く含まれる状態となる。   As shown in FIG. 4, when there is no change in the threshold value in each carrier cycle (duty ratio does not change), the rising and rising edges of the pulses in each carrier cycle as in the prior art PWM signal (conventional). The position of the falling edge does not change, and as a result, the PWM signal (conventional) includes a large number of harmonic components of the carrier period.

それに対して、実施形態1のPWM回路100aでは、キャリア信号の周期(キャリア周期)に同期させて、キャリア信号の位相が乱数的に変化するので、図4に示すように、各キャリア周期で閾値の変化がない(デューティ比が変化しない)場合であっても、PWM信号の各キャリア周期内のパルスの立ち上がり、および、立ち下がりエッジの位置が大きく変化する。また、1キャリア周期TSW内のPWM信号のパルスの数がキャリア周期によって変化(図4では、第1周期と第4周期のパルスの数は1つ、第2周期と第3周期のパルスの数は2つ)し、各キャリア周期内のパルスの立ち上がり、および、立ち下がりエッジの順序(立ち上がりが最初に来るか、立ち下がりが最初に来るか)が変化し、エッジの数が変化する。したがって、スペクトル拡散効果が十分に得られ、PWM信号に、キャリア周期の高調波成分が含まることを抑制することができる。 On the other hand, in the PWM circuit 100a of the first embodiment, the phase of the carrier signal changes in a random manner in synchronization with the carrier signal cycle (carrier cycle). Even when there is no change in (the duty ratio does not change), the rise and fall edge positions of the pulses within each carrier period of the PWM signal change greatly. In addition, the number of pulses of the PWM signal in one carrier period TSW varies depending on the carrier period (in FIG. 4, the number of pulses in the first period and the fourth period is one, and the number of pulses in the second period and the third period The number of edges is changed, and the rising edge of the pulse in each carrier period and the order of falling edges (whether the rising edge comes first or the falling edge comes first) are changed. Therefore, a sufficient spread spectrum effect can be obtained, and the PWM signal can be prevented from containing harmonic components of the carrier period.

また、特許文献1および特許文献2に記載されているような、キャリア周期ごとにPWM信号(従来)のパルス発生位置を時間軸上でずらす方法では、図4に示すような、PWM信号のデューティ比が大きい場合、すなわち、キャリア周期内でON期間が多くを占める場合には、キャリア周期内においてパルス発生位置をずらせる量が少なくなる。したがって、パルスの立ち上がり、および、立ち下がりエッジの位置を大きく変化させることができず、キャリア周期の高調波成分の発生を抑制することができない。   Further, in the method of shifting the pulse generation position of the PWM signal (conventional) on the time axis for each carrier cycle as described in Patent Document 1 and Patent Document 2, the duty of the PWM signal as shown in FIG. When the ratio is large, that is, when the ON period occupies a large amount within the carrier period, the amount of shifting the pulse generation position within the carrier period is reduced. Therefore, the rising and falling edge positions of the pulse cannot be changed greatly, and the generation of harmonic components of the carrier period cannot be suppressed.

それに対して、実施形態1のPWM回路100aでは、PWM信号のデューティ比が大きい場合であっても、図4に示すように、キャリア周期内におけるPWM信号のパルスの立ち上がり、および、立ち下がりエッジの位置がキャリア周期ごとに大きく変化するので、スペクトル拡散効果が十分に得られ、PWM信号に、キャリア周期の高調波成分が含まることを抑制することができる。   On the other hand, in the PWM circuit 100a of the first embodiment, even when the duty ratio of the PWM signal is large, as shown in FIG. 4, the rise of the pulse of the PWM signal within the carrier cycle and the falling edge Since the position changes greatly for each carrier period, a sufficient spread spectrum effect can be obtained, and the PWM signal can be prevented from containing harmonic components of the carrier period.

以上説明した実施形態1のPWM回路100aによれば、キャリア信号の周期(キャリア周期)に同期させて、キャリア信号の位相を乱数的に変化させることで、PWM信号のデューティ比の大きさに関わらず、キャリア周期内におけるPWM信号のパルスの立ち上がり、および、立ち下がりエッジの位置がキャリア周期ごとに大きく変化する。したがって、PWM信号のデューティ比が大きい場合であっても、キャリア周期の高調波成分の発生を抑制することができる。   According to the PWM circuit 100a of the first embodiment described above, the phase of the carrier signal is changed randomly in synchronization with the cycle of the carrier signal (carrier cycle). First, the rising edge and the falling edge position of the PWM signal pulse within the carrier period change greatly for each carrier period. Therefore, even when the duty ratio of the PWM signal is large, generation of harmonic components of the carrier period can be suppressed.

また、実施形態1のPWM回路100aによれば、簡易な回路構成で、キャリア周波数(1/キャリア周期TSW)や1キャリア周期TSW内のON期間の割合を変えることなく、キャリア周期の高調波成分の発生を抑制することができる。 Further, according to the PWM circuit 100a of the first embodiment, the carrier frequency is higher with a simple circuit configuration without changing the carrier frequency (1 / carrier cycle T SW ) or the ratio of the ON period in one carrier cycle T SW . Generation of wave components can be suppressed.

以上説明した実施形態1のPWM回路100aでは、キャリア信号生成部80のカウンタ部10がカウントアップを行うことにより、基準信号を生成した。しかし、カウンタ部10がカウントダウンを行うことにより、基準信号を生成するとしても良い。具体的には、カウンタ部10が、クロック信号CLKに同期させて、N−1+MからMまでカウントダウンを行い、Mに達した時にはN−1+Mに戻ってカウントダウンを繰り返すことで、キャリア周期を有する基準信号を生成し、出力する。この場合、図3に示された基準信号、基準変動信号および位相変更信号は、キャリア周期TSWの中心を軸に左右反転させた信号となる。 In the PWM circuit 100a of the first embodiment described above, the reference signal is generated by the counter unit 10 of the carrier signal generation unit 80 counting up. However, the reference signal may be generated by the counter unit 10 counting down. Specifically, the counter unit 10 performs a countdown from N-1 + M to M in synchronization with the clock signal CLK, and when M is reached, the counter unit 10 returns to N-1 + M and repeats the countdown so that a reference having a carrier cycle is obtained. Generate and output a signal. In this case, the reference signal, the reference variation signal, and the phase change signal shown in FIG. 3 are signals that are horizontally reversed about the center of the carrier cycle TSW .

また、以上説明した実施形態1のPWM回路100aでは、位相変更信号をキャリア信号とした。しかし、位相変更信号に任意の演算を施してキャリア信号としても良い。例えば、位相変更信号にオフセットを加えてキャリア信号としても良いし、位相変更信号に予め定められた値を掛けてキャリア信号としても良いし、位相変更信号を予め定められた値で除してキャリア信号としても良い。   In the PWM circuit 100a of the first embodiment described above, the phase change signal is a carrier signal. However, a carrier signal may be obtained by performing an arbitrary calculation on the phase change signal. For example, a carrier signal may be obtained by adding an offset to the phase change signal, or a carrier signal may be obtained by multiplying the phase change signal by a predetermined value, or the carrier may be obtained by dividing the phase change signal by a predetermined value. It is good also as a signal.

(実施形態2)
図5は、本発明の実施形態2におけるPWM回路100bの構成を示すブロック図である。図1の実施形態1のPWM回路100aとの違いは、実施形態2のPWM回路100bには、キャリア信号生成部80に三角波変換部60が追加されている点であり、その他の構成は同じである。よって、三角波変換部60以外の構成については、詳しい説明を省略する。
(Embodiment 2)
FIG. 5 is a block diagram showing a configuration of the PWM circuit 100b according to the second embodiment of the present invention. The difference from the PWM circuit 100a of the first embodiment in FIG. 1 is that a triangular wave conversion unit 60 is added to the carrier signal generation unit 80 in the PWM circuit 100b of the second embodiment, and other configurations are the same. is there. Therefore, detailed description of the configuration other than the triangular wave conversion unit 60 is omitted.

実施形態1のPWM回路100aのキャリア信号は「のこぎり波」であった。それに対し、実施形態2のPWM回路100bのキャリア信号は「三角波」となる。三角波変換部60には、位相変更部40からの位相変更信号が入力され、三角波変換部60は、位相変更信号(のこぎり波)を三角波信号に変換して、その三角波信号をキャリア信号として出力する。   The carrier signal of the PWM circuit 100a of the first embodiment is a “sawtooth wave”. On the other hand, the carrier signal of the PWM circuit 100b of the second embodiment is “triangular wave”. The triangular wave conversion unit 60 receives the phase change signal from the phase change unit 40, and the triangular wave conversion unit 60 converts the phase change signal (sawtooth wave) into a triangular wave signal and outputs the triangular wave signal as a carrier signal. .

図6は、三角波変換部60の構成を示すブロック図である。三角波変換部60は、減算部51と、判定部52と、乗算部53とを備える。減算部51には、位相変更信号が入力され、減算部51は、位相変更信号から(N−1)/2を減じたS21信号を生成し、出力する。なお、三角波変換部60内で用いられるNは、実施形態1で説明したNと同じであり、キャリア周期TSWとクロック信号CLKの周期TCLKとの比である。判定部52には、減算部51からのS21信号と、位相変更信号とが入力され、判定部52は、S21信号の値が0以上の場合には、(N−1)/2からS21信号の値を減じたS22信号を生成し、S21信号の値が負である場合には、位相変更信号をS22信号として、S22信号を出力する。乗算部53には、判定部52からのS22信号が入力され、乗算部53は、S22信号の値を2倍にした三角波信号を生成し、出力する。 FIG. 6 is a block diagram showing a configuration of the triangular wave converter 60. The triangular wave conversion unit 60 includes a subtraction unit 51, a determination unit 52, and a multiplication unit 53. The subtraction unit 51 receives the phase change signal, and the subtraction unit 51 generates and outputs an S21 signal obtained by subtracting (N−1) / 2 from the phase change signal. Incidentally, N used in the triangle wave conversion unit 60 is the same as N described in Embodiment 1, which is the ratio between the period T CLK carrier period T SW and the clock signal CLK. The determination unit 52 receives the S21 signal and the phase change signal from the subtraction unit 51. When the value of the S21 signal is greater than or equal to 0, the determination unit 52 receives the (S-1) signal from (N-1) / 2. When the S22 signal is generated by subtracting the value of S21 and the value of the S21 signal is negative, the S22 signal is output with the phase change signal as the S22 signal. The multiplier 53 receives the S22 signal from the determination unit 52, and the multiplier 53 generates and outputs a triangular wave signal obtained by doubling the value of the S22 signal.

図7には、乱数が0、1、2およびN−1の場合の位相変更信号の変化の例と、それらの位相変更信号が三角波変換部60に入力された時に、三角波変換部60から出力される三角波信号を示してある。乱数=0の場合の三角波信号を基準三角波信号とすると、三角波信号は、乱数の値に応じて、基準三角波信号を前述した(数1)式で求められる量だけ位相をずらした信号となる。   FIG. 7 shows an example of changes in the phase change signal when the random numbers are 0, 1, 2, and N−1, and the output from the triangular wave conversion unit 60 when those phase change signals are input to the triangular wave conversion unit 60. A triangular wave signal is shown. If the triangular wave signal when the random number = 0 is the reference triangular wave signal, the triangular wave signal is a signal whose phase is shifted by the amount obtained by the above-described equation (1) according to the value of the random number.

図8の上部には、実施形態2の三角波信号(キャリア信号)の変化の例と、その三角波信号(キャリア信号)を用いて生成されたPWM信号が示されている。また、図8の下部には、各キャリア周期でキャリア信号の位相が変化しない従来技術の「三角波」のキャリア信号(従来)の変化の例と、そのキャリア信号(従来)を用いて生成されたPWM信号(従来)が示されている。図8では、図7に比べてNの値をより大きくして、キャリア信号がより直線状に変化する様子が描かれている。   The upper part of FIG. 8 shows an example of a change in the triangular wave signal (carrier signal) of the second embodiment and a PWM signal generated using the triangular wave signal (carrier signal). In the lower part of FIG. 8, an example of a change in the carrier signal (conventional) of the conventional “triangular wave” in which the phase of the carrier signal does not change in each carrier period and the carrier signal (conventional) are generated. A PWM signal (conventional) is shown. FIG. 8 shows a state in which the value of N is made larger than in FIG. 7 and the carrier signal changes more linearly.

図8では、第1周期の先頭で乱数=0に更新され、第2周期〜第4周期の各周期の先頭で乱数が0でない値に更新された例を示している。また、第2周期〜第4周期の各周期では、互いに異なる値の乱数となった場合の例を示している。したがって、第1周期〜第4周期の各三角波信号(キャリア信号)は、位相のずれ量が互いに異なっている(各キャリア周期でキャリア信号の位相が異なっている)。   FIG. 8 shows an example in which the random number is updated to 0 at the beginning of the first period, and the random number is updated to a non-zero value at the beginning of each period from the second period to the fourth period. In addition, in each of the second to fourth periods, an example is shown in which random numbers having different values are obtained. Accordingly, the triangular wave signals (carrier signals) in the first period to the fourth period have different amounts of phase shift (the phase of the carrier signal is different in each carrier period).

また、図8では、三角波信号(キャリア信号)と比較される閾値と、キャリア信号(従来)と比較される閾値は、両方とも0.85で一定となっている。よって、図8では、実施形態2のPWM信号および従来技術のPWM信号(従来)のデューティ比、すなわち、1キャリア周期TSW内のPWM信号のON期間の割合は、各キャリア周期で85%となっている。 In FIG. 8, the threshold value compared with the triangular wave signal (carrier signal) and the threshold value compared with the carrier signal (conventional) are both constant at 0.85. Therefore, in FIG. 8, the duty ratio of the PWM signal of Embodiment 2 and the prior art PWM signal (conventional), that is, the ratio of the ON period of the PWM signal within one carrier cycle TSW is 85% in each carrier cycle. It has become.

実施形態1で説明したキャリア信号が「のこぎり波」である場合と同様に、キャリア信号が「三角波」である場合であっても、図8に示すように、各キャリア周期で閾値の変化がない(デューティ比が変化しない)場合には、従来技術のPWM信号(従来)では各キャリア周期内のパルスの立ち上がり、および、立ち下がりエッジの位置が変化しない。   Similar to the case where the carrier signal described in the first embodiment is a “sawtooth wave”, even if the carrier signal is a “triangular wave”, as shown in FIG. 8, there is no change in threshold value in each carrier period. In the case where the duty ratio does not change, the conventional PWM signal (conventional) does not change the position of the rising edge and falling edge of the pulse within each carrier period.

それに対し、実施形態2のPWM信号は、実施形態1のPWM信号と同様に、各キャリア周期内のパルスの立ち上がり、および、立ち下がりエッジの位置が大きく変化する。また、1キャリア周期TSW内のPWM信号のパルスの数がキャリア周期によって変化(図8では、第1周期と第2周期のパルスの数は2つ、第3周期と第4周期のパルスの数は1つ)し、各キャリア周期内のパルスの立ち上がり、および、立ち下がりエッジの順序(立ち上がりが最初に来るか、立ち下がりが最初に来るか)が変化し、エッジの数が変化する。したがって、スペクトル拡散効果が十分に得られ、PWM信号に、キャリア周期の高調波成分が含まることを抑制することができる。 On the other hand, in the PWM signal of the second embodiment, like the PWM signal of the first embodiment, the position of the rising edge and the falling edge of each pulse in each carrier cycle changes greatly. In addition, the number of pulses of the PWM signal in one carrier period TSW varies depending on the carrier period (in FIG. 8, the number of pulses in the first period and the second period is two, and the number of pulses in the third period and the fourth period The number of edges is changed by changing the rising edge of the pulse in each carrier period and the order of falling edges (whether the rising edge comes first or the falling edge comes first). Therefore, a sufficient spread spectrum effect can be obtained, and the PWM signal can be prevented from containing harmonic components of the carrier period.

また、PWM信号のデューティ比が大きい場合、すなわち、キャリア周期内でON期間が多くを占める場合であっても、図8に示すように、PWM信号の各キャリア周期内のパルスの立ち上がり、および、立ち下がりエッジの位置が大きく変化する点も、実施形態1のPWM信号と同様である。   Further, even when the duty ratio of the PWM signal is large, that is, when the ON period occupies a large amount in the carrier period, as shown in FIG. 8, the rise of the pulse in each carrier period of the PWM signal, and The point that the position of the falling edge changes greatly is the same as the PWM signal of the first embodiment.

実施形態2のように、キャリア信号を「三角波」とし、キャリア信号(三角波)の周期に同期させて、キャリア信号(三角波)の位相を乱数的に変化させても、実施形態1のキャリア信号を「のこぎり波」とした場合と同様の作用効果を得ることができる。   Even if the carrier signal is “triangular wave” and the phase of the carrier signal (triangular wave) is changed in a random manner in synchronization with the cycle of the carrier signal (triangular wave) as in the second embodiment, the carrier signal of the first embodiment is not changed. The same effect as the case of “sawtooth wave” can be obtained.

以上説明した実施形態2のPWM回路100bでは、三角波変換部60から出力される三角波信号をキャリア信号とした。しかし、三角波信号に任意の演算を施してキャリア信号としても良い。例えば、三角波信号にオフセットを加えてキャリア信号としても良いし、三角波信号に予め定められた値を掛けてキャリア信号としても良いし、三角波信号を予め定められた値で除してキャリア信号としても良い。   In the PWM circuit 100b of the second embodiment described above, the triangular wave signal output from the triangular wave converter 60 is used as the carrier signal. However, any calculation may be performed on the triangular wave signal to obtain a carrier signal. For example, a triangular wave signal may be offset to be a carrier signal, a triangular wave signal may be multiplied by a predetermined value to be a carrier signal, or a triangular wave signal may be divided by a predetermined value to be a carrier signal. good.

(実施形態3)
図9は、本発明の実施形態3におけるPWM回路100cの構成を示すブロック図である。図2の実施形態2のPWM回路100bとの違いは、実施形態2の三角波変換部60が記憶部70に置き換えられている点であり、その他の構成は同じである。よって、記憶部70以外の構成については、詳しい説明を省略する。
(Embodiment 3)
FIG. 9 is a block diagram showing a configuration of the PWM circuit 100c according to the third embodiment of the present invention. The difference from the PWM circuit 100b of the second embodiment of FIG. 2 is that the triangular wave conversion unit 60 of the second embodiment is replaced with a storage unit 70, and the other configurations are the same. Therefore, detailed description of the configuration other than the storage unit 70 is omitted.

実施形態3のPWM回路100cのキャリア信号は、実施形態2のPWM回路100bのキャリア信号と同じ「三角波」である。しかし、位相変更信号(のこぎり波)を三角波信号に変換する方法が異なる。   The carrier signal of the PWM circuit 100c of the third embodiment is the same “triangular wave” as the carrier signal of the PWM circuit 100b of the second embodiment. However, the method for converting the phase change signal (sawtooth wave) into a triangular wave signal is different.

記憶部70には、1周期分のキャリア信号(三角波)の時系列データが記憶されている。図10は、記憶部70に記憶された1周期分のキャリア信号(三角波)の時系列データの例を示す表である。アドレスと、そのアドレスに記憶された値(時系列データ)の対応が示されている。なお、図10におけるNは、実施形態1で説明したNと同じであり、キャリア周期TSWとクロック信号CLKの周期TCLKとの比である。図10には、キャリア周期TSWの中心を軸として左右対称な波形を有する三角波の時系列データが、Nが偶数の場合と、Nが奇数の場合とに分けて示してある。実施形態3のPWM回路100cにおいて、Nが、偶数の場合には図10(A)が用いられ、奇数の場合には図10(B)が用いられる。 The storage unit 70 stores time-series data of carrier signals (triangular waves) for one cycle. FIG. 10 is a table showing an example of time-series data of carrier signals (triangular waves) for one cycle stored in the storage unit 70. The correspondence between the address and the value (time series data) stored at the address is shown. Note that N in FIG. 10 is the same as N described in the first embodiment, and is the ratio of the carrier cycle TSW and the cycle T CLK of the clock signal CLK. In FIG. 10, the time-series data of a triangular wave having a symmetrical waveform with the center of the carrier cycle TSW as an axis is divided into a case where N is an even number and a case where N is an odd number. In the PWM circuit 100c of the third embodiment, FIG. 10A is used when N is an even number, and FIG. 10B is used when N is an odd number.

記憶部70には位相変更信号が入力され、位相変更信号を読み出しアドレスとして用いて、記憶部70に記憶されている値(時系列データ)を読み出す。これにより、位相変更信号(のこぎり波)が、三角波信号に変換される。そして、読み出された時系列データ(三角波信号)を、キャリア信号として出力する。図7に示すように、乱数の値に応じて位相変更信号の位相が変化するので、読み出しアドレスが変化し、読み出される時系列データ(三角波信号)の位相も変化する。つまり、乱数の値に応じて位相が変化する実施形態2の三角波信号と同じ信号を得ることができる。   The phase change signal is input to the storage unit 70, and the value (time series data) stored in the storage unit 70 is read using the phase change signal as a read address. Thereby, the phase change signal (sawtooth wave) is converted into a triangular wave signal. Then, the read time series data (triangular wave signal) is output as a carrier signal. As shown in FIG. 7, since the phase of the phase change signal changes according to the value of the random number, the read address changes, and the phase of the read time-series data (triangular wave signal) also changes. That is, the same signal as the triangular wave signal of the second embodiment whose phase changes according to the value of the random number can be obtained.

よって、実施形態3のPWM回路100cの構成を用いても、キャリア信号を「三角波」とし、キャリア信号(三角波)の周期に同期させて、キャリア信号(三角波)の位相を乱数的に変化させることができるので、実施形態1と実施形態2の場合と同様の作用効果を得ることができる。   Therefore, even if the configuration of the PWM circuit 100c of the third embodiment is used, the carrier signal is “triangular wave” and the phase of the carrier signal (triangular wave) is changed in a random manner in synchronization with the cycle of the carrier signal (triangular wave). Therefore, the same effects as those in the first and second embodiments can be obtained.

以上説明した実施形態3のPWM回路100cでは、記憶部70に、1周期分のキャリア信号の時系列データとして、キャリア周期TSWの中心を軸として左右対称な波形を有する三角波の時系列データを記憶した。しかし、左右対称な波形を有する三角波ではなく、左右非対称な波形を有する三角波の時系列データを記憶しておいてもよい。左右非対称な波形を有する三角波とは、例えば、キャリア周期の先頭から三角波の頂点(値が最大になる箇所)までの時間Tuと、三角波の頂点からキャリア周期の後尾までの時間Tdとが、異なる三角波である。 In the PWM circuit 100c of the third embodiment described above, the time-series data of the triangular wave having a symmetrical waveform with the center of the carrier cycle TSW as the axis is stored in the storage unit 70 as the time-series data of the carrier signal for one cycle. I remembered it. However, time-series data of a triangular wave having a left-right asymmetric waveform may be stored instead of a triangular wave having a symmetrical waveform. A triangular wave having a left-right asymmetric waveform is different from, for example, a time Tu from the beginning of the carrier period to the apex of the triangular wave (where the value is maximum) and a time Td from the apex of the triangular wave to the end of the carrier period. It is a triangular wave.

また、キャリア信号は、以上説明したのこぎり波、三角波に限られず、様々な波形を用いることが考えられる。よって、記憶部70には、キャリア信号として使用する任意の波形の1周期分の時系列データを記憶しておいても良い。これにより、以上説明したのこぎり波、三角波に限られず、任意の波形をキャリア信号として用いる場合であっても、キャリア信号の周期に同期させて、キャリア信号の位相を乱数的に変化させることができるので、実施形態1と実施形態2の場合と同様の作用効果を得ることができる。   Further, the carrier signal is not limited to the sawtooth wave and the triangular wave described above, and various waveforms may be used. Therefore, the storage unit 70 may store time-series data for one cycle of an arbitrary waveform used as a carrier signal. Accordingly, the phase of the carrier signal can be changed in a random manner in synchronization with the period of the carrier signal even when an arbitrary waveform is used as the carrier signal, not limited to the sawtooth wave and the triangular wave described above. Therefore, the same effect as the case of Embodiment 1 and Embodiment 2 can be obtained.

10 カウンタ部、20 乱数発生部、25 減算部、30 加算部、31 剰余計算部、40 位相変更部、51 減算部、52 判定部、53 乗算部、60 三角波変換部、70 記憶部、80 キャリア信号生成部、90 コンパレータ部、100a,100b,100c PWM回路。
10 counter unit, 20 random number generation unit, 25 subtraction unit, 30 addition unit, 31 remainder calculation unit, 40 phase change unit, 51 subtraction unit, 52 determination unit, 53 multiplication unit, 60 triangular wave conversion unit, 70 storage unit, 80 carrier Signal generation unit, 90 comparator unit, 100a, 100b, 100c PWM circuit.

Claims (2)

キャリア信号を生成するキャリア信号生成部と、
前記キャリア信号と、PWM信号のデューティ比決定用の閾値とを比較し、その比較結果を前記PWM信号として出力するコンパレータ部と、を備え、
前記キャリア信号生成部は、
前記キャリア信号の周期に同期させて、前記キャリア信号の位相を乱数的に変化させ
前記キャリア信号生成部は、
前記キャリア信号の周期の1/N倍(Nは2以上の整数)の周期を有するクロック信号に同期させてカウントを行うカウンタ部と、
0からN−1までの間の整数の乱数を発生する乱数発生部と、
位相変更部と、を備え、
前記カウンタ部は、M(Mは0以上の整数)からN−1+Mまでカウントアップを行い、N−1+Mに達した時にはMに戻ってカウントアップを繰り返す、または、N−1+MからMまでカウントダウンを行い、Mに達した時にはN−1+Mに戻ってカウントダウンを繰り返すことで、前記キャリア信号の周期を有する基準信号を生成し、
前記乱数発生部は、前記基準信号が予め定められた値になった時点で前記乱数を更新し、それ以外の時点では前記乱数を保持し、
前記位相変更部は、前記基準信号をMだけ減じた基準変動信号と、前記乱数とを加算して得られた第1の値を、Nで除算して剰余を求めることで、前記基準変動信号に対して位相が乱数的に変化する位相変更信号を生成し、
前記位相変更信号に基づいて、前記キャリア信号を生成する、
ことを特徴とするPWM回路。
A carrier signal generator for generating a carrier signal;
Comparing the carrier signal and a threshold for determining the duty ratio of the PWM signal, and a comparator unit that outputs the comparison result as the PWM signal,
The carrier signal generator is
In synchronization with the cycle of the carrier signal, the phase of the carrier signal is changed randomly .
The carrier signal generator is
A counter unit that counts in synchronization with a clock signal having a period of 1 / N times the period of the carrier signal (N is an integer of 2 or more);
A random number generator for generating an integer random number between 0 and N−1;
A phase change unit,
The counter unit counts up from M (M is an integer of 0 or more) to N-1 + M, and when N-1 + M is reached, returns to M and repeats counting up, or counts down from N-1 + M to M. When M is reached, the reference signal having the cycle of the carrier signal is generated by repeating the countdown by returning to N-1 + M,
The random number generation unit updates the random number when the reference signal becomes a predetermined value, and holds the random number at other times,
The phase changing unit divides a first value obtained by adding the reference variation signal obtained by subtracting the reference signal by M and the random number by N to obtain a remainder, thereby obtaining the reference variation signal. Generates a phase change signal whose phase changes randomly
Generating the carrier signal based on the phase change signal;
A PWM circuit characterized by that.
前記キャリア信号生成部は、
前記キャリア信号の1周期分の時系列データを記憶した記憶部をさらに備え、
前記位相変更信号を読み出しアドレスとして用いて、前記記憶部から前記時系列データを読み出し、
前記読み出された前記時系列データを、前記キャリア信号として出力する、
ことを特徴とする請求項に記載のPWM回路。
The carrier signal generator is
A storage unit that stores time-series data for one period of the carrier signal;
Using the phase change signal as a read address, read the time series data from the storage unit,
Outputting the read time-series data as the carrier signal;
The PWM circuit according to claim 1 .
JP2016074987A 2016-04-04 2016-04-04 PWM circuit Expired - Fee Related JP6332319B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016074987A JP6332319B2 (en) 2016-04-04 2016-04-04 PWM circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016074987A JP6332319B2 (en) 2016-04-04 2016-04-04 PWM circuit

Publications (2)

Publication Number Publication Date
JP2017188987A JP2017188987A (en) 2017-10-12
JP6332319B2 true JP6332319B2 (en) 2018-05-30

Family

ID=60044297

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016074987A Expired - Fee Related JP6332319B2 (en) 2016-04-04 2016-04-04 PWM circuit

Country Status (1)

Country Link
JP (1) JP6332319B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003088131A (en) * 2001-09-05 2003-03-20 Mitsubishi Electric Corp Pwm circuit and inverter using the same
JP4681830B2 (en) * 2004-06-24 2011-05-11 パナソニック株式会社 PWM circuit and PWM circuit control method

Also Published As

Publication number Publication date
JP2017188987A (en) 2017-10-12

Similar Documents

Publication Publication Date Title
TWI551053B (en) Pulcse width modulation signal generation circuit and method
KR101108132B1 (en) Testing apparatus and testing method
JP2008228554A (en) Controller and control method of power converter
JP5429388B2 (en) Power converter
US8732510B2 (en) Digital forced oscilation by direct digital synthesis to generate pulse stream having frequency relative to a reference clock signal and to eliminate an off-chip filter
US7728634B2 (en) Flexible waveform generator with extended range capability
US9674017B2 (en) Method and apparatus for spectrum spreading of a pulse-density modulated waveform
TWI532323B (en) Digital pulse width generator and generation method thereof
JP6332319B2 (en) PWM circuit
JPH06177651A (en) Frequency synthesizer
JP2014187607A (en) PLL circuit
JP5230528B2 (en) DA conversion circuit
JP2008187272A (en) Waveform generating circuit
JP5883705B2 (en) Signal generator
JP6733237B2 (en) Frequency delta-sigma modulation signal output device
JP2009296849A (en) Pwm circuit
TWI469529B (en) Fractional-n clock generator and method thereof
JP6149492B2 (en) Storage device
WO2011040592A1 (en) Frequency judgment device, voltage comparator circuit, and frequency measurement device
JP5906822B2 (en) Pulse width modulation signal output device
JP2007189506A (en) Dds signal generation apparatus
JP2015133631A (en) Analog-digital converter
JP2018042430A (en) Signal generating circuit
JP2016027736A (en) PLL circuit
US20020184274A1 (en) Sinusoid synthesis

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180315

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180403

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180416

R150 Certificate of patent or registration of utility model

Ref document number: 6332319

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees