Author Topic: Tracker Controller  (Read 9528 times)

0 Members and 1 Guest are viewing this topic.

Offline rossw

  • Senior Moderator
  • Hero Member
  • *******
  • Posts: 879
  • Karma: +35/-0
  • Grumpy-old-Unix-Admin
Tracker Controller
« on: July 17, 2012, 05:43:59 pm »
So.... there I am, sitting quietly working away, minding my own business, when I get accosted in IRC by a regular, wanting help and ideas for controlling the tracking on his solar array...

I pitch in a few ideas, and another regular puts his hands up "I'll have me one of them too!". Then a third....

So I'm planning to document here what I'm planning so others might chip in, pick up on my oopsee's etc.

Step 1 was to decide the basic operation. Sun-followers have ended up being too unreliable. Not because of their design, but because of the environment. Clouds, weather etc. Combined with the reliance on good construction, requiring optics, mounting suitably etc, we ruled that out for this application.

Instead, we've elected to use a time-based positioning system. Sure, it's not as accurate to position as a sun-tracker under ideal conditions, but it's "close enough" virtually all the time, even in broken sunlight, and it won't hunt.

That does imply it needs a clock of some sort, so finding a suitable board was the next stop. It also needs to be programmable so we can make it do what WE want. It needs moderately accurate timing for the drive times, and wait times. It needs enough outputs to operate east and west drive, and optionally elevation if its a 2-axis board. It would be nice if it had inputs for limit switches and/or manual drive. If there was interest or demand, it might be nice to monitor the supply voltage so the actuator drive time can be adjusted automatically if volts are up or down a bit. It might also be nice if it could monitor panel voltage or current, ambient temperature, array temperature or even just sunlight level. It would also be nice if it could be used to log data!

Fortunately, I've used some small "PLC" boards for a number of my own projects, that tick all these boxes. Smallish, reasonably low cost, 8 digital outputs, 8 digital inputs, 3 analog inputs and up to 8 temperature sensors, will take a few thousand lines of program, has a built-in webserver and ethernet interface!

My next step has been thinking about how to make it work out sunrise time sufficiently accurately to be useful, AND so it can be used by multiple people without having to rewrite the code each time. The plc logic engine doesn't have lookup tables, or floating point maths. So I've been playing with some approximation techniques using purely integer maths, and trying to estimate sunrise at an arbitary latitude/longitude to within about 15 minutes. I'm getting close.

Once I have that I'll move on.

The current plan is (starting at sunrise) - drive the arrays west for a small time - around 2 seconds - every 15-20 minutes. The exact times will vary depending on the time of year (length of day).
About half an hour after sunset, to move the panels to a mid-way "park" position. This should minimise the wind loading and maximise the chance that any overnight rain will wash the panels clean. About half an hour before sunrise, drive the panels fully east ready to catch the sun, and so the cycle repeats.
Each night, it will need to recalculate the sunrise/sunset times for the following day.

The board has timekeeping in software, but with its internet connectivity, will go out and synchronise itself with the very accurate internet NTP pool. This means the device won't need backup batteries, or to have its clock set etc. It'll just work. (It will need to be told your lat/long, and the time your actuator takes to drive).

So, any thoughts, comments, "please add" etc - now's the time to do it!

Offline Watt

  • Sr. Member
  • ****
  • Posts: 261
  • Karma: +11/-1
  • Over qualified in the inexperience department!
Re: Tracker Controller
« Reply #1 on: July 17, 2012, 06:12:35 pm »


Thank you Ross for taking time to do this. 

I have some old digital readout sensors for my lathe and mill.  I out grew the little 3 in 1 machine and sold it.  The guy who bought it said he didn't want to mess with them so....  maybe I could make use of one or two of them for feedback as too the trackers current location?  Whatcha think?
CEO of this Dis-Organization....

Offline rossw

  • Senior Moderator
  • Hero Member
  • *******
  • Posts: 879
  • Karma: +35/-0
  • Grumpy-old-Unix-Admin
Re: Tracker Controller
« Reply #2 on: July 17, 2012, 07:16:58 pm »
maybe I could make use of one or two of them for feedback as too the trackers current location?  Whatcha think?

I don't know that the scales are suitable for use outside like that.
If you wanted some feedback, you could rig a potentiometer to give feedback perhaps (a weight on an arm, use it like a gradiometer) back to an analog input....

Offline Wolvenar

  • Senior Moderator
  • Hero Member
  • *******
  • Posts: 1474
  • Karma: +40/-0
  • Mr. Murphys pawn
Re: Tracker Controller
« Reply #3 on: July 17, 2012, 07:23:57 pm »
I have been working out the pros and cons of a tracker, and in the end the tracker will be the best.
I have most of everything I need at this point, except time.


Any which way, I have also come to the conclusion mine will be built to have a shade for the panels as well.
Your "parking" idea seems like a perfect time to also deploy the shade, as well as anytime NOAA has a warning for hail and/or high winds.
 I think I will have a pic controller, interfaced to the PC that can send it a "park and shade" when such a warning is issued.
Trying to make power from alternative energy any which way I can.
Just to abuse what I make. (and run this site)

Offline rossw

  • Senior Moderator
  • Hero Member
  • *******
  • Posts: 879
  • Karma: +35/-0
  • Grumpy-old-Unix-Admin
Re: Tracker Controller
« Reply #4 on: July 17, 2012, 07:50:54 pm »
I think I will have a pic controller, interfaced to the PC that can send it a "park and shade" when such a warning is issued.

This device has enough inputs that it could easily have a single input pin you drive active to say "Please park, NOW!". It wouldn't even be out of the question to make a "high wind sensor" (little more than a stiff wire, a small sail on the top, and a contact ring around it) that could trigger the board to park. (or in your case, park and deploy the shield - just another output and timer)

You can set outputs from a host on the internet (assuming it's connected of course), so one of your existing servers could make the call that there's a storm comming and send a "shutdown and park" command to the tracker.

Offline Wolvenar

  • Senior Moderator
  • Hero Member
  • *******
  • Posts: 1474
  • Karma: +40/-0
  • Mr. Murphys pawn
Re: Tracker Controller
« Reply #5 on: July 17, 2012, 08:03:34 pm »
Just so we are on the same page.

Are you thinking along the lines of an antenna like wire with it's lower part inside of a pipe, with a ball of some sort on top thats just large enough to catch the proper amount of wind.

When there is enough wind to flex the wire into the pipe a connection is made.
The PIC would need some logic for how many times this needs to happen or not happen over a certain time period to change between the park, and normal operations.

Am I anywhere close?
Trying to make power from alternative energy any which way I can.
Just to abuse what I make. (and run this site)

Offline rossw

  • Senior Moderator
  • Hero Member
  • *******
  • Posts: 879
  • Karma: +35/-0
  • Grumpy-old-Unix-Admin
Re: Tracker Controller
« Reply #6 on: July 17, 2012, 08:07:57 pm »
Just so we are on the same page.

Are you thinking along the lines of an antenna like wire with it's lower part inside of a pipe, with a ball of some sort on top thats just large enough to catch the proper amount of wind.

When there is enough wind to flex the wire into the pipe a connection is made.
The PIC would need some logic for how many times this needs to happen or not happen over a certain time period to change between the park, and normal operations.

Am I anywhere close?

Thats about exactly what I was thinking, yes.

Offline ksouers

  • Full Member
  • ***
  • Posts: 126
  • Karma: +6/-0
  • Missouri, USA
Re: Tracker Controller
« Reply #7 on: July 17, 2012, 10:03:52 pm »
Ross,
How about thinking a little more like a CNC mill or lathe?

Say, a Gecko driver board and some NEMA 23 stepper motors and toothed belt drive. You'll need some sort of positioning sensor, like you say maybe a pot and an AD converter or even an encoder for a feedback loop.
All readily available and reasonably cheap.

Simple plot for a curve, say about 20-30 points, should put you very close.
Program says "It's 10:15AM, where should I be?", look at the pre-plotted table and go there.

Kevin
As far from the city as I can get but still keep my job.

Offline rossw

  • Senior Moderator
  • Hero Member
  • *******
  • Posts: 879
  • Karma: +35/-0
  • Grumpy-old-Unix-Admin
Re: Tracker Controller
« Reply #8 on: July 17, 2012, 10:40:39 pm »
Ross,
How about thinking a little more like a CNC mill or lathe?

*WAY* more expensive and complicated than the vast majority of people want/need.
MOST people just use a conventional linear actuator. They're cheap, weatherproof already, and designed for the job. Don't require any fooling around.

The controller board I've already got 5 or 6 of them around my place, running 24/7 for more than a year.
I've got 30 or 40 of them out on other sites also running 24/7, in all sorts of environments, and have never had one fail. Only ever had one that has spontaneously rebooted (although I'm still not sure it wasn't something else that caused that). That's the sort of reliability I want. And for under $60 for the board, there are not too many other options around that include ethernet.

Offline tomw

  • Not as bad as you might think
  • Senior Moderator
  • Hero Member
  • *******
  • Posts: 739
  • Karma: +35/-0
  • hoplophobic people will fear my lifestyle
    • Zubbly's photos!
Re: Tracker Controller
« Reply #9 on: July 17, 2012, 11:14:42 pm »
the Sat jacks have encoders on them or all mine have. Either a microswitch or a mag pickup. So feedback is possible with those.

I am currently using time based tracking track 8 seconds every hour between my shade areas. I don't get as many hours of sun as I would like but trees grow and create shade. The curse of living "in" the timber.:o

Tom
Do NOT mistake me for any kind of "expert".

( ?° ?? ?°)


24 Trina 310 watt modules, SMA SunnyBoy 7.7 KW Grid Tie inverter.

I thought that they were angels, but much to my surprise, We climbed aboard their starship and headed for the skies

Offline luv2weld

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
  • No Personal Text Set by User
Re: Tracker Controller
« Reply #10 on: July 18, 2012, 10:51:13 am »
And if you do not have ethernet available to the solar panels????

Ralph
The best way to "kill time" is to work it to death!

I wouldn't need to manage my anger if people would learn to manage their stupidity!!

Offline tomw

  • Not as bad as you might think
  • Senior Moderator
  • Hero Member
  • *******
  • Posts: 739
  • Karma: +35/-0
  • hoplophobic people will fear my lifestyle
    • Zubbly's photos!
Re: Tracker Controller
« Reply #11 on: July 18, 2012, 11:18:37 am »
And if you do not have ethernet available to the solar panels????

Ralph
Ralph;

Why would you need a network connection @ the panels? They most likely already have wires to carry a positioning signal and power to the motivator? Mine run from a computer and I simply switch the power leads to the actuator from inside the building. The thing needs battery power anyway so is simple to just switch that. I don't see the ethernet point here? This computer is my local file server so it runs anyway and a simple crond job handles the switching via a USB relay board.

It really helps folks understand if you "quote" the post you are responding to. Every post has a "quote" button for this very reason.

More geeky folks probably have network everywhere on their place. Plus there is wireless networking.

Just saying...


Tom
Do NOT mistake me for any kind of "expert".

( ?° ?? ?°)


24 Trina 310 watt modules, SMA SunnyBoy 7.7 KW Grid Tie inverter.

I thought that they were angels, but much to my surprise, We climbed aboard their starship and headed for the skies

Offline Watt

  • Sr. Member
  • ****
  • Posts: 261
  • Karma: +11/-1
  • Over qualified in the inexperience department!
Re: Tracker Controller
« Reply #12 on: July 18, 2012, 12:02:35 pm »
And if you do not have ethernet available to the solar panels????

Ralph

I will not need Ethernet at the panels.  I doubt anyone will really unless they decide to put their batteries and everything right at the pole.  I will simply run the control/signal wires from the relay board to the actuator itself.  Most use electric linear actuators from the c-band satellite days.  These actuators ran from power supplied by the receiver in the television room.  So, the power required was usually by way of a couple of 16 gauge wires along side the lna/b etc cables depending on the distance from the receiver to the dish.

My system will be a bit different due in part to having a 4kw array on one pole and tracker.  I will be using a hydraulic scheme.  However, it too will be close enough to my battery/electronic shed as I will not need any communication network at the pole. 

Hope this helps.
CEO of this Dis-Organization....

Offline Bryan1

  • Full Member
  • ***
  • Posts: 152
  • Karma: +10/-0
Re: Tracker Controller
« Reply #13 on: July 18, 2012, 03:44:13 pm »

  I will be using a hydraulic scheme.


G'day Watt.
                  Ages ago I saw a hydraulic PV tracker setup that didn't need ANY brains to operate, the guy simply put a tube by the panels and when the sun heated that said pipe the oil heated and expanded and thus moving the cylinder causing the tracker to move. As far as parking goes at night the oil cools down and the unit automatically parks.

                Simple design but one can see many slabs of beer to get one going......

Cheers Bryan

Offline Watt

  • Sr. Member
  • ****
  • Posts: 261
  • Karma: +11/-1
  • Over qualified in the inexperience department!
Re: Tracker Controller
« Reply #14 on: July 18, 2012, 04:38:45 pm »

  I will be using a hydraulic scheme.


G'day Watt.
                  Ages ago I saw a hydraulic PV tracker setup that didn't need ANY brains to operate, the guy simply put a tube by the panels and when the sun heated that said pipe the oil heated and expanded and thus moving the cylinder causing the tracker to move. As far as parking goes at night the oil cools down and the unit automatically parks.

                Simple design but one can see many slabs of beer to get one going......

Cheers Bryan

Sweet Bryan, I look forward to the beer part!  Great idea too.
CEO of this Dis-Organization....