Opto Limiter
Posted: Sun Jun 16, 2024 2:30 am
Hi all. I found these cheap analogue opto-couplers - the LCR0202. They contain an LED on one side and a Light Dependent Resistor on the other. They are widely available for pennies each from the usual Chinese suspects.
There is a bit of a production "spread" on them, so it's worth buying 10 or 20 of them, and matching them in pairs for stereo use. The easy way of doing this is to power the LED side of the package with a known voltage through a resistor (I used 12V and a 5.6kΩ resistor) and then measure the resistance of the LDR side. You just have to find pairs that give the same resistance (to within a few tens of ohms).
The circuit is dead simple - an inverting op-amp audio stage with unity gain through it. The feedback resistor on each channel is paralleled by the LDR in each LCR0202. The audio level is resistively combined to mono, then rectified by a couple of op-amps, and the resulting DC voltage is used to charge and discharge a timing capacitor. A couple of cheap transistors are then used to apply this filtered variable voltage to the LEDs in the opto-couplers. The louder the sounds, the brighter the LEDs will be, reducing the gain of the audio paths below unity, thereby controlling the level. The threshold level at which the LEDs start to illuminate is adjustable by a preset on the PCB. You could wire that to an external pot if you wanted to, but DJs usually have a tendency to twiddle any controls they see, so it's probably best as an internal preset!
The transistors can be any NPN and PNP general purpose parts - just be careful of the pin-outs!
The circuit is: You can build these on Veroboard: Or you could build them on a single-sided PCB: The attack and decay times are (mostly) down to the response of the LCR0202s, but the timing components shown in the diagram above give a fast attack and slower decay - subjectively they're OK for music and speech as shown.
This isn't going to replace an "Audio Prism" and may suffer from "pumping" on bass-heavy material, but it will stop you going wildly overmod! Because of the attack time limitation of the LCR0202, it's probably best to follow this limiter with a clipper. I'll put up a suitable circuit shortly.
It's just another way to limit, and it's reasonably transparent.
There is a bit of a production "spread" on them, so it's worth buying 10 or 20 of them, and matching them in pairs for stereo use. The easy way of doing this is to power the LED side of the package with a known voltage through a resistor (I used 12V and a 5.6kΩ resistor) and then measure the resistance of the LDR side. You just have to find pairs that give the same resistance (to within a few tens of ohms).
The circuit is dead simple - an inverting op-amp audio stage with unity gain through it. The feedback resistor on each channel is paralleled by the LDR in each LCR0202. The audio level is resistively combined to mono, then rectified by a couple of op-amps, and the resulting DC voltage is used to charge and discharge a timing capacitor. A couple of cheap transistors are then used to apply this filtered variable voltage to the LEDs in the opto-couplers. The louder the sounds, the brighter the LEDs will be, reducing the gain of the audio paths below unity, thereby controlling the level. The threshold level at which the LEDs start to illuminate is adjustable by a preset on the PCB. You could wire that to an external pot if you wanted to, but DJs usually have a tendency to twiddle any controls they see, so it's probably best as an internal preset!
The transistors can be any NPN and PNP general purpose parts - just be careful of the pin-outs!
The circuit is: You can build these on Veroboard: Or you could build them on a single-sided PCB: The attack and decay times are (mostly) down to the response of the LCR0202s, but the timing components shown in the diagram above give a fast attack and slower decay - subjectively they're OK for music and speech as shown.
This isn't going to replace an "Audio Prism" and may suffer from "pumping" on bass-heavy material, but it will stop you going wildly overmod! Because of the attack time limitation of the LCR0202, it's probably best to follow this limiter with a clipper. I'll put up a suitable circuit shortly.
It's just another way to limit, and it's reasonably transparent.