logo elektroda
logo elektroda
X
logo elektroda

LTSpice RC circuit simulation: Capacitor voltage instantly at 12V instead of charging

12 6
ADVERTISEMENT
  • #1 21683696
    John Curtin
    Anonymous  
  • ADVERTISEMENT
  • #2 21683697
    Giovanni Di Maria
    Anonymous  
  • ADVERTISEMENT
  • #3 21683698
    David Ashton
    Anonymous  
  • ADVERTISEMENT
  • #4 21683699
    John Curtin
    Anonymous  
  • #5 21683700
    John Parker
    Anonymous  
  • #6 21683701
    john Wilson
    Anonymous  
  • ADVERTISEMENT
  • #7 21683702
    helin121 kafe
    Anonymous  

Topic summary

The discussion addresses an issue in LTSpice simulation where an electrolytic capacitor in an RC circuit appears to instantly reach 12V instead of showing a gradual charging curve according to the RC time constant. The solution involves setting initial conditions in the simulation by adding the SPICE directive ".ic V(N002)=0" to specify the capacitor node voltage starts at zero volts. This prevents the simulator from assuming steady-state conditions at the start. An alternative approach mentioned is using a digital clock source instead of a DC power source to observe the charging behavior dynamically, as DC sources may only provide steady-state results. The capacitor charging curve was successfully simulated using a 10 Hz clock, 1 µF capacitor, and 10 kΩ resistor. Additional explanations on capacitor function and capacitance units were provided, but unrelated content about a feedback platform was noted as off-topic.
Summary generated by the language model.
ADVERTISEMENT