Hi all, first post, so i hope this is a suitable place to ask my questions!
anyway, ive built a beefy classD amplifier, and i designed (with help) a little circuit to control startup and shutdown. on powering up, a timer starts, and after 4 or so seconds, trips a relay that takes amps out of standby mode, this allows the dsp and bluetooth modules to boot up and settle down before the speakers become active.
on shutdown, i have a small (0.35VA) transformer, which provides 6v to the circuit. when the power is cut this immediately loses output, and cuts the relay off, which puts amps into standby before the main smps ramps down.. this avoids any pops or clicks.
circuit i have built is in screengrab attached.

it works just fine, HOWEVER, the "sense" transformer is only 30% efficient and despite being tiny and having virtually no load, it heats up.... a lot.
its in a confined space with other warm components around it.. after 2.5hrs the trafo's plastic case is reading 90 odd degrees c.
obviously this is unacceptable.. if i left it on all night it might well melt a hole through the floor.
so. i wish to modify my circuit. the timer is fine.. simple 555 and giving just the right delay.
my idea was to swap the trafo for an ac optoisolator. high value resistor to drop the mains down, and the output used to break the signal from the timer to the relay, maybe via another transistor if necessary.
im trying to keep this as compact as possible.
ive laid out a suggested circuit in spice, but i am a *complete* noob, firstly in spice, and also, to be honest, in electronic circuit design. i know what i need, and i can propose a method, but selecting component values? doh.
also for some arcane reason spice is telling me i have a floating node, so the sim wont even run.
attached is a screengrab of the proposed modified circuit.

if anyone there is inclined to help me "finish the job" and take it from my sketch to a set of component values which will work, without getting hot, ill be very grateful. if requested i can upload my spice file, although only the first one actually works, and the optoisolator in spice is not an ac one.. with an ac one i assume i could leave out the diode and capacitor i placed before it.
cheers all!
anyway, ive built a beefy classD amplifier, and i designed (with help) a little circuit to control startup and shutdown. on powering up, a timer starts, and after 4 or so seconds, trips a relay that takes amps out of standby mode, this allows the dsp and bluetooth modules to boot up and settle down before the speakers become active.
on shutdown, i have a small (0.35VA) transformer, which provides 6v to the circuit. when the power is cut this immediately loses output, and cuts the relay off, which puts amps into standby before the main smps ramps down.. this avoids any pops or clicks.
circuit i have built is in screengrab attached.

it works just fine, HOWEVER, the "sense" transformer is only 30% efficient and despite being tiny and having virtually no load, it heats up.... a lot.
its in a confined space with other warm components around it.. after 2.5hrs the trafo's plastic case is reading 90 odd degrees c.
obviously this is unacceptable.. if i left it on all night it might well melt a hole through the floor.
so. i wish to modify my circuit. the timer is fine.. simple 555 and giving just the right delay.
my idea was to swap the trafo for an ac optoisolator. high value resistor to drop the mains down, and the output used to break the signal from the timer to the relay, maybe via another transistor if necessary.
im trying to keep this as compact as possible.
ive laid out a suggested circuit in spice, but i am a *complete* noob, firstly in spice, and also, to be honest, in electronic circuit design. i know what i need, and i can propose a method, but selecting component values? doh.
also for some arcane reason spice is telling me i have a floating node, so the sim wont even run.
attached is a screengrab of the proposed modified circuit.

if anyone there is inclined to help me "finish the job" and take it from my sketch to a set of component values which will work, without getting hot, ill be very grateful. if requested i can upload my spice file, although only the first one actually works, and the optoisolator in spice is not an ac one.. with an ac one i assume i could leave out the diode and capacitor i placed before it.
cheers all!

