JP2005229760A - Inverter controller and inverter controlling method - Google Patents

Inverter controller and inverter controlling method Download PDF

Info

Publication number
JP2005229760A
JP2005229760A JP2004037301A JP2004037301A JP2005229760A JP 2005229760 A JP2005229760 A JP 2005229760A JP 2004037301 A JP2004037301 A JP 2004037301A JP 2004037301 A JP2004037301 A JP 2004037301A JP 2005229760 A JP2005229760 A JP 2005229760A
Authority
JP
Japan
Prior art keywords
phase
carrier
signal
triangular wave
value
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.)
Pending
Application number
JP2004037301A
Other languages
Japanese (ja)
Inventor
Ikuya Toya
郁也 刀谷
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.)
Nippon Yusoki Co Ltd
Original Assignee
Nippon Yusoki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Yusoki Co Ltd filed Critical Nippon Yusoki Co Ltd
Priority to JP2004037301A priority Critical patent/JP2005229760A/en
Priority to US11/052,813 priority patent/US7049778B2/en
Publication of JP2005229760A publication Critical patent/JP2005229760A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To stably and accurately implement an A/D conversion of a motor current of each phase for one period of a triangular waveform carrier. <P>SOLUTION: The triangular waveform carriers Cu, Cv, Cw corresponding to each phase are generated so as to have a predetermined phase difference between each other. A PWM signal for driving a switching element is generated by comparing the triangular waveform carriers Cu, Cv, Cw with an instruction voltage value of each phase. Interrupt signals INT2U, INT2V, INT2W are generated at the timing of bottoms of the triangular waveform carriers Cu, Cv, Cw. The A/D conversion of the motor current of each phase detected by shunts ST1-ST3, is initiated on the basis of the timing of each interrupt signal. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、3相交流モータのPWM(Pulse Width Modulation)制御などに用いられるインバータ制御装置およびインバータ制御方法に関するものである。   The present invention relates to an inverter control device and an inverter control method used for PWM (Pulse Width Modulation) control of a three-phase AC motor.

図8は、PWM制御による一般的な3相交流モータの制御装置を示している。図において、Bはバッテリで、このバッテリBからコンタクタZおよびインバータ回路100を介して、モータMへ電源が供給される。モータMは、例えばフォークリフトに搭載される3相インダクションモータ(誘導電動機)である。コンタクタZは、電磁接触器の接点から構成される。また、図において、Cは電源ライン間に接続されたコンデンサ、STはモータMに流れる電流を検出するためのシャントである。シャントSTは抵抗から構成される。PGはモータMの回転数を検出するためのパルス発生器であって、モータMの回転軸に設けられた公知のロータリエンコーダから構成される。   FIG. 8 shows a control device for a general three-phase AC motor by PWM control. In the figure, B is a battery, and power is supplied from the battery B to the motor M via the contactor Z and the inverter circuit 100. The motor M is, for example, a three-phase induction motor (induction motor) mounted on a forklift. The contactor Z is composed of contacts of an electromagnetic contactor. In the figure, C is a capacitor connected between the power supply lines, and ST is a shunt for detecting the current flowing through the motor M. The shunt ST is composed of a resistor. PG is a pulse generator for detecting the number of rotations of the motor M, and is composed of a known rotary encoder provided on the rotation shaft of the motor M.

インバータ回路100は、バッテリBの直流電源を交流電源に変換してモータMを駆動するための回路であって、U相上、U相下、V相上、V相下、W相上、W相下の6個の半導体スイッチング素子Q1〜Q6から構成される公知の回路である。半導体スイッチング素子としては、たとえばMOS型FET(電界効果トランジスタ)やIGBT(絶縁ゲート型バイポーラトランジスタ)などの高速スイッチング動作が可能な素子が用いられ、それぞれの素子には、ダイオードが並列接続される。各半導体スイッチング素子Q1〜Q6のゲートには、制御部101からのPWM信号が入力される。このPWM信号によって、各半導体スイッチング素子Q1〜Q6は所定のオン時間、オフ時間で開閉動作を行ない、その結果、インバータ回路100の出力は3相交流として取り出され、U相電圧、V相電圧、W相電圧がモータMに供給される。   The inverter circuit 100 is a circuit for driving the motor M by converting the direct current power source of the battery B into an alternating current power source. The U phase, the U phase, the V phase, the V phase, the W phase, This is a known circuit composed of six semiconductor switching elements Q1 to Q6 under the phase. As the semiconductor switching element, an element capable of high-speed switching operation such as a MOS type FET (field effect transistor) or IGBT (insulated gate bipolar transistor) is used, and a diode is connected in parallel to each element. The PWM signal from the control unit 101 is input to the gates of the semiconductor switching elements Q1 to Q6. With this PWM signal, each of the semiconductor switching elements Q1 to Q6 performs an opening / closing operation with a predetermined on time and off time. As a result, the output of the inverter circuit 100 is taken out as a three-phase alternating current, and a U-phase voltage, a V-phase voltage, A W-phase voltage is supplied to the motor M.

制御部101は、CPU、メモリ、A/D変換器、キャリア発生回路、PWM回路などを備えている。制御部101には、例えばフォークリフトのレバー操作に基づくモータ速度等の指示値、パルス発生器PGから出力されるパルス、シャントSTで検出された電流値、バッテリBの電圧値などが入力される。制御部101では、これらの入力値に基づいてモータMの制御に必要なPWM信号を生成し、インバータ回路100へ出力する。以上のようなPWM制御を用いたモータ制御装置は、例えば後記の特許文献1に記載されている。   The control unit 101 includes a CPU, a memory, an A / D converter, a carrier generation circuit, a PWM circuit, and the like. For example, an instruction value such as a motor speed based on a lever operation of a forklift, a pulse output from the pulse generator PG, a current value detected by the shunt ST, a voltage value of the battery B, and the like are input to the control unit 101. The control unit 101 generates a PWM signal necessary for controlling the motor M based on these input values and outputs the PWM signal to the inverter circuit 100. A motor control device using PWM control as described above is described in, for example, Patent Document 1 described later.

図9は、制御部101に設けられているPWM信号生成部の構成を示した図である。200はキャリアCaを発生するキャリア発生部、207はキャリアCaとU相指令電圧の値とを比較する比較器、208はキャリアCaとV相指令電圧の値とを比較する比較器、209はキャリアCaとW相指令電圧の値とを比較する比較器、210は比較器207〜209の出力に基づいてPWM信号を生成するPWM回路である。PWM回路210からは、図8のインバータ回路100におけるU相上、U相下、V相上、V相下、W相上、W相下の各スイッチング素子Q1〜Q6のゲートへ与えられるパルスがPWM信号として出力される。   FIG. 9 is a diagram illustrating a configuration of a PWM signal generation unit provided in the control unit 101. Reference numeral 200 denotes a carrier generating unit that generates the carrier Ca, 207 denotes a comparator that compares the carrier Ca and the value of the U-phase command voltage, 208 denotes a comparator that compares the value of the carrier Ca and the value of the V-phase command voltage, and 209 denotes a carrier. A comparator 210 that compares Ca and the value of the W-phase command voltage is a PWM circuit that generates a PWM signal based on the outputs of the comparators 207 to 209. Pulses applied from the PWM circuit 210 to the gates of the switching elements Q1 to Q6 on the U phase, the U phase, the V phase, the V phase, the W phase, and the W phase in the inverter circuit 100 of FIG. Output as a PWM signal.

図10は、PWM信号を生成する原理を説明する図である。図のように、キャリアCaは一定の周波数を持った三角波であって、各相の指令電圧値とキャリアCaの振幅とが比較器207〜209で比較される。そして、キャリアCaの振幅が指令電圧値以上である区間では、比較器207〜209の出力は「H」となり、キャリアCaの振幅が指令電圧値未満である区間では、比較器207〜209の出力は「L」となる。したがって、比較器207〜209からは、指令電圧値の変化に従ってパルス幅が変化する信号が得られる。この信号はPWM回路210へ入力され、PWM回路210は、比較器207〜209の出力に基づいて、図10のような各相上下のスイッチング素子Q1〜Q6を駆動するための6種類のPWM信号を生成する。図10からわかるように、キャリアCaの振幅が各相の指令電圧値以上である区間では、各相の上段のスイッチング素子がオンとなり、下段のスイッチング素子はオフとなる。一方、キャリアCaの振幅が指令電圧値未満である区間では、各相の下段のスイッチング素子がオンとなり、上段のスイッチング素子はオフとなる。   FIG. 10 is a diagram for explaining the principle of generating a PWM signal. As shown in the figure, the carrier Ca is a triangular wave having a constant frequency, and the command voltage value of each phase and the amplitude of the carrier Ca are compared by the comparators 207 to 209. The outputs of the comparators 207 to 209 are “H” in the section where the amplitude of the carrier Ca is equal to or greater than the command voltage value, and the outputs of the comparators 207 to 209 are displayed in the section where the amplitude of the carrier Ca is less than the command voltage value. Becomes “L”. Therefore, the comparators 207 to 209 obtain a signal whose pulse width changes according to the change of the command voltage value. This signal is input to the PWM circuit 210. The PWM circuit 210, based on the outputs of the comparators 207 to 209, has six types of PWM signals for driving the switching elements Q1 to Q6 above and below each phase as shown in FIG. Is generated. As can be seen from FIG. 10, in the interval where the amplitude of the carrier Ca is equal to or greater than the command voltage value of each phase, the upper switching element of each phase is turned on and the lower switching element is turned off. On the other hand, in a section where the amplitude of the carrier Ca is less than the command voltage value, the lower switching element of each phase is turned on and the upper switching element is turned off.

ここで、各相における上下一対のスイッチング素子の一方がオンするタイミングと、他方がオフするタイミングとが同時になると、上下のスイッチング素子が短絡回路を形成して大電流が流れ、素子が破壊するおそれがある。そこで、実際には、PWM回路210において、上下一対のスイッチング素子の一方のオンタイミングと他方のオフタイミングとの間に一定の時間差(デッドタイム)を持たせる処理が行われる。   Here, if the timing when one of the pair of upper and lower switching elements in each phase is turned on and the timing when the other is turned off at the same time, the upper and lower switching elements may form a short circuit, causing a large current to flow and the elements to be destroyed. There is. Therefore, in practice, the PWM circuit 210 performs a process of giving a certain time difference (dead time) between one on timing and the other off timing of the pair of upper and lower switching elements.

しかしながら、上記のような単一のキャリアCaを用いてPWM信号を生成する方式では、モータ電圧が0V付近の場合、すなわち各相のPWM信号のパルスデューティ比が50:50近傍である場合に、図11に示したように、各相のデッドタイムTdの区間が全て同じ位置で重なってしまい、この区間ではインバータ回路100が不動作状態となって、出力されるはずのモータ電圧が出力されないという問題が生じる。   However, in the method of generating a PWM signal using the single carrier Ca as described above, when the motor voltage is around 0 V, that is, when the pulse duty ratio of the PWM signal of each phase is around 50:50, As shown in FIG. 11, the sections of the dead time Td of each phase all overlap at the same position. In this section, the inverter circuit 100 becomes inoperative and the motor voltage that should be output is not output. Problems arise.

そこで、この問題を解消するために、図12に示すように、各相ごとに独立したキャリアを用い、キャリア間の位相を120°ずつ異ならせて、各相の指令電圧値を対応する相のキャリアと比較することによりPWM信号を得る方式が、後記の特許文献2で提案されている。この場合は、図14に示すように、U相、V相、W相の各相ごとにキャリア発生部201〜203を設けて、U相キャリアCu、V相キャリアCv、W相キャリアCwを発生させる。これによれば、図13に示したように、各相のPWM信号のパルスデューティ比が50:50近傍の場合であっても、キャリアの位相ずれに応じて、各相のデッドタイムTdの区間が重ならなくなるので、モータ電圧が0V付近の場合も、インバータ回路100が動作して所定の電圧を得ることができる。   Therefore, in order to solve this problem, as shown in FIG. 12, an independent carrier is used for each phase, the phase between the carriers is varied by 120 °, and the command voltage value of each phase is changed to the corresponding phase. A method of obtaining a PWM signal by comparing with a carrier is proposed in Patent Document 2 described later. In this case, as shown in FIG. 14, carrier generation units 201 to 203 are provided for each of the U phase, the V phase, and the W phase to generate the U phase carrier Cu, the V phase carrier Cv, and the W phase carrier Cw. Let According to this, as shown in FIG. 13, even if the pulse duty ratio of the PWM signal of each phase is around 50:50, the interval of the dead time Td of each phase according to the carrier phase shift Therefore, even when the motor voltage is around 0V, the inverter circuit 100 can operate to obtain a predetermined voltage.

特開2003−164190号公報(段落0019〜0020、図1)JP 2003-164190 A (paragraphs 0019 to 0020, FIG. 1) 特開2002−27763号公報(段落0050〜0065、図13)Japanese Patent Laying-Open No. 2002-27763 (paragraphs 0050 to 0065, FIG. 13)

図8に示したのは、モータMに流れる電流を1個のシャントSTにより検出する1シャント方式のインバータ制御装置である。このようなインバータ制御装置にあっては、シャントSTで検出されたモータ電流に基づいてモータMに対するフィードバック制御が行われるため、シャントSTで検出した各相の電流を精度良くA/D変換することが、モータMを高精度に制御する上で要求される。そして、そのためには、三角波キャリアの1周期の区間で、各相の電流を安定して検出しA/D変換処理を行うことが必要となる。また、1シャント方式の場合は、1個のシャントで各相のモータ電流を時分割的に検出するため、各相のモータ電流に対して、A/D変換のタイミングを適切に選ぶ必要がある。ここで、各スイッチング素子がオフからオンとなるPWM信号のそれぞれの立上りで割込信号を発生させ、この割込信号のタイミングでモータ電流のA/D変換を開始する場合を考えると、単一の三角波キャリアを用いたときは、割込信号のタイミングが各相間で接近して、A/D変換の処理時間が短くなる。このため、例えばスイッチング素子が完全にオン状態となっていないような不安定な状態でA/D変換が行われるおそれがあり、A/D変換されたモータ電流値の精度が低下するという問題がある。   FIG. 8 shows a one-shunt inverter control device that detects a current flowing through the motor M by using one shunt ST. In such an inverter control device, since feedback control is performed on the motor M based on the motor current detected by the shunt ST, the current of each phase detected by the shunt ST is A / D converted with high accuracy. However, it is required for controlling the motor M with high accuracy. For this purpose, it is necessary to stably detect the current of each phase and perform the A / D conversion process in one period of the triangular wave carrier. In the case of the single shunt method, since the motor current of each phase is detected in a time-sharing manner with one shunt, it is necessary to appropriately select the A / D conversion timing for the motor current of each phase. . Here, considering the case where an interrupt signal is generated at each rising edge of the PWM signal from which each switching element is turned on, the motor current A / D conversion is started at the timing of this interrupt signal. When the triangular wave carrier is used, the timing of the interrupt signal approaches between each phase, and the processing time of A / D conversion is shortened. For this reason, for example, there is a possibility that A / D conversion may be performed in an unstable state where the switching element is not completely turned on, and the accuracy of the motor current value after A / D conversion is reduced. is there.

これに対して、多相の三角波キャリアを用いたときは、各キャリアの位相がずれていることに基因して、割込信号の間隔を長くとることができる。その結果、単一の三角波キャリアの場合に比べてA/D変換の処理時間に余裕が生じるが、キャリアの1周期区間における各割込信号の間隔は一定ではなく、各相の指令電圧値の時間的変化に伴って変動する。したがって、各相モータ電流のA/D変換処理に費やせる時間も不定であり、全ての相のモータ電流に対して一律にA/D変換のための十分な時間が保証されているわけではない。このため、割込信号の間隔が短い区間でA/D変換されたモータ電流値は信頼性が低く、これを用いてモータのフィードバック制御を行った場合は、モータ制御の精度が低下するという問題がある。前記の特許文献1、2には、以上のような問題と解決手段について開示がない。   On the other hand, when a multiphase triangular wave carrier is used, the interval between the interrupt signals can be increased because the phases of the carriers are shifted. As a result, there is a margin in the A / D conversion processing time compared to the case of a single triangular wave carrier, but the interval of each interrupt signal in one cycle section of the carrier is not constant, and the command voltage value of each phase Fluctuates with time. Therefore, the time that can be spent for the A / D conversion processing of each phase motor current is also indefinite, and sufficient time for A / D conversion is not guaranteed uniformly for the motor currents of all phases. . For this reason, the motor current value that is A / D converted in a section where the interval of the interrupt signal is short is low in reliability, and when the feedback control of the motor is performed using this, the accuracy of the motor control is lowered. There is. The above Patent Documents 1 and 2 do not disclose the above problems and solving means.

そこで本発明は、三角波キャリアの1周期区間において、各相のモータ電流を安定して高精度にA/D変換できるようにすることを目的としている。   Therefore, an object of the present invention is to enable stable A / D conversion of motor current of each phase in one period section of a triangular wave carrier.

本発明に係るインバータ制御装置は、多相交流モータの各相に対応する1対のスイッチング素子の直列体が並列に設けられ、各直列体におけるスイッチング素子同士の接続点からモータを駆動するための各相電圧がそれぞれ取り出されるインバータ回路と、前記直列体のそれぞれに対して直列に接続され、モータに流れる電流を各相ごとに検出する電流検出手段と、各相の指令値に基づくPWM信号を出力してインバータ回路の各スイッチング素子のオン・オフ動作を制御する制御部とを備えたインバータ制御装置であって、制御部は、電流検出手段のそれぞれが検出した各相ごとのモータ電流をA/D変換するA/D変換器と、このA/D変換器の動作を制御する制御手段と、各相に対応した三角波キャリアを各相間で所定の位相差を設けて発生させるキャリア発生部と、このキャリア発生部から出力される各相の三角波キャリアと各相の指令値との比較に基づいて、各スイッチング素子ごとのPWM信号を生成する信号生成手段とを備える。そして、キャリア発生部は、各相の三角波キャリアの山部または谷部のタイミングで、制御手段に対する割込信号を生成し、制御手段は、各割込信号に基づいて、A/D変換器に対し、当該割込信号に対応する相のモータ電流のA/D変換を開始させる。   In the inverter control device according to the present invention, a series body of a pair of switching elements corresponding to each phase of a multiphase AC motor is provided in parallel, and the motor is driven from a connection point between the switching elements in each series body. An inverter circuit from which each phase voltage is taken out, a current detection means that is connected in series to each of the series bodies and detects the current flowing through the motor for each phase, and a PWM signal based on the command value of each phase And a control unit that outputs and controls the on / off operation of each switching element of the inverter circuit, wherein the control unit determines the motor current for each phase detected by each of the current detection means as A A / D converter that performs A / D conversion, a control unit that controls the operation of the A / D converter, and a triangular wave carrier corresponding to each phase is provided with a predetermined phase difference between the phases. Comprising a carrier generating portion for generating, based on a comparison between a command value of the triangular wave carrier and each phase of each phase outputted from the carrier generating region, and a signal generating means for generating a PWM signal for each switching element. The carrier generating unit generates an interrupt signal for the control means at the timing of the peak or valley of the triangular wave carrier of each phase, and the control means sends an A / D converter to the A / D converter based on each interrupt signal. On the other hand, A / D conversion of the motor current of the phase corresponding to the interrupt signal is started.

本発明においては、電流検出手段が各相ごとに設けられていて、各相のモータ電流がそれぞれの電流検出手段により独立して検出される。また、キャリアとして位相がずれた多相の三角波キャリアを用い、各相のキャリアの山部または谷部のタイミングで割込信号が発生する。そして、この割込信号のタイミングで、それぞれの割込信号に対応する相のモータ電流のA/D変換が開始される。このため、三角波キャリアの周波数を一定にしておけば、各割込信号はキャリアの周期で決まる一定の時間間隔で発生し、これによって、各相のA/D変換処理は常に決まったタイミングで行われることになる。したがって、A/D変換のための時間を、キャリアの周期に応じて比較的長く確保することが可能となる。また、キャリアの山部または谷部のタイミングは、各相のスイッチング素子がオフからオンとなるタイミングではなく、素子がオンしてから所定時間が経過したタイミングであるため、この時点では電流検出手段で検出された各相のモータ電流は安定した状態となっている。したがって、A/D変換されたモータ電流値は信頼性の高いものとなり、この結果、モータを高精度に制御することができる。さらに、A/D変換には一定の時間を要するため、割込信号の間隔が短いと1つのA/D変換器だけでは対処できず複数のA/D変換器が必要となるが、本発明では割込信号の間隔を長くとれるため、1個のA/D変換器だけで対応が可能となる。   In the present invention, current detection means is provided for each phase, and the motor current of each phase is detected independently by each current detection means. In addition, a multiphase triangular wave carrier having a phase shift is used as a carrier, and an interrupt signal is generated at the timing of the peak or valley of each phase carrier. Then, at the timing of this interrupt signal, A / D conversion of the motor current of the phase corresponding to each interrupt signal is started. For this reason, if the frequency of the triangular wave carrier is kept constant, each interrupt signal is generated at a constant time interval determined by the carrier period, and as a result, the A / D conversion processing of each phase is always performed at a fixed timing. It will be. Therefore, it is possible to ensure a relatively long time for A / D conversion in accordance with the carrier cycle. In addition, the timing of the peak or valley of the carrier is not the timing when the switching element of each phase is turned on from off, but is the timing when a predetermined time has elapsed since the element was turned on. The motor currents of the respective phases detected in (1) are in a stable state. Accordingly, the A / D converted motor current value is highly reliable, and as a result, the motor can be controlled with high accuracy. Furthermore, since A / D conversion requires a certain time, if the interval between interrupt signals is short, it cannot be handled by only one A / D converter, and a plurality of A / D converters are required. Since the interval between interrupt signals can be increased, it is possible to cope with only one A / D converter.

本発明の実施形態では、PWM信号は、スイッチング素子をオン状態に維持させる可変時間幅をもつオン区間信号と、スイッチング素子をオフ状態に維持させる可変時間幅をもつオフ区間信号とからなり、キャリア発生部は、各相の直列体における一方のスイッチング素子をオン状態に維持させるオン区間信号の時間幅の略中間タイミングにおいて、割込信号を生成する。この中間タイミングでは、電流検出手段に流れる各割込信号に対応する相のモータ電流は、最も安定した状態となっているため、A/D変換されたモータ電流値の信頼性は一層高いものとなる。   In the embodiment of the present invention, the PWM signal is composed of an ON interval signal having a variable time width for maintaining the switching element in the ON state and an OFF interval signal having a variable time width for maintaining the switching element in the OFF state, The generation unit generates an interrupt signal at substantially the intermediate timing of the time width of the ON section signal that maintains one switching element in the serial body of each phase in the ON state. At this intermediate timing, the motor current of the phase corresponding to each interrupt signal flowing through the current detection means is in the most stable state, so that the reliability of the A / D converted motor current value is higher. Become.

本発明の実施形態では、各相の直列体における一方のスイッチング素子をオン状態に維持させるオン区間信号の時間幅を求め、この時間幅が一定値以上であるときに、当該時間内に生成される割込信号に基づいてA/D変換されたモータ電流の値を有効とし、前記時間幅が一定値未満であるときに、当該時間内に生成される割込信号に基づいてA/D変換されたモータ電流の値を無効とする。スイッチング素子がオン状態を維持する時間が短かすぎると、その間のA/D変換で得られたデータ値は信頼性が低い。そこで、上記時間幅が一定値以上の場合にのみA/D変換の値を有効とすることで、データの信頼性を高めることができる。なお、モータ電流値を無効とする場合は、A/D変換で得られたデータは破棄される。   In the embodiment of the present invention, a time width of an on-section signal that maintains one switching element in the series body of each phase in an on state is obtained, and when this time width is equal to or larger than a certain value, the time width is generated within the time. The value of the motor current A / D converted based on the interrupt signal is validated, and when the time width is less than a certain value, A / D conversion is performed based on the interrupt signal generated within the time Invalidated motor current value. If the time for which the switching element is kept on is too short, the data value obtained by the A / D conversion during that time has low reliability. Therefore, the reliability of data can be improved by making the A / D conversion value valid only when the time width is equal to or greater than a certain value. When the motor current value is invalidated, the data obtained by A / D conversion is discarded.

本発明の実施形態では、各相の直列体における一方のスイッチング素子をオン状態に維持させるオン区間信号の時間幅を求め、この時間幅が一定値以上であるときに、当該時間内に生成される割込信号に基づいて前記A/D変換器にA/D変換を行わせ、前記時間幅が一定値未満であるときに、当該時間内におけるA/D変換を禁止する。この場合は、A/D変換に先立って前記時間幅を予め計算等で求めておくことにより、無駄なA/D変換を行う必要がなくなる。   In the embodiment of the present invention, a time width of an on-section signal that maintains one switching element in the series body of each phase in an on state is obtained, and when this time width is equal to or larger than a certain value, the time width is generated within the time. The A / D converter is caused to perform A / D conversion based on an interrupt signal, and when the time width is less than a certain value, A / D conversion within the time is prohibited. In this case, it is not necessary to perform useless A / D conversion by obtaining the time width in advance by calculation or the like prior to A / D conversion.

本発明の実施形態では、三角波キャリアのうちの1つを基準三角波キャリアとし、この基準三角波キャリアの1周期区間において、電流検出手段のそれぞれが検出した全ての相のモータ電流につき、A/D変換器にA/D変換を行わせる。これにより、どの相の電流についてもデータを採取することができ、モータ電流の検出精度をより向上させることができる。   In the embodiment of the present invention, one of the triangular wave carriers is set as a reference triangular wave carrier, and A / D conversion is performed on the motor currents of all phases detected by each of the current detection means in one period section of the reference triangular wave carrier. Causes the device to perform A / D conversion. Thereby, data can be collected for any phase current, and the detection accuracy of the motor current can be further improved.

本発明の実施形態では、モータは3相交流モータであり、制御手段は、三角波キャリアのうちの1つを基準三角波キャリアとし、この基準三角波キャリアの1周期区間において、電流検出手段のそれぞれが検出したモータ電流のうち、少なくとも2相のモータ電流につき、A/D変換器にA/D変換を行わせる。キャリアの1周期区間においては、指令値の時間的変化により、ある相についてPWM信号が全く出力されないことが起こりうる。こうなると、その相のモータ電流のA/D変換は不可能となるが、本発明では、位相のずれた三角波キャリアを用いるために、基準三角波キャリアの1周期区間において、最低でも2相分のモータ電流を得ることが保証される。そして、2相のモータ電流値が検出できれば、それらを合計することで他の1相のモータ電流値を自動的に求めることができる。この場合、A/D変換された2相の電流の合計値を符号反転した値を残りの1相のモータ電流値とする。   In the embodiment of the present invention, the motor is a three-phase AC motor, and the control means uses one of the triangular wave carriers as a reference triangular wave carrier, and each of the current detection means detects in one period section of the reference triangular wave carrier. The A / D converter is caused to perform A / D conversion for at least two phases of motor currents. In one carrier period, the PWM signal may not be output at all for a certain phase due to the temporal change of the command value. In this case, A / D conversion of the motor current of the phase becomes impossible. However, in the present invention, since a triangular wave carrier having a phase shift is used, at least two phases in one period section of the reference triangular wave carrier are used. Obtaining motor current is guaranteed. If two-phase motor current values can be detected, the other one-phase motor current values can be automatically obtained by summing them. In this case, a value obtained by reversing the sign of the total value of the two-phase current subjected to A / D conversion is set as the remaining one-phase motor current value.

本発明の実施形態では、A/D変換器には、電流検出手段により検出されるモータ電流と、電流検出手段とは別の少なくとも1つの他の検出手段からの検出出力とが入力され、制御手段は、各相の三角波キャリアの山部または谷部の一方のタイミングで生成される割込信号に基づいて、A/D変換器にモータ電流のA/D変換を開始させ、他方のタイミングで生成される割込信号に基づいて、A/D変換器に他の検出出力のA/D変換を開始させる。これによると、三角波キャリアの山部と谷部の両方のタイミングを利用して、モータ電流のA/D変換と、モータ電流以外の検出出力のA/D変換とを行わせることができる。モータ電流以外の検出出力としては、例えばバッテリBの電圧などが考えられる。   In the embodiment of the present invention, the motor current detected by the current detection unit and the detection output from at least one other detection unit different from the current detection unit are input to the A / D converter, and the control is performed. The means causes the A / D converter to start A / D conversion of the motor current based on the interrupt signal generated at one timing of the peak or valley of the triangular wave carrier of each phase, and at the other timing. Based on the generated interrupt signal, the A / D converter starts A / D conversion of another detection output. According to this, it is possible to perform A / D conversion of the motor current and A / D conversion of the detection output other than the motor current by using the timing of both the peak and valley of the triangular wave carrier. As the detection output other than the motor current, for example, the voltage of the battery B can be considered.

本発明の実施形態では、キャリア発生部は各相ごとに設けられており、各キャリア発生部は、計数手段と、第1および第2の検出手段と、指令手段とを備えている。計数手段は、クロックを計数し、計数値を累加算または累減算して三角波キャリアを出力する。第1の検出手段は、計数手段の計数値が所定の上限値に達したことを検出すると共に、上限値に達した時点で当該三角波キャリアの山部に対応した第1の割込信号を生成する。第2の検出手段は、計数手段の計数値が所定の下限値に達したことを検出すると共に、下限値に達した時点で当該三角波キャリアの谷部に対応した第2の割込信号を生成する。指令手段は、第1の検出手段の検出出力に基づき計数手段に対し累減算を行うための減算指令を与え、第2の検出手段の検出出力に基づき計数手段に対し累加算を行うための加算指令を与える。そして、1つの相の計数手段が、他の相の計数手段から出力される三角波キャリアに対し所定の位相差を持った三角波キャリアを出力する。このようなキャリア発生部を用いれば、アップダウンカウンタ等によるデジタルの加減算を行うだけで、計数値に対応した正確な波形と位相差を持った多相の三角波キャリアを簡単に得ることができるとともに、三角波キャリアの山部や谷部での割込信号を容易に生成することができる。   In the embodiment of the present invention, a carrier generation unit is provided for each phase, and each carrier generation unit includes a counting unit, first and second detection units, and a command unit. The counting means counts the clock, and adds or subtracts the count value to output a triangular wave carrier. The first detecting means detects that the count value of the counting means has reached a predetermined upper limit value, and generates a first interrupt signal corresponding to the peak portion of the triangular wave carrier when the upper limit value is reached. To do. The second detecting means detects that the count value of the counting means has reached a predetermined lower limit value, and generates a second interrupt signal corresponding to the valley of the triangular wave carrier when the lower limit value is reached. To do. The command means gives a subtraction instruction for performing a cumulative subtraction to the counting means based on the detection output of the first detection means, and an addition for performing a cumulative addition to the counting means based on the detection output of the second detection means. Give a directive. Then, the counting means for one phase outputs a triangular wave carrier having a predetermined phase difference with respect to the triangular wave carrier output from the counting means for the other phase. By using such a carrier generator, it is possible to easily obtain a multi-phase triangular wave carrier having an accurate waveform and phase difference corresponding to the count value by simply performing digital addition / subtraction with an up / down counter or the like. In addition, it is possible to easily generate an interrupt signal at the peak or valley of the triangular wave carrier.

また、本発明に係るインバータ制御方法は、前述のインバータ装置における制御方法であって、各相に対応した三角波キャリアを各相間で所定の位相差を設けて発生させ、これらの三角波キャリアと各相の指令値とをそれぞれ比較することに基づいてPWM信号を生成し、各三角波キャリアの山部または谷部のタイミングで割込信号を生成し、これらの割込信号に基づいて、電流検出手段が検出した当該割込信号に対応する相のモータ電流のA/D変換を開始するようにしたものである。このように、多相の三角波キャリアの山部または谷部でそれぞれ割込信号を発生させ、これらの割込信号に基づいてモータ電流のA/D変換を開始するので、A/D変換の時間をキャリアの周期に応じて比較的長くとれるとともに、各相のモータ電流を安定した状態でA/D変換できるので、A/D変換の精度が向上して、モータを高精度に制御することが可能となる。   The inverter control method according to the present invention is a control method in the above-described inverter device, and generates triangular wave carriers corresponding to each phase with a predetermined phase difference between the phases, and the triangular wave carriers and the respective phases are generated. The PWM signal is generated based on the comparison with the command value of each, and an interrupt signal is generated at the timing of the peak or valley of each triangular wave carrier. Based on these interrupt signals, the current detection means A / D conversion of the motor current of the phase corresponding to the detected interrupt signal is started. In this way, interrupt signals are generated at the peaks or valleys of the multiphase triangular wave carrier, and A / D conversion of the motor current is started based on these interrupt signals. Can be made relatively long according to the carrier cycle, and the A / D conversion can be performed in a stable state of the motor current of each phase, so that the accuracy of the A / D conversion is improved and the motor can be controlled with high accuracy. It becomes possible.

本発明によれば、A/D変換のための割込信号が常に一定のタイミングで発生して、A/D変換の時間を比較的長く確保することができ、また、各相のモータ電流を安定した状態でA/D変換できるので、A/D変換の精度が向上して、高精度のモータ制御を行うことができる。また、割込信号の間隔を長くとれるため、1個のA/D変換器だけで対応が可能となる。   According to the present invention, an interrupt signal for A / D conversion is always generated at a constant timing, and the A / D conversion time can be ensured relatively long. Since A / D conversion can be performed in a stable state, the accuracy of A / D conversion is improved and high-precision motor control can be performed. In addition, since the interval between the interrupt signals can be increased, it is possible to cope with only one A / D converter.

図1は、本発明に係るインバータ制御装置の一例を示している。Bはバッテリで、このバッテリBからコンタクタZおよびインバータ回路100を介して、モータMへ電源が供給される。モータMは、例えばフォークリフトに搭載される3相インダクションモータ(誘導電動機)である。コンタクタZは、電磁接触器の接点から構成される。Cは電源ライン間に接続されたコンデンサ、ST1〜ST3はモータMに流れる電流を各相(U相、V相、W相)ごとに検出するためのシャントである。シャントST1〜ST3は抵抗から構成され、本発明における電流検出手段に相当する。PGはモータMの回転数を検出するためのパルス発生器であって、モータMの回転軸に設けられた公知のロータリエンコーダから構成される。   FIG. 1 shows an example of an inverter control device according to the present invention. B is a battery, and power is supplied from the battery B to the motor M via the contactor Z and the inverter circuit 100. The motor M is, for example, a three-phase induction motor (induction motor) mounted on a forklift. The contactor Z is composed of contacts of an electromagnetic contactor. C is a capacitor connected between the power supply lines, and ST1 to ST3 are shunts for detecting the current flowing through the motor M for each phase (U phase, V phase, W phase). The shunts ST1 to ST3 are composed of resistors and correspond to current detection means in the present invention. PG is a pulse generator for detecting the number of rotations of the motor M, and is composed of a known rotary encoder provided on the rotation shaft of the motor M.

インバータ回路100は、バッテリBの直流電源を交流電源に変換してモータMを駆動するための回路であって、U相上、U相下、V相上、V相下、W相上、W相下の6個の半導体スイッチング素子Q1〜Q6から構成される公知の回路である。U相に対応するスイッチング素子Q1,Q2の直列体には、シャントST1が直列に接続されており、V相に対応するスイッチング素子Q3,Q4の直列体には、シャントST2が直列に接続されており、W相に対応するスイッチング素子Q5,Q6の直列体には、シャントST3が直列に接続されていて、これらの各直列回路が電源ライン間に並列に接続されている。そして、各直列体におけるスイッチング素子同士の接続点から、モータMを駆動するための各相電圧がそれぞれ取り出される。半導体スイッチング素子Q1〜Q6としては、たとえばMOS型FET(電界効果トランジスタ)やIGBT(絶縁ゲート型バイポーラトランジスタ)などの高速スイッチング動作が可能な素子が用いられ、それぞれの素子には、ダイオードが並列接続される。各半導体スイッチング素子Q1〜Q6のゲートには、制御部101からのPWM信号が入力される。このPWM信号によって、各半導体スイッチング素子Q1〜Q6は所定のオン時間、オフ時間で開閉動作を行ない、その結果、インバータ回路100の出力は3相交流として取り出され、図7に示すようなU相電圧、V相電圧、W相電圧がモータMに供給される。また、モータMに流れる各相電流は、図7の各相電圧に対して位相が所定量ずれたものとなる。   The inverter circuit 100 is a circuit for driving the motor M by converting the direct current power source of the battery B into an alternating current power source. The U phase, the U phase, the V phase, the V phase, the W phase, This is a known circuit composed of six semiconductor switching elements Q1 to Q6 under the phase. A shunt ST1 is connected in series to the series body of switching elements Q1, Q2 corresponding to the U phase, and a shunt ST2 is connected in series to the series body of switching elements Q3, Q4 corresponding to the V phase. A shunt ST3 is connected in series to a series body of switching elements Q5 and Q6 corresponding to the W phase, and each of these series circuits is connected in parallel between the power supply lines. And each phase voltage for driving the motor M is each taken out from the connection point of the switching elements in each series body. As the semiconductor switching elements Q1 to Q6, for example, elements capable of high-speed switching operation such as MOS type FET (field effect transistor) and IGBT (insulated gate bipolar transistor) are used, and diodes are connected in parallel to each element. Is done. The PWM signal from the control unit 101 is input to the gates of the semiconductor switching elements Q1 to Q6. With this PWM signal, each of the semiconductor switching elements Q1 to Q6 performs an opening / closing operation with a predetermined on time and off time. As a result, the output of the inverter circuit 100 is taken out as a three-phase alternating current, and the U phase as shown in FIG. A voltage, a V-phase voltage, and a W-phase voltage are supplied to the motor M. Further, each phase current flowing through the motor M has a phase shifted by a predetermined amount with respect to each phase voltage in FIG.

制御部101は、A/D変換器102、CPU103、メモリ104、クロック発生器105、キャリア発生部106、比較器107、PWM回路108、割込コントローラ109を備えている。CPU103は本発明における制御手段に相当し、比較器107およびPWM回路108は本発明における信号生成手段に相当する。   The control unit 101 includes an A / D converter 102, a CPU 103, a memory 104, a clock generator 105, a carrier generation unit 106, a comparator 107, a PWM circuit 108, and an interrupt controller 109. The CPU 103 corresponds to control means in the present invention, and the comparator 107 and the PWM circuit 108 correspond to signal generation means in the present invention.

CPU103には、例えばフォークリフトのレバー操作に基づくモータ速度等の指示値、パルス発生器PGから出力されるパルス、シャントST1〜ST3のそれぞれで検出された電流値、バッテリBの電圧値などが入力される。シャントST1〜ST3の各電流値とバッテリBの電圧値は、A/D変換器102によりデジタル値に変換された後にCPU103に入力される。CPU103は、これらの入力値に基づいて、モータMの制御に必要な処理を実行する。メモリ104はRAMやROMから構成され、CPU103は、処理を行うために必要とされる各種情報をメモリ104から読み出したり、情報をメモリ104に書き込んだりする。   The CPU 103 receives, for example, an instruction value such as a motor speed based on a lever operation of a forklift, a pulse output from the pulse generator PG, a current value detected by each of the shunts ST1 to ST3, a voltage value of the battery B, and the like. The The current values of the shunts ST1 to ST3 and the voltage value of the battery B are converted into digital values by the A / D converter 102 and then input to the CPU 103. The CPU 103 executes processing necessary for controlling the motor M based on these input values. The memory 104 is composed of a RAM and a ROM, and the CPU 103 reads various information necessary for processing from the memory 104 and writes information to the memory 104.

クロック発生器105は、内蔵する発振回路により所定周波数のクロックを生成してキャリア発生部106へ出力する。なお、このクロック発生器105は、CPU103からの信号を受けることなく、電源が投入されると同時に作動を開始する。キャリア発生部106は、クロック発生器105から入力されるクロックを計数することに基づいて、各相ごとの三角波キャリアを発生させる。このキャリア発生部106は、図2に示されたU相キャリア発生部10、V相キャリア発生部20、W相キャリア発生部30の3つのキャリア発生部からなる。比較器107は、CPU103から与えられる各相の指令電圧と、キャリア発生部106からの各相の三角波キャリアとの比較を行い、比較結果をパルスとして出力する。この比較器107は、図2に示された各相ごとの3つの比較器16,26,36からなる。   The clock generator 105 generates a clock having a predetermined frequency by the built-in oscillation circuit and outputs it to the carrier generator 106. The clock generator 105 does not receive a signal from the CPU 103 and starts operating as soon as power is turned on. The carrier generation unit 106 generates a triangular wave carrier for each phase based on counting the clocks input from the clock generator 105. The carrier generation unit 106 includes three carrier generation units, a U-phase carrier generation unit 10, a V-phase carrier generation unit 20, and a W-phase carrier generation unit 30 shown in FIG. The comparator 107 compares the command voltage of each phase given from the CPU 103 with the triangular wave carrier of each phase from the carrier generation unit 106, and outputs the comparison result as a pulse. The comparator 107 includes three comparators 16, 26 and 36 for each phase shown in FIG.

PWM回路108は、比較器107からの出力に基づき、各相の指令電圧値の変化に応じたオン・オフ区間をもつ6種類のパルスを各スイッチング素子ごとのPWM信号として出力する。このPWM信号は、インバータ回路100におけるU相上、U相下、V相上、V相下、W相上、W相下の各スイッチング素子Q1〜Q6のゲートへ与えられる。各スイッチング素子Q1〜Q6は、上記PWM信号によりオン・オフ動作を行い、これによってインバータ回路100からU相、V相、W相の各電圧が出力されて、モータMに印加される。   Based on the output from the comparator 107, the PWM circuit 108 outputs six types of pulses having on / off intervals corresponding to changes in the command voltage value of each phase as PWM signals for each switching element. This PWM signal is applied to the gates of the switching elements Q1 to Q6 on the U phase, the U phase, the V phase, the V phase, the W phase, and the W phase in the inverter circuit 100. The switching elements Q <b> 1 to Q <b> 6 are turned on / off by the PWM signal, whereby the U-phase, V-phase, and W-phase voltages are output from the inverter circuit 100 and applied to the motor M.

キャリア発生部106は、各相の三角波キャリアの山部と谷部のタイミングで割込信号を生成して、割込コントローラ109へ送出する。割込コントローラ109は、キャリア発生部106からの割込信号を受けて、CPU103に対して割り込みをかけ、CPU103はこの割り込みを受けた時点で、A/D変換器102に対してA/D変換の指令を与える。これにより、A/D変換器102は、後述するように、谷部の割込信号のタイミングで、シャントST1〜ST3のいずれかが検出した当該割込信号に対応する相のモータ電流のA/D変換を開始し、山部の割込信号のタイミングで、バッテリBの電圧のA/D変換を開始する。   The carrier generation unit 106 generates an interrupt signal at the peak and valley timings of the triangular wave carrier of each phase and sends it to the interrupt controller 109. The interrupt controller 109 receives an interrupt signal from the carrier generation unit 106 and interrupts the CPU 103. When the CPU 103 receives this interrupt, the A / D converter 102 performs A / D conversion. Is given. As a result, the A / D converter 102, as will be described later, at the timing of the trough interrupt signal, the A / D of the motor current of the phase corresponding to the interrupt signal detected by any of the shunts ST1 to ST3. D conversion is started, and A / D conversion of the voltage of the battery B is started at the timing of the interrupt signal at the peak portion.

図2は、図1のキャリア発生部106と比較器107の詳細な構成図である。上述したように、キャリア発生部106は、U相キャリア発生部10、V相キャリア発生部20、W相キャリア発生部30から構成されている。U相キャリア発生部10は、基準三角波キャリアであるU相キャリアCuを発生する。V相キャリア発生部20は、U相キャリアCuから120°位相のずれたV相キャリアCvを発生する。W相キャリア発生部30は、V相キャリアCvからさらに120°位相のずれたW相キャリアCwを発生する。各相のキャリアを発生させる方法については、後で詳細に説明する。   FIG. 2 is a detailed configuration diagram of the carrier generation unit 106 and the comparator 107 of FIG. As described above, the carrier generation unit 106 includes the U-phase carrier generation unit 10, the V-phase carrier generation unit 20, and the W-phase carrier generation unit 30. The U-phase carrier generation unit 10 generates a U-phase carrier Cu that is a reference triangular wave carrier. The V-phase carrier generator 20 generates a V-phase carrier Cv that is 120 ° out of phase with the U-phase carrier Cu. The W-phase carrier generation unit 30 generates a W-phase carrier Cw that is further shifted by 120 ° from the V-phase carrier Cv. A method of generating carriers of each phase will be described in detail later.

比較器107は、各相ごとに設けられた比較器16,26,36からなる。比較器16は、CPU103から送られてくるU相指令電圧の値とU相キャリアCuの振幅とを比較し、U相キャリアCuの振幅がU相指令電圧値以上である区間では「H」信号を出力し、U相キャリアCuの振幅がU相指令電圧値未満である区間では「L」信号を出力する。比較器26は、CPU103から送られてくるV相指令電圧の値とV相キャリアCvの振幅とを比較し、V相キャリアCvの振幅がV相指令電圧値以上である区間では「H」信号を出力し、V相キャリアCvの振幅がV相指令電圧値未満である区間では「L」信号を出力する。比較器36は、CPU103から送られてくるW相指令電圧の値とW相キャリアCwの振幅とを比較し、W相キャリアCwの振幅がW相指令電圧値以上である区間では「H」信号を出力し、W相キャリアCwの振幅がW相指令電圧値未満である区間では「L」信号を出力する。   The comparator 107 includes comparators 16, 26 and 36 provided for each phase. The comparator 16 compares the value of the U-phase command voltage sent from the CPU 103 with the amplitude of the U-phase carrier Cu, and the “H” signal in a section where the amplitude of the U-phase carrier Cu is equal to or greater than the U-phase command voltage value. And an “L” signal is output in a section where the amplitude of the U-phase carrier Cu is less than the U-phase command voltage value. The comparator 26 compares the value of the V-phase command voltage sent from the CPU 103 with the amplitude of the V-phase carrier Cv, and the “H” signal in the section where the amplitude of the V-phase carrier Cv is equal to or greater than the V-phase command voltage value. And an “L” signal is output in a section where the amplitude of the V-phase carrier Cv is less than the V-phase command voltage value. The comparator 36 compares the value of the W-phase command voltage sent from the CPU 103 with the amplitude of the W-phase carrier Cw, and the “H” signal in the interval where the amplitude of the W-phase carrier Cw is equal to or greater than the W-phase command voltage value. And an “L” signal is output in a section where the amplitude of the W-phase carrier Cw is less than the W-phase command voltage value.

U相キャリア発生部10において、12はアップダウンカウンタであって、図1のクロック発生器105から出力されるクロックと、CPU103から送られてくる計数開始信号および計数初期値信号とが入力される。アップダウンカウンタ12は、CPU103から計数開始信号が与えられると、クロックの計数を開始し、計数値の累加算(クロックが入力されるたびに1を加算)または累減算(クロックが入力されるたびに1を減算)により、三角波キャリアであるU相キャリアCuを出力する。また、アップダウンカウンタ12には、計数の初期値が設定されており、この初期値はCPU103からの計数初期値信号により設定される。13は比較器であって、アップダウンカウンタ12の計数値と、あらかじめ決められた上限値とを比較し、計数値が上限値に達したことを検出して検出信号を出力する。14も比較器であって、アップダウンカウンタ12の計数値と、あらかじめ決められた下限値とを比較し、計数値が下限値に達したことを検出して検出信号を出力する。15はフリップフロップであって、比較器13からの出力によりアップダウンカウンタ12に対して「L」信号を出力し、比較器14からの出力によりアップダウンカウンタ12に対して「H」信号を出力する。アップダウンカウンタ12は、フリップフロップ15から「H」信号が入力されると、クロックの計数値を累加算し、「L」信号が入力されると、クロックの計数値を累減算する。したがって、フリップフロップ15からの「H」信号は累加算を行うための加算指令であり、「L」信号は累減算を行うための減算指令である。フリップフロップ15には、CPU103から初期指令値信号が与えられる。フリップフロップ15の初期状態が「H」か「L」かは、上記初期指令値信号により設定される。   In the U-phase carrier generation unit 10, reference numeral 12 denotes an up / down counter which receives a clock output from the clock generator 105 in FIG. 1 and a count start signal and count initial value signal sent from the CPU 103. . The up / down counter 12 starts counting a clock when a count start signal is given from the CPU 103, and increments (adds 1 every time a clock is input) or subtracts (every clock is input). 1 is subtracted to output a U-phase carrier Cu which is a triangular wave carrier. The up / down counter 12 is set with an initial count value, and this initial value is set by a count initial value signal from the CPU 103. A comparator 13 compares the count value of the up / down counter 12 with a predetermined upper limit value, detects that the count value has reached the upper limit value, and outputs a detection signal. 14 is also a comparator, which compares the count value of the up / down counter 12 with a predetermined lower limit value, detects that the count value has reached the lower limit value, and outputs a detection signal. A flip-flop 15 outputs an “L” signal to the up / down counter 12 by the output from the comparator 13, and outputs an “H” signal to the up / down counter 12 by the output from the comparator 14. To do. When the “H” signal is input from the flip-flop 15, the up / down counter 12 cumulatively adds the clock count value, and when the “L” signal is input, the up / down counter 12 cumulatively subtracts the clock count value. Therefore, the “H” signal from the flip-flop 15 is an addition command for performing cumulative addition, and the “L” signal is a subtraction command for performing cumulative subtraction. An initial command value signal is given to the flip-flop 15 from the CPU 103. Whether the initial state of the flip-flop 15 is “H” or “L” is set by the initial command value signal.

V相キャリア発生部20において、22はアップダウンカウンタであって、図1のクロック発生器105から出力されるクロックと、CPU103から送られてくる計数開始信号および計数初期値信号とが入力される。アップダウンカウンタ22は、CPU103から計数開始信号が与えられると、クロックの計数を開始し、計数値の累加算または累減算により三角波キャリアであるV相キャリアCvを出力する。また、アップダウンカウンタ22には、計数の初期値が設定されており、この初期値はCPU103からの計数初期値信号により設定される。23は比較器であって、アップダウンカウンタ22の計数値と、あらかじめ決められた上限値とを比較し、計数値が上限値に達したことを検出して検出信号を出力する。24も比較器であって、アップダウンカウンタ22の計数値と、あらかじめ決められた下限値とを比較し、計数値が下限値に達したことを検出して検出信号を出力する。25はフリップフロップであって、比較器23からの出力によりアップダウンカウンタ22に対して「L」信号を出力し、比較器24からの出力によりアップダウンカウンタ22に対して「H」信号を出力する。アップダウンカウンタ22は、フリップフロップ25から「H」信号が入力されると、クロックの計数値を累加算し、「L」信号が入力されると、クロックの計数値を累減算する。したがって、フリップフロップ25からの「H」信号は累加算を行うための加算指令であり、「L」信号は累減算を行うための減算指令である。フリップフロップ25には、CPU103から初期指令値信号が与えられる。フリップフロップ25の初期状態が「H」か「L」かは、上記初期指令値信号により設定される。   In the V-phase carrier generation unit 20, reference numeral 22 denotes an up / down counter which receives a clock output from the clock generator 105 in FIG. 1 and a count start signal and count initial value signal sent from the CPU 103. . The up / down counter 22 starts counting the clock when a count start signal is given from the CPU 103, and outputs a V-phase carrier Cv that is a triangular wave carrier by cumulative addition or subtraction of the count value. The up / down counter 22 is set with an initial count value, and this initial value is set by a count initial value signal from the CPU 103. A comparator 23 compares the count value of the up / down counter 22 with a predetermined upper limit value, detects that the count value has reached the upper limit value, and outputs a detection signal. Reference numeral 24 also denotes a comparator, which compares the count value of the up / down counter 22 with a predetermined lower limit value, detects that the count value has reached the lower limit value, and outputs a detection signal. A flip-flop 25 outputs an “L” signal to the up / down counter 22 by the output from the comparator 23, and outputs an “H” signal to the up / down counter 22 by the output from the comparator 24. To do. When the “H” signal is input from the flip-flop 25, the up / down counter 22 cumulatively adds the clock count value, and when the “L” signal is input, the up / down counter 22 cumulatively subtracts the clock count value. Therefore, the “H” signal from the flip-flop 25 is an addition command for performing cumulative addition, and the “L” signal is a subtraction command for performing cumulative subtraction. An initial command value signal is given from the CPU 103 to the flip-flop 25. Whether the initial state of the flip-flop 25 is “H” or “L” is set by the initial command value signal.

W相キャリア発生部30において、32はアップダウンカウンタであって、図1のクロック発生器105から出力されるクロックと、CPU103から送られてくる計数開始信号および計数初期値信号とが入力される。アップダウンカウンタ32は、CPU103から計数開始信号が与えられると、クロックの計数を開始し、計数値の累加算または累減算により三角波キャリアであるW相キャリアCwを出力する。また、アップダウンカウンタ32には、計数の初期値が設定されており、この初期値はCPU103からの計数初期値信号により設定される。33は比較器であって、アップダウンカウンタ32の計数値と、あらかじめ決められた上限値とを比較し、計数値が上限値に達したことを検出して検出信号を出力する。34も比較器であって、アップダウンカウンタ32の計数値と、あらかじめ決められた下限値とを比較し、計数値が下限値に達したことを検出して検出信号を出力する。35はフリップフロップであって、比較器33からの出力によりアップダウンカウンタ32に対して「L」信号を出力し、比較器34からの出力によりアップダウンカウンタ32に対して「H」信号を出力する。アップダウンカウンタ32は、フリップフロップ35から「H」信号が入力されると、クロックの計数値を累加算し、「L」信号が入力されると、クロックの計数値を累減算する。したがって、フリップフロップ35からの「H」信号は累加算を行うための加算指令であり、「L」信号は累減算を行うための減算指令である。フリップフロップ35には、CPU103から初期指令値信号が与えられる。フリップフロップ35の初期状態が「H」か「L」かは、上記初期指令値信号により設定される。   In the W-phase carrier generator 30, reference numeral 32 denotes an up / down counter which receives a clock output from the clock generator 105 in FIG. 1 and a count start signal and count initial value signal sent from the CPU 103. . The up / down counter 32 starts counting the clock when a count start signal is given from the CPU 103, and outputs a W-phase carrier Cw that is a triangular wave carrier by cumulative addition or subtraction of the count value. The up / down counter 32 is set with an initial count value, and this initial value is set by a count initial value signal from the CPU 103. A comparator 33 compares the count value of the up / down counter 32 with a predetermined upper limit value, detects that the count value has reached the upper limit value, and outputs a detection signal. Reference numeral 34 denotes a comparator which compares the count value of the up / down counter 32 with a predetermined lower limit value, detects that the count value has reached the lower limit value, and outputs a detection signal. A flip-flop 35 outputs an “L” signal to the up / down counter 32 by an output from the comparator 33, and outputs an “H” signal to the up / down counter 32 by an output from the comparator 34. To do. When the “H” signal is input from the flip-flop 35, the up / down counter 32 cumulatively adds the clock count value, and when the “L” signal is input, the up / down counter 32 cumulatively subtracts the clock count value. Therefore, the “H” signal from the flip-flop 35 is an addition command for performing cumulative addition, and the “L” signal is a subtraction command for performing cumulative subtraction. The flip-flop 35 is given an initial command value signal from the CPU 103. Whether the initial state of the flip-flop 35 is “H” or “L” is set by the initial command value signal.

各相のアップダウンカウンタ12,22,32には、上述した計数開始信号が同時に与えられるようになっており、各アップダウンカウンタはこの計数開始信号の入力により、それぞれの初期値から同時に計数動作を開始する。また、各相の比較器13,23,33の検出出力、すなわち計数値が上限値に達したことを検出した信号は、上述したようにフリップフロップ15,25,35へ与えられると同時に、割込信号INT1U,INT1V,INT1Wとして出力される。これらの割込信号は、後述するように、各相の三角波キャリアの山部における山割込信号となる。さらに、各相の比較器14,24,34の検出出力、すなわち計数値が下限値に達したことを検出した信号は、上述したようにフリップフロップ15,25,35へ与えられると同時に、割込信号INT2U,INT2V,INT2Wとして出力される。これらの割込信号は、後述するように、各相の三角波キャリアの谷部における谷割込信号となる。   The up / down counters 12, 22, and 32 of each phase are simultaneously supplied with the above-described count start signal, and each up / down counter performs a count operation simultaneously from the initial value by inputting the count start signal. To start. Further, the detection outputs of the comparators 13, 23, and 33 of each phase, that is, the signals that have detected that the count value has reached the upper limit value are applied to the flip-flops 15, 25, and 35 at the same time as described above. Output signals INT1U, INT1V, and INT1W. As will be described later, these interrupt signals become peak interrupt signals at the peak portions of the triangular wave carriers of each phase. Further, the detection outputs of the comparators 14, 24, 34 of each phase, that is, the signals that have detected that the count value has reached the lower limit value are applied to the flip-flops 15, 25, 35 as described above, and at the same time, Are output as embedded signals INT2U, INT2V, and INT2W. As will be described later, these interrupt signals become valley interrupt signals at the valleys of the triangular wave carriers of each phase.

以上のキャリア発生装置において、クロック発生器105は本発明におけるクロック発生手段に相当し、アップダウンカウンタ12,22,32は本発明における計数手段に相当し、比較器13,23,33は本発明における第1の検出手段に相当し、比較器14,24,34は本発明における第2検出手段に相当し、フリップフロップ15,25,35は本発明における指令手段に相当する。   In the above carrier generation device, the clock generator 105 corresponds to the clock generation means in the present invention, the up / down counters 12, 22, and 32 correspond to the counting means in the present invention, and the comparators 13, 23, and 33 correspond to the present invention. The comparators 14, 24 and 34 correspond to the second detection means in the present invention, and the flip-flops 15, 25 and 35 correspond to the command means in the present invention.

次に、各相の三角波キャリアを生成する原理につき、図2および図3を参照しながら説明する。図2において、CPU103からU相キャリア発生部10のアップダウンカウンタ12に計数開始信号が入力されると、アップダウンカウンタ12はクロック発生器105からのクロックの計数を開始する。ここで、前述のように、アップダウンカウンタ12には初期値が設定されており、この初期値は0に設定されている。したがって、アップダウンカウンタ12は0から計数を開始する。また、アップダウンカウンタ12に対して累加算、累減算を指令するフリップフロップ15の出力は、初期状態において「H」に設定されている。したがって、アップダウンカウンタ12は計数を開始すると、計数値の累加算を行う。以上の結果、アップダウンカウンタ12の出力は、図3(a)に示すように、下限値(初期値)である0から上限値Tに向って矢印a1のように時間とともに増加してゆく。そして、計数値が上限値Tに達すると、比較器13がこれを検出して、検出出力をフリップフロップ15に与える。フリップフロップ15は、この信号により反転して「L」を出力する。したがって、アップダウンカウンタ12の動作は累加算から累減算に転じ、その出力は、図3(a)に示すように、上限値Tから下限値0に向って矢印b1のように時間とともに減少してゆく。そして、計数値が下限値0に達すると、比較器14がこれを検出して、検出出力をフリップフロップ15に与える。フリップフロップ15は、この信号により反転して「H」を出力する。したがって、アップダウンカウンタ12の動作は再び累加算に転じ、その出力は下限値0から上限値Tに向って矢印c1のように増加してゆく。このような累加算、累減算の動作を繰り返すことにより、アップダウンカウンタ12からは、図3(a)に示したような三角波のU相キャリアCuが出力されることになる。本実施形態では、このU相キャリアCuを基準三角波キャリアとする。   Next, the principle of generating a triangular wave carrier for each phase will be described with reference to FIGS. In FIG. 2, when a count start signal is input from the CPU 103 to the up / down counter 12 of the U-phase carrier generation unit 10, the up / down counter 12 starts counting the clock from the clock generator 105. Here, as described above, an initial value is set in the up / down counter 12, and this initial value is set to zero. Therefore, the up / down counter 12 starts counting from zero. Further, the output of the flip-flop 15 that commands the addition / subtraction to the up / down counter 12 is set to “H” in the initial state. Therefore, when the up / down counter 12 starts counting, the count value is cumulatively added. As a result, the output of the up / down counter 12 increases from 0 as the lower limit value (initial value) toward the upper limit value T as shown by an arrow a1 as shown in FIG. When the count value reaches the upper limit value T, the comparator 13 detects this and provides a detection output to the flip-flop 15. The flip-flop 15 is inverted by this signal and outputs “L”. Therefore, the operation of the up / down counter 12 changes from cumulative addition to cumulative subtraction, and its output decreases with time from the upper limit value T toward the lower limit value 0 as shown by the arrow b1, as shown in FIG. Go. When the count value reaches the lower limit value 0, the comparator 14 detects this and gives a detection output to the flip-flop 15. The flip-flop 15 is inverted by this signal and outputs “H”. Accordingly, the operation of the up / down counter 12 is changed to cumulative addition again, and its output increases from the lower limit value 0 toward the upper limit value T as indicated by an arrow c1. By repeating such cumulative addition and subtraction operations, the up / down counter 12 outputs a triangular wave U-phase carrier Cu as shown in FIG. In this embodiment, this U-phase carrier Cu is a reference triangular wave carrier.

CPU103からの計数開始信号は、V相キャリア発生部20のアップダウンカウンタ22にも同時に与えられる。アップダウンカウンタ22は、計数開始信号が入力されると、クロック発生器105からのクロックの計数を開始する。ここで、前述のように、アップダウンカウンタ22には初期値が設定されており、この初期値は0でない値αに設定されている。したがって、アップダウンカウンタ22はαから計数を開始する。また、アップダウンカウンタ22に対して累加算、累減算を指令するフリップフロップ25の出力は、初期状態において「L」に設定されている。したがって、アップダウンカウンタ22は計数を開始すると、計数値の累減算を行う。以上の結果、アップダウンカウンタ22の出力は、図3(b)に示すように、初期値αから下限値0に向って矢印a2のように時間とともに減少してゆく。そして、計数値が下限値0に達すると、比較器24がこれを検出して、検出出力をフリップフロップ25に与える。フリップフロップ25は、この信号により反転して「H」を出力する。したがって、アップダウンカウンタ22の動作は累減算から累加算に転じ、その出力は、図3(b)に示すように、下限値0から上限値Tに向って矢印b2のように時間とともに増加してゆく。そして、計数値が上限値Tに達すると、比較器23がこれを検出して、検出出力をフリップフロップ25に与える。フリップフロップ25は、この信号により反転して「L」を出力する。したがって、アップダウンカウンタ22の動作は再び累減算に転じ、その出力は上限値Tから下限値0に向って矢印c2のように減少してゆく。このような累減算、累加算の動作を繰り返すことにより、アップダウンカウンタ22からは、図3(b)に示したような三角波のV相キャリアCvが出力されることになる。   The count start signal from the CPU 103 is also given to the up / down counter 22 of the V-phase carrier generator 20 at the same time. The up / down counter 22 starts counting the clock from the clock generator 105 when the count start signal is input. Here, as described above, an initial value is set in the up / down counter 22, and this initial value is set to a non-zero value α. Therefore, the up / down counter 22 starts counting from α. The output of the flip-flop 25 that commands the up / down counter 22 to perform cumulative addition and subtraction is set to “L” in the initial state. Therefore, when the up / down counter 22 starts counting, the count value is cumulatively subtracted. As a result, as shown in FIG. 3B, the output of the up / down counter 22 decreases from the initial value α toward the lower limit value 0 with time as indicated by an arrow a2. When the count value reaches the lower limit value 0, the comparator 24 detects this and provides a detection output to the flip-flop 25. The flip-flop 25 is inverted by this signal and outputs “H”. Therefore, the operation of the up / down counter 22 changes from cumulative subtraction to cumulative addition, and its output increases with time from the lower limit value 0 toward the upper limit value T as shown by an arrow b2 as shown in FIG. Go. When the count value reaches the upper limit value T, the comparator 23 detects this and provides a detection output to the flip-flop 25. The flip-flop 25 is inverted by this signal and outputs “L”. Therefore, the operation of the up / down counter 22 is changed to cumulative subtraction again, and its output decreases from the upper limit value T toward the lower limit value 0 as shown by an arrow c2. By repeating such cumulative subtraction and cumulative addition operations, the up / down counter 22 outputs a triangular wave V-phase carrier Cv as shown in FIG.

CPU103からの計数開始信号は、W相キャリア発生部30のアップダウンカウンタ32にも同時に与えられる。アップダウンカウンタ32は、計数開始信号が入力されると、クロック発生器105からのクロックの計数を開始する。ここで、前述のように、アップダウンカウンタ32には初期値が設定されており、この初期値は0でない値βに設定されている。したがって、アップダウンカウンタ32はβから計数を開始する。なお、ここでは、βの値はαの値と等しくなっている。また、アップダウンカウンタ32に対して累加算、累減算を指令するフリップフロップ35の出力は、初期状態において「H」に設定されている。したがって、アップダウンカウンタ32は計数を開始すると、計数値の累加算を行う。以上の結果、アップダウンカウンタ32の出力は、図3(c)に示すように、初期値βから上限値Tに向って矢印a3のように時間とともに増加してゆく。そして、計数値が上限値Tに達すると、比較器33がこれを検出して、検出出力をフリップフロップ35に与える。フリップフロップ35は、この信号により反転して「L」を出力する。したがって、アップダウンカウンタ32の動作は累加算から累減算に転じ、その出力は、図3(c)に示すように、上限値Tから下限値0に向って矢印b3のように時間とともに減少してゆく。そして、計数値が下限値0に達すると、比較器34がこれを検出して、検出出力をフリップフロップ35に与える。フリップフロップ35は、この信号により反転して「H」を出力する。したがって、アップダウンカウンタ32の動作は再び累加算に転じ、その出力は下限値0から上限値Tに向って矢印c3のように増加してゆく。このような累加算、累減算の動作を繰り返すことにより、アップダウンカウンタ32からは、図3(c)に示したような三角波のW相キャリアCwが出力されることになる。   The count start signal from the CPU 103 is also given to the up / down counter 32 of the W-phase carrier generating unit 30 at the same time. The up / down counter 32 starts counting the clock from the clock generator 105 when the count start signal is input. Here, as described above, an initial value is set in the up / down counter 32, and this initial value is set to a non-zero value β. Therefore, the up / down counter 32 starts counting from β. Here, the value of β is equal to the value of α. Further, the output of the flip-flop 35 that commands the addition / subtraction to the up / down counter 32 is set to “H” in the initial state. Accordingly, when the up / down counter 32 starts counting, the count value is cumulatively added. As a result, the output of the up / down counter 32 increases with time from the initial value β toward the upper limit T as indicated by an arrow a3, as shown in FIG. When the count value reaches the upper limit value T, the comparator 33 detects this and gives a detection output to the flip-flop 35. The flip-flop 35 is inverted by this signal and outputs “L”. Therefore, the operation of the up / down counter 32 changes from cumulative addition to cumulative subtraction, and its output decreases with time from the upper limit value T toward the lower limit value 0 as shown by an arrow b3 as shown in FIG. Go. When the count value reaches the lower limit value 0, the comparator 34 detects this and provides a detection output to the flip-flop 35. The flip-flop 35 is inverted by this signal and outputs “H”. Accordingly, the operation of the up / down counter 32 is changed to cumulative addition again, and its output increases from the lower limit value 0 toward the upper limit value T as indicated by an arrow c3. By repeating such cumulative addition and subtraction operations, the up / down counter 32 outputs a triangular wave W-phase carrier Cw as shown in FIG.

ところで、図3においては、基準三角波キャリアであるU相キャリアCuに対して、V相キャリアCvは位相の遅れ方向に120°の位相差を有している。また、V相キャリアCvに対して、W相キャリアCwは位相の遅れ方向に120°の位相差を有している。したがって、W相キャリアCwは基準三角波キャリアであるU相キャリアCuに対して、位相の遅れ方向に240°の位相差を有している。すなわち、U相キャリアCu、V相キャリアCv、W相キャリアCwは、120°ずつ位相がずれた三角波となっている。図3(d)は、各相のキャリアCu,Cv,Cwを重ねて描いた図である。   In FIG. 3, the V-phase carrier Cv has a phase difference of 120 ° in the phase delay direction with respect to the U-phase carrier Cu which is the reference triangular wave carrier. Further, the W-phase carrier Cw has a phase difference of 120 ° in the phase delay direction with respect to the V-phase carrier Cv. Therefore, the W-phase carrier Cw has a phase difference of 240 ° in the phase delay direction with respect to the U-phase carrier Cu which is the reference triangular wave carrier. That is, the U-phase carrier Cu, the V-phase carrier Cv, and the W-phase carrier Cw are triangular waves that are out of phase by 120 °. FIG. 3D is a diagram in which carriers Cu, Cv, and Cw of each phase are overlaid.

図4は、基準三角波キャリアに対して所定の位相差(位相の遅れ方向の位相差)を持たせる場合に、アップダウンカウンタの初期値とフリップフロップの初期指令値をどのように設定すればよいかの一例を表したテーブルである。このテーブルでは、各相のアップダウンカウンタの上限値はそれぞれ同じ値(T)であり、下限値もそれぞれ同じ値(0)であることが前提となっている。また、基準三角波キャリアの初期値が0で初期指令値を「H」とした場合の位相差、初期値と上限値の比、初期指令値の関係を示している。なお、位相差が0°〜180°の間では、アップダウンカウンタの初期値と上限値の比mは、
m=位相差/180°
により求められる。また、位相差が180°〜360°の間では、アップダウンカウンタの初期値と上限値の比nは、
n=2−[位相差/180°]
により求められる。
FIG. 4 shows how to set the initial value of the up / down counter and the initial command value of the flip-flop when a predetermined phase difference (phase difference in the phase delay direction) is given to the reference triangular wave carrier. It is a table showing an example. In this table, it is assumed that the upper limit value of the up / down counter of each phase is the same value (T), and the lower limit value is also the same value (0). Further, the relationship between the phase difference, the ratio between the initial value and the upper limit value, and the initial command value when the initial value of the reference triangular wave carrier is 0 and the initial command value is “H” is shown. When the phase difference is between 0 ° and 180 °, the ratio m between the initial value and the upper limit value of the up / down counter is
m = phase difference / 180 °
Is required. When the phase difference is between 180 ° and 360 °, the ratio n between the initial value and the upper limit value of the up / down counter is
n = 2− [phase difference / 180 °]
Is required.

図3の場合のように、3相の三角波キャリアを等間隔の位相差(120°)で発生させる場合、基準となるU相キャリアCuについては、位相差が0°であるから、図4より初期値を0に設定する。このときのフリップフロップの初期指令値は、「H」(加算指令)となる。また、U相キャリアCuに対して120°の位相差をもつV相キャリアCvについては、図4より初期値αを上限値Tの2/3に設定すればよい。このときのフリップフロップの初期指令値は、「L」(減算指令)となる。また、U相キャリアCuに対して240°の位相差をもつW相キャリアCwについては、図4より初期値βを上限値Tの2/3に設定すればよい。このときのフリップフロップの初期指令値は、「H」(加算指令)となる。   When the three-phase triangular wave carriers are generated at equal intervals (120 °) as in the case of FIG. 3, the reference U-phase carrier Cu has a phase difference of 0 °. Set the initial value to 0. The initial command value of the flip-flop at this time is “H” (addition command). For the V-phase carrier Cv having a phase difference of 120 ° with respect to the U-phase carrier Cu, the initial value α may be set to 2/3 of the upper limit value T from FIG. The initial command value of the flip-flop at this time is “L” (subtraction command). For the W-phase carrier Cw having a phase difference of 240 ° with respect to the U-phase carrier Cu, the initial value β may be set to 2/3 of the upper limit value T from FIG. The initial command value of the flip-flop at this time is “H” (addition command).

以上をまとめると、基準となるU相キャリアCuと、これに対して120°位相が遅れたV相キャリアCv、および240°位相が遅れたW相キャリアCwを生成するための条件は、次のようになる。
(1)U相キャリアCu(基準三角波キャリア)
アップダウンカウンタの初期値 =0
フリップフロップの初期指令値 =「H」
(2)V相キャリアCv
アップダウンカウンタの初期値α=2T/3
フリップフロップの初期指令値 =「L」
(3)W相キャリアCw
アップダウンカウンタの初期値β=2T/3
フリップフロップの初期指令値 =「H」
In summary, the conditions for generating the reference U-phase carrier Cu, the V-phase carrier Cv delayed by 120 ° phase, and the W-phase carrier Cw delayed by 240 ° phase are as follows: It becomes like this.
(1) U-phase carrier Cu (reference triangular wave carrier)
Initial value of up / down counter = 0
Initial command value of flip-flop = “H”
(2) V-phase carrier Cv
Initial value of up / down counter α = 2T / 3
Initial command value of flip-flop = “L”
(3) W-phase carrier Cw
Initial value of up / down counter β = 2T / 3
Initial command value of flip-flop = “H”

以上のようなキャリア発生装置を用いると、複雑な波形処理をしなくても、アップダウンカウンタを用いてデジタルの加減算を行うだけで、計数値に対応した正確な波形と位相差を持つ三角波キャリアを得ることができる。また、各相の初期値を適当に選定することで、各アップダウンカウンタ12,22,32から出力されるキャリアCu,Cv,Cwの位相差を任意に設定することができる。この結果、3相モータのPWM制御に必要な120°ずつ位相がずれた三角波キャリアを簡単かつ高精度に得ることができる。さらに、キャリアCu,Cv,Cwの山部や谷部での割込信号を容易に生成することができる。   By using the carrier generator as described above, even if complex waveform processing is not required, the triangular wave carrier has an accurate waveform and phase difference corresponding to the count value by simply performing digital addition / subtraction using an up / down counter. Can be obtained. Moreover, the phase difference of the carriers Cu, Cv, Cw output from the up / down counters 12, 22, 32 can be arbitrarily set by appropriately selecting the initial value of each phase. As a result, a triangular wave carrier whose phase is shifted by 120 ° necessary for PWM control of the three-phase motor can be obtained easily and with high accuracy. Furthermore, it is possible to easily generate interrupt signals at the peaks and valleys of the carriers Cu, Cv, and Cw.

なお、以上では、U相、V相、W相の各キャリアを発生させる3相キャリア発生装置を例に挙げたが、本発明では、相数は3相だけに限られるものではなく、相数と同じ数だけキャリア発生部を備えた上で、それぞれのアップダウンカウンタの初期値と、フリップフロップの初期指令値の設定により、2相、4相、5相、6相など任意の相数に対応したキャリアを発生させることが可能である。また、図4からもわかるように、本発明では、アップダウンカウンタの初期値の選定により、キャリアに任意の位相差を持たせることが可能である。また、上記の例では、いずれも位相差が等間隔となっているが、キャリアの位相差を不等間隔とすることも可能である。   In the above, a three-phase carrier generator that generates U-phase, V-phase, and W-phase carriers has been described as an example. However, in the present invention, the number of phases is not limited to only three. As many carrier generators as possible are provided, and the initial value of each up / down counter and the initial command value of the flip-flop can be set to any number of phases such as 2-phase, 4-phase, 5-phase, and 6-phase. It is possible to generate a corresponding carrier. As can be seen from FIG. 4, in the present invention, the carrier can have an arbitrary phase difference by selecting the initial value of the up / down counter. In the above examples, the phase differences are equally spaced, but the carrier phase differences may be unequal.

さらに、上記実施形態では、基準三角波キャリア(U相キャリアCu)を谷部(下限値)から発生させたが、基準三角波キャリアを山部(上限値)から発生させてもよい。この場合、基準三角波キャリアの初期値はT(上限値)、初期指令値は「L」であり、谷部から発生するキャリアに比べて位相は180°ずれることになる。したがって、図4を用いて他相の設定をする際には、位相差180°を基準として内容を読み替えればよい。例えば、基準三角波キャリアに対する位相差を90°(0°を超えて180°以下)とする場合は、位相差270°(=180°+90°)の場合の初期値T/2および初期指令値「H」に設定すればよい。また、位相差を270°(180°を超えて360°以下)とする場合は、位相差90°(=180°+270°−360°)の場合の初期値T/2および初期指令値「L」に設定すればよい。   Furthermore, in the above embodiment, the reference triangular wave carrier (U-phase carrier Cu) is generated from the valley (lower limit), but the reference triangular wave carrier may be generated from the peak (upper limit). In this case, the initial value of the reference triangular wave carrier is T (upper limit value), the initial command value is “L”, and the phase is shifted by 180 ° compared to the carrier generated from the valley. Therefore, when setting the other phase using FIG. 4, the contents may be read based on the phase difference of 180 °. For example, when the phase difference with respect to the reference triangular wave carrier is 90 ° (over 0 ° and 180 ° or less), the initial value T / 2 and the initial command value “when the phase difference is 270 ° (= 180 ° + 90 °)” It may be set to “H”. When the phase difference is 270 ° (over 180 ° and 360 ° or less), the initial value T / 2 and the initial command value “L” when the phase difference is 90 ° (= 180 ° + 270 ° -360 °). ".

こうしてアップダウンカウンタ12,22,32により生成された三角波キャリアCu,Cv、Cwは、比較器16,26,36にそれぞれ与えられる。比較器16では、U相指令電圧がU相キャリアCuと比較され、比較器26では、V相指令電圧がV相キャリアCvと比較され、比較器36では、W相指令電圧がW相キャリアCwと比較される。比較器16,26,36の出力は、それぞれPWM回路108へ入力される。PWM回路108は、比較器16,26,36でのキャリアと指令電圧との比較結果に基づき、図10および図12で説明した要領でスイッチング素子Q1〜Q6のそれぞれに対応する6種類のPWM信号を生成する。   The triangular wave carriers Cu, Cv, Cw thus generated by the up / down counters 12, 22, 32 are supplied to the comparators 16, 26, 36, respectively. The comparator 16 compares the U-phase command voltage with the U-phase carrier Cu, the comparator 26 compares the V-phase command voltage with the V-phase carrier Cv, and the comparator 36 compares the W-phase command voltage with the W-phase carrier Cw. Compared with The outputs of the comparators 16, 26 and 36 are respectively input to the PWM circuit 108. The PWM circuit 108 is based on the comparison result between the carrier and the command voltage in the comparators 16, 26 and 36, and six types of PWM signals corresponding to the switching elements Q1 to Q6 in the manner described with reference to FIGS. 10 and 12. Is generated.

図5は、図2の比較器13,23,33から出力される山割込信号INT1U,INT1V,INT1W、および比較器14,24,34から出力される谷割込信号INT2U,INT2V,INT2Wの発生タイミングを示したタイムチャートである。キャリアCu,Cv,Cwの振幅がそれぞれU相、V相、W相の指令電圧値以上となる区間で、各相上のスイッチング素子Q1,Q3,Q5がオンし、キャリアCu,Cv,Cwの振幅がそれぞれU相、V相、W相の指令電圧値未満となる区間で、各相下のスイッチング素子Q2,Q4,Q6がオンする関係については、図12の場合と同じである。なお、各相指令電圧は、実際には図12のように時間ととともに変化するが、キャリアの数周期の区間をとらえた場合は、指令電圧の変化は小さいため、図5では便宜上、各相指令電圧を一定値として描いてある。   FIG. 5 shows the peak interrupt signals INT1U, INT1V, INT1W output from the comparators 13, 23, 33 in FIG. 2, and the valley interrupt signals INT2U, INT2V, INT2W output from the comparators 14, 24, It is a time chart which showed generating timing. The switching elements Q1, Q3, Q5 on each phase are turned on in the sections where the amplitudes of the carriers Cu, Cv, Cw are equal to or larger than the command voltage values of the U phase, V phase, and W phase, respectively, and the carriers Cu, Cv, Cw The relationship in which the switching elements Q2, Q4, and Q6 under each phase are turned on in the sections where the amplitudes are less than the command voltages of the U phase, V phase, and W phase is the same as in the case of FIG. Each phase command voltage actually changes with time as shown in FIG. 12, but since the change of the command voltage is small when a section of several cycles of the carrier is captured, in FIG. The command voltage is drawn as a constant value.

図5に示されるように、山割込信号INT1Uは、U相キャリアCuの山部(上限値)のタイミングで発生し、山割込信号INT1Vは、V相キャリアCvの山部のタイミングで発生し、山割込信号INT1Wは、W相キャリアCwの山部のタイミングで発生する。また、谷割込信号INT2Uは、U相キャリアCuの谷部(下限値)のタイミングで発生し、谷割込信号INT2Vは、V相キャリアCvの谷部のタイミングで発生し、谷割込信号INT2Wは、W相キャリアCwの谷部のタイミングで発生する。   As shown in FIG. 5, the crest interrupt signal INT1U is generated at the timing of the crest (upper limit) of the U-phase carrier Cu, and the crest interrupt signal INT1V is generated at the timing of the crest of the V-phase carrier Cv. The peak interrupt signal INT1W is generated at the peak timing of the W-phase carrier Cw. The valley interrupt signal INT2U is generated at the timing of the valley (lower limit) of the U-phase carrier Cu, and the valley interrupt signal INT2V is generated at the timing of the valley of the V-phase carrier Cv. INT2W occurs at the timing of the valley of the W-phase carrier Cw.

上記の割込信号INT1U〜INT2Wは、図1のキャリア発生部106から割込コントローラ109へ与えられ、割込コントローラ109からCPU103に各割込信号のタイミングで割り込みがかかる。CPU103は、谷割込信号INT2U,INT2V,INT2Wのタイミングで割り込みがかかった時点で、A/D変換器102に対してモータ電流のA/D変換の指令を与え、A/D変換器102はこの指令を受けて、シャントST1〜ST3が検出したモータ電流のA/D変換を開始する。また、CPU103は、山割込信号INT1U,INT1V,INT1Wのタイミングで割り込みがかかった時点で、A/D変換器102に対してバッテリ電圧のA/D変換の指令を与え、A/D変換器102はこの指令を受けて、バッテリBの電圧のA/D変換を開始する。   The interrupt signals INT1U to INT2W are given from the carrier generation unit 106 of FIG. 1 to the interrupt controller 109, and the interrupt controller 109 interrupts the CPU 103 at the timing of each interrupt signal. When the CPU 103 is interrupted at the timing of the valley interrupt signals INT2U, INT2V, and INT2W, the CPU 103 gives an A / D conversion command of the motor current to the A / D converter 102, and the A / D converter 102 In response to this command, A / D conversion of the motor current detected by the shunts ST1 to ST3 is started. Further, the CPU 103 gives an A / D conversion command of the battery voltage to the A / D converter 102 when an interrupt is generated at the timing of the peak interrupt signals INT1U, INT1V, INT1W, and the A / D converter In response to this command, the battery 102 starts A / D conversion of the voltage of the battery B.

まず、モータ電流のA/D変換の詳細について説明する。図5には、割込信号とシャント電流(シャントST1〜ST3に流れるモータの各相電流)との関係が示されている。シャントST1にはモータMのU相電流が流れ、シャントST2にはV相電流が流れ、シャントST3にはW相電流が流れる。太矢印は、各相の電流が流れる期間を表している。また、各相上下のスイッチング素子に対応する6種類のPWM信号は、それぞれ、スイッチング素子をオン状態に維持させる可変時間幅をもつオン区間信号と、スイッチング素子をオフ状態に維持させる可変時間幅をもつオフ区間信号とからなる。オン区間信号は、PWM信号が「H」状態(立上り状態)にある区間の信号であり、オフ区間信号は、PWM信号が「L」状態(立下り状態)にある区間の信号である。   First, details of the A / D conversion of the motor current will be described. FIG. 5 shows the relationship between the interrupt signal and the shunt current (currents of the motor phases flowing in the shunts ST1 to ST3). A U-phase current of the motor M flows through the shunt ST1, a V-phase current flows through the shunt ST2, and a W-phase current flows through the shunt ST3. A thick arrow represents a period during which a current of each phase flows. The six types of PWM signals corresponding to the upper and lower switching elements of each phase have an ON interval signal having a variable time width for maintaining the switching element in the ON state and a variable time width for maintaining the switching element in the OFF state, respectively. And an off-section signal. The on-section signal is a signal in a section in which the PWM signal is in the “H” state (rising state), and the off-section signal is a signal in a section in which the PWM signal is in the “L” state (falling state).

図5において、タイミングaは、V相キャリアCvが谷部となるタイミングであり、このとき比較器24(図2)から谷割込信号INT2Vが出力される。この割込信号に基づき、割込コントローラ109からCPU103へ割り込みがかかると、CPU103からA/D変換器102へ指令が送られ、A/D変換器102はこの時点からモータ電流のA/D変換を開始する。図5からわかるように、タイミングaでは、U相下、V相下、W相上のPWM信号が「H」状態にあるから、インバータ回路100ではスイッチング素子Q2,Q4,Q5がオンとなり、図6Aで太線で示した電流経路が形成される。なお、矢印は電流の方向を示している。この結果、シャントST1にはU相電流が流れ、シャントST2にはV相電流が流れる。そして、A/D変換器102は、シャントST2のV相電流に対してA/D変換を実行する(U相電流に対しては、それより前の時点ですでにA/D変換が行われている)。このV相電流のA/D変換処理は、U相キャリアCuが山部に至るタイミング(ロ)まで行われる。   In FIG. 5, timing a is a timing at which the V-phase carrier Cv becomes a valley, and at this time, a valley interrupt signal INT2V is output from the comparator 24 (FIG. 2). When an interrupt is issued from the interrupt controller 109 to the CPU 103 based on this interrupt signal, a command is sent from the CPU 103 to the A / D converter 102, and the A / D converter 102 starts A / D conversion of the motor current from this point. To start. As can be seen from FIG. 5, at the timing a, the PWM signals under the U phase, under the V phase, and over the W phase are in the “H” state, so in the inverter circuit 100, the switching elements Q2, Q4, Q5 are turned on. A current path indicated by a thick line at 6A is formed. The arrow indicates the direction of current. As a result, a U-phase current flows through shunt ST1, and a V-phase current flows through shunt ST2. Then, the A / D converter 102 performs A / D conversion on the V-phase current of the shunt ST2 (for the U-phase current, A / D conversion has already been performed at an earlier time point). ing). This A / D conversion process of the V-phase current is performed until the timing (b) when the U-phase carrier Cu reaches the peak.

次に、図5のタイミングbは、W相キャリアCwが谷部となるタイミングであり、このとき比較器34(図2)から谷割込信号INT2Wが出力される。この割込信号に基づき、割込コントローラ109からCPU103へ割り込みがかかると、CPU103からA/D変換器102へ指令が送られ、A/D変換器102はこの時点からモータ電流のA/D変換を開始する。図5からわかるように、タイミングbでは、U相下、V相上、W相下のPWM信号が「H」状態にあるから、インバータ回路100ではスイッチング素子Q2,Q3,Q6がオンとなり、図6Bで太線で示した電流経路が形成される。なお、矢印は電流の方向を示している。この結果、シャントST1にはU相電流が流れ、シャントST3にはW相電流が流れる。そして、A/D変換器102は、シャントST3のW相電流に対してA/D変換を実行する(U相電流に対しては、後のタイミングcでA/D変換を行う)。このW相電流のA/D変換処理は、スイッチング素子Q6がオフとなる時点(W相下のPWM信号が立下がる時点)まで行われる。   Next, timing b in FIG. 5 is timing when the W-phase carrier Cw becomes a trough, and at this time, a trough interrupt signal INT2W is output from the comparator 34 (FIG. 2). When an interrupt is issued from the interrupt controller 109 to the CPU 103 based on this interrupt signal, a command is sent from the CPU 103 to the A / D converter 102, and the A / D converter 102 starts A / D conversion of the motor current from this point. To start. As can be seen from FIG. 5, at timing b, the PWM signals under the U phase, the V phase, and the W phase are in the “H” state, so in the inverter circuit 100, the switching elements Q2, Q3, and Q6 are turned on. A current path indicated by a thick line in 6B is formed. The arrow indicates the direction of current. As a result, a U-phase current flows through shunt ST1, and a W-phase current flows through shunt ST3. Then, A / D converter 102 performs A / D conversion on the W-phase current of shunt ST3 (A / D conversion is performed on U-phase current at a later timing c). This A / D conversion processing of the W-phase current is performed until the switching element Q6 is turned off (the time when the PWM signal under the W-phase falls).

次に、図5のタイミングcは、U相キャリアCuが谷部となるタイミングであり、このとき比較器14(図2)から谷割込信号INT2Uが出力される。この割込信号に基づき、割込コントローラ109からCPU103へ割り込みがかかると、CPU103からA/D変換器102へ指令が送られ、A/D変換器102はこの時点からモータ電流のA/D変換を開始する。図5からわかるように、タイミングcでは、U相下、V相上、W相上のPWM信号が「H」状態にあるから、インバータ回路100ではスイッチング素子Q2,Q3,Q5がオンとなり、図6Cで太線で示した電流経路が形成される。なお、矢印は電流の方向を示している。この結果、シャントST1にU相電流が流れ、A/D変換器102は、このU相電流に対してA/D変換を実行する。このA/D変換処理は、W相キャリアCwが山部に至るタイミング(ニ)まで行われる。   Next, timing c in FIG. 5 is timing when the U-phase carrier Cu becomes a valley, and at this time, the valley interrupt signal INT2U is output from the comparator 14 (FIG. 2). When an interrupt is issued from the interrupt controller 109 to the CPU 103 based on this interrupt signal, a command is sent from the CPU 103 to the A / D converter 102, and the A / D converter 102 starts A / D conversion of the motor current from this point. To start. As can be seen from FIG. 5, at timing c, the PWM signals under the U phase, the V phase, and the W phase are in the “H” state, so that in the inverter circuit 100, the switching elements Q2, Q3, and Q5 are turned on. A current path indicated by a thick line at 6C is formed. The arrow indicates the direction of current. As a result, a U-phase current flows through the shunt ST1, and the A / D converter 102 performs A / D conversion on the U-phase current. This A / D conversion process is performed until the timing (d) when the W-phase carrier Cw reaches the peak.

上述した実施形態では、シャントST1〜ST3が各相ごとに設けられていて、各相のモータ電流がそれぞれのシャントにより独立して検出される。また、キャリアとして120°ずつ位相がずれた多相の三角波キャリアCu,Cv,Cwを用い、各キャリアの谷部において谷割込信号を生成し、それぞれの谷割込信号のタイミングでCPU103に割り込みをかけてモータ電流のA/D変換を行うようにしている。A/D変換器102は、それぞれの谷割込信号のタイミングにおいて、当該割込信号に対応する相のモータ電流につきA/D変換を開始する。すなわち、U相の谷割込信号INT2Uのタイミングでは、シャントST1が検出したU相電流のA/D変換を行い、V相の谷割込信号INT2Vのタイミングでは、シャントST2が検出したV相電流のA/D変換を行い、W相の谷割込信号INT2Wのタイミングでは、シャントST3が検出したW相電流のA/D変換を行う。   In the embodiment described above, the shunts ST1 to ST3 are provided for each phase, and the motor current of each phase is detected independently by each shunt. In addition, multi-phase triangular wave carriers Cu, Cv, and Cw whose phases are shifted by 120 ° are used as carriers, a valley interrupt signal is generated at the valley of each carrier, and the CPU 103 is interrupted at the timing of each valley interrupt signal. To perform A / D conversion of the motor current. The A / D converter 102 starts A / D conversion for the motor current of the phase corresponding to the interrupt signal at the timing of each valley interrupt signal. That is, at the timing of the U-phase valley interrupt signal INT2U, A / D conversion is performed on the U-phase current detected by the shunt ST1, and at the timing of the V-phase valley interrupt signal INT2V, the V-phase current detected by the shunt ST2 is detected. A / D conversion is performed, and at the timing of the W-phase valley interrupt signal INT2W, A / D conversion of the W-phase current detected by the shunt ST3 is performed.

この結果、三角波キャリアの周波数を一定にしておけば、谷割込信号INT2U,INT2V,INT2Wは、キャリアの周期で決まる一定の時間間隔で発生し、これによって、各相のA/D変換処理は常に決まったタイミングで行われることになる。したがって、A/D変換のための時間を、キャリアの周期に応じて比較的長く確保することが可能となる。また、各キャリアの谷部のタイミングは、各相のスイッチング素子Q1〜Q6がオフからオンとなるタイミングではなく、素子がオンしてから所定時間が経過したタイミングであるため、この時点ではシャントST1〜ST3で検出された各相のモータ電流は安定した状態となっている。したがって、A/D変換されたモータ電流値は信頼性の高いものとなる。そして、このモータ電流値はモータMのフィードバック制御に用いられるため、モータ電流の精度上がることによって、モータMを高精度に制御することができる。   As a result, if the frequency of the triangular wave carrier is kept constant, the valley interrupt signals INT2U, INT2V, and INT2W are generated at a constant time interval determined by the carrier cycle, whereby the A / D conversion processing of each phase is performed. It is always performed at a fixed timing. Therefore, it is possible to ensure a relatively long time for A / D conversion in accordance with the carrier period. Further, the timing of the valley of each carrier is not the timing at which the switching elements Q1 to Q6 of each phase are turned on from off, but is the timing at which a predetermined time has elapsed since the elements are turned on. The motor current of each phase detected in ~ ST3 is in a stable state. Therefore, the A / D converted motor current value is highly reliable. Since the motor current value is used for feedback control of the motor M, the motor M can be controlled with high accuracy by increasing the accuracy of the motor current.

また、図5からわかるように、谷割込信号INT2Uは、スイッチング素子Q2(U相下)をオン状態に維持させるオン区間信号(斜線x)の時間幅の中間タイミングcにおいて発生しており、谷割込信号INT2Vは、スイッチング素子Q4(V相下)をオン状態に維持させるオン区間信号(斜線y)の時間幅の中間タイミングaにおいて発生しており、谷割込信号INT2Wは、スイッチング素子Q6(W相下)をオン状態に維持させるオン区間信号(斜線z)の時間幅の中間タイミングbにおいて発生している。そして、これらの中間タイミングでは、スイッチング素子Q2,Q4,Q6を駆動するPWM信号(U相下、V相下、W相下)は、立上りでも立下りでもなく、安定した「H」状態にある。したがって、各谷割込信号のタイミングにおいては、シャントST1〜ST3に流れる各割込信号に対応する相のモータ電流は、最も安定した状態となっているから、A/D変換されたモータ電流値の信頼性は一層高いものとなる。また、スイッチング素子として、動作速度が遅く、完全にオン状態となるまでにある程度の時間を要する素子を用いた場合であっても、A/D変換を支障なく行うことができる。   Further, as can be seen from FIG. 5, the valley interrupt signal INT2U is generated at an intermediate timing c of the time width of the ON section signal (hatched line x) that maintains the switching element Q2 (under the U phase) in the ON state. The valley interrupt signal INT2V is generated at an intermediate timing a of the time width of the ON section signal (hatched line y) that maintains the switching element Q4 (under the V phase) in the ON state, and the valley interrupt signal INT2W It occurs at the intermediate timing b of the time width of the ON section signal (hatched line z) that maintains Q6 (below the W phase) in the ON state. At these intermediate timings, the PWM signals (under the U phase, under the V phase, and under the W phase) that drive the switching elements Q2, Q4, and Q6 are neither rising nor falling and are in a stable “H” state. . Therefore, at the timing of each valley interrupt signal, the motor current of the phase corresponding to each interrupt signal flowing through the shunts ST1 to ST3 is in the most stable state, and thus the A / D converted motor current value The reliability will be higher. Further, even when an element that has a low operating speed and requires a certain amount of time to be completely turned on is used as a switching element, A / D conversion can be performed without any problem.

次に、バッテリ電圧のA/D変換について説明する。図5において、タイミング(イ)は、W相キャリアCwが山部となるタイミングであり、このとき比較器33(図2)から山割込信号INT1Wが出力される。この割込信号に基づき、割込コントローラ109からCPU103へ割り込みがかかると、CPU103からA/D変換器102へ指令が送られ、A/D変換器102はこの時点からバッテリBの電圧(以下、「バッテリ電圧」と記す)のA/D変換を開始する。このA/D変換処理は、V相キャリアCvが谷部に至るタイミングaまで行われる。タイミングaに至ると、前述したV相電流のA/D変換が行われる。   Next, A / D conversion of battery voltage will be described. In FIG. 5, the timing (A) is the timing at which the W-phase carrier Cw becomes a peak, and at this time, the peak interrupt signal INT1W is output from the comparator 33 (FIG. 2). Based on this interrupt signal, when an interrupt is issued from the interrupt controller 109 to the CPU 103, a command is sent from the CPU 103 to the A / D converter 102, and the A / D converter 102 starts the voltage of the battery B (hereinafter referred to as the following). A / D conversion of “battery voltage” is started. This A / D conversion process is performed until timing a when the V-phase carrier Cv reaches the valley. When the timing a is reached, the above-described A / D conversion of the V-phase current is performed.

次に、図5のタイミング(ロ)は、U相キャリアCuが山部となるタイミングであり、このとき比較器13(図2)から山割込信号INT1Uが出力される。この割込信号に基づき、割込コントローラ109からCPU103へ割り込みがかかると、CPU103からA/D変換器102へ指令が送られ、A/D変換器102はこの時点から再びバッテリ電圧のA/D変換を開始する。このA/D変換処理は、W相キャリアCwが谷部に至るタイミングbまで行われる。タイミングbに至ると、前述したW相電流のA/D変換が行われる。   Next, the timing (b) in FIG. 5 is the timing at which the U-phase carrier Cu reaches a peak, and at this time, the peak interrupt signal INT1U is output from the comparator 13 (FIG. 2). When an interrupt is issued from the interrupt controller 109 to the CPU 103 based on this interrupt signal, a command is sent from the CPU 103 to the A / D converter 102, and the A / D converter 102 again starts the A / D of the battery voltage from this point. Start conversion. This A / D conversion process is performed until timing b when the W-phase carrier Cw reaches the valley. When the timing b is reached, the above-described A / D conversion of the W-phase current is performed.

次に、図5のタイミング(ハ)は、V相キャリアCvが山部となるタイミングであり、このとき比較器23(図2)から山割込信号INT1Vが出力される。この割込信号に基づき、割込コントローラ109からCPU103へ割り込みがかかると、CPU103からA/D変換器102へ指令が送られ、A/D変換器102はこの時点から再びバッテリ電圧のA/D変換を開始する。このA/D変換処理は、U相キャリアCuが谷部に至るタイミングcまで行われる。タイミングcに至ると、前述したU相電流のA/D変換が行われる。   Next, the timing (c) in FIG. 5 is the timing at which the V-phase carrier Cv reaches a peak, and at this time, the peak interrupt signal INT1V is output from the comparator 23 (FIG. 2). When an interrupt is issued from the interrupt controller 109 to the CPU 103 based on this interrupt signal, a command is sent from the CPU 103 to the A / D converter 102, and the A / D converter 102 again starts the A / D of the battery voltage from this point. Start conversion. This A / D conversion process is performed until timing c when the U-phase carrier Cu reaches the valley. When the timing c is reached, the above-described A / D conversion of the U-phase current is performed.

以上のように、各三角波キャリアの谷部のタイミングで発生する谷割込信号に基づいてモータ電流のA/D変換を開始し、各三角波キャリアの山部のタイミングで発生する山割込信号に基づいてバッテリ電圧のA/D変換を開始するようにしたことで、三角波キャリアの山部と谷部の両方のタイミングを利用して、モータ電流およびバッテリ電圧のA/D変換を行うことができる。CPU103は、A/D変換されたモータ電流やバッテリ電圧の値を用いて、モータMのフィードバック制御を行う。また、A/D変換には一定の時間を要するため、割込信号の間隔が短いと1つのA/D変換器だけでは対処できず複数のA/D変換器が必要となるが、上記実施形態では、割込信号の間隔を長くとれるため、1個のA/D変換器102だけで対応が可能となる。さらに、各アップダウンカウンタ12,22,32(図2)の初期値を変更することにより、三角波キャリア間の位相差が変わるので、初期値によって三角波キャリアの山部と谷部のタイミングを自由に設定することができ、任意のタイミングおよび任意の時間間隔で割り込みをかけることができる。   As described above, A / D conversion of the motor current is started based on the valley interrupt signal generated at the timing of the valley of each triangular wave carrier, and the peak interrupt signal generated at the timing of the peak of each triangular wave carrier By starting the A / D conversion of the battery voltage based on the above, it is possible to perform the A / D conversion of the motor current and the battery voltage by using the timing of both the peak and valley of the triangular wave carrier. . The CPU 103 performs feedback control of the motor M using the A / D converted motor current and battery voltage values. Also, since A / D conversion requires a certain time, if the interval between interrupt signals is short, a single A / D converter cannot be used and a plurality of A / D converters are required. In the embodiment, since the interval between the interrupt signals can be increased, it is possible to cope with only one A / D converter 102. Furthermore, since the phase difference between the triangular wave carriers is changed by changing the initial values of the up / down counters 12, 22, and 32 (FIG. 2), the timing of the peaks and valleys of the triangular wave carriers can be freely set according to the initial values. Can be set and interrupted at any time and at any time interval.

図5では、キャリアCu(基準三角波キャリア)の1周期区間において、シャントST1〜ST3のそれぞれが検出した全ての相のモータ電流をA/D変換するので、どの相の電流についてもデータを採取することができ精度が向上するが、各相の指令電圧値は時間的に変化するため、キャリアの1周期区間において、ある相についてPWM信号が全く出力されないことが起こりうる。この場合は、その相のモータ電流のA/D変換は不可能となる。しかし、上述したような位相のずれた三角波キャリアを用いると、キャリアの1周期区間において、最低でも2相分のモータ電流を得ることが保証される。そして、2相(例えばU相とV相)のモータ電流値が検出できれば、それらを合計することで他の1相(例えばW相)のモータ電流値を自動的に求めることができる。この場合、A/D変換された2相の電流の合計値を符号反転した値を残りの1相の電流値とする。   In FIG. 5, since the motor currents of all phases detected by each of the shunts ST1 to ST3 are A / D converted in one cycle section of the carrier Cu (reference triangular wave carrier), data is collected for any phase current. However, since the command voltage value of each phase changes with time, it is possible that no PWM signal is output for a certain phase in one period of the carrier. In this case, A / D conversion of the motor current of that phase becomes impossible. However, when the triangular wave carrier having a phase shift as described above is used, it is ensured that a motor current for at least two phases is obtained in one period of the carrier. If two-phase (for example, U phase and V phase) motor current values can be detected, the motor current values for the other one phase (for example, W phase) can be automatically obtained by summing them. In this case, a value obtained by reversing the sign of the total value of the two-phase current subjected to A / D conversion is set as the remaining one-phase current value.

ところで、上述したA/D変換において、CPU103は、各相の下段のスイッチング素子Q2,Q4,Q6をオン状態に維持させるオン区間信号x,y,zの時間幅(信号の立上りから立下りまでの時間)をそれぞれ求め、この時間幅が一定値以上であるときに、当該時間内に生成される谷割込信号INT2U,INT2V,INT2Wに基づいてA/D変換されたモータ電流の値を有効とし、前記時間幅が一定値未満であるときに、当該時間内に生成される割込信号INT2U,INT2V,INT2Wに基づいてA/D変換されたモータ電流の値を無効とする。この時間幅は、三角波キャリアCu,Cv,Cwと各相指令値とに基づいて計算で求めることができる。あるいは、スイッチング素子がオンしてからオフするまでの時間をタイマーにより監視してもよい。スイッチング素子Q2,Q4,Q6がオン状態を維持する時間が短かすぎると、その間のA/D変換で得られたデータ値は信頼性が低いため、この区間のデータは無効なものとして破棄する。このように、スイッチング素子のオン時間が一定値以上の場合にのみA/D変換の値を有効とすることで、データの信頼性を高めることができる。なお、オン区間信号x,y,zの各時間幅が前記の計算により予め判明している場合は、当該時間幅が一定値以上であるときにA/D変換を行い、一定値未満であるときにA/D変換を禁止するようにしてもよい。A/D変換を禁止する場合は、当然、当該区間でのデータの採取は行われない。これにより、無効なデータをわざわざA/D変換する無駄を回避することができる。したがって、先にA/D変換をしてからデータの有効・無効を判断するよりも、先に有効・無効を判断してからA/D変換を行う方が、処理速度を上げる点では好ましい。なお、有効・無効の判定基準、およびA/D変換をする・しない(禁止する)の判定基準となる上記一定値は、A/D変換器102でのA/D変換処理に必要とされる最低限の時間以上の値に設定される。   By the way, in the A / D conversion described above, the CPU 103 determines the time widths of the on-section signals x, y, and z that maintain the lower switching elements Q2, Q4, and Q6 of each phase in the on state (from the rising edge to the falling edge of the signal). When the time width is equal to or greater than a certain value, the value of the motor current that is A / D converted based on the valley interrupt signals INT2U, INT2V, and INT2W generated within the time is valid. When the time width is less than a certain value, the value of the motor current subjected to A / D conversion based on the interrupt signals INT2U, INT2V, INT2W generated during the time is invalidated. This time width can be obtained by calculation based on the triangular wave carriers Cu, Cv, Cw and each phase command value. Alternatively, the time from when the switching element is turned on until it is turned off may be monitored by a timer. If the switching elements Q2, Q4, and Q6 are kept on for too short time, the data value obtained by the A / D conversion during that period is not reliable, and the data in this section is discarded as invalid. . Thus, the reliability of data can be improved by making the A / D conversion value valid only when the ON time of the switching element is equal to or greater than a certain value. In addition, when each time width of the on-section signals x, y, and z is known in advance by the above calculation, A / D conversion is performed when the time width is equal to or greater than a certain value, and is less than the certain value. Sometimes A / D conversion may be prohibited. In the case of prohibiting A / D conversion, naturally, data collection in the section is not performed. As a result, wasteful A / D conversion of invalid data can be avoided. Therefore, it is preferable to perform the A / D conversion after determining the validity / invalidity first, rather than determining the validity / invalidity of the data after performing the A / D conversion first. Note that the above-described constant value that is a valid / invalid determination criterion and a determination criterion for whether or not (prohibited) A / D conversion is required for the A / D conversion processing in the A / D converter 102. Set to a value greater than the minimum time.

本発明は、上述した以外にも種々の実施形態を採用することができる。例えば、図1では、シャントST1〜ST3が、スイッチング素子同士の接続点からみて各相下のスイッチング素子Q2,Q4,Q6側に設けられているため、これらの素子がオン状態にある三角波キャリアの谷部においてモータ電流のA/D変換を行っているが、シャントST1〜ST3を、スイッチング素子同士の接続点からみて各相上のスイッチング素子Q1,Q3,Q5側に設け、これらの素子がオン状態にある三角波キャリアの山部においてモータ電流のA/D変換を行うようにしてもよい。この場合は、三角波キャリアの谷部においてバッテリ電圧のA/D変換が行われる。   The present invention can employ various embodiments other than those described above. For example, in FIG. 1, since the shunts ST1 to ST3 are provided on the side of the switching elements Q2, Q4, and Q6 below each phase when viewed from the connection point between the switching elements, the shunts of the triangular wave carriers in which these elements are in the ON state. A / D conversion of the motor current is performed in the valley, but the shunts ST1 to ST3 are provided on the switching elements Q1, Q3, and Q5 side on each phase as viewed from the connection points of the switching elements, and these elements are turned on. You may make it perform A / D conversion of a motor current in the peak part of the triangular wave carrier in a state. In this case, A / D conversion of the battery voltage is performed at the valley of the triangular wave carrier.

また、上記実施形態では、三角波キャリアの山部において毎回山割込信号を発生させて、バッテリ電圧のA/D変換を行うようにしたが、三角波キャリアの何周期かに1度の割合で山割込信号を発生させて、バッテリ電圧のA/D変換を行うようにしてもよい。   In the above-described embodiment, the peak interrupt signal is generated every time at the peak of the triangular wave carrier to perform the A / D conversion of the battery voltage. However, the peak is generated once every several cycles of the triangular wave carrier. An interrupt signal may be generated to perform A / D conversion of the battery voltage.

さらに、上記実施形態では、キャリアと比較する指令値は電圧値であったが、指令値は電流値であってもよい。   Furthermore, in the said embodiment, although the command value compared with a carrier was a voltage value, a command value may be an electric current value.

本発明に係るインバータ制御装置の構成図である。It is a block diagram of the inverter control apparatus which concerns on this invention. キャリア発生部と比較器の詳細な構成図である。It is a detailed block diagram of a carrier generation part and a comparator. 各相の三角波キャリアを生成する原理を説明する図である。It is a figure explaining the principle which produces | generates the triangular wave carrier of each phase. アップダウンカウンタの初期値の設定を説明するテーブルである。It is a table explaining the setting of the initial value of an up / down counter. 割込信号の発生タイミングを示したタイムチャートである。It is a time chart which showed the generation timing of an interrupt signal. インバータ回路の電流経路を説明する図である。It is a figure explaining the current pathway of an inverter circuit. インバータ回路の電流経路を説明する図である。It is a figure explaining the current pathway of an inverter circuit. インバータ回路の電流経路を説明する図である。It is a figure explaining the current pathway of an inverter circuit. インバータ回路から取り出される電圧の波形図である。It is a wave form diagram of the voltage taken out from an inverter circuit. 一般的な3相交流モータの制御装置を示す図である。It is a figure which shows the control apparatus of a general 3 phase alternating current motor. PWM信号生成部の構成を示した図である。It is the figure which showed the structure of the PWM signal generation part. PWM信号を生成する原理を説明する図である。It is a figure explaining the principle which produces | generates a PWM signal. デッドタイム区間の重なりを説明する図である。It is a figure explaining the overlap of a dead time area. 各相ごとに独立したキャリアを用いた場合の波形図である。It is a wave form diagram at the time of using the carrier independent for each phase. デッドタイム区間のずれを説明する図である。It is a figure explaining the shift | offset | difference of a dead time area. キャリア発生部の構成を示す図である。It is a figure which shows the structure of a carrier generation part.

符号の説明Explanation of symbols

10 U相キャリア発生部
12 アップダウンカウンタ
13,14 比較器
15 フリップフロップ
16 比較器
20 V相キャリア発生部
22 アップダウンカウンタ
23,24 比較器
25 フリップフロップ
26 比較器
30 W相キャリア発生部
32 アップダウンカウンタ
33,34 比較器
35 フリップフロップ
36 比較器
103 CPU
104 メモリ
105 クロック発生器
106 キャリア発生部
107 比較器
108 PWM回路
109 割込コントローラ
Cu U相キャリア
Cv V相キャリア
Cw W相キャリア
Q1〜Q6 スイッチング素子
ST1〜ST3 シャント
INT1U〜INT2W 割込信号
x,y,z オン区間信号
10 U-phase carrier generator 12 Up / down counter 13, 14 Comparator 15 Flip-flop 16 Comparator 20 V-phase carrier generator 22 Up-down counter 23, 24 Comparator 25 Flip-flop 26 Comparator 30 W-phase carrier generator 32 Up Down counter 33, 34 Comparator 35 Flip-flop 36 Comparator 103 CPU
104 memory 105 clock generator 106 carrier generator 107 comparator 108 PWM circuit 109 interrupt controller Cu U phase carrier Cv V phase carrier Cw W phase carrier Q1 to Q6 switching element ST1 to ST3 shunt INT1U to INT2W interrupt signal x, y , Z ON section signal

Claims (9)

多相交流モータの各相に対応する1対のスイッチング素子の直列体が並列に設けられ、各直列体におけるスイッチング素子同士の接続点から前記モータを駆動するための各相電圧がそれぞれ取り出されるインバータ回路と、前記直列体のそれぞれに対して直列に接続され、前記モータに流れる電流を各相ごとに検出する電流検出手段と、前記各相の指令値に基づくPWM信号を出力して前記インバータ回路の各スイッチング素子のオン・オフ動作を制御する制御部とを備えたインバータ制御装置であって、
前記制御部は、前記電流検出手段のそれぞれが検出した各相ごとのモータ電流をA/D変換するA/D変換器と、このA/D変換器の動作を制御する制御手段と、前記各相に対応した三角波キャリアを各相間で所定の位相差を設けて発生させるキャリア発生部と、このキャリア発生部から出力される各相の三角波キャリアと前記各相の指令値との比較に基づいて、前記各スイッチング素子ごとのPWM信号を生成する信号生成手段とを備え、
前記キャリア発生部は、前記各相の三角波キャリアの山部または谷部のタイミングで、前記制御手段に対する割込信号を生成し、
前記制御手段は、前記各割込信号に基づいて、前記A/D変換器に対し、当該割込信号に対応する相のモータ電流のA/D変換を開始させることを特徴とするインバータ制御装置。
An inverter in which a series body of a pair of switching elements corresponding to each phase of a multiphase AC motor is provided in parallel, and each phase voltage for driving the motor is extracted from a connection point between the switching elements in each series body A current detecting means connected in series to each of the circuit and each of the series bodies and detecting a current flowing through the motor for each phase; and a PWM signal based on a command value of each phase to output the inverter circuit An inverter control device including a control unit that controls the on / off operation of each switching element,
The control unit includes an A / D converter that performs A / D conversion on a motor current for each phase detected by each of the current detection units, a control unit that controls the operation of the A / D converter, Based on a carrier generation unit that generates a triangular wave carrier corresponding to a phase with a predetermined phase difference between the phases, and a comparison between the triangular wave carrier of each phase output from the carrier generation unit and the command value of each phase And a signal generation means for generating a PWM signal for each of the switching elements,
The carrier generation unit generates an interrupt signal for the control means at the timing of the peak or valley of the triangular wave carrier of each phase,
The control means causes the A / D converter to start A / D conversion of a motor current of a phase corresponding to the interrupt signal based on each interrupt signal. .
前記PWM信号は、前記スイッチング素子をオン状態に維持させる可変時間幅をもつオン区間信号と、前記スイッチング素子をオフ状態に維持させる可変時間幅をもつオフ区間信号とからなり、
前記キャリア発生部は、前記各相の直列体における一方のスイッチング素子をオン状態に維持させる前記オン区間信号の時間幅の略中間タイミングにおいて、前記割込信号を生成することを特徴とする請求項1に記載のインバータ制御装置。
The PWM signal is composed of an ON interval signal having a variable time width for maintaining the switching element in an ON state and an OFF interval signal having a variable time width for maintaining the switching element in an OFF state.
The said carrier generation part produces | generates the said interruption signal in the substantially intermediate | middle timing of the time width of the said ON section signal which maintains one switching element in the serial body of each said phase in an ON state. The inverter control device according to 1.
前記PWM信号は、前記スイッチング素子をオン状態に維持させる可変時間幅をもつオン区間信号と、前記スイッチング素子をオフ状態に維持させる可変時間幅をもつオフ区間信号とからなり、
前記制御手段は、前記各相の直列体における一方のスイッチング素子をオン状態に維持させる前記オン区間信号の時間幅を求め、この時間幅が一定値以上であるときに、当該時間内に生成される前記割込信号に基づいてA/D変換された前記モータ電流の値を有効とし、前記時間幅が一定値未満であるときに、当該時間内に生成される前記割込信号に基づいてA/D変換された前記モータ電流の値を無効とすることを特徴とする請求項1または請求項2に記載のインバータ制御装置。
The PWM signal is composed of an ON interval signal having a variable time width for maintaining the switching element in an ON state and an OFF interval signal having a variable time width for maintaining the switching element in an OFF state.
The control means obtains a time width of the on-section signal that maintains one switching element in the serial body of each phase in an on state, and is generated within the time when the time width is equal to or greater than a certain value. When the value of the motor current A / D converted based on the interrupt signal is validated and the time width is less than a certain value, A based on the interrupt signal generated within the time 3. The inverter control device according to claim 1, wherein the value of the motor current subjected to / D conversion is invalidated.
前記PWM信号は、前記スイッチング素子をオン状態に維持させる可変時間幅をもつオン区間信号と、前記スイッチング素子をオフ状態に維持させる可変時間幅をもつオフ区間信号とからなり、
前記制御手段は、前記各相の直列体における一方のスイッチング素子をオン状態に維持させる前記オン区間信号の時間幅を求め、この時間幅が一定値以上であるときに、当該時間内に生成される前記割込信号に基づいて前記A/D変換器にA/D変換を行わせ、前記時間幅が一定値未満であるときに、当該時間内におけるA/D変換を禁止することを特徴とする請求項1または請求項2に記載のインバータ制御装置。
The PWM signal is composed of an ON interval signal having a variable time width for maintaining the switching element in an ON state and an OFF interval signal having a variable time width for maintaining the switching element in an OFF state.
The control means obtains a time width of the on-section signal that maintains one switching element in the serial body of each phase in an on state, and is generated within the time when the time width is equal to or greater than a certain value. The A / D converter is caused to perform A / D conversion based on the interrupt signal, and when the time width is less than a certain value, A / D conversion within the time is prohibited. The inverter control device according to claim 1 or 2.
前記制御手段は、前記三角波キャリアのうちの1つを基準三角波キャリアとし、この基準三角波キャリアの1周期区間において、前記電流検出手段のそれぞれが検出した全ての相のモータ電流につき、前記A/D変換器にA/D変換を行わせることを特徴とする請求項1ないし請求項4のいずれかに記載のインバータ制御装置。   The control means uses one of the triangular wave carriers as a reference triangular wave carrier, and the A / D for the motor currents of all phases detected by the current detecting means in one period section of the reference triangular wave carrier. The inverter control device according to any one of claims 1 to 4, wherein the converter performs A / D conversion. 前記モータは3相交流モータであり、
前記制御手段は、前記三角波キャリアのうちの1つを基準三角波キャリアとし、この基準三角波キャリアの1周期区間において、前記電流検出手段のそれぞれが検出したモータ電流のうち、少なくとも2相のモータ電流につき、前記A/D変換器にA/D変換を行わせることを特徴とする請求項1ないし請求項5のいずれかに記載のインバータ制御装置。
The motor is a three-phase AC motor;
The control means uses one of the triangular wave carriers as a reference triangular wave carrier, and at least two phases of motor currents detected by each of the current detecting means in one cycle section of the reference triangular wave carrier. 6. The inverter control device according to claim 1, wherein the A / D converter is caused to perform A / D conversion.
前記A/D変換器には、前記電流検出手段により検出されるモータ電流と、前記電流検出手段とは別の少なくとも1つの他の検出手段からの検出出力とが入力され、
前記制御手段は、前記各相の三角波キャリアの山部または谷部の一方のタイミングで生成される割込信号に基づいて、前記A/D変換器に前記モータ電流のA/D変換を開始させ、他方のタイミングで生成される割込信号に基づいて、前記A/D変換器に前記他の検出出力のA/D変換を開始させることを特徴とする請求項1ないし請求項6のいずれかに記載のインバータ制御装置。
The A / D converter receives a motor current detected by the current detection means and a detection output from at least one other detection means different from the current detection means,
The control means causes the A / D converter to start A / D conversion of the motor current based on an interrupt signal generated at one timing of a peak portion or a valley portion of the triangular wave carrier of each phase. 7. The method according to claim 1, wherein the A / D converter is caused to start A / D conversion of the other detection output based on an interrupt signal generated at the other timing. The inverter control device described in 1.
前記キャリア発生部は前記各相ごとに設けられており、各キャリア発生部は、
クロックを計数し、計数値を累加算または累減算して三角波キャリアを出力する計数手段と、
この計数手段の計数値が所定の上限値に達したことを検出すると共に、上限値に達した時点で当該三角波キャリアの山部に対応した第1の割込信号を生成する第1の検出手段と、
前記計数手段の計数値が所定の下限値に達したことを検出すると共に、下限値に達した時点で当該三角波キャリアの谷部に対応した第2の割込信号を生成する第2の検出手段と、
前記第1の検出手段の検出出力に基づき前記計数手段に対し前記累減算を行うための減算指令を与え、前記第2の検出手段の検出出力に基づき前記計数手段に対し前記累加算を行うための加算指令を与える指令手段とを備え、
1つの相の計数手段が、他の相の計数手段から出力される三角波キャリアに対し、所定の位相差を持った三角波キャリアを出力することを特徴とする請求項1ないし請求項7のいずれかに記載のインバータ制御装置。
The carrier generator is provided for each phase, and each carrier generator is
Counting means for counting clocks, and adding or subtracting the count value to output a triangular wave carrier;
First detecting means for detecting that the count value of the counting means has reached a predetermined upper limit value and generating a first interrupt signal corresponding to the peak portion of the triangular wave carrier when the upper limit value is reached. When,
Second detecting means for detecting that the count value of the counting means has reached a predetermined lower limit value and generating a second interrupt signal corresponding to the valley of the triangular wave carrier when the lower limit value is reached. When,
To give a subtraction instruction for performing the cumulative subtraction to the counting means based on the detection output of the first detection means, and to perform the cumulative addition to the counting means based on the detection output of the second detection means Command means for giving an addition command of
The phase counting means for one phase outputs a triangular wave carrier having a predetermined phase difference with respect to the triangular wave carrier output from the counting means for the other phase. The inverter control device described in 1.
多相交流モータの各相に対応する1対のスイッチング素子の直列体が並列に設けられ、各直列体におけるスイッチング素子同士の接続点から前記モータを駆動するための各相電圧がそれぞれ取り出されるインバータ回路と、前記直列体のそれぞれに対して直列に接続され、前記モータに流れる電流を各相ごとに検出する電流検出手段と、前記各相の指令値に基づくPWM信号を出力して前記インバータ回路の各スイッチング素子のオン・オフ動作を制御する制御部とを備えたインバータ制御装置における制御方法であって、前記制御部において、
前記各相に対応した三角波キャリアを各相間で所定の位相差を設けて発生させ、
これらの三角波キャリアと各相の指令値とをそれぞれ比較することに基づいて前記PWM信号を生成し、
前記各三角波キャリアの山部または谷部のタイミングで割込信号を生成し、
これらの割込信号に基づいて、前記電流検出手段が検出した当該割込信号に対応する相のモータ電流のA/D変換を開始することを特徴とするインバータ制御方法。
An inverter in which a series body of a pair of switching elements corresponding to each phase of a multiphase AC motor is provided in parallel, and each phase voltage for driving the motor is extracted from a connection point between the switching elements in each series body A current detecting means connected in series to each of the circuit and each of the series bodies and detecting a current flowing through the motor for each phase; and a PWM signal based on a command value of each phase to output the inverter circuit And a control method for controlling an on / off operation of each switching element.
A triangular wave carrier corresponding to each phase is generated with a predetermined phase difference between each phase,
The PWM signal is generated based on comparing the triangular wave carrier and the command value of each phase,
Generate an interrupt signal at the timing of the peak or valley of each triangular wave carrier,
An inverter control method characterized by starting A / D conversion of a motor current of a phase corresponding to the interrupt signal detected by the current detection means based on these interrupt signals.
JP2004037301A 2004-02-09 2004-02-13 Inverter controller and inverter controlling method Pending JP2005229760A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004037301A JP2005229760A (en) 2004-02-13 2004-02-13 Inverter controller and inverter controlling method
US11/052,813 US7049778B2 (en) 2004-02-09 2005-02-09 Inverter control apparatus and inverter control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004037301A JP2005229760A (en) 2004-02-13 2004-02-13 Inverter controller and inverter controlling method

Publications (1)

Publication Number Publication Date
JP2005229760A true JP2005229760A (en) 2005-08-25

Family

ID=35004041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004037301A Pending JP2005229760A (en) 2004-02-09 2004-02-13 Inverter controller and inverter controlling method

Country Status (1)

Country Link
JP (1) JP2005229760A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013084289A1 (en) 2011-12-06 2013-06-13 三菱電機株式会社 Power conversion device
CN113206657A (en) * 2021-03-24 2021-08-03 珠海泰为电子有限公司 PWM signal generation method and device of PFC circuit, storage medium and electronic equipment
US11316449B2 (en) 2018-04-02 2022-04-26 Mitsubishi Electric Corporation Motor driving apparatus and air conditioner
CN115664388A (en) * 2022-12-26 2023-01-31 成都信息工程大学 Triangular wave generating circuit for delta-sigma fractional frequency division phase-locked loop
CN117175901A (en) * 2023-11-02 2023-12-05 成都滋华软件开发有限公司 Loop conversion control method and device based on digital power supply

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6380776A (en) * 1986-09-22 1988-04-11 Hitachi Ltd Current controller for pwm inverter
JPH0556654A (en) * 1991-08-22 1993-03-05 Nissin Electric Co Ltd Switching-signal generating circuit for inverter
JP2002262579A (en) * 2001-03-02 2002-09-13 Hitachi Ltd Power converter
JP2003348858A (en) * 2002-05-23 2003-12-05 Toshiba Corp Inverter unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6380776A (en) * 1986-09-22 1988-04-11 Hitachi Ltd Current controller for pwm inverter
JPH0556654A (en) * 1991-08-22 1993-03-05 Nissin Electric Co Ltd Switching-signal generating circuit for inverter
JP2002262579A (en) * 2001-03-02 2002-09-13 Hitachi Ltd Power converter
JP2003348858A (en) * 2002-05-23 2003-12-05 Toshiba Corp Inverter unit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013084289A1 (en) 2011-12-06 2013-06-13 三菱電機株式会社 Power conversion device
US11316449B2 (en) 2018-04-02 2022-04-26 Mitsubishi Electric Corporation Motor driving apparatus and air conditioner
CN113206657A (en) * 2021-03-24 2021-08-03 珠海泰为电子有限公司 PWM signal generation method and device of PFC circuit, storage medium and electronic equipment
CN115664388A (en) * 2022-12-26 2023-01-31 成都信息工程大学 Triangular wave generating circuit for delta-sigma fractional frequency division phase-locked loop
CN117175901A (en) * 2023-11-02 2023-12-05 成都滋华软件开发有限公司 Loop conversion control method and device based on digital power supply
CN117175901B (en) * 2023-11-02 2024-01-30 成都滋华软件开发有限公司 Loop conversion control method and device based on digital power supply

Similar Documents

Publication Publication Date Title
US7049771B2 (en) Multi-phase carrier signal generator and multi-phase carrier signal generation method
JP5252475B2 (en) Control device for multiphase motor
US7049778B2 (en) Inverter control apparatus and inverter control method
JP5178799B2 (en) Motor control device
JPWO2006103869A1 (en) Current control device and current offset correction method thereof
JP2010011540A (en) Motor controller
JP5256844B2 (en) Control device and control method for power conversion device
JP2004104977A (en) Controller for motor
JP2009124782A (en) Multiphase electric motor controller
JP2007110811A (en) Inverter apparatus and control method for the same
JP2005229760A (en) Inverter controller and inverter controlling method
JP2005224070A (en) Inverter control device and method therefor
JP2009118681A (en) Controller of multi-phase electric motor
WO2020059814A1 (en) Motor control device, motor system and inverter control method
JP5252476B2 (en) Control device for multiphase motor
JP2005218170A (en) Polyphase carrier generator and polyphase carrier generating method
JP5278091B2 (en) Induction motor rotation speed estimation apparatus and estimation method
JP4300352B2 (en) Motor drive control device
JP7407534B2 (en) Motor controllers and motor systems
JP2007228788A (en) Inverter device
JP2005318775A (en) Inverter control apparatus and inverter control method
JP4341914B2 (en) Multiphase carrier generating apparatus and multiphase carrier generating method
KR20220026590A (en) power converter
WO2021014948A1 (en) Motor control device and motor system
JP4039119B2 (en) Motor drive device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100115

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100512