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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Inverse Laplace Transforms

ssato
15-Moonstone

Inverse Laplace Transforms

Hello everyone,

 

I attached the work sheet by Prime7.

I want to draw the graph of i1(t).

 

But I can't  draw the graph. 

I tried without unit. But the result is same.

 

Please advise me.

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:ssato)

Apparently your Vin is a square wave...

Have you tried what Prime finds for the invlaplace of just:

tanh(s)    ?

According to WolframAlpha it's:

LucMeekes_0-1640161140641.png

I don't see how Prime got an infinit'th derivative in there, but that's what it tries to do apparently.

That said, I don't think you will be able to solve this problem in this generic way. Try to describe your input for just a few cycles of the square wave, instead of the general square wave. That gives you a better chance of performing the inverse laplace. I suggest you have alook here: https://community.ptc.com/t5/PTC-Mathcad/Square-Sine-and-PiceWise-Linear-Waves-Functions/m-p/718121#M194834

And, if you're only curious about the form of the resulting wave, use a circuit simulator (SPICE, LTspice, or the like).

 

Success!
Luc

View solution in original post

19 REPLIES 19
LucMeekes
23-Emerald III
(To:ssato)

Apparently your Vin is a square wave...

Have you tried what Prime finds for the invlaplace of just:

tanh(s)    ?

According to WolframAlpha it's:

LucMeekes_0-1640161140641.png

I don't see how Prime got an infinit'th derivative in there, but that's what it tries to do apparently.

That said, I don't think you will be able to solve this problem in this generic way. Try to describe your input for just a few cycles of the square wave, instead of the general square wave. That gives you a better chance of performing the inverse laplace. I suggest you have alook here: https://community.ptc.com/t5/PTC-Mathcad/Square-Sine-and-PiceWise-Linear-Waves-Functions/m-p/718121#M194834

And, if you're only curious about the form of the resulting wave, use a circuit simulator (SPICE, LTspice, or the like).

 

Success!
Luc

ssato
15-Moonstone
(To:LucMeekes)

Luc san,

 

 The input voltage is continuous rectangular wave.

We get the laplace  transofrm from a text book.

 

I agree the using circuit simulator.

 

Thanks

 

ttokoro
20-Turquoise
(To:ssato)

Using E(s) instead of 1/s*tanh(s*T/4), you can get the answer.  T and E must change the ones you use in your sheet.

image.pngimage.pngimage.pngimage.pngimage.pngimage.png

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

Hello,

in the file you find at https://community.ptc.com/t5/PTC-Mathcad/3-LOW-PASS-I-order-DIGITAL-FILTERS-EQUIVALENT-TO-LINEAR-CLASSICS/mp/449024 # M176358, there is the study with the use of the Laplace transform, of the response of a linear and stationary system to different periodic signals.

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

Hi!
my solution with Mathcad 15:

answer to ssato.jpg

ssato
15-Moonstone
(To:-MFra-)

MFra san,

 

Your answer is too difficult for me.

I try to study your reply..

 

Thanks

 

 

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

Hello,

in the file you find at https://community.ptc.com/t5/PTC-Mathcad/3-LOW-PASS-I-order-DIGITAL-FILTERS-EQUIVALENT-TO-LINEAR-CLASSICS/mp/449024 # M176358, there is the study with the use of the Laplace transform, of the response of a linear and stationary system to different periodic signals.

LucMeekes
23-Emerald III
(To:ssato)

If I'm not mistaken, this your circuit:

LucMeekes_4-1640275834895.png

(L1 is quite a large inductor)

This is I1, the current in L2:

LucMeekes_3-1640275716557.png

Appears to increase to a steady amplitude, but look further:

LucMeekes_5-1640275926271.png

And in the long run, the first 20 ms:

LucMeekes_6-1640275982286.png

And up to 200 ms.

LucMeekes_7-1640276165563.png

 

Success!
Luc

 

 

 

ttokoro
20-Turquoise
(To:LucMeekes)

Magnitude of i1(t) is different but the shape is almost same by Prime 7 for 25 cycles of applied voltage with +-both sign applied.

image.pngimage.png

ssato
15-Moonstone
(To:ttokoro)

Hello Luc san, ttokoro san,

 

I attempt your method what is to describe my input wave form for just a few cycles of the square wave

I attached the work sheet. Almost is OK.

But I think the polarity of the only first cycle is reversed.

 

ssato_0-1640321315920.png

The polarity of waveform attached by ttokoro-san looks correct.

 

Is my wave form is correct , or do I have a mistake ?

 

Thanks

 

ttokoro
20-Turquoise
(To:ssato)

This is my Prime 7 answer of just 4 cycles. The value of each impedance has very small or large. So I without use float command and using all digits that Mathcad can.

image.png

ssato
15-Moonstone
(To:ttokoro)

ttokoro san

 

I checked the wave form without float.

The results is OK.

I understood that "float" affects the later calculated values.

 

Thanks

 

ttokoro
20-Turquoise
(To:ttokoro)

Using unipolar voltage signal the result is as same as  by LucMeekes.

image.png

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

Hi!

Taking the cue from the circuit provided by LucMeekes and considering I1 as the current produced by the generator, I made this analysis of the circuit by inspection. The results are:

answer to ssato++.jpg

ttokoro
20-Turquoise
(To:-MFra-)

image.pnginstead of 9.02*10^-12.

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

Improved solution:

answer to ssato W.jpg

ttokoro
20-Turquoise
(To:-MFra-)

Dear MFra,

Your last equation h(t) has no Unit step function, USF 

 

image.png

I think step voltage responce must have USF for every switchuing time as at first Luc shows us.

Because this transient responce is a convolution of Voltage signal and the inpulce response of the system. 

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

thank you very much, I corrected the original.

MSheykman
12-Amethyst
(To:ssato)

You get symbolic evaluation result that contains a limit and cannot be evaluated to real numbers neither symbolically, not numerically, that is why it also cannot be plotted.

Behind the scene plot just takes the input function and calculates it's values in some set of points. The function that you pass to plot cannot be evaluated in any of the points, that is why you see this error message and no trace.

We did some improvements related to integral transforms in Mathcad Prime 8, but they do not help in this particular case.

Please report this problem to tech support (https://www.ptc.com/support/case-logger) and we will check if it is possible to improve handling of such cases.

Announcements

Top Tags