Documente Academic
Documente Profesional
Documente Cultură
AN54121
Author: Anshul Gulati and Srinivas NVNS
Associated Project: No
Associated Part Family: CY8CLED0xD/G0x
Software Version: PSoC Designer™ 5.0
Associated Application Notes: None
[+] Feedback
AN54121
[+] Feedback
AN54121
[+] Feedback
AN54121
[+] Feedback
AN54121
[+] Feedback
AN54121
[+] Feedback
AN54121
PowerPSoC pin connections are shown in Figure 4 on page In the dusk to dawn option, the load automatically connects
5. The nets Iin_CSx and BAT_CSx show current feedback to the battery when the solar panel voltage drops below a
taken from the panel and the battery from the power train certain voltage, indicating sunset or dark conditions. The
circuit. Pins P0.3 and P0.5 monitor battery and panel charge controller disconnects the load from the battery and
voltages respectively. starts charging the battery when the panel voltage reaches a
certain voltage, indicating bright and sunny conditions.
The six PowerPSoC pins with ‘SREG’ in the pin name
belong to the 5V built-in switching regulator within the In the second option, the load remains enabled all the time,
PowerPSoC. This regulator is used to power the irrespective of whether the battery is being charged or not.
PowerPSoC and other devices on the board. In both cases, the battery low voltage disconnect function is
LED600, LED603, and LED604 indicate current operating active and disconnects the load from the battery when the
status and fault conditions that may arise during normal voltage is below 10.8V. This helps to prevent the battery
operating conditions. from deep discharge and improves battery life.
Status Indication
The PowerPSoC indicates operation status using LEDs. The LEDs indicate the battery-charging mode and the board fault
status. The following table lists conditions indicated by the status LEDs. Figure 6 on page 9 shows the LEDs labels.
Table 2. Status Indication
Battery over voltage Battery voltage greater than LED1/LED600* 4 seconds on/1
15V second off
Battery under voltage disconnect Battery voltage less than LED2/LED603* Always on
10.8V
Battery reverse indication Battery terminals connected LED3/LED402* Always on
reverse
Solar panel reverse indication Solar panel terminals LED4/LED401* Always on
connected reverse
Solar panel connected; Battery not connected Battery is not connected LED5/LED604* 0.1 second on/0.1
second off
Trickle charge mode (constant voltage) Float voltage mode LED5/LED604* Always on
[+] Feedback
AN54121
[+] Feedback
AN54121
PowerPSoC
LED1
LED2
LED3
LED4
LED5
RESET
[+] Feedback
AN54121
Bulk charge
Absorption
Float
Equalize
Bulk Charge
This is the first stage. During this stage, the battery is in a
low charge state, typically 10%. Therefore, 100% of the
available solar power is used to charge the battery. Firmware Overview
Absorption The firmware for the MPPT charge controller is developed
using a state diagram. The different states are explained
At the end of bulk charge, the battery charge is around 70%, below.
after which the charge controller changes to an absorption
(constant voltage) mode. It charges at a constant voltage Initialization State
and the battery is allowed to take the maximum possible
current. The constant voltage regulation prevents In this state, all user modules of the PowerPSoC are
overheating and excessive battery out-gassing. initialized.
[+] Feedback
AN54121
[+] Feedback
AN54121
[+] Feedback
AN54121
[+] Feedback
AN54121
Document History
Document Title: Implementation of MPPT Solar Charge Controller with PowerPSoC®
Document Number: 001-54121
Revision ECN Orig. of Submission Description of Change
Change Date
** 2722473 GULA/SNVN 06/23/09 New application note
PSoC and PowerPSoC are registered trademarks and PrISM is a trademark of Cypress Semiconductor Corp. All other trademarks or
registered trademarks referenced herein are the property of their respective owners.
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone: 408-943-2600
Fax: 408-943-4730
http://www.cypress.com/
© Cypress Semiconductor Corporation, 2009. The information contained herein is subject to change without notice. Cypress Semiconductor
Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any
license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or
safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as
critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The
inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies
Cypress against all charges.
This Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide
patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a
personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative
works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress
integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source
Code except as specified above is prohibited without the express written permission of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the
right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or
use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a
malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems
application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
[+] Feedback