element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Make Life Accessible
  • Challenges & Projects
  • Design Challenges
  • Make Life Accessible
  • More
  • Cancel
Make Life Accessible
Blog Make Life Accessible - Motor Suite Test - blog 8
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: dougw
  • Date Created: 29 May 2016 9:24 PM Date Created
  • Views 1953 views
  • Likes 7 likes
  • Comments 19 comments
  • make life accessible
  • pmsm_motor_control
  • accessibility_projects
  • kinetis_motor_suite
  • mla
  • clear_walk
Related
Recommended

Make Life Accessible - Motor Suite Test - blog 8

dougw
dougw
29 May 2016

This entry is a first exploration of the Kinetis Motor Suite capabilities, demonstrating motor reversing and sequencing through several states.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Next time I will try to hook up the Hall effect sensors to see if I can work at lower speeds.

 

Relevant Links

MLA Design Challenge

 

The full set of Clear Walk project blogs can be found here:

Make Life Accessible

  • Sign in to reply

Top Comments

  • kulky64
    kulky64 over 9 years ago +2
    How do you think will Hall effect sensors help you at lower speeds? The state of the Hall effect sensors changes every 60 degrees of electrical revolution. This is of little help to FOC algorithm. They…
  • shabaz
    shabaz over 9 years ago in reply to dougw +2
    Hi Doug, The hall sensors should always allow you to know which phase in the commutation cycle you're at (i.e. even with a stall), whereas with the sensorless method you won't know at very slow speeds…
  • kulky64
    kulky64 over 9 years ago in reply to dougw +2
    All true, but applies to BLDC motor with six-step commutation (sometimes called block commutation). But you are dealing with PMSM motor and Field Oriented Control (FOC) with all three phases driven at…
Parents
  • kulky64
    kulky64 over 9 years ago

    How do you think will Hall effect sensors help you at lower speeds? The state of the Hall effect sensors changes every 60 degrees of electrical revolution. This is of little help to FOC algorithm. They may help you if you are using trapezoidal control as back-EMF zero crossing detection is not reliable at low speeds, but FOC algorithm will probably use some other means of sensorless rotor position estimation.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 9 years ago in reply to kulky64

    The way I understand it, BLDC motors require sensing to know when to commutate the phases. When the speed is high enough, there is enough back-emf in the un-powered phases to deduce rotor position and figure out commutation timing. When rotation is not fast enough for significant back-emf or perhaps when no computer is available, Hall sensors can be used instead. NXP has an application note that might help explain it better:

    http://www.nxp.com/files/microcontrollers/doc/app_note/AN4058.pdf

    I don't know if it will work better, since I have never done anything tricky with a BLDC motor, but I seem to recall reading somewhere that hooking up the Hall effect sensors would provide better low speed control.

    Doug

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 9 years ago in reply to dougw

    Hi Doug,

     

    The hall sensors should always allow you to know which phase in the commutation cycle you're at (i.e. even with a stall), whereas with the sensorless method you won't know at very slow speeds/standstill.

     

    Good luck with your project, and super-interested to hear more about the control algorithms. I used a BLDC chip for driving a DC motor a while back, and used the sensor feedback for speed/position determination. However it was an old-school method of control (using analog integration of pulses to determine speed). Modern methods using microcontrollers/DSPs are far more advanced. The FOC method kulky64 mentions is quite new I think, it may well use things other than back EMF for sensorless control, but it is beyond what little I know about BLDCs. While the hall sensors may not help with that method (I have no idea), if back EMF is being used then at slow speeds there could well be issues.

    I tried to write up some short motor notes a while back, here and here - in case any of that is useful or gives ideas.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kulky64
    kulky64 over 9 years ago in reply to dougw

    All true, but applies to BLDC motor with six-step commutation (sometimes called block commutation). But you are dealing with PMSM motor and Field Oriented Control (FOC) with all three phases driven at the same time with sinusoidal current. From quick scrolling through Kinetis Motor Suite user's guide it seems that KMS does not support six-step trapezoidal control.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • kulky64
    kulky64 over 9 years ago in reply to dougw

    All true, but applies to BLDC motor with six-step commutation (sometimes called block commutation). But you are dealing with PMSM motor and Field Oriented Control (FOC) with all three phases driven at the same time with sinusoidal current. From quick scrolling through Kinetis Motor Suite user's guide it seems that KMS does not support six-step trapezoidal control.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • shabaz
    shabaz over 9 years ago in reply to kulky64

    I'm guessing it must still be performing some measurement (if not back-emf then some other characteristic) otherwise there is no closed-loop. It is still likely that that measurement (whatever it is) is impacted at slow speeds/standstill, but it is just a guess. I don't know anything about FOC : (

    Or is it treating it like a stepper motor, i.e. not closed loop at all?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kulky64
    kulky64 over 9 years ago in reply to shabaz

    Of course it does rotor position estimation. Accurate position and velocity are essential for FOC algorithm to work. At medium and high speed, a BEMF observer in d/q reference frame is usually used. At low speed, some other techniques like high frequency injection or open-loop start-up are needed to spin the motor until BEMF is sufficiently high for the BEMF observer. Usually 5% of the nominal speed is enough for proper operation in sensorless mode. I didn't check how things are implemented in Kinetis Motor Suite though. Of course things are easy if you have proper sensor (either encoder or resolver), but i'm afraid hall effect sensors won't improve situation much. 60 electrical degrees of resolution they provide is simply not enough for FOC to work. Don't know if low speed operation is needed for Doug's project.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 9 years ago in reply to kulky64

    There is an Atmel doc here http://www.atmel.com/Images/doc32126.pdf

    page 15 (figure 4.9) looks like they can use a Hall sensor, but just a single one presumably to compute difference between the estimated position and the actual position.

    I'd originally thought Doug's system used the typical commutation method but sounds like FOC is a controlled variant of sinusoidal drive like stepper motors.

    Hall sensors don't provide 60 degrees of resolution in a BLDC as far as I understand (or maybe there are variations). They will latch approx every 180 degrees, i.e. at repeatable positions per revolution, so you know as it rotates when it passes a certain physical position - that would give you the accurate position and velocity you mention) just that there are three of them so they all operate approx 60 deg out of phase. I could be wrong - I'm no expert on BLDC nor on how flexible FOC is - e.g. if it can (or needs to) resolve the error more frequently than every revolution, nor on how slow a speed is needed by Doug.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • kulky64
    kulky64 over 9 years ago in reply to shabaz

    Right. Hall effect sensor changes its state every 180 degrees of electrical revolution. Place three hall effect sensors 120 degrees (or 60 degress) apart and bam, you know absolute position with 60 degrees resolution. Check Figure 67 in this document:

    http://www.st.com/content/ccc/resource/technical/document/user_manual/5e/5e/d2/cb/07/35/45/a6/CD00298474.pdf/files/CD002…

    (This document also describes in Section 8.2 High Frequency Injection technique i mentioned earlier.)

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 9 years ago in reply to kulky64

    I am tracking the sun - which is obviously pretty slow at one revolution per day, but I can use short, higher speed, motions periodically to emulate continuous tracking. I still will need to gear the motor down significantly. Its minimum speed right now is 288000 revs per day and I need 1 rev per day.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube