TWI753767B - Motor demagnetization detection method and motor demagnetization detection device - Google Patents

Motor demagnetization detection method and motor demagnetization detection device Download PDF

Info

Publication number
TWI753767B
TWI753767B TW110103925A TW110103925A TWI753767B TW I753767 B TWI753767 B TW I753767B TW 110103925 A TW110103925 A TW 110103925A TW 110103925 A TW110103925 A TW 110103925A TW I753767 B TWI753767 B TW I753767B
Authority
TW
Taiwan
Prior art keywords
motor
steady state
value
demagnetization
magnetic flux
Prior art date
Application number
TW110103925A
Other languages
Chinese (zh)
Other versions
TW202232128A (en
Inventor
曾紹凱
曾仁志
吳昇翰
Original Assignee
台達電子工業股份有限公司
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 台達電子工業股份有限公司 filed Critical 台達電子工業股份有限公司
Priority to TW110103925A priority Critical patent/TWI753767B/en
Application granted granted Critical
Publication of TWI753767B publication Critical patent/TWI753767B/en
Publication of TW202232128A publication Critical patent/TW202232128A/en

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Control Of Motors That Do Not Use Commutators (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

A motor demagnetization detection device includes the following steps. An encoder is used to measure a rotation angle of a motor device. A current sensing device is used to measure a three-phase current value of the motor device. A speed of the motor device is calculated according to the rotation angle. When determining that the motor device maintains at a first steady state according to the speed, the three-phase current value is received to obtain and store first steady state data. When determining that the motor device maintains at a second steady state according to the speed, the three-phase current value is received to obtain and store second steady state data. An equivalent magnetic flux is calculated and stored according to the first steady state data and the second steady state data. The motor device is repeatedly driven to maintain at the first steady state and the second steady state, the first steady state data and the second steady state data are updated according to the three-phase current value, and the equivalent magnetic flux is again calculated and stored to generate a plurality of equivalent magnetic fluxes. A magnetic flux change is calculated according to the equivalent magnetic fluxes. A demagnetization warning is issued according to a comparison result of the magnetic flux change and a demagnetization warning value.

Description

馬達退磁檢測方法與馬達退磁檢測裝置Motor demagnetization detection method and motor demagnetization detection device

本發明關於一種馬達檢測方法及馬達檢測裝置,特別是關於一種用於檢測磁通變化量的馬達退磁檢測方法及馬達退磁檢測裝置。The present invention relates to a motor detection method and a motor detection device, and in particular to a motor demagnetization detection method and a motor demagnetization detection device for detecting a change in magnetic flux.

一般來說,永磁同步電動機因不需額外激勵電流產生轉子磁場,且具有高效率、 低慣量及功率密度高等優點。近年來,永磁同步電動機大量被用於工業應用上,如:電動車、機械手臂、電梯等。Generally speaking, the permanent magnet synchronous motor does not need additional excitation current to generate the rotor magnetic field, and has the advantages of high efficiency, low inertia and high power density. In recent years, permanent magnet synchronous motors have been widely used in industrial applications, such as: electric vehicles, robotic arms, elevators, etc.

另一方面,常見在永磁同步電動機的控制上會加入弱磁控制,亦即在永磁同步電動機的直軸(或稱d軸)上適當的加入去磁電流,以延伸轉速操作範圍。然而,過大的直軸電流則會造成轉子磁鐵的永久退磁,進而降低馬達性能。另外,隨著轉子的溫度升高,使磁鐵永久退磁的直軸電流也會隨著降低,使永磁同步電動機更容易發生永久退磁。因此,如何有效地對電動機或馬達的退磁現象進行檢測是當前重要的課題。On the other hand, it is common to add field weakening control to the control of the permanent magnet synchronous motor, that is, to appropriately add demagnetization current to the direct axis (or d-axis) of the permanent magnet synchronous motor to extend the speed operating range. However, excessive direct axis current can cause permanent demagnetization of the rotor magnets, thereby reducing motor performance. In addition, as the temperature of the rotor increases, the direct-axis current that permanently demagnetizes the magnet will also decrease, making the permanent magnet synchronous motor more prone to permanent demagnetization. Therefore, how to effectively detect the demagnetization phenomenon of the motor or the motor is an important issue at present.

本發明提供一種馬達退磁檢測方法與馬達退磁檢測裝置,藉以有效地估測磁通量並降低磁通估測誤差,以增加退磁現象檢測的準確性。The present invention provides a motor demagnetization detection method and a motor demagnetization detection device, so as to effectively estimate the magnetic flux and reduce the magnetic flux estimation error, so as to increase the detection accuracy of the demagnetization phenomenon.

本發明提供一種馬達退磁檢測方法,用於檢測馬達裝置,且馬達退磁檢測方法包括下列步驟。藉由編碼器量測馬達裝置的旋轉角度。藉由電流感測裝置量測馬達裝置的三相電流值。依據旋轉角度計算馬達裝置的轉速。當依據轉速判斷馬達裝置維持在第一穩態時,接收三相電流值以取得並儲存第一穩態資料。當依據轉速判斷馬達裝置維持在第二穩態時,接收三相電流值以取得並儲存第二穩態資料。依據第一穩態資料及第二穩態資料計算並儲存等效磁通量。重複地驅動馬達裝置維持在第一穩態及第二穩態,並依據三相電流值更新第一穩態資料及第二穩態資料,且重新地計算並儲存等效磁通量以生成多個等效磁通量。依據等效磁通量計算磁通變化量。依據磁通變化量及退磁警告值的比較結果,發出退磁警告。The present invention provides a motor demagnetization detection method for detecting a motor device, and the motor demagnetization detection method includes the following steps. The rotation angle of the motor device is measured by the encoder. The three-phase current value of the motor device is measured by the current sensing device. The rotational speed of the motor unit is calculated based on the rotation angle. When it is determined according to the rotational speed that the motor device is maintained in the first steady state, the three-phase current value is received to obtain and store the first steady state data. When it is determined according to the rotational speed that the motor device is maintained in the second steady state, the three-phase current value is received to obtain and store the second steady state data. The equivalent magnetic flux is calculated and stored according to the first steady state data and the second steady state data. Repeatedly driving the motor device to maintain the first steady state and the second steady state, updating the first steady state data and the second steady state data according to the three-phase current value, and recalculating and storing the equivalent magnetic flux to generate a plurality of etc. effective magnetic flux. Calculates the change in magnetic flux based on the equivalent magnetic flux. A demagnetization warning is issued based on the comparison result of the magnetic flux change and the demagnetization warning value.

本發明提供一種馬達退磁檢測裝置,用於檢測馬達裝置。馬達退磁檢測裝置包括編碼器、電流感測裝置與控制器。編碼器用以量測馬達裝置的旋轉角度。電流感測裝置用以量測馬達裝置的三相電流值。控制器耦接編碼器及電流感測裝置。控制器依據旋轉角度,計算馬達裝置的轉速。當控制器依據轉速判斷馬達裝置維持於第一穩態時,控制器接收三相電流值以取得並儲存第一穩態資料。當控制器依據轉速判斷馬達裝置維持於第二穩態時,控制器接收三相電流值以取得並儲存第二穩態資料。控制器依據第一穩態資料及第二穩態資料計算並儲存等效磁通量。重複地驅動馬達裝置維持在第一穩態及第二穩態,控制器依據三相電流值更新第一穩態資料及第二穩態資料,且重新地計算並儲存等效磁通量以生成多個等效磁通量。控制器依據等效磁通量計算磁通變化量,且控制器依據磁通變化量及退磁警告值的比較結果,發出退磁警告。The present invention provides a motor demagnetization detection device for detecting a motor device. The motor demagnetization detection device includes an encoder, a current sensing device and a controller. The encoder is used to measure the rotation angle of the motor device. The current sensing device is used to measure the three-phase current value of the motor device. The controller is coupled to the encoder and the current sensing device. The controller calculates the rotational speed of the motor device according to the rotation angle. When the controller determines that the motor device is maintained in the first steady state according to the rotational speed, the controller receives the three-phase current values to obtain and store the first steady state data. When the controller determines that the motor device is maintained in the second steady state according to the rotational speed, the controller receives the three-phase current values to obtain and store the second steady state data. The controller calculates and stores the equivalent magnetic flux according to the first steady state data and the second steady state data. The motor device is repeatedly driven to maintain the first steady state and the second steady state, the controller updates the first steady state data and the second steady state data according to the three-phase current value, and recalculates and stores the equivalent magnetic flux to generate a plurality of Equivalent Magnetic Flux. The controller calculates the magnetic flux change amount according to the equivalent magnetic flux, and the controller issues a demagnetization warning according to the comparison result of the magnetic flux change amount and the demagnetization warning value.

本發明所揭露之馬達退磁檢測方法與馬達退磁檢測裝置,透過當依據馬達裝置的轉速判斷馬達裝置維持於第一穩態時,接收三相電流值以取得並儲存第一穩態資料,當依據馬達裝置的轉速判斷馬達裝置維持於第二穩態時,接收三相電流值以取得並儲存第二穩態資料,並依據第一穩態資料及第二穩態資料計算並儲存等效磁通量,且重複地驅動馬達裝置維持在第一穩態及第二穩態,並依據三相電流值更新第一穩態資料及第二穩態資料,且重新地計算並儲存等效磁通量以生成多個等效磁通量,且依據等效磁通量計算磁通變化量,再依據磁通變化量及退磁警告值的比較結果,發出退磁警告。如此一來,可以有效地估測磁通量並降低因應積體電路非線性特性產生的磁通估測誤差,以增加檢測退磁現象的準確性,且可以不使用到與馬達相關的電機參數(例如直軸電感),以增加檢測上的便利性及準確性。The motor demagnetization detection method and the motor demagnetization detection device disclosed in the present invention obtain and store the first steady state data by receiving three-phase current values when it is determined according to the rotational speed of the motor device that the motor device is maintained in the first steady state. The rotational speed of the motor device determines that when the motor device is maintained in the second steady state, the three-phase current values are received to obtain and store the second steady state data, and the equivalent magnetic flux is calculated and stored according to the first steady state data and the second steady state data, And repeatedly drive the motor device to maintain the first steady state and the second steady state, update the first steady state data and the second steady state data according to the three-phase current value, and recalculate and store the equivalent magnetic flux to generate a plurality of The equivalent magnetic flux is calculated, and the magnetic flux change is calculated according to the equivalent magnetic flux, and the demagnetization warning is issued according to the comparison result of the magnetic flux change and the demagnetization warning value. In this way, the magnetic flux can be effectively estimated and the magnetic flux estimation error caused by the nonlinear characteristics of the integrated circuit can be reduced, so as to increase the accuracy of detecting the demagnetization phenomenon, and the motor parameters related to the motor (such as direct current) can be omitted. shaft inductance) to increase the convenience and accuracy of detection.

在以下所列舉的各實施例中,將以相同的標號代表相同或相似的元件或組件。In the various embodiments listed below, the same or similar elements or components will be represented by the same reference numerals.

第1圖為依據本發明之一實施例之馬達退磁檢測裝置的示意圖。本實施例之馬達退磁檢測裝置100用於檢測馬達裝置150,其中馬達裝置150可以包括變頻器(inverter)151、馬達152。變頻器151可以依據控制命令輸出三相電流值 i a i b i c ,以驅動馬達152,使馬達152進行運轉。在本實施例中,馬達退磁檢測裝置100可以先接收轉速命令(speed command),並且依據轉速命令產生控制命令給變頻器151。在一些實施例中,馬達152例如為永磁同步電動機,且馬達152可以應用於電梯、電動車、機械手臂等,但本發明實施例不限於此。進一步來說,馬達裝置150還可以包括整流器153。整流器153耦接變頻器151,提供整流電壓給變頻器151。另外,整流器153例如為全橋式(full bridge)整流器,但本發明實施例不限於此。 FIG. 1 is a schematic diagram of a motor demagnetization detection device according to an embodiment of the present invention. The motor demagnetization detection device 100 of this embodiment is used to detect the motor device 150 , wherein the motor device 150 may include an inverter 151 and a motor 152 . The inverter 151 can output the three-phase current values ia , ib , ic according to the control commands, so as to drive the motor 152 and make the motor 152 run. In this embodiment, the motor demagnetization detection device 100 may first receive a speed command, and generate a control command to the inverter 151 according to the speed command. In some embodiments, the motor 152 is, for example, a permanent magnet synchronous motor, and the motor 152 may be applied to elevators, electric vehicles, robotic arms, etc., but the embodiments of the present invention are not limited thereto. Further, the motor device 150 may also include a rectifier 153 . The rectifier 153 is coupled to the inverter 151 and provides a rectified voltage to the inverter 151 . In addition, the rectifier 153 is, for example, a full bridge rectifier, but the embodiment of the present invention is not limited thereto.

請參考第1圖,馬達退磁檢測裝置100可以包括編碼器110、電流感測裝置120與控制器130。Please refer to FIG. 1 , the motor demagnetization detection device 100 may include an encoder 110 , a current sensing device 120 and a controller 130 .

編碼器110量測馬達裝置150(例如馬達151)的旋轉角度以輸出馬達位置訊號。在本實施例中,編碼器110可以是位置感測器。The encoder 110 measures the rotation angle of the motor device 150 (eg, the motor 151 ) to output a motor position signal. In this embodiment, the encoder 110 may be a position sensor.

電流感測裝置120用以量測馬達裝置150的三相電流值。進一步來說,電流感測裝置120耦接變頻器151之輸出端,並量測變頻器151所輸出之三相電流值 i a i b i c ,以產生三相電流值 i a i b i c 的電流偵測值(例如

Figure 02_image001
Figure 02_image003
Figure 02_image005
)。 The current sensing device 120 is used to measure the three-phase current value of the motor device 150 . Further, the current sensing device 120 is coupled to the output end of the inverter 151, and measures the three-phase current values ia , ib , ic output by the inverter 151 to generate the three-phase current values ia , i b , the current detection value of ic (for example
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
).

在一些實施例中,電流感測裝置120可以包括兩個電流感測器210、220,如第2圖所示。電流感測器210、220分別用以量測變頻器151所輸出之三相電流值 i a i b i c 之第一相電流(例如 i a )及第二相電流(例如 i b ),以產生對應的電流偵測值(例如

Figure 02_image001
Figure 02_image003
)並且控制器130可以依據第一相電流(例如 i a ) 對應的電流偵測值(例如
Figure 02_image001
)及第二相電流(例如 i b )對應的電流偵測值(例如
Figure 02_image003
)計算出三相電流值之第三相電流(例如 i c )對應的電流偵測值(例如
Figure 02_image005
)。 In some embodiments, the current sensing device 120 may include two current sensors 210 , 220 , as shown in FIG. 2 . The current sensors 210 and 220 are respectively used to measure the first phase current (eg i a ) and the second phase current (eg ib ) of the three-phase current values i a , ib , ic output by the inverter 151 , to generate the corresponding current detection value (eg
Figure 02_image001
,
Figure 02_image003
) and the controller 130 can detect the current value (eg, ia ) corresponding to the first phase current
Figure 02_image001
) and the current detection value corresponding to the second phase current (eg i b ) (eg
Figure 02_image003
) to calculate the current detection value corresponding to the third-phase current (eg ic ) of the three-phase current value (eg
Figure 02_image005
).

在一些實施例中,電流感測裝置120可以包括三個電流感測器310、320、330。電流感測器310、320、330分別量測變頻器151所輸出之三相電流值 i a i b i c 之第一相電流(例如 i a )、第二相電流(例如 i b )及第三相電流(例如 i c ),使得電流感測裝置120可以產生三相電流值 i a i b i c 的電流偵測值(例如

Figure 02_image001
Figure 02_image003
Figure 02_image005
)。特別注意的是,電流感測器210、220、310、320、330可以是霍爾感測器(Hall sensor)或電流感測電阻(current sensing resistor),但本發明不限於此。 In some embodiments, the current sensing device 120 may include three current sensors 310 , 320 , 330 . The current sensors 310 , 320 and 330 respectively measure the first phase current (eg ia ) and the second phase current (eg ib ) of the three-phase current values ia , ib , ic output by the inverter 151 and the third phase current (eg ic ), so that the current sensing device 120 can generate current detection values of the three-phase current values ia , ib , ic (eg
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
). It is particularly noted that the current sensors 210 , 220 , 310 , 320 and 330 may be Hall sensors or current sensing resistors, but the present invention is not limited thereto.

控制器130耦接變頻器151、編碼器110與電流感測裝置120。控制器130可以提供控制命令給變頻器151。控制器130可以接收編碼器110所輸出之馬達位置訊號及電流感測裝置120所產生之電流偵測值,並且控制器130可以依據馬達位置訊號(例如旋轉角度)計算馬達152(馬達裝置150)的轉速。通常,控制器130依據馬達位置訊號判斷馬達152的旋轉角度,並對馬達152的旋轉角度進行微分來取得馬達152的轉速。The controller 130 is coupled to the inverter 151 , the encoder 110 and the current sensing device 120 . The controller 130 may provide control commands to the frequency converter 151 . The controller 130 can receive the motor position signal output by the encoder 110 and the current detection value generated by the current sensing device 120, and the controller 130 can calculate the motor 152 (the motor device 150) according to the motor position signal (eg rotation angle) speed. Usually, the controller 130 determines the rotation angle of the motor 152 according to the motor position signal, and differentiates the rotation angle of the motor 152 to obtain the rotation speed of the motor 152 .

接著,控制器130可以依據所取得之馬達152的轉速,判斷馬達裝置150是否維持於第一穩態(例如判斷馬達152的轉速是否維持在第一額定轉速超過第一預定時間及於第一誤差範圍內)。在本實施例中,第一額定轉速例如為1000rpm,且第一誤差範圍例如為5%。也就是說,控制器130會判斷馬達152的轉速是否維持第一額定轉速的5%內,例如:維持於950rpm至1050rpm之間。然而,第一額定轉速為1000rpm,且第一誤差範圍為5%僅為本發明的一種實施範例,不用於限制本發明實施例。在其他實施例中,使用者亦可視其需求將第一額定轉速為設定為800rpm、900 rpm、1100rpm、1200rpm等,且第一誤差範圍為2%、8%、10%、15%等。Next, the controller 130 can determine whether the motor device 150 is maintained at the first steady state according to the obtained rotation speed of the motor 152 (eg, determine whether the rotation speed of the motor 152 is maintained at the first rated rotation speed for more than a first predetermined time and within a first error range). In this embodiment, the first rated rotational speed is, for example, 1000 rpm, and the first error range is, for example, 5%. That is, the controller 130 determines whether the rotational speed of the motor 152 is maintained within 5% of the first rated rotational speed, for example, between 950 rpm and 1050 rpm. However, the first rated rotational speed is 1000 rpm, and the first error range is 5% is only an embodiment of the present invention, and is not used to limit the embodiment of the present invention. In other embodiments, the user can also set the first rated speed to 800rpm, 900rpm, 1100rpm, 1200rpm, etc. according to his needs, and the first error range is 2%, 8%, 10%, 15%, etc.

當控制器130判斷馬達裝置150未維持於第一穩態例如馬達152的轉速未維持在第一額定轉速超過第一預定時間及於第一誤差範圍內)時,控制器130會持續依據編碼器110所輸出之馬達位置訊號計算馬達152的轉速,以再次判斷馬達裝置150是否維持於第一穩態。When the controller 130 determines that the motor device 150 is not maintained at the first steady state (for example, the rotational speed of the motor 152 is not maintained at the first rated rotational speed for more than the first predetermined time and within the first error range), the controller 130 will continue to follow the encoder The motor position signal output by 110 calculates the rotational speed of the motor 152 to determine again whether the motor device 150 is maintained in the first steady state.

當控制器130判斷馬達裝置150維持於第一穩態(例如馬達152的轉速維持在第一額定轉速超過第一預定時間及於第一誤差範圍內)時,控制器130會接收三相電流值 i a i b i c 對應的電流偵測值(例如

Figure 02_image001
Figure 02_image003
Figure 02_image005
)以取得並儲存第一穩態資料。在本實施例中,第一穩態資料可以包括第一直軸電流(例如 i d 1)、第一直軸電壓(例如 v d 1)、第一交軸電流(例如 i q 1)及第一交軸電壓(例如 v q 1)。 When the controller 130 determines that the motor device 150 is maintained in the first steady state (eg, the rotation speed of the motor 152 is maintained at the first rated rotation speed for more than a first predetermined time and within a first error range), the controller 130 receives the three-phase current value Current detection values corresponding to i a , ib , and ic (for example,
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
) to obtain and store the first steady state data. In this embodiment, the first steady-state data may include a first linear current (eg, i d 1 ), a first linear voltage (eg, v d 1 ), a first quadrature current (eg, i q 1 ), and a first linear voltage (eg, v d 1 ). A quadrature axis voltage (eg v q 1 ).

接著,控制器130可以依據所取得之馬達152的轉速,判斷馬達裝置150是否維持於第二穩態(例如判斷馬達152的轉速是否維持在第二額定轉速超過第二預設時間及於第二誤差範圍內)。在本實施例中,第二額定轉速例如為50rpm,且第二誤差範圍例如為10%。也就是說,控制器130會判斷馬達152的轉速是否維持第二額定轉速的10%內,例如:轉速維持於45rpm至55rpm之間。然而,第二預定額定轉速為50rpm,且第二誤差範圍為10%僅為本發明的一種實施範例,不用於限制本發明實施例。在其他實施例中,使用者亦可視其需求將第二預定額定轉速為設定為30rpm、40 rpm、60rpm、80rpm等,且第二誤差範圍為5%、8%、15%等。Then, the controller 130 can determine whether the motor device 150 is maintained at the second steady state according to the obtained rotation speed of the motor 152 (eg, determine whether the rotation speed of the motor 152 is maintained at the second rated rotation speed for more than a second preset time and at the second within the error range). In this embodiment, the second rated rotational speed is, for example, 50 rpm, and the second error range is, for example, 10%. That is, the controller 130 determines whether the rotational speed of the motor 152 is maintained within 10% of the second rated rotational speed, for example, the rotational speed is maintained between 45 rpm and 55 rpm. However, the second predetermined rated rotational speed is 50 rpm, and the second error range is 10% is only an embodiment of the present invention, and is not used to limit the embodiment of the present invention. In other embodiments, the user can also set the second predetermined rated rotational speed to 30 rpm, 40 rpm, 60 rpm, 80 rpm, etc. according to his needs, and the second error range is 5%, 8%, 15%, etc.

在一實施例中,第一額定轉速、第二額定轉速、第一誤差範圍及第二誤差範圍為控制器130中的程式設定值。通常,第二額定轉速低於第一額定轉速,但本發明不限於此。在其他一些實施例中,第二額定轉速通常為零,例如:電梯系統的馬達。當電梯車廂到達指定樓層時,電梯系統的馬達之轉速為零。In one embodiment, the first rated rotational speed, the second rated rotational speed, the first error range and the second error range are programmed values in the controller 130 . Usually, the second rated rotational speed is lower than the first rated rotational speed, but the present invention is not limited thereto. In some other embodiments, the second rated speed is generally zero, eg, a motor of an elevator system. When the elevator car reaches the designated floor, the speed of the motor of the elevator system is zero.

當控制器130判斷馬達裝置150未維持於第二穩態(例如馬達152的轉速未維持在第二額定轉速超過第二預設時間及於第二誤差範圍內)時,控制器130會持續依據編碼器110所輸出之馬達位置訊號取得馬達152的轉速,以再次判斷馬達裝置150是否維持於第二穩態。When the controller 130 determines that the motor device 150 is not maintained in the second steady state (for example, the rotational speed of the motor 152 is not maintained at the second rated rotational speed beyond the second preset time and within the second error range), the controller 130 will continue to The motor position signal output by the encoder 110 obtains the rotational speed of the motor 152 to determine again whether the motor device 150 is maintained in the second steady state.

當控制器130判斷馬達裝置150維持於第二穩態(例如馬達152的轉速維持在第二額定轉速超過第二預設時間及於第二誤差範圍內)時,控制器130會接收三相電流值 i a i b i c 對應的電流偵測值(例如

Figure 02_image001
Figure 02_image003
Figure 02_image005
)以取得並儲存第二穩態資料。在本實施例中,第二穩態資料可以包括第二直軸電流(例如 i d 2)、第二直軸電壓(例如 v d 2)、第二交軸電流(例如 i q 2)及第二交軸電壓(例如 v q 2)。 When the controller 130 determines that the motor device 150 is maintained at the second steady state (eg, the rotation speed of the motor 152 is maintained at the second rated rotation speed for more than a second predetermined time and within a second error range), the controller 130 receives the three-phase current The current detection values corresponding to the values i a , ib , and ic (for example,
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
) to obtain and store the second steady state data. In this embodiment, the second steady-state data may include a second direct-axis current (eg, i d 2 ), a second direct-axis voltage (eg, v d 2 ), a second quadrature-axis current (eg, i q 2 ), and a second Two quadrature axis voltages (eg v q 2 ).

在控制器130取得第一穩態資料及第二穩態資料後,控制器130可以依據第一穩態資料及第二穩態資料取得並儲存等效磁通量。After the controller 130 obtains the first steady state data and the second steady state data, the controller 130 can obtain and store the equivalent magnetic flux according to the first steady state data and the second steady state data.

在本實施例中,馬達152之直軸-交軸(d-q軸)電壓方程式可以表示為式(1):In this embodiment, the voltage equation of the direct-axis (d-q-axis) axis of the motor 152 can be expressed as Equation (1):

Figure 02_image007
(1)
Figure 02_image007
(1)

其中,

Figure 02_image009
為直軸(d軸)電壓,
Figure 02_image011
為交軸(q軸)電壓,
Figure 02_image013
為定子電阻,
Figure 02_image015
為直軸電流,
Figure 02_image017
為交軸電流,
Figure 02_image019
為直軸電感,
Figure 02_image021
為交軸電感,
Figure 02_image023
為微分運算子,
Figure 02_image025
為馬達152之電機角速度,
Figure 02_image027
為等效磁通量。 in,
Figure 02_image009
is the direct-axis (d-axis) voltage,
Figure 02_image011
is the quadrature axis (q axis) voltage,
Figure 02_image013
is the stator resistance,
Figure 02_image015
is the direct axis current,
Figure 02_image017
is the quadrature current,
Figure 02_image019
is the direct-axis inductance,
Figure 02_image021
is the quadrature inductance,
Figure 02_image023
is the differential operator,
Figure 02_image025
is the motor angular velocity of the motor 152,
Figure 02_image027
is the equivalent magnetic flux.

在馬達152運轉至穩態(例如馬達152的轉速維持額定轉速於誤差範圍內)時,式(1)可以改寫為式(2),如下所示:When the motor 152 runs to a steady state (for example, the rotational speed of the motor 152 maintains the rated rotational speed within the error range), the equation (1) can be rewritten as the equation (2), as shown below:

Figure 02_image029
(2)
Figure 02_image029
(2)

另外,在固定負載下且於不同轉速(例如第一額定轉速與第二額定轉速)操作點對交軸電壓(例如第一穩態資料的第一交軸電壓與第二穩態資料的第二交軸電壓)進行取樣,可以由式(2)取得式(3a)與式(3b),如下所示:In addition, under a fixed load and at different rotational speeds (eg, the first rated rotational speed and the second rated rotational speed), the quadrature axis voltage (eg, the first quadrature axis voltage of the first steady-state data and the second quadrature axis voltage of the second steady-state data) (3a) and (3b) can be obtained from equation (2), as shown below:

Figure 02_image031
(3a)
Figure 02_image031
(3a)

Figure 02_image033
(3b)
Figure 02_image033
(3b)

其中,

Figure 02_image035
為第一交軸電壓,
Figure 02_image037
為第一交軸電流,
Figure 02_image039
為第一額定轉速,
Figure 02_image041
為第一直軸電流,
Figure 02_image043
為第二交軸電壓,
Figure 02_image045
為第二交軸電流,
Figure 02_image047
為第二額定轉速,
Figure 02_image049
為第二直軸電流。 in,
Figure 02_image035
is the first quadrature axis voltage,
Figure 02_image037
is the first quadrature axis current,
Figure 02_image039
is the first rated speed,
Figure 02_image041
is the first straight axis current,
Figure 02_image043
is the second quadrature axis voltage,
Figure 02_image045
is the second quadrature axis current,
Figure 02_image047
is the second rated speed,
Figure 02_image049
is the second direct axis current.

接著,將兩個轉速操作點取得的第一交軸電壓

Figure 02_image035
與第二交軸電壓
Figure 02_image035
相減,亦即將式(3a)與式(3b)相減,以得到式(4),如下所示: Next, the first quadrature axis voltage obtained at the two rotational speed operating points
Figure 02_image035
with the second quadrature axis voltage
Figure 02_image035
Subtraction, that is, subtracting Equation (3a) from Equation (3b) to obtain Equation (4), is as follows:

Figure 02_image051
(4)
Figure 02_image051
(4)

當第一交軸電流

Figure 02_image053
≈第二交軸電流
Figure 02_image054
及第一直軸電流
Figure 02_image055
≈第二直軸電流
Figure 02_image056
,可以將式(4)簡化為式(5),如下所示: When the first quadrature axis current
Figure 02_image053
≈Second quadrature axis current
Figure 02_image054
and the first straight axis current
Figure 02_image055
≈Second axis current
Figure 02_image056
, Equation (4) can be simplified to Equation (5), as follows:

Figure 02_image057
(5)
Figure 02_image057
(5)

接著,可以將式(5)改寫成式(6),以便估測等效磁通量。Next, Equation (5) can be rewritten into Equation (6) in order to estimate the equivalent magnetic flux.

Figure 02_image059
(6)
Figure 02_image059
(6)

其中,

Figure 02_image061
為等效磁通量。也就是說,控制器130可以依據式(6),以估測出等效磁通量,並儲存等效磁通量。 in,
Figure 02_image061
is the equivalent magnetic flux. That is, the controller 130 can estimate the equivalent magnetic flux according to equation (6), and store the equivalent magnetic flux.

進一步來說,若將直軸電流(例如第一直軸電流 i d 1)控制為零,可以將式(6)簡化為式(7),如下所示: Further, if the direct-axis current (for example, the first direct-axis current i d 1 ) is controlled to be zero, equation (6) can be simplified to equation (7), as shown below:

Figure 02_image063
(7)
Figure 02_image063
(7)

也就是說,控制器130也可以依據式(7),以估測出等效磁通量。由式(7)可以看出,等效磁通量

Figure 02_image061
可以由不同額定轉速(例如第一額定轉速與第二額定轉速)與其對應的交軸電壓(第一交軸電壓與第二交軸電壓)計算而得,而可以不使用到與馬達152相關的電機參數(例如直軸電感
Figure 02_image019
),以增加檢測上的便利性及準確性。 That is to say, the controller 130 can also estimate the equivalent magnetic flux according to equation (7). It can be seen from equation (7) that the equivalent magnetic flux
Figure 02_image061
It can be calculated from different rated speeds (for example, the first rated speed and the second rated speed) and their corresponding quadrature voltages (the first quadrature voltage and the second quadrature voltage), without using the motor 152-related voltage. Motor parameters (such as direct shaft inductance
Figure 02_image019
) to increase the convenience and accuracy of detection.

如此一來,透過控制器130估測馬達152對應的等效磁通量,可以有效地確定馬達152的運作狀態,亦即馬達152之轉子的溫度是否過高,或是馬達152是否產生退磁現象等。舉例來說,當等效磁通量低於一預設閥值時,表示馬達152之轉子的溫度過高,或是馬達152已產生退磁現象。反之,當第一磁通量未低於預設閥值時,表示馬達152之轉子的溫度未過高,或是馬達152未產生退磁現象。In this way, by estimating the equivalent magnetic flux corresponding to the motor 152 by the controller 130, the operating state of the motor 152 can be effectively determined, that is, whether the temperature of the rotor of the motor 152 is too high, or whether the motor 152 is demagnetized. For example, when the equivalent magnetic flux is lower than a predetermined threshold, it means that the temperature of the rotor of the motor 152 is too high, or the motor 152 has been demagnetized. On the contrary, when the first magnetic flux is not lower than the preset threshold, it means that the temperature of the rotor of the motor 152 is not too high, or the motor 152 is not demagnetized.

在一些實施例中,控制器130可以依據馬達位置訊號、第一穩態資料及第二穩態資料調整控制命令給變頻器151,使得變頻器151改變三相電流值以驅動馬達152。如第1圖所示,控制器130可以包括速度控制器131、電流控制器132、調變單元133、速度計算器134、三相轉二相轉換器135與估測單元136,然而本發明實施例並不以此為限。In some embodiments, the controller 130 may adjust a control command to the inverter 151 according to the motor position signal, the first steady state data and the second steady state data, so that the inverter 151 changes the three-phase current value to drive the motor 152 . As shown in FIG. 1, the controller 130 may include a speed controller 131, a current controller 132, a modulation unit 133, a speed calculator 134, a three-phase-to-two-phase converter 135, and an estimation unit 136. However, the present invention implements the The example is not limited to this.

速度控制器131可以接收速度命令

Figure 02_image065
與馬達152的轉速,並依據速度命令
Figure 02_image065
與馬達152的轉速,產生電流命令。電流控制器132耦接速度控制器131,接收速度控制器131所產生之電流命令、直軸電流(例如第一直軸電流 i d 1或第二直電流 i d 2)與交軸電流(例如第一交軸電流 i q 1或第二交軸電 i q 1),以產生直軸電壓(例如第一直軸電壓 v d 1或第二直軸電壓 v d 2)與交軸電壓(例如第一交軸電壓 v q 1或第二交軸電壓 v q 2)。此外,當電流感測裝置120感測三相電流值 i a i b i c 時,電流感測裝置120輸出三相電流值 i a i b i c 的電流偵測值(例如
Figure 02_image001
Figure 02_image003
Figure 02_image005
)給三相轉兩相轉換器135,並且三相轉二相轉換器135將三相電流值 i a i b i c 的電流偵測值(例如
Figure 02_image001
Figure 02_image003
Figure 02_image005
)轉換成直軸電流(例如第一直軸電流 i d 1或第二直電流 i d 2)與交軸電流(例如第一交軸電流 i q 1或第二交軸電 i q 1)。 Speed controller 131 may receive speed commands
Figure 02_image065
and the speed of the motor 152, and according to the speed command
Figure 02_image065
In conjunction with the rotational speed of the motor 152, a current command is generated. The current controller 132 is coupled to the speed controller 131, and receives the current command generated by the speed controller 131, the direct-axis current (eg, the first direct-axis current id1 or the second direct-axis current id2 ) and the quadrature-axis current (eg, the first quadrature axis current i q 1 or the second quadrature axis current i q 1 ) to generate the direct axis voltage (eg the first quad axis voltage v d 1 or the second quad axis voltage v d 2 ) and the quadrature axis voltage (eg first quadrature voltage vq1 or second quadrature voltage vq2 ). In addition, when the current sensing device 120 senses the three-phase current values ia , ib , ic , the current sensing device 120 outputs the current detection values of the three-phase current values ia , ib , ic (for example,
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
) to the three-phase to two-phase converter 135, and the three-phase to two-phase converter 135 converts the current detection values of the three-phase current values ia , ib , ic (eg
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
) into a direct-axis current (eg, a first direct-axis current id 1 or a second direct-axis current id 2 ) and a quadrature-axis current (eg, the first quadrature-axis current i q 1 or the second quad-axis current i q 1 ).

調變單元133耦接電流控制器132,接收電流控制器132所產生之直軸電壓(例如第一直軸電壓 v d 1或第二直軸電壓 v d 2)與交軸電壓(例如第一交軸電壓 v q 1或第二交軸電壓 v q 2),並對直軸電壓與交軸電壓進行三相轉二相轉換及脈寬調變,以產生控制命令,並將控制命令提供給變頻器151。接著,變頻器151可以依據調變單元133所產生之控制命令輸出三相電流值 i a i b i c ,以驅動馬達152進行運轉。 The modulation unit 133 is coupled to the current controller 132 and receives the direct-axis voltage (eg, the first direct-axis voltage v d 1 or the second direct-axis voltage v d 2 ) and the quadrature-axis voltage (eg, the first direct-axis voltage v d 2 ) generated by the current controller 132 The quadrature axis voltage v q 1 or the second quadrature axis voltage v q 2 ), and three-phase to two-phase conversion and pulse width modulation are performed on the direct axis voltage and the quadrature axis voltage to generate control commands, and provide the control commands to Inverter 151. Next, the inverter 151 can output the three-phase current values ia , ib , ic according to the control command generated by the modulation unit 133 to drive the motor 152 to operate.

速度計算器134耦接編碼器110,接收編碼器110所輸出之馬達位置訊號,並對馬達位置訊進行計算,以產生對應之馬達152的轉速。三相轉二相轉換器135耦接電流感測裝置120,接收電流感測裝置120所產生之三相電流值 i a i b i c 的電流偵測值(例如

Figure 02_image001
Figure 02_image003
Figure 02_image005
),並將三相電流值 i a i b i c 的電流偵測值(例如
Figure 02_image001
Figure 02_image003
Figure 02_image005
)轉換成二相的直軸電流(例如第一直軸電流 i d 1或第二直電流 i d 2)與交軸電流(例如第一交軸電流 i q 1或第二交軸電 i q 1)。 The speed calculator 134 is coupled to the encoder 110 , receives the motor position signal output by the encoder 110 , and calculates the motor position signal to generate the corresponding rotational speed of the motor 152 . The three-phase to two-phase converter 135 is coupled to the current sensing device 120 , and receives current detection values of three-phase current values ia , ib , and ic generated by the current sensing device 120 (eg,
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
), and convert the current detection values of the three-phase current values i a , ib , ic (for example,
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
) into a two-phase direct-axis current (such as the first direct-axis current id 1 or the second direct-axis current id 2 ) and the quadrature-axis current (such as the first quadrature-axis current i q 1 or the second quad-axis current i q 1 ).

估測單元136耦接電流控制器132、三相轉二相轉換器135與速度計算器134,估測單元136可以接收速度計算器134所提供之馬達152的轉速、電流控制器132所提供之第一直軸電壓、第一交軸電壓、第二直軸電壓與第二交軸電壓以及三相轉二相轉換器135所提供之第一直軸電流、第一交軸電流、第二直軸電流與第二交軸電流。The estimation unit 136 is coupled to the current controller 132 , the three-phase to two-phase converter 135 and the speed calculator 134 . The first direct-axis voltage, the first quadrature-axis voltage, the second direct-axis voltage, the second quadrature-axis voltage, and the first direct-axis current, the first quadrature-axis current, and the second direct-axis current provided by the three-phase-to-two-phase converter 135 Axial current and second quadrature axis current.

估測單元136可以判斷馬達裝置150是否維持於第一穩態(例如判斷馬達152的轉速是否維持在第一額定轉速超過第一預設時間及於第一誤差範圍內),且估測單元136判斷馬達裝置150維持於第一穩態(例如馬達152的轉速維持在第一額定轉速超過第一預社時間及於第一誤差範圍內),則估測單元136可以儲存第一穩態(例如馬達152的轉速維持在第一額定轉速)對應之第一穩態資料。The estimating unit 136 can determine whether the motor device 150 is maintained in the first steady state (eg, determine whether the rotational speed of the motor 152 is maintained at the first rated rotational speed exceeding the first preset time and within the first error range), and the estimating unit 136 It is determined that the motor device 150 is maintained in the first steady state (for example, the rotational speed of the motor 152 is maintained at the first rated rotational speed exceeding the first pre-processing time and within the first error range), and the estimation unit 136 may store the first steady state (for example, The rotational speed of the motor 152 is maintained at the first steady state data corresponding to the first rated rotational speed).

另外,估測單元136也可以判斷馬達裝置150是否維持於第二穩態(例如判斷馬達152的轉速是否維持在第二額定轉速超過第二預設時間及於第二誤差範圍內),且如果估測單元136判斷馬達裝置150維持於第二穩態(例如馬達152的轉速維持在第二額定轉速超過第二預設時間及於第二誤差範圍內),則估測單元136可以儲存第二穩態(例如馬達152的轉速維持在第二額定轉速)對應之第二穩態資料。接著,其中估測單元136可以依據第一穩態資料及第二穩態資料取得並儲存等效磁通量。In addition, the estimating unit 136 can also determine whether the motor device 150 is maintained in the second steady state (eg, determine whether the rotation speed of the motor 152 is maintained at the second rated rotation speed for more than a second predetermined time and within a second error range), and if The estimating unit 136 determines that the motor device 150 is maintained in the second steady state (for example, the rotational speed of the motor 152 is maintained at the second rated rotational speed exceeding the second preset time and within the second error range), and the estimating unit 136 may store the second The second steady state data corresponds to the steady state (eg, the rotational speed of the motor 152 is maintained at the second rated rotational speed). Next, the estimation unit 136 can obtain and store the equivalent magnetic flux according to the first steady state data and the second steady state data.

在一些實施例中,控制器130還可以重複地產生控制命令給變頻器151,以重複地驅動馬達152維持於第一穩態及第二穩態,則控制器130可以依據三相電流值 i a i b i c 對應的電流偵測值(例如

Figure 02_image001
Figure 02_image003
Figure 02_image005
),更新第一穩態資料及第二穩態資料,且重新地計算並儲存等效磁通量以生成多個等效磁通量。在本實施例中,上述多個等效磁通量的計算方式也可以利用式(6)或式(7)計算而得。 In some embodiments, the controller 130 may also repeatedly generate control commands to the inverter 151 to repeatedly drive the motor 152 to maintain the first steady state and the second steady state, and the controller 130 may determine the three-phase current value i according to the Current detection values corresponding to a , ib , and ic (for example,
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
), update the first steady state data and the second steady state data, and recalculate and store the equivalent magnetic fluxes to generate a plurality of equivalent magnetic fluxes. In this embodiment, the calculation methods of the above-mentioned multiple equivalent magnetic fluxes can also be calculated by using the formula (6) or the formula (7).

接著,控制器130依據上述多個等效磁通量計算磁通變化量。在一些實施例中,控制器130可以由上述多個等效磁通量中擷取出最小值與最大值。也就是說,控制器130可以將多個等效磁通量進行比較,以取得最小值與最大值。之後,控制器130可以依據上述多個等效磁通量的最小值與最大值,計算出磁通變化量。Next, the controller 130 calculates the magnetic flux variation according to the plurality of equivalent magnetic fluxes. In some embodiments, the controller 130 can extract the minimum value and the maximum value from the above-mentioned multiple equivalent magnetic fluxes. That is, the controller 130 may compare a plurality of equivalent magnetic fluxes to obtain a minimum value and a maximum value. Afterwards, the controller 130 may calculate the magnetic flux variation according to the minimum and maximum values of the above-mentioned multiple equivalent magnetic fluxes.

另外,在一些實施例中,控制器130可以由上述多個等效磁通量中擷取出最初值與最末值。也就是說,控制器130可以將多個等效磁通量進行排序,以取得最初值與最末值。之後,控制器130可以依據上述多個等效磁通量的最初值與最末值,計算出磁通變化量。本實施例中,磁通變化量可以利用式(8)進行計算,如下所示:In addition, in some embodiments, the controller 130 can extract the initial value and the final value from the above-mentioned multiple equivalent magnetic fluxes. That is, the controller 130 can sort the multiple equivalent magnetic fluxes to obtain the initial value and the final value. Afterwards, the controller 130 may calculate the magnetic flux variation according to the initial and final values of the plurality of equivalent magnetic fluxes. In this embodiment, the amount of magnetic flux change can be calculated using formula (8), as shown below:

Figure 02_image067
(8)
Figure 02_image067
(8)

其中,

Figure 02_image069
為磁通變化量,
Figure 02_image071
為最初值,
Figure 02_image073
為最末值。 in,
Figure 02_image069
is the change in magnetic flux,
Figure 02_image071
is the initial value,
Figure 02_image073
is the final value.

在控制器130計算出磁通變化量後,控制器130可以依據磁通變化量與退磁警告值的比較結果,發出退磁警告,以確定馬達152是否產生退磁現象。在本實施例中,退磁警告值可由使用者示其需求自行調整,例如5%、10%,但本發明實施例不限於此。After the controller 130 calculates the magnetic flux variation, the controller 130 may issue a demagnetization warning according to the comparison result between the magnetic flux variation and the demagnetization warning value to determine whether the motor 152 is demagnetized. In this embodiment, the demagnetization warning value can be adjusted by the user according to his needs, such as 5% and 10%, but the embodiment of the present invention is not limited thereto.

舉例來說,控制器130可以將磁通變化量與退磁警告值進行比較,以判斷磁通變化量是否大於或等於退磁警告值(例如判斷磁通變化量是否大於5%、10%)並產生比較結果。當比較結果為磁通變化量小於退磁警告值時,控制器130不發出退磁警告。如此,可以確定馬達152未產生退磁現象,則控制器130可以持續對磁通變化量進行檢測的操作或是結束檢測操作。當比較結果為磁通變化量大於或等於退磁警告值時,控制器130會發出退磁警告。如此,控制器130可以確定馬達152產生退磁現象,並進行降載操作及發出退磁警告訊號。如此一來,使用者便可透過退磁警告訊號,得知馬達152產生退磁現象,以便對馬達152進行維修或更換的操作。For example, the controller 130 can compare the magnetic flux change with the demagnetization warning value to determine whether the magnetic flux change is greater than or equal to the demagnetization warning value (eg, determine whether the magnetic flux change is greater than 5%, 10%) and generate Comparing results. When the comparison result is that the magnetic flux variation is less than the demagnetization warning value, the controller 130 does not issue a demagnetization warning. In this way, it can be determined that the motor 152 is not demagnetized, and the controller 130 can continue the detection operation of the magnetic flux variation or end the detection operation. When the comparison result is that the magnetic flux variation is greater than or equal to the demagnetization warning value, the controller 130 will issue a demagnetization warning. In this way, the controller 130 can determine that the motor 152 is demagnetized, perform a demagnetization operation, and issue a demagnetization warning signal. In this way, the user can know that the motor 152 is demagnetized through the demagnetization warning signal, so as to repair or replace the motor 152 .

在其他一些實施例中,控制器130中包括儲存單元(未繪示出),所以控制器130可將計算出的等效磁通量儲存於儲存單元中。其中儲存單元可以是記憶體(Memory)、電子可抹拭唯讀記憶體(EEPROM)等。In other embodiments, the controller 130 includes a storage unit (not shown), so the controller 130 can store the calculated equivalent magnetic flux in the storage unit. The storage unit may be a memory, an electronically erasable read-only memory (EEPROM), or the like.

藉由如上實施例的說明,本發明實施例提供一種馬達退磁檢測方法。第4圖為依據本發明之一實施例之馬達退磁檢測方法的流程圖。本實施例之馬達退磁檢測方法用於檢測馬達裝置。在步驟S402中,藉由編碼器量測馬達裝置的旋轉角度。With the description of the above embodiments, the embodiments of the present invention provide a method for detecting demagnetization of a motor. FIG. 4 is a flowchart of a motor demagnetization detection method according to an embodiment of the present invention. The motor demagnetization detection method of this embodiment is used to detect a motor device. In step S402, the rotation angle of the motor device is measured by the encoder.

在步驟S404中,藉由電流感測裝置量測馬達裝置的三相電流值。在步驟S406,依據旋轉角度計算馬達裝置的轉速。在步驟S408,當依據轉速判斷馬達裝置維持於第一穩態時,接收三相電流值以取得並儲存第一穩態資料。In step S404, the three-phase current value of the motor device is measured by the current sensing device. In step S406, the rotation speed of the motor device is calculated according to the rotation angle. In step S408, when it is determined according to the rotational speed that the motor device is maintained in the first steady state, the three-phase current value is received to obtain and store the first steady state data.

在步驟S410中,當依據轉速判斷馬達裝置維持於第二穩態時,接收三相電流值以取得並儲存第二穩態資料。在步驟S412中,依據第一穩態資料及第二穩態資料計算並儲存等效磁通量。In step S410, when it is determined according to the rotational speed that the motor device is maintained in the second steady state, the three-phase current value is received to obtain and store the second steady state data. In step S412, the equivalent magnetic flux is calculated and stored according to the first steady state data and the second steady state data.

在步驟S414中,重複地驅動馬達裝置維持在第一穩態及第二穩態,並依據三相電流值更新第一穩態資料及第二穩態資料,且重新地計算並儲存等效磁通量以生成多個等效磁通量。在步驟S416中,依據多個等效磁通量計算磁通變化量。在步驟S418中,依據磁通變化量及退磁警告值的比較結果,發出退磁警告。In step S414, the motor device is repeatedly driven to maintain the first steady state and the second steady state, the first steady state data and the second steady state data are updated according to the three-phase current value, and the equivalent magnetic flux is recalculated and stored to generate multiple equivalent magnetic fluxes. In step S416, the magnetic flux variation is calculated according to the plurality of equivalent magnetic fluxes. In step S418, a demagnetization warning is issued according to the comparison result between the magnetic flux change amount and the demagnetization warning value.

在本實施例中,第一穩態資料可以包括第一直軸電流、第一直軸電壓、第一交軸電流及第一交軸電壓。第二穩態資料可以包括第二直軸電流、第二直軸電壓、第二交軸電流及第二交軸電壓。In this embodiment, the first steady-state data may include a first straight-axis current, a first straight-axis voltage, a first quadrature-axis current, and a first quadrature-axis voltage. The second steady state data may include a second direct axis current, a second direct axis voltage, a second quadrature axis current, and a second quadrature axis voltage.

進一步來說,在一些實施例中,步驟S416可以包括擷取多個等效磁通量的最小值及最大值,且依據最小值及最大值,計算出磁通變化量。在一些實施例中,步驟S416可以包括擷取多個等效磁通量的最初值及最末值,且依據最初值及最末值,計算出磁通變化量。在一些實施例中,步驟S418可以包括當比較結果為磁通變化量大於或等於退磁警告值時,發出退磁警告;當比較結果為磁通變化量小於退磁警告值時,不發出退磁警告。Further, in some embodiments, step S416 may include capturing the minimum value and maximum value of a plurality of equivalent magnetic fluxes, and calculating the magnetic flux variation according to the minimum value and the maximum value. In some embodiments, step S416 may include capturing the initial and final values of a plurality of equivalent magnetic fluxes, and calculating the magnetic flux variation according to the initial and final values. In some embodiments, step S418 may include issuing a demagnetization warning when the comparison result is that the magnetic flux change is greater than or equal to the demagnetization warning value; when the comparison result is that the magnetic flux change is less than the demagnetization warning value, not issuing a demagnetization warning.

值得注意的是,第4A圖之步驟的順序僅用以作為說明之目的,不用於限制本發明實施例之步驟的順序,且上述步驟之順序可由使用者視其需求而改變。並且,在不脫離本發明之精神以及範圍內,可增加額外之步驟或者使用更少之步驟。It is worth noting that the sequence of the steps in FIG. 4A is only used for illustration purposes, and is not used to limit the sequence of the steps of the embodiment of the present invention, and the sequence of the above steps can be changed by users according to their needs. Also, additional steps may be added or fewer steps may be used without departing from the spirit and scope of the present invention.

第5圖為依據本發明之一實施例之馬達退磁檢測裝置驅動馬達時之馬達的轉速與交軸電流的波形圖。在第7圖中,曲線S1表示馬達152的速度,曲線S2表示交軸電流,標號Speed1表示第一額定轉速,標號Speed2表示第二額定轉速,標號T1~T5表示時間。另外,在本實施例中,馬達152以電梯系統的馬達為例,且電梯車廂例如由1樓上升至5樓。FIG. 5 is a waveform diagram of the rotational speed of the motor and the quadrature axis current when the motor demagnetization detection device according to an embodiment of the present invention drives the motor. In FIG. 7, the curve S1 represents the speed of the motor 152, the curve S2 represents the quadrature axis current, the symbol Speed1 represents the first rated speed, the symbol Speed2 represents the second rated speed, and the symbols T1 to T5 represent time. In addition, in this embodiment, the motor 152 is a motor of an elevator system, and the elevator car rises from the first floor to the fifth floor, for example.

在時間T1,當電梯車廂由1樓開始運行時,馬達煞車裝置鬆開馬達152,交軸電流S1的電流值會增加,使馬達152開始運轉並加速。接著,在時間T2,當電梯車廂到達2-3樓時,馬達152的轉速會達到並維持在第一額定轉速Speed1,亦即馬達裝置150維持於第一穩態。此時,馬達退磁檢測裝置100的控制器130可以取得並儲存第一穩態資料。之後,在時間T3,在電梯車廂達到3樓之後,交軸電流S1的電流值會減少,使馬達152開始減速。接著,在時間T4,馬達152的轉速會達到並維持在第二額定轉速Speed2,亦即馬達裝置150維持於第二穩態。此時,馬達退磁檢測裝置100的控制器130可以取得並儲存第二穩態資料。最後,在時間T5,當電梯車廂到達5樓時,馬達煞車裝置會夾住馬達152,使馬達152停止運轉且馬達152的轉速降為零,使電梯車廂維持在5樓。At time T1, when the elevator car starts to run from the 1st floor, the motor braking device releases the motor 152, and the current value of the quadrature current S1 increases, so that the motor 152 starts to run and accelerate. Next, at time T2, when the elevator car reaches floors 2-3, the rotational speed of the motor 152 will reach and maintain the first rated rotational speed Speed1, that is, the motor device 150 is maintained in the first steady state. At this time, the controller 130 of the motor demagnetization detection apparatus 100 can obtain and store the first steady-state data. After that, at time T3, after the elevator car reaches the third floor, the current value of the quadrature axis current S1 decreases, and the motor 152 starts to decelerate. Next, at time T4, the rotational speed of the motor 152 will reach and maintain the second rated rotational speed Speed2, that is, the motor device 150 is maintained in the second steady state. At this time, the controller 130 of the motor demagnetization detection device 100 can obtain and store the second steady-state data. Finally, at time T5, when the elevator car reaches the 5th floor, the motor braking device will clamp the motor 152, stop the motor 152 and reduce the rotation speed of the motor 152 to zero, so that the elevator car is maintained on the 5th floor.

綜上所述,本發明所揭露之馬達退磁檢測方法與馬達退磁檢測裝置,透過當依據馬達裝置的轉速判斷馬達裝置維持於第一穩態時,接收三相電流值以取得並儲存第一穩態資料,當依據馬達裝置的轉速判斷馬達裝置維持於第二穩態時,接收三相電流值以取得並儲存第二穩態資料,並依據第一穩態資料及第二穩態資料計算並儲存等效磁通量,且重複地驅動馬達裝置維持在第一穩態及第二穩態,並依據三相電流值更新第一穩態資料及第二穩態資料,且重新地計算並儲存等效磁通量以生成多個等效磁通量,且依據等效磁通量計算磁通變化量,再依據磁通變化量及退磁警告值的比較結果,發出退磁警告。如此一來,可以有效地估測磁通量並降低因應積體電路非線性特性產生的磁通估測誤差,以增加檢測退磁現象的準確性,且可以不使用到與馬達相關的電機參數(例如d軸電感),以增加檢測上的便利性及準確性。To sum up, the motor demagnetization detection method and the motor demagnetization detection device disclosed in the present invention obtain and store the first stable state by receiving three-phase current values when it is determined that the motor device is maintained in the first steady state according to the rotational speed of the motor device. state data, when it is judged that the motor device is maintained in the second steady state according to the rotational speed of the motor device, the three-phase current value is received to obtain and store the second steady state data, and calculated and calculated according to the first steady state data and the second steady state data. Store the equivalent magnetic flux, repeatedly drive the motor device to maintain the first steady state and the second steady state, update the first steady state data and the second steady state data according to the three-phase current value, and recalculate and store the equivalent The magnetic flux is used to generate a plurality of equivalent magnetic fluxes, and the variation of the magnetic flux is calculated according to the equivalent magnetic flux, and then a demagnetization warning is issued according to the comparison result of the variation of the magnetic flux and the demagnetization warning value. In this way, the magnetic flux can be effectively estimated and the magnetic flux estimation error caused by the nonlinear characteristics of the integrated circuit can be reduced, so as to increase the accuracy of detecting the demagnetization phenomenon, and the motor parameters (such as d) related to the motor can be omitted. shaft inductance) to increase the convenience and accuracy of detection.

本發明雖以實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention is disclosed above by the embodiments, it is not intended to limit the scope of the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be determined by the scope of the appended patent application.

100:馬達退磁檢測裝置 110:編碼器 120:電流感測裝置 130:控制器 131:速度控制器 132:電流控制器 133:調變單元 134:速度計算器 135:三相轉二相轉換器 136:估測單元 150:馬達裝置 151:變頻器 152:馬達 153:整流器 210,220,310,320,330:電流感測器

Figure 02_image065
:速度命令 i a , i b , i c :三相電流值
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
:電流偵測值 v q 1:第一交軸電壓 v q 2:第二交軸電壓 v d 1:第一直軸電壓 v d 2:第二直軸電壓 i q 1:第一交軸電流 i q 2:第二交軸電流 i d 1:第一直軸電流 i d 2:第二直軸電流 S1:馬達的速度 S2:交軸電流 Speed1:第一額定轉速 Speed2:第二額定轉速 T1~T5:時間 S402~S418:步驟100: Motor demagnetization detection device 110: Encoder 120: Current sensing device 130: Controller 131: Speed controller 132: Current controller 133: Modulation unit 134: Speed calculator 135: Three-phase to two-phase converter 136 : Estimation unit 150 : Motor device 151 : Inverter 152 : Motor 153 : Rectifier 210, 220, 310, 320, 330: Current sensor
Figure 02_image065
: Speed command i a , i b , ic : Three-phase current value
Figure 02_image001
,
Figure 02_image003
,
Figure 02_image005
: current detection value v q 1 : first quadrature-axis voltage v q 2 : second quad-axis voltage v d 1 : first quad-axis voltage v d 2 : second quad-axis voltage i q 1 : first quad-axis current i q 2 : the second quadrature axis current id 1 : the first quadrature axis current id 2 : the second quadrature axis current S1 : the speed of the motor S2 : the quadrature axis current Speed1 : the first rated speed Speed2 : the second rated speed T1 ~T5: Time S402~S418: Step

第1圖為依據本發明之一實施例之馬達退磁檢測裝置的示意圖。 第2圖為依據本發明之一實施例之電流感測裝置的示意圖。 第3圖為依據本發明之另一實施例之電流感測裝置的示意圖。 第4圖為依據本發明之一實施例之馬達退磁檢測方法的流程圖。 第5圖為依據本發明之一實施例之馬達退磁檢測裝置驅動馬達時之馬達的轉速與交軸電流的波形圖。 FIG. 1 is a schematic diagram of a motor demagnetization detection device according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a current sensing device according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a current sensing device according to another embodiment of the present invention. FIG. 4 is a flowchart of a motor demagnetization detection method according to an embodiment of the present invention. FIG. 5 is a waveform diagram of the rotational speed of the motor and the quadrature axis current when the motor demagnetization detection device according to an embodiment of the present invention drives the motor.

S402~S418:步驟 S402~S418: Steps

Claims (12)

一種馬達退磁檢測方法,用於檢測一馬達裝置,其中該馬達退磁檢測方法包括: 藉由一編碼器量測該馬達裝置的一旋轉角度; 藉由一電流感測裝置量測該馬達裝置的三相電流值; 依據該旋轉角度計算該馬達裝置的一轉速; 當依據該轉速判斷該馬達裝置維持於一第一穩態時,接收該三相電流值以取得並儲存一第一穩態資料; 當依據該轉速判斷該馬達裝置維持於一第二穩態時,接收該三相電流值以取得並儲存一第二穩態資料; 依據該第一穩態資料及該第二穩態資料計算並儲存一等效磁通量; 重複地驅動該馬達裝置維持在該第一穩態及該第二穩態,並依據該三相電流值更新該第一穩態資料及該第二穩態資料,且重新地計算並儲存該等效磁通量以生成多個等效磁通量; 依據該多個等效磁通量計算一磁通變化量;以及 依據該磁通變化量及一退磁警告值的一比較結果,發出一退磁警告。 A motor demagnetization detection method for detecting a motor device, wherein the motor demagnetization detection method comprises: measuring a rotation angle of the motor device by an encoder; measuring the three-phase current value of the motor device by a current sensing device; calculating a rotational speed of the motor device according to the rotation angle; When judging that the motor device is maintained in a first steady state according to the rotational speed, receiving the three-phase current value to obtain and store a first steady state data; When judging that the motor device is maintained in a second steady state according to the rotational speed, receiving the three-phase current value to obtain and store a second steady state data; calculating and storing an equivalent magnetic flux according to the first steady state data and the second steady state data; Repeatedly driving the motor device to maintain the first steady state and the second steady state, updating the first steady state data and the second steady state data according to the three-phase current value, and recalculating and storing the effective magnetic flux to generate multiple equivalent magnetic fluxes; calculating a magnetic flux variation according to the plurality of equivalent magnetic fluxes; and A demagnetization warning is issued according to a comparison result between the magnetic flux change amount and a demagnetization warning value. 如請求項1所述之馬達退磁檢測方法,其中擷取該多個等效磁通量的一最小值及一最大值,且依據該最小值及該最大值,計算出該磁通變化量。The motor demagnetization detection method according to claim 1, wherein a minimum value and a maximum value of the plurality of equivalent magnetic fluxes are extracted, and the magnetic flux variation is calculated according to the minimum value and the maximum value. 如請求項1所述之馬達退磁檢測方法,其中擷取該多個等效磁通量的一最初值及一最末值,且依據該最初值及該最末值,計算出該磁通變化量。The motor demagnetization detection method as claimed in claim 1, wherein an initial value and a final value of the plurality of equivalent magnetic fluxes are extracted, and the magnetic flux variation is calculated according to the initial value and the final value. 如請求項1所述之馬達退磁檢測方法,其中當該比較結果為該磁通變化量大於或等於該退磁警告值時,發出該退磁警告。The motor demagnetization detection method according to claim 1, wherein the demagnetization warning is issued when the comparison result is that the magnetic flux variation is greater than or equal to the demagnetization warning value. 如請求項4所述之馬達退磁檢測方法,其中當該比較結果為該磁通變化量小於該退磁警告值時,不發出該退磁警告。The motor demagnetization detection method according to claim 4, wherein when the comparison result is that the magnetic flux variation is less than the demagnetization warning value, the demagnetization warning is not issued. 一種馬達退磁檢測裝置,用於檢測一馬達裝置,其中該馬達退磁檢測裝置包括: 一編碼器,用以量測該馬達裝置的一旋轉角度; 一電流感測裝置,用以量測該馬達裝置的三相電流值; 一控制器,耦接該編碼器及該電流感測裝置; 其中,該控制器依據該旋轉角度,計算該馬達裝置的一轉速; 其中,當該控制器依據該轉速判斷該馬達裝置維持於一第一穩態時,該控制器接收該三相電流值以取得並儲存一第一穩態資料; 其中,當該控制器依據該轉速判斷該馬達裝置維持於一第二穩態時,該控制器接收該三相電流值以取得並儲存一第二穩態資料; 其中,該控制器依據該第一穩態資料及該第二穩態資料計算並儲存一等效磁通量; 其中,重複地驅動該馬達裝置維持在該第一穩態及該第二穩態,該控制器依據該三相電流值更新該第一穩態資料及該第二穩態資料,且重新地計算並儲存該等效磁通量以生成多個等效磁通量; 其中,該控制器依據該多個等效磁通量計算一磁通變化量,且該控制器依據該磁通變化量及一退磁警告值的一比較結果,發出一退磁警告。 A motor demagnetization detection device for detecting a motor device, wherein the motor demagnetization detection device comprises: an encoder for measuring a rotation angle of the motor device; a current sensing device for measuring the three-phase current value of the motor device; a controller, coupled to the encoder and the current sensing device; Wherein, the controller calculates a rotational speed of the motor device according to the rotation angle; Wherein, when the controller determines that the motor device is maintained in a first steady state according to the rotational speed, the controller receives the three-phase current value to obtain and store a first steady state data; Wherein, when the controller determines that the motor device is maintained in a second steady state according to the rotational speed, the controller receives the three-phase current value to obtain and store a second steady state data; Wherein, the controller calculates and stores an equivalent magnetic flux according to the first steady state data and the second steady state data; The motor device is repeatedly driven to maintain the first steady state and the second steady state, the controller updates the first steady state data and the second steady state data according to the three-phase current value, and recalculates and storing the equivalent magnetic flux to generate a plurality of equivalent magnetic fluxes; The controller calculates a magnetic flux variation according to the plurality of equivalent magnetic fluxes, and issues a demagnetization warning according to a comparison result between the magnetic flux variation and a demagnetization warning value. 如請求項6所述之馬達退磁檢測裝置,其中該控制器擷取該多個等效磁通量的一最小值及一最大值,且該控制器依據該最小值及該最大值,計算出該磁通變化量。The motor demagnetization detection device of claim 6, wherein the controller captures a minimum value and a maximum value of the plurality of equivalent magnetic fluxes, and the controller calculates the magnetic flux according to the minimum value and the maximum value pass change. 如請求項6所述之馬達退磁檢測裝置,其中該控制器擷取該多個等效磁通量的一最初值及一最末值,且該控制器依據該最初值及該最末值,計算出該磁通變化量。The motor demagnetization detection device of claim 6, wherein the controller captures an initial value and a final value of the plurality of equivalent magnetic fluxes, and the controller calculates the value according to the initial value and the final value The amount of change in the magnetic flux. 如請求項6所述之馬達退磁檢測裝置,其中當該比較結果為該磁通變化量大於或等於該退磁警告值時,該控制器發出該退磁警告。The motor demagnetization detection device according to claim 6, wherein when the comparison result is that the magnetic flux variation is greater than or equal to the demagnetization warning value, the controller issues the demagnetization warning. 如請求項9所述之馬達退磁檢測裝置,其中當該比較結果為該磁通變化量小於該退磁警告值時,該控制器不發出該退磁警告。The motor demagnetization detection device as claimed in claim 9, wherein when the comparison result is that the magnetic flux variation is less than the demagnetization warning value, the controller does not issue the demagnetization warning. 如請求項6所述之馬達退磁檢測裝置,該電流感測裝置包括兩個電流感測器,且該兩個電流感測器分別用以量測該三相電流值之一第一相電流及一第二相電流,其中該控制器依據該第一相電流及該第二相電流計算出該三相電流值之一第三相電流。The motor demagnetization detection device as claimed in claim 6, wherein the current sensing device comprises two current sensors, and the two current sensors are respectively used for measuring a first phase current and a first phase current of the three-phase current value. a second-phase current, wherein the controller calculates a third-phase current of the three-phase current value according to the first-phase current and the second-phase current. 如請求項6所述之馬達退磁檢測裝置,該電流感測裝置包括三個電流感測器,且該三個電流感測器分別量測該三相電流之一第一相電流、一第二相電流及一第三相電流。The motor demagnetization detection device according to claim 6, wherein the current sensing device comprises three current sensors, and the three current sensors respectively measure a first phase current and a second phase current of the three-phase currents. phase current and a third phase current.
TW110103925A 2021-02-03 2021-02-03 Motor demagnetization detection method and motor demagnetization detection device TWI753767B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110103925A TWI753767B (en) 2021-02-03 2021-02-03 Motor demagnetization detection method and motor demagnetization detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110103925A TWI753767B (en) 2021-02-03 2021-02-03 Motor demagnetization detection method and motor demagnetization detection device

Publications (2)

Publication Number Publication Date
TWI753767B true TWI753767B (en) 2022-01-21
TW202232128A TW202232128A (en) 2022-08-16

Family

ID=80809041

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110103925A TWI753767B (en) 2021-02-03 2021-02-03 Motor demagnetization detection method and motor demagnetization detection device

Country Status (1)

Country Link
TW (1) TWI753767B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4246800A1 (en) * 2022-03-15 2023-09-20 Schneider Toshiba Inverter Europe SAS Comparison of rotor flux parameters

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103956954A (en) * 2014-03-27 2014-07-30 广东美的制冷设备有限公司 Method and device for detecting demagnetization of rotor of permanent magnet synchronous motor
EP3125418A1 (en) * 2015-07-27 2017-02-01 Siemens Aktiengesellschaft A method to detect or monitor the demagnetization of a magnet
CN108278749A (en) * 2018-01-10 2018-07-13 广东美的制冷设备有限公司 The demagnetization detection method of compressor, device in air conditioner and air conditioner
US20190229663A1 (en) * 2018-01-23 2019-07-25 Denso Corporation Control device for alternating current motor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103956954A (en) * 2014-03-27 2014-07-30 广东美的制冷设备有限公司 Method and device for detecting demagnetization of rotor of permanent magnet synchronous motor
EP3125418A1 (en) * 2015-07-27 2017-02-01 Siemens Aktiengesellschaft A method to detect or monitor the demagnetization of a magnet
CN106401881A (en) * 2015-07-27 2017-02-15 西门子公司 Method to detect or monitor the demagnetization of a magnet
CN108278749A (en) * 2018-01-10 2018-07-13 广东美的制冷设备有限公司 The demagnetization detection method of compressor, device in air conditioner and air conditioner
US20190229663A1 (en) * 2018-01-23 2019-07-25 Denso Corporation Control device for alternating current motor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4246800A1 (en) * 2022-03-15 2023-09-20 Schneider Toshiba Inverter Europe SAS Comparison of rotor flux parameters

Also Published As

Publication number Publication date
TW202232128A (en) 2022-08-16

Similar Documents

Publication Publication Date Title
JP5256009B2 (en) Magnet motor speed control device
JP5175569B2 (en) Synchronous motor drive system
JP6868772B2 (en) Motor control device and motor control method
JP4642441B2 (en) Method and apparatus for optimizing the efficiency of a motor operating under load
KR101619567B1 (en) Apparatus for estimating parameters in induction machine
JP6077139B2 (en) Power converter
US20190173413A1 (en) Motor module, motor controller, temperature inferring device, and temperature inference method
US7405534B2 (en) Apparatus and method for controlling velocity of motor
TWI753767B (en) Motor demagnetization detection method and motor demagnetization detection device
JP5908205B2 (en) Rotation sensorless control device
JP2009290962A (en) Controller of permanent magnet type synchronous motor
US7688012B2 (en) Method and device for determining the torque of an electric machine
JP7417899B2 (en) Power tool systems, control methods, and programs
JP5332301B2 (en) Control device for permanent magnet type synchronous motor
JP5187718B2 (en) Method for detecting initial magnetic pole position of permanent magnet motor
JP2002034281A (en) Motor-controlling device and air conditioner
Won et al. Position sensorless control method of IPMSM applying three shunt sensing PWM inverter using predictive current
JP2022072838A (en) Motor controller
CN114859223A (en) Motor demagnetization detection method and motor demagnetization detection device
KR101590251B1 (en) Estimation method of rotor time constant with motor at standstill
KR101575038B1 (en) Aparatus and method for controlling speed of a sensoless bldc motor
JP5288957B2 (en) Electric motor control device with resistance compensation function
WO2021166550A1 (en) Control device for motor and control method
JP3733095B2 (en) Synchronous motor step-out detection device, synchronous motor step-out detection method, and compressor driving device for refrigeration air conditioner
JP2021040353A (en) Driving device of induction motor and driving method of the same