{"id":57,"date":"2018-11-04T01:26:45","date_gmt":"2018-11-04T01:26:45","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/?p=57"},"modified":"2018-11-05T01:44:41","modified_gmt":"2018-11-05T01:44:41","slug":"weekly-status-report-7-11-03-18","status":"publish","type":"post","link":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/2018\/11\/04\/weekly-status-report-7-11-03-18\/","title":{"rendered":"Weekly Status Report #7:  11\/03\/18"},"content":{"rendered":"<h1><span style=\"font-weight: 400\">Bobbie<\/span><\/h1>\n<h2><span style=\"font-weight: 400\">Done this week<\/span><\/h2>\n<p><span style=\"font-weight: 400\">This week I wrote a program for interactively running HINT tests. It requires pre-generated audio at varying SNRs, but this helps make the program more portable (as opposed to generating noise at runtime using Matlab). <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">The chest harness did not arrive until very late in the week, so I did not make any progress on that front.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Last week we had issues with getting a usable and relatively clean signal out of the electret microphones from Professor Sullivan. I worked on an amplification circuit to bring the voltage values to the range of the Teensy\u2019s ADC, but the signal was incredibly noisy so this was unsuccessful. I did consider building a more complex circuit to try and filter out the largest frequency component of the noise (60 Hz), but I thought this would be not worth the time, as Sean put in the redesigned PCB order so we should have it early next week.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">I also walked Kevin through some of the utility code for generating test signals that I had written earlier in the semester. This highlighted the fact that a lot of the code I had written was not very well documented, so that is something I will work on going forwards.<\/span><\/p>\n<h2><span style=\"font-weight: 400\">Goals for next week<\/span><\/h2>\n<ul>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Build mount for microphones to attach to the purchased chest harness<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Document existing Matlab utility code<\/span><\/li>\n<li style=\"font-weight: 400\"><span style=\"font-weight: 400\">Convert SDW-MWF Matlab code to C using Matlab Coder and adjust for inputs and outputs to be taken in real-time<\/span><\/li>\n<\/ul>\n<h1><span style=\"font-weight: 400\">Kevin<\/span><\/h1>\n<h2><span style=\"font-weight: 400\">Done this week<\/span><\/h2>\n<p><span style=\"font-weight: 400\">This week I worked on refining the matlab code for adaptive beamforming. \u00a0The matlab implementation uses frost beamforming and is now successfully able to take a linear, uniform array of microphones of arbitrary elements <\/span><i><span style=\"font-weight: 400\">n <\/span><\/i><span style=\"font-weight: 400\">and implement frost beamforming on multiple voice inputs. \u00a0The code in the link given below is able to take a specific \u201csteering angle\u201d, in our case 0 degrees because the signal of interest is targeted to be directly in front of our user, and reduce the signal inputs coming from other directions.\u00a0 <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">The link to the matlab file is the following:\u00a0\u00a0https:\/\/drive.google.com\/drive\/folders\/1E8JMs5zqOZoTGYU2UY8XqLxLb3x19juc?usp=sharing\u00a0<\/span><\/p>\n<p>If you download and run the file, you should be able to hear two different audio outputs.\u00a0 The first one is the sound from all three audio files.\u00a0 You will notice that the laughter noise drowns out almost all other noise, making the speech files inaudible.\u00a0 The second audio output is after frost beamforming is applied.\u00a0 You will notice that the speech file is very audible.<\/p>\n<h2><span style=\"font-weight: 400\">Goals for next week<\/span><\/h2>\n<p><span style=\"font-weight: 400\">There are several elements of the code that need to be further explored. \u00a0First, I utilized diagonal loading which is a MATLAB built-in that I read can help robustness of beamforming. \u00a0I noticed that utilizing this helped make the output audios more clear and understandable. My goal is to look deeper and understand what diagonal loading does and how it improves robustness. \u00a0Additionally, we have yet to receive our new PCB boards, so the goal is to test this code on real microphone inputs once we build our microphone circuits. <\/span><\/p>\n<p>&nbsp;<\/p>\n<h1><span style=\"font-weight: 400\">Sean<\/span><\/h1>\n<h2><span style=\"font-weight: 400\">Done this Week<\/span><\/h2>\n<p><span style=\"font-weight: 400\">This week, we realized our PCBs for our microphones wouldn&#8217;t work due to some of the traces overlapping with a ground pad, so I redesigned the PCB to have a via through to the other side of the board to avoid this issue. I soldered the audio shield to the Teensy board, and got audio output working through the shield to headphones. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">I tried to get audio working with the mics professor Sullivan gave us, and the audio input on the Teensy worked, but the mics were too noisy to get any meaningful audio from them.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">I also got a 3.072 MHz clock output from the Teensy that we can use to drive the data input from the surface mount microphones.<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400\">Goals for Next Week<\/span><\/h2>\n<p><span style=\"font-weight: 400\">Once we get our second iteration of the PCBs, I will start to get audio input from them onto the Teensy.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">I will work with Kevin and Bobbie to convert their working audio processing functions into C\/Arduino code that we can put on the Teensy.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bobbie Done this week This week I wrote a program for interactively running HINT tests. It requires pre-generated audio at varying SNRs, but this helps make the program more portable (as opposed to generating noise at runtime using Matlab). &nbsp; The chest harness did not arrive until very late in the week, so I did &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/2018\/11\/04\/weekly-status-report-7-11-03-18\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Weekly Status Report #7:  11\/03\/18&#8221;<\/span><\/a><\/p>\n","protected":false},"author":35,"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\/57"}],"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\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":1,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/posts\/57\/revisions\/58"}],"wp:attachment":[{"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/course.ece.cmu.edu\/~ece500\/projects\/f18-team2\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}