* Voltage Doubler with Load - this line is always a title line * * Access to the models and their parameters that SPICE needs to analyze the circuit. * If you work locally rather than in the lab you will have to copy these files and change * the path appropriately. * .LIB "P:\programs\MentorGraphics\PCBLibraries\SPICE_Libraries\AnalogModels.lib" .LIB "P:\programs\MentorGraphics\PCBLibraries\SPICE_Libraries\ENGN1620LabComponents.lib" * * Input voltage source 5 volts peak sinusoid at 10 KHz with source * resistance of 200 ohms * VIN vin 0 sin(0 5 10K) RSRC vin 2 200 * * The doubler circuit itself * C1 2 3 0.1u D1 0 3 1N4448 D2 C2 RLOAD VOUT * * Control commands – Note: LTSpice can only do one analysis at a time. * * Time domain analysis reported at 2 microsecond intervals to 3 milliseconds * of simulation time. * .TRAN 2u * *Save all node voltages and branch currents just in case * .PROBE .END