This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi All
I have been advised by Victor to make a posting on this forum.
I need to develop a EC circuit that can work conductive probes to measure EC levels in various types of substrates and water.
From my understanding i need to use some form of amp circuit.
And the signal outputted to probes needs to be AC signal.
The AC signal will be a Sine Wave, which i can use the PWM from my micro controller with a possible filter.
As its a AC signal , if i am correct voltage needs to + and -, could i get a circuit running with +-3.3V, so i can power it using batteries?
But when it comes to the amp design i would need some advice on best way to achieve this?
I been also been advised to keep probes 1cm apart.
Does the applied voltage on probes have an effect or correlation to EC levels, for example if 3.3V was applied compared to 12V? What i am asking even though voltage is low, can i have full range of EC represented propositional on my circuit? For example from 0 to 6 EC from 3.3V.
I await for your reply
Thank YOu
Dharmesh,
After some reading I see that 1 EC = 1 uS or 1 microamp per volt. So 6EC would be 6 uA/V or 167k ohms.
Here is a circuit that can read 6EC plus some margin.
Let H = 1/2 of a single +3.3V supply. No dual supply is needed.
VOUT = H +/- H * EC * R4 / 1e6 or in this case 1.65V +/- 1.65V * EC * 0.14
The op amp should have a shutdown pin to save power when not measuring. The GPIO (general purpose in/out) would be high Z
When measuring set GPIO high then measure VOUT then set GPIO low for the same amount of time and measure again.
This will meet the requirement for AC (square wave) input signal. The 1k resistor is to help with ESD protection.
Thanks
Will be getting the PCB made this week.
I am think about imputing a square wave that is about 20 Khz, would that be ideally?
And the voltage output of the amp, would i be correct in saying it will be a max 3.3V?
Thanks
Thanks
I am thinking about between 5Khz to 40 Khz, would that be to to high or low?
Thanks,
Sorry, my frequency will be actually 43.369Khz.
Will have the PCB made this week.
Thanks
Dear Ron
Got my test board, but before i actually start placing it with substance, i want to test the concept with various resistance to confirm that circuit is working.
Currently i am input a 42 Khz square wave into the circuit and output is just about 1.65V.
When i tried with frequency of about 276 KHZ, i got an output of 3.3V and would gradually decrease as resistance increased for example 50K,
Should it be preforming in such manner and now my frequency is much higher then 42Khz?
Would i also be correct in saying that voltage output will vary from 1.65V to 3.3V?
Hi Ron
Thank for your reply.
What i was expecting, was to get a variation in voltage as my EC or resistance between probes was to change.
Yes i am seeing a nice clean 43.201 Khz output , when input is the same.
So as EC changes should i see a variation in frequency or voltage, and how can i try to simulate the concept before applying in field testing?
I am using TLV341, which i believe works far as 2.3 Mhz?
Hi Ron
Sorry for the questions.
If the output of the Op-amp is AC, then i need to make it a DC. I have used a simple diode circuit that will convert that to a DC signal,
With the diode i am seeing a slight change in voltage output: for example
No Ristance = 1.5V
1M(1EC) = 1.63V
2M(0.5 EC) =1.53V
3M (0.333EC)= 1.50V
Does this seem right?
I was expecting voltage to range from 0 to 3.3V , as EC increase from 0 to 5EC.
Regards
DJ
Dear Ron
Thank You for reply
I have manged to get it working, sorry for the previous messages.
It seemed that using a standard voltmeter was not a good idea, by using a scope and a delay to my ADC got it working.
I am now taking sample at the midway point on both positive and negative pulse wave. This way the difference between them gives me the voltage.
I have learnt that as EC increases from 0 to 6EC , it is not necessarily linear, and therefore will need to do practical sampling then repeat against various temperatures to get my final results accurate.
I have now reduced my CLK into the opamp to 10 Khz, this way my ADC on my uC can sample it.
Is it necessary to add a filter before the signal goes to the ADC?
Hi Ron
Is it also possible to measure PH levels with same circuit and using steel probes?
Just thinking if circuit could double up for additional information.
Thanks