Академический Документы
Профессиональный Документы
Культура Документы
SYNOPSIS
1. INTRODUCTION
2. BLOCK DIAGRAM
4. CIRCUIT DIAGRAM
7. WORKING PRINCIPLE
8. COMPONENTS DESCRIPTION
9. ADVANTAGES
10. APPLICATIONS
11. PROGRAM
12. CONCLUSION
13. BIBLIOGRAPHY
INTRODUCTION
INTRODUCTION
Energy is the primary and most universal measure of all kinds of work by
human beings and nature. Primarily, it is the gift of the nature to the mankind in
various forms. The consumption of the energy is directly proportional to the progress
of the mankind. With ever growing population, improvement in the living standard of
the humanity, industrialization of the developing countries, the global demand for
energy increases day by day.
The primary source of energy is fossil fuel, however the finiteness of fossil fuel
resources and large scale environmental degradation caused by their widespread use,
particularly global warming, urban air pollution and acid rain, strongly suggests that
harnessing of non-conventional, renewal and environmental friendly
Solar powered lighting systems are already available in rural as well as urban
areas. These include solar lanterns, solar home lightning system, solar street lights,
solar garden lights and solar power packs. All of them consist of four components;
solar photovoltaic module, rechargeable battery, solar charge controller and load.
In the solar powered lightning systems, the solar charge controller plays an
important role as the systems overall success depends mainly on it. It is considered as
an indispensible link between the solar panel, battery and load.
BLOCK
DIAGRAM
BLOCK DIAGRAM
MICROCONTROLLER
It is the major part of the system. The microcontroller controls all the
operations. The solar panel is aligned according to the intensity of sunlight under the
control of the microcontroller.
SENSOR
The system consists of two sensors, each composed of LDR. One unit is made
up of four LDRs. These are placed at the four corners of the solar panel. The intensity
of sunlight is sensed by the LDR and the output is sent to the controller. The control
unit analyzes it and decides the direction in which the panel has to be rotated, so that it
gets maximum intensity of light.
The other unit of sensor is also composed of LDRs which is meant for the
control of a lighting load.
STEPPER MOTOR
SOLAR PANEL
Solar panel is used for the conversion of solar energy directly into electricity. It
is composed of photo voltaic cells, which convert solar energy into electrical energy.
CHARGE CONTROL
It is meant to control the charging of battery. It sends the status of battery to the
microcontroller unit.
BATTERY
It is for the storage of energy received from the panel. A rechargeable battery is
normally employed for this purpose.
LOAD CONTROL
Load control is meant for the control of the load. It receives control signals
from the controller and controls the load.
LOAD
Different types of load can be controlled as per the requirements. Here a load
for lighting purpose is controlled.
CIRCUIT
DIAGRAM
CIRCUIT DIAGRAM
BACKGROUND
As the range of applications for solar energy increases, so does the need for
improved materials and methods used to harness this power source. There are several
factors that affect the efficiency of the collection process. Major influences on overall
efficiency include solar cell efficiency, intensity of source radiation and storage
techniques. The materials used in solar cell manufacturing limit the efficiency of a
solar cell. This makes it particularly difficult to make considerable improvements in
the performance of the cell, and hence restricts the efficiency of the overall collection
process. Therefore, the most attainable method of improving the performance of solar
power collection is to increase the mean intensity of radiation received from the
source.
Each day, the sun rises in the east, moves across the sky, and sets in the west.
Whenever the sun is shining on us, it is sending energy in our direction. If there is a
solar cell to turn and look at the sun all day, then it would be receiving the maximum
amount of sunlight possible and converting it into the more useful energy form
electricity. It is seen that the sun appears to follow a path that is nearly directly
overhead. However, for locations north or south of the tropics (e.g., latitudes greater
than 23.5 degrees), the sun never reaches a position that is directly overhead. Instead,
it follows a path across the southern or the northern part of the sky.
However, when the sun moves across the sky and is not in proper alignment
with the photo sensor, then a motor moves the frame until the photo sensor is in the
sun once more. This could have the effect of keeping the solar cell facing the sun as it
moves across the required human attention. The solar tracker system includes a frame
on which a solar cell could be mounted. The frame is to move so that it faces the sun
as it travels across the sky during the day. The frame could be driven by an electric
motor that turns on and off in response to the movement of the sky.
SOLAR ENERGY
One of the most important problems facing the world today is the energy
problem. This problem is resulted from the increase of demand for electrical energy
and high cost of fuel. The solution was in finding another renewable energy sources
such as solar energy, wind energy, potential energy...etc. Nowadays, solar energy has
been widely used in our life, and it's expected to grow up in the next years.
1. Need no fuel
5. Easy maintenance
TRACKING TECHNIQUES
There are several forms of tracking currently available; these vary mainly in the
method of implementing the designs. The two general forms of tracking used are fixed
control algorithms and dynamic tracking. The inherent difference between the two
methods is the manner in which the path of the sun is determined. In the fixed control
algorithm systems, the path of the sun is determined by referencing an algorithm that
calculates the position of the sun for each time period. That is, the control system does
not actively find the sun's position but works it out given the current time, day, month,
and year. The dynamic tracking system, on the other hand, actively searches for the
sun's position at any time of day (or night). Common to both forms of tracking is the
control system. This system consists of some method of direction control, such as DC
motors, stepper motors, and servo motors, which are directed by a control circuit,
either digital or analog.
For people living in remote communities, often in third world countries, access
to grid-connected electricity is not always possible. Often the nearest utility is a long
distance from homes and the cost of developing the infrastructure that would allow for
access to the grid is prohibitive.
Remote communities in third world countries are of course not the only ones
that suffer this dilemma. Australia is a large country with many farmers and
communities that are remote from the local grid and in these cases alternative sources
of electrical power must be obtained.
EQUIVALENT CIRCUIT OF SOLAR CELL
Active trackers measure the light intensity from the sun to determine where the
solar modules should be pointing. Light sensors are positioned on the tracker at
various locations or in specially shaped holders. If the sun is not facing the tracker
directly there will be a difference in light intensity on one light sensor compared to
another and this difference can be used to determine in which direction the tracker has
to tilt in order to be facing the sun.
There are many different types of solar tracker which can be grouped into
single axis and double axis models.
Single axis solar trackers can either have a horizontal or a vertical axle. The
horizontal type is used in tropical regions where the sun gets very high at noon, but
the days are short. The vertical type is used in high latitudes (such as in UK) where the
sun does not get very high, but summer days can be very long. These have a manually
adjustable tilt angle of 0 - 45 and automatic tracking of the sun from East to West.
They use the PV modules themselves as light sensor to avoid unnecessary tracking
movement and for reliability. At night the trackers take up a horizontal position.
Double axis solar trackers have both a horizontal and a vertical axle and so can
track the Sun's apparent motion exactly anywhere in the world. This type of system is
used to control astronomical telescopes, and so there is plenty of software available to
automatically predict and track the motion of the sun across the sky. Dual axis trackers
track the sun both East to West and North to South for added power output (approx
40% gain) and convenience.
INTRODUCTION
TO
STEPPER MOTOR
INTRODUCTION TO STEPPER MOTOR
The stepper motor is an electromagnetic device that converts digital pulses into
mechanical shaft rotation. The shaft or spindle of a stepper motor rotates in discrete
step increments when electrical command pulses are applied to it in the proper
sequence. The sequence of the applied pulses is directly related to the direction of
motor shafts rotation. The speed of the motor shafts rotation is directly related to the
frequency of the input pulses and the length of rotation is directly related to the
number of input pulses applied. Many advantages are achieved using this kind of
motors, such as higher simplicity, since no brushes or contacts are present, low cost,
high reliability, high torque at low speeds, and high accuracy of motion. Many
systems with stepper motors need to control the acceleration/ deceleration when
changing the speed.
The two common types of stepper motors are the bipolar motor and the
unipolar motor. The bipolar and unipolar motors are similar, except that the unipolar
has a center tap on each winding. The bipolar motor needs current to be driven in both
directions through the windings, and a full bridge driver is needed .The center tap on
the unipolar motor allows a simpler driving circuit, limiting the current flow to one
direction. The main drawback with the unipolar motor is the limited capability to
energize all windings at any time, resulting in a lower torque compared to the bipolar
motor. The unipolar stepper motor can be used as a bipolar motor by disconnecting the
center tap. In unipolar there are 5 wires. One common wire and four wires to which
power supply has to be given in a serial order to make it drive. Bipolar can have 6
wires and a pair of wires is given supply at a time to drive it in steps.
The wires from the Logic PCB connector to the stepper motor are as follows
It has been seen that out of the five wires two are grouped as common. The
other four are the windings that have to give supply to. Major crux here is to identify
the common line. Just take the multimeter and check the resistance between the wires.
Hold one wire a common and it must bear a resistance of 75 ohms with all the other
wires then that is the common wire.
CONNECTION OF THE CIRCUIT
ADVANTAGES:
2. The motor has full torque at standstill (if the windings are energized)
3. Precise positioning and repeatability of movement since good stepper motors have
an accuracy of 3 5% of a step and this error is non cumulative from one step to the
next.
5. Very reliable since there are no contact brushes in the motor. Therefore, the life of
the motor is simply dependant on the life of the bearing.
6. The motors response to digital input pulses provides open-loop control, making the
motor simpler and less costly to control.
7. It is possible to achieve very low speed synchronous rotation with a load that is
directly coupled to the shaft.
8. A wide range of rotational speeds can be realized as the speed is proportional to the
frequency of the input pulses.
DISADVANTAGES:
This project consists of few sun light sensors and a motorized mechanism for
rotating the panel in the direction of sun. Microcontroller based control system takes
care of sensing sunlight and controlling the motorized mechanism. This system works
continuously without any interruption. The main controlling device of the project is
Microcontroller to which LDRs and stepper motor with panel setup to its shaft are
interfaced. The Microcontroller gets input from LDR sensors regarding the direction
of sun and controller process this information and controls the movement of solar
panel attached to Stepper motor. The system also displays the voltage generated on
LCD display unit. This achieves the goal of tracking sun.
COMPONENTS
DESCRIPTION
COMPONENTS DESCRIPTION
A regulated power supply is very much essential for several electronic devices
due to the semiconductor material employed in them have a fixed rate of current as
well as voltage. The device may get damaged if there is any deviation from the fixed
rate. The AC power supply gets converted into constant DC by this circuit. By the
help of a voltage regulator DC, unregulated output will be fixed to a constant voltage.
The circuit is made up of linear voltage regulator 7805 along with capacitors and
resistors with bridge rectifier made up from diodes. From giving an unchanging
voltage supply to building confident that output reaches uninterrupted to the
appliance, the diodes along with capacitors handle elevated efficient signal conveyor.
Description:
ICs regulator is mainly used in the circuit to maintain the exact voltage which
is followed by the power supply. A regulator is mainly employed with the capacitor
connected in parallel to the input terminal and the output terminal of the IC regulator.
For the checking of gigantic alterations in the input as well as in the output filter,
capacitors are used. While the bypass capacitors are used to check the small period
spikes on the input and output level. Bypass capacitors are mainly of small values that
are used to bypass the small period pulses straightly into the Earth.
Currently we have the circuit for the 5V DC positive regulation and we are also
familiar with the component values used in the circuit. In the table below we have
mentioned the value in detail of all the components used in the circuit of 5V DC
positive regulator.
Fig: 7805 Voltage Regulator Circuit Diagram
Components required
1. Step down transformer (1A, 230V or 110V primary secondary should be your
choice like 6V, 9V etc).
2. Diodes x 4 (1N4001 for low power 1N4007 for moderate power)
Working
The transformer step downs the high voltage AC to a low voltage AC.
During the positive half cycle of secondary voltage, diodes D2 and D3 are
forward biased and diodes D1 and D4 are reverse biased, now the current flows
through D2>Load>D3
During the negative half cycle of the secondary voltage, diodes D1 and D4 are
forward biased and diodes D2 and D3 are reverse biased Now the current flows
through D4>Load>D1
In both the cycles load current flows in same direction, hence we get a
pulsating DC voltage across the points B-B.
The pulsating content are called ripples and a filter capacitor is used to remove
the ripples from pulsating DC.
During the next cycle, when the peak voltage exceeds the capacitor voltage,
diode D2 or D4 forward biases accordingly, as a result capacitor again charges
to the peak value. This process continues. Hence we get almost smooth DC
voltage as shown.
Brown color indicates pulsating DC and Red color is the filtered DC voltage.
Then the filtered voltage is applied to the input of 7805 voltage regulator IC, it
in turn regulates the voltage for line and load fluctuations.
Brown color indicates capacitor output DC and Red color is the regulated 5V DC
from 7805.
Liquid crystal displays (LCDs) have materials, which combine the properties
of both liquids and crystals. Rather than having a melting point, they have a
temperature range within which the molecules are almost as mobile as they would be
in a liquid, but are grouped together in an ordered form similar to a crystal.
An LCD consists of two glass panels, with the liquid crystal material sand
witched in between them. The inner surface of the glass plates are coated with
transparent electrodes which define the character, symbols or patterns to be displayed
polymeric layers are present in between the electrodes and the liquid crystal, which
makes the liquid crystal molecules to maintain a defined orientation angle.
One each polarizes are pasted outside the two glass panels. These polarizes
would rotate the light rays passing through them to a definite angle, in a particular
direction. When the LCD is in the off state, light rays are rotated by the two polarizes
and the liquid crystal, such that the light rays come out of the LCD without any
orientation, and hence the LCD appears transparent.
The LCD does not generate light and so light is needed to read the
display. By using backlighting, reading is possible in the dark. The LCDs have long
life and a wide operating temperature range. Changing the display size or the layout
size is relatively simple which makes the LCDs more customers friendly.
Micro Controller
PIC16F877A MICROCONTROLLER
All single cycle instructions except for program branches which are two cycle
Watchdog Timer (WDT) with its own on-chip RC Oscillator for reliable operation
Programmable code-protection
Low-power consumption:
PERIPHERAL FEATURES:
Timer2: 8-bit timer/counter with 8-bit period register, prescaler and postscaler
Synchronous Serial Port (SSP) with SPI. (Master Mode) and I2C. (Master/Slave)
I/O PORTS:
Some pins for these I/O ports are multiplexed with an alternate function for the
peripheral features on the device. In general, when a peripheral is enabled, that pin
may not be used as a general purpose I/O pin.
The PORTE pins become control inputs for the microprocessor port when bit
PSPMODE (TRISE<4>) is set. In this mode, the user must make sure that the
TRISE<2:0> bits are set (pins are configured as digital inputs). Ensure ADCON1 is
configured for digital I/O. In this mode the input buffers are TTL.
PORTE pins are multiplexed with analog inputs. When selected as an analog
input, these pins will read as '0's. TRISE controls the direction of the RE pins, even
when they are being used as analog inputs. The user must make sure to keep the pins
configured as inputs when using them as analog inputs.
MEMORY ORGANISATION:
There are three memory blocks in each of the PIC16F877 MUCs. The
program memory and Data Memory have separate buses so that concurrent access can
occur.
RP1:RP0 Banks
00 0
01 1
10 2
11 3
Each bank extends up to 7Fh (1238 bytes). The lower locations of each bank
are reserved for the Special Function Registers. Above the Special Function Registers
are General Purpose Registers, implemented as static RAM. All implemented banks
contain special function registers. Some frequently used special function registers
from one bank may be mirrored in another bank for code reduction and quicker
access.
EEPROM:
The data EEPROM and flash program memory are readable and writable
during normal operation over the entire VDD range. A bulk erase operation may not
be issued from user code (which includes removing code protection. The data memory
is not directly mapped in the register file space. Instead it is indirectly addressed
through the special function registers (SFR).
TIMERS
Timer 0
8-bit timer/counter
Readable writable
Interrupt on overflow
Timer 1
It is 16-bit register
Interrupt on overflow
Timer-2
Timer2 is an 8-bit timer with a prescaler and a postscaler. IT can be used as the
PWM Time-base for the PWM mode of the CCP module(s). The TMR2 register is
readable and writable, and is cleared on any device reset.
The input clock (Fosc/4) has a prescale option of 1:1, 1:4 OR 1:16, selected by
control bits.
The timer2 module has an 8-bit period register PR2. Timer2 increments from
00h until it match PR2 and then resets to 00h on the next increment cycle. PR2 is a
readable and writable register. The PR2 register is initialized to FFh upon reset.
ANALOG TO DIGITAL CONVERTER (ADC)
There are two types of analog to digital converter is present in this IC. We use
10-bit ADC. The ADC module can have up to eight analog inputs for a device. The
analog input charges a sample and hold capacitor. The output of sample and hold
capacitor is the input into the converter. The converter then generates a digital result of
this analog level via successive approximation. The A/D conversion of the analog
input signal results in a corresponding10-bit digital number. The A/D module has
high and low voltage reference input that is software selectable to some combination
of VDD, VSS, and RA2 or RA3.
INTERRUPTS
ADDRESSING MODES:
DIRECT ADDRESSING:
INDIRECT ADDRESSING:
The address register for 8-bit addresses can be either the Stack Pointer or R0 or
R1 of the selected register Bank. The address register for 16-bit addresses can be only
the 16-bit data pointer register, DPTR.
INDEXED ADDRESSING:
Program memory can only be accessed via indexed addressing this addressing
mode is intended for reading look-up tables in program memory. A 16 bit base register
(Either DPTR or the Program Counter) points to the base of the table, and the
accumulator is set up with the table entry number. Adding the Accumulator data to the
base pointer forms the address of the table entry in program memory.
REGISTER INSTRUCTION:
The register banks, which contains registers R0 through R7, can be accessed by
instructions whose opcodes carry a 3-bit register specification. Instructions that access
the registers this way make efficient use of code, since this mode eliminates an
address byte. When the instruction is executed, one of four banks is selected at
execution time by the row bank select bits in PSW.
XTAL1 and XTAL2 are the input and output respectively of an inverting
amplifier which is intended for use as a crystal oscillator in the pioerce configuration,
in the frequency range of 1.2 MHz to 12 Mhz. XTAL2 also the input to the internal
clock generator.
To drive the chip with an internal oscillator, one would ground XTAL1 and
XTAL2. Since the input to the clock generator is divide by two filip flop there are no
requirements on the duty cycle of the external oscillator signal. However, minimum
high and low times must be observed.
The clock generator divides the oscillator frequency by 2 and provides a tow
phase clock signal to the chip. The phase 1 signal is active during the first half to each
clock period and the phase 2 signals are active during the second half of each clock
period.
CPU TIMING:
A machine cycle consists of 6 states. Each stare is divided into a phase / half,
during which the phase 1 clock is active and phase 2 half. Arithmetic and Logical
operations take place during phase1 and internal register - to register transfer take
place during phase 2
APPLICATIONS OF MICROCONTROLLERS
1. Industrial Control
2. Instrumentation and
Motor
Robotics
In medical instrumentation
Oscilloscopes
Telecommunication
Automobiles
Driving an LCD
RESET
Reset is used for putting the microcontroller into a 'known' condition. That
practically means that microcontroller can behave rather inaccurately under certain
undesirable conditions. In order to continue its proper functioning it has to be reset,
meaning all registers would be placed in a starting position. Reset is not only used
when microcontroller doesn't behave the way we want it to, but can also be used when
trying out a device as an interrupt in program execution, or to get a microcontroller
ready when loading a program.
SOLAR CELL/PLATE
A solar cell or photovoltaic cell is a device that converts solar energy into
electricity by the photovoltaic effect. Sometimes the term solar cell is reserved for
devices intended specifically to capture energy from sunlight, while the term
photovoltaic cell is used when the source is unspecified. Assemblies of cells are used
to make solar panel, solar modules, or photovoltaic arrays. Photovoltaic is the field of
technology and research related to the application of solar cells for solar energy. Solar
cell efficiencies vary from 6% for amorphous silicon-based solar cells to 40.7% with
multiple junction research lab cells and 42.8% with multiple dies assembled into a
hybrid package. Solar cell energy conversion efficiencies for commercially available
multicrystalline Si solar cells are around 14- 19%. Solar cells can also be applied to
other electronics devices to make it self-power sustainable in the sun. There are solar
cell phone chargers, solar bike light and solar camping lanterns that people can adopt
for daily use.
STEPPER MOTOR
ADVANTAGES
ADVANTAGES
APPLICATIONS
APPLICATIONS
2. This energy can be stored and utilized as backup power supply mainly in industries.
PROGRAM
PROGRAM
#include <16F73.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES XT //Crystal osc <= 4mhz
#FUSES NOPUT //No Power Up Timer
#FUSES NOPROTECT //Code not protected from reading
#FUSES NOBROWNOUT //No brownout reset
#use delay(clock=4000000)
enum ldr
{LDR1=0,LDR2,LDR3,LDR4,V_METER};
void main()
{
unsigned int x,y;
float vltg = 0.0f;
setup_adc_ports(ALL_ANALOG);
setup_adc(ADC_CLOCK_INTERNAL);
lcd_init();
TRISC = 0;
while(TRUE)
{
x = (read_adc_channel(LDR1) + read_adc_channel(LDR2))/2;
y = (read_adc_channel(LDR2) + read_adc_channel(LDR3))/2;
if(x-y < 10 && x-y > -10);
else if(x > y)
{
step_clockwise();
}
else if(x < y)
{
step_anticlockwise();
}
vltg = (float)read_adc_channel(V_METER)*12/(float)255;
vltg += vltg*.048f+0.4f;
printf(lcd_putc,"\fVoltage = %2.2f",vltg);
}
}
void step_anticlockwise()
{
switch(portc.stepper_nibble)
{
case 0:
portc.stepper_nibble = 0x08;
break;
case 1:
portc.stepper_nibble = 0x08;
break;
case 2:
portc.stepper_nibble = 0x01;
break;
case 4:
portc.stepper_nibble = 0x02;
break;
case 8:
portc.stepper_nibble = 0x04;
break;
}
delay_ms(STEP_DELAY);
}
CONCLUSION
CONCLUSION
Thus, the sun tracking system was implemented which is based on PIC
microcontroller. After examining the information obtained in the data analysis section,
it can be said that the proposed sun tracking solar array system is a feasible method of
maximizing the energy received from solar radiation. The controller circuit used to
implement this system has been designed with a minimal number of components and
has been integrated onto a single PCB for simple assembly. The use of stepper motors
enables accurate tracking of the sun while keeping track of the array's current position
in relation to its initial position. The automatic solar radiation tracker is an efficient
system for solar energy collection. It has been shown that the sun tracking systems can
collect about 8% more energy than what a fixed panel system collects and thus high
efficiency is achieved through this tracker. 8% increase in efficiency is not the most
significant figure; it can be more prominent in concentrating type reflectors.
To improve the sun tracking, a standalone sun tracker can be designed using 18
series PIC microcontroller. In 18 series PIC microcontroller, data can be stored
periodically in MMC card .We need not to do it manually (no need of
rotation).Alignment can be varied changing with season. Moreover, concentrating
type collectors are more efficient than flat plate collectors. It can be used to increase
efficiency.
REFERENCES
REFERENCES
www.microchip.com
www.national.com