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

13-Aquamarine

## square wave train

Hello,

I want to create a square wave train with 40 kHz frequency. The problem with the attached worksheet is

1- it doesn't start from zero amplitude

2- I don't know how to add the factor (x-vt) , x= position and v=the sound speed, to simulate the wave train propagation in "x" direction.

Could you please give me some hints.

All the best

Payman

1 ACCEPTED SOLUTION

Accepted Solutions
21-Topaz I
(To:payman)

Example of voltage step propagation, along a line, in space and time:

10 REPLIES 10
23-Emerald I
(To:payman)

Maybe a place to start

21-Topaz I
(To:payman)

Example of voltage step propagation, along a line, in space and time:

23-Emerald I
(To:payman)

Fixed to start at zero

13-Aquamarine
(To:Fred_Kohlhepp)

thank you, the worksheet generates an infinite train , how can I truncate it to 10 periods ?

23-Emerald I
(To:payman)

This should do it, for any frequency Fs, amplitude A, duty-cycle d and number of periods p:

Success!
Luc

23-Emerald I
(To:LucMeekes)

Nicely done

15-Moonstone
(To:LucMeekes)

hi luc,

your solution to this looks interesting. i'd like to try it out, but i don't see a mathcad file for it. can you post it?

thanks,

anthony

23-Emerald I
(To:prop_design)

You should be able to type it in yourself.

But, OK, see attached.

Success!
Luc

15-Moonstone
(To:LucMeekes)

thanks luc,

i wasn't sure if there was more to it or not. i played around with the file you posted. it seems to have a lot of odd behavior depending on the inputs used. one odd thing is the duty cycle is at the end of the cycle rather than the beginning. the other odd things seem to be input limitations. kinda hard to explain.

15-Moonstone
(To:prop_design)

hi,

here is a modification that works more like what i was expecting. i'll make a new thread using it to drive a mass spring damper. thanks for this. i never would have figured it out without your post.

anthony

Announcements
Check out the latest