Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status

Status
colourBlue
titleIn progress

Owner

Nathan Lemma

Contributors

Nathan Lemma

Approver

Lakshay Gupta

Due date

On this page

Table of Contents
maxLevel2
minLevel2

🌍 Overview

This is the design document for the Amperes Board. As 1 out of the 4 important boards within our system, we need to be able to track the current within the car so that it is in a safe and manageable level. We also want to think about how we can record the current to apply the result to a State of Charge (SoC) algorithm.


❓ Problem statement


BPS is tasked with securing the safety and monitoring of the battery, such as current monitoring. Over-current of the battery can damage internal components and pose a risk to the driver.

💡 Research insights


There are 2 ways to measure current, either using a shunt resistor connected to the load or using a hall-effect sensor. They have their own pros and cons but they solve the same problem.

📊 Solution hypothesis


The solution is successful if we are able to track current reliably and transmit that data to the leaderboard.

🪛  Design  Design options

There are only 2 ways to measure current. Either measure the voltage across a resistor in series with the load or we can measure the magnetic field of the wire. Invasive vs non-invasive

Option 1 - Voltage Across a Resistor

Option 2 - Magnetic Field of Wire

Overview

Current Sense Amplifier or Isolated Modulators/ADC

Hall-Effect Current Sensing

Screenshot

image-20240907-165605.pngimage-20240907-183949.png

Pros and cons

Tip

Accuracy

Tip

Simplicity and cost

Warning

Affected by electric noise

Warning

Power loss and voltage drop

Tip

Electric isolation and no power loss

Tip

Measures both AC and DC current

Warning

Affected by magnetic noise and temperature

Warning

Zero-drift problems

DECISION

Decision 1

  • Option 1 - Making the PCB though a shunt resistor

In the future, members can look into the second option for a hall-effect version


(lightbulb) Ideas

Amperes Board Diagrams-Figure 1.drawio.svg

Figure 1 is a common method to measure current using a shunt-resistor. There are 3 steps to read the current:

  1. The differential voltage is fed into the Current Sense Amplifier and converted to a single-ended signal.

  2. This single-ended signal is connected to an ADC, digitizing the signal.

  3. The signal is sent to a microcontroller for processing.


High Side vs Low Side

For reading the current, there are 2 different configurations you can have your device hooked up to.

See Introduction to Current Sense Amplifiers to learn more


Amperes Board Diagrams-Figure 2.drawio.svg

Figure 2 shows an example of the current sense amplifier connected to the shunt resistor in a high-side sending sensing configuration.

Current Sense Amplifier

Isolated Modulator

Design

Accuracy

Bigger shunt resistor allows for more accuracy

Power Dissipation

Smaller shunt resistor consumes less power

Advantages:

  • Able to detect load short to ground

  • Current is monitored directly from the source

Disadvantages:

  • High voltage can limit the variety of devices


Amperes Board Diagrams-Figure 3.drawio.svgImage Added

Figure 3 shows an example of the current sense amplifier connected to the shunt resistor in a low-side sensing configuration.

Advantages:

  • Wide range of available options

  • Does not need an advanced sensor

Disadvantages:

  • Difficult to detect load short to ground


Decision 2

  • Both?!: use high and low-side sensing

We will get the advantages of both and no disadvantages except cost. Plus, built in fault monitoring.

Info

Fault monitoring:

By comparing the readings from both high-side and low-side sensors, you can detect faults such as open circuits, short circuits, or unexpected current paths. Discrepancies between the two readings might indicate issues in the circuit that need attention.


🖼️ Chips to pick

There are different chips that you can choose to make your life easier. The current sense amplifier is great, but you could also use an isolated modulator (an integrated ADC) to track the voltage differential. Below is the selected shunt resistor given as a requirement.

Current Shunt Resistor: WSBM8518L5000JK

  • Resistance: 500 µOhms

Requirements

Below is the specs that the sensor should be able to meet. There needs to be two different ones as there is some better for low-side sensing and some better for high-side sensing.

High-Side Pick - INA226

fbd_sbos547a.gifImage Added
  • Electrical Specifications:

    • Supply Voltage: +3.3V

    • Common Mode Voltage Range: -2.7V to +120V

    • Shunt Voltage Range:

    • Power Consumption: 36 W

    • Accuracy:

      • Gain:

        • Gain error: ±0.1% (maximum)

        • Gain drift: ±5 ppm/°C (maximum)

      • Offset:

        • Offset voltage: ±12 µV (maximum)

        • Offset drift: ±0.2 µV/°C (maximum)

Link to TI: https://www.ti.com/product/INA226

✅ Follow up

#

Decision

Status

Next steps

1

Decision 1 - Shunt Resistor

Status
colourGreen
titleCompleted

  •  Create Decide the components for the prospective design
2
  • location of the shunt resistor

2

Decision 2 - Both Sided Current Sensor

Status
colourGreen
titleCompleted

  •  What chips will you pick to sense?

🔤 Vocab

Current Sense Amplifier: Amplifies the small voltage drop across a shunt resistor to measure current accurately in circuits.

Isolated Modulator: Converts analog signals to digital while maintaining electrical isolation, often used in high-voltage or noisy environments.

Hall-Effect Sensor: Detects magnetic fields to measure position, speed, or current without direct electrical contact.

Zero-drift: the phenomenon where a sensor's output signal shifts away from its baseline (or zero) value when there is no actual current flowing through the sensor; affects Hall-Effect Sensor

💎 Resource files

View file
nameTI Current Sensing Doc.pdf

How to Sense Current

View file
nameTI Hall-Effect Current Sense.pdf

Hall-Effect White Paper

View file
nameComparing Shunt- and Hall-Based Isolated CurrentSensing Solutions in HEV-EV.pdf

Shunt vs Hall-Effect

View file
nameComparing Isolated Amplifiers and Isolated Modulators.pdf

Isolated Amplifiers vs Isolated Modulators

View file
nameIntroduction to Current Sense Amplifiers.pdf

Introduction to Current Sense Amplifiers