HF-TMC9660 Driver 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC9660
Loading...
Searching...
No Matches
tmc9660::TMC9660< CommType >::Protection::ProtectionConfig Struct Reference

Configuration structure for protection auto-configuration. More...

#include <tmc9660.hpp>

Public Attributes

std::optional< floatovervoltageThreshold_V
 Overvoltage threshold in volts (optional, default: 28.0V for 24V systems).
 
std::optional< floatundervoltageThreshold_V
 Undervoltage threshold in volts (optional, default: 20.0V for 24V systems).
 
std::optional< floattemperatureWarning_C
 Temperature warning threshold in °C (optional, default: 80.0°C).
 
std::optional< floattemperatureShutdown_C
 Temperature shutdown threshold in °C (optional, default: 100.0°C).
 
std::optional< boolenableOvercurrent
 Enable overcurrent protection (optional, default: true).
 
std::optional< uint16_ti2tTimeConstant1_ms
 I²t window 1 time constant in milliseconds (optional, default: 100ms).
 
std::optional< floati2tContinuousCurrent1_A
 I²t window 1 continuous current limit in Amps (optional, default: 1.5A).
 
std::optional< uint16_ti2tTimeConstant2_ms
 I²t window 2 time constant in milliseconds (optional, default: 1000ms).
 
std::optional< floati2tContinuousCurrent2_A
 I²t window 2 continuous current limit in Amps (optional, default: 1.25A).
 

Detailed Description

template<typename CommType>
struct tmc9660::TMC9660< CommType >::Protection::ProtectionConfig

Configuration structure for protection auto-configuration.

Member Data Documentation

◆ enableOvercurrent

template<typename CommType >
std::optional<bool> tmc9660::TMC9660< CommType >::Protection::ProtectionConfig::enableOvercurrent

Enable overcurrent protection (optional, default: true).

When enabled, the gate driver overcurrent detection will shut down drivers on overcurrent conditions. Enable overcurrent protection (optional, default: true)

◆ i2tContinuousCurrent1_A

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::Protection::ProtectionConfig::i2tContinuousCurrent1_A

I²t window 1 continuous current limit in Amps (optional, default: 1.5A).

Continuous current limit for the first I²t monitoring window. Should be set based on motor continuous current rating. I²t window 1 continuous current limit [A] (optional, default: 1.5A)

◆ i2tContinuousCurrent2_A

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::Protection::ProtectionConfig::i2tContinuousCurrent2_A

I²t window 2 continuous current limit in Amps (optional, default: 1.25A).

Continuous current limit for the second I²t monitoring window. Typically set slightly lower than window 1 for longer-term protection. I²t window 2 continuous current limit [A] (optional, default: 1.25A)

◆ i2tTimeConstant1_ms

template<typename CommType >
std::optional<uint16_t> tmc9660::TMC9660< CommType >::Protection::ProtectionConfig::i2tTimeConstant1_ms

I²t window 1 time constant in milliseconds (optional, default: 100ms).

Time constant for the first I²t monitoring window. Typical values: 50-200ms (default: 100ms) I²t window 1 time constant [ms] (optional, default: 100ms)

◆ i2tTimeConstant2_ms

template<typename CommType >
std::optional<uint16_t> tmc9660::TMC9660< CommType >::Protection::ProtectionConfig::i2tTimeConstant2_ms

I²t window 2 time constant in milliseconds (optional, default: 1000ms).

Time constant for the second I²t monitoring window (longer-term protection). Typical values: 500-2000ms (default: 1000ms) I²t window 2 time constant [ms] (optional, default: 1000ms)

◆ overvoltageThreshold_V

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::Protection::ProtectionConfig::overvoltageThreshold_V

Overvoltage threshold in volts (optional, default: 28.0V for 24V systems).

Threshold at which overvoltage warning is triggered. Typical values:

  • 24V systems: 28-30V (default: 28.0V)
  • 48V systems: 56-60V
  • 12V systems: 14-15V Overvoltage threshold in volts (optional, default: 28.0V)

◆ temperatureShutdown_C

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::Protection::ProtectionConfig::temperatureShutdown_C

Temperature shutdown threshold in °C (optional, default: 100.0°C).

Temperature at which motor is shut down for protection. Typical values:

  • Standard: 100-105°C (default: 100.0°C)
  • High-temp: 110-115°C Temperature shutdown threshold in °C (optional, default: 100.0°C)

◆ temperatureWarning_C

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::Protection::ProtectionConfig::temperatureWarning_C

Temperature warning threshold in °C (optional, default: 80.0°C).

Temperature at which warning is triggered. Typical values:

  • Standard: 80-85°C (default: 80.0°C)
  • High-temp: 90-95°C Temperature warning threshold in °C (optional, default: 80.0°C)

◆ undervoltageThreshold_V

template<typename CommType >
std::optional<float> tmc9660::TMC9660< CommType >::Protection::ProtectionConfig::undervoltageThreshold_V

Undervoltage threshold in volts (optional, default: 20.0V for 24V systems).

Threshold at which undervoltage warning is triggered. Typical values:

  • 24V systems: 18-20V (default: 20.0V)
  • 48V systems: 40-44V
  • 12V systems: 10-11V Undervoltage threshold in volts (optional, default: 20.0V)

The documentation for this struct was generated from the following file: