How can a PC detect the AC adapter brand?

  • Thread starter Thread starter anorlunda
  • Start date Start date
  • Tags Tags
    Ac Adapter pc
Click For Summary
SUMMARY

The discussion centers on how laptops, specifically Dell models, detect the brand of AC adapters. Users noted that Dell laptops display a warning message when a non-Dell adapter is connected, despite the adapter functioning correctly. The detection mechanism likely involves a communication protocol using the center pin of the barrel connector, which transmits data between the laptop and the power supply. Participants shared experiences with adapter issues, including intermittent charging and the fragility of adapter cables, emphasizing the importance of understanding the communication signals involved.

PREREQUISITES
  • Understanding of laptop power supply architecture
  • Familiarity with barrel connector wiring and pin functions
  • Knowledge of communication protocols in electronic devices
  • Basic electronics skills for troubleshooting and repair
NEXT STEPS
  • Research how Dell laptops implement adapter identification protocols
  • Explore the role of the center pin in barrel connectors for communication
  • Learn about common power supply issues and repair techniques
  • Investigate the USB battery charger specification and its implications for device charging
USEFUL FOR

Electronics enthusiasts, laptop repair technicians, and anyone interested in understanding power supply communication protocols and troubleshooting adapter-related issues.

anorlunda
Staff Emeritus
Science Advisor
Homework Helper
Insights Author
Messages
11,326
Reaction score
8,754
When I booted my laptop today, I saw a strange message for the first time.

"Your AC adapter is not a Dell product. To continue, connect to a Dell brand adapter."

My adapter is a Dell, so I unplugged, re-plugged, and it worked OK.

I find this behavior by manufacturers offensive, but at the same time I admire their cleverness at implementing it. Assuming that the charging port on the laptop has only ##+V_{DC}## and ground, then how do they detect the brand of adapter?

I can speculate that the power supply taps out a Morse-Code-like signal on ##+V_{DC}## when first connected (:smile:MY NAME IS DELL:smile:).

Does anyone know, in fact, how they actually do it?
 
Engineering news on Phys.org
anorlunda said:
Does anyone know, in fact, how they actually do it?
Mine has been doing that intermittently for at least a year, yet it always powers the laptop, and at some random times it will charge the battery until full. The only other facet I noticed was the output wattage is stated as required to be 65 watts which I have not tested to see what my adapter supplies, and my wife's Samsung Galaxy tablet has a similar problem which only high output USB chargers will function correctly.
 
Last edited:
I disassembled a HP power adapter several years ago(2010)
and posted results on this thread

http://h30434.www3.hp.com/t5/Notebo...ion-dv7-power-adapter-cable/td-p/69090/page/2
look for post that begins with "wow is my face ever red"...

Barrel connector has three contacts

outer barrel, power supply return
inner barrel, which is power supply positive on the Pavillion 7
center pin which is communication between computer and the SMPS power supply.
What attracted my attention to it is center pin is way too small to conduct current required by laptop.
And it doesn't affect power supply voltage as would a "remote sense" wire.
... so what's up ?
good thing i wrote it down then, we found: "It reads 19 volts to common with a ten megohm voltmeter but only 5 volts with a 2kohm/volt meter so it's capable of only a few microamps."
Clearly it could be pulled low from either end for communication.
It is NOT remote sense. There's a computer embedded in that charger and it "talks" to computer in the laptop.
i thought at the time the computer and charger were just exchanging information as to state of CPU's battery charge and temperature of the charger , so CPU would thoughtfully not overheat charger ..
Your experience says they're talking about other things as well.

Those wires are fragile. Yanking the low voltage cord to unplug it will break one of the shields , as described in our post.
Most internet advice was "replace the wire inside the computer" which we did , to no avail.
You'll read 19 volts on center pin with a DMM which makes you think the charger is okay. A cheap analog meter reveals however that center pin is not power.
We re-soldered the broken shield wires inside the charger cable, , repaired jacket with heat-shrink and epoxied the charger back together.
We then fastened charger to a plank and made strain relief for the cable out of rubber surgical tubing . Ugly but effective.

We weren't alone. Son found our blatantly home-brewed repair to be a chick magnet at the school library ! He fixed several more of them...
 
  • Like
Likes   Reactions: davenn and jerromyjon
jim hardy said:
Barrel connector has three contacts
http://assets.diylol.com/hfs/fc6/51c/5e5/resized/arte-johnson-meme-generator-verrrrry-interesting-fd236f.PNG?1406148374.jpg
 
Last edited by a moderator:
  • Like
Likes   Reactions: jerromyjon
Commencing disassembly... resistance is futile!
320x240.jpg
 
  • Like
Likes   Reactions: anorlunda
Veeerryyyy Interesting...
So is your Insight ...
 
jim hardy said:
So is your Insight ...
Any insight on jittery FPD cause/corrections? Alternative displays are flawless but the built-in screen gets trails through it... I'm going on the hunch that the fractured shielding could leak interference.
 
jerromyjon said:
Alternative displays are flawless but the built-in screen gets trails through it...

I'm not very computer literate...
This is my software debugger tool.

terminated.jpg


I'd look at the ends of whatever cable goes through the hinge to connect FPD to motherboard. Likely it's a thin flat flex cable. Hopefully you'll fix it with a wiggle-unplug/reinsert. Clean with alcohol while it's out. Don't use a pencil eraser, you're apt to remove its thin gold plating .

old jim
 
WP_20160324_15_00_18_Pro_LI.jpg
on my phone so I'm ugh but I want to remove the damaged section and resolder the intact remainder to the pcpu I hope I don't trip!
 
  • #10
Our breaks were in these two spots

upload_2016-3-24_14-21-46.png


share what you find ?
 
  • Like
Likes   Reactions: jerromyjon
  • #11
I'm not advocating hacking the protocol, but here it is described.

http://hackaday.com/2014/03/03/hacking-dell-laptop-charger-identification/Many chargers has some level of communication, for example getting an ipad to charge at full rate requires proper loading by the charger on the USB data pins.
The USB battery charger specification has a sub-threshold protocol to define the charger capacity.
Sony has its own protocol.

For example, look at figures 1,2,3 on this datasheet: http://datasheets.maximintegrated.com/en/ds/MAX14578AE-MAX14578E.pdf
 
  • Like
Likes   Reactions: anorlunda and jerromyjon
  • #12
12122535_10206678725272413_7013475248363592391_n.jpg

Those pesky little snakes have heads I revamped.
12065784_10206678720632297_6891261731062080441_n.jpg

I figured the little blue one in the middle was good enough around the edge of the hole, the wires had what looked like "sticky" conductor clips (perhaps to hold the connections during soldering?) I just held them still in the holes after sanding them until "coppery" looking rather than silver so the solder and flux core works to get a good connection. 15 minutes until full charge!

Next, a custom PCB was made with two Dell DC jacks and an MSP430. This passes power through the board, but uses the MSP430 to send fake data to the computer. The demo shows off a 90 W adapter pretending to run at 65 W. With this working, you could power the laptop from any supply that can meet the requirements for current and voltage.

Sounds like step 2. 20v lithium ion powertool batteries for a "backup" power supply. I need an inverter?
 
Last edited:
  • #13
jim hardy said:
Our breaks were in these two spots

View attachment 97889

share what you find ?

That's so common on so much gear ... the cable always breaks within or just outside the strain relief section :rolleyes::rolleyes::rolleyes:
seen it over and over again

Dave
 
  • Like
Likes   Reactions: jim hardy
  • #14
meBigGuy said:
I'm not advocating hacking the protocol, but here it is described.

I do.
Fight fire with fire, fight extortion with civil disobedience.

Congratulations on your repair , jerro...!
 
  • Like
Likes   Reactions: jerromyjon
  • #15
jim hardy said:
Congratulations on your repair , jerro...!
Thanks!
 
  • #16
jim hardy said:
I disassembled a HP power adapter several years ago(2010)
and posted results on this thread

look for post that begins with "wow is my face ever red"...

Barrel connector has three contacts

outer barrel, power supply return
inner barrel, which is power supply positive on the Pavillion 7
center pin which is communication between computer and the SMPS power supply.

WOW, just learned something !
My HP Pavilion DV6 laptop has been giving the ... "Not a HP PSU" for some time, tho it was still charging OK

and I just had a look at the plug, and as you commented it is 3 separate conductors and the centre pin was bent over,
not connecting and thus causing the error message. A little gentle adjusting and the pin is straight again

a crappy pic trying to get a close up, but hopefully good enough to show

DSCF6002sm.jpg
Now depending on if they really want to get actual data from the PSU, the sense pin needs to be nothing more than connected to a
resistor to the negative rail and the computer looks for that terminal resistor ... that's the simple and easy wayDave
 
  • Like
Likes   Reactions: berkeman
  • #17
Hi
welcome t

jenni said:
This has been covered before, but you need to ensure:

this is a VERY old thread ... 3 years
please try to avoid responding to older ones :smile:Dave
 
  • #18
davenn said:
this is a VERY old thread ... 3 years
please try to avoid responding to older ones :smile:
Unless it was in the Workshop sections where 0-reply threads are temporarily queued. (and this one was obviously not) :wink:
 

Similar threads

Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
7K
Replies
15
Views
5K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 25 ·
Replies
25
Views
14K
Replies
2
Views
3K
Replies
4
Views
2K
Replies
3
Views
17K