Author Topic: 32Hz noise on MAX4194 output, apparently caused by ESP32  (Read 2232 times)

0 Members and 1 Guest are viewing this topic.

Offline EmilTopic starter

  • Regular Contributor
  • *
  • Posts: 164
  • Country: no
    • ZeptoBit
32Hz noise on MAX4194 output, apparently caused by ESP32
« on: November 29, 2017, 12:21:39 pm »
I'm hoping someone can give me some hints in troubleshoothing this issue.

I have a board with an MAX4194 Instrumentation Amplifier. It has a gain of 1515 to amplify the 0 to 660µV output from a load cell. On the same board there is an ESP-WROOM-32 module. The ESP32 and the analog parts are powered by seperate linear regulators from the same battery. There are no switching regulators on the board.

When the ESP32 is running I get a 32Hz waveform as seen in the attached image (scope.png). (BTW, that should be 20mV per division, not 2mV as the screenshot shows.) When I hold the ESP32 in reset the waveform disappears, so the ESP32 appares to be the cause.

When the ESP32 is running I get a 133kHz sine wave ~60mVPP when measuring across the battery, but it's not detectable after the regulator powering the load cell and amplifier, and there is nothing at lower frequencies.

I used a 1.6KHz low pass filter when capturing that waveform. Using a lower frequency filter and averaging multiple samples I can get usable data, but I would like to find a better way of getting rid of this noise and I'm curious about the cause.

Why would the ESP32 cause noise on such a low frequency? If it matched the clock of the cpu or a peripheral I would not be surprised, but 32Hz?
 

Offline Neganur

  • Supporter
  • ****
  • Posts: 1138
  • Country: fi
Re: 32Hz noise on MAX4194 output, apparently caused by ESP32
« Reply #1 on: November 29, 2017, 06:16:41 pm »
Not knowing your circuit, but WiFi modules pull significant amounts of pulsed current when transmitting. Enough to cause all kinds of fun stuff on the supply rails and ground plane which ends up all over the pcb. Your high amplification may be picking that up or maybe the psrr of the InAmp s too poor as well.
 

Offline _Wim_

  • Super Contributor
  • ***
  • Posts: 1514
  • Country: be
Re: 32Hz noise on MAX4194 output, apparently caused by ESP32
« Reply #2 on: November 29, 2017, 07:12:39 pm »
As Neganur said, most likely WIFI bursts. You could try to communicate heavily with the device over WIFI as see if your frequency changes...
 

Offline magtux

  • Newbie
  • Posts: 9
  • Country: in
Re: 32Hz noise on MAX4194 output, apparently caused by ESP32
« Reply #3 on: November 29, 2017, 08:05:52 pm »
Given the low frequency it is possibly the DTIM beacon of the router. The ESP needs to respond to this in order to keep alive.

Check this, for the esp8266 but should be releavnt

https://www.espressif.com/sites/default/files/9b-esp8266-low_power_solutions_en_0.pdf
 

Offline jmelson

  • Super Contributor
  • ***
  • Posts: 2758
  • Country: us
Re: 32Hz noise on MAX4194 output, apparently caused by ESP32
« Reply #4 on: November 29, 2017, 10:46:59 pm »
I'm hoping someone can give me some hints in troubleshoothing this issue.

I have a board with an MAX4194 Instrumentation Amplifier. It has a gain of 1515 to amplify the 0 to 660µV output from a load cell. On the same board there is an ESP-WROOM-32 module. The ESP32 and the analog parts are powered by seperate linear regulators from the same battery. There are no switching regulators on the board.

When the ESP32 is running I get a 32Hz waveform as seen in the attached image (scope.png). (BTW, that should be 20mV per division, not 2mV as the screenshot shows.) When I hold the ESP32 in reset the waveform disappears, so the ESP32 appares to be the cause.

You may need to put a matched set of RC filters on the input to the 4194.  So, the caps would be matched against each other, and the R's could just be 1% parts.  This will suppress RF at the input to the in-amp and prevent it from being rectified.

Jon
 

Offline EmilTopic starter

  • Regular Contributor
  • *
  • Posts: 164
  • Country: no
    • ZeptoBit
Re: 32Hz noise on MAX4194 output, apparently caused by ESP32
« Reply #5 on: November 30, 2017, 05:42:15 pm »
I'v been doing some more testing: I enabled one pheripheral at a time and checked for noise. The noise starts when I enable the capacitive touch sensor. WIFI and other peripherals do not appear to be a problem. I'm reading the documentation for the touch sensor peripheral now to see if I can find the reason.
 

Offline _Wim_

  • Super Contributor
  • ***
  • Posts: 1514
  • Country: be
Re: 32Hz noise on MAX4194 output, apparently caused by ESP32
« Reply #6 on: December 01, 2017, 09:29:39 pm »
I'v been doing some more testing: I enabled one pheripheral at a time and checked for noise. The noise starts when I enable the capacitive touch sensor. WIFI and other peripherals do not appear to be a problem. I'm reading the documentation for the touch sensor peripheral now to see if I can find the reason.

Thanks for the update, and keep us informed. This would indeed not be the "usual suspect"...
 

Offline EmilTopic starter

  • Regular Contributor
  • *
  • Posts: 164
  • Country: no
    • ZeptoBit
Re: 32Hz noise on MAX4194 output, apparently caused by ESP32
« Reply #7 on: December 04, 2017, 01:50:47 pm »
Quote
Thanks for the update, and keep us informed. This would indeed not be the "usual suspect"...

I have posted a question on the ESP32 forum, but no answers yet. https://esp32.com/viewtopic.php?f=2&t=3807
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf