• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 07:43
CET 13:43
KST 21:43
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!12$5,000+ WardiTV 2025 Championship4[BSL21] RO32 Group Stage3Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win9
StarCraft 2
General
Starcraft, SC2, HoTS, WC3, returning to Blizzcon! RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win 5.0.15 Patch Balance Hotfix (2025-10-8) TL.net Map Contest #21: Voting
Tourneys
Constellation Cup - Main Event - Stellar Fest Merivale 8 Open - LAN - Stellar Fest $5,000+ WardiTV 2025 Championship Sea Duckling Open (Global, Bronze-Diamond) $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review [BSL21] RO32 Group Stage Practice Partners (Official) [ASL20] Ask the mapmakers — Drop your questions
Tourneys
BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION [ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion Thread
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 Russo-Ukrainian War Thread YouTube Thread Things Aren’t Peaceful in Palestine Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
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 Recent Gifted Posts
Blogs
Why we need SC3
Hildegard
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1527 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
Next event in 2h 18m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Jaedong 2187
GuemChi 2094
Sea 1723
firebathero 606
Pusan 419
Stork 312
Soma 282
Leta 244
Last 235
Hyun 177
[ Show more ]
Light 147
Rush 102
Snow 97
sSak 90
Killer 81
Barracks 71
ToSsGirL 69
hero 66
Backho 60
ZerO 59
Mong 56
Shine 43
JulyZerg 36
Sharp 34
Sea.KH 30
Movie 24
zelot 23
Terrorterran 12
Noble 12
scan(afreeca) 11
Icarus 9
IntoTheRainbow 8
Dota 2
BananaSlamJamma240
XcaliburYe191
Counter-Strike
x6flipin638
zeus444
oskar114
edward62
Other Games
singsing1954
B2W.Neo530
crisheroes281
DeMusliM226
Happy165
Fuzer 145
XaKoH 134
Liquid`LucifroN86
Mew2King70
ZerO(Twitch)4
Organizations
Counter-Strike
PGL185
StarCraft: Brood War
lovetv 7
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• StrangeGG 68
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 13
• HerbMon 4
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV309
League of Legends
• Jankos2836
• Stunt228
Upcoming Events
LAN Event
2h 18m
OSC
9h 18m
Replay Cast
10h 18m
OSC
23h 18m
LAN Event
1d 2h
Korean StarCraft League
1d 14h
CranKy Ducklings
1d 21h
WardiTV Korean Royale
1d 23h
LAN Event
2 days
IPSL
2 days
dxtr13 vs OldBoy
Napoleon vs Doodle
[ Show More ]
BSL 21
2 days
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
2 days
Sparkling Tuna Cup
2 days
WardiTV Korean Royale
2 days
LAN Event
3 days
IPSL
3 days
JDConan vs WIZARD
WolFix vs Cross
BSL 21
3 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
3 days
Wardi Open
3 days
WardiTV Korean Royale
4 days
Replay Cast
5 days
Kung Fu Cup
5 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
6 days
The PondCast
6 days
RSL Revival
6 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
6 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
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
Esports World Cup 2025

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 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.