English subtitles for clip: File:3 of 4 - Analysis - Explaining Fourier analysis with a machines.webm
Jump to navigation
Jump to search
1 00:00:02,580 --> 00:00:03,680 In the previous video, 2 00:00:03,690 --> 00:00:05,140 I showed how turning the crank 3 00:00:05,140 --> 00:00:06,930 on this machine generates 4 00:00:06,930 --> 00:00:08,400 twenty different frequencies 5 00:00:08,400 --> 00:00:09,770 also known as harmonics, 6 00:00:09,770 --> 00:00:11,930 which are turned into cosines here 7 00:00:11,930 --> 00:00:14,039 multiplied by coefficients 8 00:00:14,039 --> 00:00:15,420 then summed 9 00:00:15,420 --> 00:00:16,160 magnified 10 00:00:16,160 --> 00:00:17,490 and the resulting function 11 00:00:17,490 --> 00:00:19,420 plotted here on the front. 12 00:00:19,420 --> 00:00:21,690 This process is called synthesis. 13 00:00:21,690 --> 00:00:23,090 But this machine is called a 14 00:00:23,090 --> 00:00:25,090 Harmonic Analyzer 15 00:00:25,090 --> 00:00:25,920 which means it can be 16 00:00:25,920 --> 00:00:27,210 used to solve the much more 17 00:00:27,210 --> 00:00:30,250 difficult inverse problem called analysis. 18 00:00:30,250 --> 00:00:30,680 For example 19 00:00:30,680 --> 00:00:31,300 if I want to plot a 20 00:00:31,300 --> 00:00:33,090 particular function here 21 00:00:33,090 --> 00:00:35,370 how do I set the amplitude bars 22 00:00:35,370 --> 00:00:36,579 to produce it. 23 00:00:36,579 --> 00:00:37,739 To illustrate how the machine 24 00:00:37,739 --> 00:00:38,980 does analysis let's start 25 00:00:38,980 --> 00:00:40,170 with a square wave. 26 00:00:40,760 --> 00:00:42,560 First, we use some unique properties 27 00:00:42,570 --> 00:00:43,940 of the square wave. 28 00:00:43,940 --> 00:00:46,380 Since it’s periodic 29 00:00:48,520 --> 00:00:50,840 and even 30 00:00:51,360 --> 00:00:53,160 all of the information that function 31 00:00:53,170 --> 00:00:54,380 carries is contained 32 00:00:54,380 --> 00:00:56,180 in half a period. 33 00:00:57,180 --> 00:00:59,500 So we’ll take that half a period 34 00:00:59,500 --> 00:01:00,670 and sample it at twenty 35 00:01:00,670 --> 00:01:02,989 equally spaced points. 36 00:01:02,989 --> 00:01:04,479 We use the values of these points 37 00:01:04,479 --> 00:01:07,719 as the inputs for the machine. 38 00:01:11,600 --> 00:01:13,340 When we turn the crank we produce 39 00:01:13,340 --> 00:01:14,799 a new function that reveals 40 00:01:14,799 --> 00:01:16,889 the correct coefficients. 41 00:01:16,889 --> 00:01:18,439 To see how we get these coefficients 42 00:01:18,439 --> 00:01:21,060 we’ll look at the side of the machine. 43 00:01:21,060 --> 00:01:22,409 As I turn the crank the tips 44 00:01:22,409 --> 00:01:25,809 of the rocker arms form a sinusoid. 45 00:01:27,420 --> 00:01:29,279 The indices on the rocker arms run 46 00:01:29,279 --> 00:01:30,799 from high on the left 47 00:01:30,799 --> 00:01:32,060 to low on the right. 48 00:01:32,060 --> 00:01:33,240 I’ll flip the video to 49 00:01:33,240 --> 00:01:35,340 make it a little more intuitive. 50 00:01:35,340 --> 00:01:36,520 When the rocker arm tips are 51 00:01:36,520 --> 00:01:37,889 lined up in a straight line 52 00:01:37,889 --> 00:01:40,999 we’ll call that crank number zero. 53 00:01:40,999 --> 00:01:42,819 If the horizontal axis runs from 54 00:01:42,819 --> 00:01:44,170 zero to pi 55 00:01:44,170 --> 00:01:45,439 and the vertical axis from 56 00:01:45,439 --> 00:01:47,249 minus one to plus one 57 00:01:47,249 --> 00:01:48,560 then we can describe 58 00:01:48,560 --> 00:01:49,919 the position of the rocker arms 59 00:01:49,919 --> 00:01:52,419 with a cosine. 60 00:01:52,419 --> 00:01:53,609 Every two turns of the crank 61 00:01:53,609 --> 00:01:54,789 increases the frequency 62 00:01:54,789 --> 00:01:56,979 of the cosine by one. 63 00:01:56,979 --> 00:01:58,200 At these even numbered cranks 64 00:01:58,200 --> 00:01:59,439 the values of the function 65 00:01:59,439 --> 00:02:01,380 on the platen yield the coefficients 66 00:02:01,380 --> 00:02:02,770 we’re looking for. 67 00:02:02,770 --> 00:02:04,789 Let’s rewind and watch the plot 68 00:02:04,789 --> 00:02:07,619 and the rocker arms simultaneously. 69 00:02:07,619 --> 00:02:09,119 If we pause briefly at every 70 00:02:09,119 --> 00:02:10,440 second crank a point is 71 00:02:10,440 --> 00:02:12,940 marked on the function. 72 00:02:13,900 --> 00:02:18,300 We create a total of 20 points. 73 00:02:20,260 --> 00:02:21,740 If we look at the output 74 00:02:21,750 --> 00:02:23,220 from the machine and 75 00:02:23,220 --> 00:02:24,250 compare it to a sinc 76 00:02:24,250 --> 00:02:25,750 calculated by a computer 77 00:02:25,750 --> 00:02:27,770 we see that they are very similar. 78 00:02:27,770 --> 00:02:29,520 Now, we’ll take the data points 79 00:02:29,520 --> 00:02:30,490 from this sinc 80 00:02:30,490 --> 00:02:31,590 scale them 81 00:02:32,640 --> 00:02:33,300 and use these 82 00:02:33,310 --> 00:02:35,640 values on the rocker arms. 83 00:02:35,640 --> 00:02:36,800 Remember that our goal is to 84 00:02:36,800 --> 00:02:38,590 program the analyzer so that 85 00:02:38,590 --> 00:02:41,270 it will plot a square wave. 86 00:02:46,460 --> 00:02:48,420 Now, as I turn the crank 87 00:02:48,430 --> 00:02:50,370 the pen writes a horizontal line 88 00:02:50,370 --> 00:02:51,290 then drops and writes 89 00:02:51,290 --> 00:02:52,980 another flat section 90 00:02:52,980 --> 00:02:54,180 which amazes me because 91 00:02:54,180 --> 00:02:57,100 we’re adding only cosines 92 00:02:57,100 --> 00:02:58,150 and then it rises to write 93 00:02:58,150 --> 00:03:00,250 another horizontal line. 94 00:03:00,250 --> 00:03:01,530 Of course, what we’re seeing is 95 00:03:01,530 --> 00:03:02,830 a square wave. 96 00:03:04,340 --> 00:03:05,200 What I’ve just shown 97 00:03:05,210 --> 00:03:06,130 with the machine is 98 00:03:06,130 --> 00:03:07,050 an essential feature 99 00:03:07,050 --> 00:03:08,250 of fourier methods. 100 00:03:08,250 --> 00:03:09,670 I can take a function 101 00:03:09,670 --> 00:03:11,940 perform harmonic analysis 102 00:03:11,940 --> 00:03:13,330 extract the coefficients 103 00:03:13,330 --> 00:03:15,080 and then synthesize 104 00:03:15,080 --> 00:03:15,840 that function to 105 00:03:15,840 --> 00:03:17,830 approximate the original. 106 00:03:17,830 --> 00:03:19,760 So, now that we see that 107 00:03:19,760 --> 00:03:22,070 this machine can do harmonic synthesis 108 00:03:22,070 --> 00:03:23,590 and analysis I’ll show you 109 00:03:23,590 --> 00:03:24,490 in the next video 110 00:03:24,490 --> 00:03:25,740 some details about how to 111 00:03:25,740 --> 00:03:27,510 set up the analyzer to perform 112 00:03:27,510 --> 00:03:28,340 these calculations. 113 00:03:28,340 --> 00:03:29,610 I’m Bill Hammack 114 00:03:29,610 --> 00:03:31,390 the Engineer Guy. 115 00:03:31,660 --> 00:03:33,280 Next up in the series 116 00:03:33,290 --> 00:03:34,920 is operation. 117 00:03:34,920 --> 00:03:35,510 If you haven't seen 118 00:03:35,510 --> 00:03:36,400 them already there's 119 00:03:36,400 --> 00:03:37,350 also they intro 120 00:03:37,350 --> 00:03:39,230 and synthesis videos. 121 00:03:39,230 --> 00:03:40,100 You can learn more about 122 00:03:40,100 --> 00:03:41,400 the book here. 123 00:03:41,400 --> 00:03:42,400 And if you really want to 124 00:03:42,400 --> 00:03:43,700 learn more about the book 125 00:03:43,700 --> 00:03:46,040 watch the page by page. 126 00:03:46,040 --> 00:03:46,760 If you're a fan of 127 00:03:46,760 --> 00:03:48,060 oscillatory motion 128 00:03:48,060 --> 00:03:48,810 you gotta watch the 129 00:03:48,810 --> 00:03:50,489 bonus rocker arms video.