Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Microcontroller based Lead acid battery charger

Status
Not open for further replies.

--BawA--

Advanced Member level 1
Joined
Nov 28, 2012
Messages
479
Helped
43
Reputation
86
Reaction score
42
Trophy points
1,318
Location
Noida, INDIA
Activity points
4,926
Hi
I am designing a Microcontroller based battery charger. The specifications are

Topology: Forward converter (RCD clamp)
Input voltage : 125 V to 260 V
Output Voltage : 14.2
Frequency : 100KHz
Output power : 150 Watts

Microcontroller will be monitoring current and voltage of the battery and will adjust the duty cycle accordingly. Now i have confusion related to sensing the current and voltage, What should be the sampling rate for sensing current and voltage? and how to calculate it?
 

The easiest way is to set the current by using the micro to input a reference voltage into the error amplifier which sets the charge current.
Sample rate is for if you are actually using the micro to do the error amplifier, which is much more difiicult in code.
 

Dear treez
i will set a PI controller in my microcontroller to generate the dutycycle. I'll measure the current going to the battery using ADC and then i'll compare that value to reference current value to calculate the error. Now my question is at what rate should i trigger ADC to take the sample current if my pwm frequency is 100KHz ?
 

well there is no point doing it any faster than 100khz.
As long as you have analog overcurrent protection, you can do the sampling at some very low frequency if you want, say a couple of 100 hertz.
Though if you slowly give it a software soft start, and you have the fast analog overcurrent protection, then you can sample at slower than that if you want.....a battery isn't exactly a transient load.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top