Digital SMPS book recommendation - Page 1
Forum section: electronics / projects

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: January 01, 2019, 08:31:58 pm
content: Hi,I'm interested to read some text books on the Digital SMPS book subject that would include, buck,boost, fly-back, half and full bridge, forward, LLC ,ZVS,PFC etc... With MCU/DSP inside for the controller.I have some experience using analog parts like the Power Integration parts and TI parts, also I have some experience in using ARM cortex M floating point DSP, I think I lack the knowledge of fixed point DSP too, so a book on that subject would be highly appreciated too.Do you know and recommend a book,website, tutorial out there?

author: ocset
author_rank: Super Contributor
timestamp: January 02, 2019, 11:42:36 am
content: Hi"The Digital Power Supply Revolution" article by Dr Ray Ridley is worth readingi tried to attach it here but its too big at 1.44MB

author: mikeselectricstuff
author_rank: Super Contributor
timestamp: January 02, 2019, 01:13:00 pm
content: Microchip probably have some appnotes as they are targetting psus with some of their MCUs

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: January 03, 2019, 11:35:37 am
content: QuoteThanks, where did you got it? also you can use, dropbox or other upload services to share the file.QuoteI have seen some of them, the problem with them is that they are not in a single place or cover everything from ground up

author: ocset
author_rank: Super Contributor
timestamp: January 03, 2019, 02:04:46 pm
content: ok i uploaded the file herehttps://ufile.io/uz9ph....i downloaded it years ago from ray ridleys site...i think it was called switchingpowermagazine.com

author: coppice
author_rank: Super Contributor
timestamp: January 03, 2019, 02:18:14 pm
content: Quote from: treez on January 03, 2019, 02:04:46 pmThey doesn't say much that's useful. Its basically a sales pitch for their workshops.

author: diyaudio
author_rank: Frequent Contributor
timestamp: January 03, 2019, 04:27:14 pm
content: Quote from: ali_asadzadeh on January 01, 2019, 08:31:58 pmYou need to master analog design theory and the application of it, simulation of analog loops, transfer functions, controller types, signal processing ect..- You will need to study in detail SMPS books from various authors. (see attachment) build models from it, once the mind is developed only then enlightenment will take place.- Build simulation signal models, this you can get from app notes, Ti, Microchip, ST and On Semi (This is fragmented knowledge, decent app notes are floating around)- Prototype!, Prototype!, Prototype!You want a direct path, none exists, not in a single book! its way too much to cover.

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: January 03, 2019, 08:47:52 pm
content: QuoteI agree with coppice, it's like TV commercialsYou need to master analog design theory and the application of it, simulation of analog loops, transfer functions, controller types, signal processing ect..QuoteThanks for the feedback, I think our industry lack some detailed books in this field

author: TimNJ
author_rank: Super Contributor
timestamp: January 03, 2019, 09:30:44 pm
content: Have you designed any of these converters with existing, off-the-shelf controllers?If not, I would start there. It's hard enough to do that, by itself.

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: January 03, 2019, 09:58:20 pm
content: QuoteI have already done these typologies, buck,boost,inverter,flyback,LLC and PFC with the of the shelf parts, mostly from TI and power.

author: TimNJ
author_rank: Super Contributor
timestamp: January 03, 2019, 10:14:35 pm
content: Quote from: ali_asadzadeh on January 03, 2019, 09:58:20 pmSorry, I completely missed you mentioning that above. I think EEVBlog user Blueskull has some experience with designing MCU based SMPS controllers. I wonder if he will drop by this thread with any recommendations.If I was to start designing one, I'd probably try to replicate the functionality of an existing controller, and a simple one to start. I think a datasheet block diagram would be a good place to start. See if you can implement and test each block individually, and then of course the most challenging part, integrate them together. I imagine you could implement most analog functions digitally by sampling and running computations. With that said, I'm not sure how well equipped an MCU really is for the job. There can potentially be lots of parallel operations in a typical switching controller. Most protection features could probably be interrupt driven, I suppose.

author: TimNJ
author_rank: Super Contributor
timestamp: January 03, 2019, 10:23:28 pm
content: Maybe Cypress PSoC is a good match? Lot's of onboard analog/hardware peripherals..

author: camivoss
author_rank: Newbie
timestamp: January 04, 2019, 07:05:55 am
content: Coincidentally doing a similar projectFundamentals of Power Supply Design is a good book to get better acquainted with SMPS control:https://www.amazon.com/gp/product/0998599409/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1If you are looking for a good MCU to do this with, check out Cypress PSoC5. They have a $10 eval board with muxable analog and digital pins. Another route is to get a FPGA with some ADCs attached

author: icpart
author_rank: Regular Contributor
timestamp: January 04, 2019, 11:13:26 am
content: I am also interested in DSMPS but for now I will be stick with classic PWM controllers. My experience with MCUs are little to design some of sort of these Power Supplies. In reality the basic concept to drive any topology DC/DC converter with MCU you will need you very fast MCU like Cortex M4 with DSP functions or dedicated DSP like TI C2000 series. On TI site there is treasure from TI reference designs about that. For example like thathttp://www.ti.com/tool/TIDA-00951Also simplest way to have closed loop to drive some DC/DC converter is to use PI or PID algorithm.Good staring points about books and control loops which must be implement in digital variant are from Christophe Basso:https://www.amazon.com/Christophe-P.-Basso/e/B001IOH604/ref=sr_ntt_srch_lnk_1?qid=1546600046&sr=8-1Another modern solution is to use dedicated digital PWM controller which to be controlled from main MCU. TI have very nice of such controllers:http://www.ti.com/power-management/digital-power/digital-power-isolated-controllers/products.html

author: ocset
author_rank: Super Contributor
timestamp: January 04, 2019, 11:55:29 pm
content: I am sure there is a microchip part which has error amps on it, and PWM comparators, but you can change the switching frequency and/or dead time etc in software....or you can even do the error amp in software if you so wish...i think its PIC7805 or something like that.The Ridley article i posted above actually expalins that "normal" analog pwm controllers for SMPS, do actually behave in a digital manner anyway!

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: January 05, 2019, 05:55:11 am
content: If you have done analog SMPSes (based on actual building blocks like opamps, not based on pre-integrated controller chips), then converting you idea to digital is simple.You just need to know basics of digital signal processing theory, notably Z transformation and its relation with S domain.Of course, you need to know an MCU family with SMPS peripherals (high res PWM, decent ADC, fail safe mechanism, etc.).I go with PSoC, as I usually do, but I also play with other chips, including dsPIC33, Piccolo and Delfino.QuoteThanksblueskull you have kinda godlike talents in here, and I just have done SMPS based on pre-integrated controller chips, so what comes next? any book,app note etc... do you recommend?

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: January 05, 2019, 09:36:43 am
content: QuoteReally thanks

author: ebclr
author_rank: Super Contributor
timestamp: January 05, 2019, 01:18:12 pm
content: A nice collection of magazines on the matterhttps://www.powersystemsdesign.com/library/resources/images/IssuePDF/

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: January 05, 2019, 02:06:23 pm
content: QuoteAre they chinese?

author: ocset
author_rank: Super Contributor
timestamp: January 05, 2019, 03:15:27 pm
content: I think Chrostophe Basso's books are really good on SMPS for you.Also Ray Ridley aswell.There used to be a SMPS consultancy near the stontronics place in reading, UK. Years ago I interviewed there….http://www.convertertechnology.co.uk/uncategorized/driving-the-ev-revolution/…they were into the idea of developing chips which customers could simply interface to via the PC…and you could pick your switching frequency, crossover frequency etc etc…….and it would design a software control loop for you which you could program into the chip, and then you could have that as a configurable smps controller…obviously you couldn’t always get the exact response you wanted….eg if you selected a 200khz crossover and a 100khz switching frequency than it would tell you to start again..But I was under the impression that this tech was “coming soon”

author: TimNJ
author_rank: Super Contributor
timestamp: January 05, 2019, 03:28:18 pm
content: Quote from: ali_asadzadeh on January 05, 2019, 02:06:23 pmIf you want English, scroll down to the bottom of the page for PSDNA (North America). The top two are PSDC (China) and PSDE (Europe).

author: ebclr
author_rank: Super Contributor
timestamp: January 05, 2019, 03:53:24 pm
content: All english

author: ocset
author_rank: Super Contributor
timestamp: January 05, 2019, 04:40:38 pm
content: QuoteThere are 4 pages, only the last page is commercials.The other three pages are essential reading for anyone wanting to go into digital SMPS (unless you already knew it) ...because it tells what it is all about...and tells that "Analog SMPS" is in fact, in may ways, already "Digital SMPS".

author: r0d3z1
author_rank: Regular Contributor
timestamp: April 29, 2019, 12:40:02 pm
content: This is also a well know book for people working on digital control of SMPSDigital Control of High-Frequency Switched-Mode Power Converters - Luca Corradini, Dragan Maksimovic, Paolo Mattavelli, Regan Zane

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: March 27, 2020, 06:54:29 pm
content: It's old, But I have found new intel, so maybe it can be useful and we could bring this topic back to life again.I have foundbiricha.com, They have a software called WDS and it's free for STM32We can do the calculations and loop compensation in software with 2 or 3 pole and zeros for voltage and current controllers, also it can do various topologies , like Buck,boost, Full-bridge, half-bridge etc...I have found them for a few days, and I'm watching some of their videos to understand it,But I think we need some tutorials too.Also I have this app note (AP32319: Synchronous buck converter with XMC™ DigitalPower Explorer Kit) from Infineon to design a buck with a cortex M and do the compensation in software with this WDS software, so maybe finally we get something good for real.Any Additional app-notes, tutorials etc... would be very nice,

author: coppice
author_rank: Super Contributor
timestamp: March 27, 2020, 07:04:44 pm
content: Quote from: ali_asadzadeh on March 27, 2020, 06:54:29 pmThe guys behind Biricha have been in digital power design for a long time. The founder used to teach digital power systems at Reading University in the UK. He's a nice guy. Biricha used to be based in Reading. Now they appear to be based in Ontario.

author: jbb
author_rank: Super Contributor
timestamp: March 27, 2020, 09:17:27 pm
content: I can’t comment too much on the nitty-gritty loop compensation details (I’m rusty), but I can make some comments around practical implementation (I remember that better).- getting your ADC sampling right is critical- Derivative terms are effectively zeros in the frequency domain and can increase noise sensitivity. Especially if some noise has intruded into your ADC sampling system- there may well be a lot of housekeeping to take care of, such as soft start, safe shutdown etc. The actual ‘control loop’ code is often the easy bit- overcurrent / overvoltage protection should be tested FIRST- printf statements for debugging do NOT belong in the critical loop control code- neither does any kind of heap memory allocation- test your PWM module configuration carefully. Strange things sometimes happen near 0% or 100% duty (especially if using floating point control and rounding to a duty cycle)- anti-windup limits may be required on integratorsAnd probably more I’ve forgotten.

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: March 28, 2020, 09:08:58 am
content: QuoteThey say you should not use a PID controller!I think they have covered many things much! But there is no detailed schematics in the app-notes or in biricha,I know we have a ton of ways to measure currents, But I want to know which way do you suggest? for example for the buck converter. if we could master this design methodology we can build several buck converters using only a MCU, or maybe a multi-phase one!

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: March 30, 2020, 08:56:19 am
content: Now I'm reading trough Microchip website, they have some tutorials on their website too, as I read more, I realize that we need better controllers, something with enhanced PWM,fast ADC and internal fast comparators, we have lot's of options, General ARM cortex M cores from ST,NXP,etc... or use of SDC products like dsPIC or MC56F84xxx from NXP. I want to know what Chinese manufacturers has to offer? or do we have a Chinese ARM cortex or RISC-V core with enhanced PWM under 1$.what options do we have for sub 1$ products? do you have favorite parts for doing this?