UPS 3 Click-Platine
UPS 3 Click-Platine
Overview
Der UPS 3 Click Board™ ist eine kompakte Zusatzplatine, die eine bidirektionale aktive Lade-/Ausgleichslösung darstellt. Diese Platine verfügt über den LTC3110, eine bidirektionale Buck-Boost-DC/DC-Regler/Ladegerät-Kombination mit wählbaren Betriebsmodi zum Laden und zur Systemsicherung von Analog Devices. Es kann autonom vom Lade- in den Sicherungsmodus wechseln oder die Modi basierend auf einem externen Befehl umschalten. Ein proprietärer rauscharmer Schaltalgorithmus optimiert die Effizienz mit Kondensator-/Batteriespannungen über, unter oder gleich der Systemausgangsspannung. Zu den zusätzlichen Funktionen gehören Spannungswächter für die Richtungssteuerung und das Ende einer Ladung sowie ein Allzweckkomparator mit Open-Collector-Ausgang für die Schnittstelle mit MCU. Dieses Click Board™ eignet sich als Backup-Stromquelle für eine Vielzahl von batteriebetriebenen eingebetteten Anwendungen.
Das UPS 3 Click Board™ wird durch eine mikroSDK-kompatible Bibliothek unterstützt, die Funktionen enthält, die die Softwareentwicklung vereinfachen. Dieses Click Board™ wird als vollständig getestetes Produkt geliefert und ist bereit für den Einsatz auf einem System, das mit der mikroBUS™-Buchse ausgestattet ist.
How Does The UPS 3 Click Board™ Work?
The UPS 3 Click Board™ as its foundation uses the LTC3110, a bidirectional buck-boost DC/DC regulator with a capacitor charger and balancer from Analog Devices. The buck-boost regulator utilizes a proprietary switching algorithm that allows the system voltage to be regulated above, below, or equal to the voltage on the storage element without discontinuity in inductor current or large voltage ripple in the backup voltage. During charging, a limit for the average current drawn from the system power source is accurately programmed with an external resistor and set to 450mA. It also has an integrated, active voltage balancing buffer that prevents capacitor overvoltage conditions caused by capacitor mismatch while charging a stack of supercapacitors.
The LTC3110 operates in two modes, Backup and Charge mode. In Backup mode, the device maintains a system voltage of 1.8V to 5.25V, powered from the supercapacitor stored energy. This feature ensures that all usable stored supercapacitor energy is utilized, thereby extending backup times or shrinking the storage capacitors. In Charge mode, when the primary power system labelled as VSYS is active, the LTC3110 can independently or through user command reverse the direction of power flow using the regulated system voltage to charge and balance the supercapacitors. Also, this Click board™ uses Charge/Backup Mode Indicator, routed on the INT pin of the mikroBUS™ socket, that is pulled in a low logic state while the regulator is in Charge mode, or a high while the regulator is in Backup mode.
The UPS 3 Click Board™ communicates with MCU using several GPIO pins. The EN pin, routed on the PWM pin of the mikroBUS™ socket, is used to put the LTC3110 into Normal operation mode or in a Shutdown. The LTC3110 includes a voltage comparator used to supervise voltage on the storage element associated with the ERR pin of the mikroBUS™ socket alongside a pin labeled as COK, routed on the RST pin of the mikroBUS™ socket, to indicate the energy storage element's charging state.
In addition to all these features, the UPS 3 Click Board™ also has several selectable jumpers. One of them labelled as MODE offers to select between variable or fixed-frequency switching algorithm, Burst or PWM Mode, setting onboard SMD jumper to an appropriate position marked as FIXED and BURST. The other one labelled as FB SEL represents Backup Voltage Feedback Selection which offers the choice between 3.2V and 4.8V to set the voltage on the load when the supercapacitor discharges in Backup mode.
With the DIR pin routed on the CS pin of the mikroBUS™ socket, the LTC3110 can instantly reverse the inductor current and change between Charging and Backup operation modes, reacting quickly on a power failure condition by providing the backup voltage to the system. In combination with the jumper labelled as DIR, this pin allows automatic charging of the supercapacitor when a system voltage is present and works as a DC/DC converter providing system backup power to the load due to lack of system power. Otherwise, users have control over charging and discharging the supercapacitor manually, changing the DIR pin's logic state.
The UPS 3 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper or through SMD jumpers labeled as JP5 and JP6 through which the VSYS voltage powers up the mikroBUS™ 3.3V and 5V power rails. It allows for both 3.3V and 5V capable MCUs to use communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Battery charger |
Applications | The UPS 3 Click Board™ be used as a backup power source for a wide range of battery-operated embedded applications |
On-board modules | LTC3110 - bidirectional buck-boost DC/DC regulator with capacitor charger and balancer from Analog Devices |
Key Features | High accuracy, the selectable switchover from Charge to Backup mode, low-noise switching frequency algorithm, high efficiency, ideally suited for backup applications, and more. |
Interface | GPIO |
Compatibility | mikroBUS |
Click board size | L (57.15 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the UPS 3 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Storage Element Voltage Comparator | ERR | 1 | AN | PWM | 16 | EN | Shutdown Control |
Storage Element Charge Indicator | COK | 2 | RST | INT | 15 | INT | Charge/Backup Mode Indicator |
Charge/Backup Mode Selection | DIR | 3 | CS | RX | 14 | NC | |
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | NC | ||
NC | 6 | MOSI | SDA | 11 | NC | ||
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | MODE | Left | Frequency Switching Algorithm Mode Selection FIXED/BRST: Left position FIXED, Right position BRST |
JP3 | DIR | Left | Supercapacitors Charge/Discharge Mode Selection AUTO/MAN: Left position AUTO, Right position MAN |
JP4 | FB SEL | Left | Backup Voltage Feedback Selection 3V2/4V8: Left position 3V2, Right position 4V8 |
JP5-JP6 | - | Unpopulated | VSYS 3V3/5V Supply Jumpers |
UPS 3 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
System Backup Voltage | 1.8 | - | 5.25 | V |
Current Limit | - | 450 | - | mA |
Fixed Switching Frequency | - | 1.2 | - | MHz |
Operating Temperature Range | -40 | +25 | +125 | °C |
Software Support
We provide a library for the UPS 3 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from ourLibStock™or found on the mikroE GitHub account.
Library Description
This library contains API for the UPS 3 Click Board™ driver.
Key Functions
void ups3_cfg_setup ( ups3_cfg_t *cfg );
- Config Object Initialization function.UPS3_RETVAL ups3_init ( ups3_t *ctx, ups3_cfg_t *cfg );
- Initialization function.void ups3_default_cfg ( ups3_t *ctx );
- Click the Default Configuration function.
Example Description
This application demonstrates the use of the UPS 3 Click Board™™.
void application_task ( void ) { if ( ups3_get_error( &ups3 ) == UPS3_GET_ERROR_CMPIN_OK ) { if ( ups3_get_cap_ok( &ups3 ) != cok_status ) { new_status = UPS3_STATUS_NEW; cok_status = ups3_get_cap_ok( &ups3 ); } else { new_status = UPS3_STATUS_OLD; } if ( new_status == UPS3_STATUS_NEW ) { ups3_hw_reset( &ups3 ); new_status = UPS3_STATUS_OLD; } if ( ( ups3_get_chrg( &ups3 ) == UPS3_GET_CHRG_BACKUP_MODE ) && ( ups3_get_cap_ok( &ups3 ) == UPS3_GET_CAP_OK_FBV_LOW ) ) { log_printf( &logger, " Backup Mode ON rn" ); } if ( ups3_get_cap_ok( &ups3 ) == UPS3_GET_CAP_OK_FBV_HIGH ) { log_printf( &logger, " Vcap charged rn" ); } } else { log_printf( &logger, " Backup Mode OFF rn" ); log_printf( &logger, " Turn ON the Power Supply rn" ); while ( ups3_get_error( &ups3 ) == UPS3_GET_ERROR_CMPIN_EMPTY ) { Delay_ms( 100 ); } ups3_hw_reset( &ups3 ); Delay_ms( 100 ); } log_printf( &logger, "--------------------------rn" ); Delay_ms( 1000 ); }
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from ourLibStock™or found onmikroE GitHub account.
Other mikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Ups3
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronikacompilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The UPS 3 Click Board™ is supported withmikroSDK- MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from LibStock and installed for the compiler you are using.
Software Support
We provide a library for the UPS 3 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from ourLibStock™or found on the mikroE GitHub account.
Library Description
This library contains API for the UPS 3 Click Board™ driver.
Key Functions
void ups3_cfg_setup ( ups3_cfg_t *cfg );
- Config Object Initialization function.UPS3_RETVAL ups3_init ( ups3_t *ctx, ups3_cfg_t *cfg );
- Initialization function.void ups3_default_cfg ( ups3_t *ctx );
- Click the Default Configuration function.
Example Description
This application demonstrates the use of the UPS 3 Click Board™™.
void application_task ( void ) { if ( ups3_get_error( &ups3 ) == UPS3_GET_ERROR_CMPIN_OK ) { if ( ups3_get_cap_ok( &ups3 ) != cok_status ) { new_status = UPS3_STATUS_NEW; cok_status = ups3_get_cap_ok( &ups3 ); } else { new_status = UPS3_STATUS_OLD; } if ( new_status == UPS3_STATUS_NEW ) { ups3_hw_reset( &ups3 ); new_status = UPS3_STATUS_OLD; } if ( ( ups3_get_chrg( &ups3 ) == UPS3_GET_CHRG_BACKUP_MODE ) && ( ups3_get_cap_ok( &ups3 ) == UPS3_GET_CAP_OK_FBV_LOW ) ) { log_printf( &logger, " Backup Mode ON rn" ); } if ( ups3_get_cap_ok( &ups3 ) == UPS3_GET_CAP_OK_FBV_HIGH ) { log_printf( &logger, " Vcap charged rn" ); } } else { log_printf( &logger, " Backup Mode OFF rn" ); log_printf( &logger, " Turn ON the Power Supply rn" ); while ( ups3_get_error( &ups3 ) == UPS3_GET_ERROR_CMPIN_EMPTY ) { Delay_ms( 100 ); } ups3_hw_reset( &ups3 ); Delay_ms( 100 ); } log_printf( &logger, "--------------------------rn" ); Delay_ms( 1000 ); }
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from ourLibStock™or found onmikroE GitHub account.
Other mikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Ups3
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronikacompilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The UPS 3 Click Board™ is supported withmikroSDK- MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from LibStock and installed for the compiler you are using.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.