JP2932294B2 - Pulse generator - Google Patents
Pulse generatorInfo
- Publication number
- JP2932294B2 JP2932294B2 JP2023456A JP2345690A JP2932294B2 JP 2932294 B2 JP2932294 B2 JP 2932294B2 JP 2023456 A JP2023456 A JP 2023456A JP 2345690 A JP2345690 A JP 2345690A JP 2932294 B2 JP2932294 B2 JP 2932294B2
- Authority
- JP
- Japan
- Prior art keywords
- time data
- pulse
- output
- data
- transfer
- 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 - Lifetime
Links
Landscapes
- Control Of Ac Motors In General (AREA)
- Inverter Devices (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パルス生成装置に係り、具体的には相互に
位相(時間軸)、パルス幅、極性(2値状態)等のパル
スの属性が一定の相関を有する一対のパルスを生成する
に好適なもので、特にインバータ等の電力変換装置の関
連する一対のスイッチング素子のゲートパルスを生成す
るに好適なものに関する。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pulse generator, and more specifically, to attributes of pulses such as phase (time axis), pulse width, and polarity (binary state). Is suitable for generating a pair of pulses having a fixed correlation, and particularly relates to a method suitable for generating a gate pulse of a pair of switching elements related to a power conversion device such as an inverter.
電力変換装置等の制御は、コンピュータ(以下、CPU
と略称する)を用いたデジタル制御が広く適用されてい
る。このようなデジタル制御においては、デジタル演算
処理により電力変換回路スイッチング素子の点弧制御を
するゲートパルスのパターンを求め、このパターンデー
タをハードウェア又はマイクロプロセッサを用いて形成
したパルス生成装置に転送し、そのパルス生成装置にて
実際のゲートパルスを生成して各スイッチング素子に出
力するようにしたものが知られている(特開昭59−1137
92号公報、特開昭61−116994号公報等)。The control of the power converter etc. is performed by a computer (hereinafter, CPU
Digital control using (abbreviated as) is widely applied. In such digital control, a pattern of a gate pulse for performing ignition control of a power conversion circuit switching element is obtained by digital arithmetic processing, and this pattern data is transferred to a pulse generation device formed using hardware or a microprocessor. There is known a device in which an actual gate pulse is generated by the pulse generation device and output to each switching element (Japanese Patent Laid-Open No. 59-1137).
No. 92, JP-A-61-116994, etc.).
ところで、1つのパルスを生成するにはパルスの立上
り点と立下り点の各時刻データと、それぞれの時刻にお
ける信号の2値状態を指定する少なくとも4個のデータ
が必要である。したがって、CPUはパルス1個当り少な
くとも4個のデータをパルス生成装置のレジスタ等に転
送しなければならない。例えば、電動機を駆動制御する
ブリッジ構成の3相インバータの場合には、U,W,W3相×
6アームのスイッチング素子の各ゲートパルスを生成し
なければならないから、全部で少なくとも24個のデータ
を生成して転送することになる。By the way, in order to generate one pulse, each time data of the rising and falling points of the pulse and at least four data specifying the binary state of the signal at each time are required. Therefore, the CPU must transfer at least four data per pulse to a register or the like of the pulse generator. For example, in the case of a three-phase inverter having a bridge configuration for driving and controlling an electric motor, three phases of U, W, and W ×
Since each gate pulse of the six-arm switching element must be generated, at least 24 data in total are generated and transferred.
また、ブリッジ構成の上下アームは相補的にオン・オ
フされるが、上下アームの短絡を避けるため、その上下
アームに対応した一対のゲートパルスは共にオフになる
デッドタイムと称する時間を設けている。The upper and lower arms of the bridge configuration are turned on and off complementarily, but in order to avoid a short circuit between the upper and lower arms, a period called dead time is provided in which a pair of gate pulses corresponding to the upper and lower arms are both turned off. .
しかし、前記従来技術は、パルス生成にかかるデータ
の転送数を低減することについて考慮されてないことか
ら、CPUの転送にかかる負荷が大きいという問題があっ
た。特に、パルス幅変調(PWM)制御において搬送波の
周波数を高くしようとすると転送負荷分が増大してしま
う。However, the prior art has a problem in that the load on the transfer of the CPU is large because reduction in the number of data transfers for pulse generation is not considered. In particular, if the frequency of the carrier wave is increased in the pulse width modulation (PWM) control, the transfer load increases.
また、同様に前記デッドタイムの演算処理にあっても
上記高周波化を考えると、CPUの負担が増大してしまう
という問題がある。Similarly, even in the dead time calculation process, there is a problem that the load on the CPU increases in consideration of the increase in the frequency.
本発明の目的は、パルスの属性が一定の相関を有する
一対のパルスを生成するにあたり必要な生成データ数を
低減でき、またパルス相互の立上り又は立下がり点の時
間関係(例えば、デッドタイム)を制御する演算処理を
行なうことにより、上位CPUの負荷を軽減できるパルス
生成装置を提供することにある。An object of the present invention is to reduce the number of generated data required to generate a pair of pulses whose pulse attributes have a fixed correlation, and to reduce the time relationship (for example, dead time) between the rising or falling points of the pulses. An object of the present invention is to provide a pulse generation device capable of reducing the load on a host CPU by performing arithmetic processing for control.
本発明のパルス生成装置は、上記目的を達成するた
め、生成対象の一対のパルスの時間軸を規定する基準時
刻データが格納される基準時刻データレジスタと、前記
基準時刻データに対する前記各パルスの時間の関係を示
す加工時間データがそれぞれ格納される第1と第2の加
工時間データレジスタと、前記一対のパルスの一方のパ
ルスの2値状態を指定する状態データがそれぞれ格納さ
れる第1と第2のパルス出力レジスタと、コントロール
信号が格納されるコントロールレジスタと、クロックパ
ルスを計数するカウンタと、前記基準時刻データと前記
加工時間データとを取込んで前記各パルスの立ち上がり
と立ち下がりの時刻データを加減演算により求める演算
ユニットと、該演算ユニットにより求められた前記各パ
ルスのそれぞれの時刻データの転送タイミングを制御す
る転送制御ユニットと、該転送制御ユニットから出力さ
れる前記各パルスの時刻データがそれぞれ格納される第
1と第2の時刻データレジスタと、該各時刻データレジ
スタの時刻データと前記カウンタの値とをそれぞれ比較
して一致したときに一致信号を出力する第1と第2の比
較器とを備えてなり、前記演算ユニットは前記コントロ
ールレジスタに格納される演算制御信号により定められ
る演算処理を行うものとされ、前記転送制御ユニットは
前記コントロールレジスタに格納された転送制御信号に
従って前記各時刻データの転送タイミングを制御するも
のとされ、前記第1のパルス出力レジスタは前記格納さ
れる状態データを反転した2値状態にリセットされる出
力端子を有するものとされ、前記第2のパルス出力レジ
スタは前記格納される状態データの2値状態にリセット
される出力端子を有するものとされ、前記第1と第2の
パルス出力レジスタはそれぞれ対応する前記比較器から
一の一致信号が入力されたときに出力端子の2値状態を
反転し、次の一致信号が入力されたときに出力端子の2
値状態をリセットするものとされ、前記カウンタは前記
コントロールレジスタに一定周期で格納されるリセット
信号によりリセットされるものとされ、前記基準時刻デ
ータと前記各加工時間データと前記状態データと前記コ
ントロール信号は前記カウンタのカウントアップ・リセ
ット信号の転送周期に合わせて外部から入力されるもの
としたことにある。In order to achieve the above object, a pulse generation device according to the present invention includes: a reference time data register storing reference time data defining a time axis of a pair of pulses to be generated; and a time of each pulse with respect to the reference time data. First and second processing time data registers each storing processing time data indicating the relationship between the first and second processing time data registers, and state data specifying the binary state of one of the pair of pulses. 2 pulse output register, a control register storing a control signal, a counter for counting clock pulses, and taking in the reference time data and the processing time data to obtain rising and falling time data of each pulse. And the respective times of the respective pulses obtained by the arithmetic unit. A transfer control unit for controlling transfer timing of data, first and second time data registers in which time data of the respective pulses output from the transfer control unit are respectively stored, and a time of the time data registers. Comparing the data with the value of the counter and outputting first and second comparators when they match, the arithmetic unit includes an arithmetic control signal stored in the control register. The transfer control unit controls a transfer timing of each time data according to a transfer control signal stored in the control register, and the first pulse output register stores the stored data. And an output terminal that is reset to a binary state obtained by inverting the state data to be output. The pulse output register has an output terminal that is reset to a binary state of the stored state data, and the first and second pulse output registers receive one coincidence signal from the corresponding comparator. When the next match signal is input, the binary state of the output terminal is inverted.
The value state is reset, and the counter is reset by a reset signal stored in the control register at regular intervals. The reference time data, the respective processing time data, the state data, and the control signal Is input from the outside in accordance with the transfer cycle of the count-up / reset signal of the counter.
なお、一方のパルスの加工時間データを前記基準時刻
データに合わせれば、基準時刻データレジスタまたは第
1の加工時間データレジスタを省略できるとともに、転
送データ数を1個低減できる。If the processing time data of one pulse is matched with the reference time data, the reference time data register or the first processing time data register can be omitted, and the number of transfer data can be reduced by one.
また、前記各パルス出力レジスタが前記出力端子の反
転状態に保持される反転出力端子を有してなるものとす
ることが望ましい。この場合は、前記各パルス出力レジ
スタの出力端子と反転出力端子とを択一的に選択する出
力スイッチを設け、該各スイッチを前記コントロールレ
ジスタに格納する出力スイッチコントロール信号により
制御するようにすれば、生成パルスの極性についての汎
用性を持たせることができる。Further, it is preferable that each of the pulse output registers has an inverted output terminal which is held in an inverted state of the output terminal. In this case, an output switch for selectively selecting the output terminal and the inverted output terminal of each pulse output register is provided, and each switch is controlled by an output switch control signal stored in the control register. The versatility of the polarity of the generated pulse can be provided.
また、前記カウンタは、通常のフリーランカウンタで
も、アップダウンカウンタでも適用できる。この場合、
カウンタタイプに合わせて演算ユニットの演算処理内容
とコントロール信号を定める。The counter can be applied to a normal free-run counter or an up-down counter. in this case,
The operation processing content of the operation unit and the control signal are determined according to the counter type.
このように構成されることから、本発明によれば、次
の作用により上記目的が達成される。With such a configuration, according to the present invention, the above object is achieved by the following operations.
すなわち、1つの基準時刻データと一対の加工時間デ
ータを用いて、一対のパルスの立上り点と立下り点との
時刻データが演算ユニットによりもとめられ、これが一
対のパルス出力レジスタに格納される。そして、比較器
によりカウンタの値が立上り時刻データに一致したと
き、第1のパルス出力レジスタの出力端子は指定された
2値状態(正または負)に変化され、次に立下がり時刻
データに一致したときにリセットされる。同様に第2の
パルス出力レジスタの出力端子は第1とは逆に動作され
る。その結果相補的に動作される上下アームのスイッチ
ング素子の駆動に適したパターンの一対のパルスが生成
される。したがって、上位CPUから転送しなければなら
ない時刻データが1相あたり1個減るので上位CPUのデ
ータ転送負荷が軽くなる。また、上位CPUは一対のパル
スの時間差を制御する演算処理をしなくてもよいことか
ら、負荷が軽減される。That is, using one reference time data and a pair of machining time data, the time data of the rising point and the falling point of the pair of pulses is obtained by the arithmetic unit, and this is stored in the pair of pulse output registers. Then, when the value of the counter matches the rising time data by the comparator, the output terminal of the first pulse output register is changed to the designated binary state (positive or negative), and then matches the falling time data. Reset when you do. Similarly, the output terminal of the second pulse output register is operated in reverse to the first. As a result, a pair of pulses having a pattern suitable for driving the switching elements of the upper and lower arms that are operated complementarily are generated. Therefore, since the time data that must be transferred from the upper CPU is reduced by one per phase, the data transfer load on the upper CPU is reduced. Further, the host CPU does not need to perform the arithmetic processing for controlling the time difference between the pair of pulses, so that the load is reduced.
また、アップダウンカウンタを用いたものによれば、
PWM搬送波の周期に合わせてカウンタのアップリセット
とダウンリセットとを行わせることにより、1つの時刻
データだけでパルスの立上り点と立下がり点とを制御で
き、演算ユニットの処理が簡単になる。Also, according to the one using the up / down counter,
By performing up-reset and down-reset of the counter in accordance with the cycle of the PWM carrier, the rising and falling points of the pulse can be controlled with only one time data, and the processing of the arithmetic unit is simplified.
以下、本発明を実施例に基づいて説明する。 Hereinafter, the present invention will be described based on examples.
第1図に、本発明が適用されてなる第1実施例のパル
ス生成装置のブロック構成図を示す。本実施例は、パル
スの時間軸と幅が一定の関係にあり、かつ2値状態が互
いに逆の相補関係(以下、逆極性という)にある一対の
パルスを生成するものである。すなわち、例えばインバ
ータ上下アームのスイッチング素子を駆動するゲートパ
ルスを生成するに好適なものである。第1図において、
コントロールレジスタ1と、基準時刻データレジスタ2
と、第1と第2の加工時間データレジスタ3,4と、第1
と第2の状態データレジスタ5,6は、それぞれバス7を
介して図示していない上位CPUに接続されている。それ
らの各レジスタには、上位CPUからそれぞれコントロー
ル信号と、基準時刻データと、第1と第2の加工時間デ
ータ(1),(2)と、状態データとが転送により格納
されるようになっている。なお、状態データは初期設定
時に転送され、他のデータは後述するようにカウントア
ップ信号に合わせて周期的に転送されるようになってい
る。FIG. 1 shows a block diagram of a pulse generating apparatus according to a first embodiment to which the present invention is applied. In the present embodiment, a pair of pulses are generated in which the time axis and the width of the pulses are in a fixed relationship, and the binary states are in a mutually complementary relationship (hereinafter, referred to as opposite polarity). That is, it is suitable for generating a gate pulse for driving a switching element of an inverter upper and lower arm, for example. In FIG.
Control register 1 and reference time data register 2
First and second processing time data registers 3 and 4;
And the second state data registers 5 and 6 are connected to an upper CPU (not shown) via a bus 7, respectively. In each of these registers, a control signal, reference time data, first and second processing time data (1) and (2), and state data are stored by transfer from the upper CPU. ing. The state data is transferred at the time of initialization, and the other data is transferred periodically according to the count-up signal as described later.
基準時刻データと加工時間データ(1),(2)は演
算ユニット8に取込まれ、所定の演算処理により時刻デ
ータ(1),(2)が求められる。この時刻データ
(1),(2)は転送制御ユニット9によりそれぞれ第
1と第2の時刻データレジスタ10,11に転送されるよう
になっている。The reference time data and the processing time data (1) and (2) are taken into the arithmetic unit 8, and the time data (1) and (2) are obtained by predetermined arithmetic processing. The time data (1) and (2) are transferred by the transfer control unit 9 to the first and second time data registers 10 and 11, respectively.
コントロール信号はカウンタ制御信号12と、演算制御
信号13と、転送制御信号14と、出力スイッチコントロー
ル信号15とが含まれている。カウンタ制御信号12は所定
の周期で入力されるカウントアップ信号とカウントダウ
ン信号からなり、アップダウンカウンタ16に入力されて
いる。また、アップダウンカウンタ16には、クロックパ
ルスが入力されている。アップダウンカウンタ16のカウ
ント値17は第1と第2の比較器18,19に入力されてい
る。比較器18,19はそれぞれ時刻データレジスタ10,11の
時刻データ(1),(2)と比較され、一致したときそ
れぞれ一致信号20,21が第1と第2のパルス出力レジス
タ5,6に入力される。パルス出力レジスタ5,6はフリップ
フロップからなる同一の構成で、それぞれ相補的な状態
に保持される一対の出力端子(+)と反転出力端子
(−)を有している。そして、状態データが入力される
ことによりその状態データが指定する2値状態の反転状
態にリセットされるようになっている。この一対の出力
端子は出力スイッチ22,23を介してパルス(1),
(2)の出力ライン24,25に接続されている。この出力
スイッチ22,23は前記出力スイッチコントロール信号17
によって切り替えられ、所望の極性のパルスを得ること
ができるようになっている。本実施例では、パルス
(1)が正パルスに、パルス(2)が負パルスに設定さ
れている。The control signals include a counter control signal 12, an operation control signal 13, a transfer control signal 14, and an output switch control signal 15. The counter control signal 12 includes a count-up signal and a count-down signal input at a predetermined cycle, and is input to the up-down counter 16. The up / down counter 16 receives a clock pulse. The count value 17 of the up / down counter 16 is input to first and second comparators 18 and 19. The comparators 18 and 19 are compared with the time data (1) and (2) of the time data registers 10 and 11, respectively. When they match, the match signals 20 and 21 are sent to the first and second pulse output registers 5 and 6, respectively. Is entered. The pulse output registers 5 and 6 have the same configuration including flip-flops, and each have a pair of output terminals (+) and inverted output terminals (-) that are held in a complementary state. When the state data is input, the state data is reset to the inverted state of the binary state specified by the state data. The pair of output terminals are connected to the pulse (1) via output switches 22 and 23,
It is connected to the output lines 24 and 25 of (2). The output switches 22 and 23 are connected to the output switch control signal 17
And a pulse having a desired polarity can be obtained. In this embodiment, the pulse (1) is set to a positive pulse, and the pulse (2) is set to a negative pulse.
このように構成される実施例の動作について、第2図
と第3図を参照しながら説明する。第3図は上位CPUで
演算処理されるPWMパルスの概念図である。上位CPUはイ
ンバータの出力電圧指令と3角波の搬送波とを比較して
上下アームの基準パルスを求め、これを基に前述したデ
ッドタイムを考慮して正パルスを狭く、負パルスを広く
するための加工時間データを決定する。この演算はU,V,
W各相について行われる。そして、3角波の周期T0の基
点から基準パルスの立上り点までの時間Tと、上アーム
のパルスの加工時間データT1と、下アームのパルスの加
工時間データT2を求め、これらに上パルス(または下パ
ルス)の状態データ(正または負)とコントロール信号
を含めてパルス生成装置に転送する。この転送タイミン
グは前記3角波の周期の基点に同期して出力されるカウ
ントアップ信号に合わせて行われる。The operation of the embodiment configured as described above will be described with reference to FIGS. 2 and 3. FIG. 3 is a conceptual diagram of a PWM pulse calculated and processed by the host CPU. The host CPU compares the output voltage command of the inverter with the triangular carrier wave to determine the reference pulse for the upper and lower arms. Based on this, the positive pulse is narrowed and the negative pulse is widened considering the dead time described above. Is determined. This operation is U, V,
W Performed for each phase. Then, the time T from the base point of the cycle T0 of the triangular wave to the rising point of the reference pulse, the processing time data T1 of the upper arm pulse, and the processing time data T2 of the lower arm pulse are obtained. Or, the state data (positive or negative) of the lower pulse and the control signal are transferred to the pulse generator. This transfer timing is performed in accordance with a count-up signal output in synchronization with the base point of the cycle of the triangular wave.
このようにして、パルス生成装置にデータが転送され
ると、まずアップダウンカウンタ16がアップカウントを
開始する。アップダウンカウンタ16は周期T0の1/2のタ
イミングでコントロールレジスタ1に格納されるカウン
トダウン信号によりリセットされて、ダウンカウントを
開始する。演算ユニット8は演算制御信号13により起動
され、予め定められた演算処理により時刻データ
(1),(2)を求める。この演算処理には種々の方式
が考えられ、本実施例では基準時刻データTに加工時間
データ(1)を加算して時刻データ(1)を求め、一方
基準時刻データTから加工時間データ(2)を減算して
時刻データ(2)を求めている。これらの時刻データ
(1),(2)は、転送制御信号14によって指示される
転送先と転送タイミングに従って、転送制御ユニット9
によりそれぞれ時刻データレジスタ10,11に転送され
る。なお、演算ユニット8と転送制御ユニット9は簡単
なマイクロプロセッサにより構成するのが望ましく、こ
の場合上記演算処理と転送制御はプログラムにより実現
でき、上位CPUから与えるコントロール信号が簡単にな
る。しかし、これに限られるものではなく、演算処理、
転送制御をそれぞれハードウェアで構成できることは明
らかである。When data is transferred to the pulse generator in this way, first, the up / down counter 16 starts counting up. The up / down counter 16 is reset by a countdown signal stored in the control register 1 at a timing of 1/2 of the period T0, and starts counting down. The arithmetic unit 8 is started by the arithmetic control signal 13 and obtains time data (1) and (2) by a predetermined arithmetic process. Various methods can be considered for this arithmetic processing. In this embodiment, the processing time data (1) is added to the reference time data T to obtain the time data (1), while the processing time data (2) is obtained from the reference time data T. ) Is subtracted to obtain time data (2). The time data (1) and (2) are transferred to the transfer control unit 9 in accordance with the transfer destination and transfer timing indicated by the transfer control signal 14.
Are transferred to the time data registers 10 and 11, respectively. It is desirable that the arithmetic unit 8 and the transfer control unit 9 be constituted by a simple microprocessor. In this case, the arithmetic processing and transfer control can be realized by a program, and the control signal given from the host CPU is simplified. However, the present invention is not limited to this.
Obviously, each transfer control can be configured by hardware.
このようにして、時刻データレジスタ10,11に時刻デ
ータ(1),(2)が格納されると、比較器18と19によ
りアップダウンカウンタ16のカウント値との比較がなさ
れ、それらが一致したときにそれぞれ一致信号20,21が
対応するパルス出力レジスタ5,6に出力される。これに
よりパルス出力レジスタ5,6のフリップフロップがセッ
トされ、出力スイッチ22,23を介して出力ライン24は正
に、出力ライン25は負に変わる。そして、カウンタ16が
カウントダウンに切り替わるとそのカウント値が再び時
刻データ(1),(2)に一致したときに一致信号20,2
1が出力される。これにより、パルス出力レジスタ5,6の
フリップフロップがリセットされ出力ライン24,25の極
性が反転し、所望のパルス(1)と(2)が得られる。When the time data (1) and (2) are stored in the time data registers 10 and 11 in this manner, the comparators 18 and 19 compare the count value of the up / down counter 16 with each other. At that time, the coincidence signals 20 and 21 are output to the corresponding pulse output registers 5 and 6, respectively. As a result, the flip-flops of the pulse output registers 5 and 6 are set, and the output line 24 becomes positive and the output line 25 becomes negative via the output switches 22 and 23. Then, when the counter 16 switches to countdown, when the count value again matches the time data (1), (2), the match signals 20, 2
1 is output. As a result, the flip-flops of the pulse output registers 5 and 6 are reset, the polarities of the output lines 24 and 25 are inverted, and desired pulses (1) and (2) are obtained.
上述したように、本実施例によれば、相補関係にあり
かつ正パルスに対して広幅の負パルスからなる一対のパ
ルスを生成するにあたり、一対のパルスの時間軸を規定
する基準時刻データと、これに対する関係を示す2個の
加工時間データとから、演算ユニット8によりそれぞれ
1個の時刻データ(1)と(2)を求め、これとアップ
ダウンカウンタ16のカウント値とを比較することにより
一対のパルスの立上り点と立下り点とを規定するように
していることから、上位CPUから転送しなければならな
い時刻データが、一対のパルスあたり1個低減される。
したがって、3相の場合は転送データが3個低減され
る。As described above, according to the present embodiment, upon generating a pair of pulses each having a complementary relationship and a wide negative pulse with respect to the positive pulse, the reference time data defining the time axis of the pair of pulses, One time data (1) and (2) are obtained by the arithmetic unit 8 from the two machining time data indicating the relationship with the processing time data, and this is compared with the count value of the up / down counter 16 to form a pair. Since the rising and falling points of the pulse are defined, the time data that must be transferred from the upper CPU is reduced by one per pair of pulses.
Therefore, in the case of three phases, the transfer data is reduced by three.
また、一対のパルスの2値状態を規定するにあたり、
2個のパルス出力レジスタを相補関係に形成したことか
ら、上位CPUからは1個の状態データを転送するだけで
よく、3相の場合は更に転送データが3個低減される。In defining the binary state of a pair of pulses,
Since the two pulse output registers are formed in a complementary relationship, only one state data needs to be transferred from the host CPU, and in the case of three phases, the transfer data is further reduced by three.
また、デッドタイムの演算処理をパルス生成装置で行
うようにしたことから、上記データ転送にかかる上位CP
Uの負荷軽減に加え、更に演算負荷を軽減することがで
きる。In addition, since the dead time calculation process is performed by the pulse generation device, the upper CP related to the data transfer is performed.
In addition to reducing the load on U, the calculation load can be further reduced.
また、アップダウンカウンタを用いていることから、
1つの時刻データでパルスの立上り点と立下り点とを規
定することができるので、演算ユニット8の演算処理が
簡単である。Also, because an up-down counter is used,
Since the rising and falling points of the pulse can be defined by one piece of time data, the arithmetic processing of the arithmetic unit 8 is simple.
また、パルス出力レジスタ5,6は相補的な一対の出力
端子を有し、出力スイッチ22,23によりパルスの2値状
態を選択できることから、インバータの上下アームのス
イッチングパルス以外のパルス生成装置にも適用でき、
汎用性がある。Further, since the pulse output registers 5 and 6 have a pair of complementary output terminals, and the binary state of the pulse can be selected by the output switches 22 and 23, the pulse output registers 5 and 6 can be applied to a pulse generator other than the switching pulse of the upper and lower arms of the inverter. Applicable,
There is versatility.
前述したデッドタイムを考慮して正パルスを狭く、負
パルスを広くするための加工時間データを決定する方法
は、上記第1実施例に示したほか、第4図,第5図,第
6図にそれぞれ示した変形例が適用できる。The method of determining the processing time data for narrowing the positive pulse and widening the negative pulse in consideration of the dead time described above is described in the first embodiment, and in addition to FIGS. 4, 5, and 6. Can be applied.
第4図に示したものは、基準パルスに対して正パル
ス、負パルス共に立上り点のみを遅らせて、必要なデッ
ドタイムを設けるものである。したがって、演算ユニッ
ト8では第1実施例と同じくT+T1とT−T2を求める
が、時刻データ(1)としてはT+T1とTが、時刻デー
タ(2)としてはTとT−T2が一組として扱われる。そ
して、転送制御ユニット9はカウントアップ信号に同期
させて時刻データレジスタ10にT+T1を、時刻データレ
ジスタ11にTを転送し、カウントダウン信号に同期させ
て時刻データレジスタ10にTを、時刻データレジスタ11
にT−T2を転送する。これにより、図示パルス(1),
(2)が出力される。In FIG. 4, the required dead time is provided by delaying only the rising point of both the positive pulse and the negative pulse with respect to the reference pulse. Therefore, the arithmetic unit 8 calculates T + T1 and T-T2 as in the first embodiment, but treats T + T1 and T as time data (1), and treats T and T-T2 as time data (2) as one set. Will be Then, the transfer control unit 9 transfers T + T1 to the time data register 10 and T to the time data register 11 in synchronization with the count-up signal, and transfers T to the time data register 10 and the time data register 11 in synchronization with the count-down signal.
To T-T2. Thereby, the illustrated pulse (1),
(2) is output.
第5図に示したものは、基準パルスに対して正パル
ス、負パルス共に立下がり点のみを遅らせて、必要なデ
ッドタイムを設けるものである。In FIG. 5, the required dead time is provided by delaying only the falling point of both the positive pulse and the negative pulse with respect to the reference pulse.
第6図に示したものは、正パルスを基準パルスに一致
させ、負パルスの立下がり点を速めると共に、立上り点
を遅らせたものである。In FIG. 6, the positive pulse coincides with the reference pulse, the falling point of the negative pulse is accelerated, and the rising point is delayed.
第7図に、本発明の第2実施例のタイムチャートを示
す。本実施例が第1実施例と異なる点は、アップダウン
カウンタ16に代えてフリーランカウンタを用いた点にあ
る。また、これに伴い演算ユニット8と転送制御ユニッ
ト9の動作機能が異なる。本実施例の動作を第7図に沿
って説明する。第7図と第2図と同じパルス関係のもの
である。上位CPUからの転送データは第2図の場合と殆
ど同じであるが、フリーランカウンタに与えられる指令
は搬送波の周期に同期したリセット信号であり、転送制
御ユニット9にはこのリセット信号の他に搬送波の周期
の1/2ごと(前記カウントダウン信号に相当する。)に
転送制御信号14が与えられる。各データが転送されると
演算制御ユニット8は時刻データ(1)として1組のT
+T1,T0−(T+T1)をもとめ、また時刻データ(2)
として1組のT−T2,T0−(T−T2)をもとめる。そし
てこれらの時刻データを前記転送タイミングすなわち図
示タイミングに合わせて時刻データレジスタ10,11に転
送する。これにより第2図と同一のパルス(1),
(2)を生成出力できる。FIG. 7 shows a time chart of the second embodiment of the present invention. This embodiment differs from the first embodiment in that a free-run counter is used instead of the up-down counter 16. In addition, the operation functions of the arithmetic unit 8 and the transfer control unit 9 are different. The operation of this embodiment will be described with reference to FIG. The pulse relationship is the same as in FIGS. 7 and 2. The transfer data from the host CPU is almost the same as in the case of FIG. 2, except that the command given to the free-run counter is a reset signal synchronized with the cycle of the carrier wave. A transfer control signal 14 is provided for each half of the carrier wave cycle (corresponding to the countdown signal). When each data is transferred, the arithmetic and control unit 8 sets one set of T as time data (1).
+ T1, T0- (T + T1) and time data (2)
To obtain a set of T-T2, T0- (T-T2). Then, these time data are transferred to the time data registers 10 and 11 in accordance with the transfer timing, that is, the illustrated timing. Thereby, the same pulse (1) as in FIG.
(2) can be generated and output.
また、本実施例は、図示していないが、第4図,第5
図,第6図に示した変形例に相当するパルス生成にも同
様に適用できる。Although this embodiment is not shown, FIGS.
The present invention can be similarly applied to pulse generation corresponding to the modification shown in FIGS.
第8図と第9図に、本発明のパルス生成装置を電動機
制御装置に適用した実施例の構成図を示す。特に本実施
例は、電動機に流れる負荷電流の向き(極性)に応じて
前記デッドタイムの設け方を選択可能にしたものであ
る。本実施例は、電圧形インバータ30により電動機31を
駆動制御するもので、電圧形インバータ30の各スイッチ
ング素子34a,bと35a,bと36a,bはそれぞれインバータ制
御装置33から出力されるパルスによってオンオフ駆動さ
れるようになっている。インバータ制御装置33はCPUと
パルス生成装置からなり、パルス生成装置はCPUから入
力される制御データに基づいて前記パルスを生成する。
インバータ制御装置33には各相の負荷電流38a,38b,38c
と、回転検出器39から電動機の磁極位置信号と回転方向
検出信号が入力されている。8 and 9 show configuration diagrams of an embodiment in which the pulse generation device of the present invention is applied to a motor control device. Particularly, in the present embodiment, the method of providing the dead time can be selected according to the direction (polarity) of the load current flowing through the motor. In the present embodiment, the electric motor 31 is driven and controlled by the voltage-source inverter 30, and the switching elements 34a, b and 35a, b and 36a, b of the voltage-source inverter 30 are each controlled by a pulse output from the inverter controller 33. It is designed to be driven on and off. The inverter control device 33 includes a CPU and a pulse generation device, and the pulse generation device generates the pulse based on control data input from the CPU.
The inverter control device 33 has load currents 38a, 38b, 38c for each phase.
, A magnetic pole position signal of the electric motor and a rotation direction detection signal are input from the rotation detector 39.
第9図にパルス生成装置33の構成を示す。本装置にお
けるPWMパルス生成方法は、各相同様であるため、ここ
では一相分について説明する。第8図で示した電圧形イ
ンバータ装置を用いた電動機制御においては、上下アー
ムの一方のスイッチをオフした同一時刻に他方のスイッ
チをオンにすると、前述したようにスイッチのターンオ
フに一定の時間を要するためアーム短絡が生じる。この
アーム短絡を避けるため、上下アームが共にオフ状態に
なるデッドタイムを設ける必要がある。インバータ制御
装置33はモータ電流、磁極位置、回転方向のデータを取
り込み、CPUにて制御演算を実行する。CPUは制御演算で
電動機の速度を算出し、検出速度と指令速度の偏差に応
じたパルス信号のデューティのデータである基準時刻デ
ータを求める。そしてデッドタイムを生成するためのデ
ッドタイムデータT1、デッドタイムデータT2及び状態信
号を求める。さらにCPUは電流方向を判別し、演算ユニ
ット8でのデータの加工方式を決定する演算制御信号1
3、転送制御ユニット9でのデータの転送順序やタイミ
ングを指令する転送制御信号14を生成する。最後にCPU
は基準時刻データTを基準時刻データレジスタ2、デッ
ドタイムデータT1を加工時間レジスタ3、デッドタイム
データT2を加工時間レジスタ4、各コントロール信号を
コントロールレジスタ1に格納する。各レジスタに格納
されたデータは、コントロール信号で示された方式に従
い演算ユニット8で加算と減算がなされる。FIG. 9 shows the configuration of the pulse generator 33. Since the PWM pulse generation method in this device is the same for each phase, only one phase will be described here. In the motor control using the voltage source inverter device shown in FIG. 8, when one switch of the upper and lower arms is turned off at the same time as the other switch is turned on, a certain time is required for turning off the switch as described above. Therefore, an arm short circuit occurs. In order to avoid this arm short circuit, it is necessary to provide a dead time during which both the upper and lower arms are turned off. The inverter control device 33 fetches the data of the motor current, the magnetic pole position, and the rotation direction, and executes the control calculation by the CPU. The CPU calculates the speed of the electric motor by control calculation, and obtains reference time data which is data of a duty of a pulse signal according to a deviation between the detected speed and the command speed. Then, dead time data T 1 , dead time data T 2 and a state signal for generating the dead time are obtained. Further, the CPU discriminates the direction of the current and determines the data processing method in the arithmetic unit 8 by using the arithmetic control signal 1.
3. A transfer control signal 14 for instructing the transfer order and timing of data in the transfer control unit 9 is generated. Finally CPU
Storing the reference time data register 2 the reference time data T, the dead time data T 1 processing time register 3, the dead time data T 2 processing time register 4, each control signal in the control register 1. The data stored in each register is added and subtracted by the arithmetic unit 8 according to the method indicated by the control signal.
本実施例のデッドタイム付加の方式は、前記第2図,
第4図,第5図で示した3種の方式を切り替えて適用す
るようになっている。すなわち、第1の方式は基準パル
スに対して一対の正負パルスの立上り点を遅らせ、立下
がり点は早めるものである。第2の方式は、基準パルス
に対して正負パルスの立上り点のみを遅らせるものであ
る。第3の方式は、基準パルスに対して正負パルスの立
下がり点のみを早めるものである。これらのいずれかに
より求められた時刻データは転送制御ユニット9に転送
され、CPUから与えられる転送制御信号に従ったタイミ
ングにて時刻データレジスタ40に転送される。時刻デー
タレジスタ40に転送された時刻データは、直ちにカウン
タ16のカウント値と比較され、それが一致した時点で状
態データレジスタ41に格納されている状態データに従っ
て2値状態のPWMパルスが出力され、これにより電動機3
1を制御するようになっている。The method of adding a dead time according to the present embodiment is as shown in FIG.
The three types shown in FIGS. 4 and 5 are switched and applied. That is, the first method delays the rising point of the pair of positive and negative pulses with respect to the reference pulse, and advances the falling point. The second method delays only the rising points of the positive and negative pulses with respect to the reference pulse. The third method is to advance only the falling point of the positive and negative pulses with respect to the reference pulse. The time data obtained by any of these is transferred to the transfer control unit 9 and transferred to the time data register 40 at a timing according to a transfer control signal given from the CPU. The time data transferred to the time data register 40 is immediately compared with the count value of the counter 16, and when they match, a binary PWM pulse is output according to the state data stored in the state data register 41, This allows the motor 3
One is to control.
ところで、デッドタイム期間中の出力電圧は、負荷電
流の方向により変化する。例えば、第2方式の場合、第
10図に示すように、負荷電流の方向が負荷へ向う場合、
出力電圧(a点)は基準パルスに対して、斜線の部分だ
け電圧が減少する。一方、負荷電流が電動機からインバ
ータに向かう場合、出力電圧は基準パルスに対して、斜
線の部分だけ増加する。したがって、デッドタイム方式
を1方式に固定してしまうと、上記のような誤差電圧が
発生する場合があり、出力電圧が指令通りにならず、制
御精度が低下するという問題が生ずる。Incidentally, the output voltage during the dead time period changes depending on the direction of the load current. For example, in the case of the second method,
As shown in Figure 10, when the direction of the load current is to the load,
The output voltage (point a) decreases with respect to the reference pulse only in the shaded portion. On the other hand, when the load current is flowing from the motor to the inverter, the output voltage is increased by the hatched portion with respect to the reference pulse. Therefore, if the dead time method is fixed to one method, an error voltage as described above may be generated, and the output voltage does not conform to the command, resulting in a problem that control accuracy is reduced.
そこで、このような問題を解決するため、本実施例で
は、自荷電流の方向に応じて上記3方式を切り替えて用
いるようにしている。すなわち、CPUは負荷電流の方向
を判別し、上記誤差電圧が生じない方式を選択して演算
制御ユニット8に演算制御信号を転送するようになって
いる。Therefore, in order to solve such a problem, in the present embodiment, the above three methods are switched and used according to the direction of the self-load current. That is, the CPU determines the direction of the load current, selects a method in which the error voltage does not occur, and transfers the operation control signal to the operation control unit 8.
第8図実施例のCPUにおける演算処理のタイムチャー
トを第12図に示す。図示のように、インバータ制御装置
33のCPUは、電流、磁極位置、回転方向のデータを取り
込み、制御演算を実行する。制御演算では第12図に示す
通り、制御対象である電動機の速度を算出し、検出速度
と指令速度の偏差に応じたパルス信号のデューティ規定
するためのデータである基準時刻データを算出する。次
に電圧型インバータ30の上下アームの短絡を避けるため
のデッドタイムを生成する加工時刻データ(1),
(2)を算出する。更に電流方向を判別し、加工方式を
決定する演算制御信号を生成する。CPUは基準時刻デー
タを基準時刻データレジスタ2に、加工時刻データ
(1),(2)を加工時間データレジスタ3,4に、コン
トロール信号をコントロールレジスタ1に格納する。こ
れにより演算ユニット8において基準時刻データと加工
時間データ(1),(2)を加算あるいは減算すること
により所望のPWM信号を得ための時刻データを生成す
る。したがって、前述したように、本実施例において
も、演算ユニット8の機能により、CPUの演算処理の負
荷が軽減される。FIG. 12 shows a time chart of the arithmetic processing in the CPU of the FIG. 8 embodiment. As shown, the inverter control device
The 33 CPU fetches the data of the current, the magnetic pole position, and the rotation direction, and executes the control calculation. In the control calculation, as shown in FIG. 12, the speed of the motor to be controlled is calculated, and reference time data, which is data for defining the duty of the pulse signal according to the deviation between the detected speed and the command speed, is calculated. Next, machining time data (1) for generating dead time for avoiding a short circuit between the upper and lower arms of the voltage type inverter 30,
(2) is calculated. Further, a current direction is determined, and an arithmetic control signal for determining a processing method is generated. The CPU stores the reference time data in the reference time data register 2, the processing time data (1) and (2) in the processing time data registers 3 and 4, and the control signal in the control register 1. Thus, the arithmetic unit 8 generates time data for obtaining a desired PWM signal by adding or subtracting the reference time data and the processing time data (1) and (2). Therefore, as described above, also in this embodiment, the function of the arithmetic unit 8 reduces the load of the arithmetic processing of the CPU.
以上説明したように、本発明によれば、次の効果が得
られる。As described above, according to the present invention, the following effects can be obtained.
すなわち、1つの基準時刻データと一対の加工時間デ
ータを用いて、一対のパルスの立上り点と立下り点との
時刻データが演算ユニットによりもとめられ、これが一
対のパルス出力レジスタに格納される。そして、比較器
によりカウンタの値が立上り時刻データに一致したと
き、第1のパルス出力レジスタの出力端子は指定された
2値状態(正または負)に変化され、次に立下がり時刻
データに一致したときにリセットされる。同様に第2の
パルス出力レジスタの出力端子は第1とは逆に動作され
る。その結果相補的に動作される上下アームのスイッチ
ング素子の駆動に適したパターンの一対のパルスが生成
される。したがって、上位CPUから転送しなければなら
ない時刻データが1相あたり1個減るので上位CPUのデ
ータ転送負荷が軽くなる。また、上位CPUは一対のパル
スの時間差を制御する演算処理をしなくてもよいことか
ら、負荷が軽減される。That is, using one reference time data and a pair of machining time data, the time data of the rising point and the falling point of the pair of pulses is obtained by the arithmetic unit, and this is stored in the pair of pulse output registers. Then, when the value of the counter matches the rising time data by the comparator, the output terminal of the first pulse output register is changed to the designated binary state (positive or negative), and then matches the falling time data. Reset when you do. Similarly, the output terminal of the second pulse output register is operated in reverse to the first. As a result, a pair of pulses having a pattern suitable for driving the switching elements of the upper and lower arms that are operated complementarily are generated. Therefore, since the time data that must be transferred from the upper CPU is reduced by one per phase, the data transfer load on the upper CPU is reduced. Further, the host CPU does not need to perform the arithmetic processing for controlling the time difference between the pair of pulses, so that the load is reduced.
また、アップダウンカウンタを用いたものによれば、
PWM搬送波の周期に合わせてカウンタのアップリセット
とダウンリセットとを行わせることにより、1つの時刻
データだけでパルスの立上り点と立下がり点とを制御で
き、演算ユニットの処理が簡単になる。Also, according to the one using the up / down counter,
By performing up-reset and down-reset of the counter in accordance with the cycle of the PWM carrier, the rising and falling points of the pulse can be controlled with only one time data, and the processing of the arithmetic unit is simplified.
なお、一方のパルスの加工時間データを前記基準時刻
データに合わせたものによれば、基準時刻データレジス
タまたは第1の加工時間データレジスタを省略できると
ともに、さらに転送データ数を1個低減できる。When the processing time data of one pulse is matched with the reference time data, the reference time data register or the first processing time data register can be omitted, and the number of transfer data can be further reduced by one.
また、前記各パルス出力レジスタが前記出力端子の反
転状態に保持される反転出力端子を有してなるものと
し、前記各パルス出力レジスタの出力端子と反転出力端
子とを択一的に選択する出力スイッチを設け、該各スイ
ッチを前記コントロールレジスタに格納する出力スイッ
チコントロール信号により制御するようにしたものによ
れば、生成パルスの極性についての汎用性を持たせるこ
とができる。また、本発明の電動機制御装置によれば、
負荷電流の方向に応じてデッドタイムの付加方式を3方
式のなかから切り替えて選択するようにしていることか
ら、出力電圧の誤差が低減されるという効果がある。Further, each of the pulse output registers has an inverted output terminal that is held in an inverted state of the output terminal, and an output for selectively selecting an output terminal and an inverted output terminal of each of the pulse output registers. According to the configuration in which the switches are provided and each switch is controlled by the output switch control signal stored in the control register, versatility can be provided for the polarity of the generated pulse. According to the motor control device of the present invention,
Since the method of adding the dead time is switched and selected from among the three methods according to the direction of the load current, an error in the output voltage is reduced.
第1図は本発明のパルス生成装置の一実施例のブロック
構成図、第2図は第1図実施例の動作を説明するタイム
チャート、第3図はPWMパルスの概念を説明するタイム
チャート、第4図と第5図と第6図はそれぞれパルス生
成の演算方式の他の実施例の動作を説明するタイムチャ
ート、第7図は本発明のパルス生成装置の他の実施例の
タイムチャート、第8図は本発明の電動機制御装置の一
実施例の構成図、第9図は第8図実施例の要部構成図、
第10図と第11図は負荷電流とデッドタイムが出力電圧に
及ぼす影響を説明する図、第12図は第8図実施例のCPU
にかかる演算内容のタイムチャートである。 1……コントロールレジスタ、2……基準時刻データレ
ジスタ、3,4……加工時間データレジスタ、5,6,41……
パルス出力レジスタ、8……演算ユニット、9……転送
制御ユニット、10,11,40……時刻データレジスタ、16…
…アップダウンカウンタ、18,19……比較器、22,23……
出力スイッチ、30……インバータ回路、33……インバー
タ制御装置。FIG. 1 is a block diagram of an embodiment of a pulse generating apparatus according to the present invention, FIG. 2 is a time chart for explaining the operation of the embodiment of FIG. 1, FIG. 3 is a time chart for explaining the concept of a PWM pulse, FIGS. 4, 5, and 6 are time charts for explaining the operation of another embodiment of the pulse generation calculation method, respectively, and FIG. 7 is a time chart of another embodiment of the pulse generation device of the present invention. FIG. 8 is a block diagram of an embodiment of a motor control device of the present invention, FIG. 9 is a block diagram of a main part of the embodiment of FIG.
10 and 11 are diagrams for explaining the effects of load current and dead time on the output voltage, and FIG. 12 is a diagram showing the CPU of FIG.
6 is a time chart of the calculation contents according to FIG. 1 ... Control register, 2 ... Reference time data register, 3,4 ... Processing time data register, 5,6,41 ...
Pulse output register, 8 arithmetic unit, 9 transfer control unit, 10, 11, 40 time data register, 16
… Up / down counter, 18,19 …… Comparator, 22,23 ……
Output switch, 30 ... Inverter circuit, 33 ... Inverter control device.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 小原 三四郎 茨城県日立市久慈町4026番地 株式会社 日立製作所日立研究所内 (58)調査した分野(Int.Cl.6,DB名) H02M 7/42 - 7/98 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Sanshiro Ohara 4026 Kuji-cho, Hitachi City, Ibaraki Prefecture Within Hitachi Research Laboratory, Hitachi, Ltd. (58) Field surveyed (Int.Cl. 6 , DB name) H02M 7/42- 7/98
Claims (5)
る基準時刻データが格納される基準時刻データレジスタ
と、前記基準時刻データに対する前記各パルスの時間の
関係を示す加工時間データがそれぞれ格納される第1と
第2の加工時間データレジスタと、前記一対のパルスの
一方のパルスの2値状態を指定する状態データがそれぞ
れ格納される第1と第2のパルス出力レジスタと、コン
トロール信号が格納されるコントロールレジスタと、ク
ロックパルスを計数するカウンタと、前記基準時刻デー
タと前記各加工時間データとを取込んで前記各パルスの
立ち上がりと立ち下がりの時刻データを加減演算により
求める演算ユニットと、該演算ユニットにより求められ
た前記各パルスのそれぞれの時刻データの転送タイミン
グを制御する転送制御ユニットと、該転送制御ユニット
から出力される前記各パルスの時刻データがそれぞれ格
納される第1と第2の時刻データレジスタと、該各時刻
データレジスタの時刻データと前記カウンタの値とをそ
れぞれ比較して一致したときに一致信号を出力する第1
と第2の比較器とを備えてなり、前記演算ユニットは前
記コントロールレジスタに格納される演算制御信号によ
り定められる演算処理を行うものとされ、前記転送制御
ユニットは前記コントロールレジスタに格納された転送
制御信号に従って前記各時刻データの転送タイミングを
制御するものとされ、前記第1のパルス出力レジスタは
前記格納される状態データを反転した2値状態にリセッ
トされる出力端子を有するものとされ、前記第2のパル
ス出力レジスタは前記格納される状態データの2値状態
にリセットされる出力端子を有するものとされ、前記第
1と第2のパルス出力レジスタはそれぞれ対応する前記
比較器から一の一致信号が入力されたときに出力端子の
2値状態を反転し、次の一致信号が入力されたときに出
力端子の2値状態をリセットするものとされ、前記カウ
ンタは前記コントロールレジスタに一定周期で格納され
るリセット信号によりリセットされるものとされ、前記
基準時刻データと前記各加工時間データと前記状態デー
タと前記コントロール信号は前記カウンタのカウントア
ップ・リセット信号の転送周期に合わせて外部から入力
されるものとされた電力変換装置のパルス生成装置。1. A reference time data register storing reference time data defining a time axis of a pair of pulses to be generated, and processing time data indicating a relationship of the time of each pulse with respect to the reference time data. First and second processing time data registers, first and second pulse output registers respectively storing state data designating a binary state of one of the pair of pulses, and a control signal. A control register to be stored, a counter that counts clock pulses, an arithmetic unit that takes in the reference time data and each of the processing time data and obtains time data of the rise and fall of each of the pulses by an addition / subtraction operation, Transfer for controlling transfer timing of each time data of each of the pulses obtained by the arithmetic unit Control unit, first and second time data registers respectively storing time data of the respective pulses output from the transfer control unit, and time data of the respective time data registers and the value of the counter. The first that outputs a coincidence signal when a comparison and a coincidence are made
And a second comparator, wherein the arithmetic unit performs arithmetic processing determined by an arithmetic control signal stored in the control register, and the transfer control unit performs a transfer process stored in the control register. The transfer timing of each time data is controlled according to a control signal, the first pulse output register has an output terminal that is reset to a binary state obtained by inverting the stored state data, The second pulse output register has an output terminal that is reset to a binary state of the stored state data, and the first and second pulse output registers each have one match from the corresponding comparator. Inverts the binary state of the output terminal when a signal is input, and the binary state of the output terminal when the next match signal is input The counter is reset by a reset signal stored in the control register at a constant period, and the reference time data, the respective processing time data, the state data, and the control signal are the counter. The pulse generator of the power converter, which is externally input in accordance with the transfer cycle of the count-up / reset signal.
る基準時刻データが格納される基準時刻データレジスタ
と、前記基準時刻データに対する前記各パルスの時間関
係を示す加工時間データがそれぞれ格納される第1と第
2の加工時間データレジスタと、前記一対のパルスの一
方のパルスの2値状態を指定する状態データがそれぞれ
格納される第1と第2のパルス出力レジスタと、コント
ロール信号が格納されるコントロールレジスタと、クロ
ックパルスを計数するカウンタと、前記基準時刻データ
と前記各加工時間データとを取込んで前記各パルスの立
ち上がりと立ち下がりの時刻データを加減演算により求
める演算ユニットと、該演算ユニットにより求められた
前記各パルスのそれぞれの時刻データの転送タイミング
を制御する転送制御ユニットと、該転送制御ユニットか
ら出力される前記各パルスの時刻データがそれぞれ格納
される第1と第2の時刻データレジスタと、該各時刻デ
ータレジスタの時刻データと前記カウンタの値とをそれ
ぞれ比較して一致したときに一致信号を出力する第1と
第2の比較器とを備えてなり、前記演算ユニットは前記
コントロールレジスタに格納される演算制御信号により
定められる演算処理を行うものとされ、前記転送制御ユ
ニットは前記コントロールレジスタに格納された転送制
御信号に従って前記各時刻データの転送タイミングを制
御するものとされ、前記各パルス出力レジスタはそれぞ
れ前記格納される状態データと異なる2値状態にリセッ
トされる出力端子と該出力端子の反転状態に保持される
反転出力端子とを有するものとされ、かつそれぞれ対応
する前記比較器から一の一致信号が入力されたときに一
対の出力端子の2値状態を反転し、次の一致信号が入力
されたときに一対の出力端子の2値状態をリセットする
ものとされ、前記カウンタは前記コントロールレジスタ
に一定周期で格納されるリセット信号によりリセットさ
れるものとされ、前記基準時刻データと前記各加工時間
データと前記状態データと前記コントロール信号は前記
カウンタのカウントアップ・リセット信号の転送周期に
合わせて外部から入力されるものとされた電力変換装置
のパルス生成装置。2. A reference time data register storing reference time data defining a time axis of a pair of pulses to be generated, and processing time data indicating a time relationship of each pulse with respect to the reference time data are stored. First and second machining time data registers, first and second pulse output registers respectively storing state data designating a binary state of one of the pair of pulses, and a control signal stored therein. A control register, a counter that counts clock pulses, an arithmetic unit that takes in the reference time data and each of the processing time data, and obtains rising and falling time data of each of the pulses by an addition / subtraction operation. A transfer system for controlling a transfer timing of each time data of each pulse obtained by the arithmetic unit; A unit, first and second time data registers respectively storing time data of the respective pulses output from the transfer control unit, and comparing the time data of the respective time data registers with the value of the counter. And a first comparator and a second comparator that output a match signal when they match with each other, wherein the arithmetic unit performs arithmetic processing defined by an arithmetic control signal stored in the control register, The transfer control unit controls a transfer timing of each time data according to a transfer control signal stored in the control register, and each of the pulse output registers is reset to a binary state different from the stored state data. Output terminal and an inverted output terminal held in an inverted state of the output terminal. In addition, when one match signal is input from the corresponding comparator, the binary state of the pair of output terminals is inverted, and when the next match signal is input, the binary state of the pair of output terminals is reset. The counter is reset by a reset signal stored in the control register at a constant cycle, and the reference time data, the respective processing time data, the state data, and the control signal are stored in the control register. A pulse generation device of a power conversion device which is externally input in accordance with a transfer cycle of a count-up / reset signal.
の反転状態に保持される反転出力端子を有してなること
を特徴とする請求項1に記載のパルス生成装置。3. The pulse generator according to claim 1, wherein each of said pulse output registers has an inverted output terminal which is held in an inverted state of said output terminal.
転出力端子とを択一的に選択する出力スイッチを設け、
該各スイッチを前記コントロールレジスタに格納する出
力スイッチコントロール信号により制御することを特徴
とする請求項2,3いずれかに記載のパルス生成装置。4. An output switch for selectively selecting an output terminal and an inverted output terminal of each of the pulse output registers,
4. The pulse generator according to claim 2, wherein each switch is controlled by an output switch control signal stored in the control register.
ことを特徴とする請求項1,2,3,4いずれかに記載のパル
ス生成装置。5. The pulse generator according to claim 1, wherein said counter is a free-run counter.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023456A JP2932294B2 (en) | 1990-02-01 | 1990-02-01 | Pulse generator |
| US07/649,861 US5418932A (en) | 1990-02-01 | 1991-02-01 | Generation of width modulated pulses by relatively adjusting rising and falling edges upon comparison of counter with programmably stored values |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023456A JP2932294B2 (en) | 1990-02-01 | 1990-02-01 | Pulse generator |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03230770A JPH03230770A (en) | 1991-10-14 |
| JP2932294B2 true JP2932294B2 (en) | 1999-08-09 |
Family
ID=12111009
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2023456A Expired - Lifetime JP2932294B2 (en) | 1990-02-01 | 1990-02-01 | Pulse generator |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2932294B2 (en) |
-
1990
- 1990-02-01 JP JP2023456A patent/JP2932294B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03230770A (en) | 1991-10-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5917721A (en) | Apparatus for reducing the effects of turn on delay errors in motor control | |
| JPH07108095B2 (en) | Inverter device and control method thereof | |
| KR100288770B1 (en) | Rectifier Circuit for Sensorless Three-Phase Bieldi Motors | |
| JPH0793823B2 (en) | PWM controller for voltage source inverter | |
| JP2005117839A (en) | Method and apparatus for generating pulse width modulated wave | |
| JP3677497B2 (en) | Pulse width modulation waveform generator and three-phase pulse width modulation waveform generator | |
| JPH09121558A (en) | Motor drive control device | |
| JP2001231287A (en) | Dc brushless motor system | |
| JP2932294B2 (en) | Pulse generator | |
| JP3777242B2 (en) | Motor control device | |
| CN117639536A (en) | Inverter pulse width modulation control method, device, electronic equipment and storage medium | |
| JP2527880Y2 (en) | Ignition control circuit | |
| JP2943323B2 (en) | Method for detecting output current of PWM inverter | |
| JP3404230B2 (en) | Three-phase PWM waveform generator | |
| JPH04293A (en) | Current detecting system for thyristor leonard device | |
| JP4419312B2 (en) | Semiconductor power converter | |
| JP3305173B2 (en) | Control device for brushless motor | |
| JP3131975B2 (en) | Digital three-phase PWM waveform generator | |
| JP2679307B2 (en) | PWM pulse generation method | |
| SU1453556A1 (en) | Inverter control method | |
| JPH0591790A (en) | Brushless motor | |
| JPS62289012A (en) | Duty control pulse generating circuit | |
| JPH1175375A (en) | Three-phase pulse width modulation waveform generator | |
| JP3248698B2 (en) | PWM signal generator | |
| JP2924365B2 (en) | Digital speed detection circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080528 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080528 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090528 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100528 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100528 Year of fee payment: 11 |