Pulses and Waveforms

Pulses and Waveforms - MCad - SMath Studio - Poruke

#1 Objavljeno: 16. 4. 2021. 17:32:09
Norm Schutzkus

Norm Schutzkus

9 svidjanja u 90 postova.

Grupa: 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.

Fajl nije pronađen.Fajl nije pronađen.Fajl nije pronađen.

I welcome your review and look forward to your reply.

Sincerely,

Norm
#2 Objavljeno: 16. 4. 2021. 18:36:17
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

Page5 Norm.sm (20,55 KiB) preuzeto 1462 put(ova).
#3 Objavljeno: 16. 4. 2021. 21:00:31
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

Page5 Norm.sm (26,84 KiB) preuzeto 1409 put(ova).
#4 Objavljeno: 16. 4. 2021. 22:07:11
Norm Schutzkus

Norm Schutzkus

9 svidjanja u 90 postova.

Grupa: User

Pulses and Waveforms work in progress.sm (679,02 KiB) preuzeto 1307 put(ova).

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,72 KiB) preuzeto 778 put(ova).

Best regards,

Norm
#5 Objavljeno: 16. 4. 2021. 22:42:57
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: 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 Objavljeno: 17. 4. 2021. 09:39:55
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 17. 4. 2021. 17:57:22
Norm Schutzkus

Norm Schutzkus

9 svidjanja u 90 postova.

Grupa: 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 Objavljeno: 1. 6. 2021. 19:39:35
Norm Schutzkus

Norm Schutzkus

9 svidjanja u 90 postova.

Grupa: 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,44 KiB) preuzeto 1328 put(ova).
#9 Objavljeno: 2. 6. 2021. 13:06:59
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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,87 KiB) preuzeto 1231 put(ova).
Convolution Numerical [Pulse model].sm (26,48 KiB) preuzeto 1055 put(ova).
Convolution Pulse Integration.sm (31,68 KiB) preuzeto 1233 put(ova).
Laplace Admittance Analyzer.sm (1,03 MiB) preuzeto 1368 put(ova).
#10 Objavljeno: 2. 6. 2021. 18:55:11
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: User

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

Delta f(x).PNG
#11 Objavljeno: 2. 6. 2021. 19:53:24
Norm Schutzkus

Norm Schutzkus

9 svidjanja u 90 postova.

Grupa: User

Thanks Jean! I'll look at this.

Best regards,

Norm
  • Novi postovi
  • Nema novih postova