monitoring PV string voltage

Hi All

Scoured the forum for above but can't find any real reference to voltage monitoring, only current.

I want to be able to monitor the DC voltages of my 2 strings before the inverter, using CT's, to help identify a reduction in PV panel performance over time & send the information wirelessly from an Arduino Uno to EmonGLCD (earliest version).

Each of my strings has 8 PV panels & each panel produces approx 30V (245 Wp) dependent on ambient conditions.  The idea being that should 1 panel go down I would see a marked volt drop from that string (12.5%).

Also, a comparison of the 2 strings over time should show a pattern under 'normal' operating conditions ie although each string will no doubt show a difference in voltage output, both strings are subject to the same ambient conditions.

I would expect to see a change in this 'normal' condition if a panel started to go 'bad'.

Any suggestions about how best to tackle this would be appreciated (keep it simple, I'm an OAP)

 

 

Robert Wall's picture

Re: monitoring PV string voltage

Your big problem with monitoring the direct voltage before the inverter is isolation. It is not easy to make a safe voltage take-off that is not connected directly or indirectly to earth (i.e. your Arduino). Firstly, you need to know what the voltage is of your panels - not only the voltage across the string, but also the voltage at which the string sits with respect to earth. When we know that, we can look at the possibilities. Do please bear in mind that high direct voltages don't take prisoners, so be very, very careful when you're doing anything near the panels.

CTs of course don't work on direct current. Were you thinking of Hall effect devices?

There's a thread or two that might be worth reading: http://openenergymonitor.org/emon/node/837, http://openenergymonitor.org/emon/node/10337, http://openenergymonitor.org/emon/node/1995 and there might be more.

dominator99's picture

Re: monitoring PV string voltage

Sorry, I should have said Hall effect sensors not CT's, specifically the Honeywell CSLA2CD.

The most appropriate link you mentioned for my situation seems to be http://openenergymonitor.org/emon/node/10337 as this doesn't involve working with high DC voltages directly.

From your discussion in this link it appears you're using the negative current part of the attached graph, I assume to keep the voltage supplied to the Arduino within its analogue input limit?

Since this sensor is very susceptible to noise, as it only produces 32.7mV/A, I was proposing to use an L7808ACV voltage regulator producing 8V exclusively for this sensor which would produce an output voltage of between 4V @ 0V (Vcc/2) & 3.5V @ -16A , is this OK or is there a more suitable one?

"If your signal is too weak or you are not getting the resolution you want, you can simply loop the wire through the current clamp as many times as you want to double, triple, or quadruple the sensitivity or resolution of your sensor.  For example, if your current signal is only .03 Amps, you could loop the wire through the sensor 10 times and the signal would by 10X stronger and would appear as 0.3 Amps. "

In my case, 1 string from the PV panel would produce a max current of approx 8A @ 240V DC so I could better utilise the sensor's max current rating of 72A by the above technique to give a wider voltage range for the Arduino to measure, although the DC cable is not very flexible & the sensor aperture for the DC cable is only 10.9mm diameter.

I plan to use one of these sensors on each of my 2 strings so I can make the comparisons I referred to earlier.

All comments appreciated

 

Just found this diagram which some may find useful

 

 

Robert Wall's picture

Re: monitoring PV string voltage

I don't know of (i.e. I haven't looked for) a more appropriate sensor, but using a 72 A sensor on 8 A max isn't a very good fit, and I'd be inclined to search out something more appropriate. I think you can see the design logic I used (it was to avoid the need for complicated biasing etc) but the situation might be completely different with a different sensor. Obviously what you need ideally is a unipolar one, giving you 0 - 5 V out for 0 - 8 A (maybe 0 - 10 A) in. If you have one something like the bipolar one Vaivavalo had, but it's 0 - 4 - 8V out for -10 - 0 - +10A in, then like him you use the negative half and 4 V out is zero current, putting it right in the software.

This http://uk.farnell.com/lem/hx-03-p-sp2/current-transducer-3a-pcb/dp/16174... appears to be worth looking at - output is 2.5 V ±1.875V for 0 ± 9 A, so you get 512 at 0 A and 128 at -9 A, or 42.66 counts per Amp. This requires 12 V.

dominator99's picture

Re: monitoring PV string voltage

Sorry, I haven't made myself clear.

The Honeywell CSLA2CD sensor is the same one Vaivavalo is using.

I was asking if there was a more appropriate voltage regulator than the L7808ACV because of the problem of the susceptibility to noise when measuring 32.7mV/A

This http://uk.farnell.com/lem/hx-03-p-sp2/current-transducer-3a-pcb/dp/16174... appears to be worth looking at - output is 2.5 V ±1.875V for 0 ± 9 A, so you get 512 at 0 A and 128 at -9 A, or 42.66 counts per Amp. This requires 12 V.

From what I can glean from the above, it would involve working with high DC voltages which I'm not keen on

Ian Eagland's picture

Re: monitoring PV string voltage

Hi Robert

You mentioned above it is not easy to make a safe voltage take-off that is not connected directly or indirectly to earth (i.e. your Arduino). Can you advise why. I am monitoring solar DC after an inverter. My emontx is powered by the same DC that I am monitoring. I take it that is safe. Would it have been different  if the emontx ( or arduino)  was powered by a mains connected power supply?

Regards

Ian

Robert Wall's picture

Re: monitoring PV string voltage

Let's come back to the original question: What voltage is each end of your string sitting at? If one end of the string is close to earth potential, then although for safety you need to treat the connection as being at a high direct voltage (i.e. you must observe the creepage distances, breakdown voltages etc and treat it as live at all times there's any light and the inverter is not isolated) it won't actually be at a high voltage unless something else goes wrong. It's then like the mains neutral, you need to respect it but under normal conditions it's relatively safe to work on.

That regulator is a reasonable workhorse, but the performance is nothing to write home about. If fed from an already regulated and smooth supply, it would probably be OK.

Let's look at the CSLA spec again. It's output is ratiometric, meaning that the output is proportional to the product of current and supply voltage. So the higher the supply voltage, the better. But it would be nice to have the quiescent point close to 5 V to suit your Arduino. Let's say a 9.5 V supply. The output is then 32.7 mV × 9.5 / 8 per turn per amp. Or in terms of counts for 1 turn and 8A, 63. So you have an output whose useful range is pathetically small, your resolution is 125 mA. If you can get 7 turns through the core, you will have 445 counts and the resolution has improved to 18 mA. Multiple turns is a noise-free and offset-free way to improve the measurement.

You could add an amplifier between the sensor output and the ADC input, but although it will improve the resolution, it will add to the offset drift and in the long run you might be no better off.

Robert Wall's picture

Re: monitoring PV string voltage

Ian, the problem there is earth loops. If your emonTx is powered by the supply you're measuring, that's fine - as far as it goes. But consider what happens if that supply has an earth connection somewhere, and the emonTx GND is not actually at earth potential. When you plug in to program it and your laptop also has an earth connection, you've got a current flowing, driven by an unknown voltage and maybe capable of a few tens of amps, which at best is likely to cause trouble and at worst damage. And if the laptop's connection to earth is via you, and there's enough current, it could easily prove fatal.

Unless you know that the dc side is solidly earthed and your emonTx is at a safe voltage to earth, you must treat it as "live", and not make any other connections to it.

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

Been thinking over what you suggested earlier regarding the LEM HX 03-P/SP2 sensor & it looks like this may be the best choice.

Can I set this up for voltage rather than current measurement?

Robert Wall's picture

Re: monitoring PV string voltage

Short answer - no. It's a current-operated device. The only likely contender from Farnell is a 200 mA one, and even that is going to dissipate a frightening amount of power in any multiplier resistor. (Say your chain voltage is 240 V, then that's dissipating 48 W in a 1.2 kΩ resistor.)

I'm afraid monitoring a dc voltage with adequate and safe isolation is hard.

dockarl's picture

Re: monitoring PV string voltage

Dominator -

Does your inverter (or charge controller) have a serial port? If so you may be able to read the values directly from the inverter (or charge controller if you're offgrid) and leave the isolation problem in your dust.. That's the approach I've taken with my system which is shown here 

M

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

How about this:-

http://www.lem.com/docs/products/lv%2025-p.pdf

 

dominator99's picture

Re: monitoring PV string voltage

Hi dockarl

my inverter is an SMA Sunny Boy 3800/V & there is an optional Bluetooth card that can be fitted but it involves opening the inverter case!!

The following inverters can be retrofitted with the SMA Bluetooth Piggy-Back:
• SB3000US, SB4000US
• SB5000US, SB6000US, SB7000US
• SB8000TL-US, SB9000TL-US, SB10000TL-US
• WB3000US, WB3800US
• WB5000US, WB6000US, WB7000US, WB8000U

So that's me out!
 

The cost is also high at around $140 + shipping

regards

Robert Wall's picture

Re: monitoring PV string voltage

That LV 25 transducer looks a much better bet - it's a good find, albeit fairly expensive. The downside is you need a split supply, ±12 V. I think I know how it works, but I've only had a cursory look. If I've read it right, you get 4.75 V out maximum across RM, so ADC resolution isn't an issue. A note says contact them for a unipolar version, so that might be worth pursuing. But you don't need a unipolar version. From a practical point of view, you will need to be very careful when designing your PCB to ensure you retain adequate creepage distances between the PV side and the Arduino/emonTx side. I would also split the multiplier resistor R1 (25 kΩ the one on the PV side) and have 2 x 12 kΩ in series, as most resistors are only rated at 250 V so you'd be right on their maximum voltage rating with a single component - not good. And I'd consider a pair of fuses too - also rated for dc and at least 300 V - which would allow you to isolate the input from the panels if necessary. (Make sure the fuse is rated for 300 V dc, the arc goes out every 10 ms for ac, not so for dc!)

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

The downside is you need a split supply, ±12 V

Not easy to find above at sensible prices. Could I use +12V & -12V voltage regulators with a common ground as per attachment?

(Make sure the fuse is rated for 300 V dc, the arc goes out every 10 ms for ac, not so for dc!)

Did you mean DC isolator switch?

regards

Robert Wall's picture

Re: monitoring PV string voltage

1. Of course you can use two regulators - that's most likely what's inside the split supply!

2. No, I didn't mean a DC isolator switch, but as well as (and the same comment applies to both). You don't want to wire all the way to the resistors in 16 A cable, so fuses will allow you to down-rate the cable to a few amps (depending on the fuse rating.

billt's picture

Re: monitoring PV string voltage

"my inverter is an SMA Sunny Boy 3800/V & there is an optional Bluetooth card that can be fitted but it involves opening the inverter case!!

The following inverters can be retrofitted with the SMA Bluetooth Piggy-Back:
• SB3000US, SB4000US
• SB5000US, SB6000US, SB7000US
• SB8000TL-US, SB9000TL-US, SB10000TL-US
• WB3000US, WB3800US
• WB5000US, WB6000US, WB7000US, WB8000U

So that's me out!"

 

I don't think so. The early SMA inverters of that class have an interface port that can accept either a serial or bluetooth interface (including the SB3800 - mine has one fitted). Might be a bit hard to find these days. If you really want to know the DC voltage, that's a much more sensible way to go. However, the SB3800 only has one string input; the three string connections are paralleled at the inverter, so you can't measure the string voltages separately anyway.

As you can't measure the strings separately it's a completely pointless exercise. The AC output accurately reflects the DC output from the panels and any panel output reduction will be shown in the AC power reduction.

dominator99's picture

Re: monitoring PV string voltage

I've re-attached power supply diagram here

dominator99's picture

Re: monitoring PV string voltage

The following inverters can be retrofitted with the SMA Bluetooth Piggy-Back:
• SB3000US, SB4000US
• SB5000US, SB6000US, SB7000US
• SB8000TL-US, SB9000TL-US, SB10000TL-US
• WB3000US, WB3800US
• WB5000US, WB6000US, WB7000US, WB8000U

The above is from the SMA website so I can't see it being wrong.

My SB3800/V grid tied inverter has 2 strings not 1

As you can't measure the strings separately it's a completely pointless exercise. The AC output accurately reflects the DC output from the panels and any panel output reduction will be shown in the AC power reduction.

AC voltage is adjusted by the inverter to match the grid voltage otherwise how could you export power from a grid tied inverter to the grid?  My inverter shows DC voltages that are, as far as I know, always considerably lower than my mains AC voltage when I'm actually exporting power to the grid.

Maybe you're referring to 'off grid' inverters?

 

 

Robert Wall's picture

Re: monitoring PV string voltage

I think Billt was referring to power, not voltage. There should be no relationship between the dc voltage supplied to the inverter and the ac output voltage, which (on-grid) is by definition the grid voltage.

What Bill is saying about the number of strings is that because the PV panels are essentially current sources, strings can be connected in parallel. If that is done, he will always measure the same voltage across the ends of the strings, and he's suggesting that in all likelihood, you (Chris) will also have your two strings connected in parallel and therefore you too will always measure the same voltage across the ends of the strings, so there's no point in setting up to measure both. I can see what he intends to say, but his choice of words with "so you can't measure the string voltages separately anyway" is open to misinterpretation. You can measure the voltages separately, but they are forced to be the same because of the parallel connection, so it's pointless to do so. But of course if you do put your multimeter across each string and you do measure different voltages (by more than the possible error in your meter, under otherwise unchanging conditions), then it's likely that your strings aren't paralleled.

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

I see the point billt is making.

I don't know whether my 2 strings are 'paralleled' as that information is not available from the SMA manual.

I have measured each string current, using a clamp meter, & they were slightly different but I expected that to be the case since each panel varies in its output under the same conditions of insolation.

I think it might be interesting to measure each string voltage with a voltmeter just to see whether my 2 strings are 'paralleled'.  If so, then I'll monitor one string voltage using the LEM LV 25-P & each string current using the LEM HX 03-P/SP2.

I re-attached the power supply sketch earlier for your opinion on its suitability (I propose running the PSU at 15v DC & can use the same power supply for both LEM devices??)

To measure 250V @10mA on the primary side with R1 @ 25 k ohm & Rm @ 190 ohm on the secondary side of the LEM 25-P, it should give me a max measured voltage range of 4.75V DC for use with the Arduino - if I understand correctly.

Robert Wall's picture

Re: monitoring PV string voltage

I suspect that combination is about the best you will get - at least out of those we've considered. It should be OK to run both off the same power supply, and the one you attached the diagram for seems pretty run-of-the-mill. Just one thing surprised me a little was the use of a small electrolytic capacitor in parallel with the larger one. Normally, I'd have expected to see a plastic film one (with a substantially lower value) there, but I expect it'll be OK.

Your resistor values for the voltage device agree with mine, but bear in mind the voltage rating of the 25 kΩ resistor - that's why I suggested splitting it.

Probably a more reliable test for a parallel connection would be to try to measure the voltage difference between corresponding ends of the two strings. If you have millivolts only, I think you can be reasonably sure they're solidly in parallel.

dominator99's picture

Re: monitoring PV string voltage

".............. LEM HX 03-P/SP2  output is 2.5 V ±1.875V for 0 ± 9 A, so you get 512 at 0 A and 128 at -9 A, or 42.66 counts per Amp. This requires 12 V."

Can you explain the '512 at 0 A and 128 at -9 A, or 42.66 counts per Amp' & 'This requires 12 V' requirement?

Thanks

 

 

Robert Wall's picture

Re: monitoring PV string voltage

The device requires 12 - 15 V supply, so at least 12 V. If you're giving it 15 V, fine.

Now, the output is 2.5 V ± the active signal. If your Arduino is running at 5 V, then the ADC input range is 0 V to 5 V = 0 to 1023 counts. 2.5 V will give you 512 counts.

The active signal is 0.625 V at 3 A, so 1.875 V at 9 A input. A swing of 1.875 V gives you a swing of 1.875 ÷ 5 × 1024 = 384 counts. So a swing of 9 A gives you a swing of 384 counts.

It's only ratios, with an offset thrown in for good measure.

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

Thanks for the explanation; got it now.

One other question, there is no typical wiring diagram for the LEM HX 3-P/SP2 but I assume the string +ve connects to terminal 5 & the string -ve to terminal 6 with a 2k ohm resistor in series with terminal 5?  What is the purpose of this resistor?

 

Robert Wall's picture

Re: monitoring PV string voltage

I think you're mixed up there. The HX 3 is measuring current, so you've got to break into the connection between the PV String and the inverter and wire the sensor in series with the string. If you put it in the positive end of the string, the positive end of the string goes to terminal 5, terminal 6 goes to the positive input of the inverter. If you put it in the negative end of the string, the negative input of the inverter goes to terminal 5, terminal 6 goes to the negative end of the string. You don't have a series resistor, because that would limit your PV current to milliamps.

I've got to repeat my warning from a few posts back: you must maintain adequate creepage distance between the 250 V or so on the high voltage dc side, and the electronics and the input to your Arduino on the low voltage side. The price of getting it wrong could be a fatal shock, as there is almost certainly no RCD protection on the dc side. And when you're breaking into that dc feed, make sure it is dark and you are the right side of all isolators, and there's somebody around who knows what to do if you get into trouble.

dominator99's picture

Re: monitoring PV string voltage

That's what I thought, a series connection to measure current & a parallel connection to measure voltage but LEM labels pin 5 as +ve primary current & pin 6 as -ve primary current; it would have been clearer to label pins 5 & 6 as 'Primary current LOAD' surely?

What's causing me confusion is the reference in the spec sheet to a load resistance RL of >= 2K ohm?

Where is the resistance RL of 2k ohms in the circuit that I'm measuring the 8A from the PV string?

Each string produces a max of 8A @ 240V DC; using V = I x R would give a string resistance of 30 ohms or am I missing something here?

I've emailed LEM for clarification

Robert Wall's picture

Re: monitoring PV string voltage

I think you're considering only your particular situation. Considering the device itself, it has no knowledge of what it's being used for. As far as it is concerned, current flows in the "primary" circuit and it generates a "secondary" output voltage proportional to that.

"Where is the resistance RL of 2k ohms in the circuit that I'm measuring the 8A from the PV string?"
Nowhere! That is the load on the secondary circuit. The output amplifier has an internal resistance of 50 Ω maximum. If you put a load on that, it will lower the voltage you see due to the internal I×R drop. What they are saying is that if your load is less than 2 kΩ there will be an unacceptable error as a result. So your load resistance must be greater than 2 kΩ. The Arduino ADC input easily satisfies that requirement.

"Each string produces a max of 8A @ 240V DC; using V = I x R would give a string resistance of 30 ohms or am I missing something here?".
That's a red herring. The PV string - to a first approximation - acts as a current source, so it generates whatever voltage it needs to in order to make the current it's generating flow into your inverter, but subject to a practical limit of course. Don't think in terms of the more familiar voltage sources that you can represent as a perfect voltage with an internal resistance in series (such as the transducer output).

dominator99's picture

Re: monitoring PV string voltage

The primary conductor diameter of the LEM HX -3-P/SP2 is 0.6mm (0.28mm2). Can this carry 9A @ 240V?

Robert Wall's picture

Re: monitoring PV string voltage

The manufacturer seems to think so!

It depends totally on the cooling arrangements. According to a couple of websites, 10 A fuse wire - which carries 10 A indefinitely, not ruptures at 10 A - is 29 SWG = 0.345 mm diameter.
20 A fuse wire is 23 SWG = 0.610 mm diameter.

dominator99's picture

Re: monitoring PV string voltage

I understand but still surprised at the small conductor size of 0.6mm.

I assumed the heating effect (I2xR) is acceptable because the resistance of the small diameter, short conductor is low but I measured my HX 03-P/SP2 & it's around 2 ohms which would give 162W at 9A?

Sorry to keep pressing the point but I need to be sure I understand before I commit to adding this device to my system

Robert Wall's picture

Re: monitoring PV string voltage

I don't believe your 2 Ω. How did you measure it? What is the claimed accuracy of your meter? It's normally specified as ±(x% + y digits), what are the two numbers? How many digits do you read?

The resistance of annealed copper is 1.72 × 10-8 Ω m, so you'd need 33 m of wire inside the device, that measures 19 × 20 × 15.4 mm, to get that resistance. And by the way, there's going to be a ferromagnetic core and the electronics in there as well.

We know there are 20 turns, so estimating the core as being around 16 mm outside diameter, and the centre hole as one third of that, the length of 1 turn is about 25 mm. That gives a total length of wire of about 500 mm, so my estimate of the resistance is nearer 30 mΩ, dissipating 2.45 W.

2.45 W dissipated in a box that's a bit less than 1" cube means it's going to get just warm (think of a tungsten torch bulb - that's roughly the same power dissipation).

You really need to check that the numbers you read are sensible before jumping to conclusions.

dominator99's picture

Re: monitoring PV string voltage

I've switched to another meter UNI-T UT50A rated at (0.8%+1) best accuracy for resistance measurement. This meter shows 99.4Ω for a nominal 100Ω resistor & across HX 03-PSP2 pins 5 & 6 shows 00.2Ω not 2Ω as previously mentioned but that still doesn't square with your comments of 30mΩ?

I've attached some photos & the coil looks like a standard wire wound core with no other connections other than pins 5 & 6.

I'm trying not to jump to conclusions but as a mechanical engineer not electrical/electronic this area is not as clear to me as someone with your expertise.

I've just done a bit of 'digging' & found that most Digital Multi Meters can't measure low resistances accurately below 1Ω & some below 10Ω so this could explain why there is such a big difference between what I 'measured' & you calculated.  Knowing this limit of DMM's earlier could have saved much discussion but then we learn something new everyday

Robert Wall's picture

Re: monitoring PV string voltage

That's pretty much what I'd expect to see inside there, there can't be another connection to the coil as it needs to remain isolated. There's a Building Blocks page about multimeters that you might like to read. As you point out, it requires a specialist instrument to get any sort of accuracy at resistances like that. My 30 mΩ was an estimate, if you can get a better guess at the length of wire, you should be able to improve on it. The way I'd go about measuring the resistance is pass a known current as close to 9 A as I could manage through it, then measure the voltage. At 9 A dc you should get 270 mV, or with a car battery & headlight bulb - 60 W = 5 A would give you 150 mV, and that's within the capabilities of most DMMs.

Looking at the manual for your meter, it actually says for the 200 Ω range: "Resolution: 0.1Ω, Accuracy ±(0.8%+3). So you'll only ever read 0.0, 0.1 or 0.2, and the final digit could be in error by 3. Another example: if the resistance was actually 300 mΩ, the meter would be within spec if it read 0.0, 0.6 or anything in between.

dominator99's picture

Re: monitoring PV string voltage

Just calculated the resistance across pins 5 & 6 of the HX 03-P/SP2, using the voltage divider method, & obtained a value of 29mΩ; just as you predicted.

Robert Wall's picture

Re: monitoring PV string voltage

You need not worry about dissipation inside the device, then.

But I'm surprised I was that close. I did think I was estimating on the high side, I'd have been happy if it had been anywhere between 15 and 45 mΩ. At 45 mΩ the dissipation would be a little over 3.5 W and that's getting significant in a box of that size.

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

Find attached response from LEM that you & others may find interesting

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

Before I go 'live' could you cast a glance at my proposed schematic?

Any observations/criticisms would be welcome

 

Thanks

Robert Wall's picture

Re: monitoring PV string voltage

For a start, your mains transformer is wired wrongly on the secondary side. The two secondaries should be linked 15 - 0 (not 0 - 0) so that you get 30 V across the ends. Then the centre tap of the two windings is your GND.

After that, I'm finding it hard to read as the resolution is so poor. Can you post a higher resolution image, and change the colours to use black (not pale blue and pale pink)?

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

How is this one?

dominator99's picture

Re: monitoring PV string voltage

or this one

Robert Wall's picture

Re: monitoring PV string voltage

But those are still the same resolution! I can only just read the component values. It's OK for you, you know what they are, but you're making it difficult for me to help you if I can't read it clearly and easily.

dominator99's picture

Re: monitoring PV string voltage

Is this any better?

Robert Wall's picture

Re: monitoring PV string voltage

It is slightly better, but it still hurts my eyes. Why could you not post a twice size version, 1090 x 1536 pixels, that would be a lot better.

The power supply is still wrong. You must wire the transformer to end up with something like this http://www.circuitstoday.com/regulated-dual-power-supply-circuit (i.e. reverse one of the windings).

I think you're in trouble with the LV25. Its output is a current (it says), so you need the 190 Ω resistor to work like a CT burden, i.e. wired from M to the transformer 0V (GND), not in series with the Arduino input, and the latter then goes directly to M (but you could insert a series resistor (not greater than 10 kΩ) before the ADC input to limit the current and protect the input should 'M' go above 5 V or below 0 V.

Is the Arduino's adjustable power supply output isolated from its input? - I have no means of knowing, but it must be for your circuit to work.

The two HX 03s need to move onto the +15 V supply, so that their output goes from +2.5 V to +4.375 V as current increases. The ADC output will go from 512 or thereabouts at zero current up to 896 at 9 A. It's not brilliant but without adding op-amps to give gain and a level shift, there's little you can do about it. (As you have it, their output at zero current is -12.5 V, and remains below the Arduino 0 V at all times. I think you got confused because in the other thread I did a fiddle to save adding an electronic level shifter/signal inverter.)

If your string voltage is anywhere close to the voltage rating of R1, I'd split that into two equal resistors, just so that your electronics has a fighting chance should the resistor flash over or get damp (though the power dissipated should keep it nice and warm and dry).

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

I'm still struggling with exporting an image file from 'TinyCad' as I've only just started to use the software; hopefully the one I've attached is better.  The best I can export from TinyCad is an EMF file but it's nearly 6MB so it's too big to attach

I can't see where the power supply is wrong! I've linked the 0V lines & the +15V & the -15V seem to agree with the web link you suggested - I'm a retired mechanical engineer not electrical/electronic so be patient with me :)

you could insert a series resistor (not greater than 10 kΩ) before the ADC input to limit the current and protect the input should 'M' go above 5 V or below 0 V.

Could I use zener diodes to limit any over or under voltage from the LV 25-P's connection 'M' instead of the

10 kΩ resistor?

I've amended the wiring of the LV 25-P hopefully correctly!

 

Is the Arduino's adjustable power supply output isolated from its input?

I don't know myself either as it's still en route from China.

 

I agree there was some confusion on my part carried over from the original Honeywell CSLA2CD current sensor where we had to use the negative part of its output to avoid overvolting the Arduino.

I sourced resistor R1 (460V & 5W) to ensure it was nowhere near my PV string voltage of approx 240V & the current draw of the HX 03-P/SP2 of 2.35W

 

Robert Wall's picture

Re: monitoring PV string voltage

"I can't see where the power supply is wrong!"

You need to reverse one of the windings. The two ends of each winding are labelled "0" and "15". In order to add the voltages together, which is what you want because there's 30 V between the outputs of the two regulators, you need to have the one sitting on top of the other. So connect the "0" end of the right-hand winding to the right-hand side of the bridge rectifier, the "15" end of the same winding to the "0" end of the left-hand and to the GND common rail, and the "15" end of the left-hand winding to the left-hand side of the bridge rectifier.

dBC advocates both external diodes and a series resistor. The argument is complicated but what you need to do is limit the current into the inbuilt protection diodes in the AVR's analogue input. I think that in most cases, a series resistor of 1 kΩ should be enough, because the ATmega 328 data sheet says that all inputs can handle 20 mA, therefore the diodes are protected for voltages between -20 V and + 25 V. dBC says you need an external high current diode to clamp the input to 0.7 V above 5 V (or 0.7 V below 0 V) and a resistor to limit to current after that, because the built-in diodes start to turn on at 0.5 V.

The HX 03s are still wrong, they need to be supplied by the positive rail (the 78L15).

I wouldn't start building until you get and check that power supply. If the output isn't isolated (and surely the data should tell you but Chinese data sheets tend to a bit nebulous!), then it's back to the drawing board.

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

I understand a zener for +5.7V but not for -0.7V can you explain how tu use a zener for -ve voltages?

I was trying to power the Arduino from th 15V psu but if it's a major stumbling block to find an isolated 5V DC-DC converter then I'll just use a standard 'wall wart'

New adjustable psu specs: (doesn't mention 'isolated' or not as far as I can see; is there a clue here below?)

DC-DC Auto Boost Buck adjustable step down Converter Module

Features: Auto step down step up(SEPIC)

Input: 3-35V

Output: 1.25V-30V

Biggest current 2A

Conversion efficiency 92%

Frequency 50KHz

Output ripple 40mV

Temperature: -40℃ to +85℃

Advantage: low ESR Sanyo filter capacitance, plus another LC filter unit Low voltage ripple to 40 mV, suitable for all kinds of use. good for solar.

 

Chris
 

Robert Wall's picture

Re: monitoring PV string voltage

You wouldn't use a Zener for protecting against negative voltages - remember (not, perhaps, the right word for a MechE!) that a Zener diode is an ordinary diode operated in the reverse breakdown region, so it exhibits a "normal" forward drop of about 0.65 V in what to it is the "reverse" direction - if you see what I'm getting at!

Sorry, there are no clues there about the power supply. I'd assume it is not isolated until proven otherwise.

The schematic as you now have it looks as if it stands a chance. I can't spot anything obviously wrong. One possible 'gotcha' is that power supply, because if part of the filtering is in the 0V leg between input and output, that will create circulating ground currents as you have two "0 V" connections to the Arduino. If you get a lot of noise on the analogue inputs, that could be a cause.

dominator99's picture

Re: monitoring PV string voltage

Thanks for the help Robert

I've attached an article on diode clipping; could this method be used as suggested by dbc?

 

dBC's picture

Re: monitoring PV string voltage

I think the main take-home message from AVR182 (http://www.atmel.com/Images/doc2508.pdf) is that you shouldn't pump more than 1mA into the internal protection diodes regularly and continuously (see page 4).  In that application note they're designing something that is going to see excessive voltage excursions every half cycle so I can imagine they're leaving plenty of safety margin.  There's plenty of anecdotal "I've been over-volting my AVR for years and it's still working fine" stories around, so where you want to live on that risk curve is a personal choice.

My take on Robert's 20mA quote from the datasheet is that's the maximum current you can pump into a pin when you're not exceeding the voltage limits specified in the datasheet, but your interpretation may vary.

When searching these forums for the old thread on this, I came across this thread:  http://openenergymonitor.org/emon/node/171.  It seems Glyn discovered the 1mA limit long before I did.

Robert Wall's picture

Re: monitoring PV string voltage

Not really, because you want to make sure that the input does not go significantly beyond the supply rails.
I think you should be OK as you are, but here's dBC's diagram http://openenergymonitor.org/emon/node/10203#comment-28398 and his explanation. But note you'll need one more resistor in series with the current transducer output and before this to protect the current transducer from excess current. Again, 1 kΩ should be enough - that will limit the output current to 15 mA worst case. (Why? - because that diagram was for a CT output, which is a current source, not a voltage source, which is what your current transducers are.)

Robert Wall's picture

Re: monitoring PV string voltage

My take on the data sheet is that VCC + 0.5 V assumes a voltage source of unlimited current. If by some external means you limit the current into those protection diodes, the voltage limit ceases to apply and the thermal rating of the diodes, i.e. their current rating, becomes relevant.

The place where we disagree is dBC quotes an application note that recommends a current limit of 1 mA. I quote the absolute maximum rating from the device data sheet that says DC Current per I/O Pin is 40.0 mA, and I contend, because the data sheet does not say otherwise, that it applies equally to the digital driver as a source/sink and to the protection diodes.

dBC's picture

Re: monitoring PV string voltage

Excellent synopsis.

dBC's picture

Re: monitoring PV string voltage

Seems it's quite a recurring topic over at avrfreaks.  For what it's worth (and I know you can't trust everything you read on the interweby) this guy claims:

No, this is wrong. Maximum current through the protection diodes is 1mA (confirmed by Atmel by email). So you need a very high R.  

Source:  http://www.avrfreaks.net/comment/446671#comment-446671, shame he didn't include the email, but  I guess you could always ask them yourself.

And according to this guy:  http://www.avrfreaks.net/comment/460502#comment-460502 it's all down to SCR latch-up in CMOS devices.  It's getting well out of my depth, but I think I'll be sticking with the conservative 1mA number myself.

[EDIT] here you go:  http://atmel.force.com/support/articles/en_US/FAQ/I-O-protection-in-XMEGA-devices

dominator99's picture

Re: monitoring PV string voltage

I'm not sure I followed most of the discussion between yourself & dbc. I've attached a modified circuit to see if I've understood what was being suggested!!

I've looked around for an isolated, regulated DC-DC converter to replace the questionable one shown in the schematic but can't seem to find one with a 15V input & a 5V output; any suggestions?

Robert Wall's picture

Re: monitoring PV string voltage

Your Zeners are the wrong way round, and you can't buy a 4 V one, which would clip before 9 A (= +4.375 V) anyway. 4.7 V though should be OK, as even at + 5% it's below 5 V, and at -5% it's above 4.375 V (worst case tolerances).

I wouldn't do anything about a power supply until the one that's coming has landed on your doormat.

dBC: Atmel need to edit their data sheet.

dominator99's picture

Re: monitoring PV string voltage

Oops!

Do I need to do a similar addition to the LV 25-P voltage transducer M output to the arduino?

Robert Wall's picture

Re: monitoring PV string voltage

If I remember correctly, that should only go up to 4.75 V anyway, unless your 190 Ω resistor falls off. So probably not necessary but you could fit a zener (5.1 V) 'in case'.

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

This (I think) is the final draft but I have a question about the 4 10A 300V fuses (1 to 4); are 4 fuses necessary or would 2 be OK on the +ve inputs from the PV isolator?

Also, if 4 are recommended, is there an easy way to monitor if any of the 4 fuses fail?  I have mains neon indicators wired across the +ve & -ve of each string (NE3 & NE5) to indicate when either of these fuses (fuse 1 & fuse 4) blow but if fuse 2 or fuse 3 blows the relevant neon indicator would still be lit because the current would flow to the -ve terminal through the associated HX 03-P/SP2 sensor.

Any suggestions?

I've also decided to use a 'wall wart' to power the Arduino Uno so as to avoid the possible analogue noise from a non-isolated psu

 

Chris

Robert Wall's picture

Re: monitoring PV string voltage

You're trying to measure the current in the two strings, and those are connected in parallel to feed into your inverter. I presume the parallel connection is made at the inverter. This could be important: is "PV Isolator" two double-pole isolators or a single 4-pole (or two linked 2-pole ones)?

Consider what happens if there is an earth fault (say) on your sensor wiring. There are two sources of fault current - the two strings by virtue of the parallel connection. Because the sensor can be fed from both strings, you do need two fuses, one on the input side and one on the output side, one string will blow the input fuse and the other string will blow the output fuse, that way both strings will be disconnected from the fault. This assumes that the PV string is capable of generating an overcurrent fault - if it cannot, the fuses are redundant as protective devices but you still need a means of disconnection for your safety while working on the sensors or your wiring. That's where knowing how the DC isolator is arranged becomes important.

And I think you may have tags 5 & 6 transposed on the current sensors.

dominator99's picture

Re: monitoring PV string voltage

I'm still not clear (MechE remember!) are you saying my fuse arrangement is NOT OK?

Tags 5 & 6 on the HX 03 sensors are marked + (5) & - (6) with an arrow between them pointing from 5 to 6; I assume this arrow shows the desired direction of current for the sensor to work but since 5 & 6 are in series of the -ve (0V) DC leg then I would need to change the wiring connection as shown in my latest schematic 2.3, is that correct?

I've also moved fuse 2 to the input of the HX 03 if I understand you correctly

"is "PV Isolator" two double-pole isolators or a single 4-pole (or two linked 2-pole ones)?"

I haven't checked yet but will investigate.

"I presume the parallel connection is made at the inverter"

I assume this to be the case, since there is MPP tracking active on each string, then any parallel connection must be made after MPP optimisation, if I understand MPP correctly?

I've chosen external access panel mount fuses so they can be removed before my 'box' is opened

NB any thoughts on the original question of detecting which of the -ve leg fuses had blown using neon indicators?

Chris

 

Robert Wall's picture

Re: monitoring PV string voltage

I'm still really struggling to read your diagram, the resolution is so poor that it hurts my eyes. I'll redraw the power side how I think it needs to be wired.

dominator99's picture

Re: monitoring PV string voltage

Is this one any better?

Robert Wall's picture

Re: monitoring PV string voltage

Nope.

Here's the DC side redrawn how I'd like it wired. Note I've shown a 4-pole isolator for safety, so that you will competely isolate both strings from the monitor and the inverter. If that is not possible, two separate isolators do not protect you unless you isolate BOTH strings. That is because of the possibility of a reverse feed. Also because of that, I've drawn in 4 main fuses, but if you requre indication you should probably replace those with MCBs as discussed above, and I've put a fuse in series with the voltage monitor too.

Without knowing which side if the PV strings is 'earthy', or whether they are completely floating, I can't say which possible faults you have protection against.

Also, looking back I see your string voltage is 30 V. Your neon indicator won't work at 30 V, a neon requires at least 70 V to strike.

dominator99's picture

Re: monitoring PV string voltage

Thanks Robert for the wiring diagram.

"..looking back I see your string voltage is 30 V. Your neon indicator won't work at 30 V, a neon requires at least 70 V to strike"

Each of my PV panels is approx 30V DC, with 8 of these in a series string that makes approx 240V DC per string & I have 2 strings or am I missing something here?

I notice you don't show any fuses on the +ve string legs that pass through the new enclosure; would it be prudent to include these 2 extra fuses?

I've attached my take on your wiring diagram for your perusal & included the extra fuses on the +ve leg

 

Robert Wall's picture

Re: monitoring PV string voltage

No, it's me who missed the 8 panels in series bit, and didn't work back from the voltage transducer to cross-check!

Fuses:
What are you trying to protect against? We come back to the question I asked above - which side of the PV strings is 'earthy', or are they completely floating? If one point of the dc loop is earthed, directly or indirectly, then you have the possibility of an earth fault from any other point on the circuit, so a fuse is needed and must be positioned to disconnect the fault. If the loop is floating, you need two earth faults, or one line-line fault, before you can have an over-current, so it's a completely different scenario and I'd be inclined to think that you could dismiss the 'two faults' case as being highly improbable and worry about the line-line fault only, in which case a fuse close to the string, or even part-way along the string, would be appropriate.

There's always a danger with multiple fuses that, should one rupture and leave part of the circuit live but the circuit as a whole not working, someone maybe not as familiar with the arrangements as you are will believe it is safe if the fuse has blown and get a very nasty surprise when they find part of the circuit is still live. This is the same danger that you can find in some very old properties that have both line and neutral fused - if the neutral fuse opens on a line-neutral fault, the circuit remains live - and it's why the neutral fuse must always be removed.

If you could replace the fuses with a 4-pole linked circuit breaker, which you'd wire in series with the isolator with a pole in each line fron the PV array, then that would disconnect everything in the event that any one pole was subjected to an over-current. It would be a much more satisfactory solution, Schneider Electric do a PV range with a 800 V dc rating, so worth looking there.

dominator99's picture

Re: monitoring PV string voltage

I thought the original suggestion of fusing my 'LEM transducer box' was from a safety standpoint to ensure I wouldn't be exposed to high voltages when working on the installation.

Doesn't the DC isolator provide sufficient protection, along with the AC isolator at the output side of the inverter? ie if BOTH of these isolators are switched OFF then my 'LEM transducer box' is completely isolated from any high voltages, DC & AC, & is safe to work on?

The introduction of my 'LEM transducer box' in series with my existing PV setup shouldn't compromise electrical safety if sufficient 'creepage' is incorporated between the high & low voltage side of the box.  I don't envisage the need for an 'earth' connection inside my 'LEM transducer box' unless you suggest the need for one (my 'LEM transducer box' is plastic & all transducers & the Camdenboss transformer are fully isolated).

"What are you trying to protect against?"

This seems to be somewhat of an unknown since we don't know how 'earthy' the strings are.

Since the high voltage side of the LEM HX 03 is  just a coil, with adequate 'creepage' from the low voltage side, I can't see a failure in this device causing any catastrophic problems.

Equally, I can't see that a failure of the LEM LV 25 would result in any catastrophic problems, however the inclusion of a 500mA fuse might be a sensible idea.

It seems to me that the only issue for concern is a failure in the separation of the high voltage side from the low voltage side & proper design will eliminate this threat, hence the reason I'm calling on your expertise to avoid this issue

"There's always a danger with multiple fuses that, should one rupture and leave part of the circuit live but the circuit as a whole not working, someone maybe not as familiar with the arrangements as you are will believe it is safe if the fuse has blown and get a very nasty surprise when they find part of the circuit is still live"

Maybe the safest option is to proceed with good design of the 'LEM transducer box' without the fuses 1 to 6 & rely on the DC & AC isolators for personal safety & the consumer unit 20A MCB for overload protection?

I was also thinking of using a 4 pole changeover switch to allow me to switch my 'LEM transducer box' in & out of circuit if a problem arose rather than shutting down the PV array to allow for repair/removal of the 'LEM transducer box'.  What do you think?

I've pasted  links to what looks like a suitable candidates.

http://www.ebay.co.uk/itm/SCL-IC420-20-Amp-4-Pole-Enclosed-Change-Over-S...

http://www.ebay.co.uk/itm/32-AMP-ROTARY-CAM-CHANGEOVER-SWITCH-3-POSITION...

I'm aware of proper PV shutdown procedure to minimise switch contact arcing of DC

I'm sorry to labour this point but I want to ensure I cover every possible fault scenario without over complication.

I really appreciate your assistance with the project of mine & hope it will be of benefit to other readers.

Chris

Robert Wall's picture

Re: monitoring PV string voltage

I thought the original suggestion of fusing my 'LEM transducer box' was from a safety standpoint to ensure I wouldn't be exposed to high voltages when working on the installation.

Doesn't the DC isolator provide sufficient protection, along with the AC isolator at the output side of the inverter? ie if BOTH of these isolators are switched OFF then my 'LEM transducer box' is completely isolated from any high voltages, DC & AC, & is safe to work on?

Indeed, that is the purpose of the isolator. You would probably be safe even with the output not isolated, but with it isolated from the mains supply, you would be doubly sure.

The introduction of my 'LEM transducer box' in series with my existing PV setup shouldn't compromise electrical safety if sufficient 'creepage' is incorporated between the high & low voltage side of the box.  I don't envisage the need for an 'earth' connection inside my 'LEM transducer box' unless you suggest the need for one (my 'LEM transducer box' is plastic & all transducers & the Camdenboss transformer are fully isolated).

I wasn't suggesting that at all. 

"What are you trying to protect against?"

This seems to be somewhat of an unknown since we don't know how 'earthy' the strings are.

Then, for safety, we must assume that any part of the circuit is at an undefined high voltage - it's possible (but most unlikely) that the inverter strings are sitting on top of the mains, so the peak voltage to earth might be close to 600 V (340 V peak ac + 240 V dc). I think you should assume the highest voltage you might encounter is 350 V, but it is probably lower. I would not be surprised if the dc loop were floating and you could only measure a 'phantom' voltage to earth arising from leakage paths and capacitance.

Since the high voltage side of the LEM HX 03 is  just a coil, with adequate 'creepage' from the low voltage side, I can't see a failure in this device causing any catastrophic problems.

Agreed.

Equally, I can't see that a failure of the LEM LV 25 would result in any catastrophic problems, however the inclusion of a 500mA fuse might be a sensible idea.

This is dependent on the integrity of one resistor - hence the fuse.

It seems to me that the only issue for concern is a failure in the separation of the high voltage side from the low voltage side & proper design will eliminate this threat, hence the reason I'm calling on your expertise to avoid this issue.

This is a case where the mounting and wiring arrangements become important. If the devices are mounted on a pcb, then you must ensure that you have 5.5 mm along the surface between the high voltage and low voltage sides. The easy way to ensure this is to mill a slot underneath and a couple of mm out beyond the edge at each side. And in the case of the HX03, I would solder wires directly to the pins and use the pcb for pins 5 & 6 only as a mechanical fixing.

"There's always a danger with multiple fuses that, should one rupture and leave part of the circuit live but the circuit as a whole not working, someone maybe not as familiar with the arrangements as you are will believe it is safe if the fuse has blown and get a very nasty surprise when they find part of the circuit is still live"

Maybe the safest option is to proceed with good design of the 'LEM transducer box' without the fuses 1 to 6 & rely on the DC & AC isolators for personal safety & the consumer unit 20A MCB for overload protection?

Is there no protection already in the dc loop? If there is, it should be adequate; if not, the manufacturer deems it to be unnecessary. Either way, I don't really see a need to add fuses. So I'd be happy not adding fuses (except that little one on the voltage sensor).

I was also thinking of using a 4 pole changeover switch to allow me to switch my 'LEM transducer box' in & out of circuit if a problem arose rather than shutting down the PV array to allow for repair/removal of the 'LEM transducer box'.  What do you think?

I think that would be prudent - maybe in its own box so that shrouding it isn't an issue. The two you cite are in their own box, but they don't have a dc rating, so you must always isolate before operating the changeover and never switch 'on load'. At least the 20 A version is English and CE marked, all I can find for the 32 A one is a fuzzy data sheet in Chinese, so it's a total unknown.

dominator99's picture

Re: monitoring PV string voltage

Many thanks Robert

Robert Wall's picture

Re: monitoring PV string voltage

Now if you could get a 5-pole switch, you could do it with one switch, not two (because you only need 1 more pole to isolate the voltage sensor).

You can't even do it then. You need a 5-pole and a 2-pole; the 5-pole to isolate your monitor and the 2-pole to bypass it.

dominator99's picture

Re: monitoring PV string voltage

I use 2No. 4PDT changeover switches to allow complete removal of LEM box if necessary for maintenance rather than trying to maintain box in situ in low headroom attic.  Also, with only 1 changeover switch I could not remove DC power from the LEM box completely because if the 1st changeover switch was switched to position 1 then DC power would still be applied to the LEM box from the reverse direction via the SMA inverter to the lower LEM box connections or am I missing something here?

Since the LEM LV 25 is connected to string 2 +ve & -ve, then it will be isolated when string 2 is isolated, yes?

 

When I saved this post I noticed your response posted before! Sorry about that

I also feel that sourcing a 5PDT could be tricky (and expensive) so that was the reasoning behind 2No. 4PDT switches.

I also notice your circuit only requires ST not DT switches would should be a cheaper option

 

I prefer your circuit to mine so attached is my variation of your circuit using 4PDT changeover switches I already have; I thinks it's OK

Robert Wall's picture

Re: monitoring PV string voltage

I don't know whether you noticed, but if you operate the switches in the correct sequence, it is possible to take the monitor in and out of circuit on load with no worries about the contact rating on dc, because there is either no current flowing or no (or very little) voltage as the switch opens because there's a parallel path. Putting the monitor in circuit, you close up the bottom isolator first (position 2) and the parallel path through HX03s makes the contacts of the upper isolator at nearly equal voltages, so that can be changed over without breaking the current flow and there is only a very small voltage appearing across the contacts so very little chance of a damaging arc.

Taking the monitor out of circuit is the reverse. Change over the top isolator first and that shorts the HX03s - no problem there - then you can put the bottom isolator into position 1 and again, there now exists a parallel path which should be carrying most of the current anyway, but even if not, there will be no appreciable voltage appearing across the contacts so no real chance of an arc.

(The worry with switching dc of course is the arc tends not to extinguish naturally, which an ac arc does every 10 ms as the current reverses every half cycle, so you tend to need arc chutes and magnets to draw the arc out to extinguish it. Typically, an ordinary switch will have a dc rating - if it has one at all - that is a small fraction of the ac rating.)

KWells's picture

Re: monitoring PV string voltage

This problem is one reason why Enphase and Solar Edge micro-inverter systems rock. (i apologize this commentary doesn't add much to the circuit discussions) Determining the health of every panel on an array with multiple series strings is not simple, even more difficult to troubleshoot once a problem is suspected. For isolated DC voltage sensing the Avago ACPL-C870 Optically Isolated Voltage Sensor is really sweet. I've used these to isolate sensing of DC bus voltages in inverters and 480V3P power supplies.

I think the DC current of your two strings is the easiest parameter to monitor the health of your array. The individual panel voltages on a long string can vary quite a bit while they operate at the same current due to temperature differences - panels put out different power levels right out of the box. One more reason why micro-inverters can be worth the extra cost, they MPPT each panel to their operating point. Have fun and always be careful.

dBC's picture

Re: monitoring PV string voltage

I don't think SolarEdge do micro-inverters as such.  Rather they have a power optimiser under each panel, which as you say does local MPTT and reporting, all of which is great for monitoring.   The difference being it's still DC all the way to the one big inverter on the wall.

Bill Thomson's picture

Re: monitoring PV string voltage

This problem is one reason why Enphase micro-inverter systems rock.

Along with the scalability they give you. i.e start small. and grow the system as time/budget allows.
(I started with 4 Enphase micros, and now have 40 of them)

But, this thread has been a good read, and definitely worth knowing. Especially where safety is concerned.

 

dominator99's picture

Re: monitoring PV string voltage

Hi Guys

Back in 2011 when I was planning the installation of my 3.92kW 16 panel array I too was planning on using micro inverters (Enecsys) but due to delay problems with the supply from Enecsys AND the impending FIT's rate cut planned in December 2011 I had to take the series string inverter route.  Incidentally, I'm glad I did because Enecsys have recently gone into administration both here in the UK & the USA, leaving their customers without any micro-inverter monitoring facility. At that time I did look at Enphase micro-inverters but decided Enecsys were a better choice.

I even planned my PV installation so that the 16No. micro-inverters would be situated in my attic space for ease of maintenance rather than outside on the roof; so that is how my current system is installed with all PV panel DC cables routed into th attic & connected in series there.

Hence the reason for this topic; to be able to run some kind of monitoring of the 2 string array.  It won't tell me which panel is under performing but it should tell me which string is.

In due course, when my current string inverter needs replacing I shall look again at fitting micro-inverters.

Glad you found it an interesting read & I must thank Robert again for his advice & patience (with a MechE!)

Attached is final schematic (I hope!)

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

Referring back to discussion on the Bypass & Monitor switches, I thought I'd try a visual method of showing the 'state' of the switches using neon indicators to make sure everything was switched off & safe before carrying out any work on the installation.

I've attached a part schematic for your perusal & comments.  I think it looks OK but a second opinion would be useful before committing to my PV setup.

Would it be prudent to fit 500mA fuses in series with the neons in case of failure (shorting out) of any neon?

I intend testing this circuit using 5V DC & temporarily substituting LED's in place of the neons to check visual output state of the changeover switches

 

 

Robert Wall's picture

Re: monitoring PV string voltage

Your drafting program has a really weird way of drawing switches! I misread those first time round.

Neon 6 is the wrong side of the resistor R1 - there won't be enough voltage there to light it, but apart from that I can't see anything obviously wrong. As part of your operating procedure, you need to make sure that the neons are lit and unlit as expected both before you start and after you finish, else you are relying in part on a non-indication for safety. That's not good, even though you're only confirming the switch positions. I take it that both switches will operate in the same direction for normal use, i.e to the left or up for bypass in use, monitor isolated; and to the right or down for monitor in use

dominator99's picture

Re: monitoring PV string voltage

It's not the drafting program that supplied the switch diagram but me since the program didn't have a suitable representation of my type of switch!

The switches are a rotary type slide switch ON-OFF-ON that came supplied with wire links to mimic a SPDT type switch so I created the switch diagram that best represents the changeover switch.

"Neon 6 is the wrong side of the resistor R1 - there won't be enough voltage there to light it" - well spotted

The idea behind the neon indicators is that if any one of the six is ON there is live 240V (AC or DC) present & all 6 neons ON mean the system if fully operational & LIVE but I take your point that all neons OFF shouldn't be indicative that all circuits are safe unless all relevant switches are visually OFF.  I don't trust even circuit breakers for safety since they only break the live not neutral (the neon circuit tester comes in handy here!)

As mentioned in the notes on the schematic, both changeover switches in the 2 position means system is fully operational & both in position 1 means LEM transducer box is out of PV circuit.

I intend to fully document the operational procedure for switching monitor in & out of use next to the monitor & SMA inverter in much the same way as the PV shutdown procedure is detailed at the relevant site locations (inverter & consumer unit).  Obviously, the '0' position on the changeover switches does not mean OFF in a safety sense but a mid point between positions 1 & 2 (ON-ON); there is still PV DC voltage there from the PV isolator

Could I have your comment on the use of 500mA fuses in series with the neons, as mentioned in the previous post?

regards

Chris

Robert Wall's picture

Re: monitoring PV string voltage

Sorry, I intended to add something about the fuses and forgot.

If the leads are short and contained wholly within the boxes, I wouldn't bother. The possibility of a fault is remote.

dominator99's picture

Re: monitoring PV string voltage

Hi Robert

Am I understanding the voltage transducer LEM LV 25-P correctly?

Nominal voltage to be measured = 250V with an optimum primary current of 10mA  gives a value for R1 of 250/0.01 = 25kΩ

Power rating of R1 = 0.01*0.01*25000 = 2.5W

For secondary Vc of +15V DC & Rm max of 190Ω & secondary nominal current of 25mA gives voltage measuring max of 0.025*190= 4.75V

1024 'counts' of the Arduino analogue input to measure 5V would be given by 1024*4.75/5 = 972.8 'counts' to measure 250V gives 3.89 'counts' per volt or 1 'count' = 0.26V

regards

Chris

Robert Wall's picture

Re: monitoring PV string voltage

That all looks reasonably familiar. The series resistor is the value I first thought of, and everything follows from there looks right.

Clearly, because your resistors have tolerances and so does the transducer, and (if the transducer is ratiometric as I think it is) so does your power supply, you'll need to tweak the calibration in software (and this goes for the current channels too).

Bear in mind when commissioning that you need to check the polarity of the output before you connect it to the Arduino, because it can go to -4.75 V if you've got it wrong, and while the zener should catch it and hold it at -0.65 V or so, it's best not to push your luck and rely on the protection.

dominator99's picture

Re: monitoring PV string voltage

Thanks for the info Robert

If you recall, I'm not so much interested in wholly accurate values of currents but more in changes in the values of the currents from one of the 2 strings to indicate a problem with one of the strings, since both strings are operating under the same insolation (barring any shading issues). Similarly, voltage changes of around 1/8 (approx 30V)  would indicate a problem with 1 of the 8 panels in either string (if strings are parallel wired at the inverter)

In a previous post you quoted:

"I don't know whether you noticed, but if you operate the switches in the correct sequence, it is possible to take the monitor in and out of circuit on load with no worries about the contact rating on dc, because there is either no current flowing or no (or very little) voltage as the switch opens because there's a parallel path. Putting the monitor in circuit, you close up the bottom isolator first (position 2) and the parallel path through HX03s makes the contacts of the upper isolator at nearly equal voltages, so that can be changed over without breaking the current flow and there is only a very small voltage appearing across the contacts so very little chance of a damaging arc.

Taking the monitor out of circuit is the reverse. Change over the top isolator first and that shorts the HX03s - no problem there - then you can put the bottom isolator into position 1 and again, there now exists a parallel path which should be carrying most of the current anyway, but even if not, there will be no appreciable voltage appearing across the contacts so no real chance of an arc.

(The worry with switching dc of course is the arc tends not to extinguish naturally, which an ac arc does every 10 ms as the current reverses every half cycle, so you tend to need arc chutes and magnets to draw the arc out to extinguish it. Typically, an ordinary switch will have a dc rating - if it has one at all - that is a small fraction of the ac rating.)"

Is it safe to assume that because of the above, the changeover switches I use are OK even though they don't officially have a DC rating?

These rotary switches appear, by their 'snap' action, to be rapid make & rapid break but I can't get a definitive answer on that.

It would appear to me that the safest use of these changeover switches is to switch them 'off load' by switching the PV isolator OFF first.  In fact, my PV shutdown procedure calls for the AC isolator to be switched OFF first before the PV DC isolator, hence there is no load on the DC isolator when it is switched OFF.

I've read some discussions of manufacturers of DC switchgear which also discusses switch contact corrosion, inadequate 'wetting' current & subsequent overheating of the switch contacts.  Would it be prudent to incorporate thermal & smoke sensors within the changeover switch boxes that the Arduino could monitor, especially since the -ve current of each string will be passing through an extra 3 switch contacts before returning to the -ve contact of the PV DC isolator ? (bearing in mind the remote location of these switches in the attic), if so, could you suggest a suitable smoke sensor for the Uno?

regards

Chris

Robert Wall's picture

Re: monitoring PV string voltage

It's always a good idea to be working with accurate values if you can. If you don't calibrate and you're like me, one day you'll forget and treat the values as genuine. As you're more interested in the balance, you could wire the two current sensor in series on one string (temporarily) and adjust the calibration so that both read the same.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.