Files
charge-controller-firmware/zephyr/dts/bindings/charge-controller.yaml
T

60 lines
1.9 KiB
YAML

# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2020 Martin Jäger / Libre Solar
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
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.