{"id":26238,"date":"2018-12-18T14:21:29","date_gmt":"2018-12-18T22:21:29","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=26238"},"modified":"2021-06-09T13:42:29","modified_gmt":"2021-06-09T20:42:29","slug":"learn-and-test-out-fm-signal-generation-and-demodulation-techniques","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/learn-and-test-out-fm-signal-generation-and-demodulation-techniques\/","title":{"rendered":"Learn About and Test Out FM Signal Generation and Demodulation Techniques"},"content":{"rendered":"<p><a href=\"https:\/\/testandmeasure.org\/\">Testandmeasure.org<\/a>\u00a0is a new website that Digilent has launched in beta and it is aimed at being a valuable resource for <a href=\"https:\/\/digilent.com\/shop\/waveforms-previously-waveforms-2015\/\">WaveForms<\/a> example workspaces, data, and projects. Today, I am highlighting a sample workspace for an\u00a0<a href=\"https:\/\/testandmeasure.org\/#\/category\/workspaces\/fm-signal-generator-demodulator-bc3c9823\">FM Signal Generator\/Demodulator<\/a>!<\/p>\n<p>This workspace is a step by step example of generating an FM signal and the demodulation process to recover the original signal using the <a href=\"https:\/\/digilent.com\/shop\/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply\/\">Analog Discovery 2<\/a>. It can be used to learn about FM generation and demodulation techniques, filter design and response, as a known input to test an application that requires or utilizes an FM input, or to compare to other FM signals. The signals can be viewed in\u00a0<a href=\"https:\/\/digilent.com\/shop\/waveforms-previously-waveforms-2015\/\">WaveForms<\/a> or exported as data for other means of analysis.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26242\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-10-at-11.59.16-AM.png\" alt=\"\" width=\"575\" height=\"291\" \/><\/p>\n<p>In this example workspace, the FM signal is 1kHz and the carrier frequency is 150kHz. Typically when designing filters,\u00a0or capturing signals that require some sort of filter, the filter has to be designed in hardware. The\u00a0oscilloscope instrument in WaveForms has the capability to add software filters to the data captured in the oscilloscope,\u00a0in the event that a hardware filter isn&#8217;t convenient. As\u00a0an example\u00a0in this workspace the oscilloscope signal is passed through software filters that demodulate the FM signal. The first filter, &#8220;High Pass&#8221;, is a software-based 2nd order Butterworth filter with a cutoff frequency equal to the the carrier signal frequency, 150 kHz. The filter attenuates frequencies below this value, thereby creating an amplitude modulated (AM) version of the FM signal. From this point, the process for demodulating the signal is the same as for an AM signal. &#8220;H-W Rectifier&#8221; mathematically mimics a half-wave rectifier and passes the positive half of the signal through while nullifying the negative. &#8220;Low Pass&#8221; is a software-based 2nd order low pass Chebyshev filter with a cutoff frequency of 2kHz. This isolates the signal that is being transmitted through the frequency modulations. An actual demodulator would have subsequent steps, but this workspace demonstrates a signal conditioning technique for demodulating FM signals with <a href=\"https:\/\/digilent.com\/shop\/waveforms-previously-waveforms-2015\/\">WaveForms<\/a> and the <a href=\"https:\/\/digilent.com\/shop\/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply\/\">Analog Discovery 2<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-26249\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-10-at-12.33.43-PM.png\" alt=\"\" width=\"1439\" height=\"823\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-10-at-12.33.43-PM.png 1439w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-10-at-12.33.43-PM-600x343.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-10-at-12.33.43-PM-768x439.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-10-at-12.33.43-PM-1024x586.png 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-10-at-12.33.43-PM-800x458.png 800w\" sizes=\"auto, (max-width: 1439px) 100vw, 1439px\" \/><\/p>\n<p><strong>If you have a signal you&#8217;d like to see on <a href=\"https:\/\/testandmeasure.org\/\">testandmeasure.org<\/a> feel free to suggest it using the suggestion form! Click on the &#8220;HAVE AN IDEA?&#8221; link on the navigation bar and let us know!<\/strong><\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-26238 jlk' data-task='like' data-post_id='26238' data-nonce='0f678f749c' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-26238 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-26238 jlk' data-task='unlike' data-post_id='26238' data-nonce='0f678f749c' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-26238 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-26238 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Grab your free FM signal generator\/demodulator sample today!<\/p>\n","protected":false},"author":49,"featured_media":26249,"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":[4325,4323,4312],"tags":[452],"ppma_author":[4459],"class_list":["post-26238","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debug-validation-test","category-software","category-usb-scopes-analyzers-generators","tag-waveforms"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2018\/12\/Screen-Shot-2018-12-10-at-12.33.43-PM.png","jetpack_sharing_enabled":true,"authors":[{"term_id":4459,"user_id":49,"is_guest":0,"slug":"ian","display_name":"Ian Etheridge","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/04e89e2073e59253a0b117ef28da1c647ca307c1e5f7bf024c1c3e8289c2e026?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\/26238","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\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=26238"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/26238\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/26249"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=26238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=26238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=26238"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=26238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}