• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 06:25
CET 12:25
KST 20:25
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners11Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12
Community News
[TLMC] Fall/Winter 2025 Ladder Map Rotation10Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA8StarCraft, SC2, HotS, WC3, Returning to Blizzcon!45$5,000+ WardiTV 2025 Championship7
StarCraft 2
General
RSL Season 3 - RO16 Groups A & B Preview Mech is the composition that needs teleportation t [TLMC] Fall/Winter 2025 Ladder Map Rotation Weekly Cups (Nov 3-9): Clem Conquers in Canada Craziest Micro Moments Of All Time?
Tourneys
RSL Revival: Season 3 Constellation Cup - Main Event - Stellar Fest Tenacious Turtle Tussle Master Swan Open (Global Bronze-Master 2) Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection
Brood War
General
BW General Discussion FlaSh on: Biggest Problem With SnOw's Playstyle What happened to TvZ on Retro? Brood War web app to calculate unit interactions [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO32 Group D - Sunday 21:00 CET [BSL21] RO32 Group C - Saturday 21:00 CET
Strategy
Current Meta Simple Questions, Simple Answers PvZ map balance How to stay on top of macro?
Other Games
General Games
Clair Obscur - Expedition 33 Beyond All Reason Nintendo Switch Thread Should offensive tower rushing be viable in RTS games? Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Artificial Intelligence Thread Russo-Ukrainian War Thread Canadian Politics Mega-thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread Movie Discussion! Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1707 users

Circuit Help

Blogs > SilverSkyLark
Post a Reply
SilverSkyLark
Profile Blog Joined April 2008
Philippines8437 Posts
Last Edited: 2010-06-30 09:28:40
June 30 2010 09:22 GMT
#1
Ok, this was supposed to be an easy laboratory experiment, which is actually more of a simulation, but I haven't figured it out for some reason.

So we were asked to simulate this circuit over at LT SpiceIV:
[image loading]

Tapping the voltage probe above the capacitor and tapping the current probe on the capacitor will give the following graph:
[image loading]
(V(n003) means the voltage at node 3)

Analysis would be easy as this is a second order circuit, but we (me and my classmates) were rather puzzled as these were the questions that came after the instructed simulation:

1. Generate the 1st order ordinary linear differential equations (ODE) for Fig. 1. Solve for V(n003) the voltage across capacitor.

2. Transform your 1st order system of linear ODEs into Laplace Transform and solve for L{Vn003)}. Then solve for L-1(Vn003) to get V(n003).

3. Compare your results in item 1 with item 2.

4. Derive the current across the capacitor.

5. Using Scilab, for t=[0:.5:20], plot V(n003). Compare your result with Fig 3 V(n003).

6. Using Scilab, for t=[0:.5:20], plot I(C1). Compare your result with Fig 3 I(C1).


You might be surprised as well because we were asked for a first order ODE, when the circuit clearly is a second order ODE. The second order ODE can be obtained by using KVL around the circuit, giving:

4i + Li' + i/C integral(i dt) = 9

and differentiating every term to remove the integral gives:

Li'' + 4i' + i/C = 0

substituting values from the circuit:

i'' + 4i' + 4i = 0

Solving for the natural response and the forced response (which will be useless since r(x) is 0) would then give:

i(t) = Ae^-2t + Bte^-2t

If it was the usual ODE question, values of i(0) and i'(0) would be given in order to solve for constants A and B. But in this setup, you'll only manage to get i(0) and i'(0) will be hard to find. Now you may ask why am I solving for the current when number 1 asks for the voltage across the capacitor - since the current is constant (series circuit), I can solve for it then simply plug the equation of the constant into the voltage equation for a capacitor then there I have it.

I guess what our professor wants is an ODE that would give the curve for the voltage (duh)...

Or did I get things wrong guys? Because number 2 asks us to solve for the same 1st order ODE using Laplace. If I use Laplace on the second order ODE, I'd have problems right away since the transform of i'' would ask for the value of i'(0).

If anyone has a clue on how I'm supposed to get a first order ODE to get the voltage please do help. I'm feeling really stupid here because I'm starting to get the feeling that this is supposed to be real easy.


P.S. the DC Steady State would also work fine, it will give the voltage across the capacitor at t = 0- and t = 0+ but it won't give the curve we want.

*
"If i lost an arm, I would play w3." -IntoTheWow || "Member of Hyuk Hyuk Hyuk cafe. He's the next Jaedong, baby!"
JacobDaKung
Profile Blog Joined May 2006
Sweden132 Posts
June 30 2010 10:17 GMT
#2
You are not sopposed to connect the two different equations, thus getting a system of two first order ODE.
I am at work at and will return later in order to be more precise.
doubleupgradeobbies!
Profile Blog Joined June 2008
Australia1187 Posts
Last Edited: 2010-06-30 10:32:00
June 30 2010 10:21 GMT
#3
still working on the other parts as i need to refresh my memory of how analogue components work :D but for now:

On June 30 2010 18:22 SilverSkyLark wrote:


Or did I get things wrong guys? Because number 2 asks us to solve for the same 1st order ODE using Laplace. If I use Laplace on the second order ODE, I'd have problems right away since the transform of i'' would ask for the value of i'(0).



nah on second order laplace transforms

y(t)+ dy(t)/dt + d2y(t)/dt2 = x(t)+ dx(t)/dt + d2x(t)/dt2

just transforms nicely into Y(s) + sY(s) + s2Y(s) = X(s) + sX(s) + s2X(s) without needing all the x' and x'' terms.

edit: actually maybe take that with a grain of salt, i just realised it might be that we implicitly always assume it will be intially 0 in control systems.
MSL, 2003-2011, RIP. OSL, 2000-2012, RIP. Proleague, 2003-2012, RIP. And then there was none... Even good things must come to an end.
SilverSkyLark
Profile Blog Joined April 2008
Philippines8437 Posts
Last Edited: 2010-06-30 11:51:36
June 30 2010 11:49 GMT
#4
On June 30 2010 19:17 JacobDaKung wrote:
You are not sopposed to connect the two different equations, thus getting a system of two first order ODE.
I am at work at and will return later in order to be more precise.

What two different equations?
The Current equation for the Capacitor and the Voltage equation for the Inductor?

Sorry I'm really lost for some reason..:|


and yes the Laplace Transform looks nice...the only problem is that the right side of the transform is zero..
Y(s^2 + 4s + 4) = 0..
"If i lost an arm, I would play w3." -IntoTheWow || "Member of Hyuk Hyuk Hyuk cafe. He's the next Jaedong, baby!"
15vs1
Profile Joined November 2007
64 Posts
Last Edited: 2010-06-30 13:06:40
June 30 2010 12:56 GMT
#5
You should represent your 2nd order ODE as a system of two first order ODEs (take note of the plural form of equation in your questions). You will need i'(0) anyway and it equals 0 because i'(t) cant have discontinuity if circuit have a reel.
SilverSkyLark
Profile Blog Joined April 2008
Philippines8437 Posts
June 30 2010 13:01 GMT
#6
On June 30 2010 21:56 15vs1 wrote:
You should represent your 2nd order ODE as a system of two first order ODEs (take note of the plural form of equation in your questions). You will need i'(0) anyway and it equals 0 because i'(t) cant have discontinuity if circuit have a reel.

How do I break down the 2nd order ODE into two 1st order ones?

And yes, if i'(0) = 0 (but still the value of i'(0) is not given, though i(0) = 0), it would mean that there was infinite amount of current that passed through the circuit when the switch was turned on - which is a physical impossibility because of the conservation of charge.
"If i lost an arm, I would play w3." -IntoTheWow || "Member of Hyuk Hyuk Hyuk cafe. He's the next Jaedong, baby!"
15vs1
Profile Joined November 2007
64 Posts
June 30 2010 13:29 GMT
#7
In your case we have equation i'' + 4i' + 4i = 9*delta(t), delta(t)-delta function (your equation with 0 in the right part is viable only for steady case). Lets say y1=i, y2=i' then we have 2 ODE
y2' + 4y2 + 4y1 = n(t)
y1'=y2

and the initial conditions is i(0)=i'(0)=0.
SilverSkyLark
Profile Blog Joined April 2008
Philippines8437 Posts
June 30 2010 13:36 GMT
#8
*mind blown*
I think I just found the reason not to pass the lab report tomorrow.
"If i lost an arm, I would play w3." -IntoTheWow || "Member of Hyuk Hyuk Hyuk cafe. He's the next Jaedong, baby!"
JacobDaKung
Profile Blog Joined May 2006
Sweden132 Posts
June 30 2010 16:52 GMT
#9
Back from work, seems like 15vs1 said all before me
GL y0 !
SilverSkyLark
Profile Blog Joined April 2008
Philippines8437 Posts
July 01 2010 02:25 GMT
#10
Ok I'm an idiot, you can solve the 2nd order ode without figuring out the value of i'(0) by simple observation..
"If i lost an arm, I would play w3." -IntoTheWow || "Member of Hyuk Hyuk Hyuk cafe. He's the next Jaedong, baby!"
Please log in or register to reply.
Live Events Refresh
RSL Revival
10:00
Group B
Classic vs CureLIVE!
Creator vs TriGGeR
Crank 981
Tasteless542
ComeBackTV 471
IndyStarCraft 113
Rex79
3DClanTV 49
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Crank 981
Tasteless 542
IndyStarCraft 113
Rex 79
Harstem 48
StarCraft: Brood War
Sea 17941
Britney 13224
Calm 5015
Rain 4180
Jaedong 2254
Bisu 1864
Horang2 1142
Flash 830
Pusan 407
firebathero 402
[ Show more ]
Zeus 187
Hyun 179
EffOrt 154
JYJ80
hero 67
sSak 60
Rush 59
Soulkey 57
ZerO 55
ToSsGirL 53
Backho 50
Killer 46
JulyZerg 45
Barracks 32
Free 30
Mind 29
Movie 24
Bale 13
Hm[arnc] 9
Noble 9
Icarus 7
Dota 2
XcaliburYe110
Counter-Strike
fl0m2184
shoxiejesuss317
Super Smash Bros
Mew2King64
Other Games
summit1g19041
FrodaN3025
B2W.Neo689
ceh9394
crisheroes368
Pyrionflax261
KnowMe155
Fuzer 130
NeuroSwarm33
ZerO(Twitch)8
Organizations
Other Games
gamesdonequick534
StarCraft: Brood War
lovetv 9
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• LUISG 29
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota218
League of Legends
• Stunt1540
Other Games
• WagamamaTV195
Upcoming Events
Kung Fu Cup
35m
GuMiho vs MaNa
herO vs ShoWTimE
Classic vs TBD
WardiTV Korean Royale
35m
CranKy Ducklings
22h 35m
RSL Revival
22h 35m
herO vs Gerald
ByuN vs SHIN
Kung Fu Cup
1d
Cure vs Reynor
IPSL
1d 5h
ZZZero vs rasowy
Napoleon vs KameZerg
BSL 21
1d 8h
Tarson vs Julia
Doodle vs OldBoy
eOnzErG vs WolFix
StRyKeR vs Aeternum
Sparkling Tuna Cup
1d 22h
RSL Revival
1d 22h
Reynor vs sOs
Maru vs Ryung
Kung Fu Cup
2 days
[ Show More ]
WardiTV Korean Royale
2 days
BSL 21
2 days
JDConan vs Semih
Dragon vs Dienmax
Tech vs NewOcean
TerrOr vs Artosis
IPSL
2 days
Dewalt vs WolFix
eOnzErG vs Bonyth
Replay Cast
2 days
Wardi Open
3 days
Monday Night Weeklies
3 days
WardiTV Korean Royale
4 days
BSL: GosuLeague
4 days
The PondCast
4 days
Replay Cast
5 days
RSL Revival
5 days
BSL: GosuLeague
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2025-11-07
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
RSL Revival: Season 3
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
META Madness #9
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.