Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« previous next »
  • Print
Pages: [1] 2 3 ... 11

Author Topic: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2  (Read 26769 times)

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
[Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« on: January 01, 2017, 03:15:13 AM »
I have new idea how improve power consumption even more: add scaling for CVDD2 and PVDD1. We can set CVDD2 to low value when internal and external flash/SD at idle. Also we can set lower value for PVDD1 for lower volume.
So I have prepared new patch (hack ;)) and builds for tests.

So what expected?
1. Improved battery life - up to 30 hours playtime on mp3 on Clip Zip.
2. Minor improvements in audio quality at 0 dB, notable at <= -9 dB and major at > 0 dB (as with new settings clipping at high volume should be completely eliminated).
3. Freezes and bugs as always :)

Know problems:
1. Backlight of screen (on Clip Zip) changes brightness if flash/SD in usage and if you switch volume > 0 dB.
2. At this moment I test only DAC, so problems with ADC (recordings) or FM can be expected.

So what I want to know?
1. Is it works at all on others players? Write the name and variant (system > debug > view hw info)  of your player and result.
2. If it works without big problems - try do battery runtime testing.

http://knk.square7.ch/cvdd2/rocobox-cvdd2_scaling-0.patch

Builds with this patch + i2sout_without_dma.patch (http://forums.rockbox.org/index.php/topic,51184.0.html):
http://knk.square7.ch/cvdd2/rockbox-clip+-cvdd2_scaling-12.zip
http://knk.square7.ch/cvdd2/rockbox-clipv2-cvdd2_scaling-12.zip
http://knk.square7.ch/cvdd2/rockbox-fuzev2-cvdd2_scaling-12.zip
http://knk.square7.ch/cvdd2/rockbox-zip-cvdd2_scaling-12.zip

P.S. Don't touch new settings in debug menu (*VDD*) if you not sure what you doing :)


Technical details:

PVDD1 derived from CVDD2.
PVDD1 used by digital part of DAC and ADC.
CVDD2 used by for flash, SD, RAM and probably OLED, some part of USB (and maybe something else). At now I can't set lower value for CVDD2 due internal flash instability. But I still hope to find solution and got 40 hours from Clip Zip at some day :)

Audio settings:

AVDD17 derived from AVDD27.
AVDD17 used by analog part of DAC and ADC. Also used by others analog parts. If we rise it we got bigger maximum output volume. But at some point we got clipping. So I tune CVDD2, PVDD1 and AVDD17 for get maximum possible volume without clipping. Lower value of PVDD1 consume less power and slightly improving THD/IMD but at very low value we got clipping - so best value depend from volume.

All measurements (more than 100 measurements) was done with RMAA and Emu0204 with load 32 om.

I also checked again AUDIOSET2_HPH_QUALITY_HIGH + AUDIOSET3_HP_BIAS_150.  It consume only 0.2 mA. At high volume (>= 0 dB)  mostly no difference in audio quality. But if volume <= -9 dB we have notable improvement (THD better for 35%).
« Last Edit: January 28, 2017, 11:38:02 AM by Mihail Zenkov »
Logged

Offline asymsucon

  • Member
  • *
  • Posts: 102
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #1 on: January 02, 2017, 04:06:48 AM »
Thanks for this, will test this ASAP!
Newb question - apart from replacing everything in .rockbox with this, are there any more steps necessary for successful boot?
Logged

Offline johnb

  • Member
  • *
  • Posts: 215
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #2 on: January 02, 2017, 04:08:11 AM »
No, just shut down once after copying over.
Logged

Offline asymsucon

  • Member
  • *
  • Posts: 102
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #3 on: January 02, 2017, 05:30:50 AM »
I'm experiencing freezing when trying to play any sort of file (all Opus in my case).
Edit: It took approx. 2 minutes to load single Opus file. No change even with FLAC.
Basically everything takes more time (even shutting down)

Running on Clip+
« Last Edit: January 02, 2017, 05:35:58 AM by asymsucon »
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #4 on: January 02, 2017, 05:46:19 AM »
Which exactly variant of clip+ you have (system > debug > view hw info)?
Logged

Offline asymsucon

  • Member
  • *
  • Posts: 102
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #5 on: January 02, 2017, 05:58:25 AM »
[Submodel:]
AMSv2 variant 1

Edit: Output is notably increased with this mod. 1041mVrms with no distortion. Bravo!
Battery seems to be reporting about the same values as before, though no testing was done yet.
« Last Edit: January 02, 2017, 06:09:42 AM by asymsucon »
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #6 on: January 02, 2017, 06:19:03 AM »
Try this: http://knk.square7.ch/cvdd2/rockbox-clip+-cvdd2_scaling-1.zip - less power saving but probably more stability.

Quote from: asymsucon on January 02, 2017, 05:58:25 AM
Edit: Output is notably increased with this mod. 1041mVrms with no distortion. Bravo!

Good :) But be warned: at >0 dB it consume more power than current rockbox.

Quote from: asymsucon on January 02, 2017, 05:58:25 AM
Battery seems to be reporting about the same values as before, though no testing was done yet.

We are can't directly measure battery consumption from firmware. We do battery runtime testing and than just set this value to firmware.
So only battery runtime testing can show right value.
« Last Edit: January 02, 2017, 06:21:35 AM by Mihail Zenkov »
Logged

Offline asymsucon

  • Member
  • *
  • Posts: 102
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #7 on: January 02, 2017, 06:24:14 AM »
My apologies, the previous build is working OK as long as the frequency is set to 48kHz while playing Opus.
I had it set to 44.1kHz to mitigate the pitch problem from another thread. I switched it back and it's much more responsive.

Nevertheless I'll try this updated version and report back.
Logged

Offline asymsucon

  • Member
  • *
  • Posts: 102
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #8 on: January 02, 2017, 06:29:57 AM »
scaling-1 now works fine even with extra resampling in the way (48k->44.1k)
Logged

Offline johnb

  • Member
  • *
  • Posts: 215
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #9 on: January 02, 2017, 07:15:47 AM »
clip+ variant1, still reporting on the first build: works ok when running mp3 from internal memory, but fails on sd access:
with dir cache on it takes a while but the shows the top level dirs, but trying to enter an album directory it shows (if at all) as empty.
This is with a Samsung EVO 64GB card.
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #10 on: January 02, 2017, 07:21:24 AM »
asymsucon, johnb:

Did you see abnormally changes in screen brightness?
Logged

Offline johnb

  • Member
  • *
  • Posts: 215
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #11 on: January 02, 2017, 07:30:48 AM »
I just returned home and tried a different card: Sandisk 128 GB.
I AM able to browse directories and play songs! With dir cache off, there is a huge lag, e.g. WPS-> File browser to even appear. Responsiveness is horrible.

With dir cache on, it's much better, but I see a delay in start of playing a song after it has been selected in file browser.
Logged

Offline asymsucon

  • Member
  • *
  • Posts: 102
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #12 on: January 02, 2017, 07:31:54 AM »
Nothing so far, even with contrast set to 50 and stressing the CPU with some extra effects (scaling-0 tested)
Running 128GB microSDXC Sandisk Ultra
« Last Edit: January 02, 2017, 07:49:12 AM by asymsucon »
Logged

Offline johnb

  • Member
  • *
  • Posts: 215
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #13 on: January 02, 2017, 07:33:37 AM »
Rg. brightness: nothing special.

Should I  continue testing more stuff with the first build or go on with your latest version?


I can also test with a variant 0, if you want me to?

-------------------
I just switched to a Kingston 8GB card: I see none of the delay and lacking responsiveness  :-)
---------------------

When decreasing from +6dB (i.e. in the + range) I hear sometimes a click (similar to transitioning the -40dB threshold).
--------------------------

the variant 0 gets a little further on the Samsung card: I can browse through the dirs and even select a song. It displays the tags in WPS, but won't ever play.
« Last Edit: January 02, 2017, 08:18:50 AM by johnb »
Logged

Offline Mihail Zenkov

  • Developer
  • Member
  • *
  • Posts: 374
Re: [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
« Reply #14 on: January 02, 2017, 08:49:00 AM »
Quote from: johnb on January 02, 2017, 07:33:37 AM
Should I  continue testing more stuff with the first build or go on with your latest version?

Can you test latest version with sd cards which have problems?

Quote from: johnb on January 02, 2017, 07:33:37 AM
I can also test with a variant 0, if you want me to?

Yes, it can be useful.

Quote from: johnb on January 02, 2017, 07:33:37 AM
When decreasing from +6dB (i.e. in the + range) I hear sometimes a click (similar to transitioning the -40dB threshold).

Ok, probably I know solution for this.
Logged

  • Print
Pages: [1] 2 3 ... 11
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  [Clip+, Clip Zip, ClipV2, FuzeV2] Improve battery life, part 2
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.027 seconds with 16 queries.