Simple switching power supply repair help please - Page 1
Forum section: electronics / repair

author: Powerspring
author_rank: Contributor
timestamp: July 21, 2017, 11:49:23 am
content: I'm trying to diagnose the PSU board in a hi-fi that is not very well. The output voltage is about 30% of what it should be, even with load disconnected.I'm a SMPS noob so I'm very grateful for any pointers.So...Removed the PSU and connected it up for a probe around with the scope. It seems to oscillate for an extremely short period then rest for a few seconds, and repeat.Looking at the datasheet for the controller IC (GR8875N), it could be in an over current protect state (even though there is no over-current event). The changes are very quick and I don't have a memory scope so it's hard to take exact measurements. COMP pin looks to hit about 4v.Datasheet here, page 8, figure 2:http://www.grenergy-ic.com/attach/product/20130508005510_pic.pdfPSU is very close to reference schematic in datasheet. It has a +5v rail which also drives the feedback circuit and additional +/-15v rails with no active circuitry.Thanks in advanceSam

author: capt bullshot
author_rank: Super Contributor
timestamp: July 21, 2017, 12:04:44 pm
content: Check / Replace the electrolytic capacitor connected to Pin 6 of the IC.

author: dave_k
author_rank: Frequent Contributor
timestamp: July 21, 2017, 12:13:00 pm
content: Check for adequate supply voltage to the controller IC (between pin 6 and 4). If the PSU is indeed similar to the reference design, you might find the electrolytic cap associated with the Vcc pin is not healthy.As a test try powering up the controller IC with an external supply (12v should be fine) and look for oscillation on the output pin.

author: Powerspring
author_rank: Contributor
timestamp: July 21, 2017, 01:05:18 pm
content: Thank you both for your replies and suggestionsI've just tried changing the VCC cap. It's still stuck in the cycle described before unfortunately.Monitoring the VCC voltage shows a slow ramp (a couple of seconds) between 10v and 20v.Trying to power the IC externally on 15v doesn't produce any output. This could be because the IC has a brown-out detection function so is looking for HV on the HV pin maybe?

author: T3sl4co1l
author_rank: Super Contributor
timestamp: July 21, 2017, 01:50:58 pm
content: Check the "aux" supply diode?And the transformer side should have continuity to GND (low ohms).Tim

author: Armadillo
author_rank: Super Contributor
timestamp: July 21, 2017, 04:06:11 pm
content: Check TL431 and then change the opto-isolator.

author: Powerspring
author_rank: Contributor
timestamp: July 21, 2017, 05:31:43 pm
content: Thanks for the adviceAll transformer windings are sub 1Which diode do you mean by the "aux" diode? The diode rectifying the winding that feeds VCC tests good.Quote from: T3sl4co1l on July 21, 2017, 01:50:58 pm

author: Powerspring
author_rank: Contributor
timestamp: July 21, 2017, 05:47:08 pm
content: Thanks for the suggestion.I put an external 5v DC supply across that part of the circuit and I got:4.2v drop across the TL431 and 0.8v across the optoisolator emitter. (Sharp PC817)If I increase to 6v DC supply, that increases to 0.9v.The datasheet suggests a typical forward voltage of 1.2v (@20ma) for the emitter.Sounds a bit low but I'm not familiar with these feedback networks. Am I probably looking at the problem here?Thanks again!Quote from: Armadillo on July 21, 2017, 04:06:11 pm

author: Armadillo
author_rank: Super Contributor
timestamp: July 21, 2017, 06:17:15 pm
content: Quote from: Powerspring on July 21, 2017, 05:47:08 pmI assume you meant you applied the voltage across the +ve and -ve of the secondary. If you want to test this way, you need to apply the secondary "design voltage" to the +ve and -ve because of the fixed voltage divider resistors already installed in the circuit.You increase the voltage until the design voltage "AND" the TL731 ref pin should read 2.5V.If you can't get 2.5V after this, you change the TL431.if you can get 2.5V, then you measure the PC817 Anode and Cathode voltage. If still low, change the PC817.It is very likely PC817 or TL431.Even if you can get the above, you still change the PC817 because the transistor side of the PC817 could be defective. There is a way to jumper it, but I don't recommend it. The best way is to change the PC817 to check it.

author: Powerspring
author_rank: Contributor
timestamp: July 21, 2017, 06:17:51 pm
content: Happened to have a cheap USB charger that used the same voltage reference and opto-isolator... Guess they must be common parts in the PSU world.Swapped both parts out. No change whatsoever.Worth a tryQuote from: Armadillo on July 21, 2017, 04:06:11 pm

author: Armadillo
author_rank: Super Contributor
timestamp: July 21, 2017, 06:32:31 pm
content: Quote from: Powerspring on July 21, 2017, 06:17:51 pm[You sure you swapped with working parts?]Your comp pin is at 4V and it not correct. The opto is supposed to pull it down. Unless the IC is defective. So, we go drastic steps.You use 100ohm resistor and pull the comp pin down, if the output voltage did not rise, you have a defective IC. You need to use light bulb to power the circuit up. Because, though unlikely, but the transformer could be shorted. [assuming the IC and the transformer are OK] [**** be careful of lethal voltage and charged cap]Above steps assume you have already checked the obvious, example secondary rectifying diodes and capacitors are all OK, and you have already verified it. Also checked open resistors etc.This is a drastic step, You consider it carefully, could be damaging. I do not recommend it. Please do not do it.

author: Powerspring
author_rank: Contributor
timestamp: July 21, 2017, 06:51:34 pm
content: Quote from: Armadillo on July 21, 2017, 06:17:15 pm(with the replacement parts fitted)5V was the design voltage, and this was applied at the to 0v and 5v rails.The ref pin only read 1.5VI slowly increased the bench power supply from 5V, the ref pin reached 2.5V when the bench supply was @ 10V.I went as far as 15V and ref remained at 2.5VI'm a slow typer so I think I'm one post behind you.Thanks again for your assistance!

author: Armadillo
author_rank: Super Contributor
timestamp: July 21, 2017, 06:54:19 pm
content: Quote from: Powerspring on July 21, 2017, 06:51:34 pmThen you check the voltage divider first. The resistor ohms should be measured. Also you applied 5V, but does the rail read 5V? Please measure it.[is your replacement TL431 OK?]

author: Powerspring
author_rank: Contributor
timestamp: July 21, 2017, 08:41:36 pm
content: Quote from: Armadillo on July 21, 2017, 06:54:19 pmI applied 5v from a variable bench supply and verified with DVM. The replacement parts both came from a working donor USB charger.The voltage divider is formed of 27K on the top and 12K paralleled with 360K on the bottom so the previous 1.5v measurement is about right.The power supply is screen printed with "+5v" and I now think this is wrong. The control board that this powers is printed "9V" for the same rail. I hadn't noticed this before.Recalculating the divider for 9V gives a theoretical 2.7v on the ref. pin. I've just re-tested it and 9.9v applied from bench PSU gives 2.5V on the ref pin and 1.18v across the photodiode.Seems goodQuote from: Armadillo on July 21, 2017, 06:32:31 pmThe comp pin ramps up to about 4v over about 1.2mS then falls to 0v instantly (where it stays for a couple secs). I'm trying to catch this on a non memory scope by eye so measurements are far from accurate.I've already got the power supply hooked up to isolation transformer with a series lamp (as I've been poking around with the scope).I tried pulling down the comp pin with a resistor. The output pin oscillates for a few mS then shuts off. VCC voltage shows a slow ramp (a couple of seconds) between 10v and 20v and repeats.But wouldn't pulling comp pin low simulate the output being overvoltage anyway?I'd really like to swap out the control IC GR8875N but I can't find one anywhere. An AliExpress seller had some a year ago.Thanks again!

author: Sergej97
author_rank: Newbie
timestamp: July 21, 2017, 08:55:52 pm
content: Rectifier diodes may fail, which after T1 transformer. So on high frequency it looks like short circuit.

author: Armadillo
author_rank: Super Contributor
timestamp: July 21, 2017, 09:26:55 pm
content: Quote from: Powerspring on July 21, 2017, 08:41:36 pmBecause there is a separate comparator for the comp pin, any voltage above 3.5 volts, shut down the chip as OLP.So the comp pin is not stayed at 4V.

author: Armadillo
author_rank: Super Contributor
timestamp: July 21, 2017, 09:31:55 pm
content: With your isolation transformer and lamp properly setup, it good you have proper setup.can you measure the voltage across the mosfet source resistors with your oscilloscope, any overvoltage there?and next we will check pin 1, what is the voltage there?

author: Armadillo
author_rank: Super Contributor
timestamp: July 21, 2017, 09:51:49 pm
content: Quote from: Powerspring on July 21, 2017, 08:41:36 pmIn this situation, the collector voltage at PC817 is below 3.5v?I reckon the output voltage of your mystery power supply is 12Vdc, can't be oddball 9.9v power supply.

author: Powerspring
author_rank: Contributor
timestamp: July 22, 2017, 03:55:31 pm
content: Quote from: Sergej97 on July 21, 2017, 08:55:52 pmAll goodQuote from: Armadillo on July 21, 2017, 09:31:55 pmWas doing some testing...Pin 1 is at 2.5v when controller is activeDrop across source resistors is about 0.4vThen it started working! Oscillating continuously. 9.3v on the output.I tried powering it off and on again... it didn't work until I probed the source resistors... then it started working againI tried this several times, and tried pushing the board in this area with an insulated screwdriver. This also made it work.A simple dry joint? I re-soldered everything in the area.But now nothing, not even when I push the area of the board that was successful before.I've spent the last hour metering pcb traces and looking for dry joints but I can't find anything.

author: Armadillo
author_rank: Super Contributor
timestamp: July 22, 2017, 04:07:03 pm
content: Then repeat the exercise, start measurement again.With the setup and scope, what can you not repair?This intermittent probing the resistor ON OFF may have killed something.

author: Armadillo
author_rank: Super Contributor
timestamp: July 22, 2017, 06:15:51 pm
content: What's Up? Any progress?

author: Powerspring
author_rank: Contributor
timestamp: July 22, 2017, 09:25:57 pm
content: Quote from: Armadillo on July 22, 2017, 06:15:51 pmHaha thanks for the encouragementI have family commitments so testing will resume Monday

author: Powerspring
author_rank: Contributor
timestamp: July 25, 2017, 08:19:30 pm
content: Over the last couple of days I have established...The power supply is behaving as it did originally. A few ms of oscillations then a couple of seconds rest. VCC rising to 20v then falling to 10v and repeating every couple of seconds. When the ic is oscillating, the COMP pin rises to 4v then falls to 0v when it stops. Other measurements similar to before also.Out of interest, I tried temporarily swapping in a different mosfet. No change.I had a probe around with the mosfet out of circuit. The gate waveform seemed a fair bit cleaner at about 15v peak (about half that before). I wonder if the 8875 is struggling to drive the mosfet properly.Still unable to find a GR8875N anywhere, I started looking at replacements. I have ordered up 5pcs LD7751 which seems close. As I mentioned before, I'm a smps noob so I'd love any feedback about this choice. The parts will be a few weeks. I go away on holiday around this time so I'll check in again when they're here and I'm back home.

author: Armadillo
author_rank: Super Contributor
timestamp: July 25, 2017, 09:32:38 pm
content: If you can, try replace the current sense resistors, let's suspect intermittent. Or temporary bridge it.

author: Powerspring
author_rank: Contributor
timestamp: July 26, 2017, 08:25:16 am
content: Quote from: Armadillo on July 25, 2017, 09:32:38 pmI have already tried bridging them when I was looking for the dry joint. Seem to loose the soft start but no other difference.

author: T3sl4co1l
author_rank: Super Contributor
timestamp: July 26, 2017, 06:53:20 pm
content: Your clue is that it can't maintain aux supply. Some part of the aux supply is broken.Tim

author: Powerspring
author_rank: Contributor
timestamp: August 19, 2017, 05:44:38 pm
content: The LD7751 arrived from aliexpress. I swapped it in and ran the PSU with lamp in series with mains.Success! PSU working well. Output voltages within 10%.Unfortunately the hi-fi has one dodgy speaker driver but at least the unit works and I've learnt a lot in the process.Thank you for your help!