hi,
I believe a LM327 is a volt regulator.
E
A 6001 is a single OPA and a 6002 is a dual OPA
I believe a LM327 is a volt regulator.
E
A 6001 is a single OPA and a 6002 is a dual OPA
Attachments
-
6.4 KB Views: 5
My bad, It's actually LM324 not LM327, typo.hi,
I believe a LM327 is a volt regulator.
E
A 6001 is a single OPA and a 6002 is a dual OPA
The input common mode range only goes up to (Vs - 1.5) volts, also.hi,
The LM324 when working with a 5V supply is unable to swing to 0Vout or to 5Vout
Check this d/s, the Vout will limit at Vs-1.5v, with a 2K load.
The problem is that you are trying to read the AC output signal from the transducer with a DAC which measures DC. You will have to sample the input to the DAC at at least twice the frequency of the highest frequency signals from the accelerometer to get an accurate digital representation of the signal.Can I use LM324 in place of MCP6001/02?
So you have a Four-channel, ICP® Sensor Signal Conditioner which is designed for use with your accelerometer. You have a single axis accelerometer which looks like this:he source driving is output from signal conditioner which provide a constant power to industrial accelerometer. http://www.pcb.com/products.aspx?m=482c05
Thanks for the detailed explaination. I will try what ever is recommended by you. I would like to add one point that, I am getting a similar signal from the oscilliscope of what ever is shown in the above picture. My only problem is the signal is not getting driven to STM32 analog input pin the same way. i.e., if i do not connect to the analog input pin and measure the output across the capacitor and ground it works!! below schematic.Way back in the beginning you mentioned:
So you have a Four-channel, ICP® Sensor Signal Conditioner which is designed for use with your accelerometer. You have a single axis accelerometer which looks like this:
View attachment 159941
Your amplifier designed for use with your accelerometer has gain settings which you set based on your sensors sensitivity.
Most accelerometers like this ship with a data sheet (Calibration Data) giving you the actual data for your specific accelerometer by serial number. You can use the manufacturers amplifier of you can roll your own as you have been doing using an LM324. The output of your accelerometer is an AC signal proportional to the force (bang) applied to your accelerometer used to measure vibration or shock. Frequently this signal is what is called "Random Vibration" of mixed frequencies and amplitudes. Now as was pointed out since the signal from the accelerometer is an AC signal you need to amplify an AC signal. Using a single supply LM324 you need to offset the output which has been pointed out and explained. With a 5.0 volt supply if you offset with 2.5 Volts I believe you will still have problems. Here is why. Your sensor is a +/- 10.0 G sensor with a sensitivity of 500 mV/G. With only 5.0 G applied your signal out will be 2.5 Volts and that is an AC peak.Your operational amplifier circuit with a 2.5 VDC offset will be clipping
- Sensitivity: (±20%) 500 mV/g (51 mV/(m/s²))
Your signal should look a little like the below image:
View attachment 159942
The above vibration signal is an example measuring vibration with a signal axis accelerometer placed on a simple floor fan.
View attachment 159943
So you need to consider the sensor's sensitivity when amplifying the output and since you have 500 mV/G you may want to setup something similar to the above and just look at the accelerometer output on an oscilloscope. Use the X1 gain setting of your signal conditioner or just connect your accelerometer out directly to you scope and tap your accelerometer.
Ron
Hi Keith, I ensured the sampling rate is 4KHz because the maximum frequency component in my signal is around 2KHz.The problem is that you are trying to read the AC output signal from the transducer with a DAC which measures DC. You will have to sample the input to the DAC at at least twice the frequency of the highest frequency signals from the accelerometer to get an accurate digital representation of the signal.
Long ago I did a few circuits using an accelerometer like those I pictured to sense a bang or shock. I finally started using an IA (Instrumentation Amplifier) with a dual supply. Following that I simply placed a diode at my IA output. I used the Analog Devices AD524 in many applications mostly for its low noise and programmable output. Unfortunately it is a pretty expensive IC but there are many less expensive IC IA chips available. The INA12x Precision, Low-Power Instrumentation Amplifiers is another less expensive alternative.The old LM324 in my opinion is really not a good choice for your application, I would be looking at an IA and using a dual supply. I would not capacitively couple the output.Thanks for the detailed explaination. I will try what ever is recommended by you. I would like to add one point that, I am getting a similar signal from the oscilliscope of what ever is shown in the above picture. My only problem is the signal is not getting driven to STM32 analog input pin the same way. i.e., if i do not connect to the analog input pin and measure the output across the capacitor and ground it works!! below schematic.
https://drive.google.com/open?id=10FeMGhZmuvYHY8jgEu6LIBO_OmTPIElD
but once I connect the output from capacitor to PA1 and measure the signal across PA1 to ground then it gives an incorrect measurements i.e., for example if before connecting to PA1 and when I measure the voltage accross capacitor and ground, voltage would be fluctuating around supply voltages(5 Volts) of Opamp ( AN AC signal while vibrating) but once i connect the output from capacitor to PA1 and measure the voltage across PA1 to ground it differs. All the experts, your feedback helps me to understand why it didnt work. I willl rework, rewire, and will keep some load at the output of opamp and will keep on retrying.
Hello,
How is the sensor itself connected?
Is there a blocking capacitor at the output of the sensor as given in the datasheet?
As for the amplifier, try this circuit:
View attachment 159823
https://www.radio-electronics.com/info/circuits/opamp_non_inverting/op_amp_non-inverting.php
Bertus
Hello Bertus,Hello,
How is the sensor itself connected?
Is there a blocking capacitor at the output of the sensor as given in the datasheet?
As for the amplifier, try this circuit:
View attachment 159823
https://www.radio-electronics.com/info/circuits/opamp_non_inverting/op_amp_non-inverting.php
Bertus
Could you please elaborate the bold sentences above,You need to download the Product Manual for this accelerometer and study the General Operating Guide section CAREFULLY so you can learn how to use it properly.
In any case, you absolutely CANNOT capacitively couple a signal-- ANY signal-- into an ADC input without also providing a DC path for the ADC's input bias current-- either a resistor to circuit common, or a voltage divider between the ADC's Vref and circuit common so as to bias the ADC inputs to some DC level. The circuit diagram you posted has no such DC path, therefore the ADC will not work properly.
Read the explanation in that document, in the section titled, "AC coupling the non-inverting op-amp circuit." I can't simplify it for you any more than that. This is really, REALLY basic stuff.Could you please elaborate the bold sentences above,
https://www.radio-electronics.com/info/circuits/opamp_non_inverting/op_amp_non-inverting.php
Yes.you meant to say, in the above schematic related to non inverting amplifier using single power supply. I will have to remove my capacitor and take the direct input from the output of op amp and bias to some dc level?
No.you meant to say a resistor has to be placed in series to the input of analog pin ?
I have no idea what's on the Discovery board, nor do I care. The point-- which really should be obvious-- is that if you wish to perform A/D conversions on an AC signal, you MUST offset the AC signal by some positive DC potential to keep the ADC from "running aground" on the negative peaks of the AC signal. You do understand that the ADC cannot measure a negative voltage, don't you? Its input voltage must be kept positive at all times.I tired to see the Vref's pin on the discovery board, it didnt exist, vref is an internal channel so how can i bias dc level ?
yes, I did !!!yes it is 2.5 volts when 4 volts when not connecting to analog inputHello,
Did you connect the ouput of the opamp directly to the input of the ADC?
The expected output voltage range of the LM324 with a 4 volts supply would be 0 to 2.5 Volts.
Bertus
I will keep your point in consideration and will try again, thanks for the note that VSO connects directly to adc input.hi ashok,
The circuit posted by @bertus works as well as it can do when using a LM324, a rail2rail OPA would give almost a full 0v thru +5Vout.
This is a LTS sim of the circuit using a LM324, which in my opinion is not the best choice when using a single 5V supply.
Note: Vso connects directly to the ADC input.
E