I'm glad you found the problem!
I used a no-name Chinese PSU in my delta printer. A few weeks ago a burning smell started coming from the printer, even though the printer was still running normally. I opened up the PSU and found this:
alt text
One toroidal inductor and one resistor badly burned. The PCB was completely scorched under the inductor.
I replaced it with a Meanwell.