View Single Post
Old 11-23-2009, 03:54 AM   #74 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,362
Thanked 1,202 Times in 765 Posts
haha! Yes, happy thanksgiving! I can't wait to eat tons and tons!

I am making excellent progress on the software. I've got all 6 PWMs working, in complementary mode, so that when 1 is on, the other is off. 3 pairs like that. That's perfect for synchronous rectification too, by the way! I even programmed in some dead time to prevent shoot-through (like a short circuit). I'm half way done with programming the A/D inputs. I have it set so that 4 A/D samples happen at the exact same time! This chip is freakin awesome!

I also learned about 1.15 fractional format for decimals today. The A/D converter can put the result in fractional format (sort of like floating point). That's the option I chose. It stores the number from -1 to 1, with several decimal digits of accuracy! hehe.

I programmed the timer to run at 10 kHz, but that's not set in stone. I want to optimize it for the used IGBTs on Ebay which are slower.
__________________
kits and boards
  Reply With Quote