Unfathomable UPiS behaviour; always on BAT?

Uninterruptible Power intelligent Supply Module

Unfathomable UPiS behaviour; always on BAT?

Postby lorddef » Sun Jan 10, 2016 7:18 pm

Hi Guys,

I've recently aquired a UPiS Basic, and I'm having a hard time understanding it's behaviour, and it seems to always say it's powering from BAT even when the micro usb power supply is plugged into the RPI or the socket on the UPiS.

I've followed the manual and Flashed it with the v1 firmware, but it makes no difference.

I have however managed to connect the RPI serial to the UPiS serial, and this is the output I get:


Code: Select all
Powering Source:BAT



@status

----------------------
www.pimodules.com
UPiS Basic
Firmware Version:1.00
----------------------

UPiS Status

Powering Source:BAT

UPiS RTC Date:2000:01:01
UPiS RTC Time:00:02:10

Average Powering Values
----------------------

RPi Voltage:5.05 V

EPR Voltage:13.30 V

USB Voltage:5.22 V

BAT Voltage:3.60 V

UPiS Current:0.59 A

----------------------

Battery Charger OFF
Low Power Restart Time (LPRSTA) is 5 seconds
Raspberry Pi timed shutdown is inactive
Raspberry Pi timed start-up is inactive
Analog Sensor Temperature:35 C 95 F



Powering Source:BAT


It would seem that no matter what I do it still says it's power source is BAT, but the BAT voltage goes up and down, and eventually unplugging the power causes the RPI to power off and not be powered by the UPiS. Can anyone explain what is happening here?

I've also tried to setup the i2c adapter, but am getting no interfaces present, e.g:

Code: Select all
root@karoshi:~# i2cdetect -l
i2c-1   i2c             20804000.i2c                            I2C adapter
root@karoshi:~# i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@karoshi:~#


I'm also struggling to understand the manual; it seems some of the context is lost in the Greek-> English translation unfortuantely.

Any guidance would be greatly appreciated.
lorddef
 
Posts: 4
Joined: Sun Jan 10, 2016 7:04 pm

Re: Unfathomable UPiS behaviour; always on BAT?

Postby lorddef » Mon Jan 11, 2016 11:16 pm

So I upgraded the firmware to 1.096_beta (which I believe is the latest?)

I still get the same behaviour:

Code: Select all
Powering Source:BAT


Powering Source:BAT


Powering Source:BAT

----------------------
www.pimodules.com
UPiS Basic
Firmware Version:1.096 Beta Version
Hardware Release:VCO2
----------------------

UPiS Status

Powering Source:BAT

UPiS RTC Date:2000:01:01

UPiS RTC Time:00:04:15


Average Powering Values
----------------------

RPi Voltage:05.01 V
EPR Voltage:00.00 V
USB Voltage:05.24 V
BAT Voltage:03.32 V
UPiS Current:0566 mA
----------------------

Battery Charger OFF
Low Power Restart Time (LPRSTA) is 5 seconds

Raspberry Pi timed shutdown is inactive
Raspberry Pi timed start-up is inactive
File Safe Power Cut-Off Time is: 30 Seconds
File Safe Shut Down type is: RPi NOT Powered while sleep
File Safe Unconditional Shutdown when Power loose Timer is OFF, UPiS will work until battery discharged
Real Time Clock Correction Factor value is: 0x00

Analog Sensor Temperature:38 C 0100 F


Powering Source:BAT


Powering Source:BAT



Can anyone help?
lorddef
 
Posts: 4
Joined: Sun Jan 10, 2016 7:04 pm

Re: Unfathomable UPiS behaviour; always on BAT?

Postby lorddef » Tue Jan 12, 2016 11:49 am

A little more info.

It would seem now if I leave it to it's own devices, it stays on BAT and the battery discharges to around 2.4v at which point it enters a state where it constantly switches between USB and BAT. It'll charge the battery to about 2.8v at which point it switches back to BAT, it then dischatges to 2.4v and switches back to USB; this repeats for ever.

PSU is 1A and I've not seen the consumption reported above 600mA

Code: Select all
Powering Source:BAT

@stat
Powering Source:USB

us



----------------------
www.pimodules.com
UPiS Basic
Firmware Version:1.096 Beta Version
Hardware Release:VCO2
----------------------

UPiS Status

Powering Source:USB

UPiS RTC Date:2000:01:01

UPiS RTC Time:12:36:13


Average Powering Values
----------------------

RPi Voltage:05.01 V
EPR Voltage:00.00 V
USB Voltage:05.22 V
BAT Voltage:02.41 V
UPiS Current:0543 mA
----------------------

Battery Charger ON
Low Power Restart Time (LPRSTA) is 5 seconds

Raspberry Pi timed shutdown is inactive
Raspberry Pi timed start-up is inactive
File Safe Power Cut-Off Time is: 30 Seconds
File Safe Shut Down type is: RPi NOT Powered while sleep
File Safe Unconditional Shutdown when Power loose Timer is OFF, UPiS will work until battery discharged
Real Time Clock Correction Factor value is: 0x00

Analog Sensor Temperature:44 C 0111 F

@status



----------------------
www.pimodules.com
UPiS Basic
Firmware Version:1.096 Beta Version
Hardware Release:VCO2
----------------------

UPiS Status

Powering Source:USB

UPiS RTC Date:2000:01:01

UPiS RTC Time:12:36:26


Average Powering Values
----------------------

RPi Voltage:04.76 V
EPR Voltage:00.00 V
USB Voltage:04.90 V
BAT Voltage:02.76 V
UPiS Current:0589 mA
----------------------

Battery Charger ON
Low Power Restart Time (LPRSTA) is 5 seconds

Raspberry Pi timed shutdown is inactive
Raspberry Pi timed start-up is inactive
File Safe Power Cut-Off Time is: 30 Seconds
File Safe Shut Down type is: RPi NOT Powered while sleep
File Safe Unconditional Shutdown when Power loose Timer is OFF, UPiS will work until battery discharged
Real Time Clock Correction Factor value is: 0x00

Analog Sensor Temperature:44 C 0111 F

@pm


Powering Source:USB

Powering Source:BAT

Powering Source:USB
lorddef
 
Posts: 4
Joined: Sun Jan 10, 2016 7:04 pm

Re: Unfathomable UPiS behaviour; always on BAT?

Postby SlySven » Tue Feb 23, 2016 5:03 am

I think you will do best with the PSU plugged into the UPiS board and not the main RPi board. Do you have a multi-meter - you should be able to measure the incoming power supply voltage on the exposed end of the polyfuse next to the UPiS micro-USB connector. Also are you sure about the voltages changing between 2.4 and 2.8 Volts - that seems seriously under the automatic shutdown voltage which I thought was 3.2 Volts. What are the LEDs doing?
SlySven
 
Posts: 17
Joined: Tue Feb 23, 2016 4:55 am

Re: Unfathomable UPiS behaviour; always on BAT?

Postby Pimaster » Sun Feb 28, 2016 1:37 am

You are using a wrong battery for the UPiS, you are using probably PIco battery for the UPiS.

It is not possible to have such reading on the UPiS with his own battery. If you need such battery we can send you.

BR PiM
Warmest Regards
PiM
---
Designing with Mentor Graphics PADS - www.pads.com
Please read and follow the PiForum rules
http://www.forum.pimodules.com/viewtopic.php?f=13&t=196
---
Pimaster
Site Admin
 
Posts: 1582
Joined: Fri Sep 14, 2012 7:50 am

Re: Unfathomable UPiS behaviour; always on BAT?

Postby SlySven » Tue Jul 05, 2016 7:41 pm

lorddef wrote:Hi Guys,

I've recently aquired a UPiS Basic, ...

...
Code: Select all
...
EPR Voltage:13.30 V
...

Battery Charger OFF
---

Reviewing this again I realised that EPR figure is bogus - the Basic model does not have it :? For comparison here is the text from my UPiS - also a Basic one a few moments ago:
Code: Select all
----------------------
www.pimodules.com
UPiS Basic
Firmware Version:1.00
Hardware Release:VCO2
----------------------

UPiS Status

Powering Source:USB

UPiS RTC Date:2016:07:05

UPiS RTC Time:18:17:36


Average Powering Values
----------------------

RPi Voltage:5.05 V

EPR Voltage:0.00 V

USB Voltage:5.19 V

BAT Voltage:4.16 V

UPiS Current:0.69 A

----------------------

Battery Charger ON
Low Power Restart Time (LPRSTA) is 5 seconds

Raspberry Pi timed shutdown is inactive
Raspberry Pi timed start-up is inactive
Analog Sensor Temperature:27 C 80 F


I have noticed that if I draw much more than around 600-700mA on the 1.00 firmware there is not enough power to operate the charger as well - if it is not too high in that band of current it does still seem possible to manually switch the charger on with "@CHGR ON" (if the total is too high it will switch off again quite quickly). However once the battery level gets too low the UPiS seems to get in a cycle of switching on the charger AND continuing to power the RPi from it rather than switching to running the RPi from the incoming supply {that is what I recall was happening but I might have that wrong - I try to avoid provoking it now!} It might be that the incoming supply is felt to be too low (as many USB supplies are NOT capable of outputting their full current at the full voltage - and I think the USB specs allow for this, but your average RPi won't like it) and the UPiS thinks it HAS to charge the battery but also it has to run the RPi and something has to give...

Once it gets into that sort of state I found the only way to recover was to shutdown the RPi and operate the slide switch so that the UPiS only has to charge the battery and NOT run the RPi, after a half-hour or so the battery has recharged and everything will work fine.
SlySven
 
Posts: 17
Joined: Tue Feb 23, 2016 4:55 am


Return to UPiS

Who is online

Users browsing this forum: No registered users and 1 guest