Testing PWM Driver
-
- Posts: 137
- Joined: Sat Feb 16, 2013 7:44 am
Testing PWM Driver
Anyone got a good way of testing a PWM driver without hooking everything up?
- DrewPalmer04
- Posts: 818
- Joined: Tue May 29, 2012 2:12 pm
- Location: Christopher, IL
Re: Testing PWM Driver
Yep. Hook up the LEDs. Then two AA batteries in series will give you 3v or 30%. One AA will give 1.5v or 15%
-
- Posts: 137
- Joined: Sat Feb 16, 2013 7:44 am
Re: Testing PWM Driver
Will that work with n a PWM driver? I would think on only a 1 -10v dimmable driver... I'd love to find a PWM generator.
- DrewPalmer04
- Posts: 818
- Joined: Tue May 29, 2012 2:12 pm
- Location: Christopher, IL
Re: Testing PWM Driver
It'll work
-
- Posts: 137
- Joined: Sat Feb 16, 2013 7:44 am
Re: Testing PWM Driver
Ok... Does this mean the PWM LED drivers support both dimming and PWM?
- DrewPalmer04
- Posts: 818
- Joined: Tue May 29, 2012 2:12 pm
- Location: Christopher, IL
Re: Testing PWM Driver
Well I think you mean:
PWM is driver specific. I.E. meanwell "P"
Analog is linear: I.E. meanwell "D" people report being able to use both PWM and analog on the D drivers with no issue.
PWM drivers should only use PWM in my opinion. But you wanted to "test" the PWM driver. So supplying voltage (constant) is ok for testing. But you'll want to use PWM signal if you want PWM drivers.
PWM is driver specific. I.E. meanwell "P"
Analog is linear: I.E. meanwell "D" people report being able to use both PWM and analog on the D drivers with no issue.
PWM drivers should only use PWM in my opinion. But you wanted to "test" the PWM driver. So supplying voltage (constant) is ok for testing. But you'll want to use PWM signal if you want PWM drivers.
Re: Testing PWM Driver
Depends on the driver.
What driver are you referring to?
If meanwell, the D version uses analog signal. You can however use PWM, but the dimming curve won't be linear.
The P version uses PWM signal. You can also use analog signal, but the dimming will be linear, but with a slight offset.
For testing purposes, you can use 9V battery just fine.
Other drivers may not work with analog signals as the meanwell does.
What driver are you referring to?
If meanwell, the D version uses analog signal. You can however use PWM, but the dimming curve won't be linear.
The P version uses PWM signal. You can also use analog signal, but the dimming will be linear, but with a slight offset.
For testing purposes, you can use 9V battery just fine.
Other drivers may not work with analog signals as the meanwell does.
Roberto.
-
- Posts: 137
- Joined: Sat Feb 16, 2013 7:44 am
Re: Testing PWM Driver
It worked yet, if the 2 AA, I tested with is actually 30%... That is going to be one bright fixture.
-
- Posts: 137
- Joined: Sat Feb 16, 2013 7:44 am
Re: Testing PWM Driver
After reading this article: http://pcbheaven.com/wikipages/PWM_Modulation/ I totally understand now. The PWM drivers are not interpreting the signal and determining the output based on the clock or duty cycle. Instead they are smoothing out the pulses into a voltage using capacitors and resistors to filter the signal. This could have a number of advantages, however it also means applying a 1 - 10v analog circuit will work just as well. And if I wanted to convert an analog circuit to handle a PWM all I need to do is create a proper filter in front of the signal. one cool thing with PWM is I could isolate it from my driver. So not that it is important or anything, but the Reef angel when I adjust the values from 0 - 255 am I changing the clock or duty cycle?
And he is a brainstorming thought... I could turn the Digital IO Expansion module into a serial transceiver, couldn't I?
And he is a brainstorming thought... I could turn the Digital IO Expansion module into a serial transceiver, couldn't I?
Re: Testing PWM Driver
I changes duty cycle.
The frequency is always the same.
Yes, you can do that with the I/O
The frequency is always the same.
Yes, you can do that with the I/O
Roberto.