3Phase hub motor control

Discussion in 'The Projects Forum' started by pjreijiri, May 3, 2016.

  1. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
    Hello everyone,

    I have been working on this project for some time, but had a problem this morning. I found out that the motor that I had to use was a 3 phase motor and I never worked with 3 phase motors before.
    This is the motor that I want to use: LINK

    I had already worked on a DC motor controller using a PIC16 micro controller. I attached a picture of the circuit. It is made for 2 motors to work together to drive a robot. It also has forward and reverse capabilities.
    Is it possible to adjust this circuit to make it possible for a 3 phase motor?

    Regards
     
  2. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,517
    2,369
    The link shows a BLDC motor which although the motors are practically identical, 3 phase is a little more involved.
    I suggest you look at Microchip Development board MC LV the site details of the board include schematics and software listing.
    Max.
     
  3. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
  4. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,517
    2,369
    Appears the same/very similar details?
    Max.
     
  5. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
  6. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,517
    2,369
  7. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
    I found the DRV8312/32
    http://www.mouser.com/ds/2/405/drv8332-483172.pdf

    It suits my application more from the voltage and current point of view.

    Just one thing I can't really get yet is the concept of the PWM control.
    Do I need 6 PWM? (For 3 for PWM_x and 3 for RESET_x) Or can I set the RESET_x as the inverse of PWM_x using inverting op-amps or equivalent.
    If not what is the relationship between the two?

    Also what is the relationship between PWM_A, PWM_B and PWM_C?

    Thank you in advance
     
  8. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,517
    2,369
    You need a 3 phase bridge although a BLDC motor is not strictly 3ph as only two windings are energized at any given time.
    If you Google BLDC PWM bridge you should see many examples.
    Max.
     
  9. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
    alright great, I will check it now
     
  10. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
    Hello Max,
    what do you think of this controller?
    http://www.onsemi.com/pub_link/Collateral/MC33035-D.PDF
    paired with 6 power mosfets IRFP4468.
    I would connect the brake, FWD/REV, and PWM input to the micro controller. and since I need two motors I add one pin for FWD/REV and use the same brake and PWM output, to a total of 4 pins from the micro controller.

    Do you think it would work?
     
  11. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
    of course i would use 2 drivers, one for each motor
     
  12. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,517
    2,369
    I have used the MC33035 some time ago, it worked for me, at that time Motorola was sending out a sample PCCT development board to build on, so it made it relatively easy.
    Max.
     
  13. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
    Good to know. I will build a circuit and post it here and hopefully you can check it in case I missed something.
     
  14. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,517
    2,369
    Here is a copy of the AN1046 rev2 with the circuit & board they supplied.
    I see that was back in the '80's!
    Max.
     
  15. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
    What do you think about this? did I miss anything?
    Can I also get away without the current send? (pins 9 and 15)
     
  16. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,517
    2,369
  17. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
    so I add 3x2110? One for each high side mosfet?

    also, can I use the hall sensor for driving the rpm if I connect it to the uC?
     
  18. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,517
    2,369
    The circuit shows a MC33039 for tach control.
    Also IR2301 which is 8 pin.
    Max.
     
  19. pjreijiri

    Thread Starter Member

    Aug 19, 2015
    60
    1
    alright then, here I have two choices, either connect the fout of mc33039 to uC and the PWM from uC to PWM pin on mc33035.
    Or connect the PWM to EA of mc33035(using a buck converter) and fout of mc33039 to PWM of mc 33035.

    do you think it would work and which one do you think is better?
     
  20. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,517
    2,369
    If just using a μp I would think the easiest is to use it for PWM together with IR2110.
    I gave up the MC33035 in favour of Picmicro as the programs in the link in post #6 but they are in Assembly.
    Max.
     
Loading...