Search Entire Site:
Explore | Login | Register | Contact Us | About Us


Improve Hall sensor rotor-position measurements: Part 2
By Giuseppe D'Angelo and Giovanni Moselli, STMicroelectronics
Source: Embedded.com

Posted: 02/02/2007
Rating: 3.5 (Good!)

Part 1 of this article described the design task required and various sources of electric motor rotor position error.

Concept overview
Let's assume a motor with three Hall sensors, but what follows can be applied to whatever number of Hall sensors.

Preliminarily, note that between two consecutive occurrences of the same edge, rising or falling, of the same sensor on a mechanical rotation, the rotor surely moved 360 degrees. According to this, the time t'0_index between two consecutive occurrences of the same edge, rising or falling, of the same sensor on a mechanical rotation with index = 1,..., 6n (with n the number of pole pairs of the motor) according to the current edge of the Hall sensors on a mechanical rotation can be used in the Eq. (1) instead of the time t0 (see below). Moreover, the angle Θ0 is not fixed according to the current edge of the Hall sensors, but it is the last Θ(t) calculated at the occurrence of the same edge on a mechanical rotation. So the Eq. (1):

can be written as:

According to the Eq. 2, during two consecutive edges of the Hall sensors, the current rotor angle will be correctly predicted because the time t'0_index corresponds exactly to 360 mechanical degrees (or n * 360 electrical degrees) and moreover, for each edge on the Hall sensors, the correct relevant rotor angle will be calculated and used for the prediction of the rotor angle Θ(t).

Figure 3 (below) shows a possible implementation of the proposed concept. Let's assume a motor with three Hall sensors. The subsystem 1 includes six hit crossing blocks to distinguish the rising and falling edges of the Hall sensors during an electrical rotation and an OR operation block. The output of the OR block is used as a signal of general synchronization by the subsystems 3 and 4.

Fig. 3
View a full-size image

The subsystem 2 generates the index value that is included between 1 to 6n, with n the number of pole pairs of the motor, and has as an input which is the output of the subsystem 1. The subsystem 2 gives the current value of index that will be used by the subsystems 3 and 4.

Before explaining the use of index, let's see how it is generated. The subsystem 2 includes the index determination, the counter polar pairs, and the counter module n. The block index determination gives the index_e value, which can be from 1 to 6, according to the current edge of the Hall sensors. The counter module n has as an input the synchronization signal, used to identify the current polar pair, and the output of the counter is ranged between 1 to n-1. This value is multiplied by 6 and added to the index_e value.

The subsystem 3 calculates Θ0_index (i.e. Θ(t) in the 6n synchronization times according to the Eq. (2) using the previous value of Θ0_index) and stores it in the Register HS offset with 6n memory cells. The subsystem 3 simply reads the value Θ(t) when an edge of the Hall sensors occurs and stores this value in the correct position using the index value (i.e. it updates the value of Θ0_index. For index = 0, the Θ0_index= 0 value is always 0° in order to take the relevant Hall sensor's edge as reference.

The subsystem 4 implements Eq. (2). In particular, the subsystem 4 uses the timer T0 in free-running mode in order to calculate t'0_index for each edge of the Hall sensors and stores this value using a register with 6n memory cells. The t'0_index is calculated considering that when an edge of the Hall sensors occurs, the current value of the timer T0 is subtracted to the previous value t'0_index according to the current value of index and the new value is stored in the correct position.


 

What is this item inside a Toaster Oven?
  Capacitor
  Relay
  Heat sink
  Resistor

Do you know the answer?
Do you want to be rewarded?
Login to Mechatropolis or Become a Citizen.
To add search tags or to rate Articles, please Login to Mechatropolis or Become a Citizen
Search Tags: sensor  controls  automotive  article  motor  THD  cmp  
Comments:


 
Community Status
 
Top Citizen: Inaki Z.
723056 Points
Are you smarter?
Login or Register

Invite A Friend
Your
E-Mail:
Friend's
E-Mail:
 

Related Articles
Cooperation on motion control...
External Link: http://i.cmpnet.com/embed...
Click for more information.
Tech Tutorial: LIN and SAE J2602 drive m...
In the late 1990s, five car makers, a communications tools manufacturer, and what is now Freescale Semi...
Managing quantization errors in digital ...
Digital control systems offer designers several advantages, including the implementation of advanced algorith...
Designing An Arm-Based Multithreaded Vid...
[Editor's Note: In Part 1, the author described the basic physical parameters of a video/audio/motion rec...
View all Articles

Editor's Selection
Freescale Samples Flexis Series 8/32-bit...
External Link: http://www.automotivedesi...
Click for more information.
Advances in servo system development ...
The recent trend in has been to reduce cost, size and complexity of servo systems while increasing performance...
Driverless vehicles meeting challenge...
PORTLAND, Ore. — The winners of the last Grand Challenge, an autonomous vehicle race sponsored by the ...
View all Articles

Popular Mechatropolis Articles
Getting in touch with touchscreen tech...
Touchscreen technology is emerging as a killer app all by itself  Thanks to advances in mec...
PCI Express image-acquisition board set ...
Imaging and video have always interested me. As a youth in the early 1960s I tinkered with a surplus ph...
Generate stepper-motor speed profiles in...
A new algorithm for stepper-motor acceleration allows speed profiles to be parameterized and calculate...
Tutorial: Improving the Transient Immuni...
When it comes to protecting their designs from a variety of transient electrical disturbances, developers of m...
View all Articles

ArticlesTag Cloud
  accelerometer     actuator     ADC     aerospace     Atmel     automotive     AVR     CAN     Celoxica     controls     debug     DSP     Echelon     ECU     electronics     ENOVIA     Freescale     HILS     I2C     industrial     keypad     LIN     LONworks     MCU     mechanics     medical     Microcontroller     prototyping     Pyxos     robotics     Semiconductor     sensor     ShortStack     simulation     SPI     switch     Toshiba     XBox     zigbee  


Do you have a question or suggestion?
Send us a message using this form:
Name:
E-Mail:
Subject:
Message:
Verify:This Is CAPTCHA Image (enter code)
 

Which of the following is the coolest Mechatronic device?
 
i-Robot Roomba
Wii Remote Controller
Coffee Maker
Blood Preasure Monitor
 
 

Home | Videos | Articles | AppNotes | Webcasts | Courses | Wiki Teardowns | VirtuaLabs | Challenges
Explore | Login | Register | Contact Us | About Us

Privacy Policy | Your California Privacy Rights | Terms of Service
© 2008 TechInsights, a division of United Business Media Limited. All Rights Reserved.