TEMP again #994
-
I have a medium complex circuit, with R, C, Diodes and transistors. No IC's for the moment. |
Beta Was this translation helpful? Give feedback.
Replies: 41 comments 10 replies
-
Try using the two ways to do Temp Sweep. Original ngspice method used "TEMPER". New method uses UseGlobTemp=yes. MFA1 out offset voltage over Temp doesn't look correct. Transient does... |
Beta Was this translation helpful? Give feedback.
-
The result you get for the temperature sweep for MFA1-debug.sch seems not correct. However, in my log it always says (here I use TEMP = 27.1):
I see this in all my simulations. If it is different at your site, it is interesting. |
Beta Was this translation helpful? Give feedback.
-
I did do the "DC bias. You can press F8 in Windows.
|
Beta Was this translation helpful? Give feedback.
-
The design was made by Tim de Paravacini for Musical Fidelity in the early eighties, released as "A1 Integrated Class A Amplifier". It has achieved a somewhat "cult" status, and was actually re-released this year, see https://www.musicalfidelity.com/products/a1/a1-2 Clones with a credit-card sized PCB's can be bought at eBay. The original had what I would sa a "questionable" thermal design, the to surface approaching 70C, almost dangerous, I don't know if this is the case with the new product. Anyway, if you believe that amplifiers may sound different, this is an example of a very good sounding amp. The design has a few drawbacks, that may or may not be important when you play music and not test signals. My project is to investigate if this design can be improved in some way. Feedback without caps, linearising the input diff pairs, adding current mirrors and constant current sources, etc. Since this is a class Ab (note uppercase A, lowercase B) the thermal behaviour is important. My devices came from various sources. |
Beta Was this translation helpful? Give feedback.
-
I made a new schematic from scratch, same content as the one posted. But I still wonder where TNOM=27 is set.... |
Beta Was this translation helpful? Give feedback.
-
Can you post the schematic? You could direct your question to @ra3xdh From my experience with solid state audio power amplifiers, thermal stability and sufficiently large heatsinks are critical if you want the amplifier to survive long sessions at high volumes. The MFA1 doesn't have any temperature compensation circuitry and I cannot vouch for the heat sink size. Amplifier stability is also critical if you want the tweeters in your speakers to survive. I have blown up too many amplifiers and tweeters to ever want to own a badly designed amplifier again. Amps that worked fine for normal listening would self destruct during a long party. The last amp I built was a clone of the Quad 405 current dumping amplifier. There are dozens of variations of current dumping amps on diyAudio. |
Beta Was this translation helpful? Give feedback.
-
I might put myself on thin ice here, but I think the temperature compensation is not as critical if you use regular current measurement feedback to control the idling current, provided that the heatsinking is sufficient. The A1 is rather unique in this respect. |
Beta Was this translation helpful? Give feedback.
-
"But again, this will never happen when playing music, there is plenty of time between transients to recover." Famous last words... Run the amp at high levels at a party and the Heatsink may be unable to keep the output devices within their SOA. Even amps with "proper" thermal compensation will pop if the heatsink is unable to shed heat and the amp goes into thermal runaway. |
Beta Was this translation helpful? Give feedback.
-
On the other hand, the way this amp is designed, running at high levels will reduce the idling current bias to nothing. |
Beta Was this translation helpful? Give feedback.
-
Do you build amps? There are many designs over on diyAudio that have been simulated in LTspice. I have converted a few to Qucs-S. I posted a few in the Discussion section. |
Beta Was this translation helpful? Give feedback.
-
Yes, I do. |
Beta Was this translation helpful? Give feedback.
-
There are ways to convert LTspice schematics to Qucs but it is very time consuming... |
Beta Was this translation helpful? Give feedback.
-
A comment about temperature: If I start to add some bells and whistles to the A1 design, a lot of those possible extensions will have to be checked for temperature stability. E.g. a constant current diode is definitely not without a temperature coefficient. Real estate is not unlimited, especially if I want to restrict myself to the credit card form factor of the ebay variant, and temperature compensation will take some extra space. |
Beta Was this translation helpful? Give feedback.
-
Your simulations will be flawed since virtually every device is generating heat and will be hotter than ambient. LTspice supports most manufacturer's Spice "thermal" models and ngspice supports some manufacturer's "thermal" models. These Spice models take into account self-heating. Not sure if 2Nxx55 thermal models exist. Below is some of the work I have done. The guys over on the ngspice discussions would know what is supported. https://forum.qorvo.com/t/models-of-transistors-with-thermal-parameters/15809 |
Beta Was this translation helpful? Give feedback.
-
Simulations are not reality, can only give a hint of where possible problems can be expected. A follow-up question to Parameter Sweep TEMP: The Param Sweep TEMP 0-100 crashes for me, consistently at around 53 degrees with the usual
On the other hand, a manual "Calculate DC bias" has absolutely no problem at any temperature in this range. |
Beta Was this translation helpful? Give feedback.
-
post your updated files |
Beta Was this translation helpful? Give feedback.
-
Your schematic is different than the two I found. Look at the collectors of the two diff pairs... |
Beta Was this translation helpful? Give feedback.
-
It is not my schematic. It is the schematic that @bnilsson11 has problems with. Anyway, it is solved now. |
Beta Was this translation helpful? Give feedback.
-
Fantastic detective work, kudos for that.
It will remain a mystery how that could happen, though.
I have definitely not put that TC in, at least not knowingly.
But it is all in the past now…
Once again, thanks.
29 okt. 2024 kl. 17:36 skrev ivandi69 ***@***.***>:
Found it :)
R19 has TC1 set to 45. After setting it to 0 everything works fine:
image.png (view on web) <https://github.com/user-attachments/assets/438c61ad-a4c5-41b9-8c45-d2380bb1ec03>
—
Reply to this email directly, view it on GitHub <#994 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAZXLDWIO6SX5YONI4ZDVQTZ562QVAVCNFSM6AAAAABP5XO5QSVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCMBYHE4TIOA>.
You are receiving this because you authored the thread.
Bengt Nilsson
Ansåsvägen 8
43853 Hindås
Sweden
***@***.***
|
Beta Was this translation helpful? Give feedback.
-
There is 2 errors in the schematic. Input diff pair collector... |
Beta Was this translation helpful? Give feedback.
-
Cleaned up the old schematic and added FFT. |
Beta Was this translation helpful? Give feedback.
-
Great job, very interesting.However, I am travelling right now, back on monday. I have to refrain from a proper discussion until then.Thanks for all the help, to get the TEMP problem solved.MvhBengt NilssonSkickat från min iPhone30 okt. 2024 kl. 16:22 skrev tomhajjar ***@***.***>:
Cleaned up the old schematic and added FFT.
2024-10-30_111948.jpg (view on web)
2024-10-30_112146.jpg (view on web)
Amp_MFA1_prj.zip
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You can experiment with the FFT parameters to get a plot closer to what you expect. |
Beta Was this translation helpful? Give feedback.
-
This is a quick test. No 1kHz in o2 output and no 2kHz in o1 output. |
Beta Was this translation helpful? Give feedback.
-
Here's a wild guess. The (noise in the) spectrum depends on the time stepping. Disconnecting the source may have changed the spectrum at the source just by shuffling the sampling points. To see the effect, put in two identical sources, connect only one to the circuit and look at the spectrum at the output of the unconnected one. Another important noise source, warmup. Not sure how it applies here, but generally the first few cycles should go to the bin before doing anything with fft. |
Beta Was this translation helpful? Give feedback.
-
The amplitude of the noise seems pretty high. This could be a bug, or a flaw far down under the hood in one of the algorithms. Maybe there is a hack that masks the problem. But beware, it could also be a side effect of the hack for a previous one. "5.3.1.4 Error Due to Interpolation" and "5.3.1.5 Error Due to Simulator Noise" in the "Designers Guide to Spice and another)" gives some generic background (TW: plug for another).
The high level observation is that tools that shine on simple examples do not necessarily solve all problems well. My personal conclusion is that we need to move on, reduce complexity, standardise, modularise, exchange data between tools, identify those that do a solid job. |
Beta Was this translation helpful? Give feedback.
-
Questions about FFT can be asked over at ngspice... https://sourceforge.net/p/ngspice/discussion/127605/thread/03b82f8bf2/ |
Beta Was this translation helpful? Give feedback.
-
Agreed, this is something for ngspice, not neccessarily qucs-s.MvhBengt NilssonSkickat från min iPhone8 nov. 2024 kl. 13:53 skrev tomhajjar ***@***.***>:
Questions about FFT can be asked over at ngspice...
https://sourceforge.net/p/ngspice/discussion/127605/thread/03b82f8bf2/
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Here is an example WRT Unexpected FFT result: |
Beta Was this translation helpful? Give feedback.
Found it :)
R19 has TC1 set to 45. After setting it to 0 everything works fine: