EEVblog Electronics Community Forum

Electronics => Beginners => Topic started by: purezerg on September 30, 2019, 04:35:38 pm

Title: external battery pack for laptop, current limiter
Post by: purezerg 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.
Title: Re: external battery pack for laptop, current limiter
Post by: JustMeHere on September 30, 2019, 06:22:08 pm
Don't brown out your laptop unless you want bad things to happen.
Title: Re: external battery pack for laptop, current limiter
Post by: Jeroen3 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.
Title: Re: external battery pack for laptop, current limiter
Post by: JustMeHere 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.
Title: Re: external battery pack for laptop, current limiter
Post by: purezerg 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.
Title: Re: external battery pack for laptop, current limiter
Post by: purezerg 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.
Title: Re: external battery pack for laptop, current limiter
Post by: Zero999 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.
Title: Re: external battery pack for laptop, current limiter
Post by: purezerg 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?

Title: Re: external battery pack for laptop, current limiter
Post by: Jeroen3 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.
Title: Re: external battery pack for laptop, current limiter
Post by: purezerg 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
Title: Re: external battery pack for laptop, current limiter
Post by: ledtester 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.

Title: Re: external battery pack for laptop, current limiter
Post by: soldar on October 03, 2019, 05:54:11 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 (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/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/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-ac-power-adapter-id-chip-died)
http://www.laptop-junction.com/toast/content/dell-battery-charging-system-d5xx-and-d6xx-laptops (http://www.laptop-junction.com/toast/content/dell-battery-charging-system-d5xx-and-d6xx-laptops)
Title: Re: external battery pack for laptop, current limiter
Post by: purezerg 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.
Title: Re: external battery pack for laptop, current limiter
Post by: purezerg 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 (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/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/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-ac-power-adapter-id-chip-died)
http://www.laptop-junction.com/toast/content/dell-battery-charging-system-d5xx-and-d6xx-laptops (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?
Title: Re: external battery pack for laptop, current limiter
Post by: Zero999 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.