User Tools

Site Tools


Sidebar

Kerlink Wiki Home Page

Home

Setups

General information

Wirnet™ iBTS information

Wirnet™ iFemtoCell information

Wirnet™ iFemtoCell-evolution information

Wirnet™ iStation information

System management

Network management

LoRa Features

KerOS customization

Support and resources



www.kerlink.com

wiki:ibts:power_management_ibts

This is an old revision of the document!


Wirnet™ iBTS: Power supply management

The Wirnet iBTS gateway can be powered with an Ethernet cable (PoE injector) or/and an auxiliary power supply (solar panel, battery). When both PoE and external power supply are plugged, the gateway uses the highest voltage available.

The VIN_9V corresponds to VIN_POE.

  • POE power supply - VIN_9V has the POE Value.
  • External power supply - VIN_9V has the external power supply.

VPORT_MEAS has not to be considered for power supply.



Low power detect

Power loss can be detected by polling the value of the VIN_9V signal. It should fall down near 0V when both, PoE and Aux power, are lost. The first action to take when the VIN_9V value decreases is to stop the LoRa module. This will decrease the consumption so the gateway will have enough time to stop. The voltage value can be obtained with the following methods:

root@klk-lpbs:~# adc 4
VIN_9V=48979mV

or:

  FILE * pf_file = NULL;
  u32    u32_adc_value = 0;
 
  pf_file = fopen ("/sys/bus/iio/devices/iio:device1/in_voltage0_raw", "r");
  if(pf_file != NULL)
  {
    fscanf (pf_file, "%d\n", &value);
    fclose (pf_file);
    pf_file = NULL;
  }
  u32_adc_value=( (value * 3300) / 4096 );
  u32_adc_value = ((u32_adc_value* 485) / 15);

Note that power loss can be detected only if the station is equipped with a backup battery !



On/Off Button

An ON/OFF button is located on the front side of the CPU module. This button is intended to perform a hard reboot, power down and power up of the Wirnet iBTS:

  • Hard reboot - Press the button of the Wirnet iBTS.
  • Power down
    • Press the button between 1 to 5 seconds to halt the Wirnet iBTS.
    • Wait for the shutdown of the Wirnet iBTS i.e. until the LEDs are switched off.
    • The shutdown may take up to 30s depending on the current software activity.
  • Power on - Press the button during 1 second to power on the Wirnet iBTS when powered off.



Voltage measurement

All internal voltage measurement can be obtained using the following tool:

root@klk-lpbs:~# adc
VDD_CORE=1372mV
NVCC_DRAM=1354mV
3V3_FDP=3283mV
NVCC_3V3=3288mV
VIN_9V=48435mV
VCC_5V=5008mV
VPOWER=9139mV
VPORT_MEAS=48435mV
wiki/ibts/power_management_ibts.1569418063.txt.gz · Last modified: 2019/09/25 15:27 by ghi