JP6010071B2 - Motor control device and refrigeration / air-conditioning device - Google Patents

Motor control device and refrigeration / air-conditioning device Download PDF

Info

Publication number
JP6010071B2
JP6010071B2 JP2014143419A JP2014143419A JP6010071B2 JP 6010071 B2 JP6010071 B2 JP 6010071B2 JP 2014143419 A JP2014143419 A JP 2014143419A JP 2014143419 A JP2014143419 A JP 2014143419A JP 6010071 B2 JP6010071 B2 JP 6010071B2
Authority
JP
Japan
Prior art keywords
correction
motor
motor drive
current
voltage
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.)
Active
Application number
JP2014143419A
Other languages
Japanese (ja)
Other versions
JP2016021785A (en
Inventor
雅士 今出
雅士 今出
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2014143419A priority Critical patent/JP6010071B2/en
Priority to CN201580025128.6A priority patent/CN106464189B/en
Priority to MYPI2016002034A priority patent/MY182422A/en
Priority to PCT/JP2015/069551 priority patent/WO2016006613A1/en
Publication of JP2016021785A publication Critical patent/JP2016021785A/en
Application granted granted Critical
Publication of JP6010071B2 publication Critical patent/JP6010071B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Ac Motors In General (AREA)

Description

本発明は、モータを制御するモータ制御装置に関し、特にインバータ回路を有するモータ制御装置に関する。また、本発明は、モータ制御装置を搭載した冷凍装置、空調装置(これらを総称して冷凍・空調装置とする)に関する。   The present invention relates to a motor control device that controls a motor, and more particularly to a motor control device having an inverter circuit. The present invention also relates to a refrigeration apparatus and an air conditioner (collectively referred to as a refrigeration / air conditioning apparatus) equipped with a motor control device.

近年、負荷トルク変動を伴う負荷要素を駆動する同期モータの可変速制御にはインバータが用いられている。周期的な負荷トルク変動を有する負荷要素を備えるものとして、シングルロータ型圧縮機あるいはレシプロ型圧縮機などが挙げられる。シングルロータ型圧縮機あるいはレシプロ型圧縮機などは、空気調和機や冷蔵庫などの家電製品に搭載される圧縮機として広く使用されているものである。   In recent years, an inverter is used for variable speed control of a synchronous motor that drives a load element accompanied by load torque fluctuation. As a thing provided with the load element which has a periodic load torque fluctuation, a single rotor type compressor or a reciprocating type compressor is mentioned. Single rotor type compressors or reciprocating type compressors are widely used as compressors mounted on home appliances such as air conditioners and refrigerators.

図1Aはシングルロータ型圧縮機の負荷トルク特性を示す図であり、図1Bはレシプロ型圧縮機の負荷トルク特性を示す図である。シングルロータ型圧縮機やレシプロ型圧縮機では、作動媒体の吸入工程、圧縮工程、吐出工程からなる圧縮サイクルが1回転につき1回行われる。吐出直前は作動媒体が圧縮されているため、負荷トルクが大きくなり、吐出直後は作動媒体が抜けているため、負荷トルクが小さくなる。すなわち、ロータの機械的位置によって負荷トルクが変わる。   FIG. 1A is a diagram illustrating a load torque characteristic of a single rotor compressor, and FIG. 1B is a diagram illustrating a load torque characteristic of a reciprocating compressor. In a single rotor type compressor or a reciprocating type compressor, a compression cycle comprising a working medium suction step, a compression step, and a discharge step is performed once per rotation. Since the working medium is compressed immediately before the discharge, the load torque increases, and immediately after the discharge, the working medium is removed, so the load torque decreases. That is, the load torque varies depending on the mechanical position of the rotor.

ロータの機械的位置を検出する位置センサを用いずに同期モータを駆動する駆動方式においては、モータ制御装置がロータの機械的位置を判定できないため、同期モータを回転させるために必要なトルクを判定できない。このため、位置センサレスで同期モータを駆動する駆動方式においては、作動媒体の圧力が高い条件下であっても圧縮機が駆動できるようにモータの駆動電圧を高めに設定しモータトルクを高くして圧縮機を起動している。   In a drive system that drives a synchronous motor without using a position sensor that detects the mechanical position of the rotor, the motor controller cannot determine the mechanical position of the rotor, so the torque required to rotate the synchronous motor is determined. Can not. For this reason, in a drive system in which a synchronous motor is driven without a position sensor, the motor drive voltage is set high to increase the motor torque so that the compressor can be driven even under a high working medium pressure. The compressor is running.

特許第5385557号公報Japanese Patent No. 5385557

しかしながら、上述した通りロータの機械的位置によって負荷トルクが変わるためロータの角速度が変動し、これに伴いモータ駆動電流が変動する。   However, as described above, since the load torque varies depending on the mechanical position of the rotor, the angular velocity of the rotor varies, and accordingly, the motor drive current varies.

ところで、モータ制御装置はインバータの素子保護や同期モータに設けられている磁石の減磁防止のために過電流保護回路を備えているのが一般的であり、当該過電流保護回路に設定された過電流閾値を超える電流が流れるとモータの駆動を停止する。したがって、圧縮機が高負荷の条件下などモータ駆動電流の変動が大きい場合ではモータ駆動電流が上記の過電流閾値に達し、圧縮機が停止してしまうおそれがあった。   By the way, the motor control device is generally provided with an overcurrent protection circuit for protecting the element of the inverter and preventing the demagnetization of the magnet provided in the synchronous motor, and is set in the overcurrent protection circuit. When a current exceeding the overcurrent threshold flows, the driving of the motor is stopped. Therefore, when the fluctuation of the motor driving current is large, such as when the compressor is under a heavy load, the motor driving current may reach the above overcurrent threshold, and the compressor may stop.

特許文献1に記載のモータ制御装置では、トルク制御部が同期モータのロータの機械的位置(機械角)に応じたトルク補正量を記憶しており、例えば4極の同期モータのように電気角2回転が機械角1回転に相当する場合は、現在の電気角が、機械角0度〜機械角180度の範囲にあるのか、または機械角180度〜機械角360度の範囲にあるのか、の判別さえ行えば同期モータのロータの機械的位置を判定でき、適正なトルク補正を行うことができる。   In the motor control device described in Patent Document 1, the torque control unit stores a torque correction amount corresponding to the mechanical position (mechanical angle) of the rotor of the synchronous motor. For example, an electrical angle such as a 4-pole synchronous motor is stored. If two rotations correspond to one mechanical angle, whether the current electrical angle is in the range of mechanical angle 0 degrees to mechanical angle 180 degrees, or in the range of mechanical angle 180 degrees to mechanical angle 360 degrees, As long as this determination is made, the mechanical position of the rotor of the synchronous motor can be determined, and appropriate torque correction can be performed.

しかしながら、モータ制御装置が同期モータのロータの機械的位置(機械角)に応じたトルク補正データを持っていない場合がある。たとえば、同期モータのロータと圧縮機などの負荷要素のロータとが直結されない場合や、同期モータのロータと負荷要素のロータとを、角度の位置合わせを行わずに結合した場合などが考えられる。この場合は、同期モータの機械角を判別しても負荷要素のロータの機械的位置は未だ不明であり、適正なトルク補正を掛けることが出来ない。   However, the motor control apparatus may not have torque correction data corresponding to the mechanical position (mechanical angle) of the rotor of the synchronous motor. For example, a case where the rotor of the synchronous motor and the rotor of the load element such as a compressor are not directly connected, or a case where the rotor of the synchronous motor and the rotor of the load element are coupled without performing angular alignment are conceivable. In this case, even if the mechanical angle of the synchronous motor is determined, the mechanical position of the rotor of the load element is not yet known, and appropriate torque correction cannot be performed.

本発明は、上記の状況に鑑み、モータのロータの機械角と負荷要素のロータの機械角との角度差が任意の場合であっても、モータ駆動電流の過電流を防止するモータ制御装置及び当該モータ制御装置を搭載した冷凍・空調装置を提供することを目的とする。   In view of the above situation, the present invention provides a motor control device that prevents an overcurrent of a motor drive current even when the angle difference between the mechanical angle of the rotor of the motor and the mechanical angle of the rotor of the load element is arbitrary. An object of the present invention is to provide a refrigeration / air-conditioning apparatus equipped with the motor control device.

上記目的を達成するために、本発明に係るモータ制御装置は、周期的な負荷トルク変動を有する負荷要素を駆動するモータを制御する装置であって、前記モータを駆動する電流の振幅を検出する検出部と、前記モータを駆動するモータ駆動電圧を補正する補正部とを備え、前記補正部は、前記負荷要素の1周期に相当する前記モータの全電気角範囲から、前記検出部によって検出されたモータ駆動電流が最大ピークとなる第1の電気角を推定し、前記全電気角範囲を、第1の電気角を含む一の電気角範囲と、前記一の電気角範囲を除いた他の電気角範囲とに区分し、前記一の電気角範囲では前記他の電気角範囲よりもモータ駆動電圧を低減する第1の補正を行う構成(第1の構成)とする。   In order to achieve the above object, a motor control device according to the present invention is a device for controlling a motor that drives a load element having a periodic load torque fluctuation, and detects an amplitude of a current that drives the motor. A detection unit; and a correction unit that corrects a motor drive voltage for driving the motor. The correction unit is detected by the detection unit from a full electrical angle range of the motor corresponding to one cycle of the load element. The first electrical angle at which the motor drive current reaches the maximum peak is estimated, and the entire electrical angle range is divided into one electrical angle range including the first electrical angle and the other electrical range excluding the one electrical angle range. The first electric angle range is divided into an electric angle range, and the first correction for reducing the motor driving voltage is performed in the one electric angle range (first configuration).

上記第1の構成のモータ制御装置において、前記一の電気角範囲は、第1の電気角の直前および直後の少なくとも一方に隣接した前記モータ駆動電流がピークとなる電気角を含む構成(第2の構成)としてもよい。   In the motor control device having the first configuration, the one electrical angle range includes an electrical angle at which the motor driving current is adjacent to at least one immediately before and immediately after the first electrical angle (second configuration). It is good also as a structure.

上記第1または第2の構成のモータ制御装置において、前記補正部は、前記モータが起動開始後に加速する間の前記モータ駆動電流に基づいてモータ駆動電圧の補正を行う構成(第3の構成)としてもよい。   In the motor control device having the first or second configuration, the correction unit corrects the motor drive voltage based on the motor drive current while the motor is accelerated after starting (third configuration). It is good.

上記第1〜第3のいずれかの構成のモータ制御装置において、前記負荷要素の1周期に相当する電圧補正パターンを記憶する電圧補正パターン記憶部を備え、前記補正部は、前記電圧補正パターンの位相を所定の角度分シフトする補正係数を与えた前記電圧補正パターンにより補正された前記モータ駆動電圧で前記モータを駆動した際の前記モータ駆動電流の変動量を、2つ以上の前記補正係数の設定値に対して比較した結果に基づいて、前記補正係数を決定する第2の補正を行い、前記第2の補正は前記第1の補正を解除した後に行い、前記第2の補正における前記電圧補正パターンの最大補正部分が、前記第1の補正で区分された前記一の電気角範囲に入らないように、前記補正係数の設定値が定められる構成(第4の構成)とする。   The motor control device having any one of the first to third configurations includes a voltage correction pattern storage unit that stores a voltage correction pattern corresponding to one cycle of the load element, and the correction unit is configured to store the voltage correction pattern. A fluctuation amount of the motor driving current when the motor is driven by the motor driving voltage corrected by the voltage correction pattern which gives a correction coefficient for shifting the phase by a predetermined angle is expressed by two or more correction coefficients. Based on a comparison result with respect to a set value, a second correction for determining the correction coefficient is performed, the second correction is performed after the first correction is canceled, and the voltage in the second correction is A configuration (fourth configuration) in which the set value of the correction coefficient is determined so that the maximum correction portion of the correction pattern does not fall within the one electrical angle range divided by the first correction.

上記第4の構成のモータ制御装置において、前記補正係数は、前記電圧補正パターンのゲインを含み、前記ゲインを異なる値として前記モータを駆動した際の前記モータ駆動電流の変動量を比較した結果を指標として、前記ゲインを決定する構成(第5の構成)としてもよい。   In the motor control device of the fourth configuration, the correction coefficient includes a gain of the voltage correction pattern, and a result obtained by comparing a fluctuation amount of the motor drive current when the motor is driven with the gain set to a different value. As an index, the gain may be determined (fifth configuration).

上記第4または第5の構成のモータ制御装置において、前記電圧補正パターンの形状は、前記負荷要素の角度ごとの負荷トルク値を前記負荷要素の前記1周期分の負荷トルクの平均値から差し引いた値を、前記負荷要素の角度で積分した関数に基づく形状である構成(第6の構成)としてもよい。   In the motor control device having the fourth or fifth configuration, the shape of the voltage correction pattern is obtained by subtracting a load torque value for each angle of the load element from an average value of the load torque for the one cycle of the load element. It is good also as a structure (6th structure) which is a shape based on the function which integrated the value with the angle of the said load element.

上記第4〜第6のいずれかの構成のモータ制御装置において、前記電圧補正パターンの形状は、前記負荷要素を一定のトルクで回転させたときの、負荷トルク変動1周期分の角速度変化を測定し、その変動パターンに基づく形状とする構成(第7の構成)としてもよい。   In the motor control device having any one of the fourth to sixth configurations, the shape of the voltage correction pattern is a measurement of an angular velocity change for one cycle of load torque fluctuation when the load element is rotated at a constant torque. However, a configuration based on the variation pattern (seventh configuration) may be employed.

上記第6又は第7の構成のモータ制御装置において、前記電圧補正パターンの形状は、基となる前記関数または前記変動パターンに比べて、補正量を小さくした形状である構成(第8の構成)としてもよい。   In the motor control device having the sixth or seventh configuration, the voltage correction pattern has a configuration in which the correction amount is smaller than that of the function or the variation pattern as a basis (eighth configuration). It is good.

本発明に係る冷凍・空調装置は、上記第1〜第8のいずれかの構成のモータ制御装置と、前記モータ制御装置によって駆動される同期モータと、前記同期モータが駆動する圧縮機とを備える構成(第9の構成)とする。   A refrigeration / air-conditioning apparatus according to the present invention includes the motor control device having any one of the first to eighth configurations, a synchronous motor driven by the motor control device, and a compressor driven by the synchronous motor. The configuration (the ninth configuration) is assumed.

本発明によれば、負荷要素のロータの機械角とモータの機械角との対応が不明である場合でも、モータ駆動電流の過電流を防止でき、また、モータ駆動電流の変動量を抑制するモータ制御装置及び当該モータ制御装置を搭載した冷凍・空調装置を実現することができる。   According to the present invention, even when the correspondence between the mechanical angle of the rotor of the load element and the mechanical angle of the motor is unknown, it is possible to prevent overcurrent of the motor drive current and to suppress the fluctuation amount of the motor drive current. It is possible to realize a refrigeration / air conditioning apparatus equipped with a control device and the motor control device.

シングルロータ型圧縮機の負荷トルク特性を示す図である。It is a figure which shows the load torque characteristic of a single rotor type compressor. レシプロ型圧縮機の負荷トルク特性を示す図である。It is a figure which shows the load torque characteristic of a reciprocating compressor. 本発明の第1実施形態に係るモータ制御装置の概略構成を示す図である。It is a figure showing a schematic structure of a motor control device concerning a 1st embodiment of the present invention. 本発明の第1実施形態におけるモータ駆動電圧波形補正部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the motor drive voltage waveform correction | amendment part in 1st Embodiment of this invention. 本発明の第2実施形態におけるモータ駆動電圧波形補正部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the motor drive voltage waveform correction | amendment part in 2nd Embodiment of this invention. 本発明の第3実施形態における補正範囲を説明するためのモータ駆動電流波形図である。It is a motor drive current waveform figure for demonstrating the correction range in 3rd Embodiment of this invention. 電圧補正パターンを用いた補正を行った後のモータ駆動電圧波形の一例を示す図である。It is a figure which shows an example of the motor drive voltage waveform after performing the correction | amendment using a voltage correction pattern. 本発明の第3実施形態の変形例における補正範囲を説明するためのモータ駆動電流波形図である。It is a motor drive current waveform figure for demonstrating the correction range in the modification of 3rd Embodiment of this invention. 本発明の第3実施形態の他の変形例における補正範囲を説明するためのモータ駆動電流波形図である。It is a motor drive current waveform figure for demonstrating the correction range in the other modification of 3rd Embodiment of this invention. 本発明の第4実施形態に係るモータ制御装置の概略構成を示す図である。It is a figure which shows schematic structure of the motor control apparatus which concerns on 4th Embodiment of this invention. 電圧補正パターンの一例を示す図である。It is a figure which shows an example of a voltage correction pattern. 本発明の第4実施形態におけるモータ駆動電圧波形補正部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the motor drive voltage waveform correction | amendment part in 4th Embodiment of this invention. 本発明の第4実施形態におけるモータ駆動電圧波形補正部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the motor drive voltage waveform correction | amendment part in 4th Embodiment of this invention. 各相のモータ駆動電流波形の複数の例を示す図である。It is a figure which shows the some example of the motor drive current waveform of each phase. モータ駆動電流の脈動量と電圧補正パターンの位相ずれ量との関係の一例を示す図である。It is a figure which shows an example of the relationship between the pulsation amount of a motor drive current, and the phase shift amount of a voltage correction pattern. モータ駆動電流の脈動量と電圧補正パターンの補正ゲインとの関係の一例を示す図である。It is a figure which shows an example of the relationship between the pulsation amount of a motor drive current, and the correction gain of a voltage correction pattern. 本発明の第5実施形態におけるモータ駆動電圧波形補正部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the motor drive voltage waveform correction | amendment part in 5th Embodiment of this invention. 本発明の第5実施形態におけるモータ駆動電圧波形補正部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the motor drive voltage waveform correction | amendment part in 5th Embodiment of this invention. 本発明の第8実施形態における電圧補正パターンの一例を示す図である。It is a figure which shows an example of the voltage correction pattern in 8th Embodiment of this invention.

本発明の実施形態について図面を参照して以下に説明する。   Embodiments of the present invention will be described below with reference to the drawings.

<第1実施形態>
本発明の第1実施形態に係るモータ制御装置の概略構成を図2に示す。本実施形態に係るモータ制御装置は、コンバータ回路2と、インバータ回路3と、電流検出抵抗(シャント抵抗)R1と、電流検出回路5と、マイクロコンピュータM1とを備えている。コンバータ回路2の入力側には交流電源1が接続され、インバータ回路3の出力側には同期モータ4が接続される。同期モータ4は、周期的な負荷トルク変動を伴う負荷要素を駆動する。
<First Embodiment>
FIG. 2 shows a schematic configuration of the motor control device according to the first embodiment of the present invention. The motor control device according to the present embodiment includes a converter circuit 2, an inverter circuit 3, a current detection resistor (shunt resistor) R1, a current detection circuit 5, and a microcomputer M1. An AC power source 1 is connected to the input side of the converter circuit 2, and a synchronous motor 4 is connected to the output side of the inverter circuit 3. The synchronous motor 4 drives a load element that accompanies periodic load torque fluctuations.

コンバータ回路2は、交流電源1からの交流電圧を直流電圧に変換してインバータ回路3に供給する。インバータ回路3は、コンバータ回路2からの直流電圧を3相交流電圧に変換して同期モータ4に供給する。コンバータ回路2の出力側とインバータ回路3の入力側とは正極直流ライン及び負極直流ラインによって接続されており、当該負極直流ライン上に電流検出抵抗R1が設けられている。電流検出回路5は、電流検出抵抗R1の両端に発生する電圧に基づいてインバータ回路3に流れる電流を検出し、その検出した電流を増幅して、電流信号としてマイクロコンピュータM1に出力する。すなわち、電流検出回路5は、インバータ回路3に流れる電流を検出する電流検出手段として機能している。   The converter circuit 2 converts the AC voltage from the AC power source 1 into a DC voltage and supplies it to the inverter circuit 3. The inverter circuit 3 converts the DC voltage from the converter circuit 2 into a three-phase AC voltage and supplies it to the synchronous motor 4. The output side of the converter circuit 2 and the input side of the inverter circuit 3 are connected by a positive DC line and a negative DC line, and a current detection resistor R1 is provided on the negative DC line. The current detection circuit 5 detects the current flowing through the inverter circuit 3 based on the voltage generated at both ends of the current detection resistor R1, amplifies the detected current, and outputs the amplified current signal to the microcomputer M1. That is, the current detection circuit 5 functions as a current detection unit that detects a current flowing through the inverter circuit 3.

マイクロコンピュータM1は、同期モータ4を駆動制御するための回路であり、モータ駆動電流推定部6と、モータ駆動電流記憶部7と、回転数設定部8と、モータ駆動電圧波形作成部9と、モータ駆動電圧波形補正部10と、PWM波形作成部11とを有しており、以下で説明する処理をプログラムにしたがって行っている。   The microcomputer M1 is a circuit for driving and controlling the synchronous motor 4, and includes a motor drive current estimation unit 6, a motor drive current storage unit 7, a rotation speed setting unit 8, a motor drive voltage waveform creation unit 9, The motor drive voltage waveform correction unit 10 and the PWM waveform creation unit 11 are included, and the processing described below is performed according to a program.

モータ駆動電流推定部6は、電流変化分演算手段(不図示)及び分配演算手段(不図示)を有し、入力された電流信号から電流変化分演算手段により電流の変化分を求め、電流信号の変化分から分配演算手段によりモータ駆動電流を推定演算する。ここで、電流変化分演算手段および分配演算手段は、例えば特開平8−19263号公報に記載されているものを用いることができる。特開平8−19263号公報に記載されているものを用いた場合、電流変化分演算手段は、インバータ回路3の各相駆動素子のスイッチング直前と直後の直流電流信号(電流検出回路5の出力信号)からその変化分を求め、分配演算手段は、インバータ回路3の各相駆動素子のスイッチングタイミングに応じて電流信号(電流検出回路5の出力信号)の変化分を各相別に分配して相別のモータ駆動電流を推定演算する。モータ駆動電流推定部6を設けることにより、コイルおよびホール素子で構成された電流センサ、カレントトランスといったモータ駆動電流を検出するための電流センサを使用せずに、モータ駆動電流を推定演算することができるため、コストを削減することができる。   The motor drive current estimation unit 6 includes a current change calculation unit (not shown) and a distribution calculation unit (not shown). The current change calculation unit calculates a current change from the input current signal, and the current signal The motor drive current is estimated and calculated by the distribution calculation means from the amount of change. Here, as the current change calculation means and the distribution calculation means, for example, those described in JP-A-8-19263 can be used. When the one described in Japanese Patent Laid-Open No. 8-19263 is used, the current change calculation means is a DC current signal (output signal of the current detection circuit 5) immediately before and after switching of each phase driving element of the inverter circuit 3. The distribution calculation means distributes the change of the current signal (output signal of the current detection circuit 5) for each phase according to the switching timing of each phase drive element of the inverter circuit 3, and determines the change by phase. The motor drive current is estimated and calculated. By providing the motor drive current estimation unit 6, the motor drive current can be estimated and calculated without using a current sensor for detecting the motor drive current, such as a current sensor composed of a coil and a Hall element, or a current transformer. Therefore, cost can be reduced.

モータ駆動電流記憶部7は、モータ駆動電流推定部6によって推定演算された相別のモータ駆動電流から、少なくとも1相の電流振幅値と電気角とを少なくとも負荷要素における負荷トルク変動1周期分記憶する。   The motor drive current storage unit 7 stores at least one phase current amplitude value and an electrical angle for at least one load torque fluctuation in the load element from the phase-specific motor drive currents estimated and calculated by the motor drive current estimation unit 6. To do.

回転数設定部8は、目標とする回転数指令値に対応する強制励磁角周波数を決定し、その決定した強制励磁角周波数をモータ駆動電圧波形作成部9に出力する。なお、目標とする回転数指令値は、例えば、本実施形態に係るモータ制御装置と、同期モータ4と、同期モータ4が駆動する周期的な負荷トルク変動を伴う負荷要素とを備える機器に搭載されて当該機器全体を制御する制御部から回転数設定部8に伝達される。   The rotation speed setting unit 8 determines a forced excitation angular frequency corresponding to the target rotation speed command value, and outputs the determined forced excitation angular frequency to the motor drive voltage waveform creation unit 9. The target rotational speed command value is mounted on, for example, a device including the motor control device according to the present embodiment, the synchronous motor 4, and a load element with periodic load torque fluctuations driven by the synchronous motor 4. Then, it is transmitted from the control unit that controls the entire device to the rotation speed setting unit 8.

モータ駆動電圧波形作成部9は、所定のデータ個数で構成された正弦波データテーブルを予め記憶しており、強制励磁角周波数に基づいて、同期モータ4のモータ巻線端子の各相に対応したモータ駆動基本電圧波形データ(3相の場合は電気角で120度ずつずらした正弦波データ)を正弦波データテーブルから読み出して、モータ駆動電圧波形補正部10に出力する。なお、本実施形態では、正弦波データテーブルを用いてモータ駆動基本電圧波形を作成したが、本発明はこれに限定されることはなく、例えば、正弦波以外であってもよく、また、演算によってモータ駆動基本電圧波形を作成しても構わない。   The motor drive voltage waveform creation unit 9 stores in advance a sine wave data table composed of a predetermined number of data, and corresponds to each phase of the motor winding terminal of the synchronous motor 4 based on the forced excitation angular frequency. Motor drive basic voltage waveform data (in the case of three phases, sine wave data shifted by 120 degrees in electrical angle) is read from the sine wave data table and output to the motor drive voltage waveform correction unit 10. In the present embodiment, the motor drive basic voltage waveform is created using the sine wave data table. However, the present invention is not limited to this, and may be other than a sine wave, for example. The motor drive basic voltage waveform may be created by

モータ駆動電圧波形補正部10は、モータ駆動電流に基づいてモータ駆動基本電圧波形を補正する。モータ駆動電圧波形補正部10の詳細な動作については後述する。   The motor drive voltage waveform correction unit 10 corrects the motor drive basic voltage waveform based on the motor drive current. Detailed operation of the motor drive voltage waveform correction unit 10 will be described later.

PWM波形作成部11は、モータ駆動電圧波形補正部10から出力される補正後の各相モータ駆動電圧波形データを各相PWM波形信号に変換し、その変換した各相PWM波形信号をインバータ回路3の対応する各駆動素子(U相上側駆動素子QU、U相下側駆動素子Qx、V相上側駆動素子QV、V相下側駆動素子Qy、W相上側駆動素子QW、W相下側駆動素子Qz)に出力する。例えば、PWM波形作成部11は、PWMキャリア周期で三角波を発生させ、この三角波と補正後の各相モータ駆動電圧波形とを比較し、その比較結果に基づいてHigh/Low出力することで、各相のPWM波形信号を出力する。インバータ回路3は、コンバータ回路2からの直流電圧を、各相のPWM波形信号に基づいて各相のモータ駆動波形に変換し、その各相のモータ駆動波形を同期モータ4の各相のモータ巻線に印加する。これにより、同期モータ4のロータが回転する。 The PWM waveform creation unit 11 converts the corrected phase motor drive voltage waveform data output from the motor drive voltage waveform correction unit 10 into each phase PWM waveform signal, and converts the converted phase PWM waveform signal into the inverter circuit 3. Corresponding drive elements (U-phase upper drive element Q U , U-phase lower drive element Q x , V-phase upper drive element Q V , V-phase lower drive element Q y , W-phase upper drive element Q W , W To the lower phase driving element Q z ). For example, the PWM waveform creation unit 11 generates a triangular wave with a PWM carrier cycle, compares the triangular wave with each phase motor drive voltage waveform after correction, and outputs High / Low based on the comparison result. Phase PWM waveform signal is output. The inverter circuit 3 converts the DC voltage from the converter circuit 2 into a motor drive waveform of each phase based on the PWM waveform signal of each phase, and converts the motor drive waveform of each phase to the motor winding of each phase of the synchronous motor 4. Apply to the wire. Thereby, the rotor of the synchronous motor 4 rotates.

次に、モータ駆動電圧波形補正部10の詳細な動作について説明する。ここでは、同期モータ4が3相6極のモータである場合について説明する。また、負荷要素における負荷トルク変動1周期分は、同期モータ4の1回転分であるとする。モータ駆動電圧波形補正部10は、同期モータ4を起動する際に図3に示すフロー動作を開始する。同期モータ4の起動が開始すると、負荷要素の起動も開始され、負荷要素が安定して起動を完了するために必要なモータ回転数である安定回転数(例えば1600rpm)まで所定の加速度で加速される。   Next, the detailed operation of the motor drive voltage waveform correction unit 10 will be described. Here, a case where the synchronous motor 4 is a three-phase six-pole motor will be described. Further, it is assumed that one cycle of load torque fluctuation in the load element is one rotation of the synchronous motor 4. The motor drive voltage waveform correction unit 10 starts the flow operation shown in FIG. 3 when starting the synchronous motor 4. When the activation of the synchronous motor 4 is started, the load element is also started, and the load element is accelerated at a predetermined acceleration to a stable rotation speed (for example, 1600 rpm) which is a motor rotation speed necessary for stably completing the start-up. The

まず、モータ駆動電圧波形補正部10は、所定の加速度で加速を開始する(ステップ#10)。   First, the motor drive voltage waveform correction unit 10 starts acceleration at a predetermined acceleration (step # 10).

なお、本実施形態に係るモータ制御装置は、加速を開始する前に、同期モータ4に指定電気角が励磁される電圧を印加してロータの初期位置を指定電気角とする、相固定動作をおこない、次に、電気角を所定の速度で順次更新して、ロータの回転を維持しながらフィードバック開始回転数まで加速する(初期加速)。初期加速の段階ではまだモータ駆動電流が小さくロータの位置検出が困難であることから、実際のロータの回転状態を回転数設定部8などにフィードバックすることが難しい。したがって、初期加速ではフィードバックによる回転数補正を行わずに電気角の更新速度でロータを加速することになり、回転数の変動が比較的大きくなる。   Note that the motor control device according to the present embodiment performs a phase fixing operation in which the initial position of the rotor is set to the designated electrical angle by applying a voltage at which the designated electrical angle is excited to the synchronous motor 4 before starting the acceleration. Next, the electrical angle is sequentially updated at a predetermined speed to accelerate to the feedback start rotational speed while maintaining the rotation of the rotor (initial acceleration). Since the motor drive current is still small at the initial acceleration stage and it is difficult to detect the rotor position, it is difficult to feed back the actual rotation state of the rotor to the rotation speed setting unit 8 or the like. Therefore, in the initial acceleration, the rotor is accelerated at the update speed of the electrical angle without performing the rotation speed correction by feedback, and the fluctuation of the rotation speed becomes relatively large.

フィードバック開始回転数まで加速すると、同期モータ4の実際の回転状態が把握できるようになるので、回転数フィードバックによって同期モータ4の実際の回転数と指令回転数の偏差を補正できる駆動制御(回転数フィードバック駆動制御)が可能となり、回転数の変動が少ない加速を実施できる。   When the acceleration is accelerated to the feedback start rotational speed, the actual rotational state of the synchronous motor 4 can be grasped. Therefore, the drive control (the rotational speed) can correct the deviation between the actual rotational speed of the synchronous motor 4 and the command rotational speed by the rotational speed feedback. (Feedback drive control) is possible, and acceleration with little fluctuation in the rotational speed can be performed.

したがって、上記の通り初期加速時はモータ駆動電流が小さいことと、モータ駆動指令信号と実際のロータ動作とのずれが大きいことから、モータ駆動電流がピークとなる振幅および電気角を精度よく求め難いため、本実施形態に係るモータ制御装置では、ステップ#20の処理を実行して、初期加速から回転数フィードバック駆動制御による加速に切り替わってからモータ駆動電流の脈動検出を開始するようにした。   Therefore, since the motor drive current is small during initial acceleration as described above, and the deviation between the motor drive command signal and the actual rotor operation is large, it is difficult to accurately determine the amplitude and electrical angle at which the motor drive current peaks. Therefore, in the motor control device according to the present embodiment, the processing of step # 20 is executed, and the pulsation detection of the motor drive current is started after switching from the initial acceleration to the acceleration by the rotational speed feedback drive control.

ステップ#20において、モータ駆動電圧波形補正部10は、同期モータ4の回転数が脈動検出開始回転数以上であるか否かを判定する。同期モータ4の回転数が脈動検出開始回転数以上でなければ(ステップ#20のNO)、当該判定を継続する。同期モータ4の回転数が脈動検出開始回転数以上であれば(ステップ#20のYES)、ステップ#30に移行する。   In step # 20, the motor drive voltage waveform correction unit 10 determines whether or not the rotational speed of the synchronous motor 4 is equal to or higher than the pulsation detection start rotational speed. If the rotation speed of the synchronous motor 4 is not equal to or higher than the pulsation detection start rotation speed (NO in step # 20), the determination is continued. If the rotation speed of the synchronous motor 4 is equal to or higher than the pulsation detection start rotation speed (YES in step # 20), the process proceeds to step # 30.

脈動検出開始回転数は、同期モータ4の駆動制御が回転数フィードバック駆動制御に移行する回転数よりも高い回転数とすることができる。また、脈動検出開始回転数による判別に代えて、同期モータ4の駆動制御が回転数フィードバック駆動制御に移行したことを判別材料としてもよい。これにより、モータ駆動電流がピークとなる振幅および電気角を精度よく検出でき、さらには、起動完了または通常運転時と同じ同期モータ4の駆動制御でのモータ駆動電流を検出することになるので、後述する補正電気角範囲の判定がそのまま利用できる。なお、回転数フィードバック駆動制御に移行した直後はまだ回転数フィードバックによる補正制御が収束しておらず回転が安定していない場合があるため、ステップ#20でYESとする条件は、回転数フィードバック駆動制御に移行してから回転数フィードバックによる補正制御が収束して回転が安定した後、たとえば、少なくともロータが1回転した後であることが好ましい。   The pulsation detection start rotational speed can be set to a rotational speed higher than the rotational speed at which the drive control of the synchronous motor 4 shifts to the rotational speed feedback drive control. Further, instead of the determination based on the pulsation detection start rotation speed, it may be determined that the drive control of the synchronous motor 4 has shifted to the rotation speed feedback drive control. As a result, the amplitude and electrical angle at which the motor drive current reaches a peak can be accurately detected, and furthermore, the motor drive current in the drive control of the synchronous motor 4 that is the same as that at the completion of startup or normal operation is detected. The determination of the corrected electrical angle range described later can be used as it is. It should be noted that immediately after the shift to the rotational speed feedback drive control, the correction control by the rotational speed feedback may not yet converge and the rotation may not be stable. After the shift to the control, it is preferable that the correction control by the rotation speed feedback converges and the rotation is stabilized, for example, after at least one rotation of the rotor.

また、ステップ#30以降の補正電気角範囲の判定および補正の設定は、同期モータ4の回転数ができるだけ低いうちに完了することが好ましく、例えば、負荷要素が圧縮機の場合は、圧縮機の性能を維持する最低回転数よりも低い回転数までに完了することが好ましい。同期モータは回転数の上昇に伴って駆動電圧も上げるのが一般的であり、回転数が高くなるとモータ駆動電流が過電流保護回路に設定された過電流閾値を超えるリスクが高くなる。さらに、圧縮機に設定された最低回転数以上の回転数では、圧縮機としての性能を出そうとするために周期的な負荷トルク変動が大きくなるおそれがあり、当該最低回転数よりも低い回転数までに、補正電気角範囲を判定して電流振幅が最大値となった電気角を含む電気角範囲のモータ駆動電圧を減少させる補正を行うことが好ましい。   Further, the determination of the corrected electrical angle range and the setting of the correction after step # 30 are preferably completed while the rotational speed of the synchronous motor 4 is as low as possible. For example, when the load element is a compressor, the compressor It is preferable that the rotation is completed by a rotation speed lower than the minimum rotation speed for maintaining the performance. The synchronous motor generally increases the drive voltage as the rotational speed increases. When the rotational speed increases, the risk that the motor drive current exceeds the overcurrent threshold set in the overcurrent protection circuit increases. Furthermore, at a rotational speed that is equal to or higher than the minimum rotational speed set for the compressor, there is a risk that periodic load torque fluctuations increase in order to achieve performance as a compressor, and the rotational speed is lower than the minimum rotational speed. It is preferable that correction is performed so as to reduce the motor driving voltage in the electrical angle range including the electrical angle at which the current amplitude becomes the maximum value by determining the corrected electrical angle range.

ステップ#30において、モータ駆動電圧波形補正部10は、電気周期毎にU相上側の電流振幅(U相に正電圧が印加されている区間でのモータ駆動電流の最大値)およびU相下側の電流振幅(U相に負電圧が印加されている区間でのモータ駆動電流の最大値)を検出し、電気角とともに記憶する。   In Step # 30, the motor drive voltage waveform correction unit 10 determines the current amplitude on the upper side of the U phase (the maximum value of the motor drive current in a section where a positive voltage is applied to the U phase) and the lower side of the U phase for each electrical cycle. Current amplitude (the maximum value of the motor drive current in a section where a negative voltage is applied to the U phase) is detected and stored together with the electrical angle.

その後、モータ駆動電圧波形補正部10は、ステップ#30での検出開始から同期モータ4のロータが1回転したか否か、言い換えれば、ステップ#30での検出開始から電気角3周期が経過したか否かを判定する(ステップ#40)。ステップ#30での検出開始から同期モータ4のロータが1回転していなければ(ステップ#40のNO)、当該判定を継続する。ステップ#30での検出開始から同期モータ4のロータが1回転していれば(ステップ#40のYES)、ステップ#50に移行する。   Thereafter, the motor drive voltage waveform correction unit 10 determines whether or not the rotor of the synchronous motor 4 has made one rotation from the detection start in step # 30, in other words, three electrical angles have elapsed from the detection start in step # 30. (Step # 40). If the rotor of the synchronous motor 4 has not made one rotation since the detection start in step # 30 (NO in step # 40), the determination is continued. If the rotor of the synchronous motor 4 has made one rotation since the detection start in step # 30 (YES in step # 40), the process proceeds to step # 50.

ステップ#50において、モータ駆動電圧波形補正部10は、検出して記憶している電流振幅の中から最大値をとる電流振幅を抽出し、最大値をとる電流振幅とそれ以外の電流振幅との差が閾値以上であるか否かを判定する。例えば、2周期目のU相下側の電流振幅が最大値をとる電流振幅である場合には、2周期目のU相下側の電流振幅と1周期目のU相下側の電流振幅との差が閾値以上であり且つ2周期目のU相下側の電流振幅と3周期目のU相下側の電流振幅との差が閾値以上であるか否かが判定される。   In step # 50, the motor drive voltage waveform correction unit 10 extracts the current amplitude that takes the maximum value from the current amplitudes that are detected and stored, and calculates the current amplitude that takes the maximum value and the other current amplitudes. It is determined whether the difference is greater than or equal to a threshold value. For example, when the current amplitude on the U phase lower side in the second cycle is the maximum current amplitude, the current amplitude on the lower U phase in the second cycle and the current amplitude on the lower U phase in the first cycle are It is determined whether or not the difference between the current amplitude on the lower U-phase in the second cycle and the current amplitude on the lower U-phase in the third cycle is greater than or equal to the threshold.

最大値をとる電流振幅とそれ以外の電流振幅との差が閾値未満であれば(ステップ#50のNO)、モータ駆動電圧波形補正部10は同期モータ4の回転数が安定回転数に到達したか否かを判定する(ステップ#60)。同期モータ4の回転数が安定回転数に到達していなければ(ステップ#60のNO)、ステップ#30に戻る。一方、同期モータ4の回転数が安定回転数に到達していれば(ステップ#60のYES)、脈動検出開始回転数から安定回転数に達するまで終始モータ駆動電流の脈動が小さかったため、後述するステップ#70の処理が実行されることなく、同期モータ4の起動が完了する。同期モータ4の起動が完了すると、負荷要素の起動も完了する。同期モータ4および負荷要素は起動完了後にそれぞれ通常運転に移行する。   If the difference between the maximum current amplitude and the other current amplitude is less than the threshold (NO in step # 50), the motor drive voltage waveform correction unit 10 has reached the stable rotational speed of the synchronous motor 4 (Step # 60). If the rotational speed of the synchronous motor 4 has not reached the stable rotational speed (NO in step # 60), the process returns to step # 30. On the other hand, if the rotational speed of the synchronous motor 4 has reached the stable rotational speed (YES in step # 60), since the pulsation of the motor drive current is small from the beginning until the stable rotational speed is reached from the pulsation detection start rotational speed, it will be described later. The activation of the synchronous motor 4 is completed without executing the process of step # 70. When the activation of the synchronous motor 4 is completed, the activation of the load element is also completed. The synchronous motor 4 and the load element shift to normal operation after completion of startup.

最大値をとる電流振幅とそれ以外の電流振幅との差が閾値以上であれば(ステップ#50のYES)、ステップ#70に移行する。   If the difference between the maximum current amplitude and the other current amplitude is greater than or equal to the threshold (YES in step # 50), the process proceeds to step # 70.

ステップ#70において、モータ駆動電圧波形補正部10は、電流振幅が最大値となった電気角に応じて電圧指令値を補正し、補正した電圧指令値によってモータ駆動基本電圧波形を補正する。具体例としては、最大値をとる電流振幅を検出した電気角を中心とした電気角120度の範囲において電圧指令値を所定量(例えば10%)減少させる補正を行い、残りの電気角960度の範囲において電圧指令値を補正しない。これにより、最大値をとる電流振幅を検出した電気角を中心とした電気角120度の範囲では、残りの電気角960度の範囲と比べてモータ駆動電圧が所定量(例えば10%)減少する。なお、最大値をとる電流振幅を検出した電気角を中心とした電気角120度の範囲において補正を行う理由は、正弦波の半波に該当する電気角180度の範囲のうち最初の30度と最後の30度の各範囲では電流値が電流振幅の半分以下であるため、補正をかけなくても補正後の電流振幅よりも大きくなる可能性が非常に低いためである。   In step # 70, the motor drive voltage waveform correction unit 10 corrects the voltage command value according to the electrical angle at which the current amplitude becomes the maximum value, and corrects the motor drive basic voltage waveform with the corrected voltage command value. As a specific example, the voltage command value is corrected to be decreased by a predetermined amount (for example, 10%) in the range of the electrical angle of 120 degrees centered on the electrical angle at which the maximum current amplitude is detected, and the remaining electrical angle of 960 degrees. The voltage command value is not corrected within the range. As a result, the motor drive voltage is reduced by a predetermined amount (for example, 10%) in the range of the electrical angle of 120 degrees centered on the electrical angle at which the current amplitude having the maximum value is detected, compared to the range of the remaining electrical angle of 960 degrees. . The reason why correction is performed in the range of electrical angle 120 degrees centered on the electrical angle at which the current amplitude at which the maximum value is obtained is detected is because the first 30 degrees in the range of electrical angle 180 degrees corresponding to a half wave of a sine wave. This is because the current value is less than half of the current amplitude in each of the last 30 degrees, and therefore it is very unlikely that the current amplitude will be larger than the corrected current amplitude without correction.

この補正により、電流振幅が最大値となる電気角におけるモータ駆動電圧を所定量減少させるので、当該電気角での電流振幅を減少させることができる。つまり、周期的な負荷トルク変動を有する負荷要素に起因する電流振幅の周期的変動に対して、電流振幅が突出する位相(電気角)を検出してその位相領域(電気角範囲)での電流が減少するようにモータ駆動電圧を減少させるものである。したがって、モータ駆動電流の最大値を抑制し、モータ駆動電流が過電流になることを抑制することができる。   By this correction, the motor drive voltage at the electrical angle at which the current amplitude becomes the maximum value is reduced by a predetermined amount, so that the current amplitude at the electrical angle can be reduced. That is, the phase (electrical angle) at which the current amplitude protrudes is detected with respect to the periodic fluctuation of the current amplitude caused by the load element having the periodic load torque fluctuation, and the current in the phase region (electrical angle range) is detected. The motor drive voltage is decreased so as to decrease. Therefore, the maximum value of the motor drive current can be suppressed and the motor drive current can be prevented from becoming an overcurrent.

モータ駆動電圧を減少させるとモータトルクが低下するため、モータの加速が鈍ることになるが、モータ駆動電圧を減少させる電気角範囲以外の電気角範囲(上記の例では残りの電気角960度の範囲)では、モータ駆動電圧を減少させないので、モータトルクはほとんど減少しない。したがって、設定された加速レートを大きく損なうことなく、モータ駆動電流が過電流になることを抑制することができ、同期モータ4および負荷要素を迅速かつ確実に起動完了させることができる。   When the motor drive voltage is decreased, the motor torque is reduced, and the acceleration of the motor is slowed down. However, the electrical angle range other than the electrical angle range for reducing the motor drive voltage (in the above example, the remaining electrical angle of 960 degrees) In the range), since the motor drive voltage is not reduced, the motor torque is hardly reduced. Therefore, it is possible to suppress the motor drive current from becoming an overcurrent without greatly impairing the set acceleration rate, and the synchronous motor 4 and the load element can be completed quickly and reliably.

ステップ#70に続くステップ#80において、モータ駆動電圧波形補正部10は同期モータ4の回転数が安定回転数に到達したか否かを判定する(ステップ#80)。同期モータ4の回転数が安定回転数に到達していなければ(ステップ#80のNO)、ステップ#70での補正を維持して加速を継続する。同期モータ4の回転数が安定回転数に到達していれば(ステップ#80のYES)、同期モータ4の起動が完了する。同期モータ4の起動が完了すると、負荷要素の起動も完了する。同期モータ4および負荷要素は起動完了後にそれぞれ通常運転に移行する。   In step # 80 following step # 70, the motor drive voltage waveform correction unit 10 determines whether or not the rotational speed of the synchronous motor 4 has reached a stable rotational speed (step # 80). If the rotation speed of the synchronous motor 4 has not reached the stable rotation speed (NO in step # 80), the correction in step # 70 is maintained and the acceleration is continued. If the rotation speed of the synchronous motor 4 has reached the stable rotation speed (YES in step # 80), the activation of the synchronous motor 4 is completed. When the activation of the synchronous motor 4 is completed, the activation of the load element is also completed. The synchronous motor 4 and the load element shift to normal operation after completion of startup.

本実施形態の変形例として、ステップ#50の代わりに、最大値をとる電流振幅とそれに対応する他の電気角周期の2番目に大きい電流振幅との差が閾値以上であるか否かを判定するステップ、最大値をとる電流振幅とそれに対応する他の電気角周期の最小値をとる電流振幅との差が閾値以上であるか否かを判定するステップ、最大値をとる電流振幅が閾値以上であるか否かを判定するステップのいずれかを採用してもよい。   As a modification of the present embodiment, instead of step # 50, it is determined whether or not the difference between the current amplitude having the maximum value and the second largest current amplitude of the other electrical angular period corresponding thereto is equal to or greater than the threshold value. The step of determining whether the difference between the current amplitude taking the maximum value and the current amplitude taking the minimum value of the other electrical angle period corresponding to the maximum value is greater than or equal to a threshold value, the current amplitude taking the maximum value being greater than or equal to the threshold value Any one of the steps of determining whether or not is may be adopted.

<第2実施形態>
本発明の第2実施形態に係るモータ制御装置の概略構成は、本発明の第1実施形態に係るモータ制御装置の概略構成と同一である。
Second Embodiment
The schematic configuration of the motor control device according to the second embodiment of the present invention is the same as the schematic configuration of the motor control device according to the first embodiment of the present invention.

本実施形態においてモータ駆動電圧波形補正部10は図4に示すフローチャートの動作を行う。図4に示すフローチャートは、図3に示すフローチャートに対して、ステップ#51〜ステップ#55を追加したものである。モータ駆動電圧波形補正部10が図4に示すフローチャートの動作を行うことにより、本実施形態に係るモータ制御装置は、本発明の第1実施形態に係るモータ制御装置と同様の効果を奏する。さらに、ノイズなどの影響によって誤ってステップ#70の補正処理を実行してしまうことを抑制することができる。   In the present embodiment, the motor drive voltage waveform correction unit 10 performs the operation of the flowchart shown in FIG. The flowchart shown in FIG. 4 is obtained by adding steps # 51 to # 55 to the flowchart shown in FIG. When the motor drive voltage waveform correction unit 10 performs the operation of the flowchart shown in FIG. 4, the motor control device according to the present embodiment has the same effects as the motor control device according to the first embodiment of the present invention. Furthermore, it is possible to prevent the correction process in step # 70 from being erroneously executed due to the influence of noise or the like.

以下、本発明の第1実施形態との相違点について説明し、本発明の第1実施形態との一致点については説明を省略する。   Hereinafter, differences from the first embodiment of the present invention will be described, and description of points of coincidence with the first embodiment of the present invention will be omitted.

ステップ#50において最大値をとる電流振幅とそれ以外の電流振幅との差が閾値以上であると判定されれば(ステップ#50のYES)、モータ駆動電圧波形補正部10は、ロータ1回転目の最大電流振幅電気角を既に記憶しているか否かを判定する(ステップ#51)。   If it is determined in step # 50 that the difference between the maximum current amplitude and the other current amplitude is greater than or equal to the threshold (YES in step # 50), the motor drive voltage waveform correction unit 10 performs the first rotation of the rotor. It is determined whether or not the maximum current amplitude electrical angle is already stored (step # 51).

ロータ1回転目の最大電流振幅電気角をまだ記憶していなければ(ステップ#51のNO)、モータ駆動電圧波形補正部10は、電流振幅が最大値となった電気角をロータ1回転目の最大電流振幅電気角として記憶し(ステップ#52)、ステップ#60に移行する。   If the maximum current amplitude electrical angle for the first rotation of the rotor has not yet been stored (NO in step # 51), the motor drive voltage waveform correction unit 10 determines the electrical angle at which the current amplitude has reached the maximum value for the first rotation of the rotor. The maximum current amplitude electrical angle is stored (step # 52), and the process proceeds to step # 60.

一方、ロータ1回転目の最大電流振幅電気角を既に記憶していれば(ステップ#51のYES)、モータ駆動電圧波形補正部10は、電流振幅が最大値となった電気角をロータ2回転目の最大電流振幅電気角として記憶し(ステップ#53)、ステップ#54に移行する。   On the other hand, if the maximum current amplitude electrical angle of the first rotation of the rotor is already stored (YES in step # 51), the motor drive voltage waveform correction unit 10 rotates the electrical angle at which the current amplitude becomes the maximum value by rotating the rotor two times. The maximum current amplitude electrical angle of the eye is stored (step # 53), and the process proceeds to step # 54.

ステップ#54において、モータ駆動電圧波形補正部10は、ロータ1回転目の最大電流振幅電気角とロータ2回転目の最大電流振幅電気角とが同一または略同一(例えば±α度の範囲:αは任意の正の数)の電気角であるか否かを判定する。   In step # 54, the motor drive voltage waveform correcting unit 10 determines that the maximum current amplitude electrical angle at the first rotation of the rotor and the maximum current amplitude electrical angle at the second rotation of the rotor are the same or substantially the same (for example, a range of ± α degrees: α Is an electrical angle of any positive number).

ロータ1回転目の最大電流振幅電気角とロータ2回転目の最大電流振幅電気角とが同一または略同一の電気角でなければ(ステップ#54のNO)、モータ駆動電圧波形補正部10は、ロータ2回転目の最大電流振幅電気角を新たなロータ1回転目の最大電流振幅電気角として記憶し(ステップ#55)、ステップ#60に移行する。一方、ロータ1回転目の最大電流振幅電気角とロータ2回転目の最大電流振幅電気角とが同一または略同一の電気角であれば(ステップ#54のYES)、ステップ#70に移行する。   If the maximum current amplitude electrical angle of the first rotation of the rotor and the maximum current amplitude electrical angle of the second rotation of the rotor are not the same or substantially the same (NO in step # 54), the motor drive voltage waveform correction unit 10 The maximum current amplitude electrical angle of the second rotation of the rotor is stored as a new maximum current amplitude electrical angle of the first rotation of the rotor (step # 55), and the process proceeds to step # 60. On the other hand, if the maximum current amplitude electrical angle for the first rotation of the rotor and the maximum current amplitude electrical angle for the second rotation of the rotor are the same or substantially the same (YES in step # 54), the process proceeds to step # 70.

上述した第1実施形態の変形例は、本実施形態の変形例としても実施することができる。また、ステップ#54において、ロータ1回転目の最大電流振幅電気角とロータ2回転目の最大電流振幅電気角とが同一または略同一の電気角でなかった場合(ステップ#54のNO)は、さらにステップ#60に戻ってロータ3回転目の最大電流振幅電気角を同様に判別し、ステップ#54において、ロータ1回転目の最大電流振幅電気角とロータ3回転目の最大電流振幅電気角とが同一または略同一の電気角であるか否かを判定し、ロータ1回転目の最大電流振幅電気角とロータ3回転目の最大電流振幅電気角とが同一または略同一の電気角であれば、ステップ#70に移行するようにしてもよい。このようにすれば、電流振幅が最大値となる電気角をより早期に判別することができる。なお、ロータ1回転ごとの最大電流振幅電気角が同一または略同一となる個数は、2個だけでなく2個以上の任意の数とすることもできる。   The above-described modification of the first embodiment can also be implemented as a modification of this embodiment. In Step # 54, when the maximum current amplitude electrical angle of the first rotation of the rotor and the maximum current amplitude electrical angle of the second rotation of the rotor are not the same or substantially the same electrical angle (NO in Step # 54), Further, returning to step # 60, the maximum current amplitude electrical angle for the third rotation of the rotor is similarly determined. In step # 54, the maximum current amplitude electrical angle for the first rotation of the rotor and the maximum current amplitude electrical angle for the third rotation of the rotor are determined. Are the same or substantially the same electrical angle, and the maximum current amplitude electrical angle of the first rotation of the rotor and the maximum current amplitude electrical angle of the third rotation of the rotor are the same or substantially the same electrical angle. The process may move to step # 70. In this way, the electrical angle at which the current amplitude becomes the maximum value can be determined earlier. It should be noted that the number of the maximum current amplitude electrical angles that are the same or substantially the same for each rotation of the rotor is not limited to two but may be an arbitrary number of two or more.

<第3実施形態>
本発明の第3実施形態に係るモータ制御装置は、本発明の第1実施形態に係るモータ制御装置に対してステップ#70の補正処理内容を変更したものである。なお、本発明の第2実施形態に係るモータ制御装置に対して同様の変更を施すことも可能である。
<Third Embodiment>
The motor control device according to the third embodiment of the present invention is obtained by changing the correction processing content of Step # 70 with respect to the motor control device according to the first embodiment of the present invention. Note that it is possible to make the same changes to the motor control device according to the second embodiment of the present invention.

本実施形態では、同期モータ4が3相6極のモータであって、ステップ#30において電気周期毎にU相上側の電流振幅およびU相下側の電流振幅を検出している。このため、電流振幅検出間隔は電気角180度となり、ロータの機械角360度は図5Aに示すように、電気角180度の範囲となる6つの区間、具体的には、1周期目のU相上側の電流振幅を検出した電気角を中心とする区間I、1周期目のU相下側の電流振幅を検出した電気角を中心とする区間II、2周期目のU相上側の電流振幅を検出した電気角を中心とする区間III、2周期目のU相下側の電流振幅を検出した電気角を中心とする区間IV、3周期目のU相上側の電流振幅を検出した電気角を中心とする区間V、3周期目のU相下側の電流振幅を検出した電気角を中心とする区間VIに区分される。   In the present embodiment, the synchronous motor 4 is a three-phase six-pole motor, and the current amplitude on the U-phase upper side and the current amplitude on the lower U-phase side are detected for each electrical cycle in step # 30. For this reason, the current amplitude detection interval is an electrical angle of 180 degrees, and the rotor mechanical angle of 360 degrees is, as shown in FIG. 5A, six sections within the range of the electrical angle of 180 degrees, specifically, the first cycle U Section I centered on the electrical angle where the current amplitude of the upper phase was detected, Section II centered on the electrical angle where the current amplitude of the lower U phase of the first cycle was detected, Current amplitude of the upper U phase of the second cycle Section III centered on the electrical angle at which the current was detected, Section IV centered on the current amplitude on the U phase lower side of the second cycle, and the electrical angle on which the current amplitude on the upper side of the U phase in the third cycle was detected Is divided into a section V centered on the electrical angle at which the current amplitude on the lower side of the U phase in the third period is detected.

ステップ#50において抽出した最大値をとる電流振幅A0は真の最大値ではなく、その周囲の検出対象でないV相又はW相の電流振幅A1〜A4が真の最大値である可能性があり、更にモータ駆動電流が最大値になるであろうロータの機械角に相当する電気角が上記の区間の境界に近い場合には隣接する検出対象であるU相の電流振幅A5もしくはA6の方が電流振幅A0よりも大きい可能性がある。このため、電流振幅A1〜A4が真の最大値であったり、また、電流振幅A5又は電流振幅A6が抽出すべき最大値であったとしても、電流振幅が真の最大値をとる電気角を中心とした電気角120度の範囲において電圧指令値の補正が行えるようにする。これにより、モータ駆動電流の脈動をより確実に抑制することができる。具体的には、ステップ#50において抽出した最大値をとる電流振幅A0を中心とした電気角120度の範囲の前後それぞれに、電流振幅検出間隔、すなわち、各区間の範囲である電気角180度の範囲を加える。したがって、本実施形態での電圧指令値の補正範囲は、ステップ#50において抽出した最大値をとる電流振幅A0を中心とした電気角480度の範囲となる。この補正範囲(電気角480度の範囲)はロータ1回転(電気角1080度の範囲)の44.4%に相当する。   The current amplitude A0 that takes the maximum value extracted in step # 50 is not the true maximum value, and there is a possibility that the current amplitudes A1 to A4 of the surrounding V phase or W phase that are not detection targets are true maximum values. In addition, when the electrical angle corresponding to the mechanical angle of the rotor, at which the motor drive current will be the maximum value, is closer to the boundary of the above section, the current amplitude A5 or A6 of the U phase that is the adjacent detection target is the current. There is a possibility that the amplitude is larger than A0. For this reason, even if the current amplitudes A1 to A4 are true maximum values or the current amplitude A5 or the current amplitude A6 is the maximum value to be extracted, the electrical angle at which the current amplitude takes the true maximum value is determined. The voltage command value can be corrected within a central electric angle range of 120 degrees. Thereby, the pulsation of the motor drive current can be more reliably suppressed. Specifically, the current amplitude detection interval, that is, the electrical angle 180 degrees that is the range of each section, is respectively before and after the range of the electrical angle 120 degrees around the current amplitude A0 that takes the maximum value extracted in step # 50. Add a range of. Therefore, the correction range of the voltage command value in the present embodiment is a range of 480 degrees electrical angle with the current amplitude A0 taking the maximum value extracted in step # 50 as the center. This correction range (range of electrical angle 480 degrees) corresponds to 44.4% of one rotation of the rotor (range of electrical angle 1080 degrees).

同期モータ4を3相6極のモータから3相4極のモータに変更した場合、電流振幅検出間隔は3相6極のモータを用いる場合と同様に電気角180度であるが、ロータ1回転は電気角2周期分となるため、補正範囲(電気角480度の範囲)はロータ1回転(電気角720度の範囲)の66.7%に相当する。   When the synchronous motor 4 is changed from a three-phase six-pole motor to a three-phase four-pole motor, the current amplitude detection interval is 180 degrees as in the case of using a three-phase six-pole motor, but the rotor rotates once. Since there are two electrical angle cycles, the correction range (electrical angle range of 480 degrees) corresponds to 66.7% of one rotation of the rotor (electrical angle range of 720 degrees).

また、同期モータ4を3相6極のモータのままで、ステップ#30において電気周期毎にU相上側の電流振幅、V相上側の電流振幅、およびW相上側の電流振幅を検出するように変更した場合について説明する。この場合、電流振幅検出間隔は電気角120度となり、ロータの機械角360度は図6に示すように、電気角120度の範囲となる9つの区間、具体的には、1周期目のU相上側の電流振幅を検出した電気角を中心とする区間I、1周期目のV相上側の電流振幅を検出した電気角を中心とする区間II、1周期目のW相上側の電流振幅を検出した電気角を中心とする区間III、2周期目のU相上側の電流振幅を検出した電気角を中心とする区間IV、2周期目のV相上側の電流振幅を検出した電気角を中心とする区間V、2周期目のW相上側の電流振幅を検出した電気角を中心とする区間VI、3周期目のU相上側の電流振幅を検出した電気角を中心とする区間VII、3周期目のV相上側の電流振幅を検出した電気角を中心とする区間VIII、3周期目のW相上側の電流振幅を検出した電気角を中心とする区間IXに区分される。   Further, with the synchronous motor 4 remaining as a three-phase six-pole motor, in step # 30, the U-phase upper current amplitude, the V-phase upper current amplitude, and the W-phase upper current amplitude are detected for each electrical cycle. The case where it changed is demonstrated. In this case, the current amplitude detection interval is an electrical angle of 120 degrees, and the rotor mechanical angle of 360 degrees is, as shown in FIG. 6, nine sections in the range of the electrical angle of 120 degrees, specifically, the first cycle U Section I centered on the electrical angle where the current amplitude on the upper side of the phase was detected, Section II centered on the electrical angle where the current amplitude on the upper side of the V phase in the first cycle was detected, and current amplitude on the upper side of the W phase in the first cycle Section III centered on the detected electrical angle, Section IV centered on the current amplitude above the U phase in the second cycle, centered on the electrical angle detected the current amplitude above the V phase in the second cycle Section V, Section VI centered on the electrical angle at which the current amplitude on the upper side of the W phase in the second cycle was detected, Section VII, 3 centered on electrical angle at which the current amplitude on the upper side of the U phase in the second cycle was detected Section VIII, centered on the electrical angle at which the current amplitude on the V phase upper side of the cycle is detected, on the W phase of the third cycle Segmented electrical angle detected current amplitude of the section IX centered.

ステップ#50において抽出した最大値をとる電流振幅A0は真の最大値ではなく、その周囲の検出対象でない下側の電流振幅A1、A2が真の最大値である可能性があり、更にモータ駆動電流が最大値になるであろうロータの機械角に相当する電気角が上記の区間の境界に近い場合には隣接する検出対象である上側の電流振幅A3もしくはA4の方が電流振幅A0よりも大きい可能性がある。このため、電流振幅A1やA2が真の最大値であったり、また、電流振幅A3又は電流振幅A4が抽出すべき最大値であったとしても、電流振幅が真の最大値をとる電気角を中心とした電気角120度の範囲において電圧指令値の補正が行えるようにする。これにより、モータ駆動電流の脈動をより確実に抑制することができる。具体的には、ステップ#50において抽出した最大値をとる電流振幅A0を中心とした電気角120度の範囲の前後それぞれに、電流振幅検出間隔、すなわち、各区間の範囲である電気角120度の範囲を加える。したがって、本実施形態での電圧指令値の補正範囲は、ステップ#50において抽出した最大値をとる電流振幅A0を中心とした電気角360度の範囲となる。この補正範囲(電気角360度の範囲)はロータ1回転(電気角1080度の範囲)の33.3%に相当する。   The current amplitude A0 that takes the maximum value extracted in step # 50 is not the true maximum value, and the lower current amplitudes A1 and A2 that are not detection targets in the surrounding area may be the true maximum value. When the electrical angle corresponding to the mechanical angle of the rotor at which the current will be the maximum is closer to the boundary of the above section, the upper current amplitude A3 or A4 that is the adjacent detection target is more than the current amplitude A0. There is a big possibility. Therefore, even if the current amplitudes A1 and A2 are true maximum values, or the current amplitude A3 or the current amplitude A4 is the maximum value to be extracted, the electrical angle at which the current amplitude takes the true maximum value is determined. The voltage command value can be corrected within a central electric angle range of 120 degrees. Thereby, the pulsation of the motor drive current can be more reliably suppressed. Specifically, the current amplitude detection interval, that is, the electrical angle 120 degrees that is the range of each section, is respectively before and after the range of the electrical angle 120 degrees centering on the current amplitude A0 that takes the maximum value extracted in step # 50. Add a range of. Therefore, the correction range of the voltage command value in the present embodiment is a range of 360 electrical degrees with the current amplitude A0 taking the maximum value extracted in step # 50 as the center. This correction range (range of electrical angle 360 degrees) corresponds to 33.3% of one rotation of the rotor (range of electrical angle 1080 degrees).

上記のようにステップ#30において電気周期毎にU相上側の電流振幅、V相上側の電流振幅、およびW相上側の電流振幅を検出する仕様において、同期モータ4を3相6極のモータから3相4極のモータに変更した場合、電流振幅検出間隔は3相6極のモータを用いる場合と同様であるが、ロータ1回転は電気角2周期分となるため、補正範囲(電気角360度の範囲)はロータ1回転(電気角720度の範囲)の50.0%に相当する。   As described above, in step # 30, in the specification for detecting the current amplitude on the upper side of the U phase, the current amplitude on the upper side of the V phase, and the current amplitude on the upper side of the W phase in each electrical cycle, the synchronous motor 4 is changed from a motor with three phases and six poles. When the motor is changed to a three-phase four-pole motor, the current amplitude detection interval is the same as when a three-phase six-pole motor is used. However, since the rotation of the rotor is equivalent to two electrical angles, the correction range (electrical angle 360) The range of degrees corresponds to 50.0% of one rotation of the rotor (range of electric angle 720 degrees).

また、同期モータ4を3相6極のモータのままで、ステップ#30において電気周期毎にU相上側の電流振幅、U相下側の電流振幅、V相上側の電流振幅、V相下側の電流振幅、W相上側の電流振幅、およびW相下側の電流振幅を検出するように変更した場合について説明する。この場合、電流振幅検出間隔は電気角60度となり、ロータの機械角360度は図7に示すように、電気角60度の範囲となる18つの区間、具体的には、1周期目のU相上側の電流振幅を検出した電気角を中心とする区間I、1周期目のW相下側の電流振幅を検出した電気角を中心とする区間II、1周期目のV相上側の電流振幅を検出した電気角を中心とする区間III、1周期目のU相下側の電流振幅を検出した電気角を中心とする区間IV、1周期目のW相上側の電流振幅を検出した電気角を中心とする区間V、1周期目のV相下側の電流振幅を検出した電気角を中心とする区間VI、2周期目のU相上側の電流振幅を検出した電気角を中心とする区間VII、2周期目のW相下側の電流振幅を検出した電気角を中心とする区間VIII、2周期目のV相上側の電流振幅を検出した電気角を中心とする区間IX、2周期目のU相下側の電流振幅を検出した電気角を中心とする区間X、2周期目のW相上側の電流振幅を検出した電気角を中心とする区間XI、2周期目のV相下側の電流振幅を検出した電気角を中心とする区間XII、3周期目のU相上側の電流振幅を検出した電気角を中心とする区間XIII、3周期目のW相下側の電流振幅を検出した電気角を中心とする区間XIV、3周期目のV相上側の電流振幅を検出した電気角を中心とする区間XV、3周期目のU相下側の電流振幅を検出した電気角を中心とする区間XVI、3周期目のW相上側の電流振幅を検出した電気角を中心とする区間XVII、3周期目のV相下側の電流振幅を検出した電気角を中心とする区間XVIIIに区分される。   Further, with the synchronous motor 4 remaining as a three-phase six-pole motor, in step # 30, the current amplitude on the upper U phase, the current amplitude on the lower U phase, the current amplitude on the upper V phase, and the lower phase on the V phase for each electrical cycle. A case will be described where the current amplitude of the current phase, the current amplitude of the upper side of the W phase, and the current amplitude of the lower side of the W phase are detected. In this case, the current amplitude detection interval is an electrical angle of 60 degrees, and the rotor mechanical angle of 360 degrees is, as shown in FIG. 7, 18 sections in the range of the electrical angle of 60 degrees, specifically, the first cycle U Section I centered on the electrical angle where the current amplitude on the upper side of the phase was detected, Section II centered on the electrical angle where the current amplitude on the lower side of the W phase in the first cycle was detected, Current amplitude on the upper side of the V phase in the first cycle Section III centered on the electrical angle where the current was detected, Section IV centered on the electrical angle where the current amplitude on the U phase under the first cycle was detected, and the electrical angle where the current amplitude on the upper side of the W phase in the first cycle was detected Section V centered on the first section, Section VI centered on the electrical angle at which the current amplitude on the lower side of the V phase in the first cycle was detected, and Sections centered on the electrical angle on which the current amplitude on the upper side of the U phase in the second period was detected Section VII, centered on the electrical angle at which the current amplitude on the lower side of the W phase in the second cycle is detected, and the upper side of the V phase in the second cycle Section IX centered on the electrical angle where the current amplitude was detected, Section X centered on the electrical angle where the current amplitude below the U phase in the 2nd cycle was detected, and detected the current amplitude above the W phase in the 2nd cycle Section XI centered on the electrical angle, Section XII centered on the electrical angle where the current amplitude on the lower side of the V phase in the second cycle was detected, Centered on the electrical angle detected on the current amplitude on the upper side of the U phase in the third period Section XIII, section XIV centered on the electrical angle at which the current amplitude on the lower side of the W phase in the third period is detected, and section XV centered on electrical angle at which the current amplitude on the upper side of the V phase in the third period was detected. Section XVI centered on the electrical angle at which the current amplitude of the lower U phase in the cycle was detected, Section XVII centered on the electrical angle of the current amplitude on the upper side of the W phase in the third cycle, V phase in the third cycle The section is divided into section XVIII centered on the electrical angle at which the lower current amplitude is detected.

モータ駆動電流が最大値になるであろうロータの機械角に相当する電気角が上記の区間の境界に近い場合には、ステップ#50において抽出した最大値をとる電流振幅A0は真の最大値ではなく、隣接する検出対象である電流振幅A1、A2が真の最大値である可能性がある。このため、電流振幅A1又は電流振幅A2が真の最大値であったとしても、電流振幅が真の最大値をとる電気角を中心とした電気角120度の範囲において電圧指令値の補正が行えるようにする。これにより、モータ駆動電流の脈動をより確実に抑制することができる。具体的には、ステップ#50において抽出した最大値をとる電流振幅A0を中心とした電気角120度の範囲の前後それぞれに、電流振幅検出間隔、すなわち、各区間の範囲である電気角60度の範囲を加える。したがって、本実施形態での電圧指令値の補正範囲は、ステップ#50において抽出した最大値をとる電流振幅A0を中心とした電気角240度の範囲となる。この補正範囲(電気角240度の範囲)はロータ1回転(電気角1080度の範囲)の22.2%に相当する。   When the electrical angle corresponding to the mechanical angle of the rotor at which the motor driving current will be the maximum value is close to the boundary of the above section, the current amplitude A0 that takes the maximum value extracted in step # 50 is the true maximum value. Instead, there is a possibility that the current amplitudes A1 and A2 that are adjacent detection targets are true maximum values. For this reason, even if the current amplitude A1 or the current amplitude A2 is a true maximum value, the voltage command value can be corrected in an electric angle range of 120 degrees centering on the electrical angle at which the current amplitude takes the true maximum value. Like that. Thereby, the pulsation of the motor drive current can be more reliably suppressed. Specifically, the current amplitude detection interval, that is, the electrical angle 60 degrees that is the range of each section, is respectively before and after the range of the electrical angle 120 degrees centering on the current amplitude A0 that takes the maximum value extracted in step # 50. Add a range of. Therefore, the correction range of the voltage command value in the present embodiment is a range of an electrical angle of 240 degrees centering on the current amplitude A0 that takes the maximum value extracted in step # 50. This correction range (range of electrical angle of 240 degrees) corresponds to 22.2% of one rotation of the rotor (range of electrical angle of 1080 degrees).

上記のようにステップ#30において電気周期毎にU相上側の電流振幅、U相下側の電流振幅、V相上側の電流振幅、V相下側の電流振幅、W相上側の電流振幅、およびW相下側の電流振幅を検出する仕様において、同期モータ4を3相6極のモータから3相4極のモータに変更した場合、電流振幅検出間隔は3相6極のモータを用いる場合と同様であるが、ロータ1回転は電気角2周期分となるため、補正範囲(電気角240度の範囲)はロータ1回転(電気角720度の範囲)の33.3%に相当する。   As described above, in step # 30, the current amplitude above the U phase, the current amplitude below the U phase, the current amplitude above the V phase, the current amplitude below the V phase, the current amplitude above the W phase, and When the synchronous motor 4 is changed from the three-phase six-pole motor to the three-phase four-pole motor in the specification for detecting the current amplitude on the lower side of the W phase, the current amplitude detection interval is the case where a three-phase six-pole motor is used. Similarly, since one rotation of the rotor is equivalent to two cycles of electrical angle, the correction range (range of electrical angle 240 degrees) corresponds to 33.3% of one rotation of rotor (range of electric angle 720 degrees).

第1実施形態で述べたように、補正範囲(モータ駆動電圧を減少させる電気角範囲)ができるだけ狭い方がモータトルクの低下を防ぎ、設定された加速レートを大きく損なわない。したがって、補正範囲のロータ1回転における割合は低いほうが好ましく、例えば、50%以下とすれば、モータトルクを低下させない範囲のほうがモータトルクを低下させる範囲よりも広くなるので、加速不足になり難くすることができる。つまり、補正の適用によって低下する加速分を加味しても所定の加速完了時間内に加速が完了するように、モータ駆動電圧の補正量および電流振幅検出間隔を設定すれば良い。   As described in the first embodiment, when the correction range (electrical angle range for reducing the motor drive voltage) is as narrow as possible, the motor torque is prevented from being lowered and the set acceleration rate is not greatly impaired. Accordingly, the ratio of the correction range in one rotation of the rotor is preferably low. For example, if the correction range is 50% or less, the range in which the motor torque is not reduced becomes wider than the range in which the motor torque is reduced, so that acceleration is unlikely to be insufficient. be able to. That is, the correction amount of the motor drive voltage and the current amplitude detection interval may be set so that the acceleration is completed within a predetermined acceleration completion time even if the acceleration that decreases due to the application of correction is taken into account.

<第4実施形態>
本発明の第1〜第3実施形態に係るモータ制御装置はモータの起動完了後の制御について特に限定されないが、本発明の第4実施形態に係るモータ制御装置は、モータの起動中に本発明の第1〜第3実施形態のいずれかと同様の制御を実施し、更にモータの起動完了後に以下で説明する制御を行う。
<Fourth embodiment>
The motor control device according to the first to third embodiments of the present invention is not particularly limited with respect to the control after the completion of the motor start-up, but the motor control device according to the fourth embodiment of the present invention is the present invention during the motor start-up. The same control as in any of the first to third embodiments is performed, and the control described below is performed after the start of the motor is completed.

本実施形態に係るモータ制御装置は、図8に示すように電圧補正パターン記憶部12を備えている。   The motor control apparatus according to the present embodiment includes a voltage correction pattern storage unit 12 as shown in FIG.

電圧補正パターン記憶部12は、負荷要素における負荷トルク変動1周期分の角度に対応する電圧補正パターンを記憶する。電圧補正パターンは、例えば、角度と補正値との対応関係を示すデータテーブルの形式で記憶されていてもよく、角度と補正値との対応関係を示す関数の形式で記憶されていてもよい。   The voltage correction pattern storage unit 12 stores a voltage correction pattern corresponding to an angle corresponding to one cycle of load torque fluctuation in the load element. For example, the voltage correction pattern may be stored in the form of a data table indicating the correspondence between the angle and the correction value, or may be stored in the form of a function indicating the correspondence between the angle and the correction value.

電圧補正パターンは、負荷要素における負荷トルク特性に応じて設定される。電圧補正パターンの一例を図9に示す。   The voltage correction pattern is set according to the load torque characteristic in the load element. An example of the voltage correction pattern is shown in FIG.

電圧補正パターンは、同期モータ4が駆動する負荷要素の、各々の角度における負荷トルクの値を、負荷要素の負荷トルク1周期分の平均値から差し引いた値を、負荷要素の角度で積分した関数に基づいて定めることができる。このように定めることで、負荷トルクの値が平均値よりも小さい角度においては同期モータ4の駆動電圧が上昇するように補正して加速させることで同期モータ4の駆動電流が低下しないように、また、負荷トルクの値が平均値よりも大きい角度においては同期モータ4の駆動電圧が低下するように補正して減速させることで同期モータ4の駆動電流が上昇しないようにすることができ、負荷要素の周期的な負荷トルク変動による同期モータ4の駆動電流変動を抑えることができる。   The voltage correction pattern is a function obtained by integrating a value obtained by subtracting the value of the load torque at each angle of the load element driven by the synchronous motor 4 from the average value of one load torque cycle of the load element by the angle of the load element. Can be determined based on By determining in this way, the drive current of the synchronous motor 4 is not lowered by correcting and accelerating the drive voltage of the synchronous motor 4 at an angle where the value of the load torque is smaller than the average value. In addition, when the load torque value is larger than the average value, the drive current of the synchronous motor 4 can be prevented from increasing by correcting the drive voltage of the synchronous motor 4 so as to decrease and decelerating. Variations in the drive current of the synchronous motor 4 due to periodic load torque variations of the elements can be suppressed.

図9の例では、図1Bに示すレシプロ型圧縮機のような負荷トルク特性を有した負荷要素に対応する電圧補正パターンを示している。図9(a)は図1Bと同様の負荷要素について、負荷トルク曲線Aを2周期分示している。図9(a)において、負荷トルク平均値Bは、負荷トルク曲線Aの1周期分の負荷トルク値を平均した値である。   In the example of FIG. 9, a voltage correction pattern corresponding to a load element having a load torque characteristic such as the reciprocating compressor shown in FIG. 1B is shown. FIG. 9A shows the load torque curve A for two cycles for the load elements similar to FIG. 1B. In FIG. 9A, the load torque average value B is a value obtained by averaging the load torque values for one cycle of the load torque curve A.

図9(b)の曲線Cは、図9(a)の曲線において、各々の角度における(負荷トルク平均値B)−(負荷トルクA)の値を求めて、角度で積分した曲線である。このような曲線Cを電圧補正パターンとしてモータを駆動し、負荷トルク特性曲線Aを有する負荷要素を駆動すると、モータの駆動電流変動を抑えることができる。その際、負荷トルク曲線Aと電圧補正パターンCとの位相が合っていることが望ましく、さらには、電圧補正パターンCによる電圧補正量が負荷トルク特性曲線Aに対して適正量であることが望ましい。   A curve C in FIG. 9B is a curve obtained by calculating the value of (load torque average value B) − (load torque A) at each angle in the curve in FIG. When the motor is driven using such a curve C as a voltage correction pattern and a load element having the load torque characteristic curve A is driven, fluctuations in the drive current of the motor can be suppressed. At that time, it is desirable that the load torque curve A and the voltage correction pattern C are in phase, and further, the voltage correction amount by the voltage correction pattern C is preferably an appropriate amount with respect to the load torque characteristic curve A. .

このため、図9(b)の曲線Cを電圧補正パターンとして電圧補正パターン記憶部8に記憶させる際に、角度、補正値を絶対値ではなく相対値として記憶させておき、通常運転においてモータ駆動電圧波形補正部10によってモータ駆動電圧波形を補正する際に、電圧補正パターン記憶部12に記憶された電圧補正パターンに所定の補正係数を与えた補正データによってモータ駆動電圧波形を補正することが好ましい。図9(b)では一例として、点線で挟まれる負荷要素の負荷トルク変動周期1周期分を電圧補正パターンとして、角度軸(横軸)については左端を0度、右端を360度とし、補正量(縦軸)は1周期分の補正量の平均を1とした正規化データとして、電圧補正パターン記憶部12に記憶している。   For this reason, when the curve C in FIG. 9B is stored in the voltage correction pattern storage unit 8 as a voltage correction pattern, the angle and the correction value are stored as a relative value instead of an absolute value, and the motor is driven in a normal operation. When correcting the motor drive voltage waveform by the voltage waveform correction unit 10, it is preferable to correct the motor drive voltage waveform by correction data obtained by giving a predetermined correction coefficient to the voltage correction pattern stored in the voltage correction pattern storage unit 12. . In FIG. 9B, as an example, a load torque fluctuation cycle of one load element sandwiched between dotted lines is used as a voltage correction pattern, and the left end of the angle axis (horizontal axis) is 0 degrees and the right end is 360 degrees. (Vertical axis) is stored in the voltage correction pattern storage unit 12 as normalized data in which the average of correction amounts for one period is 1.

なお、電圧補正パターンは、図9(c)のように図9(b)の曲線Cを近似した形状とすることもできる。図9(a)に示す負荷トルク曲線Aは負荷状況や回転数などによって形状が変化すること、また、量産品の場合は個体差が生じることから、図9(b)のように厳密に電圧補正パターンを定めても特定の条件でしか合致しない。したがって、図9(c)のように近似した形状を用いても、実際には図9(b)の電圧補正パターンを用いた場合と大差ない効果が得られることが多い。一方、図9(c)のように近似形状とすることで、電圧補正パターンデータとして大量のテーブルデータを記憶しなくとも、関数式を記憶するだけでよく、また、所定の補正係数を与える際も関数式そのものを補正できるので、電圧補正パターン記憶部12の小容量化およびモータ駆動電圧波形補正部10における補正処理の高速化が期待できる。以後の説明では、図9(c)の電圧補正パターンを基にした図9(d)に示す補正パターンが電圧補正パターン記憶部12に記憶されているものとする。   Note that the voltage correction pattern may have a shape approximating the curve C in FIG. 9B as shown in FIG. 9C. The shape of the load torque curve A shown in FIG. 9 (a) changes depending on the load condition, the number of revolutions, and the like, and in the case of mass-produced products, individual differences occur, so the voltage is strictly measured as shown in FIG. 9 (b). Even if a correction pattern is defined, it matches only under specific conditions. Therefore, even when an approximate shape as shown in FIG. 9C is used, in many cases, an effect that is not much different from the case where the voltage correction pattern shown in FIG. On the other hand, by using an approximate shape as shown in FIG. 9C, it is only necessary to store a functional expression without storing a large amount of table data as voltage correction pattern data. Since the function equation itself can be corrected, it is expected that the capacity of the voltage correction pattern storage unit 12 can be reduced and the correction process in the motor drive voltage waveform correction unit 10 can be speeded up. In the following description, it is assumed that the correction pattern shown in FIG. 9D based on the voltage correction pattern in FIG. 9C is stored in the voltage correction pattern storage unit 12.

次に、モータ駆動電圧波形補正部10の通常運転における詳細な動作について説明する。以下、同期モータ4が3相6極のモータである場合について説明する。また、負荷要素における負荷トルク変動1周期分は、同期モータ4の1回転分であるとする。モータ駆動電圧波形補正部10は、同期モータ4の起動完了後に図10A及び図10Bに示すフロー動作を開始する。   Next, a detailed operation in the normal operation of the motor drive voltage waveform correction unit 10 will be described. Hereinafter, the case where the synchronous motor 4 is a three-phase six-pole motor will be described. Further, it is assumed that one cycle of load torque fluctuation in the load element is one rotation of the synchronous motor 4. The motor drive voltage waveform correction unit 10 starts the flow operation shown in FIGS. 10A and 10B after the activation of the synchronous motor 4 is completed.

まず、回転数設定部8は、同期モータ4が所定の回転数となるように指令を出し、所定の回転数になったことを確認する(ステップS2)。この所定の回転数は、モータ駆動電圧を補正しなくてもモータ駆動電流が過電流保護回路に設定された過電流閾値を超えないような回転数を設定する。たとえば上述した安定回転数などが好ましい。   First, the rotational speed setting unit 8 issues a command so that the synchronous motor 4 has a predetermined rotational speed, and confirms that the predetermined rotational speed has been reached (step S2). The predetermined rotation speed is set such that the motor drive current does not exceed the overcurrent threshold set in the overcurrent protection circuit without correcting the motor drive voltage. For example, the above-described stable rotational speed is preferable.

次に、モータ駆動電圧波形補正部10は、第1〜第3実施形態で述べたモータ駆動基本電圧波形の補正を解除する(ステップS4)。これにより、モータ駆動電流波形の脈動量(変動量)が出やすい状態となる。   Next, the motor drive voltage waveform correction unit 10 cancels the correction of the motor drive basic voltage waveform described in the first to third embodiments (step S4). As a result, the pulsation amount (variation amount) of the motor drive current waveform is easily generated.

次に、モータ駆動電圧波形補正部10は、電圧補正パターンの補正量が最大となる位相角を把握する(ステップS6)。たとえば、図9(d)に示す補正パターンが電圧補正パターン記憶部12に記憶されている場合は、電圧補正パターンの位相角約260度が、補正量が最大である。   Next, the motor drive voltage waveform correction unit 10 grasps the phase angle at which the correction amount of the voltage correction pattern is maximized (step S6). For example, when the correction pattern shown in FIG. 9D is stored in the voltage correction pattern storage unit 12, the correction amount is the maximum at the phase angle of about 260 degrees of the voltage correction pattern.

次に、モータ駆動電圧波形補正部10は、第1〜第3実施形態で述べたモータ駆動基本電圧波形の補正を行った電気角範囲(加速時補正電気角範囲)を把握する(ステップS8)。なお、ステップS6およびステップS8は、図10Aに示す順で行わなくてもよく、予め所定の記憶領域に記憶しておき、後のステップで必要に応じて呼び出してもよい。   Next, the motor drive voltage waveform correction unit 10 grasps the electrical angle range (acceleration corrected electrical angle range) in which the motor drive basic voltage waveform described in the first to third embodiments is corrected (step S8). . Note that step S6 and step S8 need not be performed in the order shown in FIG. 10A, but may be stored in a predetermined storage area in advance, and called as necessary in a later step.

次に、モータ駆動電圧波形補正部10は、位相ずれ量θの初期値を0に、補正ゲインMの初期値を1に設定する(ステップS10)。その後、モータ駆動電圧波形補正部10は、電圧補正パターン記憶部8から電圧補正パターンを読み込む(ステップS20)。   Next, the motor drive voltage waveform correction unit 10 sets the initial value of the phase shift amount θ to 0 and the initial value of the correction gain M to 1 (step S10). Thereafter, the motor drive voltage waveform correction unit 10 reads a voltage correction pattern from the voltage correction pattern storage unit 8 (step S20).

次に、モータ駆動電圧波形補正部10は、電圧補正パターンのそれぞれの角度ごとの補正量に補正ゲインMを掛ける(ステップS30)。そして、電圧補正パターンの位相を、モータ駆動基本電圧波形の位相に対してθ°ずらす(ステップS40)。   Next, the motor drive voltage waveform correction unit 10 multiplies the correction amount for each angle of the voltage correction pattern by the correction gain M (step S30). Then, the phase of the voltage correction pattern is shifted by θ ° with respect to the phase of the motor drive basic voltage waveform (step S40).

次に、モータ駆動電圧波形補正部10は、θ°ずらした電圧補正パターンの補正量が最大となる位相角が、加速時補正電気角範囲の中に入っているか否かを判別する(ステップS41)。たとえば、図9(d)に示す補正パターンでは位相角約260度が補正量が最大となる位相角である。本実施形態においては、同期モータ4が3相6極のモータであるため、θ°ずらした電圧補正パターンは、電気角に換算すると、(θ°+260°)×3の電気角で補正量が最大となる。この電気角が加速時補正電気角範囲の中に入っている場合は、電流振幅が最大となる可能性が高い電気角に、電圧を上げる補正をかけることとなり、モータ駆動電流波形の脈動量(変動量)が大きく出る可能性が高い。したがって、このようにモータ駆動電流波形の脈動量(変動量)が大きく出る可能性が高い電気角範囲が判っている場合は、その範囲に電圧補正パターンの補正量が最大となる位相角が入らないようにすることで、モータ駆動電流波形の脈動量(変動量)を抑えながら、電圧補正パターンの位相シフト補正係数を求めることができる。   Next, the motor drive voltage waveform correction unit 10 determines whether or not the phase angle at which the correction amount of the voltage correction pattern shifted by θ ° is within the acceleration corrected electrical angle range (step S41). ). For example, in the correction pattern shown in FIG. 9D, the phase angle of about 260 degrees is the phase angle at which the correction amount is maximum. In the present embodiment, since the synchronous motor 4 is a three-phase six-pole motor, the voltage correction pattern shifted by θ ° is converted into an electrical angle and the correction amount is (θ ° + 260 °) × 3 electrical angle. Maximum. When this electrical angle is within the corrected electrical angle range during acceleration, correction is performed to increase the voltage to the electrical angle where the current amplitude is likely to be maximized, and the pulsation amount of the motor drive current waveform ( There is a high possibility of large fluctuations). Therefore, when the electrical angle range in which the pulsation amount (fluctuation amount) of the motor drive current waveform is likely to be large is known in this way, the phase angle at which the correction amount of the voltage correction pattern is maximized is included in the range. By avoiding this, the phase shift correction coefficient of the voltage correction pattern can be obtained while suppressing the pulsation amount (variation amount) of the motor drive current waveform.

例えば、第1実施形態(図5A)に示す補正範囲が、同期モータ4の起動加速時にモータ駆動電圧を減少させる補正範囲であった場合は、加速時補正電気角範囲は、電気角210度〜690度となっている。したがって、図9(d)に示す補正パターンを位相ずれ量θ度ずらした場合の電気角が上記の加速時補正電気角範囲に入っていれば(ステップS41のYES)、モータ駆動電流波形の脈動量の検出を行わない。つまり、θが−190度から−30度の位相角、すなわち、θが170度〜330度の場合は、後述するステップS50及びステップS60をスキップし、後述するステップS70に移行する。   For example, when the correction range shown in the first embodiment (FIG. 5A) is a correction range for reducing the motor drive voltage when the synchronous motor 4 is started up, the acceleration correction electric angle range is an electrical angle of 210 degrees or more. It is 690 degrees. Therefore, if the electrical angle when the correction pattern shown in FIG. 9D is shifted by the phase shift amount θ degrees is within the above-mentioned acceleration correction electrical angle range (YES in step S41), the pulsation of the motor drive current waveform Do not detect quantity. That is, if θ is a phase angle of −190 degrees to −30 degrees, that is, θ is 170 degrees to 330 degrees, step S50 and step S60 described later are skipped, and the process proceeds to step S70 described later.

次に、モータ駆動電圧波形補正部10は、負荷要素1回転分のそれぞれの角度(それぞれの角度は離散的な値であってもよく、連続的な値であってもよい。)で電圧補正パターンの補正値に応じてモータ駆動基本電圧波形の振幅および角速度を補正し、電圧補正パターンの補正値が大きいほどモータ駆動基本電圧波形の振幅が大きくなり且つモータ駆動基本電圧波形の角速度が大きくなるように、電圧補正パターンの補正値が小さいほどモータ駆動基本電圧波形の振幅が小さくなり且つモータ駆動基本電圧波形の角速度が小さくなるようにする(ステップS50)。   Next, the motor drive voltage waveform correction unit 10 performs voltage correction at each angle corresponding to one rotation of the load element (each angle may be a discrete value or a continuous value). The amplitude and angular velocity of the motor drive basic voltage waveform are corrected according to the pattern correction value. The larger the voltage correction pattern correction value, the larger the motor drive basic voltage waveform amplitude and the motor drive basic voltage waveform angular velocity. Thus, the smaller the correction value of the voltage correction pattern, the smaller the amplitude of the motor drive basic voltage waveform and the smaller the angular velocity of the motor drive basic voltage waveform (step S50).

ここで、第1実施形態(図5A)によって起動してからステップS50の補正を行った後の各相のモータ駆動電圧波形を図5Bに示す。図5Bでは、補正後の各相のモータ駆動電圧波形Vu、Vv、Vwとともに、電圧補正パターンPも示している。図5Bに示す補正後の各相のモータ駆動電圧波形Vu、Vv、Vwは、それぞれの角度で電圧補正パターンPの補正値に応じてモータ駆動電圧波形の振幅のみを補正した波形である。それぞれの角度で電圧補正パターンの補正値に応じてモータ駆動電圧波形の振幅を補正することで、図5Bに示すように、モータ駆動電圧波形において縦軸方向に拡大している区間と縮小している区間とができる。また、それぞれの角度で電圧補正パターンの補正値に応じてモータ駆動電圧波形の角速度を補正することで、図示は省略しているが、モータ駆動電圧波形において横軸方向に拡大している区間と縮小している区間とができる。   Here, FIG. 5B shows motor drive voltage waveforms of the respective phases after the correction is performed in step S50 after the activation according to the first embodiment (FIG. 5A). In FIG. 5B, the voltage correction pattern P is also shown together with the motor drive voltage waveforms Vu, Vv, Vw of each phase after correction. The corrected motor drive voltage waveforms Vu, Vv, and Vw shown in FIG. 5B are waveforms obtained by correcting only the amplitude of the motor drive voltage waveform according to the correction value of the voltage correction pattern P at each angle. By correcting the amplitude of the motor drive voltage waveform according to the correction value of the voltage correction pattern at each angle, as shown in FIG. 5B, the motor drive voltage waveform is reduced from the section expanding in the vertical axis direction. You can make a section. Further, by correcting the angular velocity of the motor drive voltage waveform according to the correction value of the voltage correction pattern at each angle, although not shown, the motor drive voltage waveform is expanded in the horizontal axis direction. You can make a section that is shrinking.

ステップS50に続くステップS60において、モータ駆動電圧波形補正部10は、ステップS50の処理で補正された各相のモータ駆動電圧波形に基づいて同期モータ4が駆動している状態における各相のモータ駆動電流をモータ駆動電流記憶部7からモータ1回転分、すなわち負荷要素における負荷トルク変動1周期分読み込み、モータ駆動電流波形の脈動量(変動量)を算出する。各相のモータ駆動電流値は、モータ駆動電流推定部6によって推定された相別のモータ駆動電流から各相における所定の角度での値を読み取ることで得られる。所定の角度とは、モータ駆動電圧波形に基づいてモータ駆動電流が最大になると推定される角度であり、たとえば、モータ駆動電流の値を読み取る角度は、各相のモータ駆動基本電圧波形がピークとなる角度としてもよい。また、モータ駆動電圧波形に対するモータ駆動電流の位相遅れ量が判っている、または推定できる場合には、モータ駆動電流の値を読み取る角度は、各相のモータ駆動基本電圧波形がピークとなる角度に、上記位相遅れ量を加算した角度とすることができる。これにより、モータ駆動電流波形がピークとなる角度により近い角度でモータ駆動電流の値を読み取ることができ、モータ駆動電流波形の脈動量をより精度高く求めることができる。   In step S60 following step S50, the motor drive voltage waveform correction unit 10 drives each phase of the motor in a state where the synchronous motor 4 is driven based on the motor drive voltage waveform of each phase corrected in the process of step S50. The current is read from the motor drive current storage unit 7 for one rotation of the motor, that is, one cycle of load torque fluctuation in the load element, and the pulsation amount (fluctuation amount) of the motor drive current waveform is calculated. The motor drive current value of each phase is obtained by reading a value at a predetermined angle in each phase from the motor drive current of each phase estimated by the motor drive current estimation unit 6. The predetermined angle is an angle at which the motor driving current is estimated to be maximized based on the motor driving voltage waveform. For example, the angle at which the value of the motor driving current is read has a peak in the motor driving basic voltage waveform of each phase. It is good also as an angle. If the phase delay amount of the motor drive current with respect to the motor drive voltage waveform is known or can be estimated, the angle at which the motor drive current value is read is the angle at which the motor drive basic voltage waveform of each phase peaks. The angle obtained by adding the amount of phase delay can be obtained. As a result, the value of the motor drive current can be read at an angle closer to the angle at which the motor drive current waveform peaks, and the pulsation amount of the motor drive current waveform can be determined with higher accuracy.

なお、モータ駆動電流波形の読み取りは上記に限らず、例えば、上述した実施形態のように各相の電流振幅を検出してもよい。例えば図7に示すように3相のモータ駆動電流波形の値18点のデータから、最大と最小の値を選んで差をとることで、モータ駆動電流波形の脈動量とすることができる。また、読み取りをする角度も各相のモータ駆動電圧波形に基づく角度で決めるだけでなく、モータ駆動電流のゼロクロスやピークとなる角度を基準として定めることもできる。   The reading of the motor drive current waveform is not limited to the above, and for example, the current amplitude of each phase may be detected as in the above-described embodiment. For example, as shown in FIG. 7, the pulsation amount of the motor drive current waveform can be obtained by selecting the maximum and minimum values from the 18-point data of the three-phase motor drive current waveform and taking the difference. Further, the reading angle is determined not only by the angle based on the motor driving voltage waveform of each phase, but can also be determined based on the angle at which the motor driving current becomes zero-crossed or peaked.

図11(a)は、図9(d)に示した補正パターンに、位相ずれ量θ=0°、補正ゲインM=1を与えた電圧補正パターンによってモータ駆動電圧波形を補正した場合のモータ駆動電流の例である。なお、図11に示す例では、同期モータに3相4極のモータを使用した場合を示しており、ロータ1回転は同期モータの電気角2周期分となっている。図11にて駆動されるモータおよび負荷要素は、予め電圧補正パターンを求めた際の図9のモータおよび負荷要素とは、異なる個体であることから、図11(a)の例では、モータ駆動電流波形の最大値(Iw2の絶対値)とモータ駆動電流波形の最小値(Iu4の絶対値)との間に大きな差があり、モータ駆動電流は大きく脈動している。ステップS60では、モータ駆動電流波形の最大値(この場合はIw2の絶対値)とモータ駆動電流波形の最小値(この場合はIu4の絶対値)との差の値と、位相ずれ量θ(この場合はθ=0°)とを記憶する。   FIG. 11A shows motor drive when the motor drive voltage waveform is corrected by a voltage correction pattern in which the phase shift amount θ = 0 ° and the correction gain M = 1 is added to the correction pattern shown in FIG. It is an example of an electric current. In the example shown in FIG. 11, the case where a three-phase four-pole motor is used as the synchronous motor is shown, and one rotation of the rotor is equivalent to two cycles of the electric angle of the synchronous motor. Since the motor and load element driven in FIG. 11 are different from the motor and load element in FIG. 9 when the voltage correction pattern is obtained in advance, in the example of FIG. There is a large difference between the maximum value of the current waveform (absolute value of Iw2) and the minimum value of the motor drive current waveform (absolute value of Iu4), and the motor drive current pulsates greatly. In step S60, the difference between the maximum value of the motor drive current waveform (in this case, the absolute value of Iw2) and the minimum value of the motor drive current waveform (in this case, the absolute value of Iu4), and the phase shift amount θ (this In this case, θ = 0 °) is stored.

次に、モータ駆動電圧波形補正部10は、(θ+Δθ)が360°以上であるかを判定する(ステップS70)。ここで、Δθとは、電圧補正パターンの位相シフト幅であり、この値を小さくすれば、電圧補正パターンの位相補正係数をより精度よく求めることができる。また、この値を大きくすれば、電圧補正パターンの位相シフト補正係数を求めるための試行回数(ステップS40〜S80の実行回数)を少なくすることができる。本実施例では、Δθ=2°としているので、ステップS40〜S80を最大180回実行することになる。   Next, the motor drive voltage waveform correction unit 10 determines whether (θ + Δθ) is equal to or greater than 360 ° (step S70). Here, Δθ is the phase shift width of the voltage correction pattern. If this value is reduced, the phase correction coefficient of the voltage correction pattern can be obtained more accurately. If this value is increased, the number of trials (the number of executions of steps S40 to S80) for obtaining the phase shift correction coefficient of the voltage correction pattern can be reduced. In this embodiment, since Δθ = 2 °, steps S40 to S80 are executed a maximum of 180 times.

(θ+Δθ)が360°以上でなければ(ステップS70のNO)、モータ駆動電圧波形補正部10は、現在のθの値にΔθを加えた値を新たなθの値として設定し(ステップS80)、その後ステップS40に戻る。一方、(θ+Δθ)が360°以上であれば(ステップS70のYES)、例えば図12に示すようなモータ駆動電流の脈動量と電圧補正パターンの位相ずれ量との関係が得られているので、モータ駆動電圧波形補正部10は、モータ駆動電流の脈動量が最小となる電圧補正パターンの位相ずれ量を、電圧補正パターンの位相補正係数θ0に設定する(ステップS90)。図12に示す例では、θ=60°の場合にモータ駆動電流の脈動量が最小となるので、電圧補正パターンの位相補正係数θ0を60°に設定する。   If (θ + Δθ) is not 360 ° or more (NO in step S70), motor drive voltage waveform correction unit 10 sets a value obtained by adding Δθ to the current value of θ as a new value of θ (step S80). Then, the process returns to step S40. On the other hand, if (θ + Δθ) is 360 ° or more (YES in step S70), for example, the relationship between the pulsation amount of the motor drive current and the phase shift amount of the voltage correction pattern as shown in FIG. 12 is obtained. The motor drive voltage waveform correction unit 10 sets the phase shift amount of the voltage correction pattern that minimizes the pulsation amount of the motor drive current to the phase correction coefficient θ0 of the voltage correction pattern (step S90). In the example shown in FIG. 12, since the pulsation amount of the motor drive current is minimized when θ = 60 °, the phase correction coefficient θ0 of the voltage correction pattern is set to 60 °.

本実施形態では、位相ずれ量をθ度ずらした場合の電圧補正パターンの補正量が最大となる位相角が、加速時補正電気角範囲に入っている場合には(ステップS41のYES)、モータ駆動電流の脈動量の検出を行わない。したがって、図12の例では、θが0°〜20°の範囲および260°〜360°の範囲はモータ駆動電流の脈動量の検出がスキップされておりデータが無い。しかしながら、求めたいのはモータ駆動電流の脈動量が最小となる電圧補正パターンの位相ずれ量であるのに対し、ステップS41でスキップされたθの範囲では、モータ駆動電流の脈動量が大きくなることが判っており有用ではない。図12に示す例では、位相ずれ量θが0°〜20°の範囲および260°〜360°の範囲ではモータ駆動電流の脈動量の検出がスキップされデータが無いが、残りの位相ずれ量θが20°〜260°の範囲のデータによって、θ=60°の場合にモータ駆動電流の脈動量が最小となることが十分判別できる。したがって、モータ駆動電流の脈動量が最小となる電圧補正パターンの位相ずれ量を検出するために有用となり難いと予測される位相ずれ量の範囲では、モータ駆動電流の脈動量の検出を行わないことで、モータ駆動電流波形の脈動量(変動量)を抑えながら、また、モータ駆動電流の脈動量の検出回数を削減して効率よく、電圧補正パターンの位相シフト補正係数を求めることができる。   In the present embodiment, when the phase angle at which the correction amount of the voltage correction pattern is maximized when the phase shift amount is shifted by θ degrees is in the acceleration correction electrical angle range (YES in step S41), the motor The pulsation amount of the drive current is not detected. Therefore, in the example of FIG. 12, in the range of 0 to 20 ° and the range of 260 ° to 360 °, detection of the pulsation amount of the motor drive current is skipped and there is no data. However, what is desired is the phase shift amount of the voltage correction pattern that minimizes the pulsation amount of the motor drive current, whereas the pulsation amount of the motor drive current increases in the range of θ skipped in step S41. Is known and not useful. In the example shown in FIG. 12, when the phase shift amount θ is in the range of 0 ° to 20 ° and in the range of 260 ° to 360 °, detection of the pulsation amount of the motor drive current is skipped and there is no data, but the remaining phase shift amount θ Can be sufficiently determined that the pulsation amount of the motor drive current is minimized when θ = 60 °. Therefore, the pulsation amount of the motor drive current should not be detected in the range of the phase shift amount that is unlikely to be useful for detecting the phase shift amount of the voltage correction pattern that minimizes the pulsation amount of the motor drive current. Thus, it is possible to efficiently obtain the phase shift correction coefficient of the voltage correction pattern while suppressing the pulsation amount (variation amount) of the motor drive current waveform and reducing the number of detections of the pulsation amount of the motor drive current.

同期モータ4の駆動が継続している限りモータ駆動電流の脈動量が最小となる電圧補正パターンの位相ずれ量の値は大きく変わらない事が多い。このため、ステップS90で確定した電圧補正パターンの位相補正係数は、同期モータ4の回転駆動が継続している間は再設定しなくてもよい。したがって、図10A及び図10Bのフローチャートでは、ステップS90の処理を1回のみ実施している。負荷要素によっては、負荷トルク量や回転数によってモータ駆動電流の脈動量が最小となる電圧補正パターンの位相ずれ量の値が変わる場合もあるので、その場合には、当該条件下で再度ステップS10から始まる電圧補正パターンの位相補正係数設定処理を行えばよい。   As long as the drive of the synchronous motor 4 continues, the value of the phase shift amount of the voltage correction pattern that minimizes the pulsation amount of the motor drive current often does not change greatly. For this reason, it is not necessary to reset the phase correction coefficient of the voltage correction pattern determined in step S90 while the synchronous motor 4 continues to rotate. Therefore, in the flowcharts of FIGS. 10A and 10B, the process of step S90 is performed only once. Depending on the load element, the value of the phase shift amount of the voltage correction pattern that minimizes the pulsation amount of the motor drive current may vary depending on the load torque amount and the rotation speed. In this case, step S10 is performed again under the conditions. The phase correction coefficient setting process of the voltage correction pattern starting from the above may be performed.

ステップS90に続くステップS100において、モータ駆動電圧波形補正部10は、電圧補正パターンの位相を、モータ駆動基本電圧波形の位相に対して、ステップS90で求めた位相補正係数θ0だけずらす。   In step S100 following step S90, the motor drive voltage waveform correction unit 10 shifts the phase of the voltage correction pattern by the phase correction coefficient θ0 obtained in step S90 with respect to the phase of the motor drive basic voltage waveform.

次に、モータ駆動電圧波形補正部10は、電圧補正パターンのそれぞれの角度ごとの補正量に補正ゲインMを掛ける(ステップS110)。そして、モータ駆動電圧波形補正部10は、それぞれの角度(それぞれの角度は離散的な値であってもよく、連続的な値であってもよい。)で補正ゲインMが乗算され、位相を位相補正係数θ0だけずらされた電圧補正パターンの補正値に応じてモータ駆動電圧波形の振幅および角速度を補正し、それぞれの角度における電圧補正パターンの補正値が大きいほどモータ駆動電圧波形の振幅が大きくなり且つモータ駆動電圧波形の角速度が大きくなるように、電圧補正パターンの補正値が小さいほどモータ駆動電圧波形の振幅が小さくなり且つモータ駆動電圧波形の角速度が小さくなるようにする(ステップS120)。   Next, the motor drive voltage waveform correction unit 10 multiplies the correction amount for each angle of the voltage correction pattern by the correction gain M (step S110). Then, the motor drive voltage waveform correction unit 10 multiplies each angle (each angle may be a discrete value or may be a continuous value) by a correction gain M to obtain a phase. The amplitude and angular velocity of the motor drive voltage waveform are corrected according to the correction value of the voltage correction pattern shifted by the phase correction coefficient θ0, and the amplitude of the motor drive voltage waveform increases as the correction value of the voltage correction pattern at each angle increases. In order to increase the angular velocity of the motor drive voltage waveform, the smaller the correction value of the voltage correction pattern, the smaller the amplitude of the motor drive voltage waveform and the smaller the angular velocity of the motor drive voltage waveform (step S120).

ステップS120に続くステップS130において、モータ駆動電圧波形補正部10は、ステップS120の処理で補正された各相のモータ駆動電圧波形に基づいて同期モータ4が駆動している状態における各相のモータ駆動電流をモータ駆動電流記憶部7からモータ1回転分、すなわち負荷要素における負荷トルク変動1周期分読み込み、モータ駆動電流波形の脈動量(変動量)を算出する。   In step S130 subsequent to step S120, the motor drive voltage waveform correction unit 10 drives each phase of the motor in a state where the synchronous motor 4 is driven based on the motor drive voltage waveform of each phase corrected in the process of step S120. The current is read from the motor drive current storage unit 7 for one rotation of the motor, that is, one cycle of load torque fluctuation in the load element, and the pulsation amount (fluctuation amount) of the motor drive current waveform is calculated.

次に、モータ駆動電圧波形補正部10は、今回のモータ駆動電流波形の脈動量と前回のモータ駆動電流波形の脈動量とを比較し、その差が所定値以下かどうかを判定する(ステップS140)。差が所定値以下でなければ(ステップS140のNO)、モータ駆動電流波形の脈動量の最小値が見つけられていないと判断し、ステップS150に進む。一方、差が所定値以下であれば(ステップS140のYES)、モータ駆動電流波形の脈動量の最小値が見つかったと判断し、ステップS200に進む。   Next, the motor drive voltage waveform correction unit 10 compares the pulsation amount of the current motor drive current waveform with the pulsation amount of the previous motor drive current waveform, and determines whether the difference is equal to or less than a predetermined value (step S140). ). If the difference is not less than the predetermined value (NO in step S140), it is determined that the minimum value of the pulsation amount of the motor drive current waveform has not been found, and the process proceeds to step S150. On the other hand, if the difference is equal to or smaller than the predetermined value (YES in step S140), it is determined that the minimum value of the pulsation amount of the motor drive current waveform has been found, and the process proceeds to step S200.

ステップS150では、今回のモータ駆動電流波形の脈動量と前回のモータ駆動電流波形の脈動量とを比較し、その差が所定値以下かどうかを判定する。ここで、ステップS150の判定で用いる所定値は、ステップS140の判定で用いる所定値よりも大きい値に設定する。差が所定値以下であれば(ステップS150のYES)、モータ駆動電流波形の脈動量が最小値となるゲイン補正係数M0に対し、現在の補正ゲインMが近づいていると判定して、補正ゲインMの刻み幅ΔMの量を半分にし(ステップS160)、その後ステップS170に移行する。一方、差が所定値以下になっていなければ(ステップS150のNO)、現在の補正ゲインMがまだ離れていると判定して、補正ゲインMの刻み幅ΔMの量を維持したままステップS170に移行する。   In step S150, the pulsation amount of the current motor drive current waveform is compared with the pulsation amount of the previous motor drive current waveform, and it is determined whether the difference is equal to or less than a predetermined value. Here, the predetermined value used in the determination in step S150 is set to a value larger than the predetermined value used in the determination in step S140. If the difference is equal to or smaller than the predetermined value (YES in step S150), it is determined that the current correction gain M is approaching the gain correction coefficient M0 at which the pulsation amount of the motor drive current waveform becomes the minimum value, and the correction gain The amount of the step width ΔM of M is halved (step S160), and then the process proceeds to step S170. On the other hand, if the difference is not less than or equal to the predetermined value (NO in step S150), it is determined that the current correction gain M is still separated, and the process proceeds to step S170 while maintaining the amount of step width ΔM of the correction gain M. Transition.

ステップS170において、今回のモータ駆動電流波形の脈動量が、前回のモータ駆動電流波形の脈動量よりも小さいかどうかを判定する。今回の電流脈動量が前回の電流脈動量よりも大きければ(ステップS170のNO)、次回の補正ゲインMの増減方向を前回と逆方向として(ステップS180)ステップS190に移行する。一方、今回の電流脈動量が前回の電流脈動量よりも小さければ(ステップS170のYES)、次回の補正ゲインMの増減方向は前回と同方向のままステップS190に移行する。ステップS190では、補正ゲインMの刻み幅ΔMだけMを変化させて、ステップS110に戻る。   In step S170, it is determined whether or not the pulsation amount of the current motor drive current waveform is smaller than the pulsation amount of the previous motor drive current waveform. If the current pulsation amount is larger than the previous current pulsation amount (NO in step S170), the next increase / decrease direction of the correction gain M is set to the opposite direction (step S180), and the process proceeds to step S190. On the other hand, if the current pulsation amount is smaller than the previous current pulsation amount (YES in step S170), the next increase / decrease direction of the correction gain M remains the same as the previous one, and the process proceeds to step S190. In step S190, M is changed by the increment ΔM of the correction gain M, and the process returns to step S110.

ステップS200では、補正ゲインMを電圧補正パターンのゲイン補正係数M0に設定する。図13に示す例では、M=2の場合にモータ駆動電流の脈動量が最小となるので、電圧補正パターンのゲイン補正係数M0を2に設定する。   In step S200, the correction gain M is set to the gain correction coefficient M0 of the voltage correction pattern. In the example shown in FIG. 13, since the pulsation amount of the motor drive current is minimized when M = 2, the gain correction coefficient M0 of the voltage correction pattern is set to 2.

図11(b)は、図9(d)に示した補正パターンに、位相ずれ量θ=60°、補正ゲインM=2を与えた電圧補正パターンによってモータ駆動電圧波形を補正した場合のモータ駆動電流の例である。図11(b)の例では、モータ駆動電流波形の波高値が全て揃っており、モータ駆動電流は脈動していないことになる(図13で脈動量=0となっている)。   FIG. 11B shows the motor drive when the motor drive voltage waveform is corrected by the voltage correction pattern in which the phase shift amount θ = 60 ° and the correction gain M = 2 is added to the correction pattern shown in FIG. It is an example of an electric current. In the example of FIG. 11B, all the crest values of the motor drive current waveform are aligned, and the motor drive current does not pulsate (the pulsation amount = 0 in FIG. 13).

ステップS200に続くステップS210において、モータ駆動電圧波形補正部10は、位相補正係数θ0、ゲイン補正係数M0を与えた電圧補正パターンで補正された各相のモータ駆動電圧波形に基づいて同期モータ4が駆動している状態における各相のモータ駆動電流をモータ駆動電流記憶部7からモータ1回転分、すなわち負荷要素における負荷トルク変動1周期分読み込み、モータ駆動電流の最大振幅値から最小振幅値を引いた値をモータ駆動電流波形の脈動量(変動量)として算出する。続けてステップS220において、算出されたモータ駆動電流波形の脈動量が所定値以下かどうかを判定する。脈動量が所定値以下であれば(ステップS220のYES)、モータ駆動電圧波形は最適に補正されていると判断し、ステップS210に戻る。脈動量が所定値以下でなければ(ステップS220のNO)、モータ駆動電圧波形は最適に補正されていないと判断し、ゲイン補正係数M0を補正ゲインMに代入し(ステップS230)、ステップS110に戻って、ゲイン補正係数M0の再探査を行う。   In step S210 following step S200, the motor drive voltage waveform correction unit 10 determines that the synchronous motor 4 is based on the motor drive voltage waveform of each phase corrected with the voltage correction pattern given the phase correction coefficient θ0 and the gain correction coefficient M0. The motor drive current of each phase in the driving state is read from the motor drive current storage unit 7 for one rotation of the motor, that is, one cycle of load torque fluctuation in the load element, and the minimum amplitude value is subtracted from the maximum amplitude value of the motor drive current. The calculated value is calculated as the pulsation amount (variation amount) of the motor drive current waveform. Subsequently, in step S220, it is determined whether or not the calculated pulsation amount of the motor drive current waveform is equal to or less than a predetermined value. If the pulsation amount is equal to or smaller than the predetermined value (YES in step S220), it is determined that the motor drive voltage waveform is optimally corrected, and the process returns to step S210. If the pulsation amount is not less than or equal to the predetermined value (NO in step S220), it is determined that the motor drive voltage waveform is not optimally corrected, and the gain correction coefficient M0 is substituted for the correction gain M (step S230). Returning, the search for the gain correction coefficient M0 is performed again.

なお、ステップS210〜S230の代わりに、または加えて、例えば、所定時間の経過ごとに強制的にゲイン補正係数M0の再探査を行うステップを設けてもよい。また、ステップS210は随時行っても良いし、所定の時間ごとに間欠的に行っても良い。   Note that instead of or in addition to steps S210 to S230, for example, a step of forcibly re-exploring the gain correction coefficient M0 may be provided every time a predetermined time elapses. Further, step S210 may be performed at any time or intermittently at predetermined time intervals.

また、負荷要素によっては、負荷トルク量や回転数によってモータ駆動電流の脈動量が最小となる電圧補正パターンの位相ずれ量の値が変わる場合もあるので、その場合には、ステップS220のNOの場合に、ステップS10に戻っても良い。   Also, depending on the load element, the value of the phase shift amount of the voltage correction pattern that minimizes the pulsation amount of the motor drive current may vary depending on the load torque amount and the rotation speed. In this case, the process may return to step S10.

モータ駆動電圧波形補正部10が上述した図10A及び図10Bに示すフローチャートの動作を行うことにより、位置センサレスで且つ同期モータ4と同期モータ4が駆動する負荷要素との接続位置に関する情報すなわち同期モータ4の電気角と同期モータ4が駆動する負荷要素の機械角との関係に関する情報がなくても、モータ駆動電流の脈動量を小さく(理想的には零に)することができ、同期モータ4を高効率で駆動することができる。   When the motor drive voltage waveform correction unit 10 performs the operations of the flowcharts shown in FIGS. 10A and 10B described above, information on the connection position of the synchronous motor 4 and the load element driven by the synchronous motor 4 without the position sensor, that is, the synchronous motor Even if there is no information regarding the relationship between the electrical angle of 4 and the mechanical angle of the load element driven by the synchronous motor 4, the amount of pulsation of the motor drive current can be reduced (ideally zero). Can be driven with high efficiency.

また、モータ駆動電圧波形補正部10が上述した図10A及び図10Bに示すフローチャートの動作を行うことにより、負荷トルク量の変動に関する情報がなくても、負荷トルク量の変動に対応してモータ駆動電流の脈動量を小さく(理想的には零に)することができ、同期モータ4を高効率で駆動することができる。   Further, the motor drive voltage waveform correction unit 10 performs the operations of the flowcharts shown in FIGS. 10A and 10B described above, so that even if there is no information about the change in the load torque amount, the motor drive voltage waveform correction unit 10 is driven in response to the change in the load torque amount. The amount of current pulsation can be reduced (ideally zero), and the synchronous motor 4 can be driven with high efficiency.

また、モータ駆動電圧波形補正部10が上述した図10A及び図10Bに示すフローチャートの動作を行うことにより、1つの電圧補正パターンを2つの補正係数(位相補正係数、ゲイン補正係数)で補正して、同期モータ4のモータトルクを制御することができるので、モータ制を簡便に、且つ、連続的に制御することができる。   Further, the motor drive voltage waveform correction unit 10 performs the operations of the flowcharts shown in FIGS. 10A and 10B described above to correct one voltage correction pattern with two correction coefficients (phase correction coefficient and gain correction coefficient). Since the motor torque of the synchronous motor 4 can be controlled, the motor control can be controlled easily and continuously.

<第5実施形態>
本発明の第5実施形態に係るモータ制御装置の概略構成は、本発明の第4実施形態に係るモータ制御装置の概略構成と同一である。本実施形態に係るモータ制御装置は、モータの起動中に本発明の第1〜第3実施形態のいずれかと同様の制御を実施し、更にモータの起動完了後に以下で説明する制御を行う。
<Fifth Embodiment>
The schematic configuration of the motor control device according to the fifth embodiment of the present invention is the same as the schematic configuration of the motor control device according to the fourth embodiment of the present invention. The motor control device according to the present embodiment performs the same control as that of any of the first to third embodiments of the present invention during the startup of the motor, and further performs the control described below after the completion of the startup of the motor.

本実施形態においてモータ駆動電圧波形補正部10は同期モータ4の起動完了後に図14A及び図14Bに示すフローチャートの動作を行う。図14A及び図14Bに示すフローチャートは、図10A及び図10Bに示すフローチャートに対して、ステップS6及びS10をステップS7及びステップS11に置換する第1の変更と、ステップS40〜S90をステップS40〜S91に置換する第2の変更とを施したものである。モータ駆動電圧波形補正部10が図14A及び図14Bに示すフローチャートの動作を行うことにより、本実施形態に係るモータ制御装置は、本発明の第4実施形態に係るモータ制御装置と同様の効果を奏する。   In the present embodiment, the motor drive voltage waveform correction unit 10 performs the operations of the flowcharts shown in FIGS. 14A and 14B after the start of the synchronous motor 4 is completed. 14A and 14B is a first modification in which steps S6 and S10 are replaced with steps S7 and S11, and steps S40 to S90 are replaced with steps S40 to S91 with respect to the flowcharts illustrated in FIGS. 10A and 10B. And a second change to be replaced. When the motor drive voltage waveform correction unit 10 performs the operations of the flowcharts shown in FIGS. 14A and 14B, the motor control device according to the present embodiment has the same effects as the motor control device according to the fourth embodiment of the present invention. Play.

以下、第1〜第2の変更に関するモータ駆動電圧波形補正部10の動作について説明し、第1〜第2の変更以外に関するモータ駆動電圧波形補正部10の動作については本発明の第4実施形態と同一であるため説明を省略する。   Hereinafter, the operation of the motor drive voltage waveform correction unit 10 related to the first to second changes will be described, and the operation of the motor drive voltage waveform correction unit 10 related to other than the first to second changes will be described in the fourth embodiment of the present invention. The description is omitted because it is the same.

ステップS4の処理が終わると、モータ駆動電圧波形補正部10は、電圧補正パターンの補正量が最小となる位相角を把握する(ステップS7)。たとえば、図9(d)に示す補正パターンが電圧補正パターン記憶部12に記憶されている場合は、電圧補正パターンの位相角約0度で補正量が最小になっている。   When the process of step S4 ends, the motor drive voltage waveform correction unit 10 grasps the phase angle at which the correction amount of the voltage correction pattern is minimized (step S7). For example, when the correction pattern shown in FIG. 9D is stored in the voltage correction pattern storage unit 12, the correction amount is minimum at the phase angle of the voltage correction pattern of about 0 degrees.

続くステップS8で把握した加速時補正電気角範囲に基づいて、次のステップS11では位相ずれ量θの初期値を設定する。加速時補正電気角範囲が第1実施形態と同様に、電気角210度〜690度となっている場合は、例えば加速時補正電気角範囲の中央値である電気角450度に電圧補正パターンの最小値がくるように位相ずれ量θの初期値を設定する。つまり、第4実施形態と同様に同期モータ4が3相6極のモータである場合は、電気角に換算した式、(θ°+0°)×3=450°となる位相ずれ量θ=150度とすれば、加速時補正電気角範囲の中央値である電気角に、電圧補正パターンの補正量が最小値となる位相角が来るので、この位相ずれ量θを初期値として設定する。また、ステップS11では、モータ駆動電圧波形補正部10は、補正ゲインMの初期値を1に設定する。   In the next step S11, an initial value of the phase shift amount θ is set based on the acceleration corrected electrical angle range obtained in the subsequent step S8. As in the first embodiment, when the acceleration correction electrical angle range is 210 to 690 degrees, for example, the voltage correction pattern is set to an electrical angle of 450 degrees, which is the median value of the acceleration correction electrical angle range. The initial value of the phase shift amount θ is set so that the minimum value is reached. That is, as in the fourth embodiment, when the synchronous motor 4 is a three-phase six-pole motor, an equation converted to an electrical angle, (θ ° + 0 °) × 3 = 450 °, a phase shift amount θ = 150. Assuming that the phase angle is an electrical angle that is the central value of the corrected electrical angle range during acceleration, the phase angle at which the correction amount of the voltage correction pattern is the minimum value comes, so this phase shift amount θ is set as an initial value. In step S11, the motor drive voltage waveform correction unit 10 sets the initial value of the correction gain M to 1.

ステップS61において、モータ駆動電圧波形補正部10は、今回のモータ駆動電流波形の脈動量と前回のモータ駆動電流波形の脈動量とを比較し、その差が所定値以下かどうかを判定する。差が所定値以下でなければ(ステップS61のNO)、モータ駆動電流波形の脈動量の最小値が見つけられていないと判断し、ステップS62に進む。一方、差が所定値以下であれば(ステップS61のYES)、モータ駆動電流波形の脈動量の最小値が見つかったと判断し、ステップS91に進む。   In step S61, the motor drive voltage waveform correction unit 10 compares the pulsation amount of the current motor drive current waveform with the pulsation amount of the previous motor drive current waveform, and determines whether the difference is equal to or less than a predetermined value. If the difference is not less than the predetermined value (NO in step S61), it is determined that the minimum value of the pulsation amount of the motor drive current waveform has not been found, and the process proceeds to step S62. On the other hand, if the difference is equal to or smaller than the predetermined value (YES in step S61), it is determined that the minimum value of the pulsation amount of the motor drive current waveform has been found, and the process proceeds to step S91.

ステップS62では、今回のモータ駆動電流波形の脈動量と前回のモータ駆動電流波形の脈動量とを比較し、その差が所定値以下かどうかを判定する。ここで、ステップS62の判定で用いる所定値は、ステップS61の判定で用いる所定値よりも大きい値に設定する。差が所定値以下であれば(ステップS62のYES)、モータ駆動電流波形の脈動量が最小値となる位相ずれ量θ0に対し、現在の位相ずれ量θが近づいていると判定して、位相ずれ量θの刻み幅Δθの量を半分にし(ステップS63)、その後ステップS64に移行する。一方、差が所定値以下になっていなければ(ステップS62のNO)、現在の位相ずれ量θがまだ離れていると判定して、位相ずれ量θの刻み幅Δθの量を維持したままステップS64に移行する。   In step S62, the pulsation amount of the current motor drive current waveform is compared with the pulsation amount of the previous motor drive current waveform, and it is determined whether the difference is equal to or less than a predetermined value. Here, the predetermined value used in the determination in step S62 is set to a value larger than the predetermined value used in the determination in step S61. If the difference is equal to or smaller than the predetermined value (YES in step S62), it is determined that the current phase shift amount θ is approaching the phase shift amount θ0 at which the pulsation amount of the motor drive current waveform is the minimum value, and the phase The step amount Δθ of the shift amount θ is halved (step S63), and then the process proceeds to step S64. On the other hand, if the difference is not less than or equal to the predetermined value (NO in step S62), it is determined that the current phase shift amount θ is still separated, and the step of the step width Δθ of the phase shift amount θ is maintained. The process proceeds to S64.

ステップS64において、今回のモータ駆動電流波形の脈動量が、前回のモータ駆動電流波形の脈動量よりも小さいかどうかを判定する。今回の電流脈動量が前回の電流脈動量よりも大きければ(ステップ64のNO)、次回の位相ずれ量θの増減方向を前回と逆方向として(ステップS65)ステップS66に移行する。一方、今回の電流脈動量が前回の電流脈動量よりも小さければ(ステップS64のYES)、次回の位相ずれ量θの増減方向は前回と同方向のままステップS66に移行する。ステップS66では、位相ずれ量θの刻み幅Δθだけθを変化させて、ステップS40に戻る。これにより、今回のモータ駆動電流波形の脈動量と前回のモータ駆動電流波形の脈動量との差がステップS61で設定された所定値以下あれば、ステップS40〜ステップS66のルーチンがモータ1回転分、すなわち負荷要素における負荷トルク変動1周期分完了していなくても、ステップS40〜ステップS66のルーチンから抜けることができ、処理時間の短縮を図ることができる。   In step S64, it is determined whether or not the pulsation amount of the current motor drive current waveform is smaller than the pulsation amount of the previous motor drive current waveform. If the current pulsation amount is larger than the previous current pulsation amount (NO in step 64), the next phase shift amount θ is increased or decreased in the opposite direction (step S65), and the process proceeds to step S66. On the other hand, if the current pulsation amount is smaller than the previous current pulsation amount (YES in step S64), the next phase shift amount θ is increased or decreased in the same direction as the previous time, and the process proceeds to step S66. In step S66, θ is changed by the increment Δθ of the phase shift amount θ, and the process returns to step S40. As a result, if the difference between the pulsation amount of the current motor drive current waveform and the pulsation amount of the previous motor drive current waveform is equal to or smaller than the predetermined value set in step S61, the routine from step S40 to step S66 is performed for one rotation of the motor. That is, even if one load torque fluctuation period in the load element is not completed, the routine of Steps S40 to S66 can be exited, and the processing time can be shortened.

さらに、本実施形態では、電圧補正パターンの補正量が最小となる位相角が、加速時補正電気角範囲に入るように、位相ずれ量θの初期値を設定する。すなわち、モータ駆動電流が大きいことが判明している電気角範囲に電圧補正パターンの補正量が最小となる位相角が来るようにしているため、モータ駆動電流の脈動量が既に抑えられている状態から電圧補正パターンの位相シフト補正係数を求めるルーチンを開始することができ、モータ駆動電流波形の脈動量(変動量)を抑えながら、また、モータ駆動電流の脈動量の検出回数を削減して効率よく、電圧補正パターンの位相シフト補正係数を求めることができる。   Furthermore, in the present embodiment, the initial value of the phase shift amount θ is set so that the phase angle at which the correction amount of the voltage correction pattern is the minimum is within the corrected electrical angle range during acceleration. That is, since the phase angle that minimizes the correction amount of the voltage correction pattern comes within the electrical angle range where the motor drive current is known to be large, the pulsation amount of the motor drive current is already suppressed The routine to calculate the phase shift correction coefficient of the voltage correction pattern can be started from this, while suppressing the pulsation amount (variation amount) of the motor drive current waveform and reducing the number of detections of the pulsation amount of the motor drive current. It is possible to obtain the phase shift correction coefficient of the voltage correction pattern.

ステップS91において、モータ駆動電圧波形補正部10は、位相ずれ量θを電圧補正パターンの位相補正係数θ0に設定する。   In step S91, the motor drive voltage waveform correction unit 10 sets the phase shift amount θ to the phase correction coefficient θ0 of the voltage correction pattern.

<第6実施形態>
本発明の第6実施形態は、電圧補正パターンの定義方法が本発明の第4実施形態と異なっており、それ以外に関しては本発明の第4実施形態と同一である。
<Sixth Embodiment>
The sixth embodiment of the present invention differs from the fourth embodiment of the present invention in the method of defining the voltage correction pattern, and is otherwise the same as the fourth embodiment of the present invention.

本実施形態では、負荷要素を一定のトルク(モータトルク一定)で回転させたときの、負荷トルク変動1周期分の角速度変化を測定し、その変動パターンに基づいて電圧補正パターンを定めている。   In this embodiment, when the load element is rotated with a constant torque (motor torque is constant), a change in angular velocity for one cycle of load torque fluctuation is measured, and a voltage correction pattern is determined based on the fluctuation pattern.

一定のトルクで負荷要素を駆動した場合、負荷トルクが平均負荷トルクより小さくなる機械角では角速度が増速し、負荷トルクが平均負荷トルクより大きくなる機械角では角速度が減速する。力を積分すると速度エネルギーになるので、本実施形態における定義方法によって定義した電圧補正パターンであっても、本発明の第1実施形態での電圧補正パターンと同様のものが得られる。したがって、本実施形態に係るモータ制御装置は、本発明の第1実施形態に係るモータ制御装置と同様の効果を奏するとともに、負荷トルク曲線を計測しなくても補正パターンが得られるため本発明の第1実施形態よりも簡便に電圧補正パターンを定義できるという利点を有している。   When the load element is driven with a constant torque, the angular speed increases at a mechanical angle at which the load torque is smaller than the average load torque, and the angular speed decreases at a mechanical angle at which the load torque is greater than the average load torque. When the force is integrated, velocity energy is obtained, so that even the voltage correction pattern defined by the definition method in the present embodiment is the same as the voltage correction pattern in the first embodiment of the present invention. Therefore, the motor control device according to the present embodiment has the same effects as the motor control device according to the first embodiment of the present invention, and a correction pattern can be obtained without measuring the load torque curve. The voltage correction pattern can be defined more easily than in the first embodiment.

<第7実施形態>
本発明の第7実施形態は、電圧補正パターンの定義方法が本発明の第4実施形態及び第6実施形態と異なっており、それ以外に関しては本発明の第4実施形態及び第6実施形態と同一である。
<Seventh embodiment>
The seventh embodiment of the present invention is different from the fourth and sixth embodiments of the present invention in the definition method of the voltage correction pattern, and the other embodiments are the same as the fourth and sixth embodiments of the present invention. Are the same.

本実施形態では、本発明の第4実施形態又は第6実施形態において定義した電圧補正パターンよりも、電圧補正パターン自体の補正量(補正ゲイン量M=1のときの補正量)が小さくなる電圧補正パターンを定義する。例えば、本発明の第1実施形態において定義した電圧補正パターンに0より大きく1より小さい所定の補正ゲイン量を掛けたものを本実施形態の電圧補正パターンとしてもよく、本発明の第3実施形態において定義した電圧補正パターンに0より大きく1より小さい所定の補正ゲイン量を掛けたものを本実施形態の電圧補正パターンとしてもよい。   In this embodiment, the voltage with which the correction amount of the voltage correction pattern itself (correction amount when the correction gain amount M = 1) is smaller than the voltage correction pattern defined in the fourth or sixth embodiment of the present invention. Define the correction pattern. For example, the voltage correction pattern defined in the first embodiment of the present invention multiplied by a predetermined correction gain amount greater than 0 and smaller than 1 may be used as the voltage correction pattern of the present embodiment, and the third embodiment of the present invention. The voltage correction pattern defined in the above may be multiplied by a predetermined correction gain amount greater than 0 and less than 1 as the voltage correction pattern of this embodiment.

これにより、M=1で位相補正係数を探査する(第4実施形態ではステップS10〜S90)際に、電圧補正量が大きすぎてモータ駆動が不安定となり、最悪の場合は脱調に至ってしまうことを防止することができる。また、ゲイン補正係数を探査する(第4実施形態ではステップS100〜S200)際に、ゲイン補正係数が1以上であることはほぼ確実となるので、ステップS170及びS180を省くことも可能となり、より早くゲイン補正係数を得られる利点もある。なお、電圧補正パターンの定義を本発明の第4実施形態又は第6実施形態から変更するのではなく、位相補正係数及びゲイン補正係数探査時の最初の補正ゲイン量Mを1より小さくすることによっても、上記と同様の効果を得ることができる。   As a result, when searching for the phase correction coefficient with M = 1 (steps S10 to S90 in the fourth embodiment), the voltage correction amount is too large and the motor drive becomes unstable, and in the worst case, step-out occurs. This can be prevented. Further, since it is almost certain that the gain correction coefficient is 1 or more when searching for the gain correction coefficient (steps S100 to S200 in the fourth embodiment), steps S170 and S180 can be omitted. There is also an advantage that a gain correction coefficient can be obtained quickly. The definition of the voltage correction pattern is not changed from the fourth or sixth embodiment of the present invention, but the initial correction gain amount M at the time of searching for the phase correction coefficient and the gain correction coefficient is made smaller than 1. Also, the same effect as described above can be obtained.

本実施形態において定義した電圧補正パターン自体の補正量(補正ゲイン量M=1のときの補正量)は、本発明の第1実施形態又は第3実施形態において定義した電圧補正パターン自体の補正量(補正ゲイン量M=1のときの補正量)の半分以下とすることが好ましい。この場合は、ゲイン補正係数が2以上となることが予測できるので、ゲイン補正係数を探査する(ステップS100〜S200)際の判断材料の1つとして使用することもできる。   The correction amount of the voltage correction pattern itself defined in the present embodiment (the correction amount when the correction gain amount M = 1) is the correction amount of the voltage correction pattern itself defined in the first embodiment or the third embodiment of the present invention. It is preferable to set it to half or less of (correction amount when correction gain amount M = 1). In this case, since it can be predicted that the gain correction coefficient will be 2 or more, the gain correction coefficient can also be used as one of judgment materials when searching for the gain correction coefficient (steps S100 to S200).

<第8実施形態>
本発明の第4実施形態では、電圧補正パターンの一例として図9に示すレシプロ型圧縮機のような負荷トルク特性を有した負荷要素に対応する電圧補正パターンを挙げたが、本発明の第9実施形態では、図1Aに示すシングルロータ型圧縮機のような負荷トルク特性を有した負荷要素に対応する電圧補正パターンを用いることにする。
<Eighth Embodiment>
In the fourth embodiment of the present invention, the voltage correction pattern corresponding to the load element having the load torque characteristic such as the reciprocating compressor shown in FIG. 9 is given as an example of the voltage correction pattern. In the embodiment, a voltage correction pattern corresponding to a load element having load torque characteristics such as a single rotor type compressor shown in FIG. 1A is used.

図15(a)は図1Aに示すシングルロータ型圧縮機のような負荷トルク特性を有した負荷要素について、1周期分の負荷トルク特性を示している。図15(a)において、負荷トルク平均値Bは、負荷トルク曲線Aの1周期分の負荷トルク値を平均した値である。   FIG. 15A shows a load torque characteristic for one cycle for a load element having a load torque characteristic such as the single rotor type compressor shown in FIG. 1A. In FIG. 15A, the load torque average value B is a value obtained by averaging the load torque values for one cycle of the load torque curve A.

図15(b)の曲線Cは、図15(a)の曲線において、各々の角度における(負荷トルク平均値B)−(負荷トルクA)の値を求めて、角度で積分した曲線である。負荷トルク曲線Aが正弦波に近い形状であるため、負荷トルク曲線を正弦波(sinθ)で近似できれば、曲線Cを近似した図15(c)の曲線は余弦波形状(=cosθ)とすることができる。   A curve C in FIG. 15B is a curve obtained by calculating the value of (load torque average value B) − (load torque A) at each angle in the curve in FIG. Since the load torque curve A has a shape close to a sine wave, if the load torque curve can be approximated by a sine wave (sin θ), the curve in FIG. 15C approximating the curve C should have a cosine wave shape (= cos θ). Can do.

本実施形態に係るモータ制御装置の概略構成は、本発明の第4実施形態に係るモータ制御装置の概略構成と同一であり、同期モータ4の起動完了後のモータ駆動電圧波形補正部10の動作も本発明の第4実施形態〜第7実施形態のいずれかと同様にすれば良いので、ここでは説明を省略する。   The schematic configuration of the motor control device according to the present embodiment is the same as the schematic configuration of the motor control device according to the fourth embodiment of the present invention, and the operation of the motor drive voltage waveform correction unit 10 after the start of the synchronous motor 4 is completed. Since it may be the same as any one of the fourth to seventh embodiments of the present invention, the description thereof is omitted here.

<圧縮機駆動装置及び冷凍・空調装置>
冷凍・空調装置などで使用される圧縮機では、内部が高温状態になり、ホールICなどのロータ位置を検出する位置センサを設けることが困難であるため、位置センサレスで同期モータを駆動する必要がある。そこで、本発明に係るモータ制御装置を圧縮機駆動装置の同期モータを駆動するために使用する。これによって、コイルおよびホール素子で構成された電流センサ、カレントトランスといった交流電流を検出するための電流センサが不要となるとともに、位置センサも不要となる。このことはすなわち、圧縮機の上死点などの機械角情報が不明で、かつ、機械角を知るのに必要な上記センサを有さないような圧縮機などの負荷要素であっても、任意の同期モータと接続して本発明に係るモータ制御装置で制御することで、高効率な同期モータ駆動を可能にする、とも言える。
<Compressor drive unit and refrigeration / air conditioner>
In a compressor used in a refrigeration / air conditioner, etc., the internal temperature becomes high, and it is difficult to provide a position sensor for detecting the rotor position such as a Hall IC. Therefore, it is necessary to drive a synchronous motor without a position sensor. is there. Therefore, the motor control device according to the present invention is used to drive the synchronous motor of the compressor driving device. As a result, a current sensor configured to detect an alternating current such as a current sensor constituted by a coil and a Hall element and a current transformer is not required, and a position sensor is also unnecessary. This means that even if it is a load element such as a compressor that does not have the above-mentioned sensor necessary for knowing the mechanical angle and the mechanical angle information such as the top dead center of the compressor is unknown. It can also be said that high-efficiency synchronous motor drive is enabled by connecting to the synchronous motor of the present invention and controlling with the motor control device according to the present invention.

そして、この本発明に係るモータ制御装置を備えた圧縮機駆動装置を冷凍・空調装置に搭載する。これによって、冷蔵庫、冷凍庫、空気調和機といった冷凍・空調装置を運転することが可能となる。例えば、空気調和機の場合、少なくとも圧縮機、室外熱交換器、膨張装置、及び室内熱交換器を冷媒配管により接続した冷媒回路を設け、本発明に係るモータ制御装置を備えた圧縮機駆動装置によって圧縮機を駆動し、四方弁の切り替えにより、冷房運転を行うときに冷媒回路の冷媒の流れ方向を圧縮機→室外熱交換器→膨張装置→室内熱交換器→圧縮機の方向とし、暖房運転を行うときに冷媒回路の冷媒の流れ方向を圧縮機→室内熱交換器→膨張装置→室外熱交換器→圧縮機の方向とする。   And the compressor drive device provided with this motor control apparatus which concerns on this invention is mounted in a refrigerating / air conditioning apparatus. This makes it possible to operate a refrigeration / air conditioning apparatus such as a refrigerator, a freezer, or an air conditioner. For example, in the case of an air conditioner, at least a compressor, an outdoor heat exchanger, an expansion device, and a refrigerant circuit in which an indoor heat exchanger is connected by a refrigerant pipe are provided, and the compressor driving device provided with the motor control device according to the present invention When the cooling operation is performed by switching the four-way valve, the flow direction of the refrigerant in the refrigerant circuit is as follows: compressor → outdoor heat exchanger → expansion device → indoor heat exchanger → compressor direction. When the operation is performed, the flow direction of the refrigerant in the refrigerant circuit is the direction of the compressor → the indoor heat exchanger → the expansion device → the outdoor heat exchanger → the compressor.

なお、本発明に係るモータ制御装置の用途は、冷凍・空調装置等で使用される圧縮機のモータ駆動に限定されることはなく、周期的な負荷トルク変動を伴う負荷要素を駆動する同期モータの可変速制御全般に本発明に係るモータ制御装置を使用することができる。本発明に係るモータ制御装置を用いることによって、高効率で安定した駆動を実現することができる。   The application of the motor control device according to the present invention is not limited to the motor drive of a compressor used in a refrigeration / air conditioning device or the like, but a synchronous motor that drives a load element with periodic load torque fluctuations The motor control device according to the present invention can be used for all variable speed control. By using the motor control device according to the present invention, highly efficient and stable driving can be realized.

<まとめ>
以上、本発明の実施形態につき説明したが、本発明の範囲はこれに限定されるものではなく、発明の主旨を逸脱しない範囲で種々の変更を加えて実施することができる。例えば、マイクロコンピュータM1と同一の機能を複数のマイクロコンピュータによって実現してもよく、マイクロコンピュータM1の一部または全部の機能を、専用の電気回路などによって実現してもよい。また、複数の実施形態を組み合わせて実施するようにしてもよい。例えば、第2実施形態と第3実施形態とを組み合わせて実施することが可能である。
<Summary>
Although the embodiments of the present invention have been described above, the scope of the present invention is not limited to these embodiments, and various modifications can be made without departing from the spirit of the invention. For example, the same function as the microcomputer M1 may be realized by a plurality of microcomputers, and some or all of the functions of the microcomputer M1 may be realized by a dedicated electric circuit or the like. Moreover, you may make it implement combining several embodiment. For example, the second embodiment and the third embodiment can be implemented in combination.

以上説明したモータ制御装置は、周期的な負荷トルク変動を有する負荷要素を駆動するモータ(4)を制御する装置であって、前記モータ(4)を駆動する電流の振幅を検出する検出部(6、7)と、前記モータ(4)を駆動するモータ駆動電圧を補正する補正部(10)とを備え、前記補正部(10)は、前記負荷要素の1周期に相当する前記モータの全電気角範囲から、前記検出部(6、7)によって検出されたモータ駆動電流が最大ピークとなる第1の電気角を推定し、前記全電気角範囲を、第1の電気角を含む一の電気角範囲と、前記一の電気角範囲を除いた他の電気角範囲とに区分し、前記一の電気角範囲では前記他の電気角範囲よりもモータ駆動電圧を低減する第1の補正を行う構成(第1の構成)とする。   The motor control device described above is a device that controls a motor (4) that drives a load element having a periodic load torque fluctuation, and that detects a current amplitude that drives the motor (4) ( 6 and 7) and a correction unit (10) for correcting the motor drive voltage for driving the motor (4). The correction unit (10) includes all the motors corresponding to one cycle of the load element. A first electrical angle at which the motor drive current detected by the detection unit (6, 7) has a maximum peak is estimated from the electrical angle range, and the entire electrical angle range includes the first electrical angle. An electrical angle range is divided into an electrical angle range other than the one electrical angle range, and the first correction for reducing the motor drive voltage in the one electrical angle range is lower than that in the other electrical angle range. The configuration to be performed (first configuration) is assumed.

このような構成によると、前記一の電気角範囲では前記他の電気角範囲よりもモータ駆動電圧を低減する補正を行うことにより、モータ駆動電流の脈動を抑制し、モータ駆動電流の最大値が過電流になることを抑制することができる。また、前記他の電気角範囲では、モータトルクの減少が抑制されるので、所定の加速度での加速を維持することが可能となる。   According to such a configuration, the correction of reducing the motor drive voltage in the one electrical angle range than in the other electrical angle range suppresses the pulsation of the motor drive current, and the maximum value of the motor drive current is increased. Overcurrent can be suppressed. Further, in the other electrical angle range, the reduction in motor torque is suppressed, so that acceleration at a predetermined acceleration can be maintained.

上記第1の構成のモータ制御装置において、前記一の電気角範囲は、第1の電気角の直前および直後の少なくとも一方に隣接した前記モータ駆動電流がピークとなる電気角を含む構成(第2の構成)としてもよい。   In the motor control device having the first configuration, the one electrical angle range includes an electrical angle at which the motor driving current is adjacent to at least one immediately before and immediately after the first electrical angle (second configuration). It is good also as a structure.

このような構成によると、モータ駆動電流が最大ピークとなる電気角が、推定した第1の電気角と異なっている場合でも、高確度でモータ駆動電流の脈動を抑制し、モータ駆動電流の最大値が過電流になることを抑制することができる。   According to such a configuration, even when the electrical angle at which the motor drive current reaches the maximum peak is different from the estimated first electrical angle, the pulsation of the motor drive current is suppressed with high accuracy, and the maximum motor drive current is obtained. It can suppress that a value becomes overcurrent.

上記第1または第2の構成のモータ制御装置において、前記補正部(10)は、前記モータ(4)が起動開始後に加速する間の前記モータ駆動電流に基づいてモータ駆動電圧の補正を行う構成(第3の構成)としてもよい。   In the motor control device having the first or second configuration, the correction unit (10) corrects the motor drive voltage based on the motor drive current while the motor (4) accelerates after starting. It is good also as (3rd structure).

このような構成によると、過電流によって前記モータの起動が完了することなく停止することを防止することができる。   According to such a configuration, it is possible to prevent the motor from stopping without being completed due to overcurrent.

上記第1〜第3のいずれかの構成のモータ制御装置において、前記負荷要素の1周期に相当する電圧補正パターンを記憶する電圧補正パターン記憶部(12)を備え、前記補正部(10)は、前記電圧補正パターンの位相を所定の角度分シフトする補正係数を与えた前記電圧補正パターンにより補正された前記モータ駆動電圧で前記モータを駆動した際の前記モータ駆動電流の変動量を、2つ以上の前記補正係数の設定値に対して比較した結果に基づいて、前記補正係数を決定する第2の補正を行い、前記第2の補正は前記第1の補正を解除した後に行い、前記第2の補正における前記電圧補正パターンの最大補正部分が、前記第1の補正で区分された前記一の電気角範囲に入らないように、前記補正係数の設定値が定められる構成(第4の構成)としてもよい。   The motor control device having any one of the first to third configurations includes a voltage correction pattern storage unit (12) that stores a voltage correction pattern corresponding to one cycle of the load element, and the correction unit (10) includes: Two fluctuation amounts of the motor drive current when the motor is driven with the motor drive voltage corrected by the voltage correction pattern given a correction coefficient for shifting the phase of the voltage correction pattern by a predetermined angle. Based on the result compared with the set value of the correction coefficient, the second correction for determining the correction coefficient is performed, the second correction is performed after the first correction is canceled, and the second correction is performed. A configuration in which a set value of the correction coefficient is determined so that a maximum correction portion of the voltage correction pattern in the correction of 2 does not fall within the one electrical angle range divided by the first correction (fourth It may be formed).

このような構成によると、モータ駆動電流波形の脈動量(変動量)を抑えながら、また、効率よく前記補正係数の設定を定めることができる。   According to such a configuration, the correction coefficient can be set efficiently while suppressing the pulsation amount (variation amount) of the motor drive current waveform.

上記第4の構成のモータ制御装置において、前記補正係数は、前記電圧補正パターンのゲインを含み、前記ゲインを異なる値として前記モータを駆動した際の前記モータ駆動電流の変動量を比較した結果を指標として、前記ゲインを決定する構成(第5の構成)としてもよい。   In the motor control device of the fourth configuration, the correction coefficient includes a gain of the voltage correction pattern, and a result obtained by comparing a fluctuation amount of the motor drive current when the motor is driven with the gain set to a different value. As an index, the gain may be determined (fifth configuration).

このような構成によると、負荷トルク量の変動に関する情報がなくても、負荷トルク量の変動に対応してモータ駆動電流の脈動量を小さく(理想的には零に)することができ、モータを高効率で駆動することができる。   According to such a configuration, the pulsation amount of the motor drive current can be reduced (ideally zero) in response to the fluctuation of the load torque amount without the information on the fluctuation of the load torque amount. Can be driven with high efficiency.

上記第4または第5の構成のモータ制御装置において、前記電圧補正パターンの形状は、前記負荷要素の角度ごとの負荷トルク値を前記負荷要素の前記1周期分の負荷トルクの平均値から差し引いた値を、前記負荷要素の角度で積分した関数に基づく形状である構成(第6の構成)としてもよい。   In the motor control device having the fourth or fifth configuration, the shape of the voltage correction pattern is obtained by subtracting a load torque value for each angle of the load element from an average value of the load torque for the one cycle of the load element. It is good also as a structure (6th structure) which is a shape based on the function which integrated the value with the angle of the said load element.

このような構成によると、電圧補正パターンの概形をモータのロータの速度変動パターンの正確な概形に相似させることができるので、モータトルク制御の高精度化が期待できる。   According to such a configuration, the outline of the voltage correction pattern can be made similar to the exact outline of the speed variation pattern of the rotor of the motor, so that high accuracy of motor torque control can be expected.

上記第4〜第6のいずれかの構成のモータ制御装置において、前記電圧補正パターンの形状は、前記負荷要素を一定のトルクで回転させたときの、負荷トルク変動1周期分の角速度変化を測定し、その変動パターンに基づく形状とする構成(第7の構成)としてもよい。   In the motor control device having any one of the fourth to sixth configurations, the shape of the voltage correction pattern is a measurement of an angular velocity change for one cycle of load torque fluctuation when the load element is rotated at a constant torque. However, a configuration based on the variation pattern (seventh configuration) may be employed.

このような構成によると、負荷トルク曲線を計測しなくても補正パターンが得られるため簡便に電圧補正パターンを定義できる。   According to such a configuration, the correction pattern can be obtained without measuring the load torque curve, so that the voltage correction pattern can be easily defined.

上記第6又は第7の構成のモータ制御装置において、前記電圧補正パターンの形状は、基となる前記関数または前記変動パターンに比べて、補正量を小さくした形状である構成(第8の構成)としてもよい。   In the motor control device having the sixth or seventh configuration, the voltage correction pattern has a configuration in which the correction amount is smaller than that of the function or the variation pattern as a basis (eighth configuration). It is good.

このような構成によると、電圧補正量が大きすぎてモータ駆動が不安定となり、最悪の場合は脱調に至ってしまうことを防止することができる。   According to such a configuration, it is possible to prevent the voltage correction amount from being too large and the motor drive to become unstable, and in the worst case, the step-out can be prevented.

以上説明した冷凍・空調装置は、上記第1〜第8のいずれかの構成のモータ制御装置と、前記モータ制御装置によって駆動される同期モータ(4)と、前記同期モータ(4)が駆動する圧縮機とを備える構成(第9の構成)とする。   The refrigeration / air conditioning apparatus described above is driven by the motor control apparatus having any one of the first to eighth configurations, the synchronous motor (4) driven by the motor control apparatus, and the synchronous motor (4). The configuration includes a compressor (the ninth configuration).

1 交流電源
2 コンバータ回路
3 インバータ回路
4 同期モータ
5 電流検出回路
6 モータ駆動電流推定部
7 モータ駆動電流記憶部
8 回転数設定部
9 モータ駆動電圧波形作成部
10 モータ駆動電圧波形補正部
11 PWM波形作成部
12 電圧補正パターン記憶部
M1 マイクロコンピュータ
R1 電流検出抵抗(シャント抵抗)
DESCRIPTION OF SYMBOLS 1 AC power supply 2 Converter circuit 3 Inverter circuit 4 Synchronous motor 5 Current detection circuit 6 Motor drive current estimation part 7 Motor drive current memory | storage part 8 Rotation speed setting part 9 Motor drive voltage waveform creation part 10 Motor drive voltage waveform correction part 11 PWM waveform Creation unit 12 Voltage correction pattern storage unit M1 Microcomputer R1 Current detection resistor (shunt resistor)

Claims (4)

周期的な負荷トルク変動を有する負荷要素を駆動するモータを制御する装置であって、
前記モータを駆動する電流の振幅を検出する検出部と、
前記モータを駆動するモータ駆動電圧を補正する補正部とを備え、
前記補正部は、
前記モータの回転数が所定の回転数のときに、前記負荷要素の1周期に相当する前記モータの全電気角範囲から、前記検出部によって検出されたモータ駆動電流の振幅が最大値となる第1の電気角を推定し、
前記モータの回転数が前記所定の回転数である状態から前記モータが加速するときに、前記全電気角範囲を、前記第1の電気角の前後を含む一の連続した電気角範囲と、前記全電気角範囲から前記一の連続した電気角範囲を除いた他の電気角範囲とに区分し、前記一の連続した電気角範囲では前記他の電気角範囲よりもモータ駆動電圧を低減する第1の補正を行うことを特徴とするモータ制御装置。
An apparatus for controlling a motor that drives a load element having periodic load torque fluctuations,
A detection unit for detecting an amplitude of a current for driving the motor;
A correction unit for correcting a motor driving voltage for driving the motor,
The correction unit is
When the number of rotations of the motor is a predetermined number of rotations, the amplitude of the motor drive current detected by the detection unit becomes a maximum value from the entire electrical angle range of the motor corresponding to one cycle of the load element. Estimate the electrical angle of 1,
When the motor from a state rotational speed of the motor is the predetermined rotational speed is accelerated, the total electric angle range, and one continuous electrical angle range including the front and rear of the first electrical angle, said The electric angle range is divided from the entire electric angle range to the other electric angle range excluding the one continuous electric angle range, and the motor driving voltage is reduced in the one continuous electric angle range as compared with the other electric angle range. A motor control apparatus that performs correction of 1.
前記補正部は、前記モータが起動開始後に加速し回転数フィードバック制御に移行した後の前記モータ駆動電流に基づいてモータ駆動電圧の補正を行うことを特徴とする、請求項1に記載のモータ制御装置。2. The motor control according to claim 1, wherein the correction unit corrects a motor driving voltage based on the motor driving current after the motor is accelerated after starting and is shifted to a rotational speed feedback control. 3. apparatus. 前記負荷要素の1周期に相当する電圧補正パターンを記憶する電圧補正パターン記憶部を備え、A voltage correction pattern storage unit for storing a voltage correction pattern corresponding to one cycle of the load element;
前記補正部は、The correction unit is
前記第1の補正を解除した後に補正係数の値を離散的に変更し、Discretely changing the value of the correction coefficient after canceling the first correction,
離散的に変更する前記補正係数の値毎に第1の処理及び第2の処理を実行し、Performing the first process and the second process for each value of the correction coefficient that is discretely changed;
前記第1の処理は、前記電圧補正パターンに補正係数を与えることで、前記電圧補正パターンの位相を前記補正係数の値に応じた角度分シフトさせる処理であり、The first process is a process of shifting the phase of the voltage correction pattern by an angle corresponding to the value of the correction coefficient by giving a correction coefficient to the voltage correction pattern.
前記第2の処理は、前記補正係数が与えられた前記電圧補正パターンの最大補正部分が、前記第1の補正で区分された前記一の連続した電気角範囲に入っているか否かを判定する処理であり、In the second process, it is determined whether or not a maximum correction portion of the voltage correction pattern to which the correction coefficient is given is in the one continuous electrical angle range divided by the first correction. Processing,
さらに前記補正部は、Furthermore, the correction unit
離散的に変更する前記補正係数の値であって、尚且つ、前記補正係数が与えられた前記電圧補正パターンの最大補正部分が、前記第1の補正で区分された前記一の連続した電気角範囲に入っていないという条件を満たす限定値毎に、前記補正係数が与えられた前記電圧補正パターンにより補正された前記モータ駆動電圧で前記モータを駆動した際の前記モータ駆動電流の変動量を求め、The value of the correction coefficient that is discretely changed, and the maximum correction portion of the voltage correction pattern to which the correction coefficient is given is the one continuous electrical angle divided by the first correction. For each limit value that satisfies the condition that it does not fall within the range, the fluctuation amount of the motor drive current when the motor is driven with the motor drive voltage corrected by the voltage correction pattern given the correction coefficient is obtained. ,
その求めた結果に基づいて前記補正係数を特定値に固定し、Based on the obtained result, the correction coefficient is fixed to a specific value,
前記補正係数を前記特定値に固定した状態において、前記補正係数が与えられた前記電圧補正パターンによって前記モータ駆動電圧を補正する第2の補正を行うことを特徴とする、請求項1または2に記載のモータ制御装置。3. The second correction for correcting the motor drive voltage by the voltage correction pattern to which the correction coefficient is given in a state where the correction coefficient is fixed to the specific value. The motor control apparatus described.
請求項1〜3のいずれか1項に記載のモータ制御装置と、The motor control device according to any one of claims 1 to 3,
前記モータ制御装置によって駆動される同期モータと、A synchronous motor driven by the motor control device;
前記同期モータが駆動する圧縮機とを備えることを特徴とする冷凍・空調装置。And a compressor driven by the synchronous motor.
JP2014143419A 2014-07-11 2014-07-11 Motor control device and refrigeration / air-conditioning device Active JP6010071B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2014143419A JP6010071B2 (en) 2014-07-11 2014-07-11 Motor control device and refrigeration / air-conditioning device
CN201580025128.6A CN106464189B (en) 2014-07-11 2015-07-07 Motor control assembly and freezing or air-conditioning device
MYPI2016002034A MY182422A (en) 2014-07-11 2015-07-07 Motor control device and refrigerating/air conditioning device
PCT/JP2015/069551 WO2016006613A1 (en) 2014-07-11 2015-07-07 Motor control device and refrigeration/air conditioning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014143419A JP6010071B2 (en) 2014-07-11 2014-07-11 Motor control device and refrigeration / air-conditioning device

Publications (2)

Publication Number Publication Date
JP2016021785A JP2016021785A (en) 2016-02-04
JP6010071B2 true JP6010071B2 (en) 2016-10-19

Family

ID=55064242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014143419A Active JP6010071B2 (en) 2014-07-11 2014-07-11 Motor control device and refrigeration / air-conditioning device

Country Status (4)

Country Link
JP (1) JP6010071B2 (en)
CN (1) CN106464189B (en)
MY (1) MY182422A (en)
WO (1) WO2016006613A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3691112B1 (en) * 2017-09-29 2022-06-22 Hitachi Industrial Equipment Systems Co., Ltd. Data obtaining method, inverter, and rotating electric machine
CN109660163A (en) * 2019-01-01 2019-04-19 武汉船用电力推进装置研究所(中国船舶重工集团公司第七二研究所) A kind of direct current generator intelligent controlling device and method
CN112701983B (en) * 2020-12-22 2023-03-14 广州极飞科技股份有限公司 Rotor angle calibration method and device based on linear Hall sensor
CN113654225B (en) * 2021-08-06 2023-03-24 青岛海尔空调器有限总公司 Control method and system of compressor and air conditioner
WO2023100321A1 (en) * 2021-12-02 2023-06-08 三菱電機株式会社 Power conversion device, motor drive device, and apparatus applicable to refrigeration cycle

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6429610B1 (en) * 2000-09-05 2002-08-06 General Electric Co. Method and system for reducing motor vibration by controlling flux producing current
JP5195884B2 (en) * 2010-12-07 2013-05-15 ダイキン工業株式会社 Compressor driving method and compressor driving device
JP5798838B2 (en) * 2011-08-22 2015-10-21 日立アプライアンス株式会社 Motor control device
JP5836859B2 (en) * 2012-03-19 2015-12-24 日立アプライアンス株式会社 MOTOR CONTROL DEVICE, MOTOR DRIVE DEVICE USING THE SAME, COMPRESSOR, REFRIGERATOR, AIR CONDITIONER, AND MOTOR CONTROL METHOD
JP5937880B2 (en) * 2012-04-27 2016-06-22 日立アプライアンス株式会社 Motor control device and refrigerator

Also Published As

Publication number Publication date
WO2016006613A1 (en) 2016-01-14
CN106464189A (en) 2017-02-22
JP2016021785A (en) 2016-02-04
MY182422A (en) 2021-01-25
CN106464189B (en) 2019-02-05

Similar Documents

Publication Publication Date Title
JP5195444B2 (en) Brushless DC motor driving apparatus, refrigerator and air conditioner using the same
KR100738755B1 (en) Motor controlling device, compressor, air conditioner and refrigerator
JP6010071B2 (en) Motor control device and refrigeration / air-conditioning device
JP5658812B1 (en) Motor control device and refrigeration / air-conditioning device
KR101550751B1 (en) Motor control device, motor drive device using the same, compressor, refrigeration device, air conditioner, and motor control method
JP5984524B2 (en) Motor control device
US11863101B2 (en) Driving apparatus and air-conditioning apparatus
JP4804100B2 (en) Motor drive device, control method therefor, and air conditioner
JP2004343993A (en) Motor controller, compressor, air conditioner, and refrigerator
JP2006149097A (en) Motor controller
JP5978161B2 (en) Motor drive device
JP5385557B2 (en) Motor control device, compressor drive device, and refrigeration / air conditioning device
JP2010226842A (en) Control method and control apparatus for brushless dc motor
KR101770425B1 (en) Refrigerator and controlling method thereof
JP2018148677A (en) Motor control device and air-conditioner
JP2020139461A (en) Electric compressor
JP2009017613A (en) Controller, drive system, and heat transfer system
JP7361933B2 (en) Electric motor drive equipment and refrigeration cycle application equipment
JP2008172880A (en) Method and device for driving brushless dc motor
KR101918058B1 (en) Apparatus and method for driving brushless motor, and air conditioner having the same
JP5747145B2 (en) Motor drive device and electric apparatus using the same
JP2012186876A (en) Compressor drive unit and refrigerator using the same
JP2011193585A (en) Motor drive and electric equipment using the same
JP6846939B2 (en) Motor control device, rotary compressor system and motor control method
JP5604991B2 (en) MOTOR DRIVE DEVICE AND ELECTRIC DEVICE USING THE SAME

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151126

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160726

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20160803

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160823

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160915

R150 Certificate of patent or registration of utility model

Ref document number: 6010071

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150