Then 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?]
I 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 good
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]
The 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!