Non clocked (e.g. free running, self oscillating) class d

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Let me start this topic with a discussion of two from the many possible modulation schemes for non clocked class d amplifiers. For both schemes the power topology will be assumed to be a standard totem pole switching stage feeding a single output inductor. Linear feedback of current from this output inductor can be used to drive the power stage into oscillations, either by the application of hysteresis, sufficient phase shift, or a combination of the two. Thus, these common types of feedback driven, self oscillating class d amplifiers are really just high power variations of standard phase shift or hysteresis signal oscillators.

Hysteresis control alone suffers a troublesome reduction in oscillation frequency as the amplifier is driven into deep saturation (stopping altogether if the amp is railed). This is not so much a problem for the phase shift technique. Also, with hysteresis control, the period of oscillation varies inversely with rail voltage (since output inductor current slews faster when driven with higher voltage).

These effects can be mitigated by making the hysteresis band a function of rail and output voltages and by filtering the current feedback signal. This latter step not only increases noise immunity when the hysteresis band is squashed at high output levels, but it also introduces phase shift into the negative feedback path. In fact, if the current signal is routed through two or more low pass sections of sufficient size, the mode of oscillation will become phase shift dominated. This happens when the phase shift around the feedback loop reaches 360 degrees at a frequency lower than the natural hysteresis frequency (a phase shift oscillator requires exactly 360 degrees of phase shift around its feedback loop).

Starting around the loop from the high level switched output from the power stage, it is then immediately low pass filtered by the output inductor (yields 90 degrees of phase shift in current). If this were directly fed back to the error amplifier there would only be an additional 180 degrees phase shift (from negative feedback) - not nearly sufficient to cause natural oscillations.

When there is little or no audio modulation, power stage duty cycle remains near 50 percent so that the comparator / modulator provides no phase shift input-to-output and, in a phase shift oscillator, the additional 90 degrees of phase shift required for oscillation by the Nyquist criterion typically comes from two additional high frequency poles in the feedback path (often placed as error amp compensation and as the comparator noise filter). The placement of these high frequency poles controls the frequency shift characteristics of the phase shift type amplifier, with the simplest case being two coincident high frequency poles placed at the intended nominal switching frequency. With this type of oscillator, loop gain, through the mechanism of power stage saturation, is automatically ensured to be exactly unity at the point of 360 degrees phase shift.

When the phase shift class d amplifier is driven to very near saturation (greater than 90 percent duty cycle), the modulation process produces close to 90 degrees of phase shift on its own due to the sawtooth shape of the carrier that appears at the comparator’s input (duty cycle is now a pulse rather than a square wave), so that 360 degrees total phase shift occurs at a 3 to 4 times lower frequency without much contribution from the two additional high frequency poles.

A free running class d amplifier's phase shift oscillator / modulation scheme allows loop gain for audio signals to come within a factor of two or three of the theoretical maximum possible bandwidth of one half the carrier frequency (which varies from the switching frequency at saturation to double the switching frequency at zero output). This is a Good Thing. High inner loop gain cascaded with outer loop gain really drives down unavoidable, open loop deadtime and switch on voltage distortion effects and makes for an inherently very high rejection of power supply noise.

Hopefully this exposition was clear enough to convey my thoughts on how the typical non clocked class d amplifier oscillates and how it leads, not only to a very simple circuit, but a very high performing one as well. In addition to further thoughts on this subject, I am interested in learning about any other variable frequency class d amplifier schemes that are out there.

Thanks for your time and your comments. -- analog(spiceman)
 
Hi,

only problem with your modulation scheme is that we need voltage generator to drive loudspeakers, not a current one. You inevitably need outer feedback loop to compensate for varynig loudspeaker impedance and filter capacitor current that becomes significant part of totem pole output current at higher audio frequencies. On the other hand, if one directly integrates totem pole voltage instead of difference between supply voltage and output voltage (as you do with output inductor), then we have all three known self oscillating voltage output topologies:
-hysteretic oscillator
-phase shift oscillator with feedback from rc filtered totem pole output voltage (COM patented by B&O)
-phase shift oscillator with feedback from output LC filter (UcD patented by Philips)

I am sure that someone with better insight will post a better comment.

Best regards,

Jaka Racman
 
Jaka Racman said:
Hi, only problem with your modulation scheme is that we need voltage generator to drive loudspeakers, not a current one. You inevitably need outer feedback loop to compensate for varying loudspeaker impedance and filter capacitor current that becomes significant part of totem pole output current at higher audio frequencies.
Yes, of course the amp's final output characteristic should be a low impedance voltage source, but it is best to start locally with a controlled current source to linearize the inductor, then leapfrog one's way to the desired voltage source output characteristic. :)
On the other hand, if one directly integrates totem pole voltage instead of difference between supply voltage and output voltage (as you do with output inductor), then we have all three known self oscillating voltage output topologies:
-hysteretic oscillator
-phase shift oscillator with feedback from rc filtered totem pole output voltage (COM patented by B&O)
-phase shift oscillator with feedback from output LC filter (UcD patented by Philips)
IMO maximum potential fidelity is best reached by feeding back the state variables from the actual plant (the output recovery filter) rather than an approximation of them (such as derived from an RC network). That way there can be no troublesome build up of difficult-to-clear errors signals on the compensation components when they keep blindly integrating past the point when the output filter components have saturated or railed.

I also think that patent issues may be circumvented by using a hysteresis scheme with "heavy filtering" such that the result really becomes a hysteresis / phase shift combo modulator. The bulk of audio class d patents drive me crazy because most of their ideas are borrowed from or at least follow after well documented techniques from the switched mode power supply and motor control fields. Oh well, call it an audio circuit and suddenly you are a genius. :eek:
 
analogspiceman said:

Yes, of course the amp's final output characteristic should be a low impedance voltage source, but it is best to start locally with a controlled current source to linearize the inductor, then leapfrog one's way to the desired voltage source output characteristic. :)
As pointed out earlier, the thought process used to obtain a given feedback function is a separate issue from the actual realisation. Direct attack by mathematics produces the same outcome. While in its basic state the "leap frog" method implies the use of current feedback, it can be readily transformed into a circuit employing only voltage feedback and having exactly the same loop characteristics.
analogspiceman said:

IMO maximum potential fidelity is best reached by feeding back the state variables from the actual plant (the output recovery filter) rather than an approximation of them (such as derived from an RC network). That way there can be no troublesome build up of difficult-to-clear errors signals on the compensation components when they keep blindly integrating past the point when the output filter components have saturated or railed.
You are correct to point out this is an opinion.
There is no practical reason why a class D amplifier should be equipped with an output filter of order exceeding 2. To use only the output filter to hold the state variables limits the available loop order to 2. Higher orders of integration would by necessity require a higher order output filter. If anything, small-signal integrators are cheaper than power inductors.
Furthermore, the use of linear integrators (as opposed to saturatable ones like coils) will help reduce distortion from the coils whereas the coils themselves, used as integrators, will be ineffective at cancelling their own distortion!
analogspiceman said:

I also think that patent issues may be circumvented by using a hysteresis scheme with "heavy filtering" such that the result really becomes a hysteresis / phase shift combo modulator.
I know for certain that the UcD patent states the use of a comparator "substantially free from hysteresis", which means that applying hysteresis and modifying the feedback circuit in order to nullify the negative effects of this would not suffice to get from under the cover of the patent.
analogspiceman said:
Oh well, call it an audio circuit and suddenly you are a genius. :eek:
This is symptomatic of audio in general. Your clear expose on a useful method of constructing a control loop is likely to buy you instant guru status. Try and convince me you wouldn't enjoy that :D

Cheers,

Bruno
 
Hi Bruno,

I do not know how familiar are you with currernt mode control which has been workhorse of SMPS industry for the last 20years. In comparison with SG3524 modulator it provided two advantages: reduction of one pole in transfer function and free pulse by pulse current limiting. Phase shift modulation would stand no chance there because nobody would buy power supply with 400mV ripple at the output. So I understand Analogspiceman's motives when he proposed his scheme. His original proposal would certainly not fall under UcD patent. If any, then original Bose patent for current mode control would be in place, but I think it has already expired. Also I think that "substantially free of hysteresis" is there because of certain T... patent ;).

Analogspiceman, I agree with you that current mode control is the best way to deal with multipole output filters. But Bruno had already explained why more than second order is not necessary, and you can always use multiphase ripple cancelation technique with second order filter. The only advantage of current mode control in class D amplifier I see is inherent current limit protection.

Best regards,

Jaka Racman
 
Jaka Racman said:
I do not know how familiar are you with currernt mode control which has been workhorse of SMPS industry for the last 20years.
Rather well :)

Current mode control of class D output filters has also been described by Karsten Nielsen but he stopped at 2nd order, probably because that was where the output filter stopped.

For a class D amp, it's much more efficient to perform current mode control on the output cap instead of the coil. Controlling cap current has all the advantages of controlling coil current except that the loop does not heed or control actual output current (thus maintaining a low output impedance inherently).
Because of that, controlling capacitor current will result in vastly lower output impedance than can ever be achieved through traditional inductor current mode control.
The reasoning extends to higher order filters. At each tap in the filter, you attach a PD (R + C parallel) control takeoff which are summed to form the control signal. Presto: same loop gain around the switching power stage, lower output impedance.

Yes, I am saying this is a better method than leapfrog.
 
Re: Re: Non clocked (e.g. free running, self oscillating) class d

analogspiceman said:
Also, with hysteresis control, the period of oscillation varies inversely with rail voltage (since output inductor current slews faster when driven with higher voltage).
Bruno Putzeys said:
Hysteresis feedback is therefore taken from the output stage itself, not from a fixed-voltage internal node.
Yes, and as I noted, "These effects can be mitigated by making the hysteresis band a function of rail and output voltages", but a further practicality is worth noting as well. Since the output voltage switches with some small delay with respect to the comparator input to which hysteresis is being applied, in order to avoid possible chattering at the comparator's output, supplement the delayed feedback with a nominally equal amount of capacitively coupled hysteresis taken locally, directly from the comparator's output. Its time constant should be set to maintain a constant amount of total hysteresis before, during and after the transition over to the hysteresis from the main output.

This tip brought to you by the school of hard knocks. :D -- analog(spiceman)
 
Re: Re: Re: Non clocked (e.g. free running, self oscillating) class d

analogspiceman said:


Yes, and as I noted, "These effects can be mitigated by making the hysteresis band a function of rail and output voltages", but a further practicality is worth noting as well. Since the output voltage switches with some small delay with respect to the comparator input to which hysteresis is being applied, in order to avoid possible chattering at the comparator's output, supplement the delayed feedback with a nominally equal amount of capacitively coupled hysteresis taken locally, directly from the comparator's output. Its time constant should be set to maintain a constant amount of total hysteresis before, during and after the transition over to the hysteresis from the main output.
Never had this problem. I'm afraid the quality of my board layouts is getting in the way of me getting hard knock education:bawling:
 
Jaka Racman said:
[...] So I understand Analogspiceman's motives when he proposed his scheme. His original proposal would certainly not fall under UcD patent. If any, then original Bose patent for current mode control would be in place, but I think it has already expired. Also I think that "substantially free of hysteresis" is there because of certain T... patent ;).
[RANT] Coming, as I do, from the SMPS side of things, the audio patent examiners never cease to amaze me with the extremely low opinion of what they hold as obvious to one skilled in the art of audio engineering. A few people believe in toob amps direct coupled to 4 ohm loads or buy into speaker cables made from oxygen free virgin copper conductors big enough to weld with and they seem to think we are all idiots.

I know audio is just waking up to an alarm that went off more than twenty years ago for power supplies and dc motor control. There, techniques such as current mode control, self oscillation, phase staggered paralleled output stages, linear-switcher combos are old hat. Don't the patent guys pay attention to related fields? Or is their attention more relating to supplementing their patent pay? [/RANT]

For these reasons, several years ago I decided to put leapfrog and whatever else I've come up with into the public domain via the internet in forums such as this one and various engineering newgroups.

Jaka Racman said:
Analogspiceman, I agree with you that current mode control is the best way to deal with multipole output filters. But Bruno had already explained why more than second order is not necessary, and you can always use multiphase ripple cancellation technique with second order filter.
Although many, perhaps most, applications are tolerant enough of output ripple to allow the use of just one L/C filter section, when bandwidth and EMI suppression must both be maximized, it is probably unwise not to consider multiple section and a high order feedback scheme. In such cases, how could the efficacy of the same amount of L and C spread out over two sections not provide more effective filtering?

Jaka Racman said:
The only advantage of current mode control in class D amplifier I see is inherent current limit protection.
Although certainly not necessary in all cases, many designs may be required to operate continuously into a short circuit or may need to have a well controlled time (and/or temperature) dependent current limit in order to get the maximum possible power from a given set of output devices with limited heatsinking. Also, just as with parallel operated or multiphase power supplies, current mode control ensures automatic current sharing without further circuitry when multiple output stages are tied together. This can be a big problem when voltage mode controlled stages are tied together.

Regards -- analog(spiceman)
 
Bruno Putzeys said:
For a class D amp, it's much more efficient to perform current mode control on the output cap instead of the coil.
(...)
Yes, I am saying this is a better method than leapfrog.
I just realised that the LF schematics show current sense points before and after the caps, which means that capacitor current is sensed as well.
This means as much as that cap current control methods (Mueta, UcD) can be mapped onto the LF topology.
I was a bit too quick there.
 
Listening Tests

Unfortunately I had to go on a service call to Portugal for my employer so my listening tests were cut short. Got to see some really great architecture though. Charles De Gaulle Airport makes LAX look like something from the 50s designed by a not very imaginative engineer.

All I have ben able to do is a direct comparison to my Leach amplifier, which I built some years ago. However, the two are essentially the same power and I found that the UcD180, while different in a few subtle ways was every bit as good as the Leach Class AB amplifier and in some ways is superior. Even where the UcD was different than the Leach I have to say it was merely different and not inferior.

My preliminary opinion is that this is an amplifier worthy of inclusion in the category of "good amplifier" from someone for whom a Leach amplifier is a decent mid range amplifier. And in measurement, I find it the sonic equal of the ICE 250A.
 
Re: Listening Tests

dmfraser said:
Unfortunately I had to go on a service call to Portugal for my employer so my listening tests were cut short. Got to see some really great architecture though. Charles De Gaulle Airport makes LAX look like something from the 50s designed by a not very imaginative engineer.

All I have ben able to do is a direct comparison to my Leach amplifier, which I built some years ago. However, the two are essentially the same power and I found that the UcD180, while different in a few subtle ways was every bit as good as the Leach Class AB amplifier and in some ways is superior. Even where the UcD was different than the Leach I have to say it was merely different and not inferior.

My preliminary opinion is that this is an amplifier worthy of inclusion in the category of "good amplifier" from someone for whom a Leach amplifier is a decent mid range amplifier. And in measurement, I find it the sonic equal of the ICE 250A.


Then the leach amp must be a very good amp (better than my Accuphase) since no doubt, in my setup the UcD180 clearly outperforms my Accuphase (E407). It maybe that things like power supply and cabling have a significant influence, I did not check that, I used quite expensive ELNA Cerafines in the power supply for the UcD180 and I used very short wires from ELNA caps to the UcD180 (few cm). Maybe Bruno can comment on the influence of the power supply caps on the sound quality?

Best regards

Gertjan
 
I dont understand how a capacitor can offer anything more than a parallel capacitance, resistance, inductance/ impedance circuit? A storage device with a time constant which charges, discharges continuously.
Not my question but it is a good idea to use low ESR caps, rubycon offer some excellent options with ultra low impedance, also using smaller values in parallel will reduce this ESR factor.
 
Dibley said:
I dont understand how a capacitor can offer anything more than a parallel capacitance, resistance, inductance/ impedance circuit? A storage device with a time constant which charges, discharges continuously.
Not my question but it is a good idea to use low ESR caps, rubycon offer some excellent options with ultra low impedance, also using smaller values in parallel will reduce this ESR factor.
I've yet to hear a low esr cap sound good. Especially the rubicons you're suggesting make for a crappy sound.
Part of the problem is that their ESR is so low that their ESL gets to have an excessive Q, which shows up when other capacitors are placed in parallel.
Another part is that in "optimised esr caps" half of the esr is electrolytic, the other half is winding resistance. This produces a second, short time constant which is more than you signed up for.
Both effects are very easy to see on an oscilloscope when applying a pulsed signal to the cap in circuit.
You don't need to turn on your "golden ears", although it often helps to do so. It provides the necessary incentive to go looking for problems which otherwise would have gone unnoticed.
 
Hello Bruno, thanks for the interesting reply. Do you mean to say that the tuned RCL circuit gets to have an excessive Q? Isn't this Q in the region required for switching around 500KHz to 1MHz where we will require instant
discharge of current (allied to DC for half( 95-5% cycle) and ultimately low resistance?
I will do some bench tests as I have a range of Low ESR caps and some ELNA 10000uF caps and take some measurements on a digital scope discharging them into 2 ohm/0ohm loads just for curiosity. It will be good to see the step in the LESR caps and the lack of step in the regular caps - perhaps they will both have a step ; - ).
 
A classic situation is a 1000uF cap with a 100nF cap in parallel. If you feed this combo a square wave current, the ringing will be fairly obvious.

Even with normal-esr electrolytics the effect is already marked, a problem I solve by adding a smaller electrolytic across the two. The esr of the smaller cap will serve to absorb the ringing (damp the lc circuit).

You'd only use low esr caps when there is no other way round a maximum ripple current problem (ie when lesser types blow up due to internal overheating) and when space is a serious concern.
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.