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

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

Info

Publication number
JP5658812B1
JP5658812B1 JP2013239082A JP2013239082A JP5658812B1 JP 5658812 B1 JP5658812 B1 JP 5658812B1 JP 2013239082 A JP2013239082 A JP 2013239082A JP 2013239082 A JP2013239082 A JP 2013239082A JP 5658812 B1 JP5658812 B1 JP 5658812B1
Authority
JP
Japan
Prior art keywords
motor
motor drive
correction
voltage
voltage waveform
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
JP2013239082A
Other languages
Japanese (ja)
Other versions
JP2015100206A (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 JP2013239082A priority Critical patent/JP5658812B1/en
Priority to CN201480058570.4A priority patent/CN105683571B/en
Priority to PCT/JP2014/071827 priority patent/WO2015075980A1/en
Priority to MYPI2016000728A priority patent/MY174940A/en
Application granted granted Critical
Publication of JP5658812B1 publication Critical patent/JP5658812B1/en
Publication of JP2015100206A publication Critical patent/JP2015100206A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04BPOSITIVE-DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS
    • F04B49/00Control, e.g. of pump delivery, or pump pressure of, or safety measures for, machines, pumps, or pumping installations, not otherwise provided for, or of interest apart from, groups F04B1/00 - F04B47/00
    • F04B49/06Control using electricity
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04BPOSITIVE-DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS
    • F04B35/00Piston pumps specially adapted for elastic fluids and characterised by the driving means to their working members, or by combination with, or adaptation to, specific driving engines or motors, not otherwise provided for
    • F04B35/04Piston pumps specially adapted for elastic fluids and characterised by the driving means to their working members, or by combination with, or adaptation to, specific driving engines or motors, not otherwise provided for the means being electric
    • 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
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/14Electronic commutators
    • H02P6/16Circuit arrangements for detecting position
    • H02P6/18Circuit arrangements for detecting position without separate position detecting elements
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25BREFRIGERATION MACHINES, PLANTS OR SYSTEMS; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS
    • F25B2600/00Control issues
    • F25B2600/02Compressor control
    • F25B2600/021Inverters therefor
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25BREFRIGERATION MACHINES, PLANTS OR SYSTEMS; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS
    • F25B49/00Arrangement or mounting of control or safety devices
    • F25B49/02Arrangement or mounting of control or safety devices for compression type machines, plants or systems
    • F25B49/025Motor control arrangements
    • 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
    • H02P2203/00Indexing scheme relating to controlling arrangements characterised by the means for detecting the position of the rotor
    • H02P2203/09Motor speed determination based on the current and/or voltage without using a tachogenerator or a physical encoder
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Air Conditioning Control Device (AREA)
  • Control Of Positive-Displacement Pumps (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

【課題】位置センサレスで且つモータと負荷要素との接続位置に関する情報がない場合にも高効率化を図ることができるモータ制御装置を提供する。【解決手段】モータ制御装置は、周期的な負荷トルク変動を有する負荷要素を駆動するモータを制御する装置であって、前記負荷トルク変動の1周期分の角度に対応する電圧補正パターンを記憶する電圧補正パターン記憶部8と、前記モータを駆動するための基本電圧波形を生成するモータ駆動電圧波形作成部10と、前記電圧補正パターンに補正係数を与えて前記基本電圧波形を補正するモータ駆動電圧波形補正部11とを備えており、前記モータ駆動電圧波形補正部11によって生成されたモータ駆動信号によって前記モータを駆動した際のモータ駆動電流の変動量を検出し、前記モータ駆動電流の変動量を指標として、前記補正係数を決定する。【選択図】図2There is provided a motor control device capable of achieving high efficiency even when there is no position sensor and there is no information regarding a connection position between a motor and a load element. A motor control device is a device that controls a motor that drives a load element having a periodic load torque fluctuation, and stores a voltage correction pattern corresponding to an angle corresponding to one cycle of the load torque fluctuation. A voltage correction pattern storage unit 8, a motor drive voltage waveform generation unit 10 for generating a basic voltage waveform for driving the motor, and a motor drive voltage for correcting the basic voltage waveform by giving a correction coefficient to the voltage correction pattern And a waveform correction unit 11. The motor drive current fluctuation amount when the motor is driven by the motor drive signal generated by the motor drive voltage waveform correction unit 11 is detected, and the motor drive current variation amount is detected. The correction coefficient is determined using as an index. [Selection] Figure 2

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. Therefore, if the angular velocity of the compressor is made constant, a pulsation occurs in the motor current in accordance with the load torque fluctuation, and there is a problem that power loss increases.

この問題を解決する方法として、圧縮機の機械角に応じて、つまり、作動媒体の吸入工程、圧縮工程、吐出工程からなる圧縮サイクルのどの位置にあるかに応じて、モータトルクを補償する方法がある。この方法を用いることにより、負荷トルク変動に応じてモータトルクを補償することが可能となり、負荷トルク変動によるモータ電流の脈動を低減して高効率化を図ることができる。   As a method for solving this problem, a method for compensating the motor torque according to the mechanical angle of the compressor, that is, depending on which position in the compression cycle including the suction step, the compression step, and the discharge step of the working medium. There is. By using this method, the motor torque can be compensated according to the load torque fluctuation, and the pulsation of the motor current due to the load torque fluctuation can be reduced to increase the efficiency.

特開2004−215434号公報JP 2004-215434 A 特開2004−274841号公報JP 2004-274841 A

特許文献1で提案されているモータ制御装置は、モータ駆動電流の脈動を小さくするようにトルク補償するトルクパターンを適用してモータ駆動効率を向上させている。トルクパターンを適用するためには、負荷要素の機械角が判っている必要がある。特許文献1には、ブラシレスモータの各巻線からの誘起電圧の波形によって、モータ内のロータの位置を検出するという記載はあるが、モータに接続された負荷要素の機械角を検出するという記載はない。したがって、モータと負荷要素との接続位置に関する情報がない場合には、負荷要素の負荷トルク変動に応じてモータトルクを補償することができない。   The motor control device proposed in Patent Literature 1 improves the motor drive efficiency by applying a torque pattern for torque compensation so as to reduce the pulsation of the motor drive current. In order to apply the torque pattern, it is necessary to know the mechanical angle of the load element. In Patent Document 1, there is a description that the position of the rotor in the motor is detected by the waveform of the induced voltage from each winding of the brushless motor, but the description that the mechanical angle of the load element connected to the motor is detected. Absent. Therefore, when there is no information regarding the connection position between the motor and the load element, the motor torque cannot be compensated according to the load torque fluctuation of the load element.

特許文献2で提案されているモータ制御装置は、位置センサレスにするために、モータ駆動電流の脈動に基づいてロータの機械的位置を検出しているが、モータの極数が多い場合に負荷要素の機械角に対してモータの電気角が何周期目であるかを判定しているに過ぎないため、モータと負荷要素との接続位置に関する情報がない場合には、負荷要素の負荷トルク変動を補償するモータトルクとすることができない。   The motor control device proposed in Patent Document 2 detects the mechanical position of the rotor based on the pulsation of the motor drive current in order to make the position sensorless, but when the number of poles of the motor is large, the load element Since it is only determined how many cycles the motor electrical angle is relative to the mechanical angle of the machine, if there is no information on the connection position between the motor and the load element, the load torque fluctuation of the load element is The motor torque cannot be compensated.

本発明は、上記の状況に鑑み、位置センサレスで且つモータと負荷要素との接続位置に関する情報がない場合にも高効率化を図ることができるモータ制御装置及び当該モータ制御装置を搭載した冷凍・空調装置を提供することを目的とする。   In view of the above situation, the present invention provides a motor control device capable of achieving high efficiency even when there is no position sensorless information regarding the connection position between the motor and the load element, and a refrigeration / loader equipped with the motor control device. An object is to provide an air conditioner.

上記目的を達成するために、本発明に係るモータ制御装置は、周期的な負荷トルク変動を有する負荷要素を駆動するモータを制御する装置であって、前記負荷トルク変動の1周期分の角度に対応する電圧補正パターンを記憶する電圧補正パターン記憶部と、前記モータを駆動するための基本電圧波形を生成するモータ駆動電圧波形作成部と、前記電圧補正パターンに補正係数を与えて前記基本電圧波形を補正するモータ駆動電圧波形補正部とを備えており、前記モータ駆動電圧波形補正部によって生成されたモータ駆動信号によって前記モータを駆動した際のモータ駆動電流の変動量を検出し、前記モータ駆動電流の変動量を指標として、前記補正係数を決定する構成(第1の構成)とする。   In order to achieve the above object, a motor control device according to the present invention is a device that controls a motor that drives a load element having a periodic load torque fluctuation, and is configured to have an angle corresponding to one cycle of the load torque fluctuation. A voltage correction pattern storage unit that stores a corresponding voltage correction pattern; a motor drive voltage waveform generation unit that generates a basic voltage waveform for driving the motor; and the basic voltage waveform by applying a correction coefficient to the voltage correction pattern. A motor drive voltage waveform correction unit that corrects the motor drive voltage, detects a fluctuation amount of a motor drive current when the motor is driven by a motor drive signal generated by the motor drive voltage waveform correction unit, and drives the motor The correction coefficient is determined using the current fluctuation amount as an index (first configuration).

上記第1の構成のモータ制御装置において、前記補正係数は、前記基本電圧波形に対する前記電圧補正パターンの位相を含み、前記位相を異なる値として前記モータを駆動した際の前記モータ駆動電流の変動量を比較した結果を指標として、前記位相を決定する構成(第2の構成)としてもよい。   In the motor control device according to the first configuration, the correction coefficient includes a phase of the voltage correction pattern with respect to the basic voltage waveform, and a fluctuation amount of the motor driving current when the motor is driven with the phase as a different value. It is good also as a structure (2nd structure) which determines the said phase by making the result of comparing these into a parameter | index.

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

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

上記第1〜第3のいずれかの構成のモータ制御装置において、前記電圧補正パターンの形状は、前記負荷要素を一定のトルクで回転させたときの、負荷トルク変動1周期分の角速度変化を測定し、その変動パターンに基づく形状とする構成(第5の構成)としてもよい。   In the motor control device having any one of the first to third 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 (fifth configuration) may be employed.

上記第4又は第5の構成のモータ制御装置において、前記電圧補正パターンの形状は、基となる前記関数または前記変動パターンに比べて、補正量を小さくした形状である構成(第6の構成)としてもよい。   In the motor control device having the fourth or fifth 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 (sixth configuration). It is good.

上記第1〜第6のいずれかの構成のモータ制御装置において、前記モータ駆動電流の変動量を指標として、前記補正係数の候補値を決定し、前記候補値と過去の前記補正係数の値との差、前記候補値と過去の前記補正係数の値に応じた値との差の全てが所定値以上である場合には、前記候補値を採用しない構成(第7の構成)としてもよい。   In the motor control device having any one of the first to sixth configurations, the correction coefficient candidate value is determined using the fluctuation amount of the motor drive current as an index, and the candidate value and the past correction coefficient value are determined. If the difference between the candidate value and the value corresponding to the past correction coefficient value is equal to or greater than a predetermined value, the candidate value may not be adopted (seventh configuration).

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

本発明によれば、位置センサレスで且つモータと負荷要素との接続位置に関する情報がない場合にも高効率化を図ることができるモータ制御装置及び当該モータ制御装置を搭載した冷凍・空調装置を実現することができる。   ADVANTAGE OF THE INVENTION According to this invention, the motor control apparatus which can aim at high efficiency also when there is no information regarding the connection position of a motor and a load element without a position sensor, and the refrigerating / air-conditioning apparatus carrying the said motor control apparatus are implement | achieved can do.

シングルロータ型圧縮機の負荷トルク特性を示す図である。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. 電圧補正パターンの一例を示す図である。It is a figure which shows an example of a voltage correction pattern. 本発明の第1実施形態におけるモータ駆動電圧波形補正部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the motor drive voltage waveform correction | amendment part in 1st Embodiment of this 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. 補正後のモータ駆動電圧波形の一例を示す図である。It is a figure which shows an example of the motor drive voltage waveform after correction | amendment. 各相のモータ駆動電流波形の複数の例を示す図である。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. 本発明の第2実施形態におけるモータ駆動電圧波形補正部の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the motor drive voltage waveform correction | amendment part in 2nd 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. 本発明の第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. 本発明の第6実施形態における電圧補正パターンの一例を示す図である。It is a figure which shows an example of the voltage correction pattern in 6th 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と、マイクロコンピュータA1とを備えている。コンバータ回路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 A1. 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に流れる直流電流を検出し、その検出した直流電流を増幅して、直流電流信号としてマイクロコンピュータA1に出力する。すなわち、電流検出回路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 a direct current flowing through the inverter circuit 3 based on a voltage generated at both ends of the current detection resistor R1, amplifies the detected direct current, and outputs the detected direct current to the microcomputer A1. . That is, the current detection circuit 5 functions as a direct current detection unit that detects a direct current flowing through the inverter circuit 3.

マイクロコンピュータA1は、同期モータ4を駆動制御するための回路であり、モータ駆動電流推定部6と、モータ駆動電流記憶部7と、電圧補正パターン記憶部8と、回転数設定部9と、モータ駆動電圧波形作成部10と、モータ駆動電圧波形補正部11と、PWM波形作成部12とを有しており、以下で説明する処理をプログラムにしたがって行っている。   The microcomputer A1 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 voltage correction pattern storage unit 8, a rotation speed setting unit 9, and a motor. A drive voltage waveform creation unit 10, a motor drive voltage waveform correction unit 11, and a PWM waveform creation unit 12 are included, and 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 current change calculation means (not shown) and distribution calculation means (not shown), and obtains a change in DC current from the input DC current signal by the current change calculation means. The motor driving current is estimated and calculated by the distribution calculating means from the change in the DC current signal. 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 DC current signal (output signal of the current detection circuit 5) for each phase in accordance with the switching timing of each phase drive element of the inverter circuit 3 to obtain a phase difference. Estimate another motor drive current. 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周期分記憶する。   The motor drive current storage unit 7 stores the phase-specific motor drive current calculated by the motor drive current estimation unit 6 for at least one load torque fluctuation in the load element.

電圧補正パターン記憶部8は、負荷要素における負荷トルク変動1周期分の角度に対応する電圧補正パターンを記憶する。電圧補正パターンは、例えば、角度と補正値との対応関係を示すデータテーブルの形式で記憶されていてもよく、角度と補正値との対応関係を示す関数の形式で記憶されていてもよい。   The voltage correction pattern storage unit 8 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.

電圧補正パターンは、負荷要素における負荷トルク特性に応じて設定される。電圧補正パターンの一例を図3に示す。   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.

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

図3(b)の曲線Cは、図3(a)の曲線において、各々の角度における(負荷トルク平均値B)−(負荷トルクA)の値を求めて、角度で積分した曲線である。このような曲線Cを電圧補正パターンとしてモータを駆動し、負荷トルク特性曲線Aを有する負荷要素を駆動すると、モータの駆動電流変動を抑えることができる。その際、負荷トルク曲線Aと電圧補正パターンCとの位相が合っていることが望ましく、さらには、電圧補正パターンCによる電圧補正量が負荷トルク特性曲線Aに対して適正量であることが望ましい。   A curve C in FIG. 3B 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. .

このため、図3(b)の曲線Cを電圧補正パターンとして電圧補正パターン記憶部8に記憶させる際に、角度、補正値を絶対値ではなく相対値として記憶させておき、後述するモータ駆動電圧波形補正部11によってモータ駆動電圧波形を補正する際に、電圧補正パターン記憶部8に記憶された電圧補正パターンに所定の補正係数を与えた補正データによってモータ駆動電圧波形を補正することが好ましい。図3(b)では一例として、点線で挟まれる負荷要素の負荷トルク変動周期1周期分を電圧補正パターンとして、角度軸(横軸)については左端を0度、右端を360度とし、補正量(縦軸)は1周期分の補正量の平均を1とした正規化データとして、電圧補正パターン記憶部8に記憶している。   Therefore, when the curve C in FIG. 3B 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 a motor driving voltage described later is stored. When correcting the motor drive voltage waveform by the waveform correction unit 11, 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 8. In FIG. 3B, 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 8 as normalized data in which the average of correction amounts for one cycle is 1.

なお、電圧補正パターンは、図3(c)のように図3(b)の曲線Cを近似した形状とすることもできる。図3(a)に示す負荷トルク曲線Aは負荷状況や回転数などによって形状が変化すること、また、量産品の場合は個体差が生じることから、図3(b)のように厳密に電圧補正パターンを定めても特定の条件でしか合致しない。したがって、図3(c)のように近似した形状を用いても、実際には図3(b)の電圧補正パターンを用いた場合と大差ない効果が得られることが多い。一方、図3(c)のように近似形状とすることで、電圧補正パターンデータとして大量のテーブルデータを記憶しなくとも、関数式を記憶するだけでよく、また、所定の補正係数を与える際も関数式そのものを補正できるので、電圧補正パターン記憶部8の小容量化およびモータ駆動電圧波形補正部11における補正処理の高速化が期待できる。以後の説明では、図3(c)の電圧補正パターンを基にした図3(d)に示す補正パターンが電圧補正パターン記憶部8に記憶されているものとする。   The voltage correction pattern can also have a shape approximating the curve C in FIG. 3B as shown in FIG. The shape of the load torque curve A shown in FIG. 3 (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. Therefore, the voltage is strictly measured as shown in FIG. 3 (b). Even if a correction pattern is defined, it matches only under specific conditions. Therefore, even if an approximate shape as shown in FIG. 3C is used, in many cases, an effect which 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. 3C, 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 formula itself can be corrected, the capacity of the voltage correction pattern storage unit 8 can be reduced and the correction processing in the motor drive voltage waveform correction unit 11 can be speeded up. In the following description, it is assumed that the correction pattern shown in FIG. 3D based on the voltage correction pattern in FIG.

回転数設定部9は、目標とする回転数指令値に対応する強制励磁角周波数を決定し、その決定した強制励磁角周波数をモータ駆動電圧波形作成部10に出力する。なお、目標とする回転数指令値は、例えば、本実施形態に係るモータ制御装置と、同期モータ4と、同期モータ4が駆動する周期的な負荷トルク変動を伴う負荷要素とを備える機器に搭載され、当該機器全体を制御する制御部から回転数設定部9に伝達される。   The rotation speed setting unit 9 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 10. 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 9.

モータ駆動電圧波形作成部10は、所定のデータ個数で構成された正弦波データテーブルを予め記憶しており、強制励磁角周波数に基づいて、同期モータ4のモータ巻線端子の各相に対応したモータ駆動基本電圧波形データ(電気角で120度ずつずらした正弦波データ)を正弦波データテーブルから読み出して、モータ駆動電圧波形補正部11に出力する。なお、本実施形態では、正弦波データテーブルを用いてモータ駆動基本電圧波形を作成したが、本発明はこれに限定されることはなく、例えば、演算によってモータ駆動基本電圧波形を作成しても構わない。   The motor drive voltage waveform creation unit 10 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 (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 11. 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. For example, the motor drive basic voltage waveform may be created by calculation. I do not care.

モータ駆動電圧波形補正部11は、補正係数が与えられた電圧補正パターンを用いてモータ駆動基本電圧波形を補正する。また、モータ駆動電流記憶部7に記憶されたモータ駆動電流からモータ駆動電流の変動量を検出し、モータ駆動電流の変動量を指標として、電圧補正パターンの補正係数を決定する。モータ駆動電圧波形補正部11の詳細な動作については後述する。   The motor drive voltage waveform correction unit 11 corrects the motor drive basic voltage waveform using a voltage correction pattern to which a correction coefficient is given. Further, the fluctuation amount of the motor driving current is detected from the motor driving current stored in the motor driving current storage unit 7, and the correction coefficient of the voltage correction pattern is determined using the fluctuation amount of the motor driving current as an index. The detailed operation of the motor drive voltage waveform correction unit 11 will be described later.

PWM波形作成部12は、モータ駆動電圧波形補正部11から出力される補正後の各相モータ駆動電圧波形データを各相PWM波形信号に変換し、その変換した各相PWM波形信号をインバータ回路3の対応する各駆動素子(U相上側駆動素子QU、U相下側駆動素子Qx、V相上側駆動素子QV、V相下側駆動素子Qy、W相上側駆動素子QW、W相下側駆動素子Qz)に出力する。例えば、PWM波形作成部12は、PWMキャリア周期で三角波を発生させ、この三角波と補正後の各相モータ駆動電圧波形とを比較し、その比較結果に基づいてHigh/Low出力することで、各相のPWM波形信号を出力する。インバータ回路3は、コンバータ回路2からの直流電圧を、各相のPWM波形信号に基づいて各相のモータ駆動波形に変換し、その各相のモータ駆動波形を同期モータ4の各相のモータ巻線に印加する。これにより、同期モータ4のロータが回転する。 The PWM waveform creation unit 12 converts each phase motor drive voltage waveform data after correction output from the motor drive voltage waveform correction unit 11 into each phase PWM waveform signal, and the converted phase PWM waveform signal is converted to 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 12 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.

次に、モータ駆動電圧波形補正部11の詳細な動作について説明する。以下、同期モータ4が3相4極のモータである場合について説明する。また、負荷要素における負荷トルク変動1周期分は、同期モータ4の1回転分であるとする。モータ駆動電圧波形補正部11は、同期モータ4を起動する際に図4A及び図4Bに示すフロー動作を開始する。   Next, the detailed operation of the motor drive voltage waveform correction unit 11 will be described. Hereinafter, the case where the synchronous motor 4 is a three-phase four-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 11 starts the flow operation shown in FIGS. 4A and 4B when starting the synchronous motor 4.

まず、モータ駆動電圧波形補正部11は、位相ずれ量θの初期値を0に、補正ゲインMの初期値を1に設定する(ステップS10)。その後、モータ駆動電圧波形補正部11は、電圧補正パターン記憶部8から電圧補正パターンを読み込む(ステップS20)。   First, the motor drive voltage waveform correction unit 11 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 11 reads a voltage correction pattern from the voltage correction pattern storage unit 8 (step S20).

次に、モータ駆動電圧波形補正部11は、電圧補正パターンのそれぞれの角度ごとの補正量に補正ゲインMを掛ける(ステップS30)。そして、電圧補正パターンの位相を、モータ駆動基本電圧波形の位相に対してθ°ずらす(ステップS40)。   Next, the motor drive voltage waveform correction unit 11 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).

次に、モータ駆動電圧波形補正部11は、それぞれの角度(それぞれの角度は離散的な値であってもよく、連続的な値であってもよい。)で電圧補正パターンの補正値に応じてモータ駆動基本電圧波形の振幅および角速度を補正し、電圧補正パターンの補正値が大きいほどモータ駆動基本電圧波形の振幅が大きくなり且つモータ駆動基本電圧波形の角速度が大きくなるように、電圧補正パターンの補正値が小さいほどモータ駆動基本電圧波形の振幅が小さくなり且つモータ駆動基本電圧波形の角速度が小さくなるようにする(ステップS50)。   Next, the motor drive voltage waveform correction unit 11 responds to the correction value of the voltage correction pattern at each angle (each angle may be a discrete value or a continuous value). Correct the amplitude and angular velocity of the motor drive basic voltage waveform, and increase the correction value of the voltage correction pattern so that the amplitude of the motor drive basic voltage waveform increases and the angular velocity of the motor drive basic voltage waveform increases. The smaller the correction value, 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).

ここで、補正後の各相のモータ駆動電圧波形Vu、Vv、Vwの一例を図5に示す。図5では、補正後の各相のモータ駆動電圧波形Vu、Vv、Vwとともに、電圧補正パターンPも示している。なお、図5の例では同期モータ4は3相4極のモータのため、モータ1周の電気角は720°となり、すなわち、Vu、Vv、Vwは2サイクルでモータ1周分となる。図5に示す補正後の各相のモータ駆動電圧波形Vu、Vv、Vwは、それぞれの角度で電圧補正パターンPの補正値に応じてモータ駆動電圧波形の振幅のみを補正した波形である。それぞれの角度で電圧補正パターンの補正値に応じてモータ駆動電圧波形の振幅を補正することで、図5に示すように、モータ駆動電圧波形において縦軸方向に拡大している区間と縮小している区間とができる。また、それぞれの角度で電圧補正パターンの補正値に応じてモータ駆動電圧波形の角速度を補正することで、図示は省略しているが、モータ駆動電圧波形において横軸方向に拡大している区間と縮小している区間とができる。   Here, FIG. 5 shows an example of motor drive voltage waveforms Vu, Vv, and Vw of each phase after correction. In FIG. 5, the voltage correction pattern P is also shown with the motor drive voltage waveforms Vu, Vv, and Vw of each phase after correction. In the example of FIG. 5, since the synchronous motor 4 is a three-phase four-pole motor, the electrical angle of one revolution of the motor is 720 °, that is, Vu, Vv, and Vw are equivalent to one revolution of the motor in two cycles. The corrected motor drive voltage waveforms Vu, Vv, Vw shown in FIG. 5 are waveforms obtained by correcting only the amplitude of the motor drive voltage waveform in accordance with 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. 5, 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において、モータ駆動電圧波形補正部11は、ステップS50の処理で補正された各相のモータ駆動電圧波形に基づいて同期モータ4が駆動している状態における各相のモータ駆動電流をモータ駆動電流記憶部7からモータ1回転分、すなわち負荷要素における負荷トルク変動1周期分読み込み、モータ駆動電流波形の脈動量(変動量)を算出する。各相のモータ駆動電流値は、モータ駆動電流推定部6によって推定された相別のモータ駆動電流から各相における所定の角度での値を読み取ることで得られる。所定の角度とは、モータ駆動電圧波形に基づいてモータ駆動電流が最大になると推定される角度であることが好ましい。たとえば、モータ駆動電流の値を読み取る角度は、各相のモータ駆動基本電圧波形がピークとなる角度としてもよい。すなわち、図5において、U相のモータ駆動電流値は、たとえば、電気角で90°、270°、450°、630°の時のU相の電流の値を読み取ることで、得ることができる。同様に、V相、W相のモータ駆動電流の値も読み取り、3相のモータ駆動電流波形の値12点のデータから、最大と最小の値を選んで差をとることで、モータ駆動電流波形の脈動量とすることができる。また、モータ駆動電圧波形に対するモータ駆動電流の位相遅れ量が判っている、または推定できる場合には、モータ駆動電流の値を読み取る角度は、各相のモータ駆動基本電圧波形がピークとなる角度に、上記位相遅れ量を加算した角度とすることができる。これにより、モータ駆動電流波形がピークとなる角度により近い角度でモータ駆動電流の値を読み取ることができ、モータ駆動電流波形の脈動量をより精度高く求めることができる。   In step S60 following step S50, the motor drive voltage waveform correction unit 11 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 preferably an angle estimated to maximize the motor drive current based on the motor drive voltage waveform. For example, the angle at which the value of the motor drive current is read may be an angle at which the motor drive basic voltage waveform of each phase peaks. That is, in FIG. 5, the U-phase motor drive current value can be obtained by, for example, reading the value of the U-phase current when the electrical angle is 90 °, 270 °, 450 °, and 630 °. Similarly, the values of the V and W phase motor drive currents are also read, and the motor drive current waveform is determined by selecting the maximum and minimum values from the 12-point data of the three-phase motor drive current waveform. Pulsation amount. 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.

なお、モータ駆動電流波形の読み取りは上記に限らず、たとえばモータ駆動電流が正または負の値をとる6点からモータ駆動電流波形の脈動量を算出してもよい。また、読み取りをする角度も各相のモータ駆動電圧波形に基づく角度で決めるだけでなく、モータ駆動電流のゼロクロスやピークとなる角度を基準として定めることもできる。   The reading of the motor driving current waveform is not limited to the above, and the pulsation amount of the motor driving current waveform may be calculated from, for example, six points at which the motor driving current takes a positive or negative value. 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.

図6(a)は、図3(d)に示した補正パターンに、位相ずれ量θ=0°、補正ゲインM=1を与えた電圧補正パターンによってモータ駆動電圧波形を補正した場合のモータ駆動電流の例である。なお、図6にて駆動されるモータおよび負荷要素は、電圧補正パターンを求めた図3のモータおよび負荷要素とは、異なる個体であると仮定する。図6(a)の例では、モータ駆動電流波形の最大値(Iw2の絶対値)とモータ駆動電流波形の最小値(Iu4の絶対値)との間に大きな差があり、モータ駆動電流は大きく脈動している。   FIG. 6A 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. It is assumed that the motor and load element driven in FIG. 6 are different from the motor and load element in FIG. 3 for which the voltage correction pattern has been obtained. In the example of FIG. 6A, there is a large difference between the maximum value of the motor drive current waveform (the absolute value of Iw2) and the minimum value of the motor drive current waveform (the absolute value of Iu4), and the motor drive current is large. It is pulsating.

次に、モータ駆動電圧波形補正部11は、(θ+Δθ)が360°以上であるかを判定する(ステップS70)。ここで、Δθとは、電圧補正パターンの位相シフト幅であり、この値を小さくすれば、電圧補正パターンの位相補正係数をより精度よく求めることができる。また、この値を大きくすれば、電圧補正パターンの位相シフト補正係数を求めるための試行回数(ステップS40〜S80の実行回数)を少なくすることができる。本実施例では、Δθ=2°としているので、ステップS40〜S80を180回実行することになる。   Next, the motor drive voltage waveform correction unit 11 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 180 times.

(θ+Δθ)が360°以上でなければ(ステップS70のNO)、モータ駆動電圧波形補正部11は、現在のθの値にΔθを加えた値を新たなθの値として設定し(ステップS80)、その後ステップS40に戻る。一方、(θ+Δθ)が360°以上であれば(ステップS70のYES)、例えば図7に示すようなモータ駆動電流の脈動量と電圧補正パターンの位相ずれ量との関係が得られているので、モータ駆動電圧波形補正部11は、モータ駆動電流の脈動量が最小となる電圧補正パターンの位相ずれ量を、電圧補正パターンの位相補正係数θ0に設定する(ステップS90)。図7に示す例では、θ=60°の場合にモータ駆動電流の脈動量が最小となるので、電圧補正パターンの位相補正係数θ0を60°に設定する。   If (θ + Δθ) is not 360 ° or more (NO in step S70), motor drive voltage waveform correction unit 11 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. 7 is obtained. The motor drive voltage waveform correction unit 11 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. 7, the pulsation amount of the motor drive current is minimized when θ = 60 °, and therefore the phase correction coefficient θ0 of the voltage correction pattern is set to 60 °.

同期モータ4の駆動が継続している限りモータ駆動電流の脈動量が最小となる電圧補正パターンの位相ずれ量の値は大きく変わらない事が多い。このため、ステップS90で確定した電圧補正パターンの位相補正係数は、同期モータ4の回転駆動が継続している間は再設定しなくてもよい。したがって、図4A及び図4Bのフローチャートでは、ステップ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. 4A and 4B, 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において、モータ駆動電圧波形補正部11は、電圧補正パターンの位相を、モータ駆動基本電圧波形の位相に対して、ステップS90で求めた位相補正係数θ0だけずらす。   In step S100 following step S90, the motor drive voltage waveform correction unit 11 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.

次に、モータ駆動電圧波形補正部11は、電圧補正パターンのそれぞれの角度ごとの補正量に補正ゲインMを掛ける(ステップS110)。そして、モータ駆動電圧波形補正部11は、それぞれの角度(それぞれの角度は離散的な値であってもよく、連続的な値であってもよい。)で補正ゲインMが乗算され、位相を位相補正係数θ0だけずらされた電圧補正パターンの補正値に応じてモータ駆動電圧波形の振幅および角速度を補正し、それぞれの角度における電圧補正パターンの補正値が大きいほどモータ駆動電圧波形の振幅が大きくなり且つモータ駆動電圧波形の角速度が大きくなるように、電圧補正パターンの補正値が小さいほどモータ駆動電圧波形の振幅が小さくなり且つモータ駆動電圧波形の角速度が小さくなるようにする(ステップS120)。   Next, the motor drive voltage waveform correction unit 11 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 11 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において、モータ駆動電圧波形補正部11は、ステップS120の処理で補正された各相のモータ駆動電圧波形に基づいて同期モータ4が駆動している状態における各相のモータ駆動電流をモータ駆動電流記憶部7からモータ1回転分、すなわち負荷要素における負荷トルク変動1周期分読み込み、モータ駆動電流波形の脈動量(変動量)を算出する。   In step S130 following step S120, the motor drive voltage waveform correction unit 11 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.

次に、モータ駆動電圧波形補正部11は、今回のモータ駆動電流波形の脈動量と前回のモータ駆動電流波形の脈動量とを比較し、その差が所定値以下かどうかを判定する(ステップS140)。差が所定値以下でなければ(ステップS140のNO)、モータ駆動電流波形の脈動量の最小値が見つけられていないと判断し、ステップS150に進む。一方、差が所定値以下であれば(ステップS140のYES)、モータ駆動電流波形の脈動量の最小値が見つかったと判断し、ステップS200に進む。   Next, the motor drive voltage waveform correction unit 11 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に設定する。図8に示す例では、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. 8, the pulsation amount of the motor drive current is minimized when M = 2, and therefore the gain correction coefficient M0 of the voltage correction pattern is set to 2.

図6(b)は、図3(d)に示した補正パターンに、位相ずれ量θ=60°、補正ゲインM=2を与えた電圧補正パターンによってモータ駆動電圧波形を補正した場合のモータ駆動電流の例である。図6(b)の例では、モータ駆動電流波形の波高値が全て揃っており、モータ駆動電流は脈動していないことになる(図8で脈動量=0となっている)。   FIG. 6B shows motor drive when the motor drive voltage waveform is corrected by a 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. 6B, the crest values of the motor drive current waveform are all the same, and the motor drive current does not pulsate (the pulsation amount = 0 in FIG. 8).

ステップS200に続くステップS210において、モータ駆動電圧波形補正部11は、位相補正係数θ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 11 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.

モータ駆動電圧波形補正部11が上述した図4A及び図4Bに示すフローチャートの動作を行うことにより、位置センサレスで且つ同期モータ4と同期モータ4が駆動する負荷要素との接続位置に関する情報すなわち同期モータ4の電気角と同期モータ4が駆動する負荷要素の機械角との関係に関する情報がなくても、モータ駆動電流の脈動量を小さく(理想的には零に)することができ、同期モータ4を高効率で駆動することができる。   When the motor drive voltage waveform correction unit 11 performs the operations of the flowcharts shown in FIGS. 4A and 4B described above, information on the connection position between 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.

また、モータ駆動電圧波形補正部11が上述した図4A及び図4Bに示すフローチャートの動作を行うことにより、負荷トルク量の変動に関する情報がなくても、負荷トルク量の変動に対応してモータ駆動電流の脈動量を小さく(理想的には零に)することができ、同期モータ4を高効率で駆動することができる。   In addition, the motor drive voltage waveform correction unit 11 performs the operations of the flowcharts shown in FIGS. 4A and 4B described above, so that even if there is no information regarding the change in the load torque amount, the motor drive voltage waveform correction unit 11 can drive the motor 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.

また、モータ駆動電圧波形補正部11が上述した図4A及び図4Bに示すフローチャートの動作を行うことにより、1つの電圧補正パターンを2つの補正係数(位相補正係数、ゲイン補正係数)で補正して、同期モータ4のモータトルクを制御することができるので、モータ制を簡便に、且つ、連続的に制御することができる。   In addition, the motor drive voltage waveform correction unit 11 performs the operations of the flowcharts shown in FIGS. 4A and 4B 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.

<第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.

本実施形態においてモータ駆動電圧波形補正部11は図9A及び図9Bに示すフローチャートの動作を行う。図9A及び図9Bに示すフローチャートは、図4A及び図4Bに示すフローチャートに対して、ステップS70及びS80をステップS61〜S66に置換する第1の変更と、ステップS90をステップS91に置換する第2の変更とを施したものである。モータ駆動電圧波形補正部11が図9A及び図9Bに示すフローチャートの動作を行うことにより、本実施形態に係るモータ制御装置は、本発明の第1実施形態に係るモータ制御装置と同様の効果を奏する。   In the present embodiment, the motor drive voltage waveform correction unit 11 performs the operations of the flowcharts shown in FIGS. 9A and 9B. 9A and 9B is a second modification in which steps S70 and S80 are replaced with steps S61 to S66, and step S90 is replaced with step S91 with respect to the flowcharts shown in FIGS. 4A and 4B. The change was made. When the motor drive voltage waveform correction unit 11 performs the operations of the flowcharts shown in FIGS. 9A and 9B, 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. Play.

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

ステップS61において、モータ駆動電圧波形補正部11は、今回のモータ駆動電流波形の脈動量と前回のモータ駆動電流波形の脈動量とを比較し、その差が所定値以下かどうかを判定する。差が所定値以下でなければ(ステップS61のNO)、モータ駆動電流波形の脈動量の最小値が見つけられていないと判断し、ステップS62に進む。一方、差が所定値以下であれば(ステップS61のYES)、モータ駆動電流波形の脈動量の最小値が見つかったと判断し、ステップS91に進む。   In step S61, the motor drive voltage waveform correction unit 11 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 away, and the amount of step ΔΔ of the complementary phase shift amount θ is maintained. Control goes to step 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.

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

<第3実施形態>
本発明の第3実施形態は、電圧補正パターンの定義方法が本発明の第1実施形態と異なっており、それ以外に関しては本発明の第1実施形態と同一である。
<Third Embodiment>
The third embodiment of the present invention is different from the first embodiment of the present invention in the method of defining the voltage correction pattern, and is otherwise the same as the first 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.

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

本実施形態では、本発明の第1実施形態又は第3実施形態において定義した電圧補正パターンよりも、電圧補正パターン自体の補正量(補正ゲイン量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 first or third 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で位相補正係数を探査する(ステップS10〜S90)際に、電圧補正量が大きすぎてモータ駆動が不安定となり、最悪の場合は脱調に至ってしまうことを防止することができる。また、ゲイン補正係数を探査する(ステップS100〜S200)際に、ゲイン補正係数が1以上であることはほぼ確実となるので、ステップS170及びS180を省くことも可能となり、より早くゲイン補正係数を得られる利点もある。なお、電圧補正パターンの定義を本発明の第1実施形態又は第3実施形態から変更するのではなく、位相補正係数及びゲイン補正係数探査時の最初の補正ゲイン量Mを1より小さくすることによっても、上記と同様の効果を得ることができる。     As a result, when searching for the phase correction coefficient at M = 1 (steps S10 to S90), the voltage correction amount is too large and the motor drive becomes unstable, and in the worst case, the step-out is prevented. Can do. 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), steps S170 and S180 can be omitted, and the gain correction coefficient can be quickly determined. There are also benefits to be gained. The definition of the voltage correction pattern is not changed from the first embodiment or the third embodiment of the present invention, but the initial correction gain amount M when 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).

<第5実施形態>
本発明の第5実施形態に係るモータ制御装置の概略構成は、本発明の第1実施形態に係るモータ制御装置の概略構成と同一である。
<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 first embodiment of the present invention.

本実施形態においてモータ駆動電圧波形補正部11は図10A及び10Bに示すフローチャートの動作を行う。図10A及び10Bに示すフローチャートは、図4A及び4Bに示すフローチャートに対して、ステップS90をステップS92〜S95に置換する第3の変更を施したものである。   In the present embodiment, the motor drive voltage waveform correction unit 11 performs the operations of the flowcharts shown in FIGS. 10A and 10B. The flowchart shown in FIGS. 10A and 10B is obtained by performing a third change in which step S90 is replaced with steps S92 to S95 with respect to the flowchart shown in FIGS. 4A and 4B.

以下、第3の変更に関するモータ駆動電圧波形補正部11の動作について説明し、第3の変更以外に関するモータ駆動電圧波形補正部11の動作については本発明の第1実施形態と同一であるため説明を省略する。   The operation of the motor drive voltage waveform correction unit 11 related to the third change will be described below, and the operation of the motor drive voltage waveform correction unit 11 related to other than the third change is the same as that of the first embodiment of the present invention. Is omitted.

ステップS92において、モータ駆動電圧波形補正部11は、モータ駆動電流の脈動量が最小となる電圧補正パターンの位相ずれ量θ1に設定する。   In step S92, the motor drive voltage waveform correction unit 11 sets the phase shift amount θ1 of the voltage correction pattern that minimizes the pulsation amount of the motor drive current.

ステップS92に続くステップS93において、モータ駆動電圧波形補正部11は、位相ずれ量θ1と過去の位相補正係数値との差、位相ずれ量θ1と過去の位相補正係数値に応じた値との差の全てが所定値(例えば10°)以上であるかどうかを判定する。   In step S93 following step S92, the motor drive voltage waveform correction unit 11 determines the difference between the phase shift amount θ1 and the past phase correction coefficient value, and the difference between the phase shift amount θ1 and a value corresponding to the past phase correction coefficient value. Are all equal to or greater than a predetermined value (for example, 10 °).

位相補正係数は理論上特定の角度となる(例えば、3相4極のモータの場合には、位相補正係数は、180°離れた2つの値しか理論上取らない)ので、過去に探査した位相補正係数を不揮発性の記憶部などに記憶させておき、位相ずれ量θ1と過去の位相補正係数値との差、位相ずれ量θ1と過去の位相補正係数値に応じた値(例えば、3相4極のモータの場合には、過去の位相補正係数値から180°離れた値)との差の全てが所定値(例えば10°)以上である場合には、負荷要素が通常範囲内ではない(たとえば、冷凍サイクルの負荷が過負荷状態で、圧縮機(負荷要素)に入る冷媒の圧力や温度が高すぎる)と判断し、負荷要素が通常範囲内であると判断されるまでは位相ずれ量θ1を新たな位相補正係数に設定しないようにする。具体的には、次のような処理を実行する。   The phase correction coefficient is theoretically a specific angle (for example, in the case of a three-phase four-pole motor, the phase correction coefficient theoretically takes only two values that are 180 degrees apart). The correction coefficient is stored in a nonvolatile storage unit or the like, and the difference between the phase shift amount θ1 and the past phase correction coefficient value, the value corresponding to the phase shift amount θ1 and the past phase correction coefficient value (for example, three-phase In the case of a 4-pole motor, the load element is not within the normal range when all of the differences from the past phase correction coefficient value are 180 ° or more are a predetermined value (for example, 10 °) or more. (For example, when the load of the refrigeration cycle is overloaded and the pressure or temperature of the refrigerant entering the compressor (load element) is too high), the phase shifts until it is determined that the load element is within the normal range. The amount θ1 is not set to a new phase correction coefficient. Specifically, the following processing is executed.

位相ずれ量θ1と過去の位相補正係数値との差、位相ずれ量θ1と過去の位相補正係数値に応じた値との差の全てが所定値以上であれば(ステップS93のYES)、ステップS92を所定回数実行したかどうかを判定する(ステップS94)。ステップS92を所定回数実行した場合(ステップS94のYES)にはフロー動作を終了し、電圧補正パターンを用いたモータ駆動基本電圧波形の補正を行わずに同期モータ4を駆動させる。ステップS92を所定回数実行していない場合(ステップS94のNO)にはステップS10に戻り再度位相探査を行う。   If the difference between the phase shift amount θ1 and the past phase correction coefficient value, and the difference between the phase shift amount θ1 and the value corresponding to the past phase correction coefficient value are all equal to or greater than a predetermined value (YES in step S93), step It is determined whether S92 has been executed a predetermined number of times (step S94). When step S92 is executed a predetermined number of times (YES in step S94), the flow operation is terminated, and the synchronous motor 4 is driven without correcting the motor drive basic voltage waveform using the voltage correction pattern. If step S92 has not been executed a predetermined number of times (NO in step S94), the process returns to step S10 and the phase search is performed again.

位相ずれ量θ1と過去の位相補正係数値との差、位相ずれ量θ1と過去の位相補正係数値に応じた値との差の少なくとも一つが所定値未満であれば(ステップS93のNO)、位相ずれ量θ1を電圧補正パターンの位相補正係数θ0とする(ステップS95)。   If at least one of the difference between the phase shift amount θ1 and the past phase correction coefficient value and the difference between the phase shift amount θ1 and the value according to the past phase correction coefficient value are less than a predetermined value (NO in step S93). The phase shift amount θ1 is set as the phase correction coefficient θ0 of the voltage correction pattern (step S95).

本実施形態では、負荷要素が通常範囲内ではない状態で電圧補正パターンの補正係数を最適化してしまうことを防止できる。また、この状態では同期モータ4の回転数を所定の回転数(例えばモータの起動時の維持回転数)未満とならないように制御してもよく、この場合には、負荷要素が通常範囲内ではない状態において、同期モータ4が所定の回転数未満となり、振動や脱調が発生することを防止することができる。   In the present embodiment, it is possible to prevent the correction coefficient of the voltage correction pattern from being optimized in a state where the load element is not within the normal range. In this state, the rotation speed of the synchronous motor 4 may be controlled so as not to be less than a predetermined rotation speed (for example, the maintenance rotation speed when the motor is started). In this case, the load element is within the normal range. In such a state, it is possible to prevent the synchronous motor 4 from becoming less than the predetermined number of rotations and causing vibration and step-out.

なお、ステップS94の代わりに、フロー動作開始からの経過時間を計時し、その経過時間が所定時間を超えるかどうかを判定するステップとしてもよい。また、ステップS92を所定回数実行したと判定した場合や図10A及び図10Bのフロー開始からの経過時間が所定時間を超えたと判定した場合に、フロー動作を終了するのではなく、過去の位相補正係数を今回の位相補正係数θ0として用いてステップS100に移行するようにしてもよい。   Instead of step S94, the elapsed time from the start of the flow operation may be measured, and it may be determined whether the elapsed time exceeds a predetermined time. When it is determined that step S92 has been executed a predetermined number of times, or when it is determined that the elapsed time from the start of the flow in FIGS. 10A and 10B has exceeded a predetermined time, the flow operation is not terminated, but past phase correction is performed. The coefficient may be used as the current phase correction coefficient θ0 and the process may proceed to step S100.

<第6実施形態>
本発明の第1実施形態では、電圧補正パターンの一例として図3に示すレシプロ型圧縮機のような負荷トルク特性を有した負荷要素に対応する電圧補正パターンを挙げたが、本発明の第6実施形態では、図1Aに示すシングルロータ型圧縮機のような負荷トルク特性を有した負荷要素に対応する電圧補正パターンを用いることにする。
<Sixth Embodiment>
In the first 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. 3 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.

図11(a)は図1Aに示すシングルロータ型圧縮機のような負荷トルク特性を有した負荷要素について、1周期分の負荷トルク特性を示している。図11(a)において、負荷トルク平均値Bは、負荷トルク曲線Aの1周期分の負荷トルク値を平均した値である。   Fig.11 (a) has shown the load torque characteristic for 1 period about the load element which has load torque characteristics like the single rotor type compressor shown to FIG. 1A. In FIG. 11A, 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.

図11(b)の曲線Cは、図11(a)の曲線において、各々の角度における(負荷トルク平均値B)−(負荷トルクA)の値を求めて、角度で積分した曲線である。負荷トルク曲線Aが正弦波に近い形状であるため、負荷トルク曲線を正弦波(sinθ)で近似できれば、曲線Cを近似した図11(c)の曲線は余弦波形状(=cosθ)とすることができる。   A curve C in FIG. 11B 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. 11C approximating the curve C has a cosine wave shape (= cos θ). Can do.

本実施形態に係るモータ制御装置の概略構成は、本発明の第1実施形態に係るモータ制御装置の概略構成と同一であり、モータ駆動電圧波形補正部11の動作も本発明の第1実施形態〜第5実施形態のいずれかと同様にすれば良いので、ここでは説明を省略する。   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 first embodiment of the present invention. Since it may be the same as that of any of the fifth embodiment, the description 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.

<まとめ>
以上、本発明の実施形態につき説明したが、本発明の範囲はこれに限定されるものではなく、発明の主旨を逸脱しない範囲で種々の変更を加えて実施することができる。例えば、マイクロコンピュータA1と同一の機能を複数のマイクロコンピュータによって実現してもよく、マイクロコンピュータA1の一部または全部の機能を、専用の電気回路などによって実現してもよい。また、複数の実施形態を組み合わせて実施するようにしてもよい。例えば、第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 A1 may be realized by a plurality of microcomputers, and some or all of the functions of the microcomputer A1 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)を制御する装置であって、前記負荷トルク変動の1周期分の角度に対応する電圧補正パターンを記憶する電圧補正パターン記憶部(8)と、前記モータ(4)を駆動するための基本電圧波形を生成するモータ駆動電圧波形作成部(10)と、前記電圧補正パターンに補正係数を与えて前記基本電圧波形を補正するモータ駆動電圧波形補正部(11)とを備えており、前記モータ駆動電圧波形補正部(11)によって生成されたモータ駆動信号によって前記モータ(4)を駆動した際のモータ駆動電流の変動量を検出し、前記モータ駆動電流の変動量を指標として、前記補正係数を決定する構成(第1の構成)とする。   The motor control device described above is a device for controlling a motor (4) that drives a load element having a periodic load torque fluctuation, and a voltage correction pattern corresponding to an angle corresponding to one cycle of the load torque fluctuation. A voltage correction pattern storage unit (8) for storing; a motor drive voltage waveform generation unit (10) for generating a basic voltage waveform for driving the motor (4); A motor drive voltage waveform correction unit (11) for correcting the basic voltage waveform, and the motor (4) driven by the motor drive signal generated by the motor drive voltage waveform correction unit (11) A configuration (first configuration) is provided in which a variation amount of the drive current is detected and the correction coefficient is determined using the variation amount of the motor drive current as an index.

このような構成によると、位置センサレスで且つモータとモータが駆動する負荷要素との接続位置に関する情報すなわちモータの電気角と負荷要素の機械角との関係に関する情報がなくても、モータ駆動電流の脈動量を小さく(理想的には零に)することができ、モータを高効率で駆動することができる。   According to such a configuration, even if there is no position sensorless information related to the connection position between the motor and the load element driven by the motor, that is, information related to the relationship between the electrical angle of the motor and the mechanical angle of the load element, The amount of pulsation can be reduced (ideally zero), and the motor can be driven with high efficiency.

上記第1の構成のモータ制御装置において、前記補正係数は、前記基本電圧波形に対する前記電圧補正パターンの位相を含み、前記位相を異なる値として前記モータを駆動した際の前記モータ駆動電流の変動量を比較した結果を指標として、前記位相を決定する構成(第2の構成)としてもよい。   In the motor control device according to the first configuration, the correction coefficient includes a phase of the voltage correction pattern with respect to the basic voltage waveform, and a fluctuation amount of the motor driving current when the motor is driven with the phase as a different value. It is good also as a structure (2nd structure) which determines the said phase by making the result of comparing these into a parameter | index.

このような構成によると、モータの電気角と負荷要素の機械角との関係に関する情報がなくても、モータの電気角と負荷要素の機械角との関係に適した電圧補正パターンの位相を決定することができ、モータを高効率で駆動することができる。   According to such a configuration, the phase of the voltage correction pattern suitable for the relationship between the electrical angle of the motor and the mechanical angle of the load element can be determined without information on the relationship between the electrical angle of the motor and the mechanical angle of the load element. The motor can be driven with high efficiency.

上記第1又は第2の構成のモータ制御装置において、前記補正係数は、前記電圧補正パターンのゲインを含み、前記ゲインを異なる値として前記モータを駆動した際の前記モータ駆動電流の変動量を比較した結果を指標として、前記ゲインを決定する構成(第3の構成)としてもよい。   In the motor control device having the first or second configuration, the correction coefficient includes a gain of the voltage correction pattern, and compares a fluctuation amount of the motor driving current when the motor is driven with the gain set to a different value. The gain may be determined using the result as an index (third 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.

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

このような構成によると、電圧補正パターンの概形をモータのロータの速度変動パターンの正確な概形に相似させることができるので、モータトルク制御の高精度化が期待できる。   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.

上記第1〜第3のいずれかの構成のモータ制御装置において、前記電圧補正パターンの形状は、前記負荷要素を一定のトルクで回転させたときの、負荷トルク変動1周期分の角速度変化を測定し、その変動パターンに基づく形状とする構成(第5の構成)としてもよい。   In the motor control device having any one of the first to third 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 (fifth 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.

上記第4又は第5の構成のモータ制御装置において、前記電圧補正パターンの形状は、基となる前記関数または前記変動パターンに比べて、補正量を小さくした形状である構成(第6の構成)としてもよい。   In the motor control device having the fourth or fifth 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 (sixth 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〜第6のいずれかの構成のモータ制御装置において、前記補正係数の候補値を決定し、前記候補値と過去の前記補正係数の値との差、前記候補値と過去の前記補正係数の値に応じた値との差の全てが所定値以上である場合には、前記候補値を採用しない構成(第7の構成)としてもよい。   In the motor control device having any one of the first to sixth configurations, a candidate value of the correction coefficient is determined, a difference between the candidate value and a past correction coefficient value, the candidate value and the past correction When all the differences from the values corresponding to the coefficient values are equal to or greater than a predetermined value, the configuration may be such that the candidate value is not employed (seventh configuration).

このような構成によると、負荷要素が通常範囲内ではない状態で電圧補正パターンの補正係数を最適化してしまうことを防止できるので、負荷要素が通常範囲内ではない状態において、モータが所定の回転数(例えばモータの起動時の維持回転数)以下となり、振動や脱調が発生することを防止することができる。   According to such a configuration, it is possible to prevent the correction coefficient of the voltage correction pattern from being optimized while the load element is not within the normal range. Therefore, when the load element is not within the normal range, the motor rotates at a predetermined speed. Therefore, vibrations and step-out can be prevented from occurring.

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

1 交流電源
2 コンバータ回路
3 インバータ回路
4 同期モータ
5 電流検出回路
6 モータ駆動電流推定部
7 モータ駆動電流記憶部
8 電圧補正パターン記憶部
9 回転数設定部
10 モータ駆動電圧波形作成部
11 モータ駆動電圧波形補正部
12 PWM波形作成部
A1 マイクロコンピュータ
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 Voltage correction pattern memory | storage part 9 Rotation speed setting part 10 Motor drive voltage waveform creation part 11 Motor drive voltage Waveform correction unit 12 PWM waveform creation unit A1 Microcomputer R1 Current detection resistor (shunt resistor)

Claims (5)

周期的な負荷トルク変動を有する負荷要素を駆動するモータを制御する装置であって、
前記負荷トルク変動の1周期分の角度に対応する電圧補正パターンを記憶する電圧補正パターン記憶部と、
前記モータを駆動するための基本電圧波形を生成するモータ駆動電圧波形作成部と、
前記電圧補正パターンに補正係数を与えて前記基本電圧波形を補正するモータ駆動電圧波形補正部とを備えており、
前記モータ駆動電圧波形補正部によって生成されたモータ駆動信号によって前記モータを駆動した際のモータ駆動電流の変動量を検出し、前記モータ駆動電流の変動量を指標として、前記補正係数を決定することを特徴とするモータ制御装置。
An apparatus for controlling a motor that drives a load element having periodic load torque fluctuations,
A voltage correction pattern storage unit that stores a voltage correction pattern corresponding to an angle of one cycle of the load torque fluctuation;
A motor drive voltage waveform generation unit for generating a basic voltage waveform for driving the motor;
A motor drive voltage waveform correction unit that corrects the basic voltage waveform by giving a correction coefficient to the voltage correction pattern;
Detecting a fluctuation amount of a motor driving current when the motor is driven by a motor driving signal generated by the motor driving voltage waveform correction unit, and determining the correction coefficient using the fluctuation amount of the motor driving current as an index. A motor control device.
前記補正係数は、前記基本電圧波形に対する前記電圧補正パターンの位相を含み、前記位相を異なる値として前記モータを駆動した際の前記モータ駆動電流の変動量を比較した結果を指標として、前記位相を決定する請求項1に記載のモータ制御装置。   The correction coefficient includes a phase of the voltage correction pattern with respect to the basic voltage waveform, and uses the result of comparing the fluctuation amount of the motor driving current when the motor is driven with the phase as a different value, and using the phase as an index. The motor control device according to claim 1, wherein the motor control device is determined. 前記補正係数は、前記電圧補正パターンのゲインを含み、前記ゲインを異なる値として前記モータを駆動した際の前記モータ駆動電流の変動量を比較した結果を指標として、前記ゲインを決定する請求項1または2に記載のモータ制御装置。   2. The correction coefficient includes a gain of the voltage correction pattern, and determines the gain using as an index the result of comparing the amount of fluctuation of the motor drive current when the motor is driven with the gain set to a different value. Or the motor control apparatus of 2. 前記電圧補正パターンの形状は、前記負荷要素の角度ごとの負荷トルク値を前記負荷要素の前記1周期分の負荷トルクの平均値から差し引いた値を、前記負荷要素の角度で積分した関数に基づく形状である請求項1〜3のいずれか1項に記載のモータ制御装置。   The shape of the voltage correction pattern is based on a function obtained by integrating a value 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 period of the load element by the angle of the load element. The motor control device according to claim 1, wherein the motor control device has a shape. 請求項1〜4のいずれか1項に記載のモータ制御装置と、
前記モータ制御装置によって駆動される同期モータと、
前記同期モータが駆動する圧縮機とを備えることを特徴とする冷凍・空調装置。
The motor control device according to any one of claims 1 to 4,
A synchronous motor driven by the motor control device;
And a compressor driven by the synchronous motor.
JP2013239082A 2013-11-19 2013-11-19 Motor control device and refrigeration / air-conditioning device Active JP5658812B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2013239082A JP5658812B1 (en) 2013-11-19 2013-11-19 Motor control device and refrigeration / air-conditioning device
CN201480058570.4A CN105683571B (en) 2013-11-19 2014-08-21 Motor control assembly and freezing, air-conditioning device
PCT/JP2014/071827 WO2015075980A1 (en) 2013-11-19 2014-08-21 Motor control device and refrigerating/air-conditioning device
MYPI2016000728A MY174940A (en) 2013-11-19 2014-08-21 Motor control device and refrigerating/air-conditioning device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013239082A JP5658812B1 (en) 2013-11-19 2013-11-19 Motor control device and refrigeration / air-conditioning device

Publications (2)

Publication Number Publication Date
JP5658812B1 true JP5658812B1 (en) 2015-01-28
JP2015100206A JP2015100206A (en) 2015-05-28

Family

ID=52437473

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013239082A Active JP5658812B1 (en) 2013-11-19 2013-11-19 Motor control device and refrigeration / air-conditioning device

Country Status (4)

Country Link
JP (1) JP5658812B1 (en)
CN (1) CN105683571B (en)
MY (1) MY174940A (en)
WO (1) WO2015075980A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6321130B1 (en) * 2016-12-13 2018-05-09 北斗制御株式会社 Electric field position error correction method
JP6822286B2 (en) * 2017-03-31 2021-01-27 株式会社富士通ゼネラル Motor control device
JP7058562B2 (en) * 2018-06-07 2022-04-22 株式会社コロナ Motor control device and air conditioner
CN110296065B (en) * 2019-07-15 2020-12-18 深圳市锐钜科技有限公司 Compressor torque compensation method for inhibiting voltage fluctuation of direct-current bus
CN112994571B (en) * 2019-12-17 2023-03-14 广东美芝制冷设备有限公司 Compressor, control method thereof, torque compensation method, torque compensation device and storage medium
CN114719476B (en) * 2022-03-03 2023-12-15 上海海立(集团)股份有限公司 Compressor, operation control method and system thereof, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0232788A (en) * 1987-06-12 1990-02-02 Hitachi Ltd Control of motor and motor control device
JPH0866087A (en) * 1994-08-25 1996-03-08 Matsushita Electric Ind Co Ltd Inverter controller
JP2004274841A (en) * 2003-03-06 2004-09-30 Sharp Corp Motor controller, and air conditioner and refrigerator using the same
JP2004320985A (en) * 2003-04-03 2004-11-11 Matsushita Electric Ind Co Ltd Inverter controller for driving motor and air conditioner

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5646499A (en) * 1994-08-25 1997-07-08 Matsushita Electric Industrial Co.,Ltd. Inverter control apparatus
GB0908111D0 (en) * 2009-05-12 2009-06-24 Peto Raymond J A motor controller & related method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0232788A (en) * 1987-06-12 1990-02-02 Hitachi Ltd Control of motor and motor control device
JPH0866087A (en) * 1994-08-25 1996-03-08 Matsushita Electric Ind Co Ltd Inverter controller
JP2004274841A (en) * 2003-03-06 2004-09-30 Sharp Corp Motor controller, and air conditioner and refrigerator using the same
JP2004320985A (en) * 2003-04-03 2004-11-11 Matsushita Electric Ind Co Ltd Inverter controller for driving motor and air conditioner

Also Published As

Publication number Publication date
WO2015075980A1 (en) 2015-05-28
CN105683571B (en) 2017-09-22
MY174940A (en) 2020-05-27
JP2015100206A (en) 2015-05-28
CN105683571A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
JP5658812B1 (en) Motor control device and refrigeration / air-conditioning device
KR100738755B1 (en) Motor controlling device, compressor, air conditioner and refrigerator
JP5195444B2 (en) Brushless DC motor driving apparatus, refrigerator and air conditioner using the same
KR100732717B1 (en) Motor system and control method thereof, and compressor using the same
US20110194947A1 (en) Apparatus for driving compressor of air conditioner and method for driving the same
JP6010071B2 (en) Motor control device and refrigeration / air-conditioning device
TWI355477B (en)
JP2002247876A (en) Inverter device, compressor controlling device, freezer and air conditioner controlling device, motor controlling method, compressor, freezer and air conditioner
JP4804100B2 (en) Motor drive device, control method therefor, and air conditioner
JP2004343993A (en) Motor controller, compressor, air conditioner, and refrigerator
JP5385557B2 (en) Motor control device, compressor drive device, and refrigeration / air conditioning device
KR101770425B1 (en) Refrigerator and controlling method thereof
JP2010226842A (en) Control method and control apparatus for brushless dc motor
JP2009017613A (en) Controller, drive system, and heat transfer system
JP6005429B2 (en) Motor control device and control method
JP2020139461A (en) Electric compressor
JP4469185B2 (en) Inverter control device, inverter control method, hermetic compressor, and refrigeration air conditioner
JP2010252480A (en) Motor drive and refrigerator using the same
JP6286669B2 (en) Inverter control device
JP5747145B2 (en) Motor drive device and electric apparatus using the same
JP2003204691A (en) Motor controller, freezer air conditioner, and motor control method
JP2011193585A (en) Motor drive and electric equipment using the same
JP5604991B2 (en) MOTOR DRIVE DEVICE AND ELECTRIC DEVICE USING THE SAME
JP5621443B2 (en) MOTOR DRIVE DEVICE AND ELECTRIC DEVICE USING THE SAME
EP3355466A1 (en) Motor control device, rotary compressor system and motor control method

Legal Events

Date Code Title Description
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: 20141104

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141128

R150 Certificate of patent or registration of utility model

Ref document number: 5658812

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150