Lab 04- Design Analysis Tool

Design Analysis Tool

The purpose of this lab is to become familiar with MATLAB, be able to upload Arduino data into the design analysis tool, conduct performance analysis of an AEV operation, and export plots for reports.

Website Deliverables
Power vs. Time plot
 
Explanation
During the first section of the graph while the slope is positively linear increasing in power as time goes on the AEV is accelerating after 3 seconds the AEV begins to move at the same speed for a second indicated by the straight horizontal line, then the graph decreases and moves constant when this is happening the AEV is moving to a slightly lower speed generating less power and moving at a constant rate going for 2 seconds. Next the graph goes sharply up and back down indicating that the AEV motor’s have reversed direction requiring a great amount of power all at once. Furthermore after the graph straightens out again but at a higher Power Value than before the reversal of the AEV’s motors in addition staying constant after, meaning that the AEV increased its speed slightly generating less power and moved at that constant speed for 2 seconds. After the graph goes flat down indicating that the AEV’s motors have been halted hence producing no more power.
Power vs Distance plot
Explanation: At the beginning without moving the AEV begins to accelerate its motors gaining power finally once it reaches enough power the AEV begins to move indicated by the movement to the right it accelerates until it reaches approximately .3 meters then it moves at a constant speed indicated by the constant power gaining some distance. After it decreases in power level indicating a decrease in speed of the AEV and continues at this new speed. Until the AEV motor’s reverse direction shown by the straight line up because it takes a lot of power to reverse the motors which are moving. After the AEV begins to move at the original constant speed at the beginning higher than before the reversal, this is portrayed by the even power level as the beginning constant speed.
Code Used
celerate(4,0,25,3);
goFor(1);
motorSpeed(4,20)
goFor(2)
reverse(4);
motorSpeed(4,25)
goFor(2);
brake(4);
Save program as CSS1