+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Newbie level 4
    Points: 388, Level: 4

    Join Date
    Oct 2017
    Posts
    5
    Helped
    1 / 1
    Points
    388
    Level
    4

    BLDC Motor Hall Encoder Issue

    I'm trying to control a BLDC motor with a microcontroller board and three MOSFET half-bridges and am running into issues with the Hall encoder outputs from the motor. I'm using the three Hall sensor inputs to determine when to commutate the motor in the usual six step sequence. The problem I'm having is that the Hall sensor inputs don't transition cleanly--they bounce a few times and that's screwing up the commutation code, which is causing the motor to run roughly.

    Below is a scope capture of one of the Hall inputs (channel 4--the purple trace). Is this sort of bouncing typical of Hall sensors on BLDC motors? What's the best approach to handle this? The MCU is a Microchip PIC32MK100MC, which is the motor control MCU in the PIC32 family. Oddly, its Hall encoder support doesn't seem to have any noise filtering capability.

    Click image for larger version. 

Name:	scope_1.png 
Views:	8 
Size:	45.7 KB 
ID:	154812

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 78,583, Level: 68
    Achievements:
    7 years registered
    Awards:
    Most Frequent Poster 3rd Helpful Member

    Join Date
    Apr 2014
    Posts
    15,947
    Helped
    3613 / 3613
    Points
    78,583
    Level
    68

    Re: BLDC Motor Hall Encoder Issue

    Hi,

    It's a good idea to use a low pass filter and a schmitt trigger to get clean signals.
    Especially with sensible signals and high current switching applications.

    I don't think you will see the same behaviour with all BLDC motors ... it's more a question of wiring, decoupling and PCB layout.

    Klaus
    Please don´t contact me via PM, because there is no time to respond to them. No friend requests. Thank you.



--[[ ]]--