• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:22
CEST 10:22
KST 17:22
  • 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
TL.net Map Contest #21: Voting9[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80Weekly Cups (Sept 29-Oct 5): MaxPax triples up3PartinG joins SteamerZone, returns to SC2 competition32
StarCraft 2
General
Berapa nomor WA tokopedia seller? Wa tokopedia seller The New Patch Killed Mech! Revisiting the game after10 years and wow it's bad Stellar Fest: StarCraft II returns to Canada
Tourneys
SC2's Safe House 2 - October 18 & 19 $1,200 WardiTV October (Oct 21st-31st) WardiTV Mondays RSL Offline Finals Dates + Ticket Sales! SC4ALL $6,000 Open LAN in Philadelphia
Strategy
Custom Maps
External Content
Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers Mutation # 492 Get Out More
Brood War
General
BSL Team A vs Koreans - Sat-Sun 16:00 CET BW General Discussion Question regarding recent ASL Bisu vs Larva game [Interview] Grrrr... 2024 Pros React To: BarrackS + FlaSh Coaching vs SnOw
Tourneys
[ASL20] Semifinal B SC4ALL $1,500 Open Bracket LAN [Megathread] Daily Proleagues [ASL20] Semifinal A
Strategy
Current Meta BW - ajfirecracker Strategy & Training Relatively freeroll strategies Siegecraft - a new perspective
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Path of Exile Nintendo Switch Thread ZeroSpace Megathread
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
SPIRED by.ASL Mafia {211640} TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Series you have seen recently... Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 NBA General Discussion 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 Recent Gifted Posts
Blogs
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1457 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 1h 38m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Larva 776
PianO 500
Backho 87
sSak 68
Sacsri 43
Britney 0
Counter-Strike
Stewie2K472
Heroes of the Storm
Khaldor182
Other Games
summit1g16019
Happy241
rGuardiaN47
Trikslyr18
MindelVK11
Organizations
Counter-Strike
PGL13398
Other Games
gamesdonequick944
StarCraft: Brood War
CasterMuse 6
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• LUISG 19
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV1090
League of Legends
• Jankos1838
Upcoming Events
Sparkling Tuna Cup
1h 38m
Safe House 2
8h 38m
IPSL
10h 38m
Sziky vs Havi
Artosis vs Klauso
Monday Night Weeklies
1d 7h
WardiTV Invitational
2 days
WardiTV Invitational
2 days
Tenacious Turtle Tussle
3 days
The PondCast
4 days
WardiTV Invitational
5 days
Online Event
5 days
[ Show More ]
RSL Revival
5 days
RSL Revival
6 days
WardiTV Invitational
6 days
Afreeca Starleague
6 days
Snow vs Soma
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
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
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 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.