Tl494 Ltspice [hot] -
Below is a step-by-step walkthrough for option 1 (using a vendor model) and a compact alternative using a behavioral subcircuit for quick tests.
Tie Pin 13 to the internal Reference Voltage (Pin 14, VREFcap V sub cap R cap E cap F end-sub
Connect the outputs (pins 9/10) to a MOSFET driver and subsequently a MOSFET, inductor, and capacitor filter. Supply: Apply VCCcap V sub cap C cap C end-sub (e.g., 12V) to pin 12. Simulating and Analyzing Results tl494 ltspice
) connected to Pin 5. The output frequency depends on your choice of output mode:
: Output frequency is exactly half of the oscillator frequency. Below is a step-by-step walkthrough for option 1
: Switching power supplies can take a long time to stabilize. Use the .ic V(out)=0 command or the Startup directive to help the solver.
If you want to move forward with your design, let me know if you need help calculating the Simulating and Analyzing Results ) connected to Pin 5
* Example: buck with TL494 (sketch) V1 VIN 0 24 XU1 VIN 0 FB COMP RT CT DTC SS OUTC OUTE ILIM tl494 M1 SW 1 0 0 nmos_model Rds=0.05 D1 SW VIN D1model L1 SW OUT 33u Cout OUT 0 220u ESR=0.05 Rload OUT 0 12 * Feedback divider to FB (set for 12V out) Rfb_top OUT Vfb 10k Rfb_bot Vfb 0 10k * Sense resistor to ILIM Rsen SW ILIM 0.1 .tran 0 100m .include tl494.subckt
Keep in mind that SPICE syntax can differ between simulators. Models designed specifically for LTspice, including subcircuits with other files, might not work properly in other environments like KiCad's ngspice. The models are designed for LTspice, so ensure you are using it for your simulations.
.ENDS TL494
command (press 'S' to add a SPICE directive) to point to your library file. Common Simulation Pitfalls