{"id":21688,"date":"2019-01-30T08:05:34","date_gmt":"2019-01-30T16:05:34","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=21688"},"modified":"2021-06-09T13:28:26","modified_gmt":"2021-06-09T20:28:26","slug":"how-to-use-the-scope-filter-channel","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/how-to-use-the-scope-filter-channel\/","title":{"rendered":"How To Use The Scope Filter Channel"},"content":{"rendered":"<p>Recently, a new channel was added to the Oscilloscope Tool. Now in addition to the two original oscilloscope channels, the basic and custom math channels and reference channels, you can also add a filter channel.<\/p>\n<figure id=\"attachment_21774\" aria-describedby=\"caption-attachment-21774\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21774 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-SIne-600x267.png\" alt=\"\" width=\"600\" height=\"267\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-SIne-600x267.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-SIne-768x341.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-SIne-1024x455.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-SIne-800x356.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-SIne.png 1111w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-21774\" class=\"wp-caption-text\">The default custom sine signal.<\/figcaption><\/figure>\n<p>To demonstrate this channel, first I&#8217;ll start with a custom waveform. Open the <strong>Waveform Generator<\/strong> and select the c<em>ustom mode<\/em>. Click <em>new<\/em>, to add a new custom channel.<\/p>\n<p>We&#8217;ll start with the default sine wave. Make sure the default settings match mine, and then click <em>generate<\/em>.<\/p>\n<p>Next we&#8217;ll need to add a higher frequency component. Open the <em>Alter tab<\/em> and make sure +Add is selected. Click <em>Alter with<\/em>.<\/p>\n<figure id=\"attachment_21772\" aria-describedby=\"caption-attachment-21772\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21772 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Alter-with-600x266.png\" alt=\"\" width=\"600\" height=\"266\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Alter-with-600x266.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Alter-with-768x340.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Alter-with-1024x453.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Alter-with-800x354.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Alter-with.png 1107w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-21772\" class=\"wp-caption-text\">The Alter tab allows us to add to, subtract from, multiply, or divide our base signal.<\/figcaption><\/figure>\n<p>Here, the same default sine wave will populate. Change the Cycles selection from 1 to <em>10.<\/em> This will add a sine wave component with 10 times the frequency. You should see the waveform that I have below in the Custom window. Click <em>okay<\/em> to add it to the <strong>Waveform Generator<\/strong>.<\/p>\n<figure id=\"attachment_21773\" aria-describedby=\"caption-attachment-21773\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21773 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-done-600x417.png\" alt=\"\" width=\"600\" height=\"417\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-done-600x417.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-done-768x534.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-done-1024x712.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-done-800x556.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Custom-done.png 1157w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-21773\" class=\"wp-caption-text\">The custom waveform in the Waveform Generator custom mode.<\/figcaption><\/figure>\n<p>Make sure that your custom waveform that was just created is selected, then and click<em> Run<\/em>. Connect the Waveform Generator to Oscilloscope Channel 1.<\/p>\n<figure id=\"attachment_21778\" aria-describedby=\"caption-attachment-21778\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21778 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Open-scope-and-run-600x414.png\" alt=\"\" width=\"600\" height=\"414\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Open-scope-and-run-600x414.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Open-scope-and-run-768x530.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Open-scope-and-run-1024x707.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Open-scope-and-run-800x552.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Open-scope-and-run.png 1169w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-21778\" class=\"wp-caption-text\">A close up of the custom waveform, made up of high and low frequency components<\/figcaption><\/figure>\n<p>Open the <strong>Oscilloscope Tool<\/strong> and click <em>run<\/em>. You may need to change some of the channel and time settings to see the portion of the waveform shown above. Make sure all your settings match those in the above image.<\/p>\n<p>Next we&#8217;ll add a new filter channel.<\/p>\n<figure id=\"attachment_21770\" aria-describedby=\"caption-attachment-21770\" style=\"width: 519px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21770 size-full\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Add-filter-channel.png\" alt=\"\" width=\"519\" height=\"522\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Add-filter-channel.png 519w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Add-filter-channel-150x150.png 150w\" sizes=\"auto, (max-width: 519px) 100vw, 519px\" \/><figcaption id=\"caption-attachment-21770\" class=\"wp-caption-text\">The new filter channel is one of the math channels.<\/figcaption><\/figure>\n<p>Click <em>Add Channel,<\/em> and select <em>Filter<\/em> under the Math heading.<\/p>\n<p>You should see a Math Channel with Filter settings added below Channel 1 and 2.<\/p>\n<figure id=\"attachment_21775\" aria-describedby=\"caption-attachment-21775\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/reference\/software\/waveforms\/waveforms-3\/start\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21775 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Filter-Channel-600x415.png\" alt=\"\" width=\"600\" height=\"415\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Filter-Channel-600x415.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Filter-Channel-768x531.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Filter-Channel-1024x708.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Filter-Channel-800x553.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Filter-Channel.png 1165w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-21775\" class=\"wp-caption-text\">The custom signal and the filtered signal with the default filter settings.<\/figcaption><\/figure>\n<figure id=\"attachment_21776\" aria-describedby=\"caption-attachment-21776\" style=\"width: 223px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21776 size-full\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/Filter-settings.png\" alt=\"\" width=\"223\" height=\"278\" \/><figcaption id=\"caption-attachment-21776\" class=\"wp-caption-text\">The default settings.<\/figcaption><\/figure>\n<p>Click on the <em>Filter Button<\/em> to open the settings. Filter gives the option of a Chebychev, Butterworth, or Custom filter. When Chebychev or Butterworth are selected, you can choose between 2nd and 16th order, Low pass, High pass, Band pass, or Bandstop, and one or two cutoff frequencies. When Chebychev is selected, you can also choose the Eplison parameter. When Custom is selected, the filter is determined from the table of coefficients.<\/p>\n<figure id=\"attachment_21777\" aria-describedby=\"caption-attachment-21777\" style=\"width: 219px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21777 size-full\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/new-settings.png\" alt=\"\" width=\"219\" height=\"272\" \/><figcaption id=\"caption-attachment-21777\" class=\"wp-caption-text\">The settings for the Chebychev Low-Pass filter.<\/figcaption><\/figure>\n<p>For this example, I&#8217;ll need a<em> Chebyshev<\/em> <em>low pass<\/em> filter of order <em>16.<\/em> I&#8217;ll choose a cutoff frequency of <em>5kHz,<\/em> since its above the lower frequency of 1kHz, but lower than the higher frequency component.<\/p>\n<figure id=\"attachment_21771\" aria-describedby=\"caption-attachment-21771\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-21771 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality-600x414.png\" alt=\"\" width=\"600\" height=\"414\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality-600x414.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality-768x530.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality-1024x706.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality-800x552.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality.png 1169w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><figcaption id=\"caption-attachment-21771\" class=\"wp-caption-text\">I reflected the signal vertically and added an offset for demonstration purposes. You can see it matches up with the lower frequency component of the custom waveform.<\/figcaption><\/figure>\n<p>Click <em>close<\/em> and you should see the lower frequency component of the custom waveform, a 1kHz sine wave.<\/p>\n<p>If you have any questions about the filter channel or the update to <a href=\"https:\/\/digilent.com\/reference\/software\/waveforms\/waveforms-3\/start\">WaveForms<\/a>, comment below or post on the <a href=\"http:\/\/Forum.blog.digilentinc.com\">Digilent Forum<\/a>. If you want to learn more about filters, check out\u00a0<a href=\"https:\/\/digilent.com\/reference\/learn\/courses\/real-analog\/start\">Real Analog<\/a> chapters 7, 8, and 11, which cover filters.<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-21688 jlk' data-task='like' data-post_id='21688' data-nonce='87acbb1af5' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-21688 lc'>+1<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-21688 jlk' data-task='unlike' data-post_id='21688' data-nonce='87acbb1af5' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-21688 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-21688 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Kaitlyn walks us through a new feature in the latest WaveForms update!<\/p>\n","protected":false},"author":18,"featured_media":21771,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4323,4312,1563],"tags":[111,452],"ppma_author":[4466],"class_list":["post-21688","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-usb-scopes-analyzers-generators","category-guide","tag-analog-discovery","tag-waveforms"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/08\/add-math-channel-to-demonstrate-filter-functionality.png","authors":[{"term_id":4466,"user_id":18,"is_guest":0,"slug":"kaitlyn","display_name":"Kaitlyn Franz","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/9276021eaa44781ce19f364cfca46ada25e1500769cf4803a095a5bae83c912a?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/21688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=21688"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/21688\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/21771"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=21688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=21688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=21688"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=21688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}