Solar PV Power Diversion with emonTx Using a PLL, emonGLCD and Temperature Measurement, by Martin Roberts
Two notable derivatives of this design have been published.
- A three-phase 50 Hz version using only one voltage reference for the emonTx Shield, by Petrik. Originally published at https://openenergymonitor.org/emon/node/2339#comment-13967, the updated sketch can be found at files/emonTx_Solar_Controller_Temperature_PLL_LCD_3Phase.ino In this design, still in development, a single phase dump load is connected, but power is measured across all three phases. The hardware is an emonTx Shield with a local liquid crystal display, directly connected, as well as the radio module. The number of samples per cycle has been reduced to 36 to accommodate the additional readings (now 4 current and one voltage), and the voltage samples are stored in an array so that a delayed copy of the Phase 1 voltage can be used to calculate the real power of phases 2 & 3.
- A 60 Hz single phase 120 V North American version for the emonTx by Dan Woodie. The final version is published at https://openenergymonitor.org/emon/node/2679, earlier versions and discussion at https://openenergymonitor.org/emon/node/2624 and https://openenergymonitor.org/emon/node/2720 This design caters for 3 current inputs and has compile-time switches to include or exclude the load controller (if excluded, it becomes a power monitor only) and to include or exclude temperature measurement and the drive to SYNCPIN.
Although the design was originally for the emonTx V2, it can be used with the emonTx V3. The points to note are:
- If the emonTx V3 is to be powered only by the ac-ac adapter, a 'high-sensitivity' opto-trigger must be used. See Choosing an Energy Diverter for further details and a circuit diagram.
- Changes must be made to the IO pin assignments in MartinR's original sketch:
|Analogue Pin Assignments||emonTx V2||emonTx V3|
|CT3PIN (if implemented)||1||3|
|CT4PIN (if possible)||-||4|
|PWRPIN (temp sensor power)||-||5|
|Digital Pin Assignments||emonTx V2||emonTx V3|
SYNCPIN & SAMPPIN are provided to facilitate testing and checking the timing with an oscilloscope. PWRPIN in the emonTx V3 is used to supply power to the temperature sensor. It needs to be set permanently high if temperature measurement is required. (It is so that when battery power is used (not relevant in this application), the temperature sensor can be powered only when it is required to take a reading, thus potentially extending battery life.)