Go Back   Home > Forums > Amplifiers > Chip Amps
Home Forums Articles Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Chip Amps Amplifiers based on integrated circuits

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools
Old 27th December 2009, 05:19 AM   #51
gootee is offline gootee  
diyAudio Member
 
gootee's Avatar
 
Join Date: Nov 2006
Blog Entries: 1
Quote:
Originally Posted by linuxguru View Post
I had put this on the back-burner for a few months, and then took another look at it over the last week. I added a lifted ground and tweaked the compensation schema for better stability, and the THD20 is even lower and mostly even-harmonic. It now looks good enough to build a prototype.

A few notes on the schematic below:

1) Vi and Ii are injection sources using the Tien-Vishwanathan method for the open-loop gain simulation plots only. In the real circuit, Vi is a short and Ii is open.

2) R6 is required for the simulation to converge quickly - it's the equivalent of a base-stopper in discrete topologies.

3) The outer-loop gain and compensation is set by R8, R9 and C7.

4) The inner-loop gain and compensation is set by R4, R5 and C6. C6 is not very critical - any value above 22pF seems to work fine, with increasing stability (as well as THD) as C6 is increased. The 33pF value shown is a good compromise; higher values like 47 pF or 68 pF can be attempted on the first prototype for improved stability.

5) THD20 simulates at ~ -130 dB at 20W into 8 ohms, with a unity-gain phase margin of ~85 degrees.

6) No Boucherot/Zobel network is required.
Looks like very good work.

Have you tried simulating it driving any capacitive loads, just for fun? I played around with a lot of nested/composite amp simulations, a while back, but could only find models for some of the OPA5xx chipamps (e.g. OPA541E), at the time, unfortunately. By the way, for driving capacitive loads (with square waves, for example), it seemed that what was mainly needed was a lot of excess current-dumping capability, which I obtained, back then, by simply paralleling several of the chipamps.

Another interesting thing to try is using a spice model of a speaker, for the load, connected with a spice model for a speaker cable. I found some models for cables and speakers at Loudspeaker Cable Characteristic Impedance .

Eventually, I also added a power supply and star grounding to the simulations, and also modeled the resistances and inductances of the wires and PCB traces (particularly the ground returns), and the parasitics of the passive components.

P.S. If you would like an easy way to develop spice models for power transformers, from simple measurements, I have posted it here: Spice Component and Circuit Modeling and Simulation .

Last edited by gootee; 27th December 2009 at 05:30 AM.
  Reply With Quote
Old 27th December 2009, 03:29 PM   #52
diyAudio Member
 
Join Date: Sep 2007
Send a message via Yahoo to linuxguru
Thanks for all the comments.

@blueskynis: If the feedback network impedance is lowered, the input resistance to LGND also needs to be lowered to match it and null out the output offset voltage. About the lowest practical value of the feedback resistance here is about 10k. I tried it in the sim, and it made no significant difference to the sonics or stability, so no harm done.

However, lowering the feedback resistor uncovered a DC operating point latch-up issue - there's a small amount of hysteresis in the circuit due to the lifted ground. It didn't show up earlier with the 27k resistance, but kicked in at about 22k and saturated the output to ~ +/- Vsupply. I fixed it in the sim by adding back-to-back diodes between the inputs of the NE5532.

@gootee: I tried a small capacitive load in parallel with RL - the circuit remained stable up to about 220 nF, but became unstable at around 470 nF. I fixed it by adding some lead compensation around the LM1875 and modifying some of the earlier compensation networks. I also added an optional Boucherot cell to the output of the LM1875 - but the stability seems largely insensitive to its presence.

With these changes, it remains stable in small-signal conditions with a capacitive load of up to 2 uF in parallel with the 8 ohm load. However, at full output amplitude, the current limit kicks in on the LM1875 and the resulting output waveform is no longer sinusoidal at 20 kHz - it's distorted but still completely stable and free of any superimposed HF oscillations.

I'll try out the speaker, transmission line and transformer models in due course - thanks for the suggestion and the links.

Here is the modified simulation schematic with the compensation changes, loop gain plot with a resistive 8 ohm load, and loop gain plot with a reactive 8 ohm || 2 uF load. It's barely stable in the latter case. The compensation changes also result in trading off about 10 dB of THD20, but it's still pretty good at -120 dB and the improved stability is worthwhile.

Edit: Paralleling several identical chipamps to increase the current-dumping capability is a simple and good idea, it just didn't occur to me. With the 0.22 ohm damping resistance at the output, there's no problem in summing the currents on the load side of the damping resistance.
Attached Images
File Type: jpg lm1875_ne5532_boucherot.jpg (120.2 KB, 280 views)
File Type: jpg lm1875_ne5532_loopgain.jpg (168.0 KB, 270 views)
File Type: jpg lm1875_ne5532_2uf_loopgain.jpg (167.7 KB, 220 views)

Last edited by linuxguru; 27th December 2009 at 03:46 PM. Reason: addendum
  Reply With Quote
Old 28th December 2009, 03:31 AM   #53
gootee is offline gootee  
diyAudio Member
 
gootee's Avatar
 
Join Date: Nov 2006
Blog Entries: 1
P.S. If simulating with a square-wave input, it makes sense to band-limit the input, to set a defined maximum slew-rate for the edges of the square waves, unless you're just looking for potential high-frequency instabilities, or want to see what happens when you try to exceed the chipamp's maximum slew rate.

It is discussed, and the calculations needed are given, in the thread at the following link:

square wave testing and slew rate

For a final product, it also makes sense to add RF filtering at each amplifier's input (and output, and power supply connections). See Section 7 of Walt Jung's "Op Amp Applications Handbook", which is on line in its entirety, for free, at:

ADI - Analog Dialogue | Op Amp Applications Handbook

Cheers,

Tom

Last edited by gootee; 28th December 2009 at 03:37 AM.
  Reply With Quote
Old 29th December 2009, 03:14 PM   #54
diyAudio Member
 
Join Date: Sep 2007
Send a message via Yahoo to linuxguru
@gootee: Thanks for the links - I'll try out the square-wave and slew rate tests in due course.

Meanwhile, I managed to stabilize it further - the tweaked compensation in the schematic shown below allows it to drive a 10 uF || 8 ohm load stably. The output waveform stays sinusoidal up to about 200 mW output, after which the LM1875 goes into current-limiting and the waveform becomes more or less triangular. In any event, it does not show any HF instability, either before or after current limiting sets in.

The tradeoff? Another ~10 dB of THD20 has to be given away, taking it to about -110 dB - it's still worthwhile, IMHO.

Shown below is the modified simulation schematic including the 8R || 10 uF load, the loop gain plot with the 8R || 10 uF load, and the output waveform FFT plot at 200 mW into 8R || 10 uF.
Attached Images
File Type: jpg lm1875_ne5532_10uf.jpg (112.3 KB, 178 views)
File Type: jpg lm1875_ne5532_10uf_loopgain.jpg (158.3 KB, 166 views)
File Type: jpg lm1875_ne5532_200mw_fft.jpg (107.1 KB, 16 views)
  Reply With Quote
Old 30th December 2009, 04:11 AM   #55
gootee is offline gootee  
diyAudio Member
 
gootee's Avatar
 
Join Date: Nov 2006
Blog Entries: 1
Quote:
Originally Posted by linuxguru View Post
@gootee: Thanks for the links - I'll try out the square-wave and slew rate tests in due course.

Meanwhile, I managed to stabilize it further - the tweaked compensation in the schematic shown below allows it to drive a 10 uF || 8 ohm load stably. The output waveform stays sinusoidal up to about 200 mW output, after which the LM1875 goes into current-limiting and the waveform becomes more or less triangular. In any event, it does not show any HF instability, either before or after current limiting sets in.

The tradeoff? Another ~10 dB of THD20 has to be given away, taking it to about -110 dB - it's still worthwhile, IMHO.

Shown below is the modified simulation schematic including the 8R || 10 uF load, the loop gain plot with the 8R || 10 uF load, and the output waveform FFT plot at 200 mW into 8R || 10 uF.
Very nice!

Have you looked at it in the time domain, with a (slew-rate-limited) square wave? I bet that with some paralleled chipamps, it could do nice square waves into a significant amount of PURE capacitance (although you might also need a small inductor and parallel resistor before the output).
  Reply With Quote
Old 9th February 2010, 08:51 AM   #56
diyAudio Member
 
Join Date: Sep 2007
Send a message via Yahoo to linuxguru
Default Nested Howland gainclone

Here's the next iteration of the nested gainclone topology, this time with (sort of) paralleled chipamps at the output. After seeing the Inguz and the Mauro Penasa topologies, I went with the Howland Current Pump (improved version) at the output for several reasons:

1) Compensation is easier.

2) Great stability into capacitive loads - it's a current source at the output.

3) Both the non-inv and inv- inputs of the chipamp see signals that are similar in phase, so the character of the dominant pole in the chipamp isn't that critical. It's easier to substitute chipamps and expect it to work without trouble.

4) It's fairly easy to parallel chipamps at the output for increased drive capability - it only involves adding currents.

The attached schematic is fairly straightforward, with the possible exception of the compensation network between the op-amp and the chipamp. The inner chipamp (2 x LM1875) is a Howland Current Pump, with one master and one slave which simply supplies higher current drive capability. The outer feedback loop (R10, R3) is simply a Walt Jung-style voltage series feedback loop around the NE5532 outer opamp, which is itself set for a gain of ~(1 + 150/1) by R4 and R16.

C7 is part of a modified Deboo integrator for the Howland CP - in the textbook case, one end of C7 would have been grounded. However, it makes no difference to the Howland if that end is connected to a compensation network (in this case, R5, R8 and C6). This allows 3 loops to be compensated together, with just 4 passives:

1) C7 itself is a Deboo integrator (lag compensation for the chipamp).
2) C7-R5 lead-compensates the NE5532 (just incidental, and mostly unnecessary).
3) In addition, C7, R5, C6 and R8 also form a 2nd-order lead-compensation network for the outer feedback loop (note that the voltage at the non-inverting input of the chipamp is mostly a scaled version of the voltage at the output of the chipamp, and the phase information is still available after scaling).

(A simpler (1st-order) version of this compensation network is simply a series-connected resistor and capacitor between the non-inv input of U2 and the junction of R16-R10. It works fine, but the phase of the loop-gain plot gets a kink, which is easier to straighten out with the 2nd-order network shown).

At 22V output amplitude into 8R (about 30W), THD20 is about -106 dB, almost entirely even-harmonic. H3 is almost 38 dB below H2.

From the loop gain plot, The phase margin is about 100 degrees at unity loop-gain, and the phase of the loop-gain stays rather flat from 20 kHz to 300 kHz.

(The simulated results seem to indicate parity in all metrics with the Mauro Penasa MyRef Rev C, but arguably better distortion and sonics. With some minor tweaks, it is conceivable that a 2 x LM3886 output stage can be substituted for the 2 x LM1875, allowing output power in excess of 100W.)
Attached Images
File Type: jpg lm1875_ne5532_howland.jpg (124.7 KB, 46 views)
File Type: jpg lm1875_ne5532_howland_loopgain.jpg (208.2 KB, 43 views)
  Reply With Quote
Old 9th February 2010, 01:24 PM   #57
diyAudio Member
 
Juergen Knoop's Avatar
 
Join Date: Jan 2007
Blog Entries: 3
I'm impressed. My own sim trials with TinaTi were quite disappointing. Obviously their opamp models weren't ment for distortion analysis.
Did you do a reality check by simulating simple circuits with various gains and loads?
I'm curious what THD20 a simple LM1875 might have with gain of 10 and a 4 ohm load?
regards
  Reply With Quote
Old 9th February 2010, 01:55 PM   #58
macboy is offline macboy  
diyAudio Member
 
Join Date: Oct 2003
Location: Ottawa, Canada
Quote:
Originally Posted by linuxguru View Post
Here's the next iteration of the nested gainclone topology, this time with (sort of) paralleled chipamps at the output. After seeing the Inguz and the Mauro Penasa topologies, I went with the Howland Current Pump (improved version) at the output ....
This will likely not work. The second LM1875 (U3) is operating at unity gain, but they are not stable at unity gain, they require a gain of 10 or higher for stability. You might be able to externally compensate it but I don't see anything like that in your schematic. I think that U3 will oscillate resulting in high current between it and U2 through RZ1 and RZ2.
  Reply With Quote
Old 9th February 2010, 02:15 PM   #59
diyAudio Member
 
blueskynis's Avatar
 
Join Date: Aug 2007
Location: Serbia, Nis
Send a message via MSN to blueskynis Send a message via Yahoo to blueskynis
I agree, too. At first I didn't noticed this.
__________________
Windows-free with Fedora 10
== www.diy-audio-engineering.org ==
  Reply With Quote
Old 9th February 2010, 04:13 PM   #60
diyAudio Member
 
Join Date: Sep 2007
Send a message via Yahoo to linuxguru
The unity-gain buffer is stable in the sim, and I expect it to be fully stable when constructed. Note that the global negative feedback loop (which includes the unity-gain buffer) is fully compensated with ~100 degrees phase margin at unity loop-gain. If you break the GNFB loop, the buffer may oscillate, but that probably won't happen unless you overdrive the chipamps into hard clipping.

Note also that the Mauro Penasa gainclone also operates its Howland Current Pump at fairly low voltage gain, but it is nevertheless stable because of the compensation applied to the GNFB loop.

In any event, it's easy to replicate the Howland CP including the negative feedback network and eliminate this issue if necessary. The non-inverting input of both Howlands will then be driven from the (common) Deboo integrator node. I don't believe this is necessary, but I'll simulate it in due course.
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gainclone troulbe (LM1875 distorsion issue) haft Chip Amps 10 25th February 2007 08:29 PM
My LM1875 gainclone... point2point... w00t Chip Amps 21 23rd March 2005 09:12 AM
lm1875 gainclone lack speed tonitze Chip Amps 16 8th March 2005 09:36 AM
2 general gainclone questions, and an lm1875 question Adam M. Chip Amps 11 4th March 2005 11:53 AM
Just fired up my new dual mono lm1875 Gainclone. Shoog Chip Amps 5 19th January 2004 06:09 PM


New To Site? Need Help?

All times are GMT. The time now is 11:17 AM.

Page generated in 0.07586503 seconds (77.49% PHP - 22.51% MySQL) with 11 queries

Copyright ©1999-2010 diyAudio