|
|||||||
| Home | Forums | Rules | Articles | Store | Gallery | Blogs | Register | Donations | FAQ | Calendar | Search | Today's Posts | Mark Forums Read | Search |
| 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 |
|
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
diyAudio Member
Join Date: Aug 2003
Location: \Italy
|
LM3886.mac model for microcap
__________________
Bye |
|
|
|
#2 |
|
diyAudio Member
Join Date: Aug 2003
Location: \Italy
|
LM3886 single supply in eagle
__________________
Bye |
|
|
|
#3 |
|
diyAudio Member
Join Date: Nov 2004
Location: Suomi, Finland
|
Thanks rumors. Is there a reason why your schematic does not follow the equivalent schematic of the datasheet? Anyway, I was always wondering what values those constant current sources would approximately have and your schematic allowed me to complete my SPICE model for SwitcherCAD III (LTspice). Note: This model does not follow schematic presented by rumors but the schematic presented by the datasheet.
The quick test shows that this model at least gives pretty decent results. Note that protection schemes are not modelled here. Seems like the next step is to dwelve into reading the AN-898... .SUBCKT LM3886 posin negin out posrail negrail mute * IN+ IN- OUT VCC VEE MUTE * Q1 posrail posin N004 0 NPN I1 N004 negrail 0.25m Q2 posrail negin N003 0 NPN I2 N003 negrail 0.25m Q3 N011 N003 N010 0 PNP Q4 N011 N018 N012 0 NPN R1 N012 negrail 2.2k I3 N018 negrail 0.1m Q5 N017 N018 N024 0 NPN R2 N024 negrail 2.2k Q6 posrail N011 N018 0 NPN R3 N009 N010 1.1k R4 N009 N023 1.1k Q7 N017 N004 N023 0 PNP Q8 N017 N013 N016 0 PNP Q9 N011 N025 N019 0 PNP R5 N015 N016 4.7k R6 N015 N019 4.7k R7 N013 gndpin 10k D1 N025 gndpin D D2 gndpin N025 D R8 out N025 10k C1 out N017 10p I4 N026 negrail 1m Q10 posrail N017 N026 0 NPN Q11 N030 N026 N031 0 NPN R9 N031 negrail 800 Q12 N009 N008 N014 0 PNP Q13 N015 N022 N014 0 PNP I5 posrail N014 1m I6 N022 negrail 1m D3 N021 N022 D D4 N020 N021 D R10 posrail N020 1k D5 N007 N008 D D6 N006 N007 D R11 posrail N006 1k Q14 N008 gndpin N005 0 NPN R12 N005 N001 1k D7 N002 mute D D8 N001 N002 D D9 N032 N031 D R13 N034 negrail 150 Q15 out N032 N034 0 NPN Q16 out N034 N036 0 NPN R14 N036 negrail 0.45 Q17 N032 N030 out 0 PNP D10 N029 N030 D D11 N028 N029 D D12 N027 N028 D R15 N033 out 150 Q18 posrail N027 N033 0 NPN Q19 posrail N033 N035 0 NPN R16 N035 out 0.45 I7 posrail N027 2.5m .model D D .model NPN NPN .model PNP PNP .end lm3886 |
|
|
|
#4 |
|
diyAudio Member
Join Date: Nov 2004
Location: Suomi, Finland
|
Whoops, missed the common pin. The correct syntax is
.SUBCKT LM3886 posin negin out posrail negrail mute gndpin |
|
|
|
#5 |
|
diyAudio Member
Join Date: May 2004
Location: Hertfordshire
|
teemuk,
Have you allowed for the area (on the die) of the output transistors being much larger than the others? Also you appear to have default transistor parameters rather than real devices. At the moment the modelled device will appear better/different to the real device. A macro model is the opposite of what you have i.e current sources etc are put together to represent the performance of the device, not the real circuit. See this for a macro model of an op-amp: http://www.ecircuitcenter.com/Circui...1/opmodel1.htm |
|
|
|
#6 | ||
|
diyAudio Member
Join Date: Nov 2004
Location: Suomi, Finland
|
Quote:
Quote:
There are obvious problems in the model that show up when the circuit clips too much (this can be revealed in the sim) and I'm sure the model also has a broader bandwidth than the actual device as junction capacitances are ignored in default transistor parameters. The model could definitely be made better by replacing the internal constant current source elements with discrete CCS circuits and by modeling the transistor parameters. Also, as noted, the model circuit also lacks VI-limiter, over-and undervoltage protection plus SPiKe protection - which have huge impact on the chips clipping behaviour. This model does not replicate them. Currently I have other priorities than working on improving this model so if I may suggest, enjoy it as it is and realize it´s limitations and shortcomings. |
||
|
|
|
#7 |
|
diyAudio Member
Join Date: Aug 2003
Location: \Italy
|
Warning: the current generators are invent to you and adapt you to my simulation with the microcap, simulation that close to the real behavior of 3886, but all the reliable one (the protections do not lack, do not know the real parameters of the transistors within the chip)
__________________
Bye |
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| LM3886 Spice Model done | Gerry | Chip Amps | 5 | 24th February 2012 08:19 AM |
| FS: Crown Macro Tech MA3600VZ | Zero Cool | Swap Meet | 0 | 26th May 2009 12:36 AM |
| Spice model LM3886 needed. | charlleqi | Chip Amps | 5 | 27th December 2006 04:49 AM |
| Spice Macro Model for floating supply opamp | rtarbell | Solid State | 2 | 21st June 2006 04:14 PM |
| Does anybody have an lm3886 SPICE model? | Faber | Chip Amps | 0 | 14th July 2004 12:31 PM |
| New To Site? | Need Help? |
| Page generated in 0.15126 seconds (53.83% PHP - 46.17% MySQL) with 11 queries |