JP2014143839A - Control device for motor - Google Patents

Control device for motor Download PDF

Info

Publication number
JP2014143839A
JP2014143839A JP2013010914A JP2013010914A JP2014143839A JP 2014143839 A JP2014143839 A JP 2014143839A JP 2013010914 A JP2013010914 A JP 2013010914A JP 2013010914 A JP2013010914 A JP 2013010914A JP 2014143839 A JP2014143839 A JP 2014143839A
Authority
JP
Japan
Prior art keywords
spike
motor
detection signal
brushless
spike voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013010914A
Other languages
Japanese (ja)
Inventor
Yuji Nakamura
勇治 中村
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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP2013010914A priority Critical patent/JP2014143839A/en
Publication of JP2014143839A publication Critical patent/JP2014143839A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Motors That Do Not Use Commutators (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a control device for a motor in which, even in the case where an instantaneous interruption occurs in an AC power source, occurrence of step-out in the motor can be accurately detected and performances of the motor can be completely effectively utilized.SOLUTION: In the case where the number of times of discriminating the presence of a spike detection signal generated by using second spike voltage generation time detection means is equal to or less than the predetermined number of times when rising or falling of the spike detection signal cannot be detected, a control section 11 determines that a step-out does not occur in a brushless DC motor 200. In the case where the number of times of discriminating the presence of the spike detection signal exceeds the predetermined number of times, the control section 11 reads out a first spike voltage generation time finally detected and stored by using first spike voltage generation time detection means. When the state where the read first spike voltage generation time is equal to or longer than a predetermined time judging step-out is continued predetermined times, the control section 11 determines that a step-out occurs in the brushless DC motor 200.

Description

本発明は、電動機の制御装置に関わり、詳細にはインバータ制御によって駆動する電動機の制御装置に関する。   The present invention relates to a motor control device, and more particularly to a motor control device driven by inverter control.

従来、空気調和機や冷蔵庫等に搭載される圧縮機は電動機を備えており、電動機としては、例えば、センサレス型の3相ブラシレスDCモータのような、インバータ制御によって駆動するものが適用されることが多い。そして、ブラシレスDCモータの制御方式としては、ブラシレスDCモータを駆動する制御装置に備えられたインバータ回路のスイッチング素子をPWM(Pulse Width Modulation)方式でスイッチング制御するものが知られている。   Conventionally, a compressor mounted in an air conditioner, a refrigerator, or the like has an electric motor, and an electric motor driven by inverter control such as a sensorless three-phase brushless DC motor is applied. There are many. As a control method of the brushless DC motor, there is known a method of switching control of a switching element of an inverter circuit provided in a control device for driving the brushless DC motor by a PWM (Pulse Width Modulation) method.

矩形波駆動によりブラシレスDCモータを駆動しているときは、ブラシレスDCモータの非通電相に誘起電圧が発生するが、この誘起電圧以上の電圧をインバータ回路から供給することでブラシレスDCモータの回転を継続させる。しかし、非通電相に発生する誘起電圧がインバータ回路からの供給電圧よりも高くなると、ブラシレスDCモータの回転数を上昇させることができなくなる。このような場合には、ブラシレスDCモータに供給する電流の位相を誘起電圧に対し進み位相にすることにより、誘起電圧が高い状態でも更に多くの電流をブラシレスDCモータに供給して回転数を上昇させる弱め界磁制御方式を用いて、ブラシレスDCモータの駆動制御を行う(例えば、特許文献1)。   When the brushless DC motor is driven by the rectangular wave drive, an induced voltage is generated in the non-energized phase of the brushless DC motor. By supplying a voltage higher than the induced voltage from the inverter circuit, the brushless DC motor is rotated. Let it continue. However, if the induced voltage generated in the non-energized phase is higher than the supply voltage from the inverter circuit, the rotational speed of the brushless DC motor cannot be increased. In such a case, by setting the phase of the current supplied to the brushless DC motor to a phase that is advanced with respect to the induced voltage, even when the induced voltage is high, more current is supplied to the brushless DC motor and the rotational speed is increased. The drive control of the brushless DC motor is performed by using the field weakening control method (for example, Patent Document 1).

ところで、上記のようなブラシレスDCモータでは、モータのトルク不足(過負荷)等に起因して脱調が発生するおそれがあり、脱調が発生すれば、例えば、ブラシレスDCモータへの通電を止めてブラシレスDCモータを停止させる脱調保護制御を行う必要がある。   By the way, in the brushless DC motor as described above, there is a possibility that the step-out may occur due to insufficient torque (overload) of the motor. If the step-out occurs, for example, energization of the brushless DC motor is stopped. Therefore, it is necessary to perform step-out protection control for stopping the brushless DC motor.

矩形波駆動を行っているブラシレスDCモータでは、通電切り替えによって非通電相に還流電流が流れ、これに起因して各相にはスパイク電圧が発生する。このスパイク電圧は、ブラシレスDCモータの各相の電圧波形にスパイク状の波形(以後、スパイク電圧波形と記載)として現れるが、このスパイク電圧波形を用いて脱調発生を検知する方法が提案されている。   In a brushless DC motor that performs rectangular wave driving, a return current flows in a non-energized phase due to energization switching, and as a result, a spike voltage is generated in each phase. The spike voltage appears as a spike-like waveform (hereinafter referred to as a spike voltage waveform) in the voltage waveform of each phase of the brushless DC motor. A method for detecting the occurrence of step-out using this spike voltage waveform has been proposed. Yes.

脱調が発生すれば、還流電流が流れる時間(還流電流時間)が長くなり、スパイク電圧が発生している時間(以後、スパイク電圧の発生時間と記載)も長くなる。また、ブラシレスDCモータの制御手段は、ブラシレスDCモータに関する様々な処理を並列で行っており、スパイク電圧の検出は、所定のタイミング、例えば、インバータ回路を構成するスイッチング素子をオンするタイミングで実行する割り込み処理により行っている。   When step-out occurs, the time during which the reflux current flows (circulation current time) becomes longer, and the time during which the spike voltage is generated (hereinafter referred to as the spike voltage generation time) also becomes longer. The brushless DC motor control means performs various processes related to the brushless DC motor in parallel, and the spike voltage is detected at a predetermined timing, for example, at a timing when the switching elements constituting the inverter circuit are turned on. This is done by interrupt processing.

従って、スパイク電圧の発生時間が脱調により長くなって、スパイク電圧を検出する割り込み処理を行う期間が終了した後にスパイク電圧波形の立ち上がり/立ち下がりがくれば、スパイク電圧波形の立ち上がり/立ち下がりを検出できなくなる。この状態が所定回数、例えば5回連続して発生すれば、制御手段はブラシレスDCモータで脱調が発生したと判断し、脱調保護制御を実行してブラシレスDCモータを停止させる。   Therefore, if the spike voltage generation time becomes longer due to a step-out and the spike voltage waveform rises / falls after the end of the interrupt processing period for detecting the spike voltage, the spike voltage waveform rises / falls. Can no longer be detected. If this state occurs continuously for a predetermined number of times, for example, 5 times, the control means determines that a step-out has occurred in the brushless DC motor, executes step-out protection control, and stops the brushless DC motor.

しかし、上述したように、ブラシレスDCモータの制御手段は、スパイク電圧波形の立ち上がり/立ち下がりを検出する割り込み処理を含めてブラシレスDCモータに関する様々な処理を並列で行っているため、制御手段で並列に実行する処理が多く制御手段に大きな負荷が加わっている場合は、スパイク電圧波形の立ち上がり/立ち下がりを検出する割り込み処理を実行するタイミングとなっても、実際にスパイク電圧波形の立ち上がり/立ち下がりを検出するタイミングが遅れることがある。   However, as described above, the control unit of the brushless DC motor performs various processes related to the brushless DC motor in parallel including the interrupt process for detecting the rising / falling edge of the spike voltage waveform. If there is a lot of processing to be executed at the same time and a large load is applied to the control means, the rise / fall of the spike voltage waveform is actually executed even when the interrupt processing for detecting the rise / fall of the spike voltage waveform is executed. The timing for detecting the may be delayed.

また、ブラシレスDCモータに加えられる負荷が軽減されたときは、ブラシレスDCモータで脱調が発生した場合とは逆にスパイク電圧の発生時間が短くなることがある。スパイク電圧の発生時間が短くなったときに上記のように制御手段でスパイク電圧波形の立ち上がり/立ち下がりの検出するタイミングが遅れれば、スパイク電圧波形の立ち上がり/立ち下がりの検出する割り込み処理を行う前にスパイク電圧波形の立ち上がり/立ち下がりがくることとなり、スパイク電圧波形の立ち上がり/立ち下がりを検出できなくなる虞がある。   When the load applied to the brushless DC motor is reduced, the spike voltage generation time may be shortened, contrary to the case where the step-out occurs in the brushless DC motor. If the timing for detecting the rise / fall of the spike voltage waveform is delayed by the control means as described above when the spike voltage generation time is shortened, before the interrupt processing for detecting the spike voltage waveform rise / fall is performed. In this case, the spike voltage waveform rises / falls and the spike voltage waveform rise / fall may not be detected.

従来のブラシレスDCモータでは、スパイク電圧波形の立ち上がり/立ち下がりを検出できない状態が所定回数連続して発生すれば、その原因に関わらず脱調保護制御を実行していた。従って、制御手段で実行するスパイク電圧波形の立ち上がり/立ち下がりを検出する割り込み処理の遅れによってスパイク電圧波形の立ち上がり/立ち下がりを検出できない場合、つまり、脱調が発生している可能性が低い場合であっても、脱調保護制御を実行してブラシレスDCモータを停止していたので、不必要にブラシレスDCモータを停止させるという問題があった。   In the conventional brushless DC motor, if a state where the rising / falling of the spike voltage waveform cannot be detected continuously occurs a predetermined number of times, the step-out protection control is executed regardless of the cause. Therefore, when the spike voltage waveform rise / fall cannot be detected due to a delay in the interrupt processing for detecting the rise / fall of the spike voltage waveform executed by the control means, that is, when it is unlikely that a step-out has occurred. Even so, since the step-out protection control is executed and the brushless DC motor is stopped, there is a problem that the brushless DC motor is stopped unnecessarily.

そこで、本出願人は、ブラシレスDCモータの各相で発生するスパイク電圧を検出してスパイク電圧の発生時間を記憶するとともに、スパイク電圧の波形であるスパイク電圧波形を用いてスパイク検出信号を生成し、このスパイク検出信号の立ち上がりあるいは立ち下がりを検出できないときに、最後に検出して記憶したスパイク電圧の発生時間を読み出し、読み出した発生時間が脱調と判断する所定時間以上で、かつ、所定回数スパイク検出信号の立ち上がりあるいは立ち下がりを検出できない場合は、ブラシレスDCモータが脱調したと判断する制御装置について、先に提案している(特願2012−30025)。   Therefore, the present applicant detects the spike voltage generated in each phase of the brushless DC motor, stores the spike voltage generation time, and generates a spike detection signal using the spike voltage waveform which is the spike voltage waveform. When the spike detection signal rise or fall cannot be detected, the spike voltage generation time that was detected and stored last is read, and the read generation time is equal to or longer than the predetermined time for determining out-of-step and the predetermined number of times. A control device that determines that the brushless DC motor has stepped out when the rising or falling edge of the spike detection signal cannot be detected has been proposed (Japanese Patent Application No. 2012-30025).

上記の制御装置によれば、スパイク検出信号の立ち上がりあるいは立ち下がりを検出できなくなった原因が脱調によるものであるか否かを、スパイク検出信号の立ち上がりあるいは立ち下がりを検出できなくなった直前のスパイク電圧の発生時間を用いて判断しているので、脱調が発生している可能性が低い場合に脱調保護制御を実行させないことで、不必要にブラシレスDCモータを停止させないようにする。   According to the control device described above, whether or not the rise or fall of the spike detection signal can be detected is due to step-out, whether or not the spike immediately before the rise or fall of the spike detection signal can no longer be detected. Since the determination is made using the voltage generation time, the step-out protection control is not executed when there is a low possibility that step-out has occurred, so that the brushless DC motor is not stopped unnecessarily.

特開2003−199382号公報(第4〜5頁、第5図、第6図)Japanese Patent Laid-Open No. 2003-199382 (pages 4 to 5, FIGS. 5 and 6)

しかし、上述したブラシレスDCモータの制御装置では、商用電源等の交流電源からの瞬間的な電力供給の遮断(以下、瞬断と記載する)が発生した場合については、何ら考慮されていない。瞬断が発生すると、ブラシレスDCモータが脱調に近づいて還流電流が流れる時間が長くなるので、スパイク電圧の発生時間も長くなる。従って、制御装置で実行するスパイク検出信号の立ち上がり/立ち下がりを検出する割り込み処理の遅れによってスパイク検出信号の立ち上がり/立ち下がりを検出できないときに、最後に検出して記憶するスパイク電圧の発生時間が瞬断により長くなっている場合は、脱調が発生していると誤判定する虞があった。   However, in the brushless DC motor control device described above, no consideration is given to a case where an instantaneous power supply interruption (hereinafter referred to as an instantaneous interruption) from an AC power supply such as a commercial power supply occurs. When a momentary interruption occurs, the brushless DC motor approaches a step-out and the time during which the return current flows increases, so the spike voltage generation time also increases. Accordingly, when the rise / fall of the spike detection signal cannot be detected due to the delay of the interrupt processing for detecting the rise / fall of the spike detection signal executed by the control device, the generation time of the spike voltage to be detected and stored last is generated. If it is longer due to a momentary interruption, there is a risk of erroneously determining that a step-out has occurred.

本発明は以上述べた問題点を解決するものであって、交流電源に瞬断が発生した場合でも、電動機での脱調発生を的確に検知でき、電動機の性能を十分に活かしきれる電動機の制御装置を提供することを目的とする。   The present invention solves the above-described problems, and even when a momentary interruption occurs in the AC power supply, it is possible to accurately detect the occurrence of step-out in the motor, and control the motor to fully utilize the performance of the motor. An object is to provide an apparatus.

上記の課題を解決するために、本発明の電動機の制御装置は、直流電力をインバータによって交流電力に変換して電動機に供給し、電動機の回転制御を行うものであって、電動機の制御装置は、電動機の各相への通電切り替えの際に発生する還流電流に起因して発生するスパイク電圧の波形であるスパイク電圧波形を用いてスパイク検出信号を生成するとともに、電動機の各相への通電切り替えのタイミングからスパイク検出信号の立ち上がりあるいは立ち下がりのタイミングまでの第1のスパイク電圧発生時間を検知して記憶する第一スパイク電圧発生時間検知手段と、電動機の各相への通電切り替えのタイミングから一定の時間間隔でスパイク電圧波形に対応するスパイク検出信号の有無を判別しこのスパイク検出信号が有りと判別した回数を用いて第2のスパイク電圧発生時間を算出して記憶する第二スパイク電圧発生時間検知手段と、を有するものである。そして、電動機の制御装置は、第二スパイク電圧発生時間検知手段を用いて検知したスパイク検出信号が有りと判別した回数が所定回数以下である場合は電動機が脱調していないと判断し、スパイク検出信号が有りと判別した回数が所定回数を超えた場合は、第一スパイク電圧発生時間検知手段を用いて最後に検知して記憶した第1のスパイク電圧発生時間を読み出し、読み出した第1のスパイク電圧発生時間が所定時間以上でスパイク検出信号の立ち上がりあるいは立ち下がりが検出できない状態が所定回数続いた場合は、電動機が脱調したと判断するものである。   In order to solve the above-described problems, a motor control device of the present invention converts DC power into AC power by an inverter and supplies the AC power to the motor to perform rotation control of the motor. A spike detection signal is generated using a spike voltage waveform that is a waveform of a spike voltage generated due to a return current generated when switching energization to each phase of the motor, and energization switching to each phase of the motor is performed. The first spike voltage generation time detecting means for detecting and storing the first spike voltage generation time from the timing of the first to the rising or falling timing of the spike detection signal, and constant from the timing of switching the energization to each phase of the motor The presence or absence of the spike detection signal corresponding to the spike voltage waveform was determined at the time interval of and it was determined that this spike detection signal was present A second spike voltage generating time detecting means for computing and storing second spike voltage generating time with a number, and has a. When the number of times that the spike detection signal detected using the second spike voltage generation time detection means is less than or equal to a predetermined number, the motor control device determines that the motor has not stepped out, When the number of times that the detection signal is determined exceeds a predetermined number, the first spike voltage generation time that is detected and stored last is read using the first spike voltage generation time detection means, and the read first When the spike voltage generation time is longer than the predetermined time and the state where the spike detection signal rise or fall cannot be detected continues for a predetermined number of times, it is determined that the motor has stepped out.

上記のように構成した本発明の電動機の制御装置は、第二スパイク電圧発生時間検知手段でスパイク検出信号があると判別した回数をカウントし、第一スパイク電圧発生時間検知手段で最後に検知して記憶した第1のスパイク電圧発生時間が瞬断により長くなっていても、第二スパイク電圧発生時間検知手段でスパイク検出信号があると判別した回数が所定回数以下であれば、電動機が脱調していないと判断する。従って、最後に検出して記憶した第1のスパイク電圧発生時間が瞬断により長くなっている場合であっても、脱調が発生していると誤判定することがない。   The electric motor control apparatus of the present invention configured as described above counts the number of times that the second spike voltage generation time detection means determines that there is a spike detection signal, and finally detects the first spike voltage generation time detection means. Even if the first spike voltage generation time stored in the above is longer due to a momentary interruption, if the number of times that the second spike voltage generation time detection means determines that there is a spike detection signal is less than the predetermined number, the motor will step out. Judge that it is not. Therefore, even if the first spike voltage generation time detected and stored last is longer due to a momentary interruption, it is not erroneously determined that a step-out has occurred.

本発明の実施例における、ブラシレスDCモータの制御装置の構成を示すブロック図である。It is a block diagram which shows the structure of the control apparatus of a brushless DC motor in the Example of this invention. 本発明の実施例における、弱め界磁制御を行っている場合のブラシレスDCモータの挙動を説明するためのタイミングチャートである。It is a timing chart for demonstrating the behavior of the brushless DC motor in the Example of this invention when the field-weakening control is performed. 弱め界磁制御を行っているときに脱調が発生した場合の、ブラシレスDCモータの挙動を説明するためのタイミングチャートである。It is a timing chart for demonstrating the behavior of a brushless DC motor when a step-out occurs when performing field weakening control. 弱め界磁制御を行っているときに、電源の瞬断が発生した場合の、ブラシレスDCモータの挙動を説明するためのタイミングチャートである。It is a timing chart for demonstrating the behavior of a brushless DC motor when the momentary interruption of a power supply generate | occur | produces when performing field weakening control. 本発明の実施例における、ロータの位置検出が行えない場合の処理を説明するフローチャートである。It is a flowchart explaining the process when the position detection of a rotor cannot be performed in the Example of this invention.

以下、本発明の実施の形態を、添付図面に基づいて詳細に説明する。実施例としては、空気調和機の室外機に搭載される圧縮機のブラシレスDCモータを駆動制御する制御装置を例に挙げて説明する。尚、本発明は以下の実施形態に限定されることはなく、本発明の主旨を逸脱しない範囲で種々変形することが可能である。   Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. As an embodiment, a control device that drives and controls a brushless DC motor of a compressor mounted on an outdoor unit of an air conditioner will be described as an example. The present invention is not limited to the following embodiments, and can be variously modified without departing from the gist of the present invention.

図1は、ブラシレスDCモータ200の制御装置100の構成を示すブロック図である。制御装置100の制御対象であるブラシレスDCモータ200は、三相(U相、V相、W相とする)の巻線を有する中空形状のステータと、ステータの中空内部に配設され、四極の永久磁石を有して回転するロータとを備えた三相四極のセンサレス型のブラシレスDCモータである。このブラシレスDCモータ200として、ロータの内部に永久磁石を埋め込んだIPM(Interior Parmanent Magnet)モータを適用してもよいし、ロータの表面に永久磁石を配設したSPM(Surface Permanent Magnet)モータを適用してもよい。   FIG. 1 is a block diagram showing the configuration of the control device 100 of the brushless DC motor 200. The brushless DC motor 200 to be controlled by the control device 100 includes a hollow stator having three-phase (U-phase, V-phase, and W-phase) windings, and a four-pole coil disposed in the hollow interior of the stator. A three-phase, four-pole sensorless brushless DC motor including a rotor having a permanent magnet. As this brushless DC motor 200, an IPM (Interior Parmant Magnet) motor in which a permanent magnet is embedded in the rotor may be applied, or an SPM (Surface Permanent Magnet) motor in which a permanent magnet is disposed on the surface of the rotor. May be.

制御装置100は、交流電源1から供給された交流電力を直流電力に変換するコンバータ回路2と、コンバータ回路2で変換した直流電力を平滑化する平滑コンデンサ3と、平滑コンデンサ3で平滑化した直流電力を用いてブラシレスDCモータ200を矩形波駆動するインバータ回路4(インバータ手段の少なくとも一部をなす)と、ブラシレスDCモータ200の各相の誘起電圧のゼロクロス点を検出するゼロクロス検出回路6と、ゼロクロス検出回路6が検出したゼロクロス点を用いてロータの位置を検出する位置検出回路8と、位置検出回路8などからの信号に基づいてブラシレスDCモータ200の制御を行う制御手段10と、制御手段10が出力する制御信号をもとにインバータ回路4を介してブラシレスDCモータ200を駆動するモータ駆動回路7と、を備える。   The control device 100 includes a converter circuit 2 that converts AC power supplied from the AC power source 1 into DC power, a smoothing capacitor 3 that smoothes DC power converted by the converter circuit 2, and a DC that is smoothed by the smoothing capacitor 3. An inverter circuit 4 (which forms at least a part of the inverter means) that drives the brushless DC motor 200 using electric power in a rectangular wave; a zero cross detection circuit 6 that detects a zero cross point of an induced voltage of each phase of the brushless DC motor 200; A position detection circuit 8 for detecting the position of the rotor using the zero cross point detected by the zero cross detection circuit 6; a control means 10 for controlling the brushless DC motor 200 based on a signal from the position detection circuit 8; 10 drives the brushless DC motor 200 through the inverter circuit 4 based on the control signal output from the motor 10. Comprising a motor drive circuit 7 which, a.

平滑コンデンサ3とインバータ回路4との間には、インバータ回路4の母線電流を検出するシャント抵抗5が接続されている。電流検出回路9は、シャント抵抗5の両端の電圧を検出する。電流検出回路9は、入力した電圧からインバータ回路4の母線電流を算出し、算出した母線電流は、制御手段10が有するA/D変換部14を介して後述する制御部11のCPU11aに入力される。   A shunt resistor 5 that detects a bus current of the inverter circuit 4 is connected between the smoothing capacitor 3 and the inverter circuit 4. The current detection circuit 9 detects the voltage across the shunt resistor 5. The current detection circuit 9 calculates the bus current of the inverter circuit 4 from the input voltage, and the calculated bus current is input to the CPU 11a of the control unit 11 described later via the A / D conversion unit 14 included in the control means 10. The

インバータ回路4は、上アームに3個のスイッチング素子41U1、41V1、41W1、下アームに3個のスイッチング素子41U2、41V2、41W2、の計6個のスイッチング素子を有しこれらがブリッジ接続されて三相ブリッジ回路を構成している。これら6個のスイッチング素子(以下、個別に言及する場合を除きスイッチング素子41と記載する)は、例えば、IGBT(絶縁ゲートバイポーラトランジスタ)によって実現することができる。各スイッチング素子41には還流ダイオード42が並列に接続されており、具体的には、スイッチング素子41のエミッタ端子に還流ダイオード42のアノード端子が接続され、スイッチング素子41のコレクタ端子に還流ダイオード42のカソード端子が接続されている。還流ダイオード42は、対応するスイッチング素子41がオフした瞬間に非通電相となるブラシレスDCモータ200のステータ巻線に蓄積されたエネルギーによって発生する還流電流を、入力電源側に流す機能を有する。   The inverter circuit 4 has a total of six switching elements including three switching elements 41U1, 41V1, and 41W1 on the upper arm and three switching elements 41U2, 41V2, and 41W2 on the lower arm. A phase bridge circuit is configured. These six switching elements (hereinafter referred to as switching elements 41 unless otherwise mentioned) can be realized by, for example, an IGBT (insulated gate bipolar transistor). A free-wheeling diode 42 is connected to each switching element 41 in parallel. Specifically, an anode terminal of the free-wheeling diode 42 is connected to an emitter terminal of the switching element 41, and a free-wheeling diode 42 is connected to a collector terminal of the switching element 41. The cathode terminal is connected. The free-wheeling diode 42 has a function of flowing a free-wheeling current generated by the energy accumulated in the stator winding of the brushless DC motor 200 that becomes a non-conduction phase at the moment when the corresponding switching element 41 is turned off to the input power supply side.

制御手段10は、ブラシレスDCモータ200の回転数を制御する制御部11と、制御部11からの指令に基づいてPWM(Pulse Width Modulation)波形を生成し、生成したPWM波形をモータ駆動回路7へ出力するPWM生成部12と、各種処理を実行するための制御用プログラム等が予め記憶されたROM(Read Only Memory)および各種処理の演算パラメータやデータ等を記憶するRAM(Ramdom Access Memoly)とからなる記憶部15と、入力部13と、A/D変換部14とを有する。   The control means 10 generates a PWM (Pulse Width Modulation) waveform based on a control unit 11 that controls the rotation speed of the brushless DC motor 200 and a command from the control unit 11, and sends the generated PWM waveform to the motor drive circuit 7. From the PWM generation unit 12 to be output, a ROM (Read Only Memory) in which a control program for executing various processes and the like are stored in advance, and a RAM (Random Access Memory) in which operation parameters and data of various processes are stored A storage unit 15, an input unit 13, and an A / D conversion unit 14.

制御部11は、入力部13から入力したロータの位置検出信号を用いて後述するスパイク検出信号を生成する検出信号生成部11bと、検出信号生成部11bで生成したスパイク検出信号の立ち上がり/立ち下がりを検出する立ち上がり/立ち下がり検出部11cと、検出信号生成部11bで生成したスパイク検出信号の有無を判別する検出信号判別部11dと、A/D変換部14や記憶部15とのデータのやりとりや、立ち上がり/立ち下がり検出部11cや検出値判別部11dからの入力を受け、PWM生成部12を制御するCPU11aとを有する。   The control unit 11 uses a rotor position detection signal input from the input unit 13 to generate a spike detection signal, which will be described later, and a rise / fall of the spike detection signal generated by the detection signal generation unit 11b. Exchange of data with the rise / fall detection unit 11c for detecting the detection, the detection signal determination unit 11d for determining the presence or absence of the spike detection signal generated by the detection signal generation unit 11b, and the A / D conversion unit 14 or the storage unit 15 And a CPU 11a that receives an input from the rising / falling detection unit 11c and the detection value determination unit 11d and controls the PWM generation unit 12.

次に、上述した構成を有する制御装置100を用いて実現されるブラシレスDCモータ200の制御方法について説明する。位置検出回路8は、ゼロクロス検出回路6を介して取り込んだブラシレスDCモータ200の非通電相に発生する誘起電圧と基準電圧とを比較し、両者の交点(ゼロクロス点)を検出する。そして、位置検出回路8は、検出したゼロクロス点に基づいて位置検出信号を生成し制御手段10に出力する。   Next, a method for controlling the brushless DC motor 200 realized using the control device 100 having the above-described configuration will be described. The position detection circuit 8 compares the induced voltage generated in the non-energized phase of the brushless DC motor 200 taken in via the zero-cross detection circuit 6 with a reference voltage, and detects the intersection (zero-cross point) between the two. Then, the position detection circuit 8 generates a position detection signal based on the detected zero cross point and outputs it to the control means 10.

入力部13を介してロータの位置検出信号を入力した制御手段10のCPU11aは、この位置検知信号を用いてブラシレスDCモータ200のモータ回転数(実回転数)を算出する。また、CPU11aは、算出したモータ回転数と室外機の制御部から出力された回転数(周波数)目標値との差、および、電流検出回路9から入力したインバータ回路4の母線電流値からPWM波形のデューティ比を算出し、算出したデューティ比を含む回転数指示信号をPWM生成部12に出力する。さらには、CPU11aは、入力した位置検知信号を用いて、転流タイミングおよびインバータ回路4のどのスイッチング素子41のオン/オフを切り替えるか否かについての情報を含む転流信号をPWM生成部12に出力する。   The CPU 11a of the control means 10 that has input the rotor position detection signal via the input unit 13 calculates the motor rotation speed (actual rotation speed) of the brushless DC motor 200 using this position detection signal. Further, the CPU 11a generates a PWM waveform from the difference between the calculated motor rotation speed and the rotation speed (frequency) target value output from the control unit of the outdoor unit, and the bus current value of the inverter circuit 4 input from the current detection circuit 9. , And outputs a rotation speed instruction signal including the calculated duty ratio to the PWM generator 12. Further, the CPU 11a uses the input position detection signal to send a commutation signal including information about the commutation timing and which switching element 41 of the inverter circuit 4 is switched on / off to the PWM generation unit 12. Output.

CPU11aから回転数指示信号および転流信号を入力したPWM生成部12は、回転数指示信号に含まれるデューティ比となるPWM波形を生成するとともに、転流信号に含まれる転流タイミングおよびインバータ回路4のどのスイッチング素子41のオン/オフを切り替えるかについての情報から通電切り替え信号を生成する。そして、PWM生成部12は、生成したPWM波形を同じく生成した通電切り替え信号に重畳した駆動信号を生成し、モータ駆動回路7に出力する。   The PWM generation unit 12 that receives the rotation speed instruction signal and the commutation signal from the CPU 11a generates a PWM waveform having a duty ratio included in the rotation speed instruction signal, and also includes the commutation timing and the inverter circuit 4 included in the commutation signal. An energization switching signal is generated from information about which of the switching elements 41 is switched on / off. Then, the PWM generation unit 12 generates a drive signal in which the generated PWM waveform is superimposed on the generated energization switching signal, and outputs the drive signal to the motor drive circuit 7.

PWM生成部12から駆動信号を入力したモータ駆動回路7は、入力した駆動信号に基づくモータ駆動信号を生成し、インバータ回路4へ出力する。モータ駆動回路7からモータ駆動信号を入力したインバータ回路4は、平滑コンデンサ3で平滑化した直流電圧および入力したモータ駆動信号を用いて三相の矩形波電圧を生成し、この各矩形波電圧を所定の通電タイミングでブラシレスDCモータ200に印加する。
尚、以下の説明では、上記のようにロータの位置検出結果に応じてブラシレスDCモータ200の駆動制御を行う場合を、通常制御と記載する。
The motor drive circuit 7 that has received the drive signal from the PWM generator 12 generates a motor drive signal based on the input drive signal and outputs the motor drive signal to the inverter circuit 4. The inverter circuit 4 to which the motor drive signal is input from the motor drive circuit 7 generates a three-phase rectangular wave voltage using the DC voltage smoothed by the smoothing capacitor 3 and the input motor drive signal. It is applied to the brushless DC motor 200 at a predetermined energization timing.
In the following description, the case where the drive control of the brushless DC motor 200 is performed according to the rotor position detection result as described above is referred to as normal control.

上記のようにブラシレスDCモータ200の制御を行うことにより、ブラシレスDCモータ200の回転数が目標回転数となるように制御する。PWM方式では、駆動信号に重畳するPWM制御のデューティ比が増加するにしたがって通電切り替えタイミングの電気的な位相(通電位相)が進んでモータ回転数が上昇する。そして、PWM波形のデューティ比が100%に達した後、さらにモータ回転数を上げるためには、ブラシレスDCモータ200に供給する電流の位相を誘起電圧に対し進み位相にすることにより、誘起電圧が高い状態でも更に多くの電流をブラシレスDCモータ200に供給することが可能となり、これによりブラシレスDCモータ200の回転数を上昇させる弱め界磁制御を実行する。   By controlling the brushless DC motor 200 as described above, the rotation speed of the brushless DC motor 200 is controlled to be the target rotation speed. In the PWM method, as the duty ratio of the PWM control superimposed on the drive signal increases, the electrical phase (energization phase) of the energization switching timing advances and the motor rotation speed increases. In order to further increase the motor rotation speed after the duty ratio of the PWM waveform reaches 100%, the phase of the current supplied to the brushless DC motor 200 is advanced with respect to the induced voltage so that the induced voltage is reduced. Even in a high state, it becomes possible to supply more current to the brushless DC motor 200, thereby executing field-weakening control that increases the rotational speed of the brushless DC motor 200.

次に、制御装置100を用いて実現されるブラシレスDCモータ200の弱め界磁制御および弱め界磁制御を行っているときの脱調検出方法について、図1乃至図5を用いて具体的に説明する。ブラシレスDCモータ200の回転数を、PWM制御のデューティ比が100%に達した後さらに上昇させる場合は、制御手段10のCPU11aは、通常制御からブラシレスDCモータ200の各相の通電位相の位相角を進める弱め界磁制御に移行する。   Next, a step-out detection method when performing field weakening control and field weakening control of the brushless DC motor 200 realized using the control device 100 will be specifically described with reference to FIGS. 1 to 5. When the rotational speed of the brushless DC motor 200 is further increased after the duty ratio of the PWM control reaches 100%, the CPU 11a of the control means 10 causes the phase angle of the energization phase of each phase of the brushless DC motor 200 from the normal control. Shift to field-weakening control.

図2は、CPU11aが弱め界磁制御を行っているときの、制御装置100の挙動を説明するためのタイミングチャートである。図2において、駆動信号はインバータ回路4の各スイッチング素子41のオン/オフを行うための信号を示しており、駆動信号(U1)はスイッチング素子41U1のベースに供給されるもの、駆動信号(V1)はスイッチング素子41V1のベースに供給されるもの、駆動信号(W1)はスイッチング素子41W1のベースに供給されるもの、をそれぞれ示している。また、駆動信号(U2)はスイッチング素子41U2のベースに供給されるもの、駆動信号(V2)はスイッチング素子41V2のベースに供給されるもの、駆動信号(W2)はスイッチング素子41W2のベースに供給されるもの、をそれぞれ示している。   FIG. 2 is a timing chart for explaining the behavior of the control device 100 when the CPU 11a is performing field weakening control. In FIG. 2, the drive signal indicates a signal for turning on / off each switching element 41 of the inverter circuit 4, and the drive signal (U1) is supplied to the base of the switching element 41U1, and the drive signal (V1) ) Indicates what is supplied to the base of the switching element 41V1, and the drive signal (W1) indicates what is supplied to the base of the switching element 41W1. The drive signal (U2) is supplied to the base of the switching element 41U2, the drive signal (V2) is supplied to the base of the switching element 41V2, and the drive signal (W2) is supplied to the base of the switching element 41W2. Each one is shown.

CPU11aがブラシレスDCモータ200の弱め界磁制御を行うときは、ブラシレスDCモータ200を通常制御にて駆動する場合の転流タイミングより所定の電気角(予め決定されて記憶部15に記憶されている)だけ早く転流するよう、上記各駆動信号をインバータ回路4に供給する。これにより、ブラシレスDCモータ200の各相の通電位相の位相角を進めて弱め界磁制御を実行している。   When the CPU 11a performs field weakening control of the brushless DC motor 200, only a predetermined electrical angle (predetermined and stored in the storage unit 15) from the commutation timing when the brushless DC motor 200 is driven by normal control. The drive signals are supplied to the inverter circuit 4 so as to quickly commutate. Thereby, the field angle control is performed by advancing the phase angle of the energization phase of each phase of the brushless DC motor 200.

図2において、電圧波形はブラシレスDCモータ200が弱め界磁制御にて駆動しているときの、各相の電圧の変化(0からインバータ4に印加される電圧Vpとの間で変化する)を示しており、UN電圧波形はブラシレスDCモータ200のU相コイルにおける電圧変化、VN電圧波形はブラシレスDCモータ200のV相コイルにおける電圧変化、WN電圧波形はブラシレスDCモータ200のW相コイルにおける電圧変化、をそれぞれ示している。   In FIG. 2, the voltage waveform indicates the change in voltage of each phase (changes between 0 and the voltage Vp applied to the inverter 4) when the brushless DC motor 200 is driven by field weakening control. The UN voltage waveform is the voltage change in the U-phase coil of the brushless DC motor 200, the VN voltage waveform is the voltage change in the V-phase coil of the brushless DC motor 200, the WN voltage waveform is the voltage change in the W-phase coil of the brushless DC motor 200, Respectively.

各相の電圧波形には、非通電時に各相に流れる還流電流によるスパイク電圧が、図2に示すようなスパイク電圧波形として現れる。スパイク電圧は、インバータ回路4の下アームを構成するスイッチング素子41U2、41V2,41W2がオンからオフに切り替わった場合、および、上アームを構成するスイッチング素子41U1、41V1、41W1がオンからオフに切り替わった場合に、それぞれ発生する。   In the voltage waveform of each phase, a spike voltage due to the reflux current flowing in each phase when not energized appears as a spike voltage waveform as shown in FIG. The spike voltage is generated when the switching elements 41U2, 41V2, 41W2 constituting the lower arm of the inverter circuit 4 are switched from on to off, and when the switching elements 41U1, 41V1, 41W1 constituting the upper arm are switched from on to off. Each case occurs.

具体的には、UN電圧波形においては、駆動信号(U2)がオンからオフに切り替わったときにスパイク電圧波形(U2)が、駆動信号(U1)がオンからオフに切り替わったときにスパイク電圧波形(U1)が、それぞれ現れる。また、VN電圧波形においては、駆動信号(V2)がオンからオフに切り替わったときにスパイク電圧波形(V2)が、駆動信号(V1)がオンからオフに切り替わったときにスパイク電圧波形(V1)が、それぞれ現れる。また、WN電圧波形においては、駆動信号(W2)がオンからオフに切り替わったときにスパイク電圧波形(W2)が、駆動信号(W1)がオンからオフに切り替わったときにスパイク電圧波形(W1)が、それぞれ現れる。   Specifically, in the UN voltage waveform, the spike voltage waveform (U2) when the drive signal (U2) switches from on to off, and the spike voltage waveform when the drive signal (U1) switches from on to off. (U1) appears. Further, in the VN voltage waveform, the spike voltage waveform (V2) when the drive signal (V2) is switched from on to off, and the spike voltage waveform (V1) when the drive signal (V1) is switched from on to off. Each appears. In the WN voltage waveform, the spike voltage waveform (W2) is switched when the drive signal (W2) is switched from on to off, and the spike voltage waveform (W1) is switched when the drive signal (W1) is switched from on to off. Each appears.

尚、以下の説明では、上記各相の電圧波形に発生するスパイク電圧波形の幅、つまり、スパイク電圧の発生時間を電気角に換算したスパイク角度で表わす。図2では、スパイク電圧波形(U1)およびスパイク電圧波形(U2)に対応するスパイク角度をRu、スパイク電圧波形(V1)およびスパイク電圧波形(V2)に対応するスパイク角度をRv、スパイク電圧波形(W1)およびスパイク電圧波形(W2)に対応するスパイク角度をRw、としている。CPU11aは、各相に発生するスパイク角度を記憶部15に上書きして記憶している。   In the following description, the width of the spike voltage waveform generated in the voltage waveform of each phase, that is, the spike voltage generation time is represented by a spike angle converted to an electrical angle. In FIG. 2, the spike angle corresponding to the spike voltage waveform (U1) and the spike voltage waveform (U2) is Ru, the spike angle corresponding to the spike voltage waveform (V1) and the spike voltage waveform (V2) is Rv, and the spike voltage waveform ( The spike angle corresponding to W1) and the spike voltage waveform (W2) is Rw. The CPU 11a overwrites and stores the spike angle generated in each phase in the storage unit 15.

スパイク検出信号は、上述した各スパイク電圧波形を用いて検出信号生成部11bが生成するものである。具体的には、検出信号生成部11bは、スイッチング素子41U2、41V2、41W2がそれぞれオンからオフに切り替わったときに発生するスパイク電圧波形(U2)、(V2)、(W2)がVp→0となるとき(以後、立ち下がりと記載)、および、スイッチング素子41U1、41V1、41W1がそれぞれオンからオフに切り替わったときに発生するスパイク電圧波形(U1)、(V1)、(W1)が0→Vpとなるとき(以後、立ち上がりと記載)とを検出し、これらを用いて図2に示すようなスパイク検出信号を生成し、立ち上がり/立ち下がり検出部11cに出力する。   The spike detection signal is generated by the detection signal generator 11b using each spike voltage waveform described above. Specifically, the detection signal generation unit 11b has spike voltage waveforms (U2), (V2), and (W2) generated when the switching elements 41U2, 41V2, and 41W2 are switched from on to off, respectively, such that Vp → 0. The spike voltage waveforms (U1), (V1), and (W1) that are generated when the switching elements 41U1, 41V1, and 41W1 are switched from on to off are changed from 0 to Vp. 2 (hereinafter referred to as “rising”) is detected, and a spike detection signal as shown in FIG. 2 is generated using these signals and output to the rising / falling detection unit 11c.

検出許可は、検出信号生成部11bが生成したスパイク検出信号の立ち上がり/立ち下がりを、CPU11aの指示によって立ち上がり/立ち下がり検出部11cが割り込み処理によって検出するタイミングを示すものである。図2に示すように、検出許可はスイッチング素子41U1、41V1、41W1、および、41U2、41V2、41W2がそれぞれオフからオンに切り替わるときに同期して禁止→許可とするものであり、スパイク検出信号の立ち上がり/立ち下がりを検出すれば、許可→禁止となる。尚、この検出許可は、禁止→許可となってから所定時間(図3に示す最大許可時間Tm)までの間にスパイク検出信号の立ち上がり/立ち下がりを検出できない場合も、許可→禁止となる。   The detection permission indicates the timing at which the rising / falling detection unit 11c detects the rise / fall of the spike detection signal generated by the detection signal generation unit 11b by the interrupt processing according to an instruction from the CPU 11a. As shown in FIG. 2, the detection permission is prohibited → permitted synchronously when the switching elements 41U1, 41V1, 41W1, and 41U2, 41V2, 41W2 are switched from OFF to ON, respectively. If rising / falling is detected, permission is changed to prohibition. It should be noted that this detection permission is also permitted → prohibited even when the rise / fall of the spike detection signal cannot be detected within a predetermined time (maximum permission time Tm shown in FIG. 3) after the prohibition → permission.

制御部11は、第一スパイク電圧発生時間検知手段および第二スパイク電圧発生時間検知手段で、弱め界磁制御を行い制御装置100が上述したように動作しているときのスパイク角度を検知している。尚、以下の説明では、第一スパイク電圧発生時間検知手段で検知したスパイク角度を第1のスパイク角度、第二スパイク電圧発生時間検知手段で検知したスパイク角度を第2スパイク角度と記載する。   The control unit 11 performs field weakening control by the first spike voltage generation time detection unit and the second spike voltage generation time detection unit, and detects the spike angle when the control device 100 is operating as described above. In the following description, the spike angle detected by the first spike voltage generation time detector is referred to as a first spike angle, and the spike angle detected by the second spike voltage generation time detector is referred to as a second spike angle.

第一スパイク電圧発生時間検知手段は、CPU11aと検出信号生成部11bと立ち上がり/立ち下がり検出部11cとから構成される。CPU11aは、図2に示す各駆動信号の切り換わりのタイミングと、立ち上がり/立ち下がり検出部11cから取り込んだスパイク検出信号の立ち上がり/立ち下がりのタイミングとを用いて、第1のスパイク角度を検出する。   The first spike voltage generation time detection means includes a CPU 11a, a detection signal generation unit 11b, and a rising / falling detection unit 11c. The CPU 11a detects the first spike angle using the switching timing of each drive signal shown in FIG. 2 and the rising / falling timing of the spike detection signal fetched from the rising / falling detection unit 11c. .

例えば、図2に示すVN電圧波形に現れるスパイク電圧(V2)のスパイク角度:Rvは、駆動信号(V2)がオンからオフに切り換わるタイミングと、スパイク電圧(V2)の立ち下がりに対応するスパイク検出信号の立ち下がりのタイミングとを用いて検出できる。この方法では、各駆動信号の切り換わりのタイミングやスパイク検出信号の立ち上がり/立ち下がりのタイミングを正確に把握できるので、正確なスパイク角度の検知が行えるが、スパイク検出信号の立ち上がり/立ち下がりを検出する必要があるため、例えば脱調の発生等によってスパイク検出信号の立ち上がり/立ち下がりが検出できない場合は、第一スパイク電圧発生時間検知手段で第1のスパイク角度を検知することができない。   For example, the spike angle (Rv) of the spike voltage (V2) appearing in the VN voltage waveform shown in FIG. 2 is the spike corresponding to the timing when the drive signal (V2) switches from on to off and the fall of the spike voltage (V2). Detection can be performed using the fall timing of the detection signal. In this method, the timing of switching of each drive signal and the rise / fall timing of the spike detection signal can be accurately grasped, so that the spike angle can be detected accurately, but the rise / fall of the spike detection signal is detected. Therefore, when the rising / falling edge of the spike detection signal cannot be detected due to the occurrence of step-out, for example, the first spike voltage generation time detection unit cannot detect the first spike angle.

第二スパイク電圧発生時間検知手段は、CPU11aと検出信号生成部11bと検出値判別部11dとから構成される。CPU11aは、各駆動信号の切り換わりのタイミングを起点とした一定の時間間隔(例えば、5マイクロ秒毎)で、スパイク検出信号の有無を検出値判別部11dに判別させる(スパイク検出信号は、その発生条件によってHigh(5V)もしくはLow(0V)となる)。そして、CPU11aは、検出値判別部11dから取り込んだ判別結果からスパイク検出信号有の回数をカウントし、この回数を用いて第2のスパイク角度を検出する。   The second spike voltage generation time detection means includes a CPU 11a, a detection signal generation unit 11b, and a detection value determination unit 11d. The CPU 11a causes the detection value determination unit 11d to determine the presence or absence of the spike detection signal at a constant time interval (for example, every 5 microseconds) starting from the switching timing of each drive signal (the spike detection signal is High (5V) or Low (0V) depending on the generation condition). Then, the CPU 11a counts the number of spike detection signals from the determination result fetched from the detection value determination unit 11d, and detects the second spike angle using this number.

例えば、図2に示すVN電圧波形に現れるスパイク電圧(V2)のスパイク角度:Rvを検知する場合、CPU11aは、駆動信号(V2)がオンからオフに切り換わるタイミングで検出値判別部11dにトリガ出力を開始し、これ以降は一定の時間間隔で検出値判別部11dにトリガを出力する。検出値判別部11dは、CPU11aからのトリガを入力する毎にスパイク検出信号の有無を判別しCPU11aに出力する。CPU11aは、取り込んだスパイク検出信号の判別結果を用い、スパイク電圧(V2)の電圧値:Vpに対応してスパイク検出信号がHighであれば、検出回数:1回をカウントする。CPU11aは検出回数のカウントを、取り込んだスパイク検出信号の判別結果がLowとなるまで繰り返す。CPU11aは、カウントした検出回数に上記一定の時間間隔を掛けることで第2のスパイク角度を算出する。   For example, when detecting the spike angle (Rv) of the spike voltage (V2) appearing in the VN voltage waveform shown in FIG. 2, the CPU 11a triggers the detected value determination unit 11d at the timing when the drive signal (V2) switches from on to off. Output is started, and after that, a trigger is output to the detection value discriminating unit 11d at a constant time interval. The detection value determination unit 11d determines the presence or absence of a spike detection signal each time a trigger is input from the CPU 11a, and outputs it to the CPU 11a. If the spike detection signal is High corresponding to the voltage value Vp of the spike voltage (V2), the CPU 11a counts the number of detections: 1 using the discrimination result of the spike detection signal taken in. The CPU 11a repeats counting the number of detections until the discrimination result of the captured spike detection signal becomes Low. The CPU 11a calculates the second spike angle by multiplying the counted number of detections by the predetermined time interval.

以上説明した第二スパイク電圧発生時間検知手段による第2のスパイク角度の検知では、立ち上がり/立ち下がり検出部11cがスパイク検出信号の立ち上がり/立ち下がりが検出できない場合であってもスパイク角度を検知することができる一方、検出値判別部11dから入力するスパイク検出信号の判別結果がHighからLow、あるいは、LowからHighとなるタイミングが把握できないため、第一スパイク電圧発生時間検知手段を用いた場合と比べてスパイク角度の検知精度は劣る。   In the detection of the second spike angle by the second spike voltage generation time detecting means described above, the rise / fall detection unit 11c detects the spike angle even when the rise / fall of the spike detection signal cannot be detected. On the other hand, since the timing at which the discrimination result of the spike detection signal input from the detection value discrimination unit 11d becomes High to Low or Low to High cannot be grasped, the first spike voltage generation time detection unit is used. Compared to the accuracy of the spike angle detection, it is poor.

次に、ブラシレスDCモータ200を弱め界磁制御で駆動しているときの脱調発生の判断方法について、図1乃至図4を用いて具体的に説明する。図2に示すように、ブラシレスDCモータ200を弱め界磁制御で駆動しているとき、脱調が発生せずに正常に駆動制御が行えている場合は、各相に発生するスパイク電圧のスパイク角度は一定(Ru=Rv=Rw)であり、スパイク検出信号も一定の周期で立ち上がり/立ち下がりを繰り返す。従って、CPU11aは、立ち上がり/立ち下がり検出部11cがスパイク検出信号の立ち上がり/立ち下がりを検出できていれば、ブラシレスDCモータ200で脱調が発生していないと判断できる。   Next, a method for determining the occurrence of step-out when the brushless DC motor 200 is driven by field weakening control will be described in detail with reference to FIGS. As shown in FIG. 2, when the brushless DC motor 200 is driven by field weakening control, if the drive control can be performed normally without step-out, the spike angle of the spike voltage generated in each phase is It is constant (Ru = Rv = Rw), and the spike detection signal repeats rising / falling at a constant cycle. Therefore, the CPU 11a can determine that the step-out has not occurred in the brushless DC motor 200 if the rising / falling detection unit 11c can detect the rising / falling of the spike detection signal.

一方、図3に示すように、ブラシレスDCモータ200で脱調が発生してスパイク角度が大きくなる場合は、スパイク検出信号の幅が広くなり、立ち上がり/立ち下がり検出部11cがスパイク検出信号の立ち上がり/立ち下がりを検出できない虞がある(以下、脱調状態と記載)。また、CPU11aに大きな負荷が加わっていてCPU11aの指示により立ち上がり/立ち下がり検出部11cがスパイク電圧波形を検出するタイミングが遅れ、かつ、ブラシレスDCモータ200に加えられる負荷が軽減されてスパイク角度が小さくなる場合も、立ち上がり/立ち下がり検出部11cがスパイク検出信号の立ち上がり/立ち下がりを検出できない虞がある(以下、検出不可状態と記載)。   On the other hand, as shown in FIG. 3, when the step-out occurs in the brushless DC motor 200 and the spike angle becomes large, the width of the spike detection signal is widened, and the rise / fall detection unit 11c causes the rise of the spike detection signal. / There is a possibility that the falling cannot be detected (hereinafter referred to as a step-out state). In addition, since a large load is applied to the CPU 11a, the timing at which the rising / falling detection unit 11c detects the spike voltage waveform is delayed by an instruction from the CPU 11a, and the load applied to the brushless DC motor 200 is reduced, thereby reducing the spike angle. Even in this case, there is a possibility that the rising / falling detection unit 11c cannot detect the rising / falling of the spike detection signal (hereinafter referred to as an undetectable state).

従来のブラシレスDCモータの制御装置において、上記のようにスパイク検出信号を生成してその立ち上がり/立ち下がりを検出することによって脱調発生を検知する場合は、スパイク検出信号の立ち上がり/立ち下がりを検出できない原因に関わらず、つまり、脱調状態であるか検出不可状態であるかに関わらず、スパイク検出信号の立ち上がり/立ち下がりを所定回数連続して検出できなければ脱調が発生したと判断し、脱調保護制御を行っていた。   In the conventional brushless DC motor control device, when the out-of-step occurrence is detected by generating the spike detection signal and detecting the rise / fall as described above, the rise / fall of the spike detection signal is detected. Regardless of the cause of the failure, that is, whether it is in a step-out state or in a non-detectable state, it is determined that a step-out has occurred if the rising / falling edge of the spike detection signal cannot be detected continuously a predetermined number of times. The step-out protection control was performed.

これに対し、本発明のブラシレスDCモータ200の制御装置100では、以下に説明する方法により、スパイク検出信号の立ち上がり/立ち下がりを検出できないときに、その原因がブラシレスDCモータ200の脱調であるか否かを判断し、脱調が発生したと判断すれば脱調保護制御を行う。   On the other hand, in the control device 100 for the brushless DC motor 200 of the present invention, when the rising / falling of the spike detection signal cannot be detected by the method described below, the cause is the step-out of the brushless DC motor 200. If it is determined whether or not a step-out has occurred, step-out protection control is performed.

まず、ブラシレスDCモータ200で脱調が発生している場合(脱調状態)について、図3を用いて説明する。尚、図3において、図2と同じ用語や記号については詳細な説明を省略する。   First, a case where step-out has occurred in the brushless DC motor 200 (step-out state) will be described with reference to FIG. In FIG. 3, detailed description of the same terms and symbols as in FIG. 2 is omitted.

ブラシレスDCモータ200で脱調が発生したとき、各相の電圧波形に現れるスパイク電圧のスパイク角度は大きくなる。スパイク角度が大きくなれば、これに伴って検出信号生成部11bが生成したスパイク検出信号の幅も広がる。このとき、スパイク検出信号の幅が、検出許可の最大許可時間Tmの間に検出できないほど広がっている場合は、立ち上がり/立ち下がり検出部11cはスパイク検出信号の立ち上がりを検出できない。尚、図3では、例としてUN電圧波形に現れるスパイク電圧波形(U1a)に対応するスパイク角度がRua(>Ru)と大きくなって、立ち上がり/立ち下がり検出部11cがスパイク検出信号の立ち上がりを検出できないことを示している。尚、図3において、スパイク電圧波形(U1a)に対応する検出できないスパイク検出信号の立ち上がりを破線で示すとともに「○」を付与している。   When step-out occurs in the brushless DC motor 200, the spike angle of the spike voltage that appears in the voltage waveform of each phase increases. As the spike angle increases, the width of the spike detection signal generated by the detection signal generation unit 11b increases accordingly. At this time, when the width of the spike detection signal is so wide that it cannot be detected during the maximum permission time Tm of detection permission, the rising / falling detection unit 11c cannot detect the rising edge of the spike detection signal. In FIG. 3, for example, the spike angle corresponding to the spike voltage waveform (U1a) appearing in the UN voltage waveform is increased to Rua (> Ru), and the rise / fall detection unit 11c detects the rise of the spike detection signal. Indicates that it is not possible. In FIG. 3, the rising edge of the spike detection signal that cannot be detected corresponding to the spike voltage waveform (U1a) is indicated by a broken line and “◯” is given.

立ち上がり/立ち下がり検出部11cスパイク検出信号の立ち上がり/立ち下がりが検出できないとき、CPU11aは、記憶部15に記憶している第1のスパイク角度を読み出す。前述したように、CPU11aは、立ち上がり/立ち下がり検出部11cでスパイク検出信号の立ち上がり/立ち下がりを検出できたときにこれに対応するスパイク角度を記憶部15に上書き記憶するので、図3の場合では、「○」を付与した検出できないスパイク検出信号の立ち上がりの直前のスパイク検出信号の立ち下がり(「◎」を付与したもの)に対応するスパイク電圧の第1のスパイク角度、つまり、VN検出電圧に現れるスパイク電圧波形(V2j)に対応するスパイク角度Rvj1を読み出す。   When the rising / falling edge of the spike detection signal 11c cannot be detected, the CPU 11a reads the first spike angle stored in the storage unit 15. As described above, when the rising / falling edge of the spike detection signal can be detected by the rising / falling detection unit 11c, the CPU 11a overwrites and stores the corresponding spike angle in the storage unit 15. Then, the first spike angle of the spike voltage corresponding to the falling edge of the spike detection signal immediately before the rising edge of the spike detection signal that cannot be detected with “◯” (the one with “◎”), that is, the VN detection voltage The spike angle Rvj1 corresponding to the spike voltage waveform (V2j) appearing at is read.

また、CPU11aは、記憶部15に予め記憶されておりブラシレスDCモータ200が脱調しているか否かを判断するための閾値である脱調判断角度Rs(例えば、電気角で24度)を読み出し、脱調判断角度Rsとスパイク角度Rvj1とを比較してスパイク角度Rvj1が脱調判断角度Rs以上であるか否かを判断する。図3では、スパイク角度Rvj1が脱調判断角度Rs以上であるので、CPU11aは、スパイク検出信号の立ち上がり/立ち下がりを検出できなかった回数Nx:1回をカウントする。具体的には、図3において「○」を付与したスパイク検出信号の立ち上がりを検出する際の、検出許可の時間Tmが経過した時点で1回とカウントする。   Further, the CPU 11a reads out a step-out determination angle Rs (for example, 24 degrees in electrical angle) that is stored in advance in the storage unit 15 and is a threshold for determining whether or not the brushless DC motor 200 has stepped out. The out-of-step determination angle Rs and the spike angle Rvj1 are compared to determine whether or not the spike angle Rvj1 is greater than or equal to the out-of-step determination angle Rs. In FIG. 3, since the spike angle Rvj1 is equal to or greater than the step-out determination angle Rs, the CPU 11a counts the number Nx: 1 in which the rising / falling of the spike detection signal could not be detected. Specifically, in FIG. 3, when the rising edge of the spike detection signal to which “◯” is given is detected, the time is counted once when the detection permission time Tm has elapsed.

ブラシレスDCモータ200が脱調している場合は、UN電圧波形のスパイク角度が大きくなった以降の各相のスパイク角度も大きくなるので、立ち上がり/立ち下がり検出部11cは上記と同様に以降のスパイク検出信号の立ち上がり/立ち下がりも検出できない。図3では、スパイク電圧波形(U1a)の次にスパイク検出信号を生成する元となるWN電圧波形に現れるスパイク電圧波形(W2a)に対応するスパイク角度がRwa(>Rw)と大きくなり、この次の、VN電圧波形に現れるスパイク電圧波形(V1a)に対応するスパイク角度もRva(>Rv)と大きくなって、立ち上がり/立ち下がり検出部11cがこれらスパイク電圧波形(W2a)やスパイク電圧波形(V1a)に対応するスパイク検出信号の立ち上がり/立ち下がりも検出できないことを示している。尚、図3において、「○」を付与した検出できないスパイク検出信号の立ち上がり以降のスパイク検出信号は破線で示し、検出できない立ち上がり/立ち下がりには「△」を付与している。   When the brushless DC motor 200 is out of phase, since the spike angle of each phase after the spike angle of the UN voltage waveform is increased, the rising / falling detection unit 11c performs the subsequent spike in the same manner as described above. The rising / falling edge of the detection signal cannot be detected. In FIG. 3, the spike angle corresponding to the spike voltage waveform (W2a) appearing in the WN voltage waveform that is the source of generation of the spike detection signal next to the spike voltage waveform (U1a) is increased to Rwa (> Rw). The spike angle corresponding to the spike voltage waveform (V1a) appearing in the VN voltage waveform is also increased to Rva (> Rv), and the rising / falling detection unit 11c detects these spike voltage waveform (W2a) and spike voltage waveform (V1a). The spike detection signal corresponding to () cannot be detected. In FIG. 3, spike detection signals after the rising edge of the undetectable spike detection signal to which “◯” is given are indicated by broken lines, and “Δ” is given to the rising / falling edge that cannot be detected.

CPU11aは、立ち上がり/立ち下がり検出部11cが最初に検出できなかったスパイク検出信号の立ち上がり以降についても、スパイク検出信号の立ち上がり/立ち下がりを検出できなかった場合は、その度に脱調判断角度Rsとスパイク角度Rvj1とを比較を行い、スパイク角度Rvj1が脱調判断角度Rs以上であれば、スパイク検出信号の立ち上がり/立ち下がりを検出できなかった回数Nxをカウントしていく。そして、この回数が所定回数Na回連続、例えば、5回連続すれば、CPU11aは、ブラシレスDCモータ200が脱調したと判断し、モータ駆回路7に対してブラシレスDCモータ200への通電を停止するようPWM生成部12を介して指示し、ブラシレスDCモータ200を停止する脱調保護制御を実行する。   If the rising / falling edge of the spike detection signal cannot be detected after the rising edge of the spike detection signal that the rising / falling edge detection unit 11c cannot detect at the beginning, the CPU 11a each time the step-out determination angle Rs is detected. Is compared with the spike angle Rvj1, and if the spike angle Rvj1 is greater than or equal to the step-out determination angle Rs, the number Nx of times when the rising / falling edge of the spike detection signal could not be detected is counted. If this number of times continues for a predetermined number of Na times, for example, 5 times, the CPU 11a determines that the brushless DC motor 200 has stepped out and stops energization of the brushless DC motor 200 to the motor drive circuit 7. The step-out protection control for stopping the brushless DC motor 200 is executed through the PWM generation unit 12.

次に、CPU11aに大きな負荷が加わっていて実際に(立ち上がり/立ち下がり検出部11cによって)スパイク電圧波形を検出するタイミングが遅れ、かつ、スパイク角度が小さくなっている場合(検出不可状態)に、交流電源1で瞬断が発生した場合ついて、図4を用いて説明する。尚、図4において、図2と同じ用語や記号については詳細な説明を省略する。   Next, when a large load is applied to the CPU 11a and the timing of detecting the spike voltage waveform is actually delayed (by the rising / falling detection unit 11c) and the spike angle is small (detection disabled state), A case where a momentary interruption occurs in the AC power supply 1 will be described with reference to FIG. In FIG. 4, detailed description of the same terms and symbols as in FIG. 2 is omitted.

ブラシレスDCモータ200に加えられる負荷が軽減されたとき、各相の電圧波形に現れるスパイク電圧のスパイク角度が小さくなることがある。また、前述したように、CPU11aの指示により立ち上がり/立ち下がり検出部11cはスパイク検出信号の検出を割り込み処理で行っており、CPU11aに大きな負荷が加わっている場合は、図4に示すように、スイッチング素子41U1、41V1、41W1がオフからオンに切り替えるときに同期して禁止→許可としても、実際に立ち上がり/立ち下がり検出部11cがスパイク検出信号の立ち上がり/立ち下がりを検出するタイミングが、スイッチング素子41U1、41V1、41W1がオフからオンに切り替えるときより時間Trだけ遅れることがある。   When the load applied to the brushless DC motor 200 is reduced, the spike angle of the spike voltage appearing in the voltage waveform of each phase may be small. Further, as described above, the rising / falling detection unit 11c detects the spike detection signal by an interrupt process according to an instruction from the CPU 11a, and when a large load is applied to the CPU 11a, as shown in FIG. Even when the switching elements 41U1, 41V1, and 41W1 are switched from OFF to ON, the timing at which the rising / falling detection unit 11c actually detects the rising / falling of the spike detection signal is determined as the switching element. 41U1, 41V1, and 41W1 may be delayed by time Tr than when switching from off to on.

例えば、図4に示すように、スパイク検出信号の立ち上がり/立ち下がりの検出タイミングが時間Trだけ遅れているとき、かつ、UN電圧波形に現れるスパイク電圧波形(U1b)に対応するスパイク角度がRub(<Ru)となりこれに基づいて検出信号生成部11bが生成したスパイク検出信号の幅が狭くなったとき、立ち上がり/立ち下がり検出部11cはスパイク検出信号の立ち上がりを検出できない。尚、図4において、スパイク電圧波形(U1b)に対応する検出できないスパイク検出信号の立ち上がりを破線で示すとともに「○」を付与している。   For example, as shown in FIG. 4, when the detection timing of the rise / fall of the spike detection signal is delayed by the time Tr, and the spike angle corresponding to the spike voltage waveform (U1b) appearing in the UN voltage waveform is Rub ( When the width of the spike detection signal generated by the detection signal generation unit 11b is narrowed based on this, the rise / fall detection unit 11c cannot detect the rise of the spike detection signal. In FIG. 4, the rising edge of the spike detection signal that cannot be detected corresponding to the spike voltage waveform (U1b) is indicated by a broken line and “◯” is given.

本出願人が先に提案した電動機の制御装置(特願2012−30025)では、次のようにしてブラシレスDCモータ200で脱調が発生しているか否かを判断している。CPU11aは、立ち上がり/立ち下がり検出部11cがスパイク検出信号の立ち上がり/立ち下がりが検出できないとき、記憶部15に記憶している第1のスパイク角度を読み出す。CPU11aは、立ち上がり/立ち下がり検出部11cでスパイク検出信号の立ち上がり/立ち下がりを検出できたときこれに対応する第1のスパイク角度を記憶部15に上書き記憶するので、図4の場合では、「○」を付与した検出できないスパイク検出信号の立ち上がりの直前のスパイク検出信号の立ち下がり(「◎」を付与したもの)対応するスパイク電圧の第1のスパイク角度、つまり、VN検出電圧に現れるスパイク電圧波形(V2j)に対応するスパイク角度Rvj2(図4ではこのときのスパイク電圧波形(V2j)を破線で示している)を読み出す。   In the motor control device (Japanese Patent Application No. 2012-30025) previously proposed by the present applicant, it is determined whether or not a step-out occurs in the brushless DC motor 200 as follows. The CPU 11a reads the first spike angle stored in the storage unit 15 when the rise / fall detection unit 11c cannot detect the rise / fall of the spike detection signal. When the rising / falling edge of the spike detection signal can be detected by the rising / falling detection unit 11c, the CPU 11a overwrites and stores the first spike angle corresponding thereto in the storage unit 15. Therefore, in the case of FIG. The first spike angle of the spike voltage corresponding to the fall of the spike detection signal immediately before the rise of the spike detection signal that cannot be detected with “O” (the one with “◎”), that is, the spike voltage that appears in the VN detection voltage A spike angle Rvj2 (in FIG. 4, the spike voltage waveform (V2j) at this time is indicated by a broken line) corresponding to the waveform (V2j) is read.

また、CPU11aは、記憶部15に予め記憶されておりブラシレスDCモータ200が脱調しているか否かを判断するための閾値である脱調判断角度Rs(例えば、電気角で24度)を読み出し、脱調判断角度Rsとスパイク角度Rvj2とを比較してスパイク角度Rvj2が脱調判断角度Rs以上であるか否かを判断する。図4では、スパイク角度Rvj1が脱調判断角度Rs以上でないので、CPU11aは、ブラシレスDCモータ200が脱調していないと判断し、ブラシレスDCモータ200の弱め界磁制御を継続する。   Further, the CPU 11a reads out a step-out determination angle Rs (for example, 24 degrees in electrical angle) that is stored in advance in the storage unit 15 and is a threshold for determining whether or not the brushless DC motor 200 has stepped out. The out-of-step determination angle Rs and the spike angle Rvj2 are compared to determine whether or not the spike angle Rvj2 is greater than or equal to the out-of-step determination angle Rs. In FIG. 4, since the spike angle Rvj1 is not greater than the step-out determination angle Rs, the CPU 11a determines that the brushless DC motor 200 has not stepped out and continues the field-weakening control of the brushless DC motor 200.

UN電圧波形のスパイク角度が小さくなった以降も、各相のスパイク角度が小さくなる状態が続けば、立ち上がり/立ち下がり検出部11cは上記と同様に以降のスパイク検出信号の立ち上がり/立ち下がりも検出できない。図4では、スパイク電圧波形(U1b)の次にスパイク検出信号を生成する元となるWN電圧波形に現れるスパイク電圧波形(W2b)に対応するスパイク角度がRwb(<Rw)と小さくなり、この次の、VN電圧波形に現れるスパイク電圧波形(V1b)に対応するスパイク角度もRvb(<Rv)と小さくなって、立ち上がり/立ち下がり検出部11cがこれらスパイク電圧波形(W2b)やスパイク電圧波形(V1b)に対応するスパイク検出信号の立ち上がり/立ち下がりも検出できないことを示している。尚、図4において、「○」を付与した検出できないスパイク検出信号の立ち上がり以降のスパイク検出信号は破線で示し、検出できない立ち上がり/立ち下がりには「△」を付与している。   If the spike angle of each phase continues to decrease even after the spike angle of the UN voltage waveform has decreased, the rising / falling detection unit 11c also detects the subsequent rising / falling of the spike detection signal in the same manner as described above. Can not. In FIG. 4, the spike angle corresponding to the spike voltage waveform (W2b) appearing in the WN voltage waveform that is the source of generation of the spike detection signal next to the spike voltage waveform (U1b) is reduced to Rwb (<Rw). The spike angle corresponding to the spike voltage waveform (V1b) appearing in the VN voltage waveform is also reduced to Rvb (<Rv), and the rising / falling detection unit 11c uses these spike voltage waveform (W2b) and spike voltage waveform (V1b). The spike detection signal corresponding to () cannot be detected. In FIG. 4, spike detection signals after the rise of the undetectable spike detection signal to which “◯” is given are indicated by broken lines, and “Δ” is given to the rise / fall that cannot be detected.

CPU11aは、立ち上がり/立ち下がり検出部11cが最初に検出できなかったスパイク検出信号の立ち上がり以降についても、スパイク検出信号の立ち上がり/立ち下がりを検出できなかった場合は、その度に脱調判断角度Rsとスパイク角度Rvj2とを比較を行う。スパイク角度Rvj2が脱調判断角度Rs以上でなければ、CPU11aは、ブラシレスDCモータ200が脱調していないと判断し、ブラシレスDCモータ200の弱め界磁制御を継続する。   If the rising / falling edge of the spike detection signal cannot be detected after the rising edge of the spike detection signal that the rising / falling edge detection unit 11c cannot detect at the beginning, the CPU 11a each time the step-out determination angle Rs is detected. And spike angle Rvj2. If the spike angle Rvj2 is not equal to or greater than the step-out determination angle Rs, the CPU 11a determines that the brushless DC motor 200 has not stepped out and continues the field-weakening control of the brushless DC motor 200.

しかし、図4に示すように、スパイク電圧(V2j)は発生するときに、交流電源1で瞬断が発生した場合は、ブラシレスDCモータ200脱調に近づいて還流電流が流れる時間が長くなるので、CPU11aが記憶する第1のスパイク角度であるスパイク電圧(V2j)のスパイク角度がRvj2より大きいRvj3となる虞がある。そして、瞬断が発生したときのスパイク角度Rvj3が脱調判断角度Rs以上である場合に、立ち上がり/立ち下がり検出部11cがスパイク検出信号の立ち上がり/立ち下がりが検出できないときに上述した方法でブラシレスDCモータ200で脱調が発生しているか否かを判断すれば、CPU11aは脱調が発生していると誤判断してしまう虞がある。   However, as shown in FIG. 4, when the spike voltage (V2j) is generated, if a momentary interruption occurs in the AC power supply 1, the time for the return current to flow near the step-out of the brushless DC motor 200 becomes longer. The spike angle of the spike voltage (V2j) that is the first spike angle stored by the CPU 11a may be Rvj3, which is larger than Rvj2. When the spike angle Rvj3 when the instantaneous interruption occurs is equal to or greater than the step-out determination angle Rs, when the rising / falling detection unit 11c cannot detect the rising / falling of the spike detection signal, the above-described method is used. If it is determined whether or not a step-out has occurred in the DC motor 200, the CPU 11a may erroneously determine that a step-out has occurred.

そこで、本発明では、前述した第二スパイク電圧発生時間検知手段によって検知した第2のスパイク角度を使用し、CPU11aに大きな負荷が加わっていて立ち上がり/立ち下がり検出部11cで実際にスパイク電圧波形を検出するタイミングが遅れ、かつ、スパイク角度が小さくなっている場合(検出不可状態)に、交流電源1で瞬断が発生した場合であっても、ブラシレスDCモータ200で脱調が発生していると誤判断してしまわないようにしている。
以下に、第二スパイク電圧発生時間検知手段によって第2のスパイク角度を検出し、この検出結果を使用して、交流電源1で瞬断が発生した場合であってもブラシレスDCモータ200で脱調が発生していると誤判断しないようにする方法について、図4を用いて具体的に説明する。
Therefore, in the present invention, the second spike angle detected by the second spike voltage generation time detection means described above is used, a large load is applied to the CPU 11a, and the spike voltage waveform is actually generated by the rising / falling detector 11c. Even when a momentary interruption occurs in the AC power supply 1 when the detection timing is delayed and the spike angle is small (undetectable state), the brushless DC motor 200 is out of step. To avoid misjudging.
In the following, the second spike voltage generation time detection means detects the second spike angle, and using this detection result, the brushless DC motor 200 steps out even if a momentary interruption occurs in the AC power supply 1. A method for avoiding erroneous determination that the occurrence has occurred will be specifically described with reference to FIG.

CPU11aは、各駆動信号(U1、U2、V1、V2、W1、W2)がオンからオフに切り換わるタイミングで、検出値判別部11dに一定の時間間隔でトリガ出力を開始する。検出値判別部11dは、CPU11aからのトリガを入力する毎にスパイク検出信号の判別結果をCPU11aに出力する。そして、CPU11aは、取り込んだスパイク検出信号の判別結果が、各スパイク電圧の電圧値に対応したレベル(High or Low)であれば、スパイク検出信号:有としてその検出回数Nyをカウントする。この検出回数Nyは、スパイク角度の大きさに対応するものであり、例えば、スパイク電圧(V2j):Vpに対応するスパイク検出信号:Highなら検出回数Nyは4回(スパイク角度が大きいので)、スパイク電圧(U1b):0に対応するスパイク検出信号:Lowなら検出回数Nyは2回(スパイク角度が小さいので)、というようになる。   The CPU 11a starts trigger output to the detection value determination unit 11d at a certain time interval at a timing when each drive signal (U1, U2, V1, V2, W1, W2) is switched from on to off. The detection value determination unit 11d outputs the determination result of the spike detection signal to the CPU 11a every time a trigger is input from the CPU 11a. Then, if the discrimination result of the captured spike detection signal is a level (High or Low) corresponding to the voltage value of each spike voltage, the CPU 11a counts the number of detections Ny as a spike detection signal: Yes. The number of detection times Ny corresponds to the magnitude of the spike angle. For example, if the spike voltage (V2j): spike detection signal corresponding to Vp: High, the number of detection times Ny is 4 times (because the spike angle is large), Spike voltage (U1b): Spike detection signal corresponding to 0: If Low, the number of detections Ny is 2 (because the spike angle is small).

また、記憶部15には、スパイク電圧波形に対応するスパイク検出信号:有の検出回数Nyの閾値である検出閾回数Nb(例えば、2回)が記憶されている。検出閾回数Nbは、ブラシレスDCモータ200で脱調が発生している虞があるスパイク角度の大きさに対応して定められている。   The storage unit 15 stores a spike detection signal corresponding to the spike voltage waveform: a detection threshold number Nb (for example, two times) that is a threshold value of the number of detections Ny. The detection threshold number Nb is determined corresponding to the magnitude of the spike angle at which the step-out may occur in the brushless DC motor 200.

CPU11aは、記憶部15から検出回数Nyと検出閾回数Nbとを読み出し、検出回数Nyが検出閾回数Nb以下である場合は、ブラシレスDCモータ200で脱調が発生していないと判断してブラシレスDCモータ200の弱め界磁制御を継続する。検出回数Nyが検出閾回数Nb以下でない場合は、CPU11aは、記憶部15から、第一スパイク電圧発生時間検知手段によって検知して記憶した第1のスパイク角度と、脱調判断角度Rsとを読み出し、第1のスパイク角度が脱調判断角度Rs以上でない場合は、ブラシレスDCモータ200の弱め界磁制御を継続し、第1のスパイク角度が脱調判断角度Rs以上である場合は、スパイク検出信号の立ち上がり/立ち下がりを検出できなかった回数Nxをカウントしてこの回数が所定回数Na回連続すれば、ブラシレスDCモータ200が脱調したと判断する。   The CPU 11a reads the number of detections Ny and the number of detection thresholds Nb from the storage unit 15. If the number of detections Ny is less than or equal to the detection threshold number Nb, the CPU 11a determines that no step-out has occurred in the brushless DC motor 200 and brushless. The field weakening control of the DC motor 200 is continued. When the detection number Ny is not equal to or less than the detection threshold number Nb, the CPU 11a reads out the first spike angle detected by the first spike voltage generation time detection unit and stored and the step-out determination angle Rs from the storage unit 15. When the first spike angle is not equal to or greater than the step-out determination angle Rs, the field-weakening control of the brushless DC motor 200 is continued. When the first spike angle is equal to or greater than the step-out determination angle Rs, the spike detection signal rises. / If the number of times Nx where the falling edge could not be detected is counted and this number of times continues for a predetermined number of times Na, it is determined that the brushless DC motor 200 has stepped out.

以上説明したように、本発明では、第二スパイク電圧発生時間検知手段によって検知した第2のスパイク角度を使用し、CPU11aに大きな負荷が加わっていて実際にスパイク電圧波形を検出するタイミングが遅れ、かつ、スパイク角度が小さくなっている場合(検出不可状態)に、交流電源1で瞬断が発生した場合であっても、ブラシレスDCモータ200で脱調が発生していると誤判断してしまわないようにしている。   As described above, in the present invention, the second spike angle detected by the second spike voltage generation time detection means is used, a large load is applied to the CPU 11a, and the timing of actually detecting the spike voltage waveform is delayed, In addition, when the spike angle is small (detection impossible state), even if a momentary interruption occurs in the AC power supply 1, it is erroneously determined that the step-out has occurred in the brushless DC motor 200. I am trying not to.

次に、図5に示すフローチャートを用いて、本実施例における制御部11での処理の流れについて説明する。図5に示すフローチャートは、ブラシレスDCモータ200での脱調発生を検知する場合の処理の流れを説明するものであり、STはステップを表しこれに続く番号はステップ番号を表している。
尚、図5では本発明に関わる処理を中心に説明しており、ブラシレスDCモータ200を前述した通常制御にて駆動している場合等の、その他の処理については説明を省略している。
Next, the flow of processing in the control unit 11 in this embodiment will be described using the flowchart shown in FIG. The flowchart shown in FIG. 5 explains the flow of processing when the out-of-step occurrence in the brushless DC motor 200 is detected. ST represents a step and the subsequent number represents a step number.
Note that FIG. 5 mainly illustrates the processing related to the present invention, and description of other processing such as when the brushless DC motor 200 is driven by the above-described normal control is omitted.

制御手段10の制御部11がブラシレスDCモータ200の駆動制御を開始し、立ち上がり/立ち下がり検出部11cがスパイク検出信号の立ち上がり/立ち下がりを検出できなかった回数Nxを0にリセットする(ST1)。次に、制御部11は、各相に現れたスパイク電圧波形からスパイク検出信号を生成する(ST2)。   The control unit 11 of the control means 10 starts driving control of the brushless DC motor 200, and the rising / falling detection unit 11c resets the number Nx of the spike detection signal that cannot be detected to 0 (ST1). . Next, the control part 11 produces | generates a spike detection signal from the spike voltage waveform which appeared in each phase (ST2).

次に、制御部11は、スパイク電圧波形に対応するスパイク検出信号:有の検出回数Nyを0にリセットする(ST3)。次に、制御部11は、検出値判別部11dから出力されたスパイク検出信号の判別結果から、各スパイク電圧の電圧値に対応したレベル(High or Low)であるか、つまり、スパイク検出信号の有無を判断する(ST4)。スパイク検出信号:有である場合は(ST4−Yes)、制御部11は、検出回数Nyをカウント、つまり、前回までの検出回数Nyに1を加算し(ST12)、新たな検出回数Nyを記憶部15に記憶する。   Next, the control unit 11 resets the number of detections Ny of the spike detection signal: existence corresponding to the spike voltage waveform to 0 (ST3). Next, the control unit 11 determines whether the spike detection signal is at a level (High or Low) corresponding to the voltage value of each spike voltage based on the discrimination result of the spike detection signal output from the detection value discrimination unit 11d. The presence or absence is determined (ST4). If the spike detection signal is present (ST4-Yes), the control unit 11 counts the number of detections Ny, that is, adds 1 to the previous number of detections Ny (ST12), and stores the new number of detections Ny. Store in unit 15.

次に、制御部11は、所定時間経過したか否かを判断する(ST13)。この所定時間は、前述したように、CPU11aが検出値判別部11dに出力するトリガの周期(本実施例では、5マイクロ秒)である。所定時間が経過していなければ(ST13−No)、制御部11はST13に処理を戻し、所定時間が経過していれば(ST13−Yes)、制御部11はST4に処理を戻す。尚、上記説明したST4(−Yes)からST13に至るルーチンが、第二スパイク電圧発生時間検知手段に関わるルーチンである。   Next, the control unit 11 determines whether or not a predetermined time has elapsed (ST13). As described above, the predetermined time is a trigger period (5 microseconds in this embodiment) output from the CPU 11a to the detection value determination unit 11d. If the predetermined time has not elapsed (ST13-No), the control unit 11 returns the process to ST13, and if the predetermined time has elapsed (ST13-Yes), the control unit 11 returns the process to ST4. Note that the routine from ST4 (-Yes) to ST13 described above is a routine related to the second spike voltage generation time detection means.

ST4において、スパイク検出信号:無である場合は(ST4−No)、制御部11は、スパイク検出信号の立ち上がり/立ち下がりを、立ち上がり/立ち下がり検出部11cが検出できたか否かを判断する(ST5)。   In ST4, when the spike detection signal is not present (ST4-No), the control unit 11 determines whether or not the rising / falling detection unit 11c has detected the rising / falling of the spike detection signal ( ST5).

スパイク検出信号の立ち上がり/立ち下がりが検出できれば(ST5−Yes)、制御部11は、検出した立ち上がり/立ち下がりに対応する相のスパイク電圧のスパイク角度Rjを記憶部15に記憶し(ST14)、ST1に処理を戻す。尚、ST14におけるスパイク角度Rjは、制御部11が第一スパイク電圧発生時間検知手段によって検知した第1のスパイク角度であり、制御部11はこのスパイク角度Rjを記憶部15に記憶する。   If the rise / fall of the spike detection signal can be detected (ST5-Yes), the control unit 11 stores the spike angle Rj of the spike voltage of the phase corresponding to the detected rise / fall in the storage unit 15 (ST14), Return the process to ST1. Note that the spike angle Rj in ST14 is the first spike angle detected by the control unit 11 by the first spike voltage generation time detection means, and the control unit 11 stores the spike angle Rj in the storage unit 15.

スパイク検出信号の立ち上がり/立ち下がりを検出できなければ(ST5−No)、制御部11は、記憶部15からスパイク電圧波形に対応するスパイク検出信号の検出回数Nyと検出閾回数Nbとを読み出し、検出回数Nyが検出閾回数Nbより大きいか否かを判断する(ST6)。検出回数Nyが検出閾回数Nbより大きくなければ(ST6−No)、制御部11は、ST1に処理を戻す。   If the rise / fall of the spike detection signal cannot be detected (ST5-No), the control unit 11 reads the number of detections Ny and the number of detection thresholds Nb of the spike detection signal corresponding to the spike voltage waveform from the storage unit 15, It is determined whether or not the number of detections Ny is greater than the detection threshold number Nb (ST6). If the detection count Ny is not greater than the detection threshold count Nb (ST6-No), the control unit 11 returns the process to ST1.

検出回数Nyが検出閾回数Nbより大きければ(ST6−Yes)、制御部11は、記憶部15からスパイク角度Rj(本実施例ではRvj1)と脱調判断角度Rs(本実施例では24度)とを読み出す(ST7)。次に、制御部11は、脱調判断角度Rsとスパイク角度Rjとを比較し、スパイク角度Rjが脱調判断角度Rs以上であるか否かを判断する(ST8)。   If the detection number Ny is larger than the detection threshold number Nb (ST6-Yes), the control unit 11 reads the spike angle Rj (Rvj1 in the present embodiment) and the step-out determination angle Rs (24 degrees in the present embodiment) from the storage unit 15. Are read (ST7). Next, the control unit 11 compares the step-out determination angle Rs with the spike angle Rj, and determines whether or not the spike angle Rj is greater than or equal to the step-out determination angle Rs (ST8).

スパイク角度Rjが脱調判断角度Rs以上でなければ(ST8−No)、制御部11は、ST1に処理を戻す。スパイク角度Rjが脱調判断角度Rs以上であれば(ST8−Yes)、制御部11は、スパイク検出信号の立ち上がり/立ち下がりを検出できなかった回数Nxをカウント、つまり、前回までの回数Nxに1を加算する(ST9)。   If the spike angle Rj is not greater than the step-out determination angle Rs (ST8-No), the control unit 11 returns the process to ST1. If the spike angle Rj is equal to or greater than the step-out determination angle Rs (ST8-Yes), the control unit 11 counts the number Nx of times when the spike detection signal rise / fall was not detected, that is, the number Nx up to the previous time. 1 is added (ST9).

次に、制御部11は、スパイク検出信号の立ち上がり/立ち下がりを検出できなかった回数Nxが所定回数Na(本実施例では5回)となったか否かを判断する(ST10)。回数NxがNaとなっていなければ(ST10−No)、制御部11は、ST2に処理を戻す。回数NxがNaとなっていれば(ST10−Yes)、制御部11は、ブラシレスDCモータ200への通電を停止する脱調保護制御を実行し(ST11)、処理を終了する。   Next, the control unit 11 determines whether or not the number Nx of times when the rising / falling of the spike detection signal could not be detected has reached a predetermined number Na (5 times in this embodiment) (ST10). If the number of times Nx is not Na (ST10-No), the control unit 11 returns the process to ST2. If the number of times Nx is Na (ST10-Yes), the control unit 11 performs step-out protection control for stopping energization of the brushless DC motor 200 (ST11), and ends the process.

以上説明したように、本発明の電動機の制御装置は、第二スパイク電圧発生時間検知手段でスパイク検出信号があると判別した回数をカウントし、第一スパイク電圧発生時間検知手段で最後に検知して記憶した第1のスパイク電圧発生時間が瞬断により長くなっていても、第二スパイク電圧発生時間検知手段でスパイク検出信号があると判別した回数が所定回数以下であれば、電動機が脱調していないと判断する。従って、最後に検出して記憶した第1のスパイク電圧発生時間が瞬断により長くなっている場合であっても、脱調が発生していると誤判定することがない。   As described above, the motor control device according to the present invention counts the number of times the second spike voltage generation time detection means determines that there is a spike detection signal, and finally detects the spike signal generation time detection means. Even if the first spike voltage generation time stored in the above is longer due to a momentary interruption, if the number of times that the second spike voltage generation time detection means determines that there is a spike detection signal is less than the predetermined number, the motor will step out. Judge that it is not. Therefore, even if the first spike voltage generation time detected and stored last is longer due to a momentary interruption, it is not erroneously determined that a step-out has occurred.

1 交流電源
2 コンバータ回路
3 平滑コンデンサ
4 インバータ回路
5 シャント抵抗
6 ゼロクロス検出回路
7 モータ駆動回路
8 位置検出回路
9 電流検出回路
10 制御手段
11 制御部
11a CPU
11b 検出信号生成部
11c 立ち上がり/立ち下がり検出部
11d 検出信号判別部
12 PWM生成部
13 入力部
14 A/D変換部
41U1、41U2 スイッチング素子
41V1、41V2 スイッチング素子
41W1、41W2 スイッチング素子
42 還流ダイオード
100 制御装置
200 ブラシレスDCモータ
DESCRIPTION OF SYMBOLS 1 AC power supply 2 Converter circuit 3 Smoothing capacitor 4 Inverter circuit 5 Shunt resistance 6 Zero cross detection circuit 7 Motor drive circuit 8 Position detection circuit 9 Current detection circuit 10 Control means 11 Control part 11a CPU
11b Detection signal generation unit 11c Rising / falling detection unit 11d Detection signal determination unit 12 PWM generation unit 13 Input unit 14 A / D conversion unit 41U1, 41U2 Switching element 41V1, 41V2 Switching element 41W1, 41W2 Switching element 42 Free-wheeling diode 100 Control Equipment 200 Brushless DC motor

Claims (2)

直流電力をインバータによって交流電力に変換して電動機に供給し、同電動機の回転制御を行う電動機の制御装置であって、
前記電動機の制御装置は、前記電動機の各相への通電切り替えの際に発生する還流電流に起因して発生するスパイク電圧の波形であるスパイク電圧波形を用いてスパイク検出信号を生成するとともに、前記電動機の各相への通電切り替えのタイミングから前記スパイク検出信号の立ち上がりあるいは立ち下がりのタイミングまでの第1のスパイク電圧発生時間を検知して記憶する第一スパイク電圧発生時間検知手段と、前記電動機の各相への通電切り替えのタイミングから一定の時間間隔で前記スパイク電圧波形に対応する前記スパイク検出信号の有無を判別し同スパイク検出信号が有りと判別した回数を用いて第2のスパイク電圧発生時間を算出して記憶する第二スパイク電圧発生時間検知手段と、を有し、
前記電動機の制御装置は、前記第二スパイク電圧発生時間検知手段を用いて検知した前記スパイク検出信号が有りと判別した回数が所定回数以下である場合は前記電動機が脱調していないと判断し、前記スパイク検出信号が有りと判別した回数が所定回数を超えた場合は、前記第一スパイク電圧発生時間検知手段を用いて最後に検知して記憶した前記第1のスパイク電圧発生時間を読み出し、読み出した前記第1のスパイク電圧発生時間が所定時間以上で前記スパイク検出信号の立ち上がりあるいは立ち下がりが検出できない状態が所定回数続いた場合は、前記電動機が脱調したと判断することを特徴とする電動機の制御装置。
A control device for an electric motor that converts direct current power into alternating current power by an inverter and supplies it to an electric motor, and performs rotation control of the electric motor,
The motor control device generates a spike detection signal using a spike voltage waveform that is a waveform of a spike voltage generated due to a return current generated when energization switching to each phase of the motor is performed, and First spike voltage generation time detection means for detecting and storing a first spike voltage generation time from the timing of switching the energization to each phase of the motor to the rise or fall timing of the spike detection signal; and The second spike voltage generation time is determined by determining the presence or absence of the spike detection signal corresponding to the spike voltage waveform at a certain time interval from the timing of switching the energization to each phase, and using the number of times the spike detection signal is determined to be present. Second spike voltage generation time detection means for calculating and storing
The motor control device determines that the motor has not stepped out when the number of times that the spike detection signal detected using the second spike voltage generation time detection means is less than a predetermined number. When the number of times that the spike detection signal is determined exceeds a predetermined number, the first spike voltage generation time that is detected and stored last using the first spike voltage generation time detection means is read out, It is determined that the motor has stepped out when the read first spike voltage generation time is a predetermined time or longer and the rise or fall of the spike detection signal cannot be detected a predetermined number of times. Electric motor control device.
前記電動機が脱調したと判断した場合、同電動機を停止する脱調保護制御を行うことを特徴とする請求項1に記載の電動機の制御装置。   2. The motor control device according to claim 1, wherein when it is determined that the motor has stepped out, step-out protection control is performed to stop the motor. 3.
JP2013010914A 2013-01-24 2013-01-24 Control device for motor Pending JP2014143839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013010914A JP2014143839A (en) 2013-01-24 2013-01-24 Control device for motor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013010914A JP2014143839A (en) 2013-01-24 2013-01-24 Control device for motor

Publications (1)

Publication Number Publication Date
JP2014143839A true JP2014143839A (en) 2014-08-07

Family

ID=51424669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013010914A Pending JP2014143839A (en) 2013-01-24 2013-01-24 Control device for motor

Country Status (1)

Country Link
JP (1) JP2014143839A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016194393A1 (en) * 2015-05-29 2016-12-08 株式会社日立産機システム Power conversion device and power conversion device control method
JP2017038492A (en) * 2015-08-12 2017-02-16 株式会社メレック Step-out determination device and step-out determination method for stepping motor

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016194393A1 (en) * 2015-05-29 2016-12-08 株式会社日立産機システム Power conversion device and power conversion device control method
JP2016226135A (en) * 2015-05-29 2016-12-28 株式会社日立産機システム Power conversion device and control method for power conversion device
CN107408906A (en) * 2015-05-29 2017-11-28 株式会社日立产机*** The control method of power inverter and power inverter
JP2017038492A (en) * 2015-08-12 2017-02-16 株式会社メレック Step-out determination device and step-out determination method for stepping motor

Similar Documents

Publication Publication Date Title
US10158318B2 (en) Control device for in-vehicle electric motor
JP5967299B2 (en) Power conversion apparatus and control method thereof
JP2010166655A (en) Driving device for brushless dc motors and refrigerator and air conditioner using the same
JP5539928B2 (en) Motor drive device, fan control device and heat pump device using the same
JP2014171321A (en) Motor control device, heat pump system, and air conditioner
JP2008011670A (en) Inverter system
JPWO2016167041A1 (en) Motor drive device
JP5157267B2 (en) Brushless DC motor control method and control apparatus therefor
JP6241460B2 (en) Electric motor control device
JP6463966B2 (en) Motor driving device, motor driving module and refrigeration equipment
JP2010226842A (en) Control method and control apparatus for brushless dc motor
JP6677067B2 (en) Motor drive
JP2014143839A (en) Control device for motor
JP2007244106A (en) Inverter control device and motor-driven compressor
JP5703152B2 (en) Inverter device
JP5929286B2 (en) Electric motor control device
CN108075690B (en) Motor driving system and operation recovery method thereof
JP6179416B2 (en) Electric motor control device
JP6497307B2 (en) Air conditioner
JP7150186B2 (en) Motor drive device, motor drive system and refrigeration cycle device
JP2010246227A (en) Inverter controller, electric compressor, and home electric appliance
JP7205176B2 (en) motor drive system
EP3229367B1 (en) Power converter and control method of power converter
JP6462821B2 (en) Motor drive device
JP2007189862A (en) Control method and control device of brushless dc motor