T
treez
Guest
30W offline LED driver malfunctining, is it a noise issue?
Hello,
We have an offline (240VAC) 30W offline LED driver with a high power factor. It is controlled by a microcontroller which dims it depending on light levels etc. The problem is that we are getting lots of noise issues with the operation. (eg sometimes it doesn’t dim when it should etc etc).
We are not sure if the problem is with the code, or whether it is noise corrupting the circuit, or noise corrupting the microcontroller. Please help us to know this.
The designer was very “economic” with the components, partly because he was given a tiny space on the PCB in which to squeeze the components on to….there are no local decoupling capacitors immediately local to the opamp, the photodiode, the temperature sensor IC etc…….these are all powered from the 2V5 bias rail but the 2v5 rail does have 20uF of ceramic capacitance on it, so I suppose its not completely without de-coupling.
Another point is that the PIC18F26K20 microcontroller that is also supplied from the 2V5 bias rail has no 4k7 pullup from its MCLR pin to the 2V5 rail, and no 10nF capacitor from the MCLR pin to ground. The MCLR pin has no connections to anything, so it may be getting noise corrupted(?), even though the MCLR function has been disabled in the microcontroller.
Also, there is no mains filter, and no capacitance on the DC Bus just downstream of the Mains rectifier bridge. I requested an AC input filter be added, but this was rejected, saying it would be too costly.
Another point is that the 2V5 bias rail is supplied by an LR8N8 high voltage linear regulator. The designer put no input capacitance at this regulator’s input. I can’t see this being a problem, but I recognise that it is often classed as ‘standard procedure’ to put a capacitor at the input to a linear regulator (but the LR8N8 datasheet doesn’t even mention an input capacitor.)
LR8N8 datasheet:
**broken link removed**
Do you think by having no AC filter that we are leaving ourselves wide open to mains bourn noise coming into the product and corrupting it? I have never seen an offline product without an AC filter before, so I don’t have experience with this.
I have a funny feeling that without a Mains AC filter with the product, we are going to get endless issues with noise. Do you agree?
A representative schematic of the Bias section is shown here…also a representative LTspice simulation of it.
Hello,
We have an offline (240VAC) 30W offline LED driver with a high power factor. It is controlled by a microcontroller which dims it depending on light levels etc. The problem is that we are getting lots of noise issues with the operation. (eg sometimes it doesn’t dim when it should etc etc).
We are not sure if the problem is with the code, or whether it is noise corrupting the circuit, or noise corrupting the microcontroller. Please help us to know this.
The designer was very “economic” with the components, partly because he was given a tiny space on the PCB in which to squeeze the components on to….there are no local decoupling capacitors immediately local to the opamp, the photodiode, the temperature sensor IC etc…….these are all powered from the 2V5 bias rail but the 2v5 rail does have 20uF of ceramic capacitance on it, so I suppose its not completely without de-coupling.
Another point is that the PIC18F26K20 microcontroller that is also supplied from the 2V5 bias rail has no 4k7 pullup from its MCLR pin to the 2V5 rail, and no 10nF capacitor from the MCLR pin to ground. The MCLR pin has no connections to anything, so it may be getting noise corrupted(?), even though the MCLR function has been disabled in the microcontroller.
Also, there is no mains filter, and no capacitance on the DC Bus just downstream of the Mains rectifier bridge. I requested an AC input filter be added, but this was rejected, saying it would be too costly.
Another point is that the 2V5 bias rail is supplied by an LR8N8 high voltage linear regulator. The designer put no input capacitance at this regulator’s input. I can’t see this being a problem, but I recognise that it is often classed as ‘standard procedure’ to put a capacitor at the input to a linear regulator (but the LR8N8 datasheet doesn’t even mention an input capacitor.)
LR8N8 datasheet:
**broken link removed**
Do you think by having no AC filter that we are leaving ourselves wide open to mains bourn noise coming into the product and corrupting it? I have never seen an offline product without an AC filter before, so I don’t have experience with this.
I have a funny feeling that without a Mains AC filter with the product, we are going to get endless issues with noise. Do you agree?
A representative schematic of the Bias section is shown here…also a representative LTspice simulation of it.
Attachments
Last edited by a moderator: