• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:31
CEST 18:31
KST 01:31
  • 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
BGE Stara Zagora 2025: Info & Preview27Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL46Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30
Community News
[BSL20] ProLeague: Bracket Stage & Dates9GSL Ro4 and Finals moved to Sunday June 15th12Weekly Cups (May 27-June 1): ByuN goes back-to-back0EWC 2025 Regional Qualifier Results26Code S RO12 Results + RO8 Groups (2025 Season 2)3
StarCraft 2
General
The SCII GOAT: A statistical Evaluation BGE Stara Zagora 2025: Info & Preview Magnus Carlsen and Fabi review Clem's chess game. Jim claims he and Firefly were involved in match-fixing GSL Ro4 and Finals moved to Sunday June 15th
Tourneys
Bellum Gens Elite: Stara Zagora 2025 Sparkling Tuna Cup - Weekly Open Tournament SOOPer7s Showmatches 2025 Master Swan Open (Global Bronze-Master 2) $5,100+ SEL Season 2 Championship (SC: Evo)
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance Mutation # 473 Cold is the Void
Brood War
General
Mihu vs Korea Players Statistics BGH auto balance -> http://bghmmr.eu/ BW General Discussion [BSL20] ProLeague: Bracket Stage & Dates Will foreigners ever be able to challenge Koreans?
Tourneys
[ASL19] Grand Finals NA Team League 6/8/2025 [Megathread] Daily Proleagues [BSL20] ProLeague Bracket Stage - Day 2
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Stormgate/Frost Giant Megathread What do you want from future RTS games? Path of Exile Nintendo Switch Thread Mechabellum
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Heroes of the Storm 2.0 Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Vape Nation Thread European Politico-economics QA Mega-thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard
TL Community
The Automated Ban List
Blogs
Cognitive styles x game perf…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Poker
Nebuchad
Customize Sidebar...

Website Feedback

Closed Threads



Active: 21534 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
Fire Grow Cup
15:00
#10 - Playoffs
CranKy Ducklings252
MindelVK67
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .286
BRAT_OK 118
Vindicta 109
ProTech87
MindelVK 67
StarCraft: Brood War
Calm 4884
Rain 2717
EffOrt 800
Horang2 680
firebathero 229
Aegong 143
TY 95
PianO 88
actioN 84
Hyun 74
[ Show more ]
sas.Sziky 64
Sea.KH 54
sSak 40
GoRush 20
soO 17
Mong 17
yabsab 12
Terrorterran 11
Dota 2
Gorgc8018
qojqva2713
XcaliburYe319
boxi98268
LuMiX1
League of Legends
JimRising 186
Counter-Strike
fl0m5989
olofmeister3691
Super Smash Bros
C9.Mang02253
Heroes of the Storm
Khaldor293
Other Games
tarik_tv58559
FrodaN1039
mouzStarbuck458
Fuzer 308
ArmadaUGS115
XaKoH 114
KnowMe113
Organizations
Other Games
BasetradeTV118
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Adnapsc2 28
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 7983
League of Legends
• Jankos2379
Other Games
• Shiphtur238
Upcoming Events
BSL: ProLeague
1h 29m
HBO vs Doodle
spx vs Tech
DragOn vs Hawk
Dewalt vs TerrOr
Replay Cast
7h 29m
Replay Cast
1d 7h
Replay Cast
1d 17h
WardiTV Invitational
1d 18h
WardiTV Invitational
1d 18h
GSL Code S
2 days
Rogue vs GuMiho
Maru vs Solar
Online Event
3 days
GSL Code S
3 days
herO vs Zoun
Classic vs Bunny
The PondCast
3 days
[ Show More ]
Replay Cast
4 days
WardiTV Invitational
4 days
Korean StarCraft League
5 days
CranKy Ducklings
5 days
WardiTV Invitational
5 days
Cheesadelphia
5 days
GSL Code S
6 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Proleague 2025-06-05
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL Season 17: Qualifier 2
2025 GSL S2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

CSL 17: 2025 SUMMER
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Murky Cup #2
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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.