Category: Blog

AQ: Paralleling IGBT modules

I’m not sure why the IGBTs would share the current since they’re paralleled, unless external circuitry (series inductance, resistance, gate resistors) forces them to do so?

I would be pretty leery of paralleling these modules. As far as the PN diodes go, reverse recovery currents in PN diodes (especially if they are hard switched to a reverse voltage) are usually not limited by their internal semiconductor operation until they reach “soft recovery” (the point where the reverse current decays). They are usually limited by external circuitry (resistance, inductance, IGBT gate resistance). A perfect example: the traditional diode reverse recovery measurement test externally limits the reversing current to a linear falling ramp by using a series inductance. If you could reverse the voltage across the diode in a nanosecond, you would see an enormous reverse current spike.

Even though diode dopings are pretty well controlled these days, carrier lifetimes are not necessarily. Since one diode might “turn off” (go into a soft reverse current decreasing ramp, where the diode actually DOES limit its own current) before the other, you may end up with all the current going through one diode for a least a little while (the motor will look like an inductor, for all intents and purposes, during the diode turn-off). Probably better to control the max diode current externally for each driver.

Paralleling IGBT modules where the IGBT but not the diode has a PTC is commonly done at higher powers. I personally have never done more than 3 x 600A modules in parallel but if you look at things like high power wind then things get very “interesting”. It is all a matter of analysis, good thermal coupling, symmetrical layout and current de-rating. Once you get too many modules in parallel then the de-rating gets out of hand without some kind of passive or active element to ensure current sharing. Then you know it is time to switch to a higher current module or a higher voltage lower current for the same power. The relative proportion of switching losses vs conduction losses also has a big part to play.

AQ: Is it worth to built-in batteries in electric cars

Energy storage is the issue. Can we make batteries or super caps or some other energy storage technique that will allow an electric car to have a range of 300-500 miles. Motors and drives are already very efficient, so there is not much to be gained by improving their efficiency. As far as converting the entire fleet of cars to electric, I don’t expect to see this happen any time soon. The USA has more oil than all the rest of the world put together. We probably have enough to last 1000 years. Gasoline and diesel engines work very well for automobiles and trucks and locomotives. The USA also has a huge supply of coal, which is a lot cheaper than oil. Electricity is cheaper than gasoline for two reasons: Coal is much cheaper than oil, and the coal fired power plants have an efficiency of about 50%. Gasoline engines in cars have a thermal efficiency of about 17%. Diesel locomotives have an efficiency of 50%+.

I don’t believe the interchangeable battery pack idea is workable. Who is going to own the battery packs and build the charging stations? And what happens if you get to a charging station with a nearly dead battery and there is no charged battery available?

Who is going to build the charging stations; the most logical answer is the refueling station owners as an added service. The more important question is about ownership of the batteries. If as an standard, all batteries are of same size, shape, connectors as well as Amp-Hour (or kWh) rating and a finite life time, lets say 1000 recharging. The standard batteries may have an embedded recharge counter. The electric car owners should pay the service charges plus cost of the kWh energy plus 1/1000 of the battery cost. By that, you pay for the cost of new batteries once you buy or convert to an electric car and then you pay the depreciation cost. This means you always own a new battery. The best probable owner of the batteries should be the battery suppliers or a group or union of them (like health insurance union). The charging stations collecting the depreciation cost should pass it on to the battery suppliers union. Every time a charging station get a dead battery or having its recharge counter full, they will return it to the union and get it replaced with a new one. So, as an owner of electric car you don’t need to worry about how old or new replacement battery you are getting from the charging station. You will always get a fully charged battery in exchange. The charging stations get their energy cost plus their service charges and the battery suppliers get the price of their new battery supplies.

Buddies, these are just some wild ideas and I am sure someone will come up with a better and more workable idea. And we will see most of the cars on our roads without any carbon emission.

AQ: Power supply prototypes is the best way to learn it

I have been designing power supplies for over 15 years now. We do mostly off line custom designs ranging from 50 to 500W. Often used in demanding environments such as offshore and shipping.
I think we are the lucky ones who got the chance to learn designing power supplies using the simple topologies like a flyback or a forward converter. If we wanted to make something fancy we used a push-pull or a half bridge.

Nowadays, straight out of school you get to work on a resonant converter, working with variable frequency control. Frequencies are driven up above 250kHz to make it fit in a matchbox, still delivering 100W or more. PCB layouts get almost impossible to make if you also have to think about costs and manufacturability.
Now the digital controllers are coming into fashion. These software designers know very little about power electronics and think they can solve every problem with a few lines of code.

But I still think the best way to learn is to start at the basics and do some through testing on the prototypes you make. In my department we have a standard test program to check if the prototype functions according to the specifications (Design Verification Tests), but also if all parts are used within their specifications (Engineering Verification Tests). These tests are done at the limits of input voltage range and output power. And be aware that the limit of the output power is not just maximum load, but also overload, short circuit and zero load! Start-up and stability are tested at low temperature and high temperature.

With today’s controllers the datasheets seem to get ever more limited in information, and the support you get from the FAE’s is often very disappointing. Sometime ago I even had one in the lab who sat next to me for half a day to solve a mysterious blow up of a high side driver. At the end of the day he thanked me, saying he had learned a lot!
Not the result I was hoping for.

AQ: Conditional stability

Conditional stability, I like to think about it this way:

The ultimate test of stability is knowing whether the poles of the closed loop system are in the LHP. If so, it is stable.

We get at the poles of the system by looking at the characteristic equation, 1+T(s). Unfortunately, we don’t have the math available (except in classroom exercises) we have an empirical system that may or may not be reduced to a mathematical model. For power supplies, even if they can be reduced to a model, it is approximate and just about always has significant deviations from the hardware. That is why measurements persist in this industry.

Nyquist came up with a criterion for making sure that the poles are in the LHP by drawing his diagram. When you plot the vector diagram of T(s) is must not encircle the -1 point.

Bode realized that the Nyquist diagram was not good for high gain since it plotted a linear scale of the magnitude, so he came up with his Bode plot which is what everyone uses. The Bode criteria only says that the phase must be above -180 degrees when it crosses over 0 dB. There is nothing that says it can’t do that before 0 dB.

If you draw the Nyquist diagram of a conditionally stable system, you’ll see it doesn’t surround the -1 point.

If you like, I can put some figures together. Or maybe a video would be a good topic.

All this is great of course, but it’s still puzzling to think of how a sine wave can chase itself around the loop, get amplified and inverted, phase shifted another 180 degrees, and not be unstable!

Having said all this about Nyquist, it is not something I plot in the lab. I just use it as an educational tool. In the lab, in courses, or consulting for clients, the Bode plot of gain and phase is what we use.

AQ: Remote diagnostic

Remote diagnostic is a must now a days. All CNC machines must be able to undergo remote access to undergo diagnostic and it must be two way. The problem mostly with remote diagnostic is it has to be two way and you have to have a qualified technician or an operator who is well verse with machine operations and its features, always on your machine he must be trained on how to be able to recover from lost of communication and the most important is to be able to engage E-stop when needed. The remote operator is a trained technician as well and knows a procedures and protocols that will help prevent accidents that can harm both man and machine. Mostly remote access is good for updates and upgrades, training and assistance needed. We offer the first year as free to make sure we can get the customer up an about during the learning curve on how to familiarize with control functions. We also need a land line or cell phone to be able to have a voice interchange. We use Webex for remote and another pc laptop or desktop as a dedicated bridge with controls that run with older versions of Windows such as windows XP. The dedicated PC is primarily secured as level four security compliance and must be turned off when remote diagnostic is needed. You can add assign a dedicated that is level four compliant as part of the control you will have two computers one on standby for remote diagnostic primiraly use for remote diagnostic, another for CNC function.

In regards to data collection new CNC’s are monitoring activities such as error messages that are categorized in different areas. This can be with the communication between PLC’s, CNC and station cards, lost of communication or timing problems errors common with the system, CNC errors due to plc warnings and prompts, operator prompts to name a few. Mostly this is error messages have a day and time stamp so it can easily be cyphered if the condition of errors are intermittent or consistent. We can all set up the option of recording what nc programs are run and how long it took to complete a job. It can also be set to count the number of hours the tools is used. Since this is a text format you design a spread sheet that can put them in named cells. The extent of data is a chosen through the logging option and in our case is stored in the Logging directory. It helps with monitoring intermitent problems and monitor if this is a NC program error, System error, human error, machine problem etc. It is a must now a days for ease of data gathering for management and troubleshooting.

AQ: Caution is the key to success in power converters

I work across the scale of power electronics in voltages and currents. From switchers of 1W for powering ICs to 3kW telco power supplies up to multi-megawatt power converters for reactive power control in AC transmission networks and into power converters for high voltage transmission.

There is a difference in how you can work on these different scale converters. This difference is down to how much the prototype you are destroying costs, how long it takes to rebuild it and how easily it will kill you. When you spend more than 2 million on the prototype parts then you do not ever blow it up. If the high voltage on your converter is 15kV or more then there is no way to probe it with an oscilloscope directly and no possibility to be anywhere near that voltage without being hurt. So the level of care at these bigger power levels is higher and the consequence of a mistake is so high that the process needs to be much more detailed and controlled mostly for safety’s sake. We find that our big power converter processes really help when working on smaller converters. The processes include sign offs for safety, designed and prescribed safety and earthing systems for each converter, no scope probes put on and off live parts and working in pairs at all times with agreed planned actions. Pair working is one thing that may save you in the event of an electric shock. These processes seem very slow and cumbersome to engineers who work on low voltage (<1000V) but they are very useful even at low voltage.

Having said all that, experienced cautious engineers prevent converter blow ups. Add just a little bit of process and success can go up significantly. I think that an analysis of Dr Ridley’s failure list will point to actions that will improve success.

As my boss at one of those really large converter companies used to say “Stamp out converter fires”.

AQ: Switching frequency selection

Switching frequency selection is actually a tradeoff, and follows the below guidelines:

  1. Lower frequency (Eg 30kHz) means bulkier magnetics and capacitors; Higher frequency (Eg 1Mhz)) means smaller parts, hence more compact PSU.
  2. Stay away from exact 150kHz as this is the low end of any EMI compliance; So, if your frequency happens to be exactly 150kHz, then your PSU will be a strong emitter; For many commercial low cost PSUs, 100 KHz has been used for many years, which is why many inductors and capacitors are specified at 100kHz.
  3. Higher frequency >/= 1MHz converters provide for better transient response. Obviously, the control IC should be capable of supporting. There are plenty of resonant converters available.
  4. Higher frequency results in higher switching losses; To control that, you will need faster switching FETs, Diodes, capacitors, magnetics and control ICs.
  5. Higher frequency MAY result in more broadband noise; its not always true, since noise can be controlled by good PCB layout and good magnetics designs.

Board power DC/DC converters are commonly built using 1MHz switchers.
Chassis power Telecom/Server PSUs seem to stay with 100-300KHz range.

Manufacturers are able to achieve exceptional density by virtue of High frequency resonant topologies, but they have to achieve high efficiencies too; Else, they will generate so much heat that they cannot meet UL/IEC safety requirements.
In some cases, they will leave the thermal problem to the user.  Usually, the first few paragraphs of any reference design discusses the tradeoffs.

AQ: How to get confidence while powering ON an SMPS prototype?

I never just put power to a first prototype and see what happens. Smoke and loud sounds are the most likely result and then you just know that something was not perfect. So how would you test the next prototype sample?

A good idea is to put supply voltage to your control circuit from an external supply first – often something like 12V. Check oscillator waveform, frequency, gate pulses etc. If possible, use another external power supply to put a voltage to your output. Increasing this voltage slowly, you should see the gate pulses go from max. to min. duty cycle when passing the desired output voltage. If this does not happen, check your feedback path, still without turning main power on.

If everything looks as expected, remove the external supply from the output but keep the control circuit powered from an external source. Then SLOWLY turn up the main input voltage while using your oscilloscope to monitor the voltage waveforms in the power circuit and a DC voltmeter to monitor output voltage etc. Keep an eye on the ampere-meter on the main power source. If something suspicious occurs, stop increasing input further and investigate what’s happening while the circuit is still alive.

With a low load you should normally expect the output voltage to hit the desired value soon, at least in a flyback converter. Check that this happens. Then check what happens with a variable load – preferably electronic.

If you did not calculate your feedback loop, very likely you will see self oscillation (normally not destructive). If you don’t, use the step load function in your electronic load to check stability. If you see a clear ringing after a load step, you still have some work to do in your loop. But feedback and stability is another huge area which Mr. Ridley has taught us a lot about.

And yes – the world needs powerful POWER ENGINEERS desperately!

AQ: Hysteretic controller

We can see that the hysteretic controller is a special case of other control techniques. For example, “sliding mode control” usually uses two state variables to determine one switching variable (switch ON or OFF). So the hysteretic controller is a special case of “1-dimensional” sliding mode. In general, there are many techniques under the name of “geometric control” that can be used to prove the stability of a general N-state system under a given switching rule. So I believe that you can apply some of these techniques to prove the stability of the hysteretic controller, although I have not tried to do this myself. The book “elements of power electronics” by Krein discusses that in chapter 17.

But I can talk more about one technique that I have used and in my opinion is the most general and elegant technique for non-linear systems. It is based on Lyapunov stability theory. You can use this technique to determine a switching rule to a general circuit with an arbitrary number of switches and state variables. It can be applied to the simple case of the hysteretic controller (i.e. 1 state variable, 1 switching variable) to verify if the system is stable and what are the conditions for stability. I have done this and verified that it is possible to prove the stability of hysteretic controllers, imposing very weak constraints (and, of course, no linearization needed). In a nutshell, to prove the system stable, you have to find a Lyapunov function for it.

What can expand is to go beyond a simple window comparator for hysteretic control.

#1) control bands, or switching limits can be variable and also part of a loop, especially if one wants to guarantee a nearly fixed frequency.

#2) using a latch or double latch after the comparator(s), one can define (remember) the state and define operations such as incorporating fixed Ton or Toff periods for additional time control… this permits the “voltage boost” scenario you previously said could not be done. This also prevents common “chaos” operation and noise susceptibility that others experience with simpler circuits.

#3) additional logic can assure multiphase topologies locked to a system clock and compete very well with typical POL buck regulators for high-end processors that require high di/dt response.

Time or state domain control systems such as this, can have great advantages over typical topologies. There really is no faster control method that provides a quicker load response without complete predictive processing, yet that can also be applied to hysteretic control.

AQ: Experience: Power Supply

My first big one: I had just joined a large corporation’s central R and D in Mumbai (my first job) and I was dying to prove to them that they were really very wise (for hiring me). I set up my first AC-DC power supply for the first few weeks. Then one afternoon I powered it up. After a few minutes as I stared intently at it, there was a thunderous explosion…I was almost knocked over backwards in my chair. When I came to my senses I discovered that the can of the large high-voltage bulk cap had just exploded (those days 1000uF/400V caps were real big)…the bare metal can had taken off like a projectile and hit me thump on the chest through my shirt (yet it was very red at that spot even till hours later). A shower of cellulose and some drippy stuff was all over my hair and face. Plus a small crowd of gawking engineers when I came to. Plus a terribly bruised ego in case you didn’t notice. Now this is not just a picturesque story. There is a reason why they now have safety vents in Aluminum Caps (on the underside too), and why they ask you never never to even accidentally apply reverse polarity, especially to a high-voltage Al cap. Keep in mind that an Al Elko is certainly damaged by reverse voltage or overvoltage, but the failure mechanism is simply excessive heat generation in both cases. Philips components, in older datasheets, used to actually specify that their Al Elkos could tolerate an overvoltage of 40% for maybe a second I think, with no long-term damage. And people often wonder why I only use 63V Al Elkos as the bulk cap in PoE applications (for the PD). They suggest 100V, and warn me about surges and so on. But I still think 63V is OK here, besides being cheap, and I tend to shun overdesign. In fact I think even ceramic caps can typically handle at least 40% overvoltage by design and test — and almost forever with no long term effects. Maybe wrong here though. Double check that please.

Another historic explosion I heard about after I had left an old power supply company. I deny any credit for this though. My old tech, I heard, in my absence, was trying to document the stresses in the 800W power supply which I had built and left behind. The front-end was a PFC with four or five paralleled PFC FETs. I had carefully put in ballasting resistors in the source and gates of each Fet separately, also diligently symmetrical PCB traces from lower node of each sense resistor to ground (two sided PCB, no ground plane). This was done to ensure no parasitic resonances and good dynamic current sharing too. There was a method to my madness it turns out. All that the tech did was, when asked to document the current in the PFC Fets, placed a small loop of wire in series with the source of one of these paralleled Fets. That started a spectacular fireworks display which I heard lasted over 30 seconds (what no fuse???), with each part of the power supply going up in flames almost sequentially in domino effect, with a small crowd staring in silence along with the completely startled but unscathed tech (lucky guy). After that he certainly never forgot this key lesson: never attempt to measure FET current by putting a current probe in its source— put it on the drain side. It was that simple. The same unit never exploded after that, just to complete the story.