Тёмный

A Quick LTspice Tutorial - Charging Capacitor 

ElectronX Lab
Подписаться 48 тыс.
Просмотров 27 тыс.
50% 1

LTspice can be used to quickly and easily simulate a charging capacitor in an RC circuit using a transient analysis. The issue with the transient analysis, is that it assumes that capacitors are already fully charged and are therefore treated as open circuits. To make sure this isn't a problem, you need to set the initial conditions on the capacitor to be at 0 volts.
This video goes through all the steps you need to simulate a charging capacitor and includes a bonus tip on how to change the thickness of the lines in the simulation plot - by default, they are, in my opinion, far too skinny.
For more about charging and discharging capacitors, including more SPICE simulation, check out:
electronx.ca/e...
which includes introductory circuits courses based around the free and open source text book - Lessons in Electric Circuits by Tony Kuphaldt.

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@jberringer1720
@jberringer1720 Год назад
Thank you so much! I had been struggling to figure out why my capacitor charging circuit wasn't working in LTspice, and this video was EXACTLY what I needed!
@Dragoneer
@Dragoneer 2 года назад
3:12 God, thank you so much for this tip!! Spent a near hour pulling my hair out trying to get a very fucking simple RC circuit working with LTSPICE. Why would the initial conditions every _not_ be 0V??? Ridiculous you have to do that...thank you very much for this though, actual life saver...
@deejay7339
@deejay7339 Год назад
If anyone was like me wondering about the wire thickness go to Tools -> Control Panel -> Drafting options -> Pen Thickness
@iulianprodan3232
@iulianprodan3232 2 года назад
Thank you for the .ic tip
@techankhamun838
@techankhamun838 2 года назад
Extremely helpful! Thanks a lot! I liked and subscribed and waiting for more great content like this!
@ElectronXLab
@ElectronXLab 2 года назад
Awesome, thank you!
@Aggregator_
@Aggregator_ 3 месяца назад
for some reasons, the current rises from negative to zero instead of falling from 1.5 mA to Zero, which isnt the typical charging function of the Current in a Capacitor... its the discharge function. i dont get why the Current function is delayed like that. what did i forget?
@137bob3d
@137bob3d 2 года назад
'X Lab person , thanks for putting this LT spice vid together. your posting of it is in sync with something active in my life right now. my honda motorcycle 80cc engine flywheel coil spits out 3 successive '+' 1/2 sine waves 200 volt peak every kick - start revolution. they go directly to the CDI module. and charge a capacitor or size about 2uF. and while 'scoping them and not getting a spark ( faulty trig signal ) an idea arose. to connect the 1/2 sine waves to a cap on a bd. - bd. with Rs and see how the cap charges. and then once the Rs is found. ...quickly jumper C to the primary of the coil and see if a spark follows . you get the idea. i see the engine as a signal generator to experiment with. so far as learning 'cycle ignition systems. the bugger here is the 60's weather just ended and a new cold front is moving in. now if i had another way to get a 200Vp sine wave then this exp. could continue indoors here where its warm so , can you tell me if LTspice can be coded to deliver just 3 200V 1/2 sine waves in .050 sec (to sim' a 600 rpm kick start ) ?
@jayadevashok2070
@jayadevashok2070 Год назад
This doesnt work for parallel RC circuits for some reason. Needed to put a small resistance in series with the cap to display the charging
@mortenlund1418
@mortenlund1418 Год назад
Saved my day. Thanks. It is probably me, but should the .1 step command not be in the end? So .tran 10 .1 which is the same as maximum timestep. And if you use the Edit Simulation Command window it will also automatically insert 0 for time to start saving data. Then the complete line will look like this: .tran 0 10 0 .1 Am I understanding it false?
@fabriziolavini7457
@fabriziolavini7457 Год назад
Many thanks for the explanation. I noticed this. Set 10V as supply voltage (no internal resistance). Time constant is calculated differently depending on resistance (kept capacitance constant = 1000u). R = 0.001 -> RC = 1 us => 61.24% R = 0.01 -> RC = 10 us => 61.18% R = 100 -> RC = 100 ms => 63.22% Calculating 10 x (1 - EXP(-1) ) would give 63.21 %. Differences even with peak currents. Is it explainable ? Thank you again
@firasb-ck1dj
@firasb-ck1dj 3 месяца назад
Thanks so much , very well explained
@BRANDONKAMTING-ERNA23KE005
@BRANDONKAMTING-ERNA23KE005 10 месяцев назад
very useful, thank you!!!
@AshishYadav-ul8es
@AshishYadav-ul8es 9 месяцев назад
The best explanation for Capacitor charging waveform capture, its really helpful to perform the simulation for my circuits
@ElectronXLab
@ElectronXLab 9 месяцев назад
Thanks for your kind words
@adic9091
@adic9091 2 года назад
Are you wearing special glasses to see the blue line against the black background?
@ElectronXLab
@ElectronXLab 2 года назад
Yeah, the blue is kinda dark isn't it. It's easy enough to change the colour though. Just click on the signal name at the top of the graph and you'll get some options
Далее
Quick look at QSPICE
15:00
Просмотров 21 тыс.
МАЛОЙ ГАИШНИК
00:35
Просмотров 456 тыс.
Вопрос Ребром - Серго
43:16
Просмотров 1,6 млн
V16 из БЕНЗОПИЛ - ПЕРВЫЙ ЗАПУСК
13:57
Impedance Explained.
22:35
Просмотров 219 тыс.
Decoupling Capacitors - And why they are important
7:39
How 3 Phase Power works: why 3 phases?
14:41
Просмотров 1,2 млн
LTspice - tips and tricks
19:29
Просмотров 23 тыс.
8 awesome application of diodes in circuits.
19:50
Просмотров 190 тыс.
LTSpice: Using Switches in Simulations
9:46
Просмотров 63 тыс.