Embedded ECU-Style Automatic Transmission Controller

RoleEmbedded integration and analysis · Team 8
ContextNYU Advanced Mechatronics
PlatformPropeller C · 24 V drivetrain · Python
OutcomeThree ratios evaluated across multiple loads

Recruiter summary

Overview

Developed an embedded ECU-style controller for a physical drivetrain test platform built around a 24 V, 250 W brushed DC motor and custom 3D-printed transmission. The system acquires motor speed, output speed, current, voltage, and temperature telemetry; drives an encoder-tracked shift actuator; adjusts the operating point through a digital potentiometer; and displays system state in real time.

The project combines real-time embedded control with approximately 33 Hz SD-card data logging and Python analysis of motor voltage, current, speed, load, transient response, and calculated efficiency.

Team 8: Aditya Patil, Dhruv Karnik, and Mudit Adityaja

Key contributions

Annotated top view showing the drivetrain motor, shift disks, output drum, and gear-shift actuator


Hardware Demonstration


System Architecture

The firmware partitions work across independent Propeller cogs:

  1. ADC sensing task samples two RPM channels and motor current.
  2. Encoder task tracks signed transmission-selector motion.
  3. Potentiometer task sweeps the drivetrain operating point.
  4. Main control loop selects gears and refreshes the telemetry display.

The complete platform uses two AS5600 magnetic encoders for motor/output speed, an ACS712 for current, filtered voltage sensing through an ADS1115, and a thermistor for motor temperature. The Propeller coordinates sensing, display output, SD logging, digital-potentiometer commands, and a bidirectional shift motor. Encoder feedback determines when the requested gear displacement has been reached.


Mechanical Drivetrain

A fixed 45:1 primary reduction is followed by three selectable secondary stages:

Selected stage Total reduction Operating intent
0.6 75:1 Highest mechanical advantage for loaded, lower-speed operation
1.0 45:1 Intermediate ratio
1.2 37.5:1 Highest output speed with more reflected load inertia

The interchangeable 3D-printed stages and pulley loading system make it possible to compare how ratio and external load affect acceleration, current draw, output speed, and efficiency.


Automatic Shift Strategy

Transition Shift condition
Gear 1 → Gear 2 Motor speed ≥ 600 RPM
Gear 2 → Gear 3 Motor speed ≥ 1,400 RPM
Gear 3 → Gear 2 Motor speed ≤ 1,200 RPM
Gear 2 → Gear 1 Motor speed ≤ 400 RPM

Using different upshift and downshift thresholds introduces hysteresis, preventing repeated gear changes near a single boundary. Adjacent shifts use calibrated signed encoder displacements; the archived firmware uses 100 ticks per transition.


Sensing and Telemetry

The controller monitors:

The live composite display reports drivetrain state while synchronized measurements are recorded to CSV for analysis. The archived firmware demonstrates the core RPM acquisition, encoder actuation, threshold-and-hysteresis shift logic, and display pipeline.


Experimental Results

The report and notebooks compare motor voltage, current, motor RPM, output RPM, load condition, transient response, and calculated system efficiency across multiple gear configurations.

Key findings

Multidimensional system-efficiency map with operating paths for different gear ratios and loads

The contour map overlays measured operating paths on motor-speed and current coordinates, showing how gear ratio and load move the drivetrain through different efficiency regions.

Modeled absolute and normalized step responses for the bare motor and three drivetrain ratios

The modeled normalized responses use characteristic times of approximately 0.70 s for 75:1, 0.85 s for 45:1, and 1.00 s for 37.5:1, illustrating the effect of reflected inertia as mechanical advantage decreases.

Comparison plots for motor voltage, current, motor RPM, output RPM, and calculated efficiency across three drivetrain runs

The archived project folder did not contain the raw CSV logs referenced by the notebooks. The public repository therefore retains report figures and notebook outputs as project evidence rather than presenting the analysis as a reproducible package.


Engineering Challenges

Concurrent embedded tasks

Stable gear selection

Mechanical shift positioning

Experimental interpretation


Technical Stack


Limitations and Next Steps

Continue Exploring

See another system

Interested in the engineering behind this work? I am available to discuss robotics software, embedded systems, autonomy, controls, and robot-learning opportunities.