• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:51
CEST 19:51
KST 02:51
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
BSL 2025 Warsaw LAN + Legends Showmatch0Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29
StarCraft 2
General
StarCraft II 5.0.15 PTR Patch Notes #1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast
Tourneys
RSL: Revival, a new crowdfunded tournament series Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia WardiTV TL Team Map Contest #5 Tournaments
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
Soulkey on ASL S20 BW General Discussion ASL20 General Discussion ASL TICKET LIVE help! :D NaDa's Body
Tourneys
[ASL20] Ro16 Group D [Megathread] Daily Proleagues [ASL20] Ro16 Group C BSL 2025 Warsaw LAN + Legends Showmatch
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Stormgate/Frost Giant Megathread Borderlands 3 Path of Exile Nintendo Switch Thread General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread UK Politics Mega-thread Canadian Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
i'm really bored guys
Peanutsc
I <=> 9
KrillinFromwales
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1677 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 16h 9m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 188
JuggernautJason120
ProTech99
Codebar 37
StarCraft: Brood War
Britney 23631
Bisu 1325
EffOrt 768
Mini 615
Hyuk 266
Soulkey 133
Larva 118
ggaemo 101
hero 100
Rush 79
[ Show more ]
Hyun 39
Aegong 32
ToSsGirL 22
sas.Sziky 20
scan(afreeca) 19
Yoon 19
Sexy 10
IntoTheRainbow 7
Shine 0
Dota 2
Gorgc7892
qojqva3855
Fuzer 139
League of Legends
Trikslyr74
Counter-Strike
fl0m1046
ScreaM866
Other Games
tarik_tv25850
gofns23595
FrodaN1620
Beastyqt629
Lowko307
RotterdaM270
Hui .226
ArmadaUGS133
C9.Mang0102
QueenE60
mouzStarbuck44
NeuroSwarm36
Sick19
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Reevou 1
• intothetv
• Kozan
• sooper7s
• AfreecaTV YouTube
• Migwel
• LaughNgamezSOOP
• IndyKCrew
StarCraft: Brood War
• Azhi_Dahaki19
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3561
• WagamamaTV491
League of Legends
• Nemesis3133
• TFBlade632
Other Games
• imaqtpie440
• Shiphtur234
Upcoming Events
RSL Revival
16h 9m
Zoun vs Classic
Map Test Tournament
17h 9m
Korean StarCraft League
1d 9h
BSL Open LAN 2025 - War…
1d 14h
RSL Revival
1d 16h
Reynor vs Cure
BSL Open LAN 2025 - War…
2 days
RSL Revival
2 days
Online Event
2 days
Wardi Open
3 days
Monday Night Weeklies
3 days
[ Show More ]
Sparkling Tuna Cup
4 days
LiuLi Cup
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
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.