Download - Mobile Power Station (Phase 2)
![Page 1: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/1.jpg)
Team: May 12-03
Team member: Avinav Verma, Dixiao Jiang, MengQian Ding
Advisor: Aymen Fayed
Client : Powerfilm . Inc
Mobile Power Station (Phase 2)
![Page 2: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/2.jpg)
What’s mobile power station?
![Page 3: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/3.jpg)
Li-ion Charging Cycle
Li-ion battery charging cycle includes three phases: trickle, constant current, and constant voltage. The charging cycles must be strictly followed to prevent battery pack overcharge and fire.
![Page 4: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/4.jpg)
Concept sketch
![Page 5: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/5.jpg)
The flow chart of the project
![Page 6: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/6.jpg)
Functional requirement1. We would like to upgrade it to a more powerful
processor that will have a higher operating frequency, more flash memory, and more integrated ADCs to enable sensing more signals in the system.
2. The other thing we need to consider is track the max point voltage accurately. The MPPT algorithm needs to be improved to avoid being stuck in local maxima.
3. Make high side current sensor more accurate 4. Send data to from microcontroller to computer so we
can monitor charging state
![Page 7: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/7.jpg)
Component Estimate cost
Resistor, capacitor, inductor, diode, voltage regulator
$16
PCB board $30
High side amplifier(LT 1636) $1.5
Microcontroller (Msp430f5152) $1.5
Solar panel (power film foldable charger) $ 80
Battery (Tenargy 5000) $67
Total cost $196
Cost for our product
![Page 8: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/8.jpg)
Microprocessor According to the previous project, the MSP430f2013 MCU, which runs at 16MHz with 2kB of flash memory and 4 -16bit ADCs has good performance, however, we want a higher performance microprocessor in our project. The requirements of new microprocessor are: a. higher operating frequency b. more flash memory c. more integrated ADCs to enable sensing more signals
Design
![Page 9: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/9.jpg)
Microprocessor cont.
Comparison between MCUs:
Flash (KB) ADC ADC Channels Numeric Price Freq. (MHz)
![Page 10: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/10.jpg)
dP - O&P algorithm (This year) Whey we chose this method ?
• It is a improved method of O&P method
• It does not track wrong direction under rapid change in atmosphere
MPPT algorithms
![Page 11: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/11.jpg)
Buck converter
To maximize efficiency we used the following equations to calculate ripple current and ripple voltage.
= switching period Ripple Current: d = duty cycle Ripple Voltage:
![Page 12: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/12.jpg)
The customer says: We were able to read currents obviously, but as some times we could be as far off as 100mA or more which is not very acceptable for a finished product…….We would like to get accuracy better than 10mA-50mA, this may require some tuning.
High current sensor
![Page 13: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/13.jpg)
We think the problem is offset voltage of op amp.
Then we analysis the circuit including VOS of amp.
increase Rs can dramatically reduce current sensor error
![Page 14: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/14.jpg)
We want to send data from MSP430 Target board to computer, so we can reflect our microcontroller’s data on GUI. With this data, we can check our C code program and monitor our circuit.
Communication board
popular solution is to connect the UART of the MSP430 to a USB to UART converter such as the FT232RL and FT2232 from FTDICHIP.
![Page 15: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/15.jpg)
PCB board
Implementation/ Testing
![Page 16: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/16.jpg)
Buck_Control and MPPT test
Code
![Page 17: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/17.jpg)
/* * buck_control.c * * Created on: 2012-2-9 * Author: dxjiang */ #include "msp430f5172.h" #include "PWM.h" //char pwm_limit1=0; void buck_control (unsigned int
measurement, unsigned int desired){ signed int delta = measurement -
desired; if(delta>0) pwm(0,2); //buck voltage too
high; else if(delta<0) pwm(0,2); // buck
voltage too low //else pwm_limit1=0; buck voltage right on __delay_cycles(10); //give buck converter
time to settle }
void mppt(void) {solar_voltage1 = ADC(1);solar_current1 = ADC(2);pwm(0,1); //back 1/2 Tsolar_voltage2 = ADC(1);solar_current2 = ADC(2);pwm(1,2); //forward Tsolar_voltage3 = ADC(1);solar_current3 = ADC(2); power_0 = (long)solar_voltage1 * solar_current1; //current powerpower_1 = (long)solar_voltage2 * solar_current2; //previous 1/2T powerpower_2 = (long)solar_voltage3 * solar_current3; //forward 1/2T powerdP = (long)2*power_0 - power_1-power_2; if(dP==0){
pwm(0,0);} else {
if(dP>0){ if(solar_voltage3 > solar_voltage2){ pwm(1,2); //increase T's voltage } else{
pwm(0,2); //decrease T's voltage
}}else{ //dP<0;
if(solar_voltage3 > solar_voltage2){ pwm(0,2); //decrease T's voltage } else{
pwm(0,2); //increase T's voltage
}}
} }
![Page 18: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/18.jpg)
Transmit data test
![Page 19: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/19.jpg)
we can see data transmit from microcontroller to computer. However, after some good data, there is some garbage signal. We think that’s due to the noise of the MSP430. So we decide to close the pin after the data transmitted. If we want to transmit again, then reopen the pin. In this way, the noise is significant reduced.
![Page 20: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/20.jpg)
To test the circuit, we use Tenergy high discharge Li polymer battery as the target battery to charge. We use TI bq20Z70 with EV2300 to monitor the battery charging.
Battery and Battery Monitor
![Page 21: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/21.jpg)
Final circuit test:
![Page 22: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/22.jpg)
If you don’t have any idea on how to use a software, check Youtube.
Google the error, there always people have same problem as you.
Ask as many people as you can when you stuck somewhere. There are always someone can help you.
Make PCB board as early as possible
Lessons learned
![Page 23: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/23.jpg)
Make a interface that is easier to check the data send to computer
Using Li-Ion Phosphate battery instead of traditional Li-Ion
Figure out why EVM can’t send battery data to computer
Future work
![Page 24: Mobile Power Station (Phase 2)](https://reader036.vdocuments.us/reader036/viewer/2022081505/568164fd550346895dd76874/html5/thumbnails/24.jpg)
Question?