CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Bit Angle Modulation (BAM) !

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ELCouz



Joined: 18 Jul 2007
Posts: 427
Location: Montreal,Quebec

View user's profile Send private message

Bit Angle Modulation (BAM) !
PostPosted: Thu Feb 07, 2008 2:08 pm     Reply with quote

Dear Members,

Just curious,

Does anyone have successfully used Bit Angle Modulation instead of Pulse Width Modulation with a pic?

Here's a explanation here of what is bam.

48 channel software pwm is difficult to create with a pic , with the BAM method it's very possible and there's many CPU cycles left to do other things...

Here's a short quote from the PDF

Quote:

Benefits:

1. Simple to implement in hardware of software.
2. The drive signal is a multiple of the modulation frequency, thus reducin
potential flicker.
3. Required significantly less processing power compared to PWM. A
microprocessor generating an eight bit resolution PWM signal at 100Hz
will need to process the output every 39uS, a total of 256 times per
output cycle. By comparison a microprocessor generating an eight bit
resolution BFM signal at 100Hz will need to process the output only 8
times at 5000us, 2500us, 1250uS, 625uS, 312uS, 156uS, 78uS, 39uS
intervals from the cycle start. This represents an 800% reduction in
required processing power compared to PWM.
4. The LED drive signal contains a digital code of the intensity value allow
other devices to recover the data.

Drawbacks:

1. None – this is the most efficient drive technique developed thus far.




Best Regards,

Laurent
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Thu Feb 07, 2008 3:31 pm     Reply with quote

That PDF doesn't say much. It looks like it would take a lot of CPU cycles to implement. The poor CPU has to run fast to keep up with the switching speed of bits 0 & 1, while not flickering too much on bit 7. Maybe they have some computational trick to make it easy.

It might be good for low power devices like LEDs, but for high power reactive loads you generally want to minimize total switching events, as that is when switch inefficiencies take their toll. In their example the top trace shows four switching events per cycle vs. two events for ordinary PWM. Double the switching events means double the dynamic switching losses. Statistically real world results should be even worse.

Unless they have some trick I don't see it is going to be hard to adapt to any sort of 3 phase power.
_________________
The search for better is endless. Instead simply find very good and get the job done.
ELCouz



Joined: 18 Jul 2007
Posts: 427
Location: Montreal,Quebec

View user's profile Send private message

PostPosted: Thu Feb 07, 2008 3:43 pm     Reply with quote

Quote:
It might be good for low power devices like LEDs, but for high power reactive loads you generally want to minimize total switching events, as that is when switch inefficiencies take their toll. In their example the top trace shows four switching events per cycle vs. two events for ordinary PWM. Double the switching events means double the dynamic switching losses. Statistically real world results should be even worse.



Oops i forgot to mention that this technique should be only used for LEDs or other lighting devices. Embarassed

Best Regards,

Laurent
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group