Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Removing Noise From Ad Conversion

Status
Not open for further replies.

ali3nz0r

Newbie level 3
Joined
May 2, 2011
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
Hi everyone, i'm having some problems converting my signal from a temperature sensor "LM35". This sensor gives me 10mv/ºC but it can give precisions of 0.5ºC. I'm using a PIC16F877a, it has a adc of 10-bits. I saw the signal with the osciloscope and the sensor has a lot of noise, the value that he returns it's around 20mv of oscilation.
The question i'm doing it's how can i remove or decrease this noise? I has already done a RC filter at the entrance of pic but nothing changes.

I hope you can help me. Thanks
 

I think the noise come up from the power supplies. Are you using appropriate precautions to reduce the noise, e.g. capacitors?
regards,
doec
 

How long is the wiring between the sensor and the micro? If it's long (like 40cm or so) then you might want to use a shielded cable for that. And what is the time constant or cutoff frequency of that RC filter? It might be just bad component calculation. Other solution would be to implement an IIR or FIR filter inside MCU, but unfortunately I can't tell you anything more precise as I have only very basic knowledge in DSP. In fact I don't actually know if IIF or FIR is implementation is feasible using that microcontroller that you have. But that's some option to consider ()although analog filter is much much simpler to implement).

On the other hand what is your reference voltage? Do you use some kind of dedicated reference voltage source (i.e. TL431 or MCP1541), the internal reference voltage inside MCU or the supply voltage? You may want to consider some kind of amplification since LM35 signal output probably won't be higher than 1V. In that case you may amplify the signal by the factor of 4, so that you get closer to full scale of ADC. This could improve your voltage resolution.

Other factor affecting your sensor performance could be the enviornment. If it's particularly noisy one, then yoy may want to consider some kind of shielding.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top