Lemonergy · Studio block
Fault qualification timer
Qualifies persistent symptoms, leaks intermittent evidence and clears after a healthy interval.
- Implementation ID
battery-fault-qualifier- Reviewed
- 2026-10-27
Behavior
Accumulates symptom time at accepted sample events, removes configured evidence during healthy samples, qualifies a persistent fault and clears it after a healthy interval. An explicit reset clears its memory. Initialization consumes no elapsed time.
Interface
| Name | Direction | Unit | Meaning |
|---|---|---|---|
symptom | input | true / false | Fault symptom; scalar. |
reset | input | true / false | Reset; scalar. |
fault | output | true / false | Qualified fault; scalar. |
accumulator | output | s | Symptom time (s); scalar. |
healthy | output | s | Healthy time (s); scalar. |
Parameters
Defaults are initial model values. Select values for your own model and operating conditions.
| Parameter | Unit | Default | Meaning and limits |
|---|---|---|---|
Sample interval (s)sampleTimeS | s | 0.1 | Positive sample interval. Initialization has zero elapsed time; subsequent accepted samples update memory. |
Fault qualification time (s)qualifyS | s | 0.3 | Fault qualification time (s). This is an editable model input; the default belongs to the synthetic worked example. |
Evidence removed per healthy sample (s)decrementS | s | 0.1 | Evidence removed per healthy sample (s). This is an editable model input; the default belongs to the synthetic worked example. |
Healthy clearing time (s)clearS | s | 0.2 | Healthy clearing time (s). This is an editable model input; the default belongs to the synthetic worked example. |
Equations and rules
fault qualifies when accumulated symptom time reaches qualifyShealthy clearing requires clearS elapsed without the symptom
Worked example
Fault qualification timer worked example
Use the defaults below with Fault symptom = 1 true / false, Reset = 0 true / false. At 0.4 s, Qualified fault is 1 true / false. Additional checks are listed below.
Open Studio example after release →| Output | Time (s) | Expected value | Unit | Absolute tolerance |
|---|---|---|---|---|
Qualified faultfault | 0.4 | true | true / false | 0 |
Explore the recorded outputs
Fault qualification timer recorded example
Fault qualification timer / Symptom time (s)11 actual recorded samples. Lines are visual guides between samples. Synthetic example, not measured cell data.
Read the selected signal as a table
| Time (s) | Value |
|---|
Download the recorded samples (JSON) · Open this Studio example after release
Use in a workflow
Fault qualification timer worked example
Qualifies persistent symptoms, leaks intermittent evidence and clears after a healthy interval.
- Fault qualification timer: Accumulates symptom time at accepted sample events, removes configured evidence during healthy samples, qualifies a persistent fault and clears it after a healthy interval. An explicit reset clears its memory. Initialization consumes no elapsed time.
- Use the parameter values in the block reference.
- Implementation tested locally; public release pending.
Connected concepts
Limits and interpretation
- Qualification depends on sample interval and thresholds; it cannot detect a symptom that was never sampled.
- The example verifies numerical behavior for synthetic parameters. Cell characterization and validation for an intended use are separate tasks.
Scientific and mathematical references
These sources explain the scientific and mathematical background. The behavior, interface and limits above define the Lemonergy implementation; a citation does not imply every model option in the source is implemented.
- Getting Started with the BQ76925
Texas Instruments · 2019
Technical reference · A concrete BMS analog front-end example: cell voltage, current, temperature measurement and MCU integration.
Implementation sources
This reference follows the public interface and locally verified numerical checks for an upcoming release.
Contract: Lemonergy Studio public contract · Verification record: verification-2026-10-27
docs/glossary/native-block-verification.json
This implementation and its workflow uses (JSON) · Knowledge graph (JSON-LD)