TWI686050B - Rotor position sensing method of brushless motor of electric bicycle - Google Patents

Rotor position sensing method of brushless motor of electric bicycle Download PDF

Info

Publication number
TWI686050B
TWI686050B TW108111305A TW108111305A TWI686050B TW I686050 B TWI686050 B TW I686050B TW 108111305 A TW108111305 A TW 108111305A TW 108111305 A TW108111305 A TW 108111305A TW I686050 B TWI686050 B TW I686050B
Authority
TW
Taiwan
Prior art keywords
sensing
brushless motor
unit
rotor
sensing module
Prior art date
Application number
TW108111305A
Other languages
Chinese (zh)
Other versions
TW201946368A (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 財團法人自行車暨健康科技工業研究發展中心
Publication of TW201946368A publication Critical patent/TW201946368A/en
Application granted granted Critical
Publication of TWI686050B publication Critical patent/TWI686050B/en

Links

Images

Landscapes

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

Abstract

一種電動自行車之無刷馬達的轉子位置感測方法,該方法先對定子單元的其中二相繞組通予一直流電,待轉子單元受定子單元線圈激磁的磁場之磁力吸引而樞轉直到固定,接著再利用感測模組獲取感測磁石的角度位置,並計算出感測磁石的角度位置相較於基準位置的樞轉角度θ,接著於感測模組中輸入轉子單元的磁極數量,感測模組根據轉子單元的磁極數量及樞轉角度θ進行運算以獲取切換角度Φ,最後控制單元接收感測模組的運算所獲取之切換角度Φ並以此結合感測模組所感測到的感測磁石的位置的即時資訊對無刷馬達進行控制。A rotor position sensing method for a brushless motor of an electric bicycle. The method first applies direct current to the two-phase windings of the stator unit. After the rotor unit is attracted by the magnetic force of the magnetic field excited by the stator unit coil and pivots until fixed, then Then use the sensing module to obtain the angular position of the sensing magnet, and calculate the pivot angle θ of the angular position of the sensing magnet compared to the reference position, then input the number of magnetic poles of the rotor unit in the sensing module to sense The module performs calculation according to the number of magnetic poles of the rotor unit and the pivot angle θ to obtain the switching angle Φ, and finally the control unit receives the switching angle Φ obtained by the operation of the sensing module and combines the sensed by the sensing module Control the brushless motor with real-time information about the position of the magnet.

Description

電動自行車之無刷馬達的轉子位置感測方法Rotor position sensing method of brushless motor of electric bicycle

本發明係關於一種電動自行車的感測方法,特別是指該電動自行車之無刷馬達的轉子位置感測方法。The invention relates to an electric bicycle sensing method, in particular to a rotor position sensing method of a brushless motor of the electric bicycle.

近年來,由於健康與環保意識的提升,電動自行車這類兼具運動且不排放廢氣的移動載具受到許多民眾的喜愛,現行的電動自行車大多係將馬達裝設於五通或前、後輪之輪軸處,透過馬達帶動鏈條或車輪的方式來減輕使用者體力上的負擔,然而馬達的優劣除了會影響了電力的轉換效率外,還會影響騎乘地順暢性,具有相當重要的地位。In recent years, due to increased awareness of health and environmental protection, mobile vehicles such as electric bicycles that are both sporty and do not emit exhaust gas have been loved by many people. Most current electric bicycles are equipped with motors on the five-way or front and rear wheels. At the wheel axle, the chain or wheel is driven by the motor to reduce the physical burden on the user. However, in addition to affecting the conversion efficiency of the power, the quality of the motor also affects the smoothness of the riding place, which has a very important position.

與傳統有刷馬達相較,無刷馬達具有較高的效率及轉矩密度,也因此被廣泛地應用於電動自行車上,為了精確掌握轉子的樞轉位置以維持定子上磁極連續性的換相需求,現行作法是在定子齒部間安裝3個的霍爾感測器,透過霍爾感測器所獲取的訊號來推知轉子樞轉的位置,此種作法對於霍爾感測器、感測磁石、定子及轉子的相對位置有相當嚴格地要求,錯誤或偏差的放置都會導致推算出來的轉子位置與實際位置不一致,進而導致定子的相位切換不夠精準,馬達運轉效率降低或出現頓挫的情況,因此製造商往往需要耗費大量人力與時間在各該霍爾感測器之對位及校正工序上。Compared with traditional brushed motors, brushless motors have higher efficiency and torque density, so they are widely used in electric bicycles. In order to accurately grasp the pivot position of the rotor and maintain the continuity of the magnetic poles on the stator, commutation The current practice is to install three Hall sensors between the teeth of the stator. The signal obtained by the Hall sensors can be used to infer the position of the rotor pivot. This method is suitable for Hall sensors and sensing. The relative position of the magnet, stator and rotor has strict requirements. Wrong or deviation placement will cause the estimated rotor position to be inconsistent with the actual position, which will lead to inaccurate phase switching of the stator and reduce the efficiency of the motor or setback. Therefore, manufacturers often need to spend a lot of manpower and time on the alignment and calibration process of each Hall sensor.

緣是,本發明之目的在提供一種電動自行車之無刷馬達的轉子位置感測方法,其可減少製造時霍爾感測器、感測磁石、定子及轉子間的相對位置的調校工序,進而降低生產成本,提升品質的穩定性。The reason is that the object of the present invention is to provide a rotor position sensing method for a brushless motor of an electric bicycle, which can reduce the adjustment process of the relative position between the Hall sensor, the sensing magnet, the stator and the rotor during manufacturing, In turn, it reduces production costs and improves the stability of quality.

為達成上述目的,本發明所提供之一種電動自行車之無刷馬達的轉子位置感測方法,該無刷馬達係可設於該電動自行車之五通或設於前、後輪之輪軸處,其特徵在於,該無刷馬達包含有一定子單元、一轉子單元、一感測磁石、一感測模組及一控制單元,該轉子單元具有一驅動軸,該轉子單元係與該定子單元同軸且可轉動地設於該定子單元內,該感測磁石固設於該轉子單元的驅動軸且可與該轉子單元同步轉動,該定子單元具有複數個定子齒部,於各該定子齒部上繞設有線圈,該些線圈構成一U相繞組、一V相繞組與一W相繞組,該控制單元電性連接於該感測模組,本感測方法包含有以下步驟:In order to achieve the above object, the present invention provides a rotor position sensing method for a brushless motor of an electric bicycle. The brushless motor can be installed on the five-way of the electric bicycle or on the axles of the front and rear wheels. The characteristic is that the brushless motor includes a stator unit, a rotor unit, a sensing magnet, a sensing module and a control unit, the rotor unit has a drive shaft, the rotor unit is coaxial with the stator unit and It is rotatably arranged in the stator unit. The sensing magnet is fixed on the drive shaft of the rotor unit and can rotate synchronously with the rotor unit. The stator unit has a plurality of stator teeth, which are wound around each of the stator teeth Coils are provided. The coils form a U-phase winding, a V-phase winding and a W-phase winding. The control unit is electrically connected to the sensing module. The sensing method includes the following steps:

S0:將該感測模組設於該無刷馬達之殼體表面並鄰接於該感測磁石。S0: The sensing module is arranged on the surface of the housing of the brushless motor and is adjacent to the sensing magnet.

S1:將直流電之正端電性連接於該U相繞組、該V相繞組或該W相繞組之一者,並將直流電之負端電性連接於該U相繞組、該V相繞組或該W相繞組之另一者。S1: electrically connect the positive end of the direct current to one of the U-phase winding, the V-phase winding or the W-phase winding, and electrically connect the negative end of the direct current to the U-phase winding, the V-phase winding or the The other of the W-phase winding.

S2:待該轉子單元受到該定子單元線圈激磁的磁場的磁力吸引而產生樞轉直到固定,該感測磁石也會受帶動而樞轉直到固定,將該感測磁石的位置設為一角度位置。S2: When the rotor unit is attracted by the magnetic force of the magnetic field excited by the stator unit coil and pivots until fixed, the sensing magnet will also be driven to pivot until fixed, and the position of the sensing magnet is set to an angular position .

S3:利用該感測模組已獲取該感測磁石的角度位置,並計算出該角度位置相較於一基準位置的樞轉角度為θ。S3: Using the sensing module, the angular position of the sensing magnet has been obtained, and the pivot angle of the angular position compared to a reference position is calculated as θ.

S4:於該感測模組中輸入該轉子單元的磁極數量,且該感測模組根據該轉子單元的磁極數量及S3所獲取的樞轉角度θ進行運算以獲取一切換角度Φ。S4: The number of magnetic poles of the rotor unit is input into the sensing module, and the sensing module performs calculation according to the number of magnetic poles of the rotor unit and the pivot angle θ acquired by S3 to obtain a switching angle Φ.

S5: 該控制單元接收S4的運算所獲取之切換角度Φ並以此結合該感測模組所感測到的感測磁石的位置的即時資訊對該無刷馬達進行控制。S5: The control unit receives the switching angle Φ obtained by the operation of S4 and combines the real-time information on the position of the sensing magnet sensed by the sensing module to control the brushless motor.

可選地,於S2中,該感測磁石具有一相對的感測磁極(N磁極與S磁極),該對感測磁極係沿該驅動軸之徑向分佈。Optionally, in S2, the sense magnet has a relative sense pole (N pole and S pole), and the pair of sense poles are distributed along the radial direction of the drive shaft.

可選地,該感測磁石係固設於該驅動軸的一端面,且該感測磁石係可與該驅動軸同軸樞轉。Optionally, the sensing magnet is fixed on one end surface of the driving shaft, and the sensing magnet can pivot coaxially with the driving shaft.

可選地,於S3中,該感測模組係與該感測磁石沿該驅動軸之軸向相鄰但不接觸地設置於該無刷馬達的殼體上。Optionally, in S3, the sensing module and the sensing magnet are arranged on the housing of the brushless motor adjacent to but not in contact with the axial direction of the drive shaft.

可選地,該感測模組係垂直於該驅動軸之軸向且與該感測磁極平行。Optionally, the sensing module is perpendicular to the axis of the driving shaft and parallel to the sensing magnetic pole.

可選地,該定子齒部的數量係為3的倍數。Optionally, the number of the stator teeth is a multiple of 3.

可選地,該感測模組具有一微處理器及一儲存單元,該S3到S4係於該感測模組的微處理器進行運算並儲存於該儲存單元。Optionally, the sensing module has a microprocessor and a storage unit. The S3 to S4 are calculated by the microprocessor of the sensing module and stored in the storage unit.

可選地,於S3中,該感測模組係可感測該感測磁石之磁極的方向、位置及樞轉速度。Optionally, in S3, the sensing module can sense the direction, position and pivoting speed of the magnetic pole of the sensing magnet.

藉此,本發明透過前述步驟,得以獲知感測磁石與感測模組的相對位置,由於該定子單元與該感測模組之間無相對運動,而該轉子單元也與該感測磁石無相對運動,因此獲知感測磁石與感測模組的相對位置也表示獲知轉子單元與定子單元之間的相對位置。也就是說,本發明透過前述步驟即可精確掌握轉子單元的位置情況,而不需如同先前技術還需對霍爾感測器、感測磁石、定子及轉子間的相對位置經過耗時費工的調校工序,所以能有效降低生產成本,提升品質的穩定性。With this, the present invention can obtain the relative position of the sensing magnet and the sensing module through the foregoing steps. Since there is no relative movement between the stator unit and the sensing module, the rotor unit and the sensing magnet Relative motion, so knowing the relative position of the sensing magnet and the sensing module also means knowing the relative position between the rotor unit and the stator unit. In other words, the present invention can accurately grasp the position of the rotor unit through the foregoing steps, without the need for time-consuming and labor-intensive processing of the relative position between the Hall sensor, the sensing magnet, the stator and the rotor as in the prior art Adjustment process, it can effectively reduce production costs and improve the stability of quality.

有關本發明所提供的一種電動自行車之無刷馬達的轉子位置感測方法的詳細特點與步驟,將於後續的說明中予以描述。然而,在本發明領域中具有通常知識者應能瞭解,該等詳細說明以及實施本發明所列舉的特定實施例,僅係用於說明本發明,並非用以限制本發明之專利申請範圍。The detailed features and steps of the rotor position sensing method for a brushless motor of an electric bicycle provided by the present invention will be described in the subsequent description. However, those of ordinary knowledge in the field of the present invention should be able to understand that these detailed descriptions and specific embodiments listed for implementing the present invention are only used to illustrate the present invention, and are not intended to limit the scope of the patent application of the present invention.

首先要說明的是,本發明所提供的說明內容使用的用語皆為所屬技術領域中具有通常知識者所能理解的例示性描述用語,本說明書內容所提及的“前”、“上”、“下”、“後”、“左”、“右”、“頂”、“底”、“內”,以及“外”等方向性形容用語,也只是以正常使用方向為基準之例示性描述用語,並非作為限制主張範圍之用意。The first thing to explain is that the terms used in the description provided by the present invention are all exemplary descriptive terms that can be understood by those with ordinary knowledge in the technical field. The terms “front”, “upper”, Directional adjectives such as "down", "back", "left", "right", "top", "bottom", "inner", and "outer" are only exemplary descriptions based on the normal direction of use The term is not intended to limit the scope of the claim.

再者,如同發明申請專利範圍中所使用單數形式的“一”、“一個”以及“該”等數量詞都包括複數的涵義。因此,例如對“一元件”的說明指的是一個或多個元件,而且包括所屬領域中具有通常知識者已知的等同替換。在類似狀況下所使用的所有連接詞也應當理解為最寬廣的意義,說明內容中所描述的特定形狀以及結構特徵或技術用語同樣應被理解為包括特定結構或技術用語所能達成之功能的等同替換結構或技術用語。Furthermore, quantifiers such as "a", "an", and "the" as used in the patent application scope of the invention all include plural meanings. Thus, for example, a description of "an element" refers to one or more elements, and includes equivalent replacements known to those of ordinary skill in the art. All conjunctions used in similar situations should also be understood in the broadest sense. The specific shapes and structural features or technical terms described in the description should also be understood to include functions that can be achieved by specific structures or technical terms Equivalently replaces structural or technical terms.

請先參閱各圖式,第1圖為本實施例之流程圖,第2圖係為本實施例之電動自行車之無刷馬達的結構示意圖。本發明所示實施例之一種電動自行車之無刷馬達的轉子位置感測方法,該無刷馬達1係可設於該電動自行車之五通或設於前、後輪之輪軸(圖中未示),透過該無刷馬達1帶動鏈條或車輪的方式輔助使用者的騎乘。Please refer to the drawings first. FIG. 1 is a flowchart of this embodiment, and FIG. 2 is a schematic structural diagram of a brushless motor of an electric bicycle of this embodiment. A rotor position sensing method for a brushless motor of an electric bicycle according to an embodiment of the present invention. The brushless motor 1 can be installed on the five-way of the electric bicycle or on the axles of the front and rear wheels (not shown in the figure) ), assisting the user to ride by the brushless motor 1 driving the chain or wheels.

該無刷馬達1包含有一定子單元10、一轉子單元20、一感測磁石30、一感測模組40及一控制單元(圖中未示),該轉子單元20具有一驅動軸22,其中,該感測磁石30係固設於該轉子單元20的驅動軸22之一端面24,且該感測磁石30係可與該驅動軸22同軸樞轉,該感測磁石30具有一相對的感測磁極32(如第4圖所示),該感測磁極32包含有一N磁極與一S磁極,將從該S磁極往該N磁極的延伸方向定義為該感測磁石30之感測磁極32的方向(如第4圖中之箭號),該感測磁極32的方向係與該驅動軸22之徑向相互平行;該轉子單元20係與該定子單元10同軸且可轉動地設於該定子單元10內,該定子單元10具有複數個定子齒部(圖中未示),該定子齒部的數量係為3的倍數,於各該定子齒部上繞設有線圈,該些線圈構成一U相繞組、一V相繞組與一W相繞組,該控制單元電性連接於該感測模組40。本感測方法包含有以下步驟:The brushless motor 1 includes a stator unit 10, a rotor unit 20, a sensing magnet 30, a sensing module 40 and a control unit (not shown). The rotor unit 20 has a drive shaft 22, The sensing magnet 30 is fixed on an end surface 24 of the driving shaft 22 of the rotor unit 20, and the sensing magnet 30 can pivot coaxially with the driving shaft 22, and the sensing magnet 30 has a relative The sensing magnetic pole 32 (as shown in FIG. 4), the sensing magnetic pole 32 includes an N magnetic pole and an S magnetic pole, and the extending direction from the S magnetic pole to the N magnetic pole is defined as the sensing magnetic pole of the sensing magnet 30 The direction of 32 (such as the arrow in Figure 4), the direction of the sensing magnetic pole 32 is parallel to the radial direction of the drive shaft 22; the rotor unit 20 is coaxial with the stator unit 10 and rotatably provided In the stator unit 10, the stator unit 10 has a plurality of stator teeth (not shown), the number of the stator teeth is a multiple of 3, and coils are wound around each of the stator teeth A U-phase winding, a V-phase winding and a W-phase winding are formed, and the control unit is electrically connected to the sensing module 40. This sensing method includes the following steps:

S0:將該感測模組40設於該無刷馬達1之殼體3表面並鄰接於該感測磁石30。S0: The sensing module 40 is disposed on the surface of the housing 3 of the brushless motor 1 and is adjacent to the sensing magnet 30.

S1:將直流電之正端電性連接於該U相繞組、該V相繞組與該W相繞組之一者,並將直流電之負端電性連接於該U相繞組、該V相繞組與該W相繞組之另一者。舉例來說,使用者可將直流電之正端電性連接於該U相繞組,並將直流電之負端電性連接於V相繞組,此時電流會從U相繞組進入再從V相繞組流出,如此於U相繞組與V相繞組所纏繞的定子齒部就會因線圈激磁的磁場產生磁力以吸引轉子單元20樞轉。S1: The positive terminal of the direct current is electrically connected to one of the U-phase winding, the V-phase winding and the W-phase winding, and the negative terminal of the direct current is electrically connected to the U-phase winding, the V-phase winding and the The other of the W-phase winding. For example, the user can electrically connect the positive terminal of the direct current to the U-phase winding, and electrically connect the negative terminal of the direct current to the V-phase winding. At this time, the current will enter from the U-phase winding and flow out from the V-phase winding. In this way, the stator teeth wound around the U-phase winding and the V-phase winding will generate a magnetic force due to the magnetic field excited by the coil to attract the rotor unit 20 to pivot.

S2:待該轉子單元20受到該定子單元10線圈激磁的磁場的磁力吸引而產生樞轉直到固定,該感測磁石30也會受該轉子單元20及該驅動軸22的帶動而樞轉直到固定,將該感測磁石30的固定位置定義為一角度位置P1(如第5圖所示)。S2: When the rotor unit 20 is attracted by the magnetic force of the magnetic field excited by the coil of the stator unit 10 and pivots until it is fixed, the sensing magnet 30 is also pivoted until it is fixed by the rotor unit 20 and the drive shaft 22 The fixed position of the sensing magnet 30 is defined as an angular position P1 (as shown in FIG. 5).

請一併參考第4圖及第5圖。S3:利用該感測模組40以獲取該感測磁石30的角度位置P1,並計算出該角度位置P1相較於一基準位置P0的樞轉角度為θ。其中,該感測模組40係與該感測磁石30沿該驅動軸22之軸向相鄰但不接觸地設置,該感測模組40係垂直於該驅動軸22之軸向且與該感測磁極32平行,再者,該感測模組40除了可感測該感測磁石30的位置外,其還可以感測該感測磁石30的磁極的方向,另透過運算還可獲得該感測磁石30的樞轉速度。Please refer to Figure 4 and Figure 5 together. S3: Use the sensing module 40 to obtain the angular position P1 of the sensing magnet 30, and calculate the pivot angle of the angular position P1 compared to a reference position P0 as θ. Wherein, the sensing module 40 and the sensing magnet 30 are arranged adjacent to but not in contact with the axis of the driving shaft 22, and the sensing module 40 is perpendicular to the axis of the driving shaft 22 and is in contact with the The sensing magnetic poles 32 are parallel. In addition, the sensing module 40 can sense the direction of the magnetic poles of the sensing magnet 30 in addition to the position of the sensing magnet 30. The pivot speed of the magnet 30 is sensed.

S4:於該感測模組40中輸入該轉子單元20的磁極數量,且該感測模組40根據該轉子單元20的磁極數量及S3所獲取的樞轉角度θ進行運算以獲取一切換角度Φ。前述運算係將該轉子單元20樞轉一周360度除以該轉子單元的磁極數量n以獲得一角度φ,其中該轉子單元的磁極數量n係為2的倍數,舉例來說,於不同的實施態樣中,該磁極數量n係可為但不限於2、4、6、8或10等數量。接著,將該 θ + N * φ = Φ 定義為該切換角度,其中N係為大於等於0之整數。其中該感測模組40包含有一微處理器(圖中未示)及一儲存單元(圖中未示),該S3到S4係於該感測模組的微處理器進行運算並儲存於該儲存單元。S4: The number of magnetic poles of the rotor unit 20 is input into the sensing module 40, and the sensing module 40 performs calculation according to the number of magnetic poles of the rotor unit 20 and the pivot angle θ acquired by S3 to obtain a switching angle Φ. The foregoing calculation system divides the rotor unit 20 by 360 degrees in one rotation by the number n of magnetic poles of the rotor unit to obtain an angle φ, where the number n of magnetic poles of the rotor unit is a multiple of 2, for example, in different implementations In the aspect, the number n of the magnetic poles may be, but not limited to, 2, 4, 6, 8 or 10. Next, define θ + N * φ = Φ as the switching angle, where N is an integer greater than or equal to 0. The sensing module 40 includes a microprocessor (not shown in the figure) and a storage unit (not shown in the figure). The S3 to S4 are calculated by the microprocessor of the sensing module and stored in the Storage unit.

S5: 該控制單元接收S4的運算所獲取之切換角度Φ並以此結合該感測模組40所感測到的感測磁石30的位置的即時資訊對該無刷馬達1的運轉進行控制。具體而言,當感測模組40感測到感測磁石30旋轉至該切換角度Φ時,即表示該轉子單元20到達相位切換點,此時該控制單元會對該U相繞組、該V相繞組與該W相繞組之相位進行切換。S5: The control unit receives the switching angle Φ obtained by the operation of S4 and uses the real-time information of the position of the sensing magnet 30 sensed by the sensing module 40 to control the operation of the brushless motor 1. Specifically, when the sensing module 40 senses that the sensing magnet 30 rotates to the switching angle Φ, it means that the rotor unit 20 reaches the phase switching point. At this time, the control unit will respond to the U-phase winding and the V The phase winding and the phase W winding are switched.

以下藉由具體地例子來對本發明作說明,但本發明之保護範圍並不以該例子為限。The present invention will be described below with specific examples, but the protection scope of the present invention is not limited to this example.

請參考第1及2圖,本例子係選擇定子單元10的定子齒部的數量為12的無刷馬達1,使用者首先將該感測模組40設於該無刷馬達1之殼體3並鄰接於該感測磁石30,其中該感測模組40係選用AsahiKASEI之AK7451型號的產品,該產品可以感測到該感測磁石30的位置及樞轉狀態等資訊,但使用者同樣可選用其他具有類似功能的產品。接著,將直流電之正端電性連接於該U相繞組,並將直流電之負端電性連接於V相繞組,此時電流會從U相繞組進入再從V相繞組流出,如此於U相繞組與V相繞組所纏繞的定子齒部就會產生線圈激磁的磁場的磁力以吸引轉子單元20樞轉直到固定,如第5圖所示,此時轉子單元20係處於角度位置P1,於本例子中,係將N磁極朝上S磁極朝下的垂直線作為基準位置P0(如第4圖所示),於其他可能的實施例中,也可將N磁極及S磁極的交界線作為基準位置,於本例子中,樞轉後的角度位置P1與基準位置P0的夾角θ係為35度。Please refer to FIG. 1 and FIG. 2, this example selects the brushless motor 1 with the number of stator teeth of the stator unit 10 as 12, the user first installs the sensing module 40 in the housing 3 of the brushless motor 1 It is adjacent to the sensing magnet 30, where the sensing module 40 is a product of AK7451 model of AsahiKASEI. The product can sense the position and pivot status of the sensing magnet 30, but the user can also Use other products with similar functions. Next, electrically connect the positive end of the direct current to the U-phase winding, and electrically connect the negative end of the direct current to the V-phase winding. At this time, the current will enter from the U-phase winding and then flow out from the V-phase winding. The stator teeth wound by the winding and the V-phase winding will generate the magnetic force of the magnetic field excited by the coil to attract the rotor unit 20 to pivot until fixed. As shown in FIG. 5, the rotor unit 20 is at the angular position P1. In the example, the vertical line with the N magnetic pole facing upward and the S magnetic pole facing downward is used as the reference position P0 (as shown in FIG. 4). In other possible embodiments, the boundary between the N magnetic pole and the S magnetic pole can also be used as the reference In this example, the angle θ between the pivoted angular position P1 and the reference position P0 is 35 degrees.

接著,於該感測模組40中輸入該轉子單元20的磁極數量n,於本例子係選用轉子磁極數量n = 12的轉子單元20,由於轉子單元20的各該磁極係成等角度間隔設置,亦即轉子單元20具有旋轉對稱的特性,因此可由此推知該轉子單元20每樞轉一固定角度後會回到類似的態樣,該感測模組40根據該轉子單元20的磁極數量n及所獲取的樞轉角度θ進行運算,前述運算係將該轉子單元20樞轉一周360度除以該轉子單元的磁極數量n=12以獲得角度φ=360度/12=30度,接著,將該 θ + N * φ = 35度 + N * 30度 = Φ 定義為切換角度,其中N係為大於等於0之整數,換言之,該切換角度係位於Φ=35、65、95、125、155、185、215、245、275、305、335及365(次圈5度時)等。Next, the number n of magnetic poles of the rotor unit 20 is input into the sensing module 40. In this example, the rotor unit 20 with the number of rotor magnetic poles n = 12 is selected. Since the magnetic poles of the rotor unit 20 are arranged at equal angular intervals , That is, the rotor unit 20 has a rotationally symmetrical characteristic, so it can be inferred that the rotor unit 20 will return to a similar state every time the rotor unit 20 pivots by a fixed angle, and the sensing module 40 according to the number of magnetic poles n And the obtained pivot angle θ for calculation. The foregoing calculation is to divide the rotor unit 20 by 360 degrees in one revolution by the number of magnetic poles of the rotor unit n=12 to obtain the angle φ=360 degrees/12=30 degrees, and then, The θ + N * φ = 35 degrees + N * 30 degrees = Φ is defined as the switching angle, where N is an integer greater than or equal to 0, in other words, the switching angle is located at Φ = 35, 65, 95, 125, 155 , 185, 215, 245, 275, 305, 335, and 365 (at 5 degrees of secondary circle), etc.

最後控制單元再接收前述該感測模組40的運算所獲取之切換角度Φ,並以此結合該感測模組40所感測到的感測磁石30的位置的即時資訊對該無刷馬達1的運轉進行控制,特別是針對控制該U相繞組、該V相繞組與該W相繞組之相位切換點。具體而言,當感測模組40感測到感測磁石30旋轉至切換角度Φ時,即表示該轉子單元20到達相位切換點,此時該控制單元會對該U相繞組、該V相繞組與該W相繞組之相位進行切換。Finally, the control unit receives the switching angle Φ obtained by the operation of the sensing module 40 and combines the real-time information of the position of the sensing magnet 30 sensed by the sensing module 40 to the brushless motor 1 Control of the operation of, especially for controlling the phase switching points of the U-phase winding, the V-phase winding and the W-phase winding. Specifically, when the sensing module 40 senses that the sensing magnet 30 rotates to the switching angle Φ, it means that the rotor unit 20 reaches the phase switching point, and at this time, the control unit will process the U-phase winding and the V-phase The phase of the winding and the W-phase winding are switched.

再舉另一例子進行說明,於本例中,S0至S2之步驟與前述例子相同,接著於S3步驟中,利用該感測模組以獲取該感測磁石的角度位置,並計算出該角度位置相較於基準位置的樞轉角度θ係為7度。於S4步驟中,該轉子單元20的磁極數量n係為10,此時該感測模組40根據該轉子單元20的磁極數量n及所獲取的樞轉角度θ進行運算,前述運算係將該轉子單元20樞轉一周360度除以該轉子單元的磁極數量n=10以獲得角度φ=360度/10=36度,接著,將該 θ + N * φ = 7度 + N * 36度 = Φ 定義為切換角度,其中N係為大於等於0之整數,換言之,該切換角度係位於Φ=7、42、79、115、151、187、….、295、331等。Another example is used to illustrate. In this example, the steps from S0 to S2 are the same as the previous example. Then, in step S3, the sensing module is used to obtain the angular position of the sensing magnet and calculate the angle The pivot angle θ of the position compared to the reference position is 7 degrees. In step S4, the number n of magnetic poles of the rotor unit 20 is 10. At this time, the sensing module 40 performs calculation based on the number n of magnetic poles of the rotor unit 20 and the obtained pivot angle θ. The rotor unit 20 pivots 360 degrees in one revolution divided by the number of magnetic poles of the rotor unit n=10 to obtain the angle φ=360 degrees/10=36 degrees, then, the θ + N * φ = 7 degrees + N * 36 degrees = Φ is defined as the switching angle, where N is an integer greater than or equal to 0, in other words, the switching angle is located at Φ=7, 42, 79, 115, 151, 187, ..., 295, 331, etc.

最後控制單元再接收前述該感測模組40的運算所獲取之切換角度Φ,並以此結合該感測模組40所感測到的感測磁石30的位置的即時資訊對該無刷馬達1的運轉進行控制,特別是針對控制該U相繞組、該V相繞組與該W相繞組之相位切換點。具體而言,當感測模組40感測到感測磁石30旋轉至切換角度Φ時,即表示該轉子單元20到達相位切換點,此時該控制單元會對該U相繞組、該V相繞組與該W相繞組之相位進行切換。Finally, the control unit receives the switching angle Φ obtained by the operation of the sensing module 40 and combines the real-time information of the position of the sensing magnet 30 sensed by the sensing module 40 to the brushless motor 1 Control of the operation of, especially for controlling the phase switching points of the U-phase winding, the V-phase winding and the W-phase winding. Specifically, when the sensing module 40 senses that the sensing magnet 30 rotates to the switching angle Φ, it means that the rotor unit 20 reaches the phase switching point, and at this time, the control unit will process the U-phase winding and the V-phase The phase of the winding and the W-phase winding are switched.

綜上所述,本案透過前述的步驟,得以獲知感測磁石30與感測模組40的相對位置,由於該定子單元10與該感測模組40之間無相對運動,而該轉子單元20也與該感測磁石30無相對運動,因此獲知感測磁石30與感測模組40的相對位置也表示獲知轉子單元20與定子單元10之間的相對位置,也就是說,本發明透過前述步驟即可精確掌握轉子單元20的位置情況。此時該控制單元只需要再搭配該感測模組40所感測到的感測磁石30的位置的即時資訊,即可精準的控制無刷馬達1的運轉。相較於傳統上透過人工的方式對霍爾感測器、感測磁石、定子及轉子間的相對位置進行耗時費工的調校工序,本案因此能有效降低生產成本,並維持品質的穩定性,再者,本案透過前述的步驟可精確掌握轉子單元的位置,因此能讓相位切換點更為準確,進而能有效提升電機效能。In summary, in this case, through the aforementioned steps, the relative position of the sensing magnet 30 and the sensing module 40 can be obtained. Since there is no relative movement between the stator unit 10 and the sensing module 40, the rotor unit 20 There is also no relative movement with the sensing magnet 30, so knowing the relative position of the sensing magnet 30 and the sensing module 40 also means knowing the relative position between the rotor unit 20 and the stator unit 10, that is, the present invention The position of the rotor unit 20 can be accurately grasped in steps. At this time, the control unit only needs to cooperate with the real-time information of the position of the sensing magnet 30 sensed by the sensing module 40 to accurately control the operation of the brushless motor 1. Compared with the traditional time-consuming and labor-intensive adjustment process of the relative position between the Hall sensor, the sensing magnet, the stator and the rotor through manual methods, this case can effectively reduce production costs and maintain stable quality In addition, in this case, the position of the rotor unit can be accurately grasped through the aforementioned steps, so that the phase switching point can be more accurate, which can effectively improve the motor performance.

最後,必須再次說明的是,本發明於前述實施例中所揭露的構成元件及步驟僅為舉例說明,並非用來限制本發明的專利範圍,舉凡未超脫本發明精神所作的簡易結構潤飾或變化,或與其他等效元件的更替,仍應屬於本發明申請專利範圍涵蓋的範疇。Finally, it must be explained again that the constituent elements and steps disclosed in the foregoing embodiments of the present invention are only examples and are not intended to limit the patent scope of the present invention. Any simple structural retouching or changes made without departing from the spirit of the present invention , Or replacement with other equivalent components, should still fall within the scope covered by the patent application of the present invention.

S0,S1,S2,S3,S4,S5‧‧‧步驟1‧‧‧無刷馬達3‧‧‧殼體10‧‧‧定子單元 20‧‧‧轉子單元22‧‧‧驅動軸24‧‧‧端面30‧‧‧感測磁石32‧‧‧感測磁極40‧‧‧感測模組P0‧‧‧基準位置P1‧‧‧角度位置S0, S1, S2, S3, S4, S5 ‧‧‧ Step 1 ‧ ‧ ‧ brushless motor 3 ‧ ‧ ‧ case 10 ‧ ‧ ‧ stator unit 20‧‧‧Rotor unit 22‧‧‧Drive shaft 24‧‧‧End face 30‧‧‧Magnet sensing 32‧‧‧Pole sensing 40 40‧‧‧ Sensing module P0‧‧‧Base position P1‧‧‧Angle position

以下茲以實施例並配合圖式,對本發明所提供的一種電動自行車之無刷馬達的轉子位置感測方法做進一步之說明,其中: 第1圖為本發明所示實施例之電動自行車之無刷馬達的轉子位置感測方法的流程圖。 第2圖為本發明所示實施例之電動自行車之無刷馬達的結構示意圖。 第3圖為本發明所示實施例,主要顯示驅動軸與感測磁石之結構。 第4圖為本發明所示實施例之電動自行車之無刷馬達的感測磁石於基準位置的示意圖。 第5圖類同於第4圖,主要顯示步驟S2時,感測磁石於角度位置的示意圖。The following describes the rotor position sensing method for a brushless motor of an electric bicycle provided by the present invention with examples and drawings, in which: FIG. 1 is a flowchart of a rotor position sensing method of a brushless motor of an electric bicycle according to an embodiment of the present invention. FIG. 2 is a schematic structural diagram of a brushless motor of an electric bicycle according to an embodiment of the present invention. Figure 3 is an embodiment of the present invention, mainly showing the structure of the drive shaft and the sensing magnet. FIG. 4 is a schematic diagram of a sensing magnet of a brushless motor of an electric bicycle according to an embodiment of the present invention at a reference position. Fig. 5 is similar to Fig. 4 and mainly shows a schematic diagram of sensing the angular position of the magnet in step S2.

S0,S1,S2,S3,S4,S5‧‧‧步驟 S0, S1, S2, S3, S4, S5‧‧‧

Claims (6)

一種電動自行車之無刷馬達的轉子位置感測方法,該無刷馬達係可設於該電動自行車之五通或設於前、後輪之輪軸,其特徵在於,該無刷馬達包含有一定子單元、一轉子單元、一感測磁石、一感測模組及一控制單元,該轉子單元具有一驅動軸,該轉子單元係與該定子單元同軸且可轉動地設於該定子單元內,該感測磁石固設於該轉子單元的驅動軸且可與該轉子單元同步轉動,該定子單元具有複數個定子齒部,於各該定子齒部上繞設有線圈,該些線圈構成一U相繞組、一V相繞組與一W相繞組,該控制單元電性連接於該感測模組,本感測方法包含有以下步驟:S0:將該感測模組設於該無刷馬達之殼體表面並鄰接於該感測磁石;S1:將直流電之正端電性連接於該U相繞組、該V相繞組與該W相繞組之一者,並將直流電之負端電性連接於該U相繞組、該V相繞組與該W相繞組之另一者;S2:待該轉子單元受到該定子單元線圈激磁的磁場的磁力吸引而產生樞轉直到固定,該感測磁石也會受帶動而樞轉直到固定,將該感測磁石的位置設為一角度位置,該感測磁石具有一相對的感測磁極(N磁極與S磁極),該對感測磁極係沿該驅動軸之徑向分佈;S3:利用該感測模組以獲取該感測磁石的角度位置,並計算出該角度位置相較於一基準位置的樞轉角度為θ,該感測模組係可獲取該感測磁石之感測磁極的方向及樞轉速度; S4:於該感測模組中輸入該轉子單元的磁極數量,且該感測模組根據該轉子單元的磁極數量及S3所獲取的樞轉角度θ進行運算以獲取一切換角度Φ;S5:該控制單元接收S4的運算所獲取之切換角度Φ並以此結合該感測模組所感測到的感測磁石的位置的即時資訊對該無刷馬達的運轉進行控制。 A rotor position sensing method for a brushless motor of an electric bicycle. The brushless motor can be installed on the five-way of the electric bicycle or on the axles of the front and rear wheels, characterized in that the brushless motor includes a stator Unit, a rotor unit, a sensing magnet, a sensing module and a control unit, the rotor unit has a drive shaft, the rotor unit is coaxial with the stator unit and rotatably disposed in the stator unit, the The sensing magnet is fixed on the drive shaft of the rotor unit and can rotate synchronously with the rotor unit. The stator unit has a plurality of stator teeth, and coils are wound on each of the stator teeth to form a U-phase Winding, a V-phase winding and a W-phase winding, the control unit is electrically connected to the sensing module, the sensing method includes the following steps: S0: the sensing module is installed in the housing of the brushless motor The body surface is adjacent to the sensing magnet; S1: electrically connect the positive end of the direct current to the U-phase winding, the V-phase winding and the W-phase winding, and electrically connect the negative end of the direct current to the The other of U-phase winding, V-phase winding and W-phase winding; S2: when the rotor unit is attracted by the magnetic force of the magnetic field excited by the stator unit coil to produce a pivot until fixed, the sensing magnet will also be driven And pivot until it is fixed, the position of the sensing magnet is set to an angular position, the sensing magnet has a relative sensing magnetic pole (N magnetic pole and S magnetic pole), the pair of sensing magnetic poles is along the diameter of the drive shaft Direction distribution; S3: use the sensing module to obtain the angular position of the sensing magnet, and calculate the pivot angle of the angular position compared to a reference position as θ, the sensing module can obtain the sense The direction and pivot speed of the magnetic pole of the magnetometer; S4: input the number of magnetic poles of the rotor unit into the sensing module, and the sensing module performs calculation according to the number of magnetic poles of the rotor unit and the pivot angle θ acquired by S3 to obtain a switching angle Φ; S5: The control unit receives the switching angle Φ obtained by the operation of S4 and combines the real-time information of the position of the sensing magnet sensed by the sensing module to control the operation of the brushless motor. 如申請專利範圍第1項所述之一種電動自行車之無刷馬達的轉子位置感測方法,其中該感測磁石係固設於該驅動軸的一端面,且該感測磁石係可與該驅動軸同軸樞轉。 A rotor position sensing method for a brushless motor of an electric bicycle as described in item 1 of the patent scope, wherein the sensing magnet is fixed on one end surface of the drive shaft, and the sensing magnet can be connected with the drive The shaft pivots coaxially. 如申請專利範圍第1項所述之一種電動自行車之無刷馬達的轉子位置感測方法,其中於S3中,該感測模組係與該感測磁石沿該驅動軸之軸向相鄰但不接觸地設置於該無刷馬達的殼體上。 A rotor position sensing method for a brushless motor of an electric bicycle as described in item 1 of the patent scope, wherein in S3, the sensing module is adjacent to the sensing magnet along the axis of the drive shaft but It is provided on the housing of the brushless motor without contact. 如申請專利範圍第4項所述之一種電動自行車之無刷馬達的轉子位置感測方法,其中該感測模組係垂直於該驅動軸之軸向且與該感測磁極平行。 A rotor position sensing method for a brushless motor of an electric bicycle as described in item 4 of the patent application scope, wherein the sensing module is perpendicular to the axis of the drive shaft and parallel to the sensing magnetic pole. 如申請專利範圍第1項所述之一種電動自行車之無刷馬達的轉子位置感測方法,其中該定子齒部的數量係為3的倍數。 A rotor position sensing method for a brushless motor of an electric bicycle as described in item 1 of the patent application scope, wherein the number of the stator teeth is a multiple of 3. 如申請專利範圍第1項所述之一種電動自行車之無刷馬達的轉子位置感測方法,其中,該感測模組具有一微處理器及一儲存單元,該S3到S4係於該感測模組的微處理器進行運算並儲存於該儲存單元。 A rotor position sensing method for a brushless motor of an electric bicycle as described in item 1 of the patent scope, wherein the sensing module has a microprocessor and a storage unit, and the S3 to S4 are based on the sensing The microprocessor of the module performs calculations and stores them in the storage unit.
TW108111305A 2018-04-26 2019-03-29 Rotor position sensing method of brushless motor of electric bicycle TWI686050B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN107114259 2018-04-26
TW107114259 2018-04-26
TW107114259 2018-04-26

Publications (2)

Publication Number Publication Date
TW201946368A TW201946368A (en) 2019-12-01
TWI686050B true TWI686050B (en) 2020-02-21

Family

ID=69582965

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108111305A TWI686050B (en) 2018-04-26 2019-03-29 Rotor position sensing method of brushless motor of electric bicycle

Country Status (1)

Country Link
TW (1) TWI686050B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201733850A (en) * 2015-11-16 2017-10-01 比雅久股份有限公司 Method for managing the energy range of an assisted pedal electrical bicycle
TW201737602A (en) * 2016-02-16 2017-10-16 聯寶興業有限公司 Disk-type electric motor, electrically driven vehicle and method for controlling the same
US20180238754A1 (en) * 2017-02-21 2018-08-23 Propulsion Powercycle Inc. Torque sensor for an electric bicycle
TWM566177U (en) * 2018-06-12 2018-09-01 財團法人自行車暨健康科技工業研究發展中心 Brushless motor of electric bicycle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201733850A (en) * 2015-11-16 2017-10-01 比雅久股份有限公司 Method for managing the energy range of an assisted pedal electrical bicycle
US20180319457A1 (en) * 2015-11-16 2018-11-08 Piaggio & C. S.P.A. Method for managing the energy range of an assisted pedal electrical bicycle
TW201737602A (en) * 2016-02-16 2017-10-16 聯寶興業有限公司 Disk-type electric motor, electrically driven vehicle and method for controlling the same
US20180238754A1 (en) * 2017-02-21 2018-08-23 Propulsion Powercycle Inc. Torque sensor for an electric bicycle
TWM566177U (en) * 2018-06-12 2018-09-01 財團法人自行車暨健康科技工業研究發展中心 Brushless motor of electric bicycle

Also Published As

Publication number Publication date
TW201946368A (en) 2019-12-01

Similar Documents

Publication Publication Date Title
CN205178812U (en) Fan and single -phase external rotor brushless motor thereof
US7550894B2 (en) Rotary electrical machine
JP5413424B2 (en) Motor drive device and brushless motor
JP2008086064A (en) Brushless motor
US8643317B2 (en) Single phase DC brushless motor controller and method for controlling rotation speed and direction of single phase DC brushless motor
WO2000064036A1 (en) Brushless motor
CN102044946B (en) Single-phase self-start permanent magnet synchronous motor
US20110198521A1 (en) Direct-current motor control device and method for detecting state of direct-current motor
TW201737602A (en) Disk-type electric motor, electrically driven vehicle and method for controlling the same
TWI686050B (en) Rotor position sensing method of brushless motor of electric bicycle
CN105610258B (en) A kind of permanent magnetism step-servo motor
JP2008054419A (en) Motor control system
JP2010081784A (en) Brushless electrical machine and apparatus having the same
US20220388599A1 (en) Hub-type electric driving device
JPH10290557A (en) Oscillatory motor
TWI399012B (en) Motor stator
JP6286287B2 (en) Motor regeneration control device and motor regeneration control system
CN110620486B (en) Rotor position sensing method of brushless motor of electric bicycle
JP2005051950A (en) Brushless motor
JP2017507631A (en) Switched reluctance motor starting method
JP2008236906A (en) Controller and control method of motor, and electric vehicle
JPWO2018062096A1 (en) Control device, control method, motor, and electric oil pump
JP2018019528A (en) Controller for switched reluctance motor
JP2004343856A (en) Brushless motor
TWM566177U (en) Brushless motor of electric bicycle