From f693c01ea0b8d299687c73dec10831f21bbedcac Mon Sep 17 00:00:00 2001 From: Marek128b Date: Sun, 14 Apr 2024 15:39:03 +0200 Subject: [PATCH] fixed line and added table of content links --- documentation.html | 74 ++++++++++++++++++++++++---------------------- style.css | 9 ++++-- 2 files changed, 46 insertions(+), 37 deletions(-) diff --git a/documentation.html b/documentation.html index 0ece55b..75a38ee 100644 --- a/documentation.html +++ b/documentation.html @@ -25,8 +25,21 @@

BQ76942

Documentation Webpage for the BQ76942 project

-
- table of content TODO +
+
    +
  1. + Short Description +
  2. +
  3. + functional-block-diagram +
  4. +
  5. + voltage-measurement +
  6. +
  7. + direct-commands-and-sub-commands +
  8. +
-

Short Description

+

1. Short Description

The BQ76942 Balancer is an integrated circuit specifically designed for battery management applications, with a particular focus on multi-cell lithium-ion or lithium-polymer battery packs. Serving as a sophisticated component of a battery management system (BMS), the BQ76942 offers advanced functionalities such as monitoring cell voltages, balancing charge distribution, and sensing temperature levels. Its primary objective is to ensure the safe and efficient operation of - battery packs by closely monitoring individual cell voltages and tem-perature, thereby preventing - issues like overcharging, over-discharging, and thermal runa-way. By redistributing charge among + battery packs by closely monitoring individual cell voltages and temperature, thereby preventing + issues like overcharging, over-discharging, and thermal runaway. By redistributing charge among cells, the balancer functionality maintains optimal cell balance, extending battery life and enhancing the overall reliability of the system. With its compact size and comprehensive range of features, the BQ76942 Balancer plays a crucial role in the design and implementation of @@ -69,7 +82,7 @@

Short Description

-

Functional Block Diagram

+

2. Functional Block Diagram

functional block diagram
@@ -78,32 +91,27 @@

Functional Block Diagram

-

Voltage Measurement

-

`Technical Reference Manual BQ76942 @ page 19`

+

3. Voltage Measurement

The BQ76942 device integrates a voltage ADC that is multiplexed between measurements of cell voltages, an internal temperature sensor, up to nine external thermistors, and also performs measurements of the voltage at the VC10 pin, the PACK pin, the LD pin, the internal Vref used by the coulomb counter, and the VSS rail (for diagnostic purposes). The BQ76942 device supports measurement of individual differential cell voltages in a series configuration, ranging from 3 series cells to - 10 series cells. Each cell - voltage measurement is a differential measurement of the voltage between two adjacent cell input + 10 series cells. Each cell voltage measurement is a differential measurement of the voltage between + two adjacent cell input pins, such as VC1–VC0, VC2–VC1, and so forth. The cell voltage measurements are processed based on - trim and calibration corrections, and - then reported in 16-bit resolution using units of 1 mV. The raw 24-bit digital output of the ADC is - also - available for readout using 32-bit subcommands (the 24-bit data is contained in the lower 3 bytes of - the - 32-bit data, and is sign-extended to create the upper byte). The cell voltage measurements can - support a - recommended voltage range from –0.2 V to 5.5 V. If a cell voltage is applied that exceeds a level of - 5 × - VREF1 (approximately 6.06 V), the device may report a value of –6.06 V (and the cell voltage raw - counts - similarly would report a value of -8388608). For best performance, stay at a maximum input of 5.5 V. - The - 16-bit cell and VC10 (stack), PACK, and LD pin voltage measurements are available by using the - commands - listed below.

+ trim and calibration corrections, and then reported in 16-bit resolution using units of 1 mV. The + raw 24-bit digital output of the ADC is + also available for readout using 32-bit subcommands (the 24-bit data is contained in the lower 3 + bytes of + the 32-bit data, and is sign-extended to create the upper byte). The cell voltage measurements can + support a recommended voltage range from –0.2 V to 5.5 V. If a cell voltage is applied that exceeds + a level of + 5 × VREF1 (approximately 6.06 V), the device may report a value of –6.06 V (and the cell voltage raw + counts similarly would report a value of -8388608). For best performance, stay at a maximum input of + 5.5 V. + The 16-bit cell and VC10 (stack), PACK, and LD pin voltage measurements are available by using the + commands listed below.

voltage measurement diagram
@@ -112,16 +120,13 @@

Voltage Measurement

-

Direct commands and sub commands

-

`Technical Reference Manual BQ76942 @ page 13`

+

4. Direct commands and sub commands

The direct commands are accessed using a 7-bit command address that is sent from a host through the - device - serial communications interface and either triggers an action, provides a data value to be written - to the - device, or instructs the device to report data back to the host.

+ device serial communications interface and either triggers an action, provides a data value to be + written to the device, or instructs the device to report data back to the host.

Subcommands are additional commands that are accessed indirectly using the 7-bit command address - space and - provide the capability for block data transfers. When a subcommand is initiated, a 16-bit

+ space and provide the capability for block data transfers. When a subcommand is initiated, a 16-bit +

subcommand address is first written to the 7-bit command addresses 0x3E (lower byte) and 0x3F (upper byte).

@@ -140,7 +145,6 @@

Voltage Switcher

connections that lead to the BQ76942 Battery Management IC, except for the VC10 connection as this Pin has to be connected to the last Cell of the Battery pack.

-
diff --git a/style.css b/style.css index f40da83..fc96a38 100644 --- a/style.css +++ b/style.css @@ -74,6 +74,11 @@ header { align-items: center; } +/*table of content*/ +#table_of_content { + padding-top: 2em; +} + /*sections*/ .section { max-width: 50vw; @@ -98,8 +103,8 @@ header { .section .line { margin-top: 1.5rem; - border-bottom: 4px solid rgb(177, 177, 177); - width: 95vw; + border-bottom: 2px solid rgb(177, 177, 177); + width: 50vw; position: absolute; left: 50%; transform: translate(-50%, -50%);