{"id":47,"date":"2018-10-28T02:38:32","date_gmt":"2018-10-28T02:38:32","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/?p=47"},"modified":"2018-10-28T02:38:32","modified_gmt":"2018-10-28T02:38:32","slug":"weekly-status-report-6-10-27","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/2018\/10\/28\/weekly-status-report-6-10-27\/","title":{"rendered":"Weekly Status Report #6 10\/27"},"content":{"rendered":"<h1>Bobbie<\/h1>\n<h2>Done this week<\/h2>\n<p>I successfully reduced the distortion in the SDW-MWF implementation. During lab on Monday, Professor Sullivan helped identify the problem as a windowing issue: previously there was no overlap between windows, which caused boundary effects at the edge of each window. Using a 50% window overlap drastically reduced the distortion. This is at the tradeoff of now needing to process the next (overlapping) frame before producing output, which adds 5-9 ms delay to the output. This is within our timing budget, so it is okay. The new output is below.<\/p>\n<!--[if lt IE 9]><script>document.createElement('audio');<\/script><![endif]-->\n<audio class=\"wp-audio-shortcode\" id=\"audio-47-1\" preload=\"none\" style=\"width: 100%;\" controls=\"controls\"><source type=\"audio\/wav\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/filtered_output-1.wav?_=1\" \/><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/filtered_output-1.wav\">http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/filtered_output-1.wav<\/a><\/audio>\n<p>For the wearable mic array mount, I ordered this phone chest mount from Amazon: <a href=\"https:\/\/www.amazon.com\/Samsung-Holder-Record-Awesome-Action\/dp\/B00MYN0CGI\/ref=cm_cr_arp_d_product_top?ie=UTF8\">https:\/\/www.amazon.com\/Samsung-Holder-Record-Awesome-Action\/dp\/B00MYN0CGI\/ref=cm_cr_arp_d_product_top?ie=UTF8<\/a><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-49 size-full\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-15.png\" alt=\"\" width=\"624\" height=\"408\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-15.png 624w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-15-300x196.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/p>\n<p>This will serve as the basic model of our wearable mount. The main problem we anticipate from this mount is rotation about the central mounting point. Ideally there should be two solid pieces upon which the mics are mounted, with straps connecting as well. This will consist of:<\/p>\n<ol>\n<li>Two rigid mount holders (metal, laser-cut acrylic, or similar)<\/li>\n<li>Webbing<\/li>\n<li>Buckles\/straps<\/li>\n<\/ol>\n<p>I also wrote code to generate the HINT test recordings. However, this is not completely practical to use yet, because there is not an interface for quickly switching between various SNRs &#8211; this is needed because the HINT is an adaptive test, switching SNR levels based on the subject&#8217;s\u00a0 success rates.<\/p>\n<h2>Goals for next week<\/h2>\n<ul>\n<li>Build mount for microphones to attach to the purchased chest harness<\/li>\n<li>Create interface for running HINT given recordings<\/li>\n<\/ul>\n<h1>Kevin<\/h1>\n<h2>Done this week<\/h2>\n<p>One of my goals for this week was to come up with a finalize an initial physical setup for the microphone array. \u00a0I decided that for a linear array of n omnidirectional microphones with equal inter element spacing, the distance between each microphone element should be d=c\/(2*f0)where c is the speed of sound and f0 is the midband frequency. \u00a0Because the human voice frequency in telephony ranges from approximately 300 Hz to 3400 Hz, I chose 1800 Hz to be the midband frequency. \u00a0As a result, the distance between each microphone was chosen to be <b>9.5cm<\/b> apart. \u00a0This means with a 4 microphone setup, we would require an array of 38 cm in length.<\/p>\n<p>Additionally, regarding how each microphone input would be processed, the delay Tn between the desired signal arriving at the nth microphone and the signal arriving at the first microphone (at the origin of the coordinate system) is Tn =(n-1)*d*sin(\u00f8)\/c where d=9.5 cm and c is the speed of sound (343 m\/s).<\/p>\n<p>For signal processing, I have an initial MATLAB program which implements Frost Beamforming to try on our microphone setup. \u00a0I have not done extensive testing yet on the adaptive beamforming code. This following week will be spent testing and modifying the beamforming code with (hopefully) real microphone input signals.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-50 size-full\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-31.png\" alt=\"\" width=\"605\" height=\"678\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-31.png 605w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-31-268x300.png 268w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-51\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-41.png\" alt=\"\" width=\"619\" height=\"538\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-41.png 619w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-41-300x261.png 300w\" sizes=\"(max-width: 619px) 100vw, 619px\" \/><\/p>\n<p>On the hardware side of things, I have worked in lab with Sean to create a temporary microphone setup for testing using microphones that were available from the past. The microphones we used for now are PM: WM-55D103. \u00a0The specific circuit we made for each condenser microphone is shown in the figure below for testing.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-52\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-51.png\" alt=\"\" width=\"391\" height=\"227\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-51.png 391w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-28-51-300x174.png 300w\" sizes=\"(max-width: 391px) 100vw, 391px\" \/><\/p>\n<h2>Goals for next week<\/h2>\n<ul>\n<li>Start building a setup rig with the harness that Bobbie purchased to create wearable microphone array<\/li>\n<li>Test adaptive beamforming algorithm on ideal generated signals\n<ul>\n<li>Possibly move to real-input signals<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h1>Sean<\/h1>\n<h2>Done this Week<\/h2>\n<p>This week, we put together a circuit for the microphones Professor Sullivan gave us and successfully got an analog signal read on the Teensy board. I just used simple analog read functions from the Arduino library to read sound levels. I also starting writing code using the PDM library to process the input from our surface-mount microphones<\/p>\n<p>We decided to go forward with a rechargeable battery pack for external power, pictured below. In order to prevent damaging the board from supplying USB power and external power, I cut the trace between the two pads, to isolate the voltages. I will also cut the power line of the USB cord, just in case the trace isn\u2019t completely cut.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-53\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-29-02.png\" alt=\"\" width=\"349\" height=\"256\" srcset=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-29-02.png 349w, https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-content\/uploads\/sites\/6\/2018\/10\/Screenshot-from-2018-10-27-22-29-02-300x220.png 300w\" sizes=\"(max-width: 349px) 100vw, 349px\" \/><\/p>\n<p>I found tutorials for outputting high speed clocks from the Teensy, and will talk to Professor Sullivan more about these methods.<\/p>\n<h2>Goals for Next Week<\/h2>\n<ul>\n<li>Read digital signal on board<\/li>\n<li>Decide on mic driver clock method based on usability, jitter, and accuracy<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Bobbie Done this week I successfully reduced the distortion in the SDW-MWF implementation. During lab on Monday, Professor Sullivan helped identify the problem as a windowing issue: previously there was no overlap between windows, which caused boundary effects at the edge of each window. Using a 50% window overlap drastically reduced the distortion. This is &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/2018\/10\/28\/weekly-status-report-6-10-27\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Weekly Status Report #6 10\/27&#8221;<\/span><\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/posts\/47"}],"collection":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/comments?post=47"}],"version-history":[{"count":1,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/posts\/47\/revisions"}],"predecessor-version":[{"id":54,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/posts\/47\/revisions\/54"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/media?parent=47"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/categories?post=47"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/tags?post=47"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}