Solar Energy Generator System Design
Solar Energy Generator System Design
Solar Energy Generator System Design
!
!
!
!
!
!
Solar Energy Generator System Design
Nathaniel VerLee!
August 20th, 2014!
!
!
Solar Energy Generator System Design
!
1.0 Introduction
!
The solar energy generator has a buck boost topology DC-DC converter that can either step up
or step down the output voltage from the input voltage, which allows the system to operate at
the panels peak efficiency known as the maximum power point. The maximum power point is
tracked using a current and voltage sensor by periodically changing the input to output voltage
relationship of the DC-DC converter and measuring the corresponding changes in output power
the sensors. In addition to implementing Maximum Power Point Tracking, the buck boost
topology allows the battery operating voltage range to be either higher, lower, or both relative to
the panel input voltage depending on the solar panels used. When configured properly it can be
used to harness the energy of panels up to 500W in capacity. Batteries used can be anywhere
from 100 watt hours to a few kilo-watt hours in capacity, and the initial target battery chemistry is
lithium iron phosphate due to its high cycle life and increased safety over traditional lithium cells.
Other chemistry such as lead acid will also be supported in the future. The generator is
composed of the following circuit blocks: a buck boost DC-DC converter, a battery current
sensor, a load current sensor, a battery voltage sensor, gate drivers for the converter, a C2000
micro controller, 12V, 5V, 3.3V and 1.8V rails, and a load switch.!
!
A load switch is critical to protecting the battery from over discharge and short circuit. The load
switch opens and disconnects the load if either of these conditions should occur. Currently, this
portion of the system is not fully defined and may be implemented either with relays or
MOSFETs as the switch. Each of the two load switches should be able to handle at least 10A,
and more may be potentially be added externally.!
!
A Texas Instruments C2000 TMS320F28035 has been selected for the final design of the
project, but in the prototyping stage a TMS320F28027 is being used as it is available in a pre
made "launchpad" platform from TI, which includes the necessary debugging and programming
interface as well as 5V and 3.3V supplies. The C2000 microcontroller was selected because it
has many features designed for digital power applications, and configuring it to drive the buck
boost converter is not only easy, but powerful, allowing multiple converters to be driven in a
phase relationship, and allowing for fast shut down of the converter stage in the event of a
dangerous transient event. In the final single-PCB solution, a buck converter will be connected
to both the panel input and the battery via a diode or, which will source power from the higher of
the two voltages. This 5V rail will then supply power for a 12V rail (boost) for the FET gate
drivers and the 3.3V and 1.8V rails for the micro, sensor circuits, display, and various other
circuits.!
!
Finally, the generator will include a simple character display, buttons and an encoder wheel to
configures various system settings such as battery float voltage, power limiting, a shutdown load
timer, display system power output, and allow for future information and configuration features. I
selected an OLED display from Adafruit for its high contrast and bold appearance.!
!
In the current stage of development the separate sensor board, power stage board and the
C2000 development board are all connected to each other in a manner very similar to the
configuration of the final completed PCB. Some features are not currently available such as the
load switches and the supply rails. Much of the last two months of development has been
teaching myself to code for the C2000 platforms. The next stages of development will include
finalizing the proof of concept with separate interconnected PCBs, finishing work on the final
Solar Energy Generator System Design
PCB, measuring the performance of the prototype with instruments and searching for possible
improvements, and creating in depth documentation of the project. !
!
1.1 Table of Contents
!
1.0 Introduction!
1.1 Table of Contents!
1.2 Target applications!
1.3 Example application!
1.4 List of device features!
!
2.0 System specifications!
2.1 Final PCB overview!
2.2 Connection description list!
2.3 Electrical Specifications!
2.4 Serial communication functions!
!
3.0 Prototype Hardware!
3.1 Buck-Boost Power stage!
3.2 Voltage Measurement!
3.3 Current Measurement!
3.4 Prototype Hardware Setup!
!
4.0 Buck-Boost power stage schematic!
4.1 Voltage Sensor Schematic!
!
!
!
!
!
!
!
!
!
!
!
Solar Energy Generator System Design
!
!
Solar Energy Generator System Design
!
Solar Energy Generator System Design
Panel Input These terminals accept down to a 12 gauge wire connection for a solar
panel up to 500W. Connection to a panel under sunlight with at least 200mA
of available current drive at at least 15V will allow the harvester to power
up.
Battery Positive and negative connection terminals for the battery. The solar energy
generator accepts a lead acid or lithium iron phosphate battery connection
with cell voltage configurations between 12 and 36V.
Load 1 Positive and negative connections for a load of up to 10A. This load switch
is overcurrent and short circuit protected and can be turned off and on from
the interface.
Load 2 Positive and negative connections for a load of up to 10A. This load switch
is overcurrent and short circuit protected and can be turned off and on from
the interface.
Temp Sensor Battery temperature connections for an LM65 temperature sensor. This
sensor determines if the battery is within the appropriate temperature range
and shuts down charging and loads if the battery becomes overheated.
Display SPI connection for the OLED display. This display allows the user to
configure the system and monitor current, voltage and power during charge
and discharge cycles
I2C I2C interface used for future expansion options such as additional sensors
or battery balance board.
SPI/SCI SPI interface used for communicating with the generator and querying it for
information.
GPIO Used for future expansion options such as additional sensors or battery
balance board.
Solar Energy Generator System Design
!
!
!
Solar Energy Generator System Design
Get Status Read Returns status of the system, ex "charging", "discharging", "fault"
Get Load Read Returns vales to indicate which loads are enabled and which are
Stat disabled
Enable Write Enables or disables battery charging. System must be disabled in order
to configure battery chemistry, float voltage, charge current, etc.
Get PV Read Returns average panel voltage over the last second
Get PI Read Returns average panel current over the last second
Get PP Read Returns average panel power over the last second
Get BV Read Returns average battery voltage over the last second
Get BI Read Returns average battery current over the last second
Get SOC Read Returns the state of charge of the battery as an integer between 0 and
100 symbolic of battery percentage estimate
!
!
!
!
Solar Energy Generator System Design
!
!
3.2 Voltage Measurement
Voltage measurement is accomplished by a differential voltage circuit that allows for
high impedance sense lines to both the high voltage and ground point that is being
measured. When high currents are present in the power stage, the voltage drop
associated with this high current would cause errors in the voltage measurement if the
voltage sensor was not differential. After going through a low pass filter, the output of
the difference amplifier, which has a 1/20 gain, may be multiplied by a second amplifier
with a gain of 2. This allows the board to have two effective ranges with a 3.3V supply of
either 30V or 60V. !
!
!
!
!
3.3 Current Measurement
Current measurement is performed by an Allegro Hall effect sensor. The output of the
sensor goes through a low pass filter and a buffer. The sensor has a range of +/-20A. !
!
!
Solar Energy Generator System Design
!
!
!
!
Solar Energy Generator System Design