Portable Solar Tracker Project - Circuit Design and Breadboarding


Introduction: Portable Solar Tracker Project - Circuit Design and Breadboarding

In theory solar energy is awesome. It is clean, free, and plentiful. The drawback is that to directly convert light to electrical energy requires a solar transducer such as a solar panel. The current state of this technology leaves more than a little to be desired in durability, efficiency, and cost. In order to power a home or a car requires large arrays of panels and even then only certain geographic regions provide sufficient periods of direct sunlight.

While solar energy technology is not yet mature enough to be widely accepted as a primary energy source for the general population, it does have some unique advantages. For instance, it can provide a remote energy supply which is great for trickle charging small devices such as cell phones or GPS when traveling, hiking, or camping, or just hanging out at the pool. It can also provide a source of emergency energy for periods when the main power grid is offline.

One way to make the solar panel more effective at harvesting energy is to ensure that it is always pointed directly at the sun. Panels are more efficient at converting electromagnetic radiation which has a direct rather than glancing incidence. Therefore it is desirable for a panel to have the ability to track the sun as it moves across the sky.

This series of instructables will follow my design and construction of a small, portable solar tracking device that can be taken on camping trips or stored in your trunk for emergencies. Along the way I will demonstrate various design and construction techniques which can be used in other projects. In this, the first installment of my Solar Tracker Project series, I will show the circuit I designed and explain its principle of operation. I will also provide a component list and a video of the circuit in operation. For now the circuit will be operated using a 9V battery but in the final device it will draw parasitic energy from the solar panel it will be connected to.

Enough talk. Let's make.

Step 1: Circuit Design and Theory of Operation

When considering options for the design of this circuit one criteria which was important to me was a very low idle current. That is to say that when the solar panel was pointed in the correct direction I wanted the circuit to use as little power a possible since any energy consumed here will be subtracted from the total energy that the solar cell can provide to any connected devices and reduce the overall efficiency of solar harvesting.

With this in mind I chose to use an inverted LED array sensor. When light falls on the P-N junction in an LED, a voltage is produced which is proportional to the intensity of the radiation. By having two LEDs connected anode to cathode, one LED will produce a positive voltage in response to the light and one will produce a negative voltage. When the amount of light falling on the two LEDs is equal these voltages will sum to zero. However, if one LED gets more light on it then a net voltage will exist and can be output. Depending on whether the output voltage is positive or negative we will know which LED is getting the higher incident light intensity.

Since this design relies on a voltage and not a current it will have not power consumption in the sensor stage. This is in contract to a light sensitive resistor or transistor which will have a power draw. Another advantage of the LED sensor is that we can increase the sensitivity by connecting multiple LEDs in series at both polarity locations. Our final design will use 5 to 10 LEDs connected in series for both the forward and reverse polarity locations in order to improve the responsiveness. For now I will just use one in each location as I have shown in the schematic.

The output of the sensor stage will first be connected to an op amp set up as a buffer. This will prevent any small current draw in the downstream circuit from causing changes to the voltage in the sensor array. The output of this buffer will feed two other op amps used as amplifiers: one non-inverting and one inverting. The complementary inputs to these op amps will be set by a series of potentiometers and the the op amp output will be sent to the H-bridge to drive the motor.

The user input and calibration stage is made up of three potentiometers and one resistor. This setup is essentially an adjustable voltage divider. The resistor (470kohm. Sorry, I forgot to label it when I drew the schematic) brings down to voltage going into the potentiometers and prohibits the system from ever having a low resistance path from the anode to cathode. The first potentiometer develops a voltage gap between the two leads going to the op amp stage. Adjusting this expands or contracts the range of stable values in the system which allows some disparity to exist between the intensity of light at the LED without automatically driving the motor. The other two potentiometers adjust the balance point of the system. These must be set such that the motor does not turn when equal illumination is provided to the LEDs.

I should point out that current will constantly be drawn through the input and calibration stage. In order to limit the current to a very  low value I have selected reasonably high resistor values (the highest I had on hand for breadboarding). Before I make the PCB prototype I will measure the idle power dissipation of the circuit using two multimeters, one for current and one for voltage, and optimize this stage for minimum parasitic power draw. Power (P) is equal to current (I) times voltage (E), or P=I*E.

The output of the processing stage will control which transistors are open in the H-bridge. When A goes to high, the PNP transistor will close and the NPN transistor will open. When it goes low the opposite will occur. The proceeding circuit is designed such that when A is high, B is low and visa versa. With A high and B low, a current will pass through the motor from right to left as shown in the schematic. If B is high and A is low, the current will go through the motor from left to right. This will cause the motor to turn in different directions depending on  the input state and eventually allow the solar panel to align to directly face the sun.

The diodes in the H-bridge, called flyback diodes, are there to prevent damage to the circuit. When driving an inductive load such as a motor large voltage spikes can occur when changing current. A sudden drop in current will induce a large voltage spike and by connecting diodes as shown the current is given a path to travel though which will not fry our electronics.

Step 2: Parts List

Based on the schematic I drew up, the listed components will be needed to construct the circuit. A total of 6 op amps will be present but only 5 will be used based on the current design. However, extra op amps are always a plus at this stage in the game since we can still use the extras as buffers or amps for any additional features that may be added as development proceeds. The BC457 and BC557 are general purpose NPN and PNP transistors, respectively. The 1N4148 diodes are standard 100V diodes and should suffice nicely for the current purposes.

Step 3: Breadboarding the Circuit

As I built and tested each stage of the circuit, I made it into a plug in module for my breadboard. This reduced clutter and freed up room on my board. It also made each module reusable for other projects I may attempt in the future. The design I use for these modules allows the to be plugged directly into the board and power rail.The layout and method for making these invaluable devices is documented in  a separate instructable that can be found here: https://www.instructables.com/id/Techniques-for-Beefing-Up-Your-Breadboard/. In order to aid visualization of the motors rotation I wrapper the rotor will a piece of wire.

Step 4: Proof of Operating Principal

In this video I demonstrate the operation of the solar tracker circuit prototype and explain some of it's operating principal. There are ~7 seconds at the beginning of the video before I start talking so don't adjust your set, just stick with it.

Step 5: Next Steps...

There you have it. A functioning solar tracker circuit ready to be optimized. In the next instalment of this series I will fabricate a PCB of the circuit and build the solar panel mount and rotation stage. After testing that the entire mechanism works when run on a 9V battery I will add a solar panel, rechargeable battery pack, and charging circuitry. Until then, hack the planet!



    • Creative Misuse Contest

      Creative Misuse Contest
    • Water Contest

      Water Contest
    • Oil Contest

      Oil Contest

    12 Discussions

    i have gone through your project,i felt pretty good and simply awesome.i love doing projects based on solar and by seeing this i want to try this project.
    i am waiting for (Step 5: Next Steps..) fabricated PCB of this type.
    c u soon....

    2 replies

    Awesome! I am hoping to have the next part of the project done within the week. I have been tweaking my designs to reduce power consumption and fit in a nice, small footprint. In the end I would like this to be a foldable device that you could throw in a backpack of glove box and then open up, adjust, and use when you either reached you campsite or were in some emergency situation. If you have any ideas as the project develops please do not hesitate to share! I love the free exchange of ideas and seeing how rapidly ideas can grow when people get creative!

    Great..!go ahead..
    i liked "I love the free exchange of ideas and seeing how rapidly ideas can grow when people get creative" words of u's..
    please identify the 5 op-amp's in 'Step 3: Breadboarding the Circuit' .....

    Hi Rhodes!!!...I have gone through your project,it was awesome.you have done it two years ago but it caught into my only today.whether you have any corrections or change in this projec???....if so???...pls make me to know as soon as possible,because I am much awaiting to work it out....

    Hi Rhodes!!!!...your project was awesome and I was excited while reading this....you have a done it two years ago but it was caught into my sight only today...whether you have any change in this circuit,if so.....pls make me to know as soon as possible.....because I am much awaiting to work it out

    Just found this instructable have you continued work on this. Looks great waiting for more thanks.

    It is difficult to find ic NTE987 And NTE928 can u suggest another ic name to replace that position please

    Thanks for the correction. I just ordered some of the parts for this, now I'll order the ICs. Cheers!!

    Great..!go ahead..
    i liked "I love the free exchange of ideas and seeing how rapidly ideas can grow when people get creative" words of u's..
    please identify the 5 op-amp's in 'Step 3: Breadboarding the Circuit' .....

    1 reply

    I have updated the figure captions in the breadboard photo with some enhanced explanation and updated the schematic to include all 5 op amps. The breadboard include an NTE987 which has 4 op amps (the 14-pin IC) as well as an NTE928 which has 2 ops amps (the 8-pin IC). I have the two op amps on the NTE928 acting as buffers from the user input and calibration stage. I am only using 3 of the 4 op amps on the NTE987. One is the buffer for the sensor stage and the other two are amps used in the processing stage. The op amps in the two IC are basically identical except the one IC has 2 and the other has 4. I may take advantage of the remaining free op amp for part of the battery charging circuitry which I will add in a next step. Extra op amps are usually a good thing in a design since they can always be used as buffers to regulate some signal if they have no other use.

    Oops. Thank you very much for pointing this out. I forgot to include the two op amps which I use as buffers from the input and calibration stage in my original schematic. These were added late in my design cycle and they are there to make sure the the voltages set in the input and calibration stage are not altered by current draw from the processing stage. Normally, this would be redundant because the input to an op amp has a very high resistance and should draw almost no current. However, since my voltage divider was designed to use high resistances as well I found experimentally that these buffers give more stable operation of the circuit. I have updated the schematic to show where these buffers fit in. Cheers!