Author Topic: Building an ESC  (Read 28096 times)

0 Members and 1 Guest are viewing this topic.

Offline rob77

  • Super Contributor
  • ***
  • Posts: 2085
  • Country: sk
Re: Building an ESC
« Reply #50 on: September 05, 2014, 11:09:56 am »
I know how CPUs can stop working for no reason at all. Using PWM just seems like a hack to me, and hacks are never good. I was looking for an elegant solution.

1. everything has a reason ;) and actually i know what will be the reason of your project's fail :) ( no offense, just let's be realistic )
2. PWM is the elegant solution.
3. howgh.
 

Offline ziggyfishTopic starter

  • Regular Contributor
  • *
  • Posts: 113
  • Country: au
Re: Building an ESC
« Reply #51 on: September 05, 2014, 12:06:21 pm »
Quote
I know how CPUs can stop working for no reason at all.

 Do you seriously believe that?

Just kidding, although some software have mind of their own. I've had software crash and after a simple reboot everything works again, and never see the problem again. I know in theory its the programmers fault but sometimes you have to question whether the CPU is faulty.
 

Offline ziggyfishTopic starter

  • Regular Contributor
  • *
  • Posts: 113
  • Country: au
Re: Building an ESC
« Reply #52 on: September 05, 2014, 12:44:18 pm »
1. everything has a reason ;) and actually i know what will be the reason of your project's fail :) ( no offense, just let's be realistic )
My solution works in a simulator, so I know I am on the right track with my design. I just need to buy the components now, and test everything in real life. I will need to rework some of the solution due to the real world not being perfect.
Quote
2. PWM is the elegant solution.
3. howgh.

Just think about it, all I want to do is convert a DC signal to a 3 phase output. The PWM solution requires a microcontroller, a 15557 line program, 3 ICs and 12 transistors. Not only that most ESCs also use PWM to communicate to the microcontroller, thus adding more complexity to the main CPU, and requires a specific programmer device to get configure correctly. To me that's not an elegant solution.

My solution only requires 4 ICs and output transistors which give me use of all 3 wires and everything is managed by the circuit, so the main CPU can just set and forget.
 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 16614
  • Country: us
  • DavidH
Re: Building an ESC
« Reply #53 on: September 05, 2014, 12:49:20 pm »
Too little gate resistance with poor routing and youre overheating and blowing up FETs.

Or too much reverse transfer coupling for the gate drive.  Or too much source inductance for the dI/dT.

Quote
Do you have a scope though?  It would be rather difficult to diagnose and figure out exactly why youre blowing up FETs if you dont have one.

And some high voltage differential probes or maybe an oscilloscope which has isolated channels.  The probes could be more expensive than the oscilloscope.

Quote
When you find a limitation to that board that you cant fiddle with or tweak, then you move onto making your own since you know why you need, and what makes up a better one.

The layout problems become extreme when you have to simultaneously minimize inductance because of high dI/dT , minimize capacitance because of dV/dT,  prevent ground loops, and spread power dissipation out with multiple devices.
 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 16614
  • Country: us
  • DavidH
Re: Building an ESC
« Reply #54 on: September 05, 2014, 12:56:53 pm »
My solution only requires 4 ICs and output transistors which give me use of all 3 wires and everything is managed by the circuit, so the main CPU can just set and forget.

I have this vision of Neo saying, "Transistors.  Lots of power transistors."

Pulse width modulation is trivial in the analog domain, requires fewer transistors to handle the power required, and minimizes obscure issues like secondary breakdown limits which are often nebulous.
 

Offline Precipice

  • Frequent Contributor
  • **
  • Posts: 403
  • Country: gb
Re: Building an ESC
« Reply #55 on: September 05, 2014, 01:00:36 pm »
My solution only requires 4 ICs and output transistors which give me use of all 3 wires and everything is managed by the circuit, so the main CPU can just set and forget.

Yep. Everyone else who's ever built a BLDC controller is a simpleton. How could we have missed such an excellent solution?

More seriously, it sounds like time for you to start building stuff. Good luck! (Hint: I expect your solution to become more complex, and converge towards others, explodey lesson by lesson. Although there's the happy phase of 'it'won't start' first, followed by 'it won't stop speeding up'.)

A genuine hint, though, is to build yourself a test jig, with a DC motor and various resistors (or a proper load) to put loads on your motor. To start with, it's enough to couple the shafts with heatshrink, but eventually you'll want a proper coupler. (Unless you drive the DC motor, though, you'll not be able to simulate most realistic stuck starting modes, but it'll do for the first 80% of development)

Good luck, adventure awaits!

Just think about it, all I want to do is convert a DC signal to a 3 phase output.

You are aware that a stopped BLDC motor winding is just an inductor? The current will rise to destructive levels long before the motor starts to turn far enough to use the next phase.
And boom, you're down some transistors, or a winding.
« Last Edit: September 05, 2014, 01:20:30 pm by Precipice »
 

Offline Kremmen

  • Super Contributor
  • ***
  • Posts: 1289
  • Country: fi
Re: Building an ESC
« Reply #56 on: September 05, 2014, 01:01:59 pm »
[...]
My solution only requires 4 ICs and output transistors which give me use of all 3 wires and everything is managed by the circuit, so the main CPU can just set and forget.

Confidence is OK and desirable but then there is overconfidence and cocksureness. You figure out the rest.
Nothing sings like a kilovolt.
Dr W. Bishop
 

Offline ziggyfishTopic starter

  • Regular Contributor
  • *
  • Posts: 113
  • Country: au
Re: Building an ESC
« Reply #57 on: September 05, 2014, 01:26:42 pm »
To all, thanks for all your help, and suggestions. Although the solution I have isn't based on PWM, you have given me more information than you think (for example calculating thermal heat, how a BLDC motor works).

I will start ordering the parts required next month and will post the final schematic when I have it tested.

Thanks for all of your help.

 

Offline Precipice

  • Frequent Contributor
  • **
  • Posts: 403
  • Country: gb
Re: Building an ESC
« Reply #58 on: September 05, 2014, 01:30:15 pm »
I have this vision of Neo saying, "Transistors.  Lots of power transistors."

I'm waiting for 'my transistors blew up, where can I get bigger / better MOSFETs?'
or
'My breadboard has just evaporated'...
Still, building motor controllers from scratch is good and educational, it's hard to think of anything else so simple sounding that covers such a wide proportion of this fascinating game. From device physics through hard realtime software, just to do what some crappy brushes and copper segments do in a DC motor :)

 

Online David Hess

  • Super Contributor
  • ***
  • Posts: 16614
  • Country: us
  • DavidH
Re: Building an ESC
« Reply #59 on: September 05, 2014, 05:18:09 pm »
I have this vision of Neo saying, "Transistors.  Lots of power transistors."

I'm waiting for 'my transistors blew up, where can I get bigger / better MOSFETs?'
or
'My breadboard has just evaporated'...
Still, building motor controllers from scratch is good and educational, it's hard to think of anything else so simple sounding that covers such a wide proportion of this fascinating game. From device physics through hard realtime software, just to do what some crappy brushes and copper segments do in a DC motor :)

I have to add "long sleeve shirt" to my eye protection and face mask recommendation.

Also:

13) The use of sand bags in engine test facilities is encouraged. Note that this means bags filled with sand, not straw. While straw does make the bags easier to handle, the Borsk Test Facility has found them less effective in stopping flying objects.

http://www.srogers.com/comedy/aircraft_design.asp
 

Offline max_torque

  • Super Contributor
  • ***
  • Posts: 1280
  • Country: gb
    • bitdynamics
Re: Building an ESC
« Reply #60 on: September 06, 2014, 12:12:53 pm »
Anyone who thinks that the "clever" or "difficult" bit of 3phase BLDC motor control is generating the 120deg phase shifted fundamental PWM signals is in for quite a steep learning curve........   ;-)
 

Offline ziggyfishTopic starter

  • Regular Contributor
  • *
  • Posts: 113
  • Country: au
Re: Building an ESC
« Reply #61 on: September 09, 2014, 08:05:51 am »
Anyone who thinks that the "clever" or "difficult" bit of 3phase BLDC motor control is generating the 120deg phase shifted fundamental PWM signals is in for quite a steep learning curve........   ;-)

 :-DD
 

Offline aqibi2000

  • Regular Contributor
  • *
  • Posts: 211
  • Country: gb
Re: Building an ESC
« Reply #62 on: May 14, 2015, 09:21:40 am »
Genuinely loved this conversation.  :-DD
Tinkerer’
 

Online Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11631
  • Country: my
  • reassessing directives...
Re: Building an ESC
« Reply #63 on: May 14, 2015, 02:11:19 pm »
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf