maker8122
Junior Member level 1
opamp better next to current sense resistor or near to microcontroller?
Am measuring currents in a 24v line using a CS30 highside opamp and a PIC18F microcontroller running at 5v:
https://www.st.com/content/ccc/reso...df/jcr:content/translations/en.DM00109905.pdf
There's quite a lot of other stuff going on on the board and the sense resistor is not close to the uC.
1) Is it better to place the CS30 directly next to the resistor, the routen a 5v power trace and a SENSE trace (0-5v output of the CS30 to the ADC) over from the uC?
2) Or is it better to locate the CS30 next to the uC and route two (approximately) 24v lines over from the sense resistor to the CS30?
At first it seemed like it was obviously option 1, but the more I think about it, the more the doubts...
Am measuring currents in a 24v line using a CS30 highside opamp and a PIC18F microcontroller running at 5v:
https://www.st.com/content/ccc/reso...df/jcr:content/translations/en.DM00109905.pdf
There's quite a lot of other stuff going on on the board and the sense resistor is not close to the uC.
1) Is it better to place the CS30 directly next to the resistor, the routen a 5v power trace and a SENSE trace (0-5v output of the CS30 to the ADC) over from the uC?
2) Or is it better to locate the CS30 next to the uC and route two (approximately) 24v lines over from the sense resistor to the CS30?
At first it seemed like it was obviously option 1, but the more I think about it, the more the doubts...