I thought one of the big manufacturers would have one. It is a common part... sigh..
- posted
17 years ago
I thought one of the big manufacturers would have one. It is a common part... sigh..
FWIW:
** From C:\\Program Files\\SIMetrix\\models\\psu.lb .subckt UC3842 Vout Osc Vp Comp Sense Vfb Ref Gnd A$U2 [U6_OUT U5_IN4] U2_OUT nand A$U3 [U2_OUT U7_OUT] U5_IN4 nand X$ARB1 R1_P Sense ARB1_OUT $$arbsourceARB1 pinnames: N1 N2 OUT .subckt $$arbsourceARB1 N1 N2 OUT B1 OUT 0 V=tanh(v(n1,n2)*1000)*2.5+2.5 .ends A$U16 U12_OUT U16_OUT DA X$U1 Vfb Ref Vp Comp Gnd R5_N $$error_amp_2 pinnames: VINN BIAS VP VOUT VN VINP A$U17 U9_OUT U17_OUT DA A$U6 U12_OUT U6_OUT inv V1 S2_P 0 5V A$U7 U15_OUT U7_OUT delay1 A$U15 ARB1_OUT U15_OUT AD A$U4 Vp U4_OUT schmitt A$U5 [U10_OUT U12_OUT U8_QP U5_IN4] U11_IN1 or A$U12 Osc U12_OUT schmitt_osc I2 R1_N Comp 10u A$U13 U11_OUT U13_OUT DA A$U10 U4_OUT U10_OUT inv A$U11 U11_IN1 U11_OUT inv_dead I1 Gnd I1_N 40m A$U18 U4_OUT U18_OUT DA *A$VCC2 VCC2_P DIG_VCC D1 Comp D1_N Diode D2 D1_N R1_N Diode D3 R1_P I1_N Diode Q2 Vp S1_N Vout 0 N1 20 R4 S1_N Gnd 1K R5 Ref R5_N 10k X$S4 Osc 0 U16_OUT 0 gen_switch : RON=250 ROFF=100Meg VON=3 VOFF=2 pinnames: P N CP CN *A$U8 VCC2_P U12_OUT U8_SET U8_SET U8_QP U8_QN Toggle *A$GND2 U8_SET DIG_GND R6 R5_N Gnd 10k A$U9 U11_IN1 U9_OUT dead Q1 Vout U17_OUT Gnd 0 N1 20 X$S2 S2_P Ref U18_OUT 0 gen_switch : RON=1 ROFF=100Meg VON=3 VOFF=2 pinnames: P N CP CN R1 R1_P R1_N 20k X$S3 Vp 0 U18_OUT 0 gen_switch : RON=1.36k ROFF=30k VON=3 VOFF=2 pinnames: P N CP CN R2 Gnd R1_P 10k .ic Osc 0 R3 I1_N Gnd 10 X$S1 Vp S1_N U13_OUT Gnd gen_switch : RON=1 ROFF=1Meg VON=3 VOFF=2 pinnames: P N CP CN .model inv d_inverter .model or d_or .model DIG_GND d_pulldown strong=true out_family="FORCE5" .model DIG_VCC d_pullup strong=true out_family="FORCE5" .model toggle d_tff .model delay1 d_buffer rise_delay=150n fall_delay=150n .model dead d_buffer rise_delay=20n fall_delay=1n .model inv_dead d_inverter rise_delay=20n fall_delay=1n .model nand d_nand .model and d_and .model Diode D(IS=1.6f CJO=0.3p M=0.3 VJ=0.75 ISR=2.6n) .model N1 NPN BF=300 TF=0.5n CJC=0.3p VAF=100 .model P1 PNP BF=150 TF=2n CJC=0.3p VAF=150 .model D1 D .model schmitt_osc adc_schmitt in_low=1 in_high=3Cheers Terry
Is that for real?? I wanted to use it with LT's SwitcherCad?
I will try it anyway :)
Many Thanks
No worries mate.
I havent studied it in detail (who cares, I have mixed-mode symetrix) but I suspect the issue is the interface between the digital and analog.
Cheers Terry
You could roll your own....
DNA
[snip] [snip]
The only reason I can see that this couldn't run on other SPICE products is the undefined subcircuits, such as the digital ones I've quoted above.
These are obviously "built-in" functions of SIMetrix. I'd hazard a bet that standard 74HCxx parts could be dropped into those slots.
...Jim Thompson
-- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus | | Phoenix, Arizona Voice:(480)460-2350 | | | E-mail Address at Website Fax:(480)460-2142 | Brass Rat | | http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
Thanks. I would roll my own, but I will be struggling just to make it work :)
Is Jane Horrocks really a lesbian?
Andy.
Thanks Jim. Now I have a few options!
your URL seems to non available here in garlic land . Got a partial hit through the Gugle cache though
martin
LT1246 is a pin-compatible model, though there's incorrect scaling between comp and the CS comparator at last inspection.
RL
Where's " snipped-for-privacy@ieee.org"? They had developed one.
-- _____________________ Christopher R. Carlen crobc@bogus-remove-me.sbcglobal.net SuSE 9.1 Linux 2.6.5
Arrrrrr, you've had problems with my server before.
It might have something to do with the way I've set it up as far as permissions and groups and ownership of stuff is concerned. Basically I've locked it down to stop folks snooping for my p*rn.
You should be able to download the file but you'll get a forbidden if you try and look in the directory it's in.
DNA
Er.. but thats the point. It wont run "as is" on other spices. If the model is converted, sure, it might be made to work on other spices.
For starters, the adc_bridge is an XSpice specific internal model, so wont run in LTSpice. In addition, it is an extended model, i.e. it has additional parameters not in standard XSpice.
Sort of, but much slower as they would have to be analogue versions. Digital stuff of XSPice is handeled by its digital engine.
Kevin Aylward B.Sc. snipped-for-privacy@anasoft.co.uk
"There are none more ignorant and useless,than they that seek answers on their knees, with their eyes closed"
You could have a go at making your own by drawing the schematic using functional blocks, then using the "create subckt" feature found in a few spices:-)
Its much easier to design and debug a model (.subckt) as a schematic than by hand crafting text. That's how I generated my SMPS models.
Kevin Aylward snipped-for-privacy@anasoft.co.uk
"There are none more ignorant and useless,than they that seek answers on their knees, with their eyes closed"
[snip]
Nope, not slower. PSpice (A/D version) has a digital engine as well.
...Jim Thompson
-- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC\'s and Discrete Systems | manus | | Phoenix, Arizona Voice:(480)460-2350 | | | E-mail Address at Website Fax:(480)460-2142 | Brass Rat | | http://www.analog-innovations.com | 1962 | I love to cook with wine. Sometimes I even put it in the food.
Yes, but you have your own personal stuff and have learnt from the splash how to not have someone moan about the external stains.
Or you have a good excuse for your left trouser leg.
DNA
No. I always wear black trousers ;-)
...Jim Thompson
-- | James E.Thompson, P.E. | mens | | Analog Innovations, Inc. | et | | Analog/Mixed-Signal ASIC's and Discrete Systems | manus | | Phoenix, Arizona Voice:(480)460-2350 | | | E-mail Address at Website Fax:(480)460-2142 | Brass Rat | |
I have used LTSpice before, with great success for LT products and simple circuits. I spent some time playing with Terry's circuit and Jims comments with no success. I also played around with genome's ckt but decided for a simple person like me that it would be easier to breadboard it. So, i did the design in protel, and I started laying out the PCB, then I got bored and found a bottle of wine, a kabana and the internet.......
Sigh, i spend all day in front of computers writing things like strncpy(&hello,"world"sizeof(&hello)); and not designing circuits, so i get bored real easy. I then get remotivated for an hour or so every
2-3 days and connect a few more nets in protel. This project is for my dad who is a retired mechanical engineer, hopefully i can deliver before he passes on.
Doing a good job is like peeing your pants in a dark suit - it gives you a warm feeling, but nobody seems to notice. ;-)
Cheers! Rich
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.