Author Topic: make LTSpice simulate switching spikes?  (Read 2707 times)

0 Members and 1 Guest are viewing this topic.

Offline cellularmitosisTopic starter

  • Supporter
  • ****
  • Posts: 1111
  • Country: us
make LTSpice simulate switching spikes?
« on: April 13, 2014, 04:24:08 am »
Hey guys,

I whipped up an ICL7660 circuit to generate a negative rail, but noticed it created significant switching spikes.

I thought I'd mock it up in LTSpice so that I could try simulating the effects of ferrite beads, etc, but using an LTC1044 (Linear's ICL7660), I don't see anything that looks like a switching spike.

Is there anyway to get these spikes to show up in LTSpice?

LTZs: KX FX MX CX PX Frank A9 QX
 

Offline TerminalJack505

  • Super Contributor
  • ***
  • Posts: 1310
  • Country: 00
Re: make LTSpice simulate switching spikes?
« Reply #1 on: April 13, 2014, 04:56:20 am »
Are you sure what you saw wasn't just picked up by the scope's ground wire?  It can act like a nice little antenna and make it look like you have switching spikes of 10mVpp to 20mVpp. 

Use the low inductance ground attachment (usually a spring-like thing) and see if the signal looks less noisy on the scope.

Other than that you can have a similar issue where long wires on a breadboard can pick up similar noise. 

Also, breadboards have the issue of having a capacitive coupling type of effect for adjacent pins.
 

Online T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21686
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: make LTSpice simulate switching spikes?
« Reply #2 on: April 13, 2014, 05:07:15 am »
Try looking at I(V1), and also setting V1 for, say, 10 ohms ESR, 20nH ESL: very crudely representative of a small electrolytic.

Or better yet, draw the components -- I hate that LTSpice hides all those properties from the schematic view, so you don't know at a glance what ESR/ESL you're playing with.

You aren't going to get much from as soft and slow a chip as that, and depending on whether they modeled shoot-through (if any) or not.

If you like, you can model your own CMOS inverter with a 2N7002 and BSS84.  On a supply of about 4V or more, you'll see plenty of shoot-through, to the tune of ~20 ohms shunted across the supply for whatever the rise/fall time is.  I suggest driving them from a PULSE source with, say, 10-50ns rise/fall time.

It's difficult to model a realistic, representative power supply -- every wire segment or trace acts like a little inductance, and all the bypass caps interact (think vibrations on a string with beads spaced out irregularly).  For best experience, do it in the real world. ;)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf