FlexCase
Digital Output Guide
Prerequisites
- Complete the quick start guide for a tutorial on connecting to the FlexCase and flashing binaries
Specifications
A summary of the outputs is provided below.
Features | Low Side Output | High Side Output |
---|---|---|
Operating Voltage Range | 0 – 36 V | 5 – 36 V |
Maximum Load Voltage | 60 V | 60 V |
ON-State Resistance | 50 mΩ | 100 mΩ (per channel) |
Recommended Load Current | 3 A | 3 A |
Short Circuit Detection | 10 A | 38 A (Combined Channels) |
Diagnostic Functions | Status signal for thermal latch | Load current sense, open load detection, short circuit detection |
Recommended Switching | DO: On/off PWM: 0-20 kHz (10%-90% duty cycle) |
DO: On/off PWM: 0-12 kHz (10%-90% duty cycle) |
Status Feedback | Digital feedback via LSOX_STAT pin. | Fractional Load current feedback through ADC_HSO pin |
Load Types Recommended | Resistive, inductive | Resistive, inductive, capacitive |
Logic Active High/Low Info
See datasheet for pin/port information.
LSO:
- LSO_IN Input Signal (Set DO/PWM): This is an active high digital signal that can be set either HIGH or LOW.
- LSO_EN (Low Side Digital Output Enable): When set to HIGH, the switch is enabled, allowing the LSO1_IN signal to control the output effectively.
- LSO_STAT Pin (Read Feedback): This pin provides essential diagnostic feedback and automatic reset functionality. A HIGH LSO_STAT logic indicates normal operation, while a LOW logic signals an overtemperature condition.
HSO:
- HSO_IN (Set DO/PWM): This is an active high digital signal that can be driven either HIGH or LOW.
- DSEL Pin (High Side Digital Output Feedback): This pin can be toggled between HIGH and LOW to select the channel to be diagnosed.
Info on Protection
Protection Features | Low Side Output | High Side Output |
---|---|---|
Overcurrent Protection | ✅ | ✅ |
Overtemperature Protection | ✅ | ✅ |
Overvoltage Protection | ✅ | ✅ |
Undervoltage Protection | ✅ | ✅ |
Reverse Battery Protection | ❌ | ✅ |
ESD Protection | ✅ | ✅ |
Short Circuit Protection | ❌ | ✅ |
Open Load Detection | ❌ | ✅ |
Load Dump Protection | ❌ | ✅ |
Maximum Load Inductance Specification | ✅ | ✅ |
LSO:
- Overvoltage Clamping: This feature limits the drain-source voltage and manages power dissipation effectively.
- Thermal Protection: The chip includes an integrated temperature sensor that shuts the device down during overtemperature conditions.
- Overcurrent Limitation: This function handles short circuits or excessive currents, automatically shutting down the device if overtemperature is detected. Once the temperature reaches back to normal operating state, the chip is automatically reset to normal mode.
HSO:
- Loss of Ground Protection: In the event of a loss of ground, the device automatically turns off or remains off to protect itself.
- Undervoltage Protection: The device turns off when the supply voltage drops below a certain threshold and turns back on when voltage is restored, with protection functions becoming active.
- Overvoltage Protection: This is managed by an integrated clamp mechanism, which limits the current through a ground resistor.
- Reverse Polarity Protection: The device uses resistors to limit current through the logic and sense transistors. However, no protection functions are active during reverse polarity.
- Overload Protection: This includes current limitation to maintain safe power levels and temperature sensors to prevent overheating. The device will switch off when necessary until it is manually reset via the input pin.
Info on Feedback
HS Feedback & Current Measurement:
The feedback signal can be read by following the steps below:
- Select the HSO to Read – Toggle the DSEL_B2 pin LOW or HIGH, respectively.
- Read the Applicable Channel Feedback ADC – The reading from the ADC will provide feedback as to the operating conditions of the HSO.
Measurement | HSO ON (High) | HSO OFF (Low) |
---|---|---|
Current Measurement (Normal Operation) | Current = (Voltage Reading) * (Scaling Factor) / 470 | Voltage Reading = 0V |
Current Limitation | Voltage Reading > 2.5V | N/A |
Short to GND | Voltage Reading > 2.5V | Voltage Reading = 0V |
Overtemperature Event | Voltage Reading > 2.5V | Voltage Reading = 0V |
Short to VCC | Voltage Reading ≈ 0 | Voltage Reading > 2.5V |
Open Load | Voltage Reading ≈ 0 | Voltage Reading = 0V |
Inverse Current | Voltage Reading ≈ 0 | Voltage Reading > 2.5V |
Underload |
^Scaling factor for FCE = 1460, FCG = 2240.
LSO Feedback:
-
- The status/feedback of the chip, indicating the state of the switch as either active (Logic HIGH) or inactive (Logic LOW), is communicated through the MCU pins. During normal operation (without thermal shutdown), the LSO_STAT pin’s logic is set to HIGH. In the case of a thermal shutdown, the LSO_STAT pin pulls its voltage down to GND, providing a LOW-level signal.
Application Recommendations
Inductive Loads
The DOs are protected against inductive flyback and will survive, but do not include a flyback diode. If desired, flyback can be more actively managed using the methods described below:
- (Most Control) Half Bridge with Control – Use an HSO and LSO in half bridge configuration and drive the load using the HSO. The body diode in the LSO will act as a flyback diode passively and can be actively PWM’d for more control of the load. Do not use the HSO as the flyback circuit.
- (Most Integrated) Half Bride with No Control – Use an HSO and LSO in half bridge configuration and drive the load using the HSO. Only use the LSO as a flyback diode. Do not use the HSO as the flyback circuit.
- Add An External Flyback Diode – Add an external flyback diode in parallel with the inductive load.
Half Bridge Configuration for FCE and FCG
A Half Bridge (or) a H-bridge is an electronic circuit designed to reverse the polarity of voltage applied to a load. These circuits are commonly utilized in robotics and various applications to enable DC motors to operate in both forward and reverse directions.
- FCE: For FCE, a half-bridge configuration is achieved by utilizing a single output pin where both HIGH and LOW states are available (Not present on focus SKU) or wiring a HSO and LSO together.
- FCG: For FCG, a half-bridge configuration is accomplished by appropriately wiring the output channel pins.
Prerequisites
- Complete the quick start guide for a tutorial on connecting to the FlexCase and flashing binaries
FlexCase S & FlexBench 1.3 Or Higher
Summary of DO (Digital Output)
A summary of the outputs is provided below.
Features | Low Side Output | High Side Output |
---|---|---|
Operating Voltage Range | 0 – 36 V | 5 – 36 V |
Maximum Load Voltage | 40 V | 41 V |
ON-State Resistance | 160 mΩ | 90 mΩ (per channel) |
Recommended Load Current | 3 A | 3 A |
Short Circuit Detection | 7 A | 25 A (Combined Channels) |
Diagnostic Functions | NA | NA |
Recommended Switching | DO: On/off PWM: 0-20 kHz (10%-90% duty cycle) |
DO: On/off PWM: 0-12 kHz (10%-90% duty cycle) |
Status Feedback | NA | NA |
Load Types Recommended | Resistive, inductive | Resistive, inductive, capacitive |
LSO:
- LSO_IN Input Signal (Set DO/PWM): This is an active high digital signal that can be set either HIGH or LOW.
- LSO_EN (Low Side Digital Output Enable): When set to HIGH, the switch is enabled, allowing the LSO1_IN signal to control the output effectively.
HSO:
- HSO_IN (Set DO/PWM): This is an active high digital signal that can be driven either HIGH or LOW.
Info on Protection
Protection Features | Low Side Output | High Side Output |
---|---|---|
Overcurrent Protection | ✅ | ✅ |
Overtemperature Protection | ✅ | ✅ |
Overvoltage Protection | ✅ | ✅ |
Undervoltage Protection | ✅ | ✅ |
Reverse Battery Protection | ❌ | ✅ |
ESD Protection | ✅ | ✅ |
Short Circuit Protection | ❌ | ✅ |
Open Load Detection | ❌ | ✅ |
Load Dump Protection | ❌ | ✅ |
Maximum Load Inductance Specification | ✅ | ✅ |
LSO:
- Overvoltage Clamping: This feature limits the drain-source voltage and manages power dissipation effectively.
- Thermal Protection: The chip includes an integrated temperature sensor that shuts the device down during overtemperature conditions.
- Overcurrent Limitation: This function handles short circuits or excessive currents, automatically shutting down the device if overtemperature is detected. Once the temperature reaches back to normal operating state, the chip is automatically reset to normal mode.
HSO:
- Loss of Ground Protection: In the event of a loss of ground, the device automatically turns off or remains off to protect itself.
- Undervoltage Protection: The device turns off when the supply voltage drops below a certain threshold and turns back on when voltage is restored, with protection functions becoming active.
- Overvoltage Protection: This is managed by an integrated clamp mechanism, which limits the current through a ground resistor.
- Reverse Polarity Protection: The device uses resistors to limit current through the logic and sense transistors. However, no protection functions are active during reverse polarity.
- Overload Protection: This includes current limitation to maintain safe power levels and temperature sensors to prevent overheating. The device will switch off when necessary until it is manually reset via the input pin.
FlexCase S & FlexBench 1.2 Or Lower
Summary of DO (Digital Output)
A summary of the outputs is provided below.
Features | Low Side Output | High Side Output |
---|---|---|
Operating Voltage Range | 0 – 36 V | 5 – 36 V |
Maximum Load Voltage | 40 V | 40 V |
ON-State Resistance | 50 mΩ | 100 mΩ (per channel) |
Recommended Load Current | 3 A | 3 A |
Short Circuit Detection | No protection | No protection |
Diagnostic Functions | NA | NA |
Recommended Switching | DO: On/off PWM: 0-20 kHz (10%-90% duty cycle) |
DO: On/off PWM: 0-12 kHz (10%-90% duty cycle) |
Status Feedback | NA | NA |
Load Types Recommended | Resistive | Resistive |
Information on DO
Each digital output pin on the FlexCase is configurable for high-side or low-side operation.
Half Bridge Configuration
The diagram below shows the configuration for Digital Output Bank 1. Banks 2 and 3 are nearly identical in implementation.
A Half Bridge (or) a H-bridge is an electronic circuit designed to reverse the polarity of voltage applied to a load. These circuits are commonly utilized in robotics and various applications to enable DC motors to operate in both forward and reverse directions.
Configuration and Use
- Drive Activation:
- Low side drive is active high.
- High side drive is active low.
- Important: You must supply a voltage on the high side supply for high side drive to function.
- Critical Warning:
- If both high and low side drive are active at the same time, the output will be destroyed.
- Permissible Output Pin States:
- Permissible output pin states are shown in the table below, using Digital Output 1 (DO1 EXT) as an example.
High Side Setpoint Low Side Setpoint PTD16 Unconfigured PTD16 Low PTD16 High PTD15 Unconfigured Open Circuit. No connection Open Circuit. No connection Output connected to GND PTD15 Low Output connected to +VCC Output connected to +VCC DANGER! CAN DAMAGE BOARD! PTD15 High Open Circuit. No connection Open Circuit. No connection Output connected to GND
- High Side Supply Voltage:
Any voltage (within specified limits) can be supplied on the high side supply.
- Examples:
- The 5V output can be fed into the high side supply to create a 5V digital output.
- A battery supply can be fed into the high side supply.