crjens / PiPowerMeter

Raspberry Pi Power meter
89 stars 34 forks source link

Voltage reference not working #17

Open elektrolubach opened 3 years ago

elektrolubach commented 3 years ago

Hi folks,

I am using the boards of the fork from CircuitSetup which are based on the Version 2.2 of the crjens boards. Due to circumstances I was only able to finish the assembly of the boards by now and I am trying to use the current software of this master version.

I have troubles getting the voltage reference working. The probe overview looks like this: image

The configuration of the probes is this: image

The overall configuration is this: image

For reference, here some information: I am living in Germany and trying to use a three phase network with neutral. I am using the TV16E voltage transformers from YHDC (black ones).

What seems strange to me: a) The frequency of all three phase-phase references is nearly a plausible value of ~50Hz. b) The secondary side of the voltage transformers (TV16E) is reversed when comparing the data sheet of the TV16E and the schematics of version 2.2 of the boards (does this matter?)

Can anybody give me a hint on this, where to look first? Is there any configuration that has to be done additionally to the this to work (e.g. enable voltage references or something like that)? How can I check if the CS5463 is reading a plausible voltage value?

Thanks! Cheers elektrolubach

elektrolubach commented 3 years ago

I headed forward and looked for the log files the software writes: 2020-12-29T22:40:13.919Z C2 - V2-N : V= 0.0 I= 0.0 P= 0.0 Q= 0.0 PF= 0.0000 F= 58.495 F2= 56.034 (500 samples in 64.576936ms) 2020-12-29T22:40:14.886Z C3 - V3-N : V= 0.0 I= 0.0 P= 0.0 Q= 0.0 PF= 0.0000 F= 50.753 F2= 59.354 (500 samples in 89.225111ms) 2020-12-29T22:40:15.852Z C1 - V1-N : V= 0.0 I= 0.0 P= 0.0 Q= 0.0 PF= 0.0000 F= 0.000 F2= 59.531 (500 samples in 64.393236ms) 2020-12-29T22:40:16.823Z C2 - V2-N : V= 0.0 I= 0.0 P= 0.0 Q= 0.0 PF= 0.0000 F= 0.000 F2= 59.531 (500 samples in 64.446465ms) 2020-12-29T22:40:17.794Z C3 - V3-N : V= 0.0 I= 0.0 P= 0.0 Q= 0.0 PF= 0.0000 F= 0.000 F2= 59.531 (500 samples in 64.206099ms)

These are five example lines from the output. That doesn't look good...