Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 31 Current »

Project Ownership: Ravi Shah

Github Link (Main Board): https://github.com/lhr-solar/DataAcq-EnvironmentBoard

Github Link (Breakout): https://github.com/lhr-solar/DataAcq-EnvBreakoutPCB

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 - https://www.nxp.com/products/interfaces/ic-spi-i3c-interface-devices/ic-bus-repeaters-hubs-extenders/level-translating-ic-bus-smbus-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

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

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.pngimage-20241102-213900.pngimage-20241102-213932.png

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

Protection for Breakout Board

image-20241102-214506.png

Main Board Connectors

image-20241102-214242.png

Breakout Connector

image-20241102-214708.png

List of Circuit Components

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

  • Description: Digital relative humidity and temperature sensor

  • Justification for selection of specific part: DataAcq chose it

  • Datasheet link: https://sensirion.com/media/documents/33FD6951/662A593A/HT_DS_Datasheet_SHT4x.pdf

  • Associated passives/components:

    • 100nF capacitor

    • 2x 10k resistors

  • Interface: I2C

  • Footprint: Non-standard QFN

  • Notes:

    • 3.3v supply voltage

    • Maximal power-up time = 1ms

    • Also measures temperature – not using this functionality due to modular nature of board

    • Heater functionality provided for high humidity (>90%RH) conditions

    • Accurate to ±1.0 %RH

Airflow Sensor – https://www.mouser.com/ProductDetail/Renesas-Electronics/FS3000-1005?qs=xZ%2FP%252Ba9zWqYVrq1uDYsQug%3D%3D

Temperature Sensor – https://www.ti.com/product/LMT87

TVS Diodes - https://www.mouser.com/ProductDetail/863-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 - https://www.mouser.com/ProductDetail/530-0ZCM0010FF2G

Layout

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

Requirements/Constraints: As described in the rationale section.

PCB

image-20241106-020602.pngimage-20241106-020704.png

3D Models

image-20241106-021404.pngimage-20241106-021224.png

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

  • No labels