{"id":119,"date":"2020-03-28T21:58:31","date_gmt":"2020-03-28T21:58:31","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/?p=119"},"modified":"2020-03-29T20:31:19","modified_gmt":"2020-03-29T20:31:19","slug":"shivas-status-update-for-03-28","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/2020\/03\/28\/shivas-status-update-for-03-28\/","title":{"rendered":"Shiva&#8217;s Status Update for 03\/28"},"content":{"rendered":"<p>At the beginning of the week, I worked on implementing an ideal multilateration algorithm in Python, based on\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/Multilateration#Cartesian_solution_with_limited_computational_resources\">https:\/\/en.wikipedia.org\/wiki\/Multilateration#Cartesian_solution_with_limited_computational_resources<\/a>.<\/p>\n<figure id=\"attachment_120\" aria-describedby=\"caption-attachment-120\" style=\"width: 221px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-120\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Multilateration-Implementation-221x300.png\" alt=\"\" width=\"221\" height=\"300\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Multilateration-Implementation-221x300.png 221w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Multilateration-Implementation-768x1042.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Multilateration-Implementation-755x1024.png 755w\" sizes=\"(max-width: 221px) 100vw, 221px\" \/><figcaption id=\"caption-attachment-120\" class=\"wp-caption-text\">Planning diagram I created for multilateration code<\/figcaption><\/figure>\n<p>After Wednesday,\u00a0based on Tamal&#8217;s concerns with our hardware implementation, I switched gears. I passed the multilateration software over to Udit for him to finish implementing and returned to the Decawave hardware to identify key metrics and details of how it tracks time.<\/p>\n<p>From Wednesday through Saturday, I verified the conversion rate of Decawave time units to real-time seconds (1 DTU ~= 15.65 ps); identified the issue of timer rollover (the Decawave chip timer rolls over every 17.2 seconds), fixed the TDOA software so that the anchor now correctly reads the timestamp of pulse reception; implemented time conversion so that the software can display and log the timestamp in seconds, microseconds, and nanoseconds; and wrote a Python script to graph a single anchor&#8217;s measurements of when it receives pulses from a single tag.<\/p>\n<figure id=\"attachment_122\" aria-describedby=\"caption-attachment-122\" style=\"width: 117px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-122\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Screen-Shot-2020-03-28-at-5.29.12-PM-117x300.png\" alt=\"\" width=\"117\" height=\"300\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Screen-Shot-2020-03-28-at-5.29.12-PM-117x300.png 117w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Screen-Shot-2020-03-28-at-5.29.12-PM-398x1024.png 398w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Screen-Shot-2020-03-28-at-5.29.12-PM.png 494w\" sizes=\"(max-width: 117px) 100vw, 117px\" \/><figcaption id=\"caption-attachment-122\" class=\"wp-caption-text\">Portion of output from timestamp logs for a tag and anchor at a fixed distance of 30 cm. Timestamps are displayed in hexadecimal DTUs, decimal seconds, and decimal nanoseconds.<\/figcaption><\/figure>\n<figure id=\"attachment_121\" aria-describedby=\"caption-attachment-121\" style=\"width: 300px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-121\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/anchor_red_30cm_stationary-300x225.png\" alt=\"\" width=\"300\" height=\"225\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/anchor_red_30cm_stationary-300x225.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/anchor_red_30cm_stationary.png 640w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-121\" class=\"wp-caption-text\">Graph of pulse reception vs timestamp of reception for the full timestamp logs. Note the timestamp rollover, at pulse 60, from ~17 seconds back to 0 seconds.<\/figcaption><\/figure>\n<p>Progress is still on schedule, though we&#8217;ve had to change some responsibilities around due to the COVID-19 crisis. In particular, Rhea and Udit are now working on the multilateration software. For next week, I will verify the accuracy of the Decawave chip timestamps, then collect sample timestamp measurements using the Decawave chips at various distances to plug into Udit&#8217;s simulator.<\/p>\n<figure id=\"attachment_123\" aria-describedby=\"caption-attachment-123\" style=\"width: 300px\" class=\"wp-caption alignnone\"><img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-123\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Screen-Shot-2020-03-28-at-5.53.43-PM-300x147.png\" alt=\"\" width=\"300\" height=\"147\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Screen-Shot-2020-03-28-at-5.53.43-PM-300x147.png 300w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Screen-Shot-2020-03-28-at-5.53.43-PM-768x376.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Screen-Shot-2020-03-28-at-5.53.43-PM-1024x501.png 1024w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-content\/uploads\/sites\/88\/2020\/03\/Screen-Shot-2020-03-28-at-5.53.43-PM.png 1928w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><figcaption id=\"caption-attachment-123\" class=\"wp-caption-text\">This was a bit of a hectic week and our Gantt chart will need some re-adjustments. In particular, I&#8217;m working with anchors now instead of Rhea.<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>At the beginning of the week, I worked on implementing an ideal multilateration algorithm in Python, based on\u00a0https:\/\/en.wikipedia.org\/wiki\/Multilateration#Cartesian_solution_with_limited_computational_resources. After Wednesday,\u00a0based on Tamal&#8217;s concerns with our hardware implementation, I switched gears. I passed the multilateration software over to Udit for him to finish implementing and returned to the Decawave hardware to identify key metrics and details &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/2020\/03\/28\/shivas-status-update-for-03-28\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Shiva&#8217;s Status Update for 03\/28&#8221;<\/span><\/a><\/p>\n","protected":false},"author":269,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[11,7],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-json\/wp\/v2\/posts\/119"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-json\/wp\/v2\/users\/269"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-json\/wp\/v2\/comments?post=119"}],"version-history":[{"count":6,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-json\/wp\/v2\/posts\/119\/revisions"}],"predecessor-version":[{"id":148,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-json\/wp\/v2\/posts\/119\/revisions\/148"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-json\/wp\/v2\/media?parent=119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-json\/wp\/v2\/categories?post=119"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s20-teamb6\/wp-json\/wp\/v2\/tags?post=119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}