The Godfather talking
You may crack software. How about me?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 18, 2024, 07:37:44 19:37


Login with username, password and session length


Pages: [1]
Print
Author Topic: Controlling DC/DC from microcontroller  (Read 3253 times)
0 Members and 1 Guest are viewing this topic.
mare69
Junior Member
**
Offline Offline

Posts: 89

Thank You
-Given: 50
-Receive: 85



WWW
« on: September 18, 2015, 11:26:18 23:26 »

Is is a good idea to put microcontroller in the DC/DC feedback ?

I was thinking to play with one small cortex M0 with ADC, PWM timer and DAC adjustable voltage comparator. The freescale kinetis "E" series (5V tolerant cortex M0, 12bit ADC) in easy solderable SO package is best fit.

What I would like to gain with such approach is flexibile and cheap programmable DC/DC, either boost or buck (not both at the same time) for supplying smaller loads with possibility to play with feedback regulation within software. Typically a load would be some small circuit or LED, supplied from single Li-xx cell.

Has anyone done such (hopefully not stupid) thing? Any thoughts / suggestion?

Thanks!

M.
Logged
robotai
Junior Member
**
Offline Offline

Posts: 60

Thank You
-Given: 27
-Receive: 23


« Reply #1 on: September 19, 2015, 04:47:03 04:47 »

It should be workable to use MCU to drive DC/DC circuit. However, I think pure DC/DC controller chip should be much cheaper and easy to use.

Here is a reference on Microchip website similar to what you want.
http://ww1.microchip.com/downloads/en/AppNotes/00216a.pdf
Logged
bigtoy
Active Member
***
Offline Offline

Posts: 238

Thank You
-Given: 322
-Receive: 297


« Reply #2 on: September 19, 2015, 03:59:19 15:59 »

Yes, you absolutely can do this. This is exactly how bigger DC-DC converters are commonly made these days. (By bigger I mean multi-kW.) Writing the s/w is not trivial, in that it's important to loop as quickly as possible - this determines your response time to changes in the line or load. If your goal is to become a power electronics engineer, this would be an excellent starting / learning point.
Logged
Gallymimu
Hero Member
*****
Offline Offline

Posts: 704

Thank You
-Given: 151
-Receive: 214


« Reply #3 on: September 20, 2015, 06:16:18 06:16 »

Microchip 16F1xxx are designed to do this.  They have core independent peripherals which will run a SMPS control without any software.  (PWM, Comparator to gate the falling edge, opamp for current sense).  It's really cool and easy.  Pulse by pulse current mode control with almost no effort.
Logged
StackPointer
Inactive

Offline Offline

Posts: 5

Thank You
-Given: 4
-Receive: 2


« Reply #4 on: September 20, 2015, 01:04:13 13:04 »

From atmel side you can use At90 PWM series and few other MCUs from mega and tiny family, and of course ATXMega series. Few years ago I successfully built low power buck DC-DC converter based MPPT solar charger using Attiny861 (with 4.8W solar panel). It is decent low power chip that has advanced 8/10bit timer1 with three independent PWM outputs each with complementary output and common dead time generator. Timer can be run from 64MHz PLL which can provide 1MHz PWM with 6bit resolution down to 62.5KHz PWM with full 10bit resolution. MCU monitored input and output current and voltage, and run incremental conductance algorithm for MPPT and PID algorithm for regulating battery charging voltage.
« Last Edit: September 20, 2015, 01:08:29 13:08 by StackPointer » Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC