Comments (4)
General Notes from the Datasheet
- The LTC6811 has two variants, LTC6811-1 and LTC6811-2. We are using LTC6811-1.
- Each LTC6811 has 12 cell-sensing inputs. If we have 96 cell banks to measure, we need 8 of these chips.
- The LTC6811-1 allows for "daisy chaining" where one chip's data is passed to the next, which then passes both its data and the data it recieved from the previous chip to the next chip, on and on until all every chip's data is passed to the BMS master at the end of the chain.
- There are many different measurement frequency modes for the LTC6811. The tradeoff made here is higher accuracy and less noise requires lower measurement frequency. The lowest frequency, most accurate measurement is 26Hz. This is still much faster than the sensor read task's frequency, so this mode seems best.
- Noise level for 26Hz is maximum 50ยตV peak-to-peak (16 bits ADC resolution). shutdown thresholds must take this into account.
- ADSTAT command measures internal device parameters and has a fault code. Use this in initial startup checks. ADSTATD does the same thing with "digital reduncancy"
- A watchdog timer resets the LTC6811 if it has not recieved a valid command for over two seconds. The WDT pin is internally pulled up when this happens
from bms-fw.
SPI Interface Specification
Altium Schematic:https://americas-team-phantom-simon-fraser-university.365.altium.com/designs/7BDB24F0-FA72-44F9-A03A-2E26A19A2FF2?variant=[No+Variations]&activeDocumentId=BMS_SLAVE_SHEET.SchDoc#design
- LTC6811-1 can operate as an SPI master or slave. We only need it to behave as an SPI slave and we need the GPIO pins (which are used by SPI master mode) for thermistors.
- LTC6811-1 uses its own special communication protocol to pass information along the daisy chain. It is called isoSPI but it is not an SPI interface; it is a totally different protocol.
- According to the datasheet, isoSPI has very good magnetic noise isolation and reliability since it uses a two wire differential signal.
- isoSPI is only used for communication between LTC6811-1 chips in the daisy chain. A regular 4-pin (MOSI, MISO, CLK, CS) SPI interface is used to connect the chain to the BMS master.
- isoSPI always uses port B pins 45, 46, 47, 48 (IBIAS, ICMP, IMB, IPB respectively), but can also use port A pins 41, 42 (IMA, IPA respectively) if ISOMD pin is connected to Vreg. This connection is made in the Altium schematic.
from bms-fw.
Questions for Faizan (BMS Slave PCB Designer)
from bms-fw.
A new Accumulator Box team member was hired to replace Faizan, who is MIA. The new member was to take over development of the BMS slave PCBs. Through some discussions with Tractive System team, it was determined that the previous slave chip and board will work. BMS is switching back from the LTC6811 to the BQ76PL455A. The next step is to determine how much progress had been made on the BQ76PL455A firmware.
from bms-fw.
Related Issues (20)
- Make BMS FW build on launchpad
- Perform battery profiling to obtain Open Circuit Voltage - State of Charge curve and implement look up table in SOC driver
- Implement basic SOC Coulomb Counting algorithm
- Add in ability to continuously read a sensor reading at a user-specified rate through CLI
- Integrate charger into BMS codebase
- Integrate CAN into BMS
- Test balancing of BMS
- 1A: Read IMD sensor HOT 1
- 1B: Read HV current and voltage HOT 6
- 1D: Implement relevant tasks and their logic
- 2: Ability to balance cells
- 4A: Define APIs between modules HOT 1
- 4B: Define queue mailbox wrapper HOT 1
- 4C: Implement BMS CLI HOT 1
- 4D: Cleanup state machine
- Requirements Tracing for FSAE 2024
- Update bms-fw to use hercules-phantom-lib
- HV Shutdown Board Interface
- Develop Charger Driver
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bms-fw.