Simulating CD4541 in LTSpice Stuck

Discussion in 'General Electronics Chat' started by elec_system_design, Dec 3, 2017.

  1. elec_system_design

    Thread Starter Member

    Jun 23, 2017
    49
    0
    Hi,

    I'm trying to simulate a circuit with a long pulse. However, it freezes around 20 seconds in.

    Is there something I can do to make it fully simulate?

    Thanks
     
  2. eetech00

    Senior Member

    Jun 8, 2013
    1,120
    226
    Hi

    Post the schematic .asc file, and the CD4541 subckt and symbol file.

    eT
     
    elec_system_design likes this.
  3. elec_system_design

    Thread Starter Member

    Jun 23, 2017
    49
    0
    Here are the files.

    -esd
     
  4. eetech00

    Senior Member

    Jun 8, 2013
    1,120
    226
    HI

    Try this one.

    The "startup" switch causes the voltage sources to ramp up from 0 in 20 usec.
    It allows the circuit to begin oscillating.

    The abstol-1e-4 option eases the requirement to sense pA current changes during the simulation.
    It allows the simulation to complete much faster.

    The attached took 75 seconds to complete.

    eT
     
    elec_system_design likes this.
  5. elec_system_design

    Thread Starter Member

    Jun 23, 2017
    49
    0
    That's neat. It works great. Thanks!

    -esd
     
  6. Bordodynov

    Well-Known Member

    May 20, 2015
    1,812
    547
    This accuracy (abstol = 1e-4 = 100uA) is not good. RC-generator uses smaller currents. More or less acceptable .opt abstol = 1uA vntol = 10m
     
    elec_system_design likes this.
Loading...