Files
Martin Jäger 8ab8ea244a Move to standard Zephyr T2 workspace structure (star topology)
https://docs.zephyrproject.org/latest/guides/west/workspaces.html

Previously, west manifest and CMake entry point were in zephyr subfolder
as required for PlatformIO. As PlatformIO support was dropped, we can
follow the default Zephyr folder structure more closely.

The application is built and flashed from app subfolder, where as unit
tests are run from tests subfolder.
2021-12-12 14:09:05 +01:00

63 lines
2.0 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)
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.