Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #536806
| From | Martin Brown <'''newspam'''@nezumi.demon.co.uk> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: Applet showing how square wave appears after filter |
| Date | 2019-03-27 09:17 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <q7ff40$lgs$1@gioia.aioe.org> (permalink) |
| References | <op.zy1uasr28wgptj@lella-hp.station> <6a3e82e1-f534-404c-9850-3fface85d0ff@googlegroups.com> <op.zy719ytl8wgptj@lella-hp.station> |
On 25/03/2019 19:11, blisca wrote:
> In data marzo 2019 alle ore 17:29:57, <makolber@yahoo.com> ha scritto:
>
>> On Friday, March 22, 2019 at 6:33:36 AM UTC-4, blisca wrote:
>>> Hello
>>>
>>> is there any online tool showing how a low pass filetr affects an ideal
>>> square wave,or at least
>>> a square wave containing frequencies much higher than the filter cut off
>>> frequency?
>>>
>>> Thanks
>>>
> Thanks,
> the question origin was to show to some guys online ,in an amateur
> electronic group,what
> they could expect when measuring a square wave generated by decently
> fast logic with a "slower" oscilloscope.
> They have their oscilloscope and generator,so i was simply trying to
> demonstrate that the showed waveform was steep as expected,confirming
> the guidelines in the book "HIGH-SPEED DIGITAL DESIGN"
> Thanks for your attention
>
Given what you want to do then direct Fourier synthesis in a spreadsheet
would be one quite informative way to do it and allow you to try various
filters manually.
Column A
A1 = n
A2 = Filter
A3 = t
A4 = 0
A5 = PI()/1024
A6 = =A5+A$5
Column B
B1 = 1
B2 = 1
B3 = ="sin("&B1&"t)"
B4 = =B$2*sin(B$1*A$4)/B$1
Column C
C1 = B1+2
C2 = EXP(-C1*C1/$AA2)
Copy the formulae to populate A5..Z2500
Column AA
AA1 = 0
AA2 = 2000
AA3 = Summation
AA4 = SUM(B4..Z4)
Copy this down to AA2500
Select A3..AA2500 range and Insert XY scatter diagram lines only.
You will see the resultant square wave summation and all the components
that go into it up to the 50th harmonic. Most people are surprised just
how much the brick wall cutoff to zero filter rings.
Try AA2 = 2000 or thereabouts to get realistic scope waveforms.
or for a flat response until some frequency cutoff try
C2 = IF(C1<$AA1,1,EXP(-((C1-$AA1)^2/$AA2)
Obviously you could do it over a wider range but it gets slower.
Triangle wave would be form
B4 = =B$2*COS(B$1*A$4)/B$1^2
It is interesting to note what a difference the phase makes if you try
to just apply the right amplitudes to the SIN expression.
This is mainly intended as a teaching aid for people to interact with
simple functions and their transforms in the Fourier domain.
--
Regards,
Martin Brown
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Applet showing how square wave appears after filter blisca <blisca@tiscali.it> - 2019-03-22 11:33 +0100
Re: Applet showing how square wave appears after filter John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-22 03:56 -0700
Re: Applet showing how square wave appears after filter George Herold <gherold@teachspin.com> - 2019-03-22 06:13 -0700
Re: Applet showing how square wave appears after filter makolber@yahoo.com - 2019-03-25 09:29 -0700
Re: Applet showing how square wave appears after filter blisca <blisca@tiscali.it> - 2019-03-25 20:11 +0100
Re: Applet showing how square wave appears after filter George Herold <gherold@teachspin.com> - 2019-03-25 12:55 -0700
Re: Applet showing how square wave appears after filter Tom Gardner <spamjunk@blueyonder.co.uk> - 2019-03-25 20:11 +0000
Re: Applet showing how square wave appears after filter George Herold <gherold@teachspin.com> - 2019-03-25 13:31 -0700
Re: Applet showing how square wave appears after filter Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-03-27 09:17 +0000
Re: Applet showing how square wave appears after filter blisca <blisca@tiscali.it> - 2019-03-27 19:37 +0100
csiph-web