The fuse destruction in case of a shorted high-side MOSFET was enabled for all boards with DC/DC converter, even if the board doesn't have a fuse at the low-side terminal (e.g. Nucleo G474RE). Add an ls-fuse property to the charge-controller binding to describe this hardware feature and make HS_MOSFET_FAIL_SAFE_PROTECTION depend on it. The property is added to all MPPT boards, so the behavior does not change for them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
71 lines
2.4 KiB
YAML
71 lines
2.4 KiB
YAML
# Copyright (c) The Libre Solar Project Contributors
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: Generic charge controller device setup
|
|
|
|
compatible: "charge-controller"
|
|
|
|
properties:
|
|
type:
|
|
type: string
|
|
required: true
|
|
description: Device type
|
|
version-str:
|
|
type: string
|
|
required: true
|
|
description: Hardware version number (human-readable)
|
|
version-num:
|
|
type: int
|
|
required: true
|
|
description: Hardware version number (usable in preprocessor defines)
|
|
hs-voltage-max:
|
|
type: int
|
|
required: true
|
|
description: Maximum voltage at high-side (typically PV input) in volts
|
|
ls-voltage-max:
|
|
type: int
|
|
required: true
|
|
description: Maximum voltage at low-side (typically battery) in volts
|
|
dcdc-current-max:
|
|
type: int
|
|
description: Maximum inductor current in amps (if existing in the charge controller)
|
|
ls-fuse:
|
|
type: boolean
|
|
description: |
|
|
Low-side (typically battery) terminal is protected by a fuse
|
|
|
|
The fuse can be blown by switching on the low-side MOSFET of the DC/DC converter
|
|
continuously, which shorts the low-side terminal through the inductor. This is used to
|
|
prevent overcharging of the battery in case of a shorted high-side MOSFET.
|
|
internal-tref-max:
|
|
type: int
|
|
default: 50
|
|
description: |
|
|
Internal reference temperature at full load (°C)
|
|
|
|
This value is used for model-based control of overcurrent protection. It represents
|
|
the steady-state internal temperature for max. continuous current at ambient
|
|
temperature of 25°C. Default value is conservative and can be overwritten in PCB
|
|
configuration.
|
|
mosfets-tj-max:
|
|
type: int
|
|
default: 120
|
|
description: |
|
|
Maximum Tj of MOSFETs (°C)
|
|
|
|
This value is used for model-based control of overcurrent protection. It represents
|
|
the steady-state junction temperature for max. continuous current at ambient
|
|
temperature of 25°C.
|
|
mosfets-tau-ja:
|
|
type: int
|
|
default: 5
|
|
description: |
|
|
Thermal time constant junction to ambient (s)
|
|
|
|
This value is used for model-based control of overcurrent protection. It does not reflect
|
|
the much lower MOSFET-internal time constant junction to case, but includes thermal
|
|
inertia of the board.
|
|
|
|
Around 5s seems to be a good conservative estimation for 5x6 type SMD MOSFETs. Take larger
|
|
values for big heat sinks.
|