Advanced Energy Vehicle (AEV) Lab 05: AEV System Analysis 1 AEV Project Objective (Problem Definition) INITIAL CONCEPTS (Brainstorming) EXPERIMENTAL RESEARCH (Programming) (System Analysis) PT 1 PT 2 PT 3 PT 4 FINAL DESIGN Present AEV Design Learning Objectives Download data from the automatic control system Convert EEProm Arduino data readouts to physical engineering parameters Calculate the supplied power to the AEV Calculate the supplied incremental and total energy to the AEV AEV Data Recorder MATLAB Program developed at OSU Zip file is found in AEV Documents Takes the EEProm data and puts it in an Excel spreadsheet AEV Data Recorder Use the new zipped version of “AEV Data Recorder” under the “AEV Documents” page Need to extract the zipped folder by using “Extract Here” Good location to “Extract Here” would be the sketchbook (one central location for all AEV material) AEV Data Recorder Verify that the Arduino is plugged into the computer and TURNED ON Click on Run Type in a name for the Excel File Let MATLAB establish a connection to the Arduino Once complete, open the Excel file Example of Excel Spreadsheet Created by MatLab AEV Data Recorder (m) Wheel counts are not used in Lab 5 AEV Data Conversion Convert the EEProm into physical parameters of: • Time (seconds) • Current (amps) • Voltage (volts) Analyze the data by calculating: • Power (watts) • Incremental Energy (joules) • Total Energy (joules) Time, Current, Voltage, & Power Time: t t E / 1000 Current: I 1 Amp I E *VR * 1024 0 . 185 Volts Voltage: V 15 * V E 1024 Power: Pin V I t = time (seconds) tE = EEProm time (milliseconds) I = current (amps) IE = EEProm equivalent current VR = Arduino reference voltage V = Voltage (volts) VE = EEProm equivalent voltage Pin = Power in (watts) V = Voltage (volts) I = Current (amps) Energy Remember that Energy is the area under the power versus time curve. A rectangle approximation of the power and time will be used to calculate the incremental and total energy. There are 3 approximation methods: Energy The midpoint method will be used to calculate the energy. The midpoint method uses the averaged power of 2 neighboring points and multiplied by the time increment: E1 P1in P2 in 2 t 2 t 1 Sum up the incremental energy for the total value used throughout the operation Questions?