TW201711353A - Rotator angle estimation method capable of increasing the resolution of the Hall sensor and enhancing the precision of the estimated angle - Google Patents
Rotator angle estimation method capable of increasing the resolution of the Hall sensor and enhancing the precision of the estimated angle Download PDFInfo
- Publication number
- TW201711353A TW201711353A TW104128831A TW104128831A TW201711353A TW 201711353 A TW201711353 A TW 201711353A TW 104128831 A TW104128831 A TW 104128831A TW 104128831 A TW104128831 A TW 104128831A TW 201711353 A TW201711353 A TW 201711353A
- Authority
- TW
- Taiwan
- Prior art keywords
- angle
- rotor
- hall
- rotator
- hall sensor
- Prior art date
Links
Landscapes
- Control Of Motors That Do Not Use Commutators (AREA)
Abstract
Description
本發明是有關於一種控制方法,特別是指一種轉子角度估測方法。 The invention relates to a control method, in particular to a rotor angle estimation method.
磁場導向控制(Field-Oriented Control,FOC)是現今馬達控制的主流技術,而磁場導向控制需搭配高解析度的轉子角度感知器(Encoder)或無感測器估測技術(Sensorless)才能有較佳弦波輸出特性。 Field-Oriented Control (FOC) is the mainstream technology of today's motor control, and magnetic field steering control needs to be matched with high-resolution rotor angle sensor (Encoder) or sensorless estimation technology (Sensorless). Good sine wave output characteristics.
無感測器估測技術雖然成本較低,但是,由於缺乏感測器,因此剛開始啟動時可能會反轉,而且啟動扭力低,並不適合用於車輛馬達驅動的控制。轉子角度感知器雖然可以改善上述無感測器估測技術的缺點,但是高解析度(約1024至2048種狀態編碼)的轉子角度感知器成本較高。 Although the sensorless estimation technology is low in cost, due to the lack of a sensor, it may be reversed at the beginning of startup, and the starting torque is low, which is not suitable for the control of the vehicle motor drive. Although the rotor angle sensor can improve the shortcomings of the above sensorless estimation technique, the rotor angle sensor of high resolution (about 1024 to 2048 state codes) is costly.
因此,近來相關業者多改用較便宜的霍爾感知器,如此雖然可以降低成本。但是,霍爾感知器僅有如圖1所示的6種狀態編碼,也就是說,霍爾感知器的解析度遠不及轉子角度感知器的解析度,使得磁場導向控制的輸出電流概如圖2所示呈U型鋸齒狀,造成馬達於運轉時產生 震動與噪音。 Therefore, recently, related companies have changed to cheaper Hall sensors, which can reduce costs. However, the Hall perceptron only has six kinds of state codes as shown in Fig. 1. That is to say, the resolution of the Hall perceptron is far less than the resolution of the rotor angle perceptron, so that the output current of the magnetic field steering control is as shown in Fig. 2. U-shaped serrated shape, resulting in motor running Vibration and noise.
因此,本發明之目的,即在提供一種用以提升霍爾感知器的解析度,以減少震動與噪音的轉子角度估測方法 Accordingly, it is an object of the present invention to provide a rotor angle estimation method for improving the resolution of a Hall sensor to reduce vibration and noise.
本發明轉子角度估測方法包含下列步驟:步驟(a)利用一霍爾感知器偵測一轉子的電氣角度,並在該霍爾感知器轉態時,產生一霍爾轉態訊號。 The rotor angle estimation method of the present invention comprises the following steps: step (a) detecting a electrical angle of a rotor by using a Hall sensor, and generating a Hall transition signal when the Hall sensor is in a state of transition.
步驟(b)是利用一控制器接收該霍爾感知器所產生的所述霍爾轉態訊號,並由兩霍爾轉態訊號間的時間差計算出該轉子的角速度。 In step (b), the controller receives the Hall transition signal generated by the Hall sensor, and calculates the angular velocity of the rotor from the time difference between the two Hall transition signals.
步驟(c)利用該控制器計算出一變化角度,該變化角度是該控制器預設的一取樣時間與該轉子的角速度的乘積。步驟(d)利用該控制器以該霍爾感知器所偵測該轉子的電氣角度累加該變化角度產生一預估角度。 Step (c) uses the controller to calculate a change angle, which is a product of a preset sampling time of the controller and an angular velocity of the rotor. Step (d) uses the controller to accumulate the angle of change of the electrical angle of the rotor detected by the Hall sensor to generate an estimated angle.
步驟(e)利用該控制器比較產生該霍爾轉態訊號時該轉子的電氣角度與該預估角度的差值,並以產生該霍爾轉態訊號時該轉子的電氣角度為基準,將該預估角度修正至與產生該霍爾轉態訊號時該轉子的電氣角度相同的一校正角度。 Step (e) using the controller to compare the difference between the electrical angle of the rotor and the predicted angle when the Hall transition signal is generated, and based on the electrical angle of the rotor when the Hall transition signal is generated, The predicted angle is corrected to a correction angle that is the same as the electrical angle of the rotor when the Hall transition signal is generated.
步驟(f)是以該校正角度所產生的相位電流控制該轉子。 Step (f) controls the rotor with the phase current generated by the corrected angle.
本發明的有益效果在於:利用該控制器計算出該轉子的角速度,配合以低解析度的霍爾感知器所測得該 轉子的電氣角度為基準,將該預估角度在霍爾感知器轉態時修正成校正角度,不僅能提升霍爾感知器的解析度,同時也能提升估測角度的精確度,以減少轉子運轉時的震動與噪音。 The invention has the beneficial effects that the angular velocity of the rotor is calculated by the controller, and is matched with the low-resolution Hall sensor. The electrical angle of the rotor is used as a reference, and the predicted angle is corrected to a correction angle when the Hall sensor is turned, which not only improves the resolution of the Hall sensor, but also improves the accuracy of the estimated angle to reduce the rotor. Vibration and noise during operation.
21‧‧‧步驟 21‧‧‧Steps
22‧‧‧步驟 22‧‧‧Steps
23‧‧‧步驟 23‧‧‧Steps
24‧‧‧步驟 24‧‧‧Steps
25‧‧‧步驟 25‧‧‧Steps
26‧‧‧步驟 26‧‧‧Steps
本發明之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中:圖1是一示意圖,說明一現有霍爾感知器的六種編碼狀態;圖2是一示意圖,說明利用現有霍爾感知器的磁場導向控制輸出的相位電流;圖3是一流程圖,說明本發明轉子角度估測方法的實施例;圖4是一示意圖,說明本實施例步驟(d)的預估角度與霍爾感知器的電氣角度的差異;圖5是一示意圖,說明本實施中的預估角度與校正角度的差異;圖6是一比較圖,說明本實施中校正角度的解析度與的霍爾感知器的解析度的差異;及圖7是一示意圖,說明本實施以該校正角度所產生的相位電流。 Other features and effects of the present invention will be apparent from the following description of the drawings, wherein: FIG. 1 is a schematic diagram illustrating the six encoding states of a conventional Hall sensor; FIG. 2 is a schematic diagram illustrating The phase current of the output is controlled by the magnetic field of the existing Hall sensor; FIG. 3 is a flow chart illustrating an embodiment of the rotor angle estimation method of the present invention; and FIG. 4 is a schematic diagram illustrating the pre-step of the step (d) of the embodiment. The difference between the angle and the electrical angle of the Hall sensor is estimated; FIG. 5 is a schematic diagram illustrating the difference between the predicted angle and the corrected angle in the present embodiment; and FIG. 6 is a comparison diagram illustrating the resolution of the corrected angle in the present embodiment. The difference in resolution of the Hall perceptron; and Figure 7 is a schematic diagram illustrating the phase current produced by the correction angle of the present embodiment.
參閱圖3,本發明轉子角度估測方法的實施例包 含下列步驟:步驟21利用一霍爾感知器偵測一轉子的電氣角度,並在該霍爾感知器轉態時,產生一霍爾轉態訊號。 Referring to FIG. 3, an embodiment of a rotor angle estimation method of the present invention includes The method includes the following steps: Step 21 uses a Hall sensor to detect the electrical angle of a rotor, and generates a Hall transition signal when the Hall sensor changes state.
於本實施例中,該霍爾轉態訊號是單相霍爾轉 態訊號,實際應用上,該霍爾轉態訊號也可以是三相霍爾轉態訊號。 In this embodiment, the Hall transition signal is a single phase Hall turn. State signal, in practical applications, the Hall transition signal can also be a three-phase Hall transition signal.
步驟22是利用一控制器接收該霍爾感知器所產 生的霍爾轉態訊號,並由兩霍爾轉態訊號間的時間差計算出該轉子的角速度。於本實施例中,該控制器是微處理器(Microcontroller Unit,MCU),實際應用上也可以是數位訊號處理器(Digital Signal Processor,DSP)。 Step 22 is to use a controller to receive the Hall sensor The raw Hall transition signal, and the angular velocity of the rotor is calculated from the time difference between the two Hall transition signals. In this embodiment, the controller is a Microcontroller Unit (MCU), and the actual application may also be a Digital Signal Processor (DSP).
在此要特別說明的是,該控制器是以單相霍爾 轉態訊號來計算角速度,當然,該控制器也可以是以三相霍爾轉態訊號來計算角速度。 It is important to note here that the controller is a single-phase Hall. The angular signal is used to calculate the angular velocity. Of course, the controller can also calculate the angular velocity by using a three-phase Hall transition signal.
步驟23是利用該控制器計算出一變化角度,該 變化角度是該控制器預設的一取樣時間與該轉子的角速度的乘積。 Step 23 is to calculate a change angle by using the controller, The angle of change is the product of a predetermined sampling time of the controller and the angular velocity of the rotor.
參閱圖3、4,步驟24是利用該控制器以該霍爾 感知器所偵測該轉子的電氣角度累加該變化角度產生一預估角度。由圖4可知,該預估角度的變化較該霍爾感知器轉態時的變化更為精細。 Referring to Figures 3 and 4, step 24 is to utilize the controller to the Hall. The electrical angle of the rotor detected by the sensor accumulates the angle of change to produce an estimated angle. As can be seen from FIG. 4, the change in the estimated angle is more fine than the change in the Hall sensor's transition state.
參閱圖3、4、5,步驟25是利用該控制器比較 產生該霍爾轉態訊號時該轉子的電氣角度,與對應該轉子的電氣角度的該預估角度的差值,即圖4中120°與180°位置該電氣角度與該預估角度間的差值,並以產生該霍爾轉 態訊號時該轉子的電氣角度為基準,將圖4中假想線圈繞部分所示的預估角度修正至如圖5中假想線圈繞部分所示與產生該霍爾轉態訊號時該轉子的電氣角度相同的一校正角度,提升所估測之該校正角度的精確度。在此要說明的是,圖4、5中的60°、120°、180°及240°是該霍爾感知器轉態時的電氣角度。 Referring to Figures 3, 4, and 5, step 25 is to compare with the controller. The difference between the electrical angle of the rotor and the predicted angle corresponding to the electrical angle of the rotor when the Hall transition signal is generated, that is, the electrical angle between the electrical angle and the predicted angle in the position of 120° and 180° in FIG. Difference, and to generate the Hall turn In the state signal, the electrical angle of the rotor is used as a reference, and the predicted angle shown by the imaginary coil winding portion in FIG. 4 is corrected to the electrical representation of the rotor as shown in the imaginary coil winding portion in FIG. 5 and when the Hall transition signal is generated. A correction angle of the same angle increases the accuracy of the estimated correction angle. It should be noted that 60°, 120°, 180°, and 240° in FIGS. 4 and 5 are electrical angles when the Hall sensor is in a state of transition.
由於霍爾感知器所感測的電氣角度是該轉子實 際的電氣角度,因此,利用霍爾感知器產生霍爾轉態訊號之電氣角度來校正該預估角度,能對該預估角度與該轉子的電氣角度的些微誤差進行修正,進而獲得如圖6所示較霍爾感知器更佳的解析度與精確度。在此要說明的是,圖5中的該校正角度除了以該霍爾感知器產生霍爾轉態訊號之電氣角度來進行校正的位置(即圖4、5中120°與180°位置)外,其餘部分是與圖4中該預估角度相同。 Since the electrical angle sensed by the Hall sensor is the rotor The electrical angle, therefore, using the Hall sensor to generate the electrical angle of the Hall transition signal to correct the predicted angle, can correct the slight error of the predicted angle and the electrical angle of the rotor, and then obtain the figure Figure 6 shows better resolution and accuracy than the Hall sensor. It should be noted that the correction angle in FIG. 5 is other than the position where the Hall sensor generates the electrical angle of the Hall transition signal (ie, the 120° and 180° positions in FIGS. 4 and 5). The rest is the same as the estimated angle in Figure 4.
參閱圖3、6、7,步驟26是以該校正角度所產 生的弦波相位電流控制該轉子轉動。由於該校正角度的解析度較霍爾感知器的解析度更好,因此,以該校正角度能產生如圖7所示概呈弦波的相位電流。相較於現有霍爾感知器呈U型鋸齒狀的相位電流,概呈弦波的相位電流不僅能使該轉子的轉動更為平順,還能減少轉動時的震動與噪音。 Referring to Figures 3, 6, and 7, step 26 is produced at the corrected angle. The raw sine wave phase current controls the rotor to rotate. Since the resolution of the correction angle is better than that of the Hall sensor, the phase current of the sine wave as shown in FIG. 7 can be generated by the correction angle. Compared with the existing Hall sensor, the U-shaped sawtooth phase current, the phase current of the sine wave can not only make the rotation of the rotor smoother, but also reduce the vibration and noise during rotation.
綜上所述,本發明轉子角度估測方法利用該控 制器計算出該轉子的角速度與變化角度,配合以該霍爾感知器轉態時的電氣角度為基準將該預估角度修正成校正角 度,以提升霍爾感知器的解析度和精確度,以減少轉子運轉時的震動與噪音,故確實能達成本發明之目的。 In summary, the rotor angle estimation method of the present invention utilizes the control The controller calculates the angular velocity and the change angle of the rotor, and corrects the predicted angle to the correction angle based on the electrical angle when the Hall sensor is in the transition state. In order to improve the resolution and accuracy of the Hall sensor to reduce vibration and noise during rotor operation, the object of the present invention can be achieved.
惟以上所述者,僅為本發明之較佳實施例而已 ,當不能以此限定本發明實施之範圍,即大凡依本發明申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本發明專利涵蓋之範圍內。 However, the above is only the preferred embodiment of the present invention. The scope of the present invention is not limited thereto, that is, the simple equivalent changes and modifications made by the present invention in the scope of the invention and the scope of the patent specification are still within the scope of the invention.
21‧‧‧步驟 21‧‧‧Steps
22‧‧‧步驟 22‧‧‧Steps
23‧‧‧步驟 23‧‧‧Steps
24‧‧‧步驟 24‧‧‧Steps
25‧‧‧步驟 25‧‧‧Steps
26‧‧‧步驟 26‧‧‧Steps
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW104128831A TW201711353A (en) | 2015-09-01 | 2015-09-01 | Rotator angle estimation method capable of increasing the resolution of the Hall sensor and enhancing the precision of the estimated angle |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW104128831A TW201711353A (en) | 2015-09-01 | 2015-09-01 | Rotator angle estimation method capable of increasing the resolution of the Hall sensor and enhancing the precision of the estimated angle |
Publications (1)
Publication Number | Publication Date |
---|---|
TW201711353A true TW201711353A (en) | 2017-03-16 |
Family
ID=58774584
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW104128831A TW201711353A (en) | 2015-09-01 | 2015-09-01 | Rotator angle estimation method capable of increasing the resolution of the Hall sensor and enhancing the precision of the estimated angle |
Country Status (1)
Country | Link |
---|---|
TW (1) | TW201711353A (en) |
-
2015
- 2015-09-01 TW TW104128831A patent/TW201711353A/en unknown
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5874688B2 (en) | Control device | |
TWI525981B (en) | System, method and apparatus of sensor-less field oriented control for permanent magnet motor | |
JP2006033993A (en) | Computation method for zero offset in rotational position detector for motor and motor controller using this computation method | |
WO2004054086A1 (en) | Motor drive-controlling device and electric power-steering device | |
JP6714952B2 (en) | Electric motor control device and electric power steering device | |
CN104682786A (en) | Method And Device For Determining Position Data Of Rotor Of Motor | |
JP2010043981A (en) | Angle position detector and rotational speed detector of rotor | |
US20190288885A1 (en) | Method of determining a direction of rotation and valid transistions of quadrature pulses | |
CN106533316A (en) | Rotor angle estimating method | |
KR101655297B1 (en) | Apparatus for correcting position of linear hole sensor and control method of thereof | |
JP4735439B2 (en) | Initial magnetic pole position estimation device for permanent magnet type synchronous motor | |
JP2011047735A (en) | Rotational angle detecting device | |
TW201711353A (en) | Rotator angle estimation method capable of increasing the resolution of the Hall sensor and enhancing the precision of the estimated angle | |
JP5585058B2 (en) | Rotation angle detection device, motor control device, and electric power steering device | |
JP6664288B2 (en) | Motor control device | |
JP2016034215A (en) | Control device for switched reluctance motor | |
KR102077362B1 (en) | Improvements in motor controllers | |
JP2009248749A (en) | Control unit of electric power steering device | |
JP2014098642A (en) | Angle correction device and rotation angle sensor | |
JP2010200498A (en) | Motor control apparatus | |
JP6580296B2 (en) | Actuator control device and control method | |
KR20130064184A (en) | Permanent magnet synchronous motor and method for controlling the same | |
Ji et al. | A method of speed measurement for servo motor drive with sinusoidal quadrature encoder | |
KR102331849B1 (en) | Method and Apparatus for Controlling BLDC Motor | |
KR102542785B1 (en) | Apparatus for calibrating rotor position of motor and method thereof |