Thanks! The circuit works perfectly. Had I made a mistake in drawing the circuit or importing the spice model of the component? :/hi luca,
Delete all the files for the AD623 on your computer.
Download and unzip this Desktop.zip to your Desktop.
You should see the unzipped Desktop Folder, open it up and double-click on the AD623_BaseW1.asc file name.
This will run LTspice and open the asc file.
Let me know when you have it running.
E
BTW: There is a gif image, in the folder, showing the sim result
Perfect! I really thank you very much for the support and information you provided.hi luca,
You do not measure a Load Cell output at +in.
You have to measure from +in to -in.
Do the following actions.
Place the Mouse pointer/cursor on the +in, press down the left Mouse key and hold it Down while moving the cursor pointer to the -in, then release the Mouse button.
This will then display the plot for +in to -in Voltage
Do you follow OK.?
E
The schematic is complete and it will be realized in a few weeks ... so there's a chance I'll have additional questions in the future. Will I open a new discussion or continue with this one?hi luca,
Pleased to hear you have been successful.
Is the project now completed.?
E
Hi there,Hi everyone! I hope this section of the forum is the correct one for the question I am about to ask.
I should make a circuit that amplifies an analog signal [0 ... 500uV] into [0 ... 5V]. We have lm339n in the lab, but I read that it is a comparator and cannot be used as an amplifier, so I opted for an op07.
The questions I ask are twofold:
1) what op amp should I use for this purpose?
If you know of integrated circuits or modules that perform this task let me know
2) is the circuit I made (which I simulated and it works) ok?
I think using a 100kohm resistor and a 10 ohm resistor can be a problem as they have very different values.
Thank![]()
Hi! I just read your reply now and thank you very much for the advice. So due to the open collector of the comparator I need to use a Pull-Up Resistor. Can you give me some advice on how to size/calculate it?Hi there,
Not sure if anyone mentioned this yet but, you can use an LM339 as an op amp if you provide a pullup resistor on the output. A comparator internally is much like an op amp it works almost the same except there is usually no output drive circuit so you usually need a pullup resistor.
It may not be exactly the same, but it can be used as an op amp depending on the application, but then again when you choose an actual op amp it has to fit the application also as i will explain next.
The main problem though is not the comparator it is the input offset voltage. Because you need to go from 500uv to 5.000000v that will mean a gain of 1000 which although a comparator should be able to do that and an op amp can the input offset also gets amplified and this leads to an output offset error which can be significant if the right op amp is not used.
For example, for an LM358 op amp which has a plus or minus 2mv input offset voltage spec (might be 3mv too) with a gain of 1000 that means even with a zero volt input the output can be as high as 2 volts or as low as -2 volts. That would be unacceptable in most applications.
What this kind of application requires is a low input offset voltage op amp one that has maybe 10uv input offset, and that would mean a chopper stabilized op amp. That is an op amp that continuously monitors it's own output offset voltage and makes adjustments in order to keep the error low, and many can keep the equivalent input offset voltage down to 100uv or even 10uv.
If you look around the web you will find one easily. You do have to keep an eye on the bandwidth too though as many of these op amps are rather slow compared to op amps made for high frequency.
I dont know what kind of specifications your circuit has to meet but i would think you need a low input offset op amp of some kind because the general purpose type will not work very well here, and the LM339 although can work as an op amp will have a rather large input offset as well.
Note that the spec on this can change over temperature also, so you may measure little error at 20 degrees C but as the temperature rises so could the input offset, depending again on the op amp.
Also be aware that spice models do not always show the effects of an input offset or grossly underestimate the real life input offset so it looks better on paper.
No-one has mentioned that for a good reason.Not sure if anyone mentioned this yet but, you can use an LM339 as an op amp if you provide a pullup resistor on the output.
Hello,No-one has mentioned that for a good reason.
Since a comparator does not have internal compensation to help make it stable in feedback circuits like an op amp, using an LM339 for that purpose is quite problematic.

Hello,Hi! I just read your reply now and thank you very much for the advice. So due to the open collector of the comparator I need to use a Pull-Up Resistor. Can you give me some advice on how to size/calculate it?
I will probably make the application with a precision differential amplifier, but I would still like to know the process in case of LM339, even though I won't be using it.
Thanks
Below is my LTspice simulation of the (funny) circuit;Well that's funny because Texas Instruments did mention it in at least one of its app notes.

Below is my LTspice simulation of the (funny) circuit;
That large peak in the response seems problematic to me.
(Of course the real circuit may respond better, but I have my doubts that it will be significantly different).
And the peak gets worse as the gain is reduced.
Also you are limited with the load you can drive with a 15kΩ resistor driving the output.
And the LM339 is not specified for noise, which likely is important here for the large gain the TS needs.
View attachment 266570
Hi,My LTspice does not have a model of an LM339 and yours probably also does not.
The impedance of the 0.5uF capacitor is only 10.7 ohms at 30kHz so I doubt there will be any output signal. An opamp has a very low output impedance so it will oscillate. At the 200kHz of your other simulation the capacitor impedance is only 1.6 ohms.
The circuit is on my hard drive and says, "very low frequency amplifier".
