Data Analysis Tool

The Data Analysis Tool is a MATLAB tool which loads EEPROM data from the Arduino and formats the data into multiple charts. An example of what type of data is generated can be seen below. The two charts are Power vs. Time and Power vs. Distance.

  • The above figure represents the data obtained from the AEV after the first performance test on the track. It compares the amount of power over a specific time period. It can clearly be seen that the AEV accelerates for the first 3 seconds of the run, as both the figure and the code confirm. The AEV is run at 25% for 1 second and then the motor speed is changed to 20% for 2 seconds. The motors are reversed and then run at 25% for 2 seconds and power is suddenly cut off as shown at the 8 second mark. This is when the AEV had all of its motors brake.

  • This figure compares the distance that the AEV traveled to the amount of power supplied. It can be seen that the AEV is accelerating for the first 0.11 meters as it pulls more power in order to get the AEV moving and then the power settles out around 4 watts as the AEV moves at nearly the same speed from 0.11 meters to 0.49 meters. The spike in the middle represents the reverse in polarity of the motors and the power quickly moves down to 5.33 watts. This is when the motors were running at 25% for a couple seconds. The power suddenly drops, indicating the motors braking.

 

Arduino Code

________________________________________________________________________________________________