{"id":18443,"date":"2017-01-19T10:00:29","date_gmt":"2017-01-19T18:00:29","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=18443"},"modified":"2021-06-11T10:56:01","modified_gmt":"2021-06-11T17:56:01","slug":"getting-the-most-out-of-your-analog-discovery-lab-5","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/getting-the-most-out-of-your-analog-discovery-lab-5\/","title":{"rendered":"Getting The Most Out Of Your Analog Discovery: Lab 5"},"content":{"rendered":"<p>Recently I announced that <a href=\"http:\/\/ni.com\">National Instruments<\/a> has released a <a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\">set of example labs<\/a> designed to show you how you can get the full use of your <a href=\"https:\/\/digilent.com\/blog\/analogdiscovery2\">Analog Discovery 2<\/a>. If you have since forgotten and want to review the summaries and mission of the seven labs, you can check out the <a href=\"https:\/\/digilent.com\/blog\/getting-the-most-from-the-analog-discovery-2-a-series\/\">original post here<\/a>.<\/p>\n<figure id=\"attachment_18351\" aria-describedby=\"caption-attachment-18351\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18351 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/12\/1-600x311.png\" width=\"600\" height=\"311\" data-wp-pid=\"18351\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/12\/1-600x311.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/12\/1-768x398.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/12\/1-1024x531.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/12\/1-800x415.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/12\/1.png 1172w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-18351\" class=\"wp-caption-text\">The table of contents from the 7 free labs.<\/figcaption><\/figure>\n<p>Over the next few weeks I&#8217;ll be covering each lab, the tools it uses, and concepts that can help you teach your students. In my previous post I went over Lab 4: Full Wave Rectifiers. In this post I&#8217;ll be going over Lab 5: Amplitude Modulation and Demodulation.<\/p>\n<figure id=\"attachment_18462\" aria-describedby=\"caption-attachment-18462\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18462 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/courses-covered-2-600x419.png\" width=\"600\" height=\"419\" data-wp-pid=\"18462\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/courses-covered-2-600x419.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/courses-covered-2-768x537.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/courses-covered-2-1024x716.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/courses-covered-2-800x559.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/courses-covered-2.png 1150w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-18462\" class=\"wp-caption-text\">Lab 5 is designed for an introduction to communications courses.<\/figcaption><\/figure>\n<p><strong style=\"font-size: 14px;\">Lab 5: Modulation and Demodulation <\/strong><span style=\"font-size: 14px;\">is designed to give students an introduction to communication theory. Students will investigate classical amplitude modulation theory in both the time and frequency domains, learn about the basic properties of fast Fourier transforms (FFT), and see how modulation index affects AM signals in time and frequency domains.\u00a0<\/span><\/p>\n<p>This lab utilizes 2 sets of software,\u00a0<a href=\"http:\/\/Digilentinc.com\/waveforms3\">WaveForms 2015<\/a>\u00a0and <a href=\"http:\/\/www.ni.com\/labview\/\">LabVIEW<\/a>.<\/p>\n<p><a href=\"http:\/\/ni.com\/labview\">LabVIEW<\/a> is a development environment design specifically to accelerate the productivity of engineers and scientists. It features a graphical programming syntax that makes it simple to visualize, create, and code engineering systems.<\/p>\n<p><a href=\"http:\/\/Digilentinc.com\/waveforms3\">Waveforms 2015<\/a> is the software that drives the <a href=\"https:\/\/digilent.com\/blog\/analogdiscovery2\">Analog Discovery 2<\/a>. For this lab, students will use the waveform generator to send an AM signal, and the oscilloscope to view and analyze the results in the time domain. Then they will use the spectrum analyzer to view the frequency components of the signals and the FFT.<\/p>\n<figure id=\"attachment_18463\" aria-describedby=\"caption-attachment-18463\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"blog.digilentinc.com\/analogdiscovery2\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-18463 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/tools-used-1-600x526.png\" width=\"600\" height=\"526\" data-wp-pid=\"18463\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/tools-used-1-600x526.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/tools-used-1-768x673.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/tools-used-1-110x96.png 110w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/tools-used-1-800x701.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/tools-used-1.png 922w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-18463\" class=\"wp-caption-text\">Lab 5 uses the Oscilloscope and Waveform Generator to generate and analyze signals in the time domain. It also uses the Spectrum Analyzer to analyze signals in the frequency domain.<\/figcaption><\/figure>\n<p><span style=\"font-size: 14px;\">For this lab students would need:<\/span><\/p>\n<ul>\n<li>An <a href=\"https:\/\/digilent.com\/shop\/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply\/\">Analog Discovery 2<\/a><\/li>\n<li>Jumper Wires<\/li>\n<li><a href=\"https:\/\/digilent.com\/shop\/waveforms-2015-download-only\/\">WaveForms 2015<\/a> (A Quick and Free Download)<\/li>\n<li><a href=\"http:\/\/www.studica.com\/LabVIEW\">LabVIEW 2015<\/a> or Later (available from studica)<\/li>\n<li><a href=\"http:\/\/www.instructables.com\/id\/Analog-Discovery-2-USB-Oscilloscope-LabVIEW\/\">Digilent WaveForms VI<\/a>s (A Free Download)<\/li>\n<\/ul>\n<p>Similar to <a href=\"https:\/\/digilent.com\/blog\/getting-the-most-out-of-your-analog-discovery-lab-4\">Lab 4<\/a>, Lab 5 goes through theory, simulation, and practical analysis.<\/p>\n<p>The lab starts by going through the theory of amplitude modulation, what it&#8217;s used for, and the component signals.<\/p>\n<p><span style=\"font-size: 14px;\"><a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-18472 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/1-3-600x468.png\" width=\"600\" height=\"468\" data-wp-pid=\"18472\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/1-3-600x468.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/1-3.png 711w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/span><\/p>\n<p>Next, students will connect the waveform generator to the oscilloscope of the Analog Discovery 2, so that they can experiment with AM signals.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14px;\"> <a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-18473 size-full\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/2-3.png\" width=\"533\" height=\"392\" data-wp-pid=\"18473\" \/><\/a><\/span><\/p>\n<p>They can use the scope to see the AM signal and see how the carrier and signal frequencies interact.<\/p>\n<p><span style=\"font-size: 14px;\"> <a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-18474 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/3-3-600x405.png\" width=\"600\" height=\"405\" data-wp-pid=\"18474\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/3-3-600x405.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/3-3.png 688w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/span><\/p>\n<p>After analyzing the AM signal in the time domain, students will use the spectrum analyzer to view the component signals in the frequency domain.<\/p>\n<p><span style=\"font-size: 14px;\"> <a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-18475 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/4-3-600x390.png\" width=\"600\" height=\"390\" data-wp-pid=\"18475\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/4-3-600x390.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/4-3-214x140.png 214w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/4-3.png 710w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/span><\/p>\n<p>Along with visual analysis, students will be asked to change the variables that create the input signal and analyze the impact on the AM signal.<\/p>\n<p><span style=\"font-size: 14px;\"> <a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-18476 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/5-3-600x367.png\" width=\"600\" height=\"367\" data-wp-pid=\"18476\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/5-3-600x367.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/5-3.png 725w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-size: 14px;\"> <a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-18477 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/6-3-600x168.png\" width=\"600\" height=\"168\" data-wp-pid=\"18477\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/6-3-600x168.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/6-3.png 762w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/span><\/p>\n<p>Once students gain a full understanding of AM modulation, they can move on to AM demodulation.<\/p>\n<p><span style=\"font-size: 14px;\"> <a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-18478 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/7-3-600x456.png\" width=\"600\" height=\"456\" data-wp-pid=\"18478\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/7-3-600x456.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/7-3.png 718w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/span><\/p>\n<p>In LabVIEW they can create each of the blocks required for AM demodulation graphically. They&#8217;ll start with a given VI to focus on the envelop detection and analyze the data.<\/p>\n<p><span style=\"font-size: 14px;\"> <a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-18479 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/8-2-600x280.png\" width=\"600\" height=\"280\" data-wp-pid=\"18479\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/8-2-600x280.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/8-2.png 708w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/span><\/p>\n<p>The lab will take them through each of the steps to set up demodulation.<\/p>\n<p><span style=\"font-size: 14px;\"> <a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-18480 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/9-2-600x568.png\" width=\"600\" height=\"568\" data-wp-pid=\"18480\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/9-2-600x568.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/9-2.png 630w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/span><\/p>\n<p>Finally, the lab will ask them to analyze the demodulated signal to fully understand the circuits involved.<\/p>\n<p><span style=\"font-size: 14px;\"> <a href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-18481 size-medium\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/10-600x355.png\" width=\"600\" height=\"355\" data-wp-pid=\"18481\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/10-600x355.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/10.png 695w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-size: 14px;\">Stay tun<\/span><span style=\"font-size: 14px;\">ed to the blog next week for Lab 6, or <\/span><a style=\"font-size: 14px;\" href=\"http:\/\/www.ni.com\/gate\/gb\/GB_EKITCOMPLABSELENG\/US\">download and checkout the labs yourself<\/a><span style=\"font-size: 14px;\">. If you are interested in the tools that the Analog Discovery 2\u00a0has to offer, more information can be found on its <\/span><a style=\"font-size: 14px;\" href=\"https:\/\/digilent.com\/reference\/software\/waveforms\/waveforms-3\/start?redirect=1#newest\">Wiki Page<\/a><span style=\"font-size: 14px;\">.<\/span><\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-18443 jlk' data-task='like' data-post_id='18443' data-nonce='d8c4d58d14' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-18443 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-18443 jlk' data-task='unlike' data-post_id='18443' data-nonce='d8c4d58d14' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-18443 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-18443 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Check out the fifth installment in the Analog Discovery 2 series, which covers amplitude modulation and demodulation!<\/p>\n","protected":false},"author":18,"featured_media":18462,"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,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4323,4312,1563],"tags":[111,1736,452],"ppma_author":[4466],"class_list":["post-18443","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-usb-scopes-analyzers-generators","category-guide","tag-analog-discovery","tag-analog-discovery-2","tag-waveforms"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2017\/01\/courses-covered-2.png","jetpack_sharing_enabled":true,"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\/18443","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=18443"}],"version-history":[{"count":1,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/18443\/revisions"}],"predecessor-version":[{"id":31223,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/18443\/revisions\/31223"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/18462"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=18443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=18443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=18443"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=18443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}