Milestone 2

Plan

General Plan:

Timeline (Weeks 1-12 in past tense, Weeks 13-15 in future tense):

Task Breakdown:

Concepts

Sensors

Belt

Fig. 2. Depicts a hand-drawn design illustrating the arrangement of sensors on the belt and the inclusion of a front section on the fanny pack for housing the power source and CPU.

Fig. 3.1. Field of view of eight equally-spaced sensors where each sensor has an FoV of 63° (assumes a person is a circle)

Fig. 3.2. Field of view of eight equally-spaced sensors where each sensor has an FoV of 45° (assumes a person is a circle)

Concept Selection

Choosing the Sensor

Based on our decision matrix and initial testing, the group decided that this was the best way to proceed with our product development.

Designs

Process Flowchart

System Model

Analysis

Hardware Requirements:

Software Requirements:

TABLE I

SPECS FOR TOFSENSE-M

Test Plan

Our first round of testing was planned and accomplished during the month of November. The goal of the first test was to get our single point sensor, the TOFSense P, to stop giving relative numbers for its distance values and giving real world values. 

The plan was relatively simple: mount the sensor and electronics to a moving, stable platform at a 90 degree angle relative to the ground, so that the sensor is looking outwards (see Figure E). The platform is moved towards a wall across a measured distance. At a few selected points, we'd stop the platform and note the tape measure's distance from the wall compared to what the sensor measured from the wall. Once this was done, we could find on average how incorrect the sensors were measuring and find a factor to multiply against the measured sensor's value. The result was our single point sensor now displaying distances that are much more accurate, often only a few centimeters off compared to the tape measure's value. We also added a function to allow a motor to be plugged in to the controller and vibrate harder the closer to the wall it got and it did so effortlessly.

Now that we have found success with the solo single-point sensor and motor, we're changing to a new sensor type and more of them. During our time testing, we found that our sensor wasn't as easily controllable as we wanted, and partially assumed this was due to single-point sensor being designed for low light environments with a pretty low FOV. We found a new sensor model from the same manufacturer, called the TOFSense-M, that's designed for more general lighting conditions and with a higher FOV, with the only major difference being its scanning type. Instead of being single-point, the new sensor operates on a matrix grid. 

Going forward, we shall first figure out how to read, print, and parse through the raw hex data the sensor gives us, allowing us to be sure all values given are accurate and can be pulled out and utilized how we need it to. We also shall test with multiple sensors through the manufacturer designed way of wiring multiple sensors together, called "cascade" and learn more about its functionality for us going forward. Unfortunately, almost all information on cascade is unobtainable for whatever reason, so it is going to be a lot of blind guessing and puzzling out how to use them. Once we get understandable data from the sensors, we shall be sure that the data is scaled to real world numbers, likely through similar tests as the single point. 

Fig. 4. A trolley with angle brackets holding a piece of cardboard with an insert for the TOFSense P sensor, connected to our Arduino R4 Wi-Fi board, which is connected to a motor and a laptop.