ESP32wroom ADC Failure in Current and Voltage Detection
Posted: Sat Jun 01, 2024 6:16 am
We are monitoring the current of an industrial-grade 15HP induction motor via a relay-based zero-cross switching system. Current detection involves employing a CT (Current Transformer) linked to an op-amp circuit, with climbing diodes utilized for conditioning, ultimately feeding into the ADC pin of the ESP32wroom microcontroller. Notably, no observable heating or component failure has been noted during operation. However, approximately 10% of our produced PCBs (out of a batch of 50) are exhibiting this problematic behavior.
In addition to current detection issues, we're also facing similar challenges with voltage detection. Initially, we utilized a transformer-based power supply. However, we transitioned to an isolated AC-DC module featuring a 230V/12V/5V dual output configuration. Regrettably, the problem persists despite this change in power supply.
More details :
We are encountering perplexing issues with our ESP32-based system, particularly concerning current and voltage detection. Despite extensive troubleshooting efforts, a subset of our produced PCBs exhibits erratic behavior in both current and voltage readings, posing challenges to the overall functionality of our system.
Current Detection Issue:
Approximately 10% of our PCBs are experiencing an anomalous behavior with current detection. Despite a stable input signal from the CT (Current Transformer) and accompanying op-amp circuitry, the ESP32wroom ADC reports a current value of zero on the serial monitor. This issue appears to be isolated to a specific subset of the manufactured PCBs, with the remaining 90% functioning as intended.
Voltage Detection Issue:
Similar discrepancies are observed in voltage detection across the problematic PCBs. Despite transitioning from a transformer-based power supply to an isolated AC-DC module, the voltage readings obtained from the ADC exhibit inconsistencies. On the affected boards, the ADC reports either zero voltage or provides significantly incorrect readings.
Troubleshooting Efforts:
We have conducted extensive troubleshooting measures, including component-level checks, signal integrity analysis, and firmware verification. Additionally, oscilloscopes and other diagnostic tools have been utilized to capture and analyze signal waveforms and voltage profiles. Despite these efforts, the root cause of the discrepancies remains elusive.
Inquiry Details:
Relay-Based Zero Cross Switch: We utilize a relay-based system for switching purposes, synchronizing its operation with the zero-crossing points of the AC waveform. This method is commonly employed for controlling AC power circuits efficiently.
Climbing Diodes: Diodes within the circuit are utilized for conditioning purposes, preparing the signal from the CT for accurate measurement and processing.
Probing and Troubleshooting: Our probing and troubleshooting efforts encompass comprehensive component inspections, signal integrity analyses, and validation of circuit connections. However, further insights and recommendations are sought to identify and address the root cause of the discrepancies.
Attached the Schematics.
In addition to current detection issues, we're also facing similar challenges with voltage detection. Initially, we utilized a transformer-based power supply. However, we transitioned to an isolated AC-DC module featuring a 230V/12V/5V dual output configuration. Regrettably, the problem persists despite this change in power supply.
More details :
We are encountering perplexing issues with our ESP32-based system, particularly concerning current and voltage detection. Despite extensive troubleshooting efforts, a subset of our produced PCBs exhibits erratic behavior in both current and voltage readings, posing challenges to the overall functionality of our system.
Current Detection Issue:
Approximately 10% of our PCBs are experiencing an anomalous behavior with current detection. Despite a stable input signal from the CT (Current Transformer) and accompanying op-amp circuitry, the ESP32wroom ADC reports a current value of zero on the serial monitor. This issue appears to be isolated to a specific subset of the manufactured PCBs, with the remaining 90% functioning as intended.
Voltage Detection Issue:
Similar discrepancies are observed in voltage detection across the problematic PCBs. Despite transitioning from a transformer-based power supply to an isolated AC-DC module, the voltage readings obtained from the ADC exhibit inconsistencies. On the affected boards, the ADC reports either zero voltage or provides significantly incorrect readings.
Troubleshooting Efforts:
We have conducted extensive troubleshooting measures, including component-level checks, signal integrity analysis, and firmware verification. Additionally, oscilloscopes and other diagnostic tools have been utilized to capture and analyze signal waveforms and voltage profiles. Despite these efforts, the root cause of the discrepancies remains elusive.
Inquiry Details:
Relay-Based Zero Cross Switch: We utilize a relay-based system for switching purposes, synchronizing its operation with the zero-crossing points of the AC waveform. This method is commonly employed for controlling AC power circuits efficiently.
Climbing Diodes: Diodes within the circuit are utilized for conditioning purposes, preparing the signal from the CT for accurate measurement and processing.
Probing and Troubleshooting: Our probing and troubleshooting efforts encompass comprehensive component inspections, signal integrity analyses, and validation of circuit connections. However, further insights and recommendations are sought to identify and address the root cause of the discrepancies.
Attached the Schematics.