{
  "node": {
    "id": "term:firmware",
    "type": "Term",
    "label": "Firmware",
    "properties": {
      "id": "firmware",
      "name": "Firmware",
      "aka": [
        "embedded software",
        "BMS software"
      ],
      "section": "topic-data",
      "definition": "The software that runs on a BMS or charger controller. Its version decides how SOC, limits and faults behave, so it is tracked like a part number, updated by flashing over CAN or over the air, and recorded in the battery passport.",
      "related": [
        "mcu",
        "flashing",
        "bmu",
        "battery-passport",
        "functional-safety"
      ],
      "url": "https://lemonergy.com/learn/glossary/firmware/",
      "mentions": [
        "charger",
        "state-of-charge",
        "bms",
        "over-the-air-update"
      ]
    }
  },
  "edges": [
    {
      "id": "edge:4082",
      "source": "term:firmware",
      "target": "topic:topic-data",
      "type": "belongsTo",
      "properties": {
        "sourceFile": "terms.json"
      }
    },
    {
      "id": "edge:4083",
      "source": "term:firmware",
      "target": "term:mcu",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:4084",
      "source": "term:firmware",
      "target": "term:flashing",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:4085",
      "source": "term:firmware",
      "target": "term:bmu",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:4086",
      "source": "term:firmware",
      "target": "term:battery-passport",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:4087",
      "source": "term:firmware",
      "target": "term:functional-safety",
      "type": "relatedTo",
      "properties": {
        "sourceFile": "terms.json",
        "meaning": "Related context; not a causal claim"
      }
    },
    {
      "id": "edge:mentions/firmware/charger",
      "source": "term:firmware",
      "target": "term:charger",
      "type": "mentions",
      "properties": {
        "sourceFile": "terms.json",
        "method": "build_glossary.mention_index + mentions",
        "field": "definition",
        "meaning": "Text mention; not a causal claim"
      }
    },
    {
      "id": "edge:mentions/firmware/state-of-charge",
      "source": "term:firmware",
      "target": "term:state-of-charge",
      "type": "mentions",
      "properties": {
        "sourceFile": "terms.json",
        "method": "build_glossary.mention_index + mentions",
        "field": "definition",
        "meaning": "Text mention; not a causal claim"
      }
    },
    {
      "id": "edge:mentions/firmware/bms",
      "source": "term:firmware",
      "target": "term:bms",
      "type": "mentions",
      "properties": {
        "sourceFile": "terms.json",
        "method": "build_glossary.mention_index + mentions",
        "field": "definition",
        "meaning": "Text mention; not a causal claim"
      }
    },
    {
      "id": "edge:mentions/firmware/over-the-air-update",
      "source": "term:firmware",
      "target": "term:over-the-air-update",
      "type": "mentions",
      "properties": {
        "sourceFile": "terms.json",
        "method": "build_glossary.mention_index + mentions",
        "field": "definition",
        "meaning": "Text mention; not a causal claim"
      }
    }
  ],
  "neighbors": [
    {
      "id": "topic:topic-data",
      "type": "Topic",
      "label": "Data, communication and electronics",
      "properties": {
        "id": "topic-data",
        "name": "Data, communication and electronics",
        "lede": "The control units, chips, protocols and file formats through which a battery is measured, controlled and logged.",
        "context": "Separate quantities from encoding and transport.",
        "example": "2500 in a log might mean 25.00 °C, 2.5 V or raw counts. Units and scale must accompany the value.",
        "lesson_url": "https://lemonergy.com/learn/fundamentals/battery-basics/",
        "lesson_label": "Open battery basics"
      }
    },
    {
      "id": "term:mcu",
      "type": "Term",
      "label": "Microcontroller",
      "properties": {
        "id": "mcu",
        "name": "Microcontroller",
        "abbr": "MCU",
        "section": "topic-data",
        "definition": "The processor that runs BMS firmware: state estimation, protection, balancing decisions and communication. Automotive BMS controllers use safety microcontrollers with lockstep cores and hardware self-tests so they can meet ASIL C or D.",
        "related": [
          "bmu",
          "firmware",
          "functional-safety",
          "fpga",
          "afe"
        ],
        "url": "https://lemonergy.com/learn/glossary/mcu/",
        "mentions": [
          "bms",
          "lockstep-core"
        ]
      }
    },
    {
      "id": "term:flashing",
      "type": "Term",
      "label": "Flashing",
      "properties": {
        "id": "flashing",
        "name": "Flashing",
        "aka": [
          "reprogramming",
          "ECU flashing",
          "bootloader"
        ],
        "section": "topic-data",
        "definition": "Writing new firmware into a controller’s flash memory, normally through a bootloader that receives the image over CAN with UDS services. Image files come as Intel HEX, Motorola S-record or binary, often signed so the controller refuses unauthorised code.",
        "related": [
          "firmware",
          "uds",
          "hex-file",
          "can-bus"
        ],
        "url": "https://lemonergy.com/learn/glossary/flashing/",
        "mentions": []
      }
    },
    {
      "id": "term:bmu",
      "type": "Term",
      "label": "Battery management unit",
      "properties": {
        "id": "bmu",
        "name": "Battery management unit",
        "abbr": "BMU",
        "aka": [
          "BMS master",
          "master BMS"
        ],
        "section": "topic-data",
        "definition": "The master controller of a battery management system: it collects cell voltages and temperatures from the monitoring boards, runs the state estimation and protection logic, drives the contactors and talks to the vehicle. In some architectures the same name is used for a per-module slave, so a datasheet’s block diagram is the safe reference.",
        "related": [
          "bms",
          "cell-supervision-circuit",
          "bcu",
          "contactor",
          "can-bus",
          "bms-power-modes"
        ],
        "url": "https://lemonergy.com/learn/glossary/bmu/",
        "mentions": [
          "datasheet"
        ]
      }
    },
    {
      "id": "term:battery-passport",
      "type": "Term",
      "label": "Battery passport",
      "properties": {
        "id": "battery-passport",
        "name": "Battery passport",
        "section": "topic-sustainability",
        "definition": "A digital record for each electric-vehicle and industrial battery, required in the EU from 2027, holding its composition, carbon footprint, due-diligence data, state of health and repair history, accessible by QR code.",
        "related": [
          "eu-battery-regulation",
          "traceability",
          "carbon-footprint",
          "state-of-health",
          "recycled-content",
          "battery-pack-aadhaar-number"
        ],
        "url": "https://lemonergy.com/learn/glossary/battery-passport/",
        "mentions": []
      }
    },
    {
      "id": "term:functional-safety",
      "type": "Term",
      "label": "Functional safety",
      "properties": {
        "id": "functional-safety",
        "name": "Functional safety",
        "abbr": "ISO 26262",
        "aka": [
          "ASIL"
        ],
        "section": "topic-hvsafety",
        "definition": "The discipline, standardised for vehicles in ISO 26262, of making sure electronic failures do not cause harm. Battery functions such as overvoltage protection are classified by risk into ASIL levels A to D, which set how redundant and verified their hardware and software must be.",
        "related": [
          "bms",
          "high-voltage-interlock",
          "insulation-resistance",
          "fmea",
          "mcu",
          "iso-13849"
        ],
        "url": "https://lemonergy.com/learn/glossary/functional-safety/",
        "mentions": []
      }
    },
    {
      "id": "term:charger",
      "type": "Term",
      "label": "Charger",
      "properties": {
        "id": "charger",
        "name": "Charger",
        "section": "topic-charging",
        "definition": "The power electronics that convert mains or DC supply into the controlled current and voltage a battery needs. For lithium-ion it runs the CC-CV profile within the limits the BMS communicates, and stops rather than floats when the cell is full.",
        "related": [
          "cc-cv-charging",
          "bms",
          "onboard-charger",
          "dc-fast-charging"
        ],
        "url": "https://lemonergy.com/learn/glossary/charger/",
        "mentions": []
      }
    },
    {
      "id": "term:state-of-charge",
      "type": "Term",
      "label": "State of charge",
      "properties": {
        "id": "state-of-charge",
        "name": "State of charge",
        "abbr": "SOC",
        "section": "topic-state",
        "definition": "How full a cell is, as a fraction of its available capacity. State of charge, like temperature, affects how fast a stored cell ages.",
        "unit": "%",
        "related": [
          "depth-of-discharge",
          "ocv-soc-curve",
          "coulomb-counting",
          "state-of-health",
          "bms"
        ],
        "lesson": "fundamentals/battery-aging/#storage-soc",
        "example": {
          "title": "Interpret a charge inventory",
          "text": "If available capacity is 5 Ah and 3 Ah remains by the chosen estimator, SOC is 60%. A different estimate of available capacity changes this percentage, so compare SOC values only with the capacity convention recorded."
        },
        "url": "https://lemonergy.com/learn/glossary/state-of-charge/",
        "mentions": [
          "usable-capacity"
        ]
      }
    },
    {
      "id": "term:bms",
      "type": "Term",
      "label": "Battery management system",
      "properties": {
        "id": "bms",
        "name": "Battery management system",
        "abbr": "BMS",
        "section": "topic-pack",
        "definition": "The electronics and software that keep a battery inside its safe window: measuring every cell voltage and many temperatures, estimating SOC and SOH, balancing cells, computing current limits, controlling the contactors and reporting over the vehicle network.",
        "related": [
          "state-of-charge",
          "cell-balancing",
          "state-of-power",
          "cell-supervision-circuit",
          "contactor",
          "can-bus"
        ],
        "lesson": "fundamentals/battery-basics/#cell-module-pack",
        "url": "https://lemonergy.com/learn/glossary/bms/",
        "mentions": [
          "state-of-health",
          "cell-voltage"
        ]
      }
    },
    {
      "id": "term:over-the-air-update",
      "type": "Term",
      "label": "Over-the-air update",
      "properties": {
        "id": "over-the-air-update",
        "name": "Over-the-air update",
        "abbr": "OTA",
        "aka": [
          "OTA update",
          "FOTA",
          "SOTA",
          "over the air"
        ],
        "section": "topic-data",
        "definition": "Updating a controller’s firmware or calibration remotely over a cellular or Wi-Fi link instead of at a workshop. For a BMS it lets fixes to SOC estimation or charging limits reach a whole fleet, but needs signed images, a fallback copy and a safe vehicle state; UN R156 governs how manufacturers manage such updates.",
        "related": [
          "firmware",
          "flashing",
          "bms-cybersecurity",
          "fleet-telematics",
          "cloud-bms"
        ],
        "url": "https://lemonergy.com/learn/glossary/over-the-air-update/",
        "mentions": [
          "state-of-charge",
          "bms"
        ]
      }
    }
  ]
}
