Electronic – Can a comparator (LM393) be used as an amplifier

amplifiercomparatormicrophoneoperational-amplifier

I have seen modules for microphones (such as the one below) that use the LM393 and claim to have amplification.

photo

I have looked this part up and it is a comparator. I have read that op amps can be used as comparators, but I don't understand if the other way is also possible. My understanding is that comparator only outputs V+ or Gnd.

Can a comparator or this LM393 specifically be used as an amplifier for microphone signal? What parameters in the spec will make such a comparator applicable for use as an amplifier?

Update:
I have traced the connections on the module and made a schematic. It is based on my best effort and might not be accurate. Seems that the LM393 in this case is not used to amplify the analog out only to digitize it. I guess the general question still stands though.

schematic

Best Answer

Take a look at the basic schematics of the internals shown in the data sheets for the LM324 (regular op-amp) and LM393 (comparator) respectively: -

enter image description here

The input stages are both pretty similar but the first big difference is the internal compensation capacitor inside the LM324 op-amp (shown with a red box around it). This compensation will ensure that with regular types of negative feedback (including the typically worst case scenario of connecting the output directly to the inverting input), the LM324 op-amp won't become unstable and oscillate.

Q10 and Q11 in the LM324 are just emitter followers so there is no "added gain" (aka potential extra stability worries) coming from those transistors and Q12 (LM324), is going to behave pretty much like Q7 in the LM393 i.e. produce a lot of voltage gain.

Clearly, the output stages are very different with the LM324 utilizing push-pull emitter followers (no gain) whereas the LM393 has another high gain common emitter stage formed by Q8.

So, in short, the LM324 has frequency compensation to allow a wide variety of feedback configurations whereas the LM393 doesn't have this compensation and, to make things worse from a stability point of view, it has a further stage of voltage gain.

If you take the data sheet's schematics as a decent guide to the internals of both chips, you have to conclude that applying "normal" amounts of negative feedback (to make a regular op-amp type amplifier), will result in oscillation or significant instability issues particular at low closed-loop gains.

Looking further into the detail of the data sheets, the LM393 has a minimum voltage gain of 50 V per milli volt inputted whereas the LM324 is only 15 V per millivolt inputted. This substantiates the suspicion of higher gain (for the LM393) implied by the schematics in the data sheets.

Having said all that, there are always methods of making a comparator into an amplifier but, there aren't enough clues in the LM393 data sheet that hint at a firm method.