JordanS
Newbie level 5
Hi All,
This is my second attempt to post my question on the forum. My first post did not show up after pressing the post button, so I'm not sure what exactly happen there... It appeared that the posting went through, but did not show up, so I thought it might take some time if it needs approval from the moderator. After waiting more than a day and the posting still not appearing, I will try to reformulate my question.
I have a design with resistor dividers and low pass RC filters dropping down 0-32V to ADC range of 0-1.8V. With multiple channels, I attempt to measure voltages from different voltage sources on a boat - battery voltage, voltage over the engine temperature sensor, voltage over the oil pressure sensor etc. All sources share common ground, but the problem on fibreglass boats is that all devices and grounded with a wire, not a chassis therefore it's easy to get ground level difference. Prime example is when someone flushes the toilet, the voltage measure on the engine temperature sensor drops slightly down, thus the calibrated temperature value goes up (the higher voltage on the sensor represents lower temperature) and leads to triggering false alarms.
Here is my current solution:
How do I resolve the issue? I have been thinking of the following new implementation:
The Op Amps I have selected are NCV20074DTBR2G https://www.onsemi.com/pub/Collateral/NCS20071-D.PDF
I'm using 6 ADC channels of STM32 Wroom32U https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32d_esp32-wroom-32u_datasheet_en.pdf
The requirements I'm trying to meet are:
I have some doubts of my new differential measurement solution as I'm not sure if using isolated PS for powering the ADC and the OpAmp and having floating ground with regards to the ground I'm measuring is or could be an issue.
What happens if the wires on the input are reversed and I feed negative to the positive input of the Op Amp and vice a versa.
How do I protect the input for EMI and other transient Voltages? do I add caps to ground on each input after the input resistors?
Thank you in advance for your time reading my post!
Cheers!
This is my second attempt to post my question on the forum. My first post did not show up after pressing the post button, so I'm not sure what exactly happen there... It appeared that the posting went through, but did not show up, so I thought it might take some time if it needs approval from the moderator. After waiting more than a day and the posting still not appearing, I will try to reformulate my question.
I have a design with resistor dividers and low pass RC filters dropping down 0-32V to ADC range of 0-1.8V. With multiple channels, I attempt to measure voltages from different voltage sources on a boat - battery voltage, voltage over the engine temperature sensor, voltage over the oil pressure sensor etc. All sources share common ground, but the problem on fibreglass boats is that all devices and grounded with a wire, not a chassis therefore it's easy to get ground level difference. Prime example is when someone flushes the toilet, the voltage measure on the engine temperature sensor drops slightly down, thus the calibrated temperature value goes up (the higher voltage on the sensor represents lower temperature) and leads to triggering false alarms.
Here is my current solution:
How do I resolve the issue? I have been thinking of the following new implementation:
The Op Amps I have selected are NCV20074DTBR2G https://www.onsemi.com/pub/Collateral/NCS20071-D.PDF
I'm using 6 ADC channels of STM32 Wroom32U https://www.espressif.com/sites/default/files/documentation/esp32-wroom-32d_esp32-wroom-32u_datasheet_en.pdf
The requirements I'm trying to meet are:
- Measure 0-32V DC voltage of 6 to 8 independent channels and display the value 10per second on a separate gauges (my SW already does the display portion).
- Resolution 0.05V
- Avoid ground loop measuring issues. Tolerate about +/- 0.5V ground differences.
- When wires on the inout are reversed by mistake, do not cause short circuit (this is a potential problem with my current solution as it has ground connection on the one of the input connectors)
- Ideally offset the output of the op amp to avoid the non linear portion of the ADC (downfall of using cheap uC). on the Op Amp the input should be 0-32VDC and the output should be 0.15V to 1.8V to use the almost linear portion of the ADC, otherwise my lower voltage measurement (below 5V) will be questionable and this range is where the most sensor output voltages are.
I have some doubts of my new differential measurement solution as I'm not sure if using isolated PS for powering the ADC and the OpAmp and having floating ground with regards to the ground I'm measuring is or could be an issue.
What happens if the wires on the input are reversed and I feed negative to the positive input of the Op Amp and vice a versa.
How do I protect the input for EMI and other transient Voltages? do I add caps to ground on each input after the input resistors?
Thank you in advance for your time reading my post!
Cheers!