Professional Documents
Culture Documents
PROJECT REPORT ON
Guided By Syndicate
Lt Cdr S Agarwal Lt S Rahul
Lt S Raghu
Lt H Sharma
ATTITUDE CONTROL OF SOLAR PANEL
ACKNOWLEDGEMENT
We would like to extend our gratitude to our guide Lt Cdr S Agrawal in helping
us to complete this project. We would also like to thank the FTP staff, for their
unending support and also for providing a conducive atmosphere to work in
FTP/O148-SSCL229/14 2
ATTITUDE CONTROL OF SOLAR PANEL
CERTIFICATE
This is to certify that the project report titled “Attitude Control of Solar
Panel” which is being submitted by Lt S Rahul, Lt SR Viswanathan and Lt H
Sharma is a record of students own work carried out by them under my
guidance and supervision in fulfillment of the requirements of Electrical
Specialisation Course.
FTP/O148-SSCL229/14 3
ATTITUDE CONTROL OF SOLAR PANEL
3. During darkness, a light detecting circuit has been used to cut-off the
charging supply to the panel and cut-in the load present in the circuit.
FTP/O148-SSCL229/14 4
ATTITUDE CONTROL OF SOLAR PANEL
CONTENTS
3. HARDWARE SETUP
(a) STEPPER MOTOR
(b) SOLAR PANEL
4. FUTURE SCOPE
5. CONCLUSION
6. APPENDIX
7. BIBLIOGRAPHY
FTP/O148-SSCL229/14 5
ATTITUDE CONTROL OF SOLAR PANEL
1. Solar energy is energy directly from the Sun. This energy drives the climate
and weather and supports virtually all life on Earth. Heat and light from the sun account for
most of the available flow of renewable energy. Solar energy technologies harness the
sun's energy for practical ends. Solar power is used synonymously with solar energy or
more specifically to refer to the conversion of sunlight into electricity. This can be done
either through the photovoltaic effect. Solar photovoltaic provide 0.04% of the world's
energy usage.
2. The solar cells are photovoltaic cells or modules (group of cells electrically
connected). Photovoltaic, as the word implies (photo = light, voltaic = electricity), convert
sunlight directly into electricity. Photovoltaic (PV) cells are made of special materials called
semiconductors such as silicon, which is currently the most commonly used. Basically,
when light strikes the cell, a certain portion of it is absorbed within the semiconductor
material. This means that the energy of the absorbed light is transferred to the
semiconductor. The energy knocks electrons loose, allowing them to flow freely. PV cells
also all have one or more electric fields that act to force electrons freed by light absorption
to flow in a certain direction. This flow of electrons is a current, and by placing metal
contacts on the top and bottom of the PV cell, we can draw that current off to use
externally. That's the basic process, but there's really much more to it. Let's take a deeper
look into a PV cell: the single-crystal silicon cell. At this junction, an interior electric field is
built up which leads to the separation of the charge carriers that are released by light.
Through metal contacts, an electric charge can be tapped. If the outer circuit is closed,
meaning a consumer is connected, and then direct current flows.
FTP/O148-SSCL229/14 6
ATTITUDE CONTROL OF SOLAR PANEL
When a photon hits a piece of silicon, one of three things can happen:
(i) The photon can pass straight through the silicon — this (generally) happens for lower
energy photons,
(ii) The photon can reflect off the surface,
(iii) The photon can be absorbed by the silicon which either:
(a) Generates heat,
(b) Generates electron-hole pairs, if the photon energy is higher
than the silicon band gap value.
4. A photon need only have greater energy than that of the band gap in order to
excite an electron from the valence band into the conduction band. However, the solar
frequency spectrum approximates a black body spectrum at ~6000 K, and as such, much
of the solar radiation reaching the earth is composed of photons with energies greater than
the band gap of silicon. These higher energy photons will be absorbed by the solar cell.
FTP/O148-SSCL229/14 7
ATTITUDE CONTROL OF SOLAR PANEL
FTP/O148-SSCL229/14 8
ATTITUDE CONTROL OF SOLAR PANEL
5. Stepper motors, however, behave differently than standard DC motors. First of all,
they cannot run freely by themselves. Stepper motors do as their name suggests -- they
"step" a little bit at a time. Stepper motors also differ from DC motors in their torque-speed
relationship. DC motors generally are not very good at producing high torque at low
speeds, without the aid of a gearing mechanism. Stepper motors, on the other hand, work
in the opposite manner. They produce the highest torque at low speeds. Stepper motors
also have another characteristic, holding torque, which is not present in DC motors.
Holding torque allows a stepper motor to hold its position firmly when not turning. This can
be useful for applications where the motor may be starting and stopping, while the force
acting against the motor remains present. This eliminates the need for a mechanical brake
mechanism. Steppers don't simply respond to a clock signal, they have several windings
which need to be energized in the correct sequence before the motor's shaft will rotate.
Reversing the order of the sequence will cause the motor to rotate the other way. If the
control signals are not sent in the correct order, the motor will not turn properly. It may
simply buzz and not move, or it may actually turn, but in a rough or jerky manner. A circuit
which is responsible for converting step and direction signals into winding energisation
patterns is called a translator. Most stepper motor control systems include a driver in
addition to the translator, to handle the current drawn by the motor's windings.
Common Characteristics
6. Stepper motors are not just rated by voltage. The following elements characterize a
given stepper motor:
6.1 Voltage
Stepper motors usually have a voltage rating. This is either printed directly on the
unit, or is specified in the motor's datasheet. Exceeding the rated voltage is sometimes
necessary to obtain the desired torque from a given motor, but doing so may produce
excessive heat and/or shorten the life of the motor.
FTP/O148-SSCL229/14 9
ATTITUDE CONTROL OF SOLAR PANEL
6.2 Resistance
Resistance-per-winding is another characteristic of a stepper motor. This resistance
will determine current draw of the motor, as well as affect the motor's torque curve and
maximum operating speed.
FTP/O148-SSCL229/14 10
ATTITUDE CONTROL OF SOLAR PANEL
tapped windings and feed them +MV (Motor voltage). The driver circuit would then ground
each winding to energize it. Unipolar stepper motors generally have six leads, in two
triplets, each triplet powering one coil with a center tap. Sometimes we'll find a unipolar
stepper with only five leads. Here the two "common" leads (center taps) have been tied
together internally.
(b) Often unipolar motors are controlled by using the center taps as a common
point (cathode or anode), and then just switching drive voltage from one end of the given
coil to the other (to reverse coil polarity). If you have no data on a given unipolar motor,
you will need to work a bit to find which leads correspond to each winding. Using an
ohmmeter, look for pairs of leads with equal resistance between them -- the common of
each triplet will have equal resistance to two other leads and high (essentially infinite)
resistance to all the leads in the other triplet.
FTP/O148-SSCL229/14 11
ATTITUDE CONTROL OF SOLAR PANEL
HARDWARE SETUP
Stepper motor
8. The stepper motor set up consists of a 2kg torque stepper, a 0804 ADC, 8051
microcontroller and the stepper motor driver circuitry comprising of four IRFZ 44N
MOSFETs. The analog output of the solar panel is converted into its corresponding digital
value and fed to the 8051 microcontroller. The microcontroller processes these inputs as
per the written code and sends out the appropriate sequence to the driver circuitry to either
step up or step down the motor. Depending on whether the output is high or low the
MOSFETs are either turned ON or OFF.
Solar panel
9. The solar panel setup consists of the solar panel, a charge controller and a dark
activated relay. The output from the panel is fed to the battery through a charge controller
which charges a 12V 7 AH battery at constant voltage of 14.2V. The sensing circuit is an
LDR based one, which biases a transistor between saturation and cut-off, thereby
providing switching action between load and charging.
FTP/O148-SSCL229/14 12
ATTITUDE CONTROL OF SOLAR PANEL
FTP/O148-SSCL229/14 13
ATTITUDE CONTROL OF SOLAR PANEL
FUTURE SCOPE
2. A visual aid, in the form of an LCD display may be interfaced, for monitoring of
various parameters.
FTP/O148-SSCL229/14 14
ATTITUDE CONTROL OF SOLAR PANEL
CONCLUSION
1. With the world facing an impending danger of acute energy crisis, renewable
sources of energy are providing a much needed alternative.
FTP/O148-SSCL229/14 15
ATTITUDE CONTROL OF SOLAR PANEL
APPENDIX A
Microcontroller Code
#include <at89x52.H>
#include <intrins.h>
#include <stdio.h>
#define RD P3_4
#define WR P3_6
#define INTR P3_5
#define LIM_LO P0_0
#define LIM_HI P0_1
FTP/O148-SSCL229/14 16
ATTITUDE CONTROL OF SOLAR PANEL
unsigned int i;
for (i=0; i< n ; i++)
time1ms();
}
void myputchar(char c)
{
while(!TI);
TI=0;
SBUF = c;
}
void Read_ADC()
{
unsigned int i=0;
unsigned long TmpVal=0;
TmpVal=0;
for(i=0;i<1000;i++){
WR = 0;
_nop_();
WR = 1;
while(INTR);
RD = 0;
_nop_();
TmpVal += P1;
RD = 1;
}
FTP/O148-SSCL229/14 17
ATTITUDE CONTROL OF SOLAR PANEL
Val = TmpVal/1000;
myputchar(Val);
}
void Step_Forward(void)
{
j=(j+1)&3;
P2=F_Step[j];
delay_ms(200);
}
void Step_Reverse(void)
{
j=(j-1)&3;
P2=F_Step[j];
delay_ms(200);
}
void Home_Pos(void)
{
unsigned char i=0;
FTP/O148-SSCL229/14 18
ATTITUDE CONTROL OF SOLAR PANEL
}
Read_ADC();
do{
if(Val > Old_Val)
Old_Val = Val;
Step_Forward();
Read_ADC();
}while(Val >= (Old_Val-1) && LIM_HI);
Step_Reverse();
}
void main()
{
unsigned int i=0;
unsigned long TmpVal=0;
delay_ms(500);
Home_Pos();
while(1)
FTP/O148-SSCL229/14 19
ATTITUDE CONTROL OF SOLAR PANEL
{
for(i=0;i<60;i++)
delay_ms(60000);
do{
if(Val > Old_Val)
Old_Val = Val;
Step_Forward();
Read_ADC();
FTP/O148-SSCL229/14 20
ATTITUDE CONTROL OF SOLAR PANEL
FTP/O148-SSCL229/14 21