Brushless DC Motors & Control - How it Works (Part 1 of 2)

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
let's turn our attention now to brushless DC motors and you'll see that the topology is actually quite different from a brushed DC motor in the sense that the coils are now actually on the stator and the permanent magnet is on the rotor so it's like we took our brushed DC motor and flipped it inside out to create this topology and what I'm going to do is I'm going to pass some current through this coil in such a way that it creates a North Pole in the air gap on the top stator piece and it'll create a South Pole in the air gap on the bottom stator piece now I'm going to put a hand crank on this motor and I'm going to essentially rotate it through 360 degrees as you can see here and what I'm doing is I'm plotting the torque that the motor is generating as it's rotating now I will tell you that I've never seen a motor that had this beautiful of a torque waveform and it's almost impossible to achieve because you would have to have uniform flux density in the air gap in order to get that kind of performance and and no motor can achieve that but for the moment let's just assume that that's what I've got and that that's what the waveform looks like so right there at angle equals zero we see that that's not a point that the motor wants to be in because I've got a North Pole fighting against the North Pole and a South Pole fighting against a South Pole but nonetheless all the force that's being produced on that rotor is right through the center of it so therefore the net torque is zero and if I knock it off of that Center position by just a little bit it's going to swing around to this position right here and that's where the motor actually wants to be where I have attraction between the rotor and stator magnet and if I try to offset that rotor from that position either from a clockwise point of view or a counterclockwise point of view notice the torque that the motor produces it actually fights me to get back to that state where it wants to be at which is sometimes I refer to that as the happy state of the motor so the motor is just sitting there it's all happy and everything but it's not producing any torque for me how do I get the motor to actually rotate another 180 degrees well the answer is I need to change the polarity of the current in my stator coils so if I do that what that essentially does is that will now invert the torque curve from its original position but the problem is in order to get back to that other angle 0 degrees I don't know whether it's going to go in a clockwise direction or a counterclockwise direction it's actually undefined a perturbation in either direction could send the motor flying off in that particular direction so this non-deterministic performance of this single-phase brushless DC motor is not acceptable and we need to find a way to get around that and that's done in the next slide so to get around this undetermined istic nature in terms of which direction the motor will want to spin the solution is we add more phases to the stator so in this case right here I'm going to turn on some current to phase a and when I put a rotor inside that stator structure is going to line up in the direction as shown here now what do you suppose I would have to do in order to get the motor to spin in a clockwise direction well the answer is I would want to take the current out of phase a and put it into phase C in particular in this case it would be negative current into phase c and that will cause the rotor to now try to line up with the phase C stator poles now this process of taking the current out of one coil and putting it in another coil it has a specific name in motor control it's called commutation and basically commutation means taking the current out of one circuit and putting it into another circuit so in this case I've taken the current out of coil a I've put it in coil C and the rotor now wants to align with the stator poles of coil C and I can continue this commutation process and make the motor continue to spin around following the rotating magnetic field of the stator as shown in this diagram however this is not a very efficient way to control a brushless DC motor in fact if you look I'm only controlling one stator phase at any given time and that means that you know two out of the three coils are not being used for anything there's actually a better way to do it and let's take a look at that in the next slide so here I have my three-phase stator arrangement with the rotor inside of it and what I'd like to do is to come up with a procedure by which I can drive multiple coils to generate positive or negative torque so the way I'm going to do this is I'm going to put positive current into all three phases of the motor at the same time and then once again I'm going to put like a hand crank on the motor and I'm going to spin it I'm going to rotate it very gently through 360 degrees now the torque waveform that you see for phase a that's the same one that we saw in the first slide when we talked about brushless DC motors but what you'll notice is that the torque waveforms for phase B and phase C are identical to this the only difference is they're separated in phase by a hundred and twenty degrees and that's because the B and C coils are separated from phase a spatially by a hundred and twenty degrees so we end up with torque waveforms that look like this now by looking at each one of those commutation intervals here's the rule that I'm going to apply if positive current in a particular coil for that commutation interval will result in positive torque I'm going to leave it alone I'm not going to do anything to it but if positive current in a particular commutation interval results in negative torque then if I want positive torque then what I have to do is I have to flip the current over I have to invert the current for that particular commutation interval for that phase and then the only one that's left is what do I do with those commutation intervals where the torque is actually transitioning from low to high or high to low well in this case I think I'm just going to turn that coil off during that period of time and not do anything with it so that's the rule and if I apply that rule consistently to all phases all three phases in all the commutation zones I end up getting a current waveform that looks like this so now when I actually rotate the motor through 360 degrees look what happens to the torque waveform and as you can see in every case I have commutation intervals where two phases are contributing to positive torque and one phase is contributing zero torque that means assuming that I have you know torque waveforms that look exactly like the ones shown here if I add up the total torque and each one of the commutation intervals it's actually the contribution of two torques from two phases which are perfectly flat that means that my torque and my machine for every interval at every instant is always going to be a constant torque now there's something else that we can notice by looking at the current waveforms it's rather interesting in every commutation interval I will have one phase that has positive current and another phase that has negative current and then a third phase which is turned off so maybe I can reuse that current in multiple phases for example let's look at this commutation zone right here the first one in this case I've got positive a current and negative B current so what I'm going to do is to take all of the bar phases in other words all of the stator poles that have the winding wound in the opposite direction to create an opposite magnetic polarity in the air gap and I'm going to take all those bar phases tie them together inside the motor and that point is going to be called the neutral point so now I've basically connected all the phases together and I can actually have current shared between different phases so let's take an example where I'm going to take phase a and I'm going to pull it high with a transistor so that it's pulled up to the positive DC bus voltage and I've got another transistor tied to phase B and it's pulled down to ground let's follow the current path so in this case right here current is going to flow through phase a go through that coil jump down to the phase a bar pull piece and then it's going to hit the neutral node it's going to go over here to phase B bar go around that stator pole piece and then finally out through phase B and then to ground so you can see that with this kind of a diagram we can actually recreate the scenario in the waveforms to the right-hand side of the graph where the positive current in one phase can actually become the negative current in another phase so I can take the procedure that I defined in the previous slide and implement that in some kind of controller whether it be some logic gates or a microcontroller microprocessor there's lots of different ways to do that but there's just one catch to this whole process and that is in order for me to know which transistors I should turn on or turn off I need to know where the rotor position is so that's why I have this this hall-effect arrangement on the back end of my motor here's a little magnetic disc in this case it's got four pole pieces on it and I've got three Hall effect sensors separated from each other by a hundred and twenty degrees now these are digital Hall effect sensors which means they don't really detect the absolute analog field strength of the of the little magnetic disk all it's detecting is when I transition from a North Pole to a South Pole and vice versa so I have three wires each of them carrying binary information that's two to the third power that's eight possible conditions that can be detected from my Hall effect arrangement here but it turns out that with a 120 degree spacing on my Hall effect sensors like this I will never get the condition of 0 0 0 or 1 1 1 so if my controller ever sees those two codes coming back that means that there's a fault either my connector has pulled loose from my Hall effect sensors or you know my power supply has gone dead for the Hall effect sensors or something bad has happened and it can flag that as a fault but the remaining states the six remaining states are all actually legitimate states so I can take that information use that on the input of my controller and my controller then knows where the rotor is and from that information it knows exactly what commutation zone that it needs to apply to either generate positive or negative torque
Info
Channel: digitalPimple
Views: 1,121,342
Rating: 4.8629885 out of 5
Keywords: Brushless Motors DIY, Homemade, Tutorial, DIY CNC, CNC, Robotics, Projects, Electronic design, Motor control circuits, How to, How its made
Id: ZAY5JInyHXY
Channel Id: undefined
Length: 10min 32sec (632 seconds)
Published: Mon Jun 11 2012
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.