2
\$\begingroup\$

On a 15 cm PCB, where the MCU is on the one end and the current sensor on another, where should R and C components of a passive low pass filter between them be placed? Will the placement affect anything?

\$\endgroup\$
2
  • \$\begingroup\$ Is it safe to assume that the current flowing through the low-pass is fairly small? \$\endgroup\$
    – Polynomial
    Jan 21, 2017 at 23:52
  • \$\begingroup\$ Yes, very small \$\endgroup\$ Jan 22, 2017 at 0:12

2 Answers 2

4
\$\begingroup\$

I assume you are reading the analog signal of your sensor using the analog to digital converter of your microcontroller, right?

If so, place the RC filter close to the ADC. That way the filter will also be effective filtering out all the noise that you've picked up over the long trace.

If signal integrity is a concern and the analog signal has a high impedance you may also want to put an opamp configured as a voltage follower just behind the sensor. That way the signal over the trace has low impedance and is less prone to noise pickup.

\$\endgroup\$
2
  • \$\begingroup\$ You mean both R and C should be placed close to MC? \$\endgroup\$ Jan 22, 2017 at 0:13
  • \$\begingroup\$ Yes. he does mean that. \$\endgroup\$ Jan 22, 2017 at 1:30
0
\$\begingroup\$

If your MCU has analogGND pin, tie bottom end of the Capacitor to that MCU pin. If your MCU has differential inputs, tie the (-) input pin to bottom of the Capacitor. Bring the Resistor right up against the Capacitor, that node tied to the ADC input pin. A tiny PCB region is the goal, so cellphone energy and fluorescent light spikes have minimal parallel-plate-capacitor target to couple into.

Perhaps use several resistors in series, with ground plane under the resistors to provide additional filtering, effective at RadioFreqs.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.