Data Acquisition Environment Board

Project Ownership: @Ravi Shah

Github Link (Main Board): GitHub - lhr-solar/DataAcq-EnvironmentBoard

Github Link (Breakout): GitHub - lhr-solar/DataAcq-EnvBreakoutPCB: Breakout Board for Data Acquisition's environment breakout PCB

BOM Link: https://www.mouser.com/ProjectManager/ProjectDetail.aspx?AccessID=8fef7b51e5

 

For production use (on the car), each main environment board will interface with a breakout board containing relevant sensors to the system being monitored. Wire harnessing should minimize the distance between the main board and the breakout to prevent noise. Main boards will be connected via EnvironmentCAN to each other and to the Data Acquisition leader board.

Description/Purpose

Measure environmental data throughout the car, including relative humidity, airflow, and temperature (see Data Acquisition SRR for more rationale)

Physical Design

  • Each node consists of a main environment board + sensor breakout board

  • Main environment board - interfaces with a PSOM (Peripheral System on Module) to provide ADC, I2C, and CAN functionality; connects to breakout board via short (TODO: absolute wire size/constraints after testing) wire

  • Sensor breakout board - implements exposed humidity, airflow, and temperature sensors with all passive components and a connector to interface with the main environment board

  • Modularity - can pick and choose which sensors to use on each breakout board during assembly

    • Not all sensors need to be present at every node

Rationale

  • The sensor breakout board needs to be as small as possible to not disrupt airflow in the intake, exhaust, battery box, etc. (according to Cooling/Emech)

  • The main board has to be at least the size of PSOM + any connector footprints, which is too large to place in the cooling system

    • Decided to break out sensors onto a separate board to balance airflow and data integrity

  • Airflow sensor needs an uninterrupted flow of air to measure accurately - no other components can be placed in the line of measurement

  • Humidity/Temperature sensors must also be exposed to the environment that’s being monitored

Interface

  • Main environment board

    • Sends environmental data to the Data Acquisition leader board via internal EnvironmentCAN

    • Will then be sent over TelemetryCAN to the telemetry module??

    • TODO: Need clarification on this

  • Sensor breakout board

    • Receives sensor power and ground from the main board

      • All power connections are fused on the main board using PTC (resettable) fuses for overcurrent protection

    • Sends/receives I2C and Analog signals to/from the main board

      • Each I2C line on the main board is protected from ESD (transient voltage spikes) using TVS diodes

  • I2C Repeater - PCA9509

    • May be needed to reduce noise on I2C signal lines due to a large distance between the main board and the breakout

Context

Location of the board: Boards will be utilized by several systems throughout the car as outlined below

  • Cooling

    • Nose Intake, Tail Exhaust, Battery box intake/exhaust, internally in battery box multiple locations

  • TODO: Any other systems needing environmental sensing

Connection List

#

Name

Type

Ideal Voltage

Notes

#

Name

Type

Ideal Voltage

Notes

U4

PSOM Connector

53307-2471 (PSOM)

N/A

3.65mm tall

J2

CAN Output

1x4xP3.00mm_PolarizingPeg_Vertical

+12V

6.98mm tall

J3

CAN Input

1x4xP3.00mm_PolarizingPeg_Vertical

+12V

6.98mm tall

J6

Breakout

2x05_P2.50mm_Vertical

+3.3V

9.05mm tall

PeripheralSOM Daughterboard Connection List

Pin #

Net Name

Notes

Pin #

Net Name

Notes

2, 9

+3.3V

General 3.3V source for SHT45 humidity sensor and FS3000 airflow sensor

4, 11

GND

Ground associated with general 3.3V source

6

I2C2_SDA

I2C data signal for FS3000 airflow sensor

8

I2C2_SCL

I2C clock signal for FS3000 airflow sensor

10

VDDA (3.3V)

Isolated 3.3V analog voltage source for LMT87 temperature sensor

12

GNDA

Isolated analog ground for LMT87 temperature sensor

14

I2C1_SCL

I2C clock signal for SHT45 humidity sensor

16

I2C1_SDA

I2C data signal for SHT45 humidity sensor

20

PA1 (ADC)

STM32 analog-to-digital converter input on PSOM; connected to analog output of LMT87 temperature sensor

21

CAN_L

CAN Bus Low; connected to other Environment boards and Leader board over EnvironmentCAN

22

+12V_In

12V input from CAN I/O connector

23

CAN_H

CAN Bus High; connected to other Environment boards and Leader board over EnvironmentCAN

24

GNDPWR

Ground associated with 12V from CAN I/O connector

I2C2 jumpers on PeripheralSOM must be closed for pull-up functionality (default is open for GPIO)

Main

Sensor Schematics

image-20241102-213831.png
Humidity Sensor
image-20241102-213900.png
Airflow Sensor

R1 and C7 values were chosen arbitrarily due to lack of documentation, need to test/verify

Protection for Breakout Board

Main Board Connectors

Breakout Connector

List of Circuit Components

Humidity Sensor – https://sensirion.com/products/catalog/SHT45

Airflow Sensor – Renesas Electronics FS3000-1005

Temperature Sensor – LMT87

TVS Diodes - onsemi ESD9B3.3ST5G

  • Description: Transient voltage suppressor (TVS) diode to protect sensitive components from ESD

  • Justification for selection of specific part: Sufficient working peak reverse voltage and breakdown voltage to protect broken-out I2C devices (sensors)

  • Datasheet link: https://www.onsemi.com/pub/Collateral/ESD9B-D.PDF

  • Footprint: SOD-923

  • Notes:

    • VRWM (Working Peak Reverse Voltage) of 3.3v

    • VBR (Breakdown Voltage) of 5v

PTC Fuses - Bel 0ZCM0010FF2G

Layout

Dimensions: 59mm x 53mm (Main board), 27.2mm x 19.4mm (Breakout board)

Requirements/Constraints: As described in the rationale section.

PCB

3D Models

Firmware (WIP)

Test setup: Nucleo-F429ZI

 

TODO: add documentation for the following

  • CRC calculation for SHT45

  • checksum calculation for FS3000

  • drivers for SHT45, FS3000, LMT87

  • CAN package information

  • build/test instructions

Related pages