Professional Documents
Culture Documents
panels
One of my more complex projects
This is my home-made solar panel
sun tracker. It is based on a 1960s
vintage TV antenna rotator, driven
by 21st century microcontroller
technology. It was pretty easy to
build. This web site shows how I did
it.
Don't feel you need to copy every part exactly. Feel free to innovate, experiment, and
substitute. There is a lot of wiggle room in the design. Lots of things can be changed or
modified and a working tracker would result. There are must be dozens of different ways to
implement the electronics alone. You could use an Arduino, a Raspberry Pi, a PC, or a
handful of analog components, instead of an MBED, to implement the sun tracking
electronics. This is just the way I did it. I hope it sparks some people's imagination and
ambition. Email me with details on how you do it and I'll add a link to your site.
Here is some time-lapse video of the home-made solar panel sun tracker in operation. In the video it is set up on
my remote Arizona property, and is doing a good job of keeping my solar panels pointed at the sun.
Why build a tracking platform for my solar panels? Solar panels produce a lot more power if
they are pointed directly at the sun all the time than they do in a fixed position. I got tired of
manually moving my panels to keep them pointed at the sun throughout the course of the
day. If I wasn't around to move them every few hours, they wouldn't make enough power to
keep my batteries fully charged. I decided to automate the process and free myself from
having to manually move the panels.
Here is the box the antenna rotator
came in. It still has the $15 yard sale
price tag on it. The box is beat up
and faded from being in storage for
so long, but the unit inside was still
brand new and wrapped in the
original plastic. It is an older unit,
based on 1960s technology. The
person had purchased the unit new,
but never used it. It had been sitting
in a box in their garage for decades
until they finally decided to get rid of
it at the yard sale.
When set up in the field, the base unit would be leveled in both the east-west axis, and the
north-south axis, and aligned toward due north. Note that magnetic north and due north can
be quite different directions in some parts of the world. Apply your local deviation when
using a compass to align the unit.
Here is a photo of the north side
support of the solar tracker. It
measures 48 inches wide at the
base and stands 43 1/2 inches tall.
Keep in mind that these dimensions
are only correct for use at 34.6
degrees north latitude. If you are
significantly further north or south,
you will need to modify the
dimensions of this piece. More on
that below. The support is made of
2X4s that are screwed and glued
together. Note that there are two
little feet on the bottom. They aid in
levelling the unit when setting it up.
The gap between the upright 2X4s is
exactly the thickness of another 2X4, or about 1 1/2 inches.
The horizontal 2X4 brace that goes from the bottom of the north support to the bottom of
the south support is 48 inches long.
It fits between the uprights and gets
bolted through them. This is another
piece that will have to be sized for
your particular latitude, since the
distance between the north and
south supports will change as the
angle of the driven pipe changes.
Here is a close-up of the motor end. The antenna rotator is designed to be clamped onto a
fixed mast, and rotate a shorter mast with an antenna attached to it. So I created a pseudo
fixed mast to clamp it to. The short piece of 1 inch pipe at the top (under the coil of wire)
serves as the mounting point for the rotator. The short piece of pipe screws into a floor
flange, which in turn is bolted to a 3 1/2 X 3 1/2 square piece of wood that is glued and
screwed to a 12 inch long piece of 2X4. The 2X4 slips between the uprights on the north
support and gets bolted in place.
Another short piece of 1 inch pipe passes through hollow drive shaft of the rotator and gets
clamped in place. A 90 degree elbow is screwed on to the left (top) side of this short shaft.
A 4 foot long piece of 1 inch pipe is connected to the other end via a coupler.
Here is a close-up of the bearing
end. The lower end of the 4 foot long
pipe that carries the solar panels
screws into a union that has been
modified to serve as a bearing (more
on that below). A close nipple
connects the other side of the union
to another floor flange. The floor
flange is bolted to another wooden
mounting structure identical to the
one at the other end, but one corner
was cut off to prevent it from
interfering with the lower brace
holding the north and south supports
together.
The angle of the with respect to the ground of the axis of rotation is set to be the same as
the latitude of location where the tracker will be used. Think about it this way to visualize
why. If it was used at the Equator, 0 latitude, the angle with respect to the ground would be
0, so the axis would be horizontal. If used at one of the poles, +90 or -90 latitude, the angle
with respect to the ground would be vertical. So it follows that the correct angle is always
the latitude of the location where the tracker will be set up. My Arizona property is at about
34.6 Degrees North Latitude, so that is the angle I used. The angle you need will depend on
where you are. Not only will your angle probably be different, but the dimensions of your
base structure will also be different. The dimensions of the base will depend on the angle
you use. Assuming you use the same south support, the height of your north side and the
distance between your south and north supports can be calculated with a little trigonometry.
This angle is not always correct. If the sun always rose due East and set due West it would
be perfect. However, the Earth is tilted 22.5 degrees on its axis. So during the course of the
year the sun seems to move 22.5 degrees North in Summer, and 22.5 degrees South in
winter (this is reversed in the Southern hemisphere). So this fixed angle is really only ideal
during the times of year when the sun seems to rise roughly due East and set roughly due
West. This would be during Spring and Autumn, which just happens to be the times of year
I am on my property.
An adjustable version could be easily created that could be set to a lower angle in Summer
and a higher angle in Winter. For now though I will leave that as an exercise for the reader,
because it works fine for me as is.
Here is a close-up detail shot of how the hose clamps are used to mount the frames on the
tracker drive pipe. Tightening down the hose clamps really locks the frames onto the pipe
quite tightly. I was somewhat surprised at how well it worked.
This photo shows the two solar panels in place. The panels just drop right into the frames,
which have been made slightly larger than the outside dimensions of the panels. Screws
hold the panels in place so the wind can't blow them out of the frames.
The top panel is a commercially made 100 Watt unit I bought because I got a really good
deal on it. The bottom panel is one of my home-made 60 Watt solar panels. Follow the link
to see how I make them.
160 Watts may not seem like a lot of power, but my power needs at my cabin are minimal.
With the tracker keeping the panels pointed at the sun, and my home-built wind turbine to
supplement their output, my
batteries stay charged and I have
plenty of power.
The heart of the circuit is the MBED. It reads the voltage value (via two of its analog inputs)
from two small solar cells mounted at right angles to each other. The motor of the antenna
rotator is moved so as the keep the voltage from the two solar cells nearly equal by keeping
them pointed at the sun.
The motor is energized by closing a relay and turning on an AC inverter. The output of the
inverter is stepped down to 24V AC with a transformer. The direction of the motor is
controlled with another relay. I used 40 Amp automotive relays because they are cheap,
available everywhere, and I already had a few on hand. The relays are energized by
TIP120 Darlington power transistors driven by output lines from the MBED. Two push
buttons were added to manually move the motor for testing and troubleshooting. Pressing
PB1 moves the motor west. Pushing PB1 and PB2 together moves the motor east.
Two limit switches are read using MBED input lines. Motion only starts in a given direction if
that limit switch is closed. Motion is stopped via an interrupt if the limit switches open at the
limits of travel.
A LM7809 positive 9V regulator provides stable power for the MBED from the 12V supply.
The MBED is based on 3.3V logic, and has an on-board regulator and a 3.3V output line
that is used to tie pull-up resistors to.
Parts List
C1 - 0.33 uF
C2 - 0.1 uF
C3 - NPO (harvested from original control box)
D1-D2 - 1N4001 or equiv Diodes
ECell-WCell - Thin-Film Copper Indium di Selenide (CIS) Solar Cells
F1 - 2A Slow-Blow Fuse
IC1 - LM7809 +9V Voltage Regulator
IC2 - NXP LPC1768 MBED
K1-K2 - 40A SPDT Bosch Type Automotive Relays
LS1-LS2 - Momentary Contact NC Switches (see below)
PB1-PB2 - Momentary Contact NO Push Buttons
Q1-Q2 - TIP120 NPN Power Darlington Transistors
R1-R6 - 1k 1/8W Resistors
R7-R8 - 10K Trimpots
T1 - 120VAC to 24VAC 2A Step-down Transformer
AC Inverter - 200-250 Watt 12V DC to 120V AC Power Inverter
This photo was taken very early on in the project. The breadboard has an earlier version of
the electronics on it. The small 100W inverter shown in the photo was later replaced with a
more robust unit. I tend to err on the side of robustness. The little inverter worked, but it was
straining, and I figured it was a weak point that would fail eventually. So I bought a larger
250W unit. The motor moves faster and smoother with the bigger inverter, and the inverter
doesn't make strange noises like a dying animal.
Here I have begun mounting parts
inside the ammo box. The relays,
transformer, terminal strip and one
of the feed-through terminal strips
have been mounted.
The two small solar cells are mounted at 90 degrees with respect to each other. The idea
was that one cell or the other would get more sun, and the tracker would move until they
were getting equal sun.
Two limit switches are mounted on a piece of aluminum angle held onto the drive pipe with
a hose clamp in the same manner as the solar panel frames.
Once outdoor testing in Arizona began though, a problem was discovered. The much
stronger natural sunlight seemed to be saturating the output of the solar cells even if they
were at quite oblique angles to the sun. This resulted in the tracker not following the sun
with any real accuracy. No amount of adjusting the pots on the controller would make it
track the sun accurately.
A solution to the problem was found
by mounting an occulting bar in front
of the solar cells, and applying black
tape to cover part of the solar cells.
As the sun moves west the bar
shades the east cell more and the
west cell less, resulting in the
necessary voltage difference needed
to make the tracker move and follow
the sun accurately.
The occulting bar is mounted on two screws that allow it to pivot east and west. This allows
for fine-tuning the pointing accuracy of the tracker. with this bar in place, the tracker really
began working well.
In the photo you can see how the occulting bar is shading most of the east cell. The sun
doesn't have to move far before the difference in output between the cells is enough to
make the tracker move.
The occulting bar works great. Here it is late afternoon and the tracker is all the way over to
its west limit after following the sun all day. The unit is working very well. I couldn't be much
more pleased with it.
Calibration of the tracker is pretty simple. On a clear day, with the sun well up, connect a
laptop computer to the MBED module in the tracker, then open a terminal program to see
the numbers being put out by the MBED. Adjust the occulting bar so that it is centered. Use
the manual controls to position the tracker so that it is centered on the sun, then turn off the
inverter so the tracker can't move on its own. Adjust the trimpots until the east and west
numbers are both approximately 0.5. Get them as close as possible. Be fairly quick or the
sun may move enough to throw off the calibration. You can always manually re-center the
tracker on the sun and try again. Once you are happy with the numbers, turn the inverter
back on and see how well the tracker follows the sun. The tracking can be tweaked by
moving the occulting bar slightly east or west and the tracker will move in the opposite
direction
Since the sun moves so slowly, calibration can take a while. You may have to wait an hour
or two, or even most of a day after making an adjustment to determine if the tracker is
following the sun accurately, or if more tweaking is necessary.
Here the tracker is a little east of
center late in the morning on a
somewhat cloudy day. Even through
thin clouds the tracker works well.
The tracker stops tracking when
thick clouds roll in and the
brightness of the sky tends to be
fairly uniform. As soon as they thin
out though, the tracker latches back
on the sun.
The original wooden stakes used to hold the tracker down in high winds have been
replaced with long steel stakes driven deep into the ground. Long screws go through holes
in the stakes and into the wood to securely anchor the tracker. A storm front came through
with hurricane force winds shortly after I made this modification. The tracker handled it with
no problem.
The horizontal support bar was attached by welding a 1/2 inch steel pipe coupling to the
main 1 inch support pipe. Two 24 inch long pieces of 1/2 inch pipe then thread into it to
make the horizontal support bar.
Here is a view of the sensor head with the jar removed. The original head had the two CIS
solar cells mounted at 90 degrees to each other. Such an arrangement would not fit in this
jar, so I mounted the cells at a more acute 60 degree angle.
Click the photo for a larger view.
UPDATE - The new sensor head has been installed and is working! I don't have to worry
about wind, rain, dew and dust damaging the sensor head anymore. That is a major relief.
The new head does seem to result in the tracker hunting around a little more for the ideal
position than the last one did, especially on partly cloudy days. I think it is a result of turning
the solar cells by 90 degrees in this unit as opposed to the first one. Since these cells are
made of an array of tiny cells, and not just one big cell, this different orientation results in a
larger change in output Voltage with a small change in shading. I made the change
intentionally because the last unit seemed rather insensitive to orientation unless there was
a huge amount of shading of the cells. It doesn't seem like it is doing a really excessive
amount of hunting to me, but I may tweak the software a bit to reduce it anyway. Just
maybe slightly increasing the required voltage difference between the cells before the
system moves may reduce the hunting while still maintaining adequate pointing accuracy.