Hi all. This is my circuit to read HVDC (up to 1 kV). It scales it down, with selectable jumpers for different electric vehicles and uses a fuse and varistor for initial safety. The signal gets passed through a simple RC filter, with R being the parallel combination of the resistive divider network, and C being adjustable via jumpers again. The Zener is to clamp it to within the AMC131M01DFMR's range, and also provides some capacitance. The AMC has 1.2 kV working Isolation voltage and its own internal isolated supply. The left, floating side, floats at HV-. It consists of a 24-bit, sigma-delta supply that samples at, last I recall, 4 MHz. I supply the non-isolated side with +3V3 and an 8 MHz clock signal. I followed the design practices of similar AMC modules to ensure the isolated supply is clean. I am using the ESP32S2 MCU (Wemos S2 mini) to interface with it via SPI, with another SPI signal on the same bus. I am not yet sure what rate I will read at, but I only report to the cloud at 1 Hz. On my PCB I have kept clearance above 0.5 mm, which is bigger than the 0.33 mm/kv requirement for air breakdown. I have seen many different numbers for clearance/creepage, some almost a cm. But it's not specified really whether thats between nodes with large potential differences e.g., HV+ and HV-, or between any two components in the entire High Voltage circuit. It would require more space than I can afford to place each component mm's apart. However, I have put 3 mm space between the HVDC zone and the rest of the board (top and bottom layer traces and pour). And many protective warnings. Between the nodes with a large potential difference is >1 cm, unless someone doesnt connect the jumpers correctly - to the selectable resistors - in which case it's about 0.5 mm; im not sure if its reasonable to plan for that. It's a Masters project, so it doesn't have to strictly comply to standards but naturally it should be sufficient. I would like to read as accurately as possible, the resistors are 0.1%, so I think sub 0.5% accuracy is achievable and ideal given the AMC's accuracy. Am I missing anything important or does this look like it will work?










