Pulses and Waveforms

Pulses and Waveforms - MCad - SMath Studio - Messages

#1 Posted: 4/16/2021 5:32:09 PM
Norm Schutzkus

Norm Schutzkus

9 likes in 90 posts.

Group: User

Hello SMATH Forum,

I recently came across a set of MathCad sheets, which I am attempting to extract a small sample; rectified waveform and ripple. As I am trying to reconstruct in SMath, early on, I cannot resolve a few definitions; functions "rect1(...)" and "g1hw(...).

I'm hoping someone can help. Attached is my SMath sheet and the reference MathCad15 files.

File not found.File not found.File not found.

I welcome your review and look forward to your reply.

Sincerely,

Norm
#2 Posted: 4/16/2021 6:36:17 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

The *.sm document does not open ... PDF YES
Play with these two ... Jean

Page5 Norm.sm (20 KiB) downloaded 31 time(s).
#3 Posted: 4/16/2021 9:00:31 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... added numerical convolution.
From brushing the *.PDF "pulse" has no limit.
Show some you need for concluding a project.

Page5 Norm.sm (26 KiB) downloaded 37 time(s).
#4 Posted: 4/16/2021 10:07:11 PM
Norm Schutzkus

Norm Schutzkus

9 likes in 90 posts.

Group: User

Pulses and Waveforms work in progress.sm (679 KiB) downloaded 44 time(s).

Thanks Jean! I hope the attached works now.

The function g1hw fails. The comment "k - not defined". Hopefully, the attached pdf of my fist page give you an idea. Pulses and Waveforms work in progress - nas.pdf (129 KiB) downloaded 36 time(s).

Best regards,

Norm
#5 Posted: 4/16/2021 10:42:57 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Hi Norm. Some few notes:
- For speed up the code, you must to put at some places some eval() in SMath.
- Some vectorization are automatics in Mathcad, but not in SMath. Here you can use the index nk instead implicit or explicit vectorization, as shows the picture.
- N0.gc is 2^8, and it is for use as the finite index for fast Fourier sums, but it's too big for SMath. Use something lower.
- T.hw is undefined in you worksheet.

Clipboard02.jpg

Best regards.
Alvaro.
#6 Posted: 4/17/2021 9:39:55 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Thanks Jean! I hope the attached works now.


Your latest version opens, but SS 6179 complains, can't make it work.
Can you reproduce as doctored by Alvaro, to see something.
Experiment the Pulse Train ... it does a lot !
Cheers ... Jean

Pulse train.PNG

#7 Posted: 4/17/2021 5:57:22 PM
Norm Schutzkus

Norm Schutzkus

9 likes in 90 posts.

Group: User

Many thanks Alvaro & Jean,

As always, I appreciate your high-level knowledge using this fantastic tool!

Stay safe and take care.

Sincerely,

Norm
#8 Posted: 6/1/2021 7:39:35 PM
Norm Schutzkus

Norm Schutzkus

9 likes in 90 posts.

Group: User

Work in progress...

I gave up on the MathCad "Pulses and Waveforms" conversion.

The attached sheet is not complete, just my attempts at the graphs thus-far. I'll need to spend some time working in the diodes conduction range.

Anyway, using the discharge profile looks close, not correct, but has a close resemblance.

Best regards,

Norm
Single-phase full-wave bridge rectifier circuit with C-filter and resistive load.sm (338 KiB) downloaded 44 time(s).
#9 Posted: 6/2/2021 1:06:59 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

I gave up on the MathCad "Pulses and Waveforms" conversion.


This one is above my head.
On the other hand, Smath depends largely upon "plugins"
and they don't behave all same, i.e: Fourier stuff.
In the mean time, you can visit these 4 examples.
Cheers ... Jean.

Convolution RC 6179.sm (13 KiB) downloaded 38 time(s).
Convolution Numerical [Pulse model].sm (26 KiB) downloaded 34 time(s).
Convolution Pulse Integration.sm (31 KiB) downloaded 43 time(s).
Laplace Admittance Analyzer.sm (1 MiB) downloaded 37 time(s).
#10 Posted: 6/2/2021 6:55:11 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

This one is very useful as you mesh and range from the creation..
Superb to highlight segments.

Delta f(x).PNG
#11 Posted: 6/2/2021 7:53:24 PM
Norm Schutzkus

Norm Schutzkus

9 likes in 90 posts.

Group: User

Thanks Jean! I'll look at this.

Best regards,

Norm
  • New Posts New Posts
  • No New Posts No New Posts