Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline - Norm -  
#1 Posted : 16 April 2021 23:32:09(UTC)
- Norm -


Rank: Advanced Member

Groups: Registered
Joined: 29/11/2017(UTC)
Posts: 82
United States
Location: Midwest

Was thanked: 9 time(s) in 7 post(s)
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.

Pulses and Waveforms work in progress.sm (680kb) downloaded 17 time(s). Pulses and Waveforms.pdf (947kb) downloaded 15 time(s). Pulses And Waveforms.zip (2,442kb) downloaded 10 time(s).

I welcome your review and look forward to your reply.

Sincerely,

Norm

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Jean Giraud  
#2 Posted : 17 April 2021 00:36:17(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
The *.sm document does not open ... PDF YES
Play with these two ... Jean

Page5 Norm.sm (21kb) downloaded 11 time(s).
Offline Jean Giraud  
#3 Posted : 17 April 2021 03:00:31(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
... added numerical convolution.
From brushing the *.PDF "pulse" has no limit.
Show some you need for concluding a project.

Page5 Norm.sm (27kb) downloaded 15 time(s).
Offline - Norm -  
#4 Posted : 17 April 2021 04:07:11(UTC)
- Norm -


Rank: Advanced Member

Groups: Registered
Joined: 29/11/2017(UTC)
Posts: 82
United States
Location: Midwest

Was thanked: 9 time(s) in 7 post(s)
Pulses and Waveforms work in progress.sm (680kb) downloaded 17 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 (130kb) downloaded 5 time(s).

Best regards,

Norm
Offline Razonar  
#5 Posted : 17 April 2021 04:42:57(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,356
Uruguay

Was thanked: 815 time(s) in 516 post(s)
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.
Offline Jean Giraud  
#6 Posted : 17 April 2021 15:39:55(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: nasch Go to Quoted Post
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

Offline - Norm -  
#7 Posted : 17 April 2021 23:57:22(UTC)
- Norm -


Rank: Advanced Member

Groups: Registered
Joined: 29/11/2017(UTC)
Posts: 82
United States
Location: Midwest

Was thanked: 9 time(s) in 7 post(s)
Many thanks Alvaro & Jean,

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

Stay safe and take care.

Sincerely,

Norm
Offline - Norm -  
#8 Posted : 02 June 2021 01:39:35(UTC)
- Norm -


Rank: Advanced Member

Groups: Registered
Joined: 29/11/2017(UTC)
Posts: 82
United States
Location: Midwest

Was thanked: 9 time(s) in 7 post(s)
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 (339kb) downloaded 20 time(s).
Offline Jean Giraud  
#9 Posted : 02 June 2021 19:06:59(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: nasch Go to Quoted Post
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 (14kb) downloaded 11 time(s).
Convolution Numerical [Pulse model].sm (27kb) downloaded 11 time(s).
Convolution Pulse Integration.sm (32kb) downloaded 12 time(s).
Laplace Admittance Analyzer.sm (1,059kb) downloaded 12 time(s).
Offline Jean Giraud  
#10 Posted : 03 June 2021 00:55:11(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
This one is very useful as you mesh and range from the creation..
Superb to highlight segments.

Delta f(x).PNG
Offline - Norm -  
#11 Posted : 03 June 2021 01:53:24(UTC)
- Norm -


Rank: Advanced Member

Groups: Registered
Joined: 29/11/2017(UTC)
Posts: 82
United States
Location: Midwest

Was thanked: 9 time(s) in 7 post(s)
Thanks Jean! I'll look at this.

Best regards,

Norm
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.