cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Getting started with Laplace in MathCAD

Anselme
8-Gravel

Getting started with Laplace in MathCAD

I am trying to get started with Laplace transform in MathCAD 15 and I would like help to find what I did wrong in the document I uploaded.

It’s a simple second order RC circuit. V1 is a constant value. I tried to find V2(t). C2V0 and C1V0 are initial conditions of capacitors.

 

The result I got with invlaplace makes no sense.

Thanks

ACCEPTED SOLUTION

Accepted Solutions
-MFra-
21-Topaz II
(To:-MFra-)

I have to make a small correction:

For Anselme 12.jpg

You can do even so:

For Anselme 123.jpg

View solution in original post

14 REPLIES 14
LucMeekes
23-Emerald III
(To:Anselme)

Does this help:

LM_20181002_Laplace.png

(Note that the last expression runs further to the right. See attached Mathcad sheet.)

 

Success!

Luc

Thanks Luc,

 

But your sheet doesn't run in my MathCAD 15. see attached jpg

 

LucMeekes
23-Emerald III
(To:Anselme)

Funny, it would mean that your Mathcad cannot even solve the first set of equations (no Laplace involved there). That's unbelievable.

I generally have Automatic Calculation switched off. Did you press F9 after opening the sheet...?

 

Success!
Luc

Hi Luc,

I works, it was in manual calculation.

There is so many things I dont know about MathCAD...

 

At this point, you will not be surprised if I tell you that I am a little confused with your matrix solution.

 

Would you be kind enough to make a solution without matrix?

 

Your help is very appreciated.

LucMeekes
23-Emerald III
(To:Anselme)

You HAVE to solve both V2 and V3 at the same time. That's what the Kirchoff (column) vector (it's not a matrix) is for. I see no other way to solve them both at the same time. {Oh, I could use a solve block... I find them ugly.}

It results in a (row) vector. That, in mathcad terms, is a matrix (one row, n columns). From that I pick the solutions for V2 and V3 and apply the inverse Laplace.

You Mathcad (probably 15) results in different(ly looking) expressions. That is due to the fact that the underlying symbolic machine is different. mathcad 11 uses a maple machine. Mathcad starting version 14 uses MuPad. In general Maple is more powerful, on occasion Mupad gives 'nicer' results (it will show a root, where Maple uses exponent 1/2).

 

Success!
Luc

P.S. I see now that I've probably made an error. Didn't apply Kirchoff's law properly. I'll try again later.

LucMeekes
23-Emerald III
(To:LucMeekes)

Here's my correction:

LM_20181002_Laplace.png

With the output of an electronic circuit simulator, to check correctness:

LM_20181002_LaplaceSim.png

Note that the voltages at nodes V2 and V3 at 100 s match with those calculated by Mathcad.

 

Success!
Luc

-MFra-
21-Topaz II
(To:Anselme)

Hi Anselme,

Allow me to point out you that the circuit you have drawn as  the Laplace transform of the given network, however, contains an error. In fact the Laplace transform of a constant voltage L(V1) = V1/s, instead you wrote V1 which is the Laplace transform of a Dirac pulse of area V1. So if the voltage source is an independent and constant voltage generator,  you have to correct the drawing and all the calculations.

Greetings

Anselme
8-Gravel
(To:-MFra-)

Hi Luc,

I was hesitant about that.

If I use V1/s, MathCAD dont solve the invlaplace at all.

see attached

VladimirN
24-Ruby II
(To:Anselme)

Here is a result from Mathcad 15 M045.

-MFra-
21-Topaz II
(To:Anselme)

Hi Anselme,

my solution without R1:

For Anselme.jpg

Anselme
8-Gravel
(To:-MFra-)

Can you attach the worksheet?

-MFra-
21-Topaz II
(To:Anselme)

Hi Anselme,

my solution is the followinig:

For Anselme 11.jpg

ttokoro
20-Turquoise
(To:-MFra-)

Millman's theorem

Millman's theorem.png

-MFra-
21-Topaz II
(To:-MFra-)

I have to make a small correction:

For Anselme 12.jpg

You can do even so:

For Anselme 123.jpg

Announcements

Top Tags