Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
kk6gm
PostPosted: May 08, 2012 - 04:46 PM
Raving lunatic


Joined: Sep 12, 2009
Posts: 2402
Location: Sacramento, CA

I need to make some videos of some PWM-driven RGB LEDs, but I'm finding that I get artifacting between the PWM rate and the video rate. The effect is vertically rolling horizontal bands of more/less brightness. Anybody have any experience with this? Any video cameras (consumer, not professional) that are better for this kind of work?
 
 View user's profile Send private message  
Reply with quote Back to top
polecat
PostPosted: May 08, 2012 - 05:36 PM
Hangaround


Joined: Sep 15, 2006
Posts: 172
Location: Northern Colorado

The way I've seen it handled is to sync the object you are trying to record with the camera. An example is videoing a TV picture. If not synced one usually sees a scrolling horizontal band. That is like what you are seeing. This capability is only found on professional equipment. The only solution I can think of for consumer equipment is to play with the PWM frequency and/or maybe shutter speed on the camera if you have that option.

Good luck
Roger
 
 View user's profile Send private message  
Reply with quote Back to top
kk6gm
PostPosted: May 08, 2012 - 05:54 PM
Raving lunatic


Joined: Sep 12, 2009
Posts: 2402
Location: Sacramento, CA

Thanks, yes I had played around with the PWM rate and sure enough, the bands went from slowly going down to quickly going up. Smile Unfortunately I'm using the AVR internal clock, so there's no way I'll get multiple AVRs perfectly synched. However, maybe "close enough" will be close enough.
 
 View user's profile Send private message  
Reply with quote Back to top
polecat
PostPosted: May 09, 2012 - 02:18 AM
Hangaround


Joined: Sep 15, 2006
Posts: 172
Location: Northern Colorado

do you have the ability to edit your video frame by frame? you could "photo shop" it to look the way you want it.

Roger
 
 View user's profile Send private message  
Reply with quote Back to top
hugoboss
PostPosted: May 09, 2012 - 02:34 AM
Resident


Joined: Feb 19, 2010
Posts: 507
Location: Montreal, QC, CA

You could try running the PWM at a much higher frequency. It should alleviate the flickering effect a bit if you keep the camera's frequency 3 or more harmonics lower than your PWM frequency. That also means you will use more power though.

In terms of video editing, a simple short persistence of vision filter should do it.
 
 View user's profile Send private message  
Reply with quote Back to top
DocJC
PostPosted: May 09, 2012 - 02:53 AM
Raving lunatic


Joined: Dec 11, 2007
Posts: 6849
Location: Cleveland, OH

I've not tried this, but what have you got to lose?

I would put the camera in manual mode for its exposure and focusing, essentially turning off all internal micro controlled adjustments. I would also film it in a bright environment, so that the LEDs are not the brightest component of the image. (Yes, I know, it won't look as impressive..., but at least try this for starters). As you noted consumer grade gear doesn't have an external synch option.

If you had a scope and time you could probe around the video camera and see if you could get a frame synch signal of sorts to use in your AVR to reverse synch, perhaps.

JC
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits