Dear friends, I am working with stm32f103RBT6 MCU. I have used AMS1117 3.3V regulator both for MCU VDD and also for the VDDA pin. due to noise from GPRS device I need a way to reduce this noise. ADC value is affected about 2% of input value when GPRS is sending or connecting to server. I have a separate power switching regulator for GPRS and have used small signal capacitors as well as ferret beads. I think I should isolate MCU by a DC/DC from power source or use a reference voltage IC for AVDD. Is there any point other than these?
Thanks for your points. The measured voltage in my case is a voltage drop over 100ohm resistance. The loop current 4-20mA passes through it. I think the resistance change with ambient temperature. The resistance I used has 2% to 5% tolerance which operates in -55 to 155 C degrees. but I calibrated using coefficients in my program. It seems it may happen that the resistance change with ambient temperature. so that it cause error in measurement even 1% fluctuation of resistance is a big problem.
What type of resistor?
Metal film or some other variant?
And what power rating? How much does the resistor heat up at 20mA current?
Maybe you should add a temperature sensor, allowing you to create a calibration curve over the full expected temperature range.
But if 1% is a problem then I think you should do a full review of the design, so all critical components have well defined parameters over the full operating range of temperatures, voltages, ...
I used Carbon Film 1/4 Watt Resistor. At 20 mA it does not heat up or it was not sensible for me. I have also used a 100nF SMD Multilayer Ceramic Capacitor size 1210 in parallel with the resistor to filter high frequency noise or signals on 4-20mA communication lines.
I thought most people had left carbon film resistors except for special applications, such as if you need high pulse stability.
Have a quick look at: www.resistorguide.com/.../
Your carbon film resistors aren't exactly at the top when it comes to stability. They age faster and are more affected by temperature than metal film or metal oxide resistors.
And for measurement instruments, there are even better choices available - such as metal foil resistors - even if lots of measurements don't need that quality level.
See also the table in this article: www.eetimes.com/document.asp
Thank you very much. Surely I have to change the resistor type. I find the right resistor by reviewing such differences.