Pump Control Board

Pump Control Board

Status

Preliminary Design

Owner

@Surabhi Karighattam

Approver

@Ravi Shah @Kaden Nguyen

Due date

May 17, 2025

GitHub

BOM

TBD

Due Dates:

  • Requirements/Considerations - 4/7/2025

  • Component Selection - 4/26/2025

  • Initial Schematic - 7/2/2025

  • Initial Layout - 7/10/2025

  • Rev. A Ordered - 8/25/2025

  • Firmware/Testing - 10/1/2025

    • breadboard sensors to verify correct resistances etc

Description/Purpose

Controls speed of water cooling pump and two fans. Additionally, interprets data from temperature sensors and flowrate sensor to send over CarCAN.

Requirements

Application Note

how does this board integrate with others + any harnessing/bringup considerations. anyone should be able to read this and integrate this board into the electrical system

Context

Location of the board: Back left near radiator + battery

External Connection List

#

Name

Type

Ideal Voltage

#

Name

Type

Ideal Voltage

J2

 CAN_In

 1x2 nano

 

J3

CAN_Out

1x2 nano 

 

J6

 LVPower

1x2 nano

24V

J4

Fan1

1x3 nano

0-24V

J5

Fan2 

1x3 nano

0-24V

J6

Temp1

1x2 nano

0.182- 3.1V

J7

Temp2

1x2 nano

0.182- 3.1V

J8

Temp3

1x2 nano

0.182- 3.1V

J9

Flow1

1x3 nano

5V

J10

Pump1

1x4 nano

24V

Main

Rev A Schematics + Layout + 3D model

Rev B Schematics + Layout + 3D model

 

 

Circuit Components

all uniques (non-passives) in BOM + rationale for selection

Firmware

Drivers

High-Level (Block Diagram)

 

Rev B Testing Plan

  • ✅ Phase 0: Blinky + LED testing

    • ✅ Test LED driver to make sure LED turns on when directed

    • ✅ Baseline to help with future debugging

  • ✅ Phase 1: Temp testing

    • ✅ Write temp driver - include non blocking print statements

    • ✅ Vary thermistor temp with heat gun/breathing on it

  • ✅ Phase 2: Fan testing

    • ✅ Verify hardware is correct by testing fan with waveform generator + logic analyzer

    • ✅ Firmware mostly done by Ravi already, just need to call fan chip driver correctly

  • ✅ Phase 3: Pump testing

    • ✅ Start by trying to use the fan chip to control speed

    • If that doesn’t work, switch to psom

      • it worked! might write a psom driver eventually tho jic

  • ✅ Phase 4: Flowrate testing

    • ✅ Test flowrate circuitry with waveform generator + logic analyzer

    • ✅ Once hardware is working, add firmware

      • adapter is the wrong size… will talk to ptn at workday to figure out next steps

        • still working on getting a new one… will write driver and test with air instead

        • new adapter secured, but it leaks hehe

    • ✅ Verify accuracy by comparing output to (pump max flowrate)*(pwm duty cycle)

  • Phase 5: CAN

    • ✅ Loopback mode using embedded sharepoint test

    • ✅ Loopback mode using actual CAN IDs

    • Send CAN messages

      • ✅ Temp - still need to change dbc to be 32b per temp (milicelsius)

      • Flowrate

      • Fans

    • Receive CAN messages

      • BPSL temp

      • Car speed (?)

  • Phase 5: Control loop

    • Once drivers + hardware is verified, work with ptn to tune control algorithm

    • Figure out what’s the optimal temp to maintain + fault threshold

      • Temp threshold = 45˚C

      • Needs empirical testing but cooling will likely also depend on car speed