stevendhansen
Joined 11 years ago
Joined 11 years ago
The induction torque speed curve is also very performant even when compared to PM machines so I don’t understand your criticism. Source: motor control engineer.
Ha, I am the same way with feedforward terms. No rest until the integrators don't budge under the largest command steps!
I will have to keep your site bookmarked. It is rare to see a high quality motor controller in this space. Most others I have seen are pretty underwhelming, so kudos on the cool project!
I suspect that this type of sensorless strategy will become more popular with the rise of GaN and SiC devices, but it is currently implemented with good results today using only standard Si IGBTs and MOSFETs.
I think this technique isn't commonly used in lower performance applications because it is an additional cost both in performance (need a more powerful processor) and complexity.
The big problem with high freq injection is that it requires some kind of saliency on the rotor, which means this only works for interior permanent magnet machines and not induction or surface PM machines unless they are specially constructed. I guess I don't know enough about hobby brushless DC machines to know if they are IPM or SPM, but my guess was IPM because they can be cheaper to build for high speed designs and I know hobby BLDCs can spin at 10s of thousands of rpm. Perhaps someone with more hobbyist know-how can chime in.
For this application (robotics) I think the other typical problems with high freq injection are negligible. For example you need a well-defined switching frequency that stays out of the way of your high frequency carrier. Many inverters pull back on switching frequency at high loads in order to lower switching losses, but if you lower the switching frequency too much you won't have enough voltage bandwidth to synthesize the high frequency carrier required for the self-sensing algorithm. I don't think this would be a big deal for robotics applications.
In regeneration the motor is actively slowing down the speed (creating negative torque) by pushing energy into the battery. This is achieved in software by regulating a "negative" current, which causes the inverter to produce a voltage that is lower on average than the back EMF generated by the motor. Because the motor is effectively at a higher voltage than the inverter in this condition, current will flow from high voltage to low voltage and therefore flows back through the MOSFETs (and MOSFET body diodes) into the battery.
This is a bit of an over-simplification as brushless DC motors are actually excited by an AC waveform so the current is constantly reversing each half cycle, but the principle remains the same.
1) It looks like you are using field oriented control. This is used 99% of the time in industry, but if you really want high torque bandwidth you should check out alternate control techniques. My favorite is an up-and-coming algo developed at UW-Madison called Deadbeat Direct Torque and Flux Control (DB-DTFC when searching for papers). It uses an inverse motor model paired with rotor/stator flux estimators to produce a deadbeat (one timestep later) torque and flux response. I have heard apocryphal stories of people who implement DB-DTFC accidentally snapping motor shafts when they forget to limit the torque slew rate. It is a very high performance algorithm, and beats FOC and DTC hands down at the cost of a bit more complexity.
2) If you are sticking with FOC for now, you can make a few quick improvements that will help a lot. First add qd-axis decoupling on you current loop commands (may have missed them, but I didn't see them in your code). You will want reference frame speed ("omega") decoupling multiplied by current and the transient inductance of the machine, which undoes a lot of the cross coupling that causes issues at high speeds or fast changes in torque. Flux decoupling will help with integrator wind-up, and stator resistance decoupling also helps lessen integrator wind-up at low speeds.
3) Have you considered implementing a sensorless algorithm? It can be done with both FOC or DB-DTFC, although there are some constraints on changing your switching frequency on the fly. If you have a fixed switching frequency a common technique is to superimpose a high frequency carrier on top of your voltage commands and then demodulate the high frequency response in the currents. Since a BLDC has salient poles on the rotor, this technique lets you estimate speed even down to zero! Then you wouldn't need encoder/resolver feedback which would be especially nice for robotics projects.
4) If you really want to get all of the current out of those FETs check out discontinuous PWM strategies. This are especially helpful at low speeds when your applied voltage is low, and can lower your switching losses enough to give you an extra ~40% current rating.
Great work overall. The hardware looks really clean and well designed, and it is easy to tell you put a lot of thought and effort into the site and this project.
I also really enjoyed the commentary on solipsism in the context of transhumanism via the 'Peer' character.
Although part 2 doesn't explicitly explain why the universe of PC has the "complexity momentum" property, it does suggest the universe with the lowest Kolmogorov complexity is preferred (via some undescribed physical law). That is why the "ant's" universe wins; it's relative complexity is simpler than the world which Paul had created. I agree that it could have been fleshed out more fully.
"Imagine you are Siri Keeton..."
Can't wait for the 3rd book (Omniscience I think?) to come out.
Permutation City is one of my favorites. When you say "slow and boring", I say "subtle build" to the final realization of what Paul has done and how his realization has proved the "dust" theory.
Really like Schild's Ladder too, and Distress is pretty good but not my favorite.
I agree with you on Orthogonal for the most part. Although I was very disappointed in the ending - it seemed too abrupt and predictable given the rest of the story.
Personally I would love to see both outcomes. But given a limited budget, going to Mars has the advantage of providing a (admittedly risky and uncertain) possibility of extending the survival of the human race, where as going back to the moon seems to provide more indirect benefits.
Then again one of my favorites hard SF authors is Greg Egan, and I've heard many times that people find his work dull (which blows my mind - Egan writes some of the most thought provoking, interesting SF by FAR).
Link: https://www.reddit.com/r/Physics/comments/5ewj86/so_nasas_em...
For EV applications one of the cool things about induction machines is that they can actually achieve higher efficiency at high speeds than a PM machine. This is because at high speeds the spinning magnets in a PM machine induce losses (so called eddy-current and hysteresis losses) which are difficult to suppress. In an induction machine you are controlling the field directly so it can be weakened at higher speeds with a control loop to directly optimize the losses vs. torque production. This means that there is a trade-off speed at which an induction machine becomes more efficient than a comparable PM machine.
To mitigate this issue in PMs some vehicle manufacturers have tried to do cool tricks like partially demagnetizing the magnets at high speeds to reduce losses, but this is very difficult to do without damaging the magnets permanently.
Motor size is approximately proportional to torque, not power, so you can imagine a small, low torque induction machine that is fast and will have better efficiencies than a corresponding PM machine. In stop and go traffic or low speed travel the PM machine typically has better efficiencies.
Personally I hope in the long run we end up with induction machines in our electric cars. 1) No safety issues with spinning magnets at high speed during an inverter failure, 2) no reliance on rare-earth materials, 3) the control of induction machines is very cool in its complexity and gives an additional degree of freedom on field flux that is only partially controllable in PM machines, and 4) induction machines have longer lifetimes as there is practically nothing to wear out aside from the bearings.