1 of 11

2023 MECOP Internship Experience

Presenter: James Ewing �Mentors: William Hood-Douda and Austin Whittaker�Department: Product Validation Engineering - CAB

Date: 12/08/2023

Daimler Truck

2 of 11

About me

MECOP Experience – James Ewing | PVE - CAB | 12/08/2023

2

  • Grew up in Lebanon, OR and graduated from Lebanon High School
  • Entering 4th year in Electrical Engineering at Oregon State University
  • Enjoy granola activities including Mountain Biking, Alpine Skiing, Bouldering, and Tennis
  • Huge car guy

​

Daimler Truck

3 of 11

Main Projects

MECOP Experience – James Ewing | PVE - CAB | 12/08/2023

3

  • AP4 (Autonomous) Powernet Test Bench Application
  • AP4 IPDM Model in the Loop Development for Battery Sensor

Extracurriculars

  • EMG truck driving at PIR eM2 launch
  • Cross department social networking
  • Lots of Bouldering and Lifting!

​

​

Daimler Truck

4 of 11

AP4 Test Bench Context

Motor Controller

Control Panel

AC Motor (Application writes data to control)

Alternator

Daimler Truck

5 of 11

Previous Solution for Test Bench Control

  • Excel Sheet using VBA Automation Library to write RPM data
    • Unreliable, 1 in 5 chance to write values to Motor Controller successfully.
    • Obsolete, Excel in Office 365 No longer Supports the automation library.
    • Labor intensive, Required Manual Copy and Paste of Values to write to motor controller.
    • Slow, whole process required 30 minutes to complete.

MECOP Experience – James Ewing | PVE - CAB | 12/08/2023

5

Daimler Truck

Daimler Truck

6 of 11

My Solution for Test Bench Control

  • Python Application writes RPM Data to raw Data of Motor Control File
    • Reliable, 100% success rate to write RPM Data.
    • Robust, distributable and not dependent on multiple software interactions.
    • Automated, requires minimal interaction from user (no repeat copy and paste).
    • Fast, Takes ~3 Minutes to write RPM data.
    • Flexible, allows RPM curve to be generated from user input or imported from existing CSV data.

​

MECOP Experience – James Ewing | PVE - CAB | 12/08/2023

6

Daimler Truck

7 of 11

Battery Sensor Stimulation for IPDM MIL Model

  • MATLAB Simulink Model Creates same Node/Battery Structure as on Truck
    • LVA, LVB, LVC are each composed of 4 lead acid batteries.
    • Developed Simulink subsystem structure to create signal defined model of each individual lead acid battery.
    • Model allows IPDM Software testing with battery signals.
    • Simulink signal values controlled by IBS Application (following slide).

​

​

MECOP Experience – James Ewing | PVE - CAB | 12/08/2023

7

Daimler Truck

8 of 11

Battery Sensor Stimulation for IPDM MIL Model

  • MATLAB Application writes Constants to Simulink Model
    • IBS App allows Signal values to be written for each Node (group of batteries) and individual Batteries.
    • Signal values set via constant blocks that act as “stimulants” to the IPDM model for software testing.
    • Values set based on Key Position by default and are representative of real-world data.

MECOP Experience – James Ewing | PVE - CAB | 12/08/2023

8

Daimler Truck

9 of 11

Side Quests

  • HV Charge Testing
    • ZZ5230 testing turned into chasing down a basket case of issues with Marielle Mullon
    • Ended up figuring out EVDM was all sorts of messed up
  • E2E Protection CAPL Script
    • Helped analyze, understand, and simplify CAPL scripts for Powernet Test Bench
    • Result was script capable of sending SCA_C17_AR2 E2E protected frame.

MECOP Experience – James Ewing | PVE - CAB | 12/08/2023

9

Daimler Truck

10 of 11

Impact of Projects

    • Increased Efficiency and Capability for AP4 Powernet Bench
    • Flashing test bench took 10x the amount of time previously
    • Ability for real world truck data to be re-run to re-create issues
    • Ability to create custom RPM profiles expands scope of what can be tested
  • Increased capability of IPDM MIL
    • Previously no ability to populate battery IPDM SWC signals
    • IBS Simulink Model allows DTNA to test battery sensor integration before Software is delivered to supplier

​

​

​

​

​

MECOP Experience – James Ewing | PVE - CAB | 12/08/2023

10

Daimler Truck

11 of 11

Takeaways

  • DTNA gave me a solid representation of what working in the automotive industry is like
  • Interning with DTNA has shown me that my purpose is to apply my Electrical Engineering talents within the automotive industry
  • Overcame a mental block towards programming, and have become confident in my programming ability

MECOP Experience – James Ewing | PVE - CAB | 12/08/2023

11

Daimler Truck