Objectives:
- Become familiar with MATLAB based design analysis tool.
- Be able to upload Arduino data into the design analysis tool.
- Be able to conduct performance analysis of an AEV operation.
- Be able to export plots for reports.
Questions:
- Provide the following figures and tables:
- A plot of Power vs. Time
- A plot of Power vs. Distance
- Provide an explanation for the figures and what they are representing (Hint: refer to the Arduino Code).
The AEV will accelerate, run at a constant speed, reverse, increase at a constant speed and then break
Arduino Code:
/Accelerate all motors from start to 25% in 3 seconds
celerate(0,0,25,3);
//Run all motors at a constant speed (25% power) for 1 second
motorSpeed(4,25);
goFor(1);
// Run all motors at 20% power for 2 seconds.
motorSpeed(4,20);
goFor(2);
//Reverse all motors.
reverse(4);
//Run all motors at a constant speed (25% power) for 2 second.
motorSpeed(4,25);
goFor(2);
//Brake all motors.
brake(4);
- Explain the figures by describing what the AEV is doing for each section of the plot
The AEV will accelerate, run at a constant speed, reverse, increase at a constant speed and then break.