Author Topic: external battery pack for laptop, current limiter  (Read 1535 times)

0 Members and 1 Guest are viewing this topic.

Offline purezergTopic starter

  • Contributor
  • Posts: 13
  • Country: sg
external battery pack for laptop, current limiter
« on: September 30, 2019, 04:35:38 pm »
Hi all,
I have a external power back that is rated to output 20v @ 7A peak
I am trying to figure out a way to limit the laptop from drawing too much current
I have a HP zbook workstation that is rated 200w on the power adapter.
however I managed to figure out that the middle pin is 220k ohms to trick it into believing that the DC power coming in is from a 120w power adapter.
I have successfully used the 120w adapter on the laptop for hours without problems.

the laptop knows it's power limit and adjust accordingly using extra power from the battery when the AC doesnt provide enough when it needs to boost.
the question is it's not full proof. I have blew the power bank's 20v output.

so the question is how to I limit it to 6a@20v

it doesnt always draw 6a. its usually doing 1-2a when idle and 4-6a when average loaded.

so how do I build a 20v @6a current limiter.
 

Online JustMeHere

  • Frequent Contributor
  • **
  • Posts: 759
  • Country: us
Re: external battery pack for laptop, current limiter
« Reply #1 on: September 30, 2019, 06:22:08 pm »
Don't brown out your laptop unless you want bad things to happen.
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4078
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: external battery pack for laptop, current limiter
« Reply #2 on: September 30, 2019, 06:39:25 pm »
Change the maximum processor power state in energy management.

My Dell does this, very aggressively, when I plug in a power supply that isn't 240 Watt.
It goes to around 500 MHz on one core, locks the screen light to almost off and shuts down WiFi. It's very effective in reducing power.

Also, when you starve the chipset from power just the slightest, it turns off, no warnings.
« Last Edit: September 30, 2019, 06:41:44 pm by Jeroen3 »
 

Online JustMeHere

  • Frequent Contributor
  • **
  • Posts: 759
  • Country: us
Re: external battery pack for laptop, current limiter
« Reply #3 on: October 01, 2019, 05:07:55 am »
My Dell does this, very aggressively, when I plug in a power supply that isn't 240 Watt.

I had a Dell that did this too well.  It couldn't tell what it's own power supply was as it aged.  The CPU stayed at min speed and the battery wouldn't charge.  Thankfully I don't think they make these types of power supplies anymore.
 

Offline purezergTopic starter

  • Contributor
  • Posts: 13
  • Country: sg
Re: external battery pack for laptop, current limiter
« Reply #4 on: October 01, 2019, 11:45:00 am »
my zbook 15 comes with a 150w adapter. I have tried 120w adapter and 90w adapter.

plugging in 150w, the CPU can sustain 4ghz.

120w it does 3.6ghz.
 
90w it does 3.6ghz but doesnt charge the battery as fast.

150w with full charge battery and idle. the laptop consumes 15w.
when running prime95. it does 65w

charging an empty battery when the laptop is shut down, consumes 70w

i believe the quaddro on my laptop is 45w itself also.

that said. there is a middle pin in the chargers that help the zbook identify

200w (untested)
150w 120k ohms
120w 220k ohms
90w 300k ohms
65w 380k ohms

I have made a cable with 220k ohms. the power bank is rated for 135-140w

so how do i limit the amps to 6a? 20v@6a.
 

Offline purezergTopic starter

  • Contributor
  • Posts: 13
  • Country: sg
Re: external battery pack for laptop, current limiter
« Reply #5 on: October 01, 2019, 11:48:26 am »
Change the maximum processor power state in energy management.

My Dell does this, very aggressively, when I plug in a power supply that isn't 240 Watt.
It goes to around 500 MHz on one core, locks the screen light to almost off and shuts down WiFi. It's very effective in reducing power.

Also, when you starve the chipset from power just the slightest, it turns off, no warnings.
yeah i know what you mean. in the bios there is a option that allows the system to use battery as a buffer to turbo boost if required.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19568
  • Country: gb
  • 0999
Re: external battery pack for laptop, current limiter
« Reply #6 on: October 01, 2019, 02:08:10 pm »
that said. there is a middle pin in the chargers that help the zbook identify

200w (untested)
150w 120k ohms
120w 220k ohms
90w 300k ohms
65w 380k ohms

I have made a cable with 220k ohms. the power bank is rated for 135-140w

so how do i limit the amps to 6a? 20v@6a.
By applying Ohm's law.

P = VI

V = 20
I = 6
P = 20*6 = 120W

Going from your list, you're right in using a 220k resistor.
 

Offline purezergTopic starter

  • Contributor
  • Posts: 13
  • Country: sg
Re: external battery pack for laptop, current limiter
« Reply #7 on: October 02, 2019, 08:16:12 am »
Quote
By applying Ohm's law.

P = VI

V = 20
I = 6
P = 20*6 = 120W

Going from your list, you're right in using a 220k resistor.

the problem is that the laptop still draw in excess of 120w even thou it identify it's a "120w"

I thought that tricking the laptop to only draw according to 120w was sufficient. but I was wrong. I still need to limit the current draw.

so. any efficient ideas on how to go about doing so? maybe even a diagram?

 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4078
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: external battery pack for laptop, current limiter
« Reply #8 on: October 02, 2019, 08:34:52 am »
If you limit the current externally, the voltage will plummet. Causing the charger to be disconnected by the BMS.
You have to limit the power usage within the laptop itself.
 

Offline purezergTopic starter

  • Contributor
  • Posts: 13
  • Country: sg
Re: external battery pack for laptop, current limiter
« Reply #9 on: October 03, 2019, 02:05:57 pm »
any idea how much the voltage will drop? the powerbank outputs 20v. but the 2 official HP charger i tested was 19.5 and 19.2v
 

Online ledtester

  • Super Contributor
  • ***
  • Posts: 3042
  • Country: us
Re: external battery pack for laptop, current limiter
« Reply #10 on: October 03, 2019, 03:01:22 pm »
A current limiting circuit will drop the voltage all the way to zero if necessary.

Current limiting isn't going to work. The laptop draws more current because it needs more power, but current limiting will reduce the output voltage which reduces the power supplied to the laptop. The laptop will respond by trying to draw more current resulting in even a further drop in voltage.

As Jeroen3 said you need to limit the power within the laptop itself.

 

Online soldar

  • Super Contributor
  • ***
  • Posts: 3225
  • Country: es
All my posts are made with 100% recycled electrons and bare traces of grey matter.
 

Offline purezergTopic starter

  • Contributor
  • Posts: 13
  • Country: sg
Re: external battery pack for laptop, current limiter
« Reply #12 on: October 03, 2019, 06:56:55 pm »
A current limiting circuit will drop the voltage all the way to zero if necessary.

Current limiting isn't going to work. The laptop draws more current because it needs more power, but current limiting will reduce the output voltage which reduces the power supplied to the laptop. The laptop will respond by trying to draw more current resulting in even a further drop in voltage.

As Jeroen3 said you need to limit the power within the laptop itself.
oh i didnt know that.

that said. i wonder how a 120w power adapter copes with 150w demand. how does it prevent itself from blowing up.
 

Offline purezergTopic starter

  • Contributor
  • Posts: 13
  • Country: sg
Re: external battery pack for laptop, current limiter
« Reply #13 on: October 03, 2019, 06:58:14 pm »
It is probable that it is not just the value of the resistor but that communication is going on through that pin. Have you checked with a scope to see if there is any signalling going on? Specially at startup?

https://kakopa.webcindario.com/Dell_PS/index.html
http://www.laptop-junction.com/toast/content/dell-ac-power-adapter-not-recognized
http://www.laptop-junction.com/toast/content/inside-dell-ac-power-adapter-mystery-revealed
http://www.laptop-junction.com/toast/content/dell-ac-power-adapter-id-chip-died
http://www.laptop-junction.com/toast/content/dell-battery-charging-system-d5xx-and-d6xx-laptops
from what i know HP adapters are resister based. the dell are digital chip id based. nope i dont have a scope to test. any other means to tell if it's not just plain resistor?
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19568
  • Country: gb
  • 0999
Re: external battery pack for laptop, current limiter
« Reply #14 on: October 03, 2019, 07:52:58 pm »
A current limiting circuit will drop the voltage all the way to zero if necessary.

Current limiting isn't going to work. The laptop draws more current because it needs more power, but current limiting will reduce the output voltage which reduces the power supplied to the laptop. The laptop will respond by trying to draw more current resulting in even a further drop in voltage.

As Jeroen3 said you need to limit the power within the laptop itself.
oh i didnt know that.

that said. i wonder how a 120w power adapter copes with 150w demand. how does it prevent itself from blowing up.
It wouldn't surprise me if it can cope with more than 120W, especially if it's for short periods of time.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf