Shop OBEX P1 Docs P2 Docs Learn Events
Brushless motor controller — Parallax Forums

Brushless motor controller

Macgman2000Macgman2000 Posts: 59
edited 2005-09-29 15:29 in General Discussion
Hello, I am trying to use the SX in a brushless 3-phase controller application. Does anyone know where I can get reference code ? I am especially interested in sensorless (back EMF) control.

Best Regards,
Nick
·

Comments

  • Paul BakerPaul Baker Posts: 6,351
    edited 2005-09-27 22:26
    Code, no. But there is an excellent·paper on the subject by Jianwen Shao, "Direct Back EMF Detection Method for Sensorless Brushless DC (BLDC) Motor Drives" availible here: http://scholar.lib.vt.edu/theses/available/etd-09152003-171904/
    His proposed method overcomes the problems associated with the·virtual ground method.


    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ·1+1=10
  • Macgman2000Macgman2000 Posts: 59
    edited 2005-09-28 01:41
    Thanks!!!!!!!!!!!

    Best Regards,

    Nick
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2005-09-29 15:29
    You might look at Gunther's book in regards to creating a data table and generating a sinewave. You actually have to generate 3 sinewaves [noparse][[/noparse]3 phase current] that are 120 degrees out of phase with each other.

    I suspect you can use the same data table for all three by starting sequentally.

    The real question is what is the 'bare minimum' of data to generate and appropriate sine wave?
    If you have extra memory, you can have greater resolution. Gunther shows a way to use actually 1/4 of the sine wave as your data. If useable, that will give you a lot more headroom for progaming goodies. {I suppose that you can do some smoothing of the output with filter capacitors or maybe even a software filter of some sort.}

    The back EMF is discussed at PIC's manufacture. I believe it is measured at the expected 'zero crossing' as it is easiest to recognize the back EMF by polarity rather than as an offset from the expected voltage.
    {I suppose there is a comparitor somewhere in there.}

    The SX-48 and SX-52 have two additional timers, so if you need a timer/counter for each phase - go there.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    G. Herzog in Taiwan

    Post Edited (Kramer) : 9/29/2005 3:27:54 PM GMT
Sign In or Register to comment.