Rise time of each pulse? Heh. 5ms is way more than enough. My true strobe modes have a duty cycle of 0.3ms, and even that is plenty.
TL;DR: The rise time for a common attiny+7135+emitter setup is roughly a millionth of a second. Ish.
First, some measurements for reference:
On my Convoy S7-219B host with 5x7135 (380mA), or 1900mA total… with a Nichia 219B and a reflector which rides too high (loses like 20% of its output due to that)… I got the following readings:
|. Mode |. Lumens |. PWM |. Current |. Runtime on 3100mAh cell |. Efficiency |
| Moon: |>. 0.14 lm |>. 6 |>. 2.6mA |>. 49.6 days |>. 54 lm / A |
| Low: |>. 7.3 lm |>. 14 |>. 36mA |>. 86 hours |>. 203 lm / A |
| Med: |>. 42 lm |>. 39 |>. 187mA |>. 16.5 hours |>. 225 lm / A |
| High: |>. 155 lm |>. 120 |>. 745mA |>. 4.16 hours |>. 208 lm / A |
| Higher: |>. 342 lm |>. 255 |>. ~1800mA |>. 1.7 hours |>. 190 lm / A |
My S7-219B has a 0.14 lm mode and a 7.3 lm mode, running at efficiencies of 54 lm/A and 203 lm/A respectively. Based on the difference in efficiency I think the moon mode (0.14 lm) runs into rise-time limitations, but the low (7.3 lm) mode does not. So, let’s use that to work out the approximate rise time.
The maximum mode is 342 lm, and I’ll use the relative outputs as an approximation of the duty cycle. So, 0.14 lm is a 0.04% duty cycle and 7.3 lm is a 2.13% duty cycle. Both are running at 19 kHz PWM. So, the pulses happen every 19000th of a second. 2.13% of that is 1/890,000th of a second. But what about the moon mode? 0.04% of 1/19000 is about one 46.4 millionth of a second.
So, based on this I’m guessing the 7135s and emitter can emit short pulses somewhere between one millionth of a second and one forty-millionth of a second. A 5ms pulse is no problem whatsoever.
Going from specs instead of measurements, the attiny13a runs at 4.8 MHz. Its 19 kHz PWM mode has 256 individual “frames”, and non-coincidentally, 19000 * 256 = ~4.8 million. I’m using a PWM level of 6 for the moon mode, meaning it’s on for 6 frames then off for 250 frames. However, the output is 0.04% while the “on” frames are 2.34% of the total. Quite a difference. For the 7.3 lm mode, it’s a PWM level of 14… so, 5.47% of the frames are on, but the output is only 2.13% of the total. From this, I’m guessing that the full output takes about 9 or 10 frames to achieve. … and I just sanity-checked that against the next-brightest mode, and that checks out too.
So, going by that… I think the time to rise to full output is about 1/500,000th of a second. Again, 5ms (1/200th of a second) is no problem.
On this device, it’s about 6 frames to get any light at all, or about 9 frames to get full output. Not sure what’s happening in those first 5 frames (7135s warming up?), but the last 4 frames account for 1/1,216,000th of a second to go from zero to max.
I don’t know the true number for the rise time. At 9 kHz PWM I can get a useful moon mode at a PWM level of 1… which gives a shorter estimate than the results from 19 kHz PWM. But I’m pretty sure the rise time is somewhere in the ballpark of a millionth of a second, plus or minus a factor of three. And since I completely ignored fall time, it could be off by another factor of two. But it’s easily close enough for my bike-light-and-party-strobe purposes.
This is only valid for an attiny13a using 7135 chips and a Nichia 219B emitter; I don’t know what the actual limiting factor is. I think the numbers are nearly the same for recent Cree products though, at least for XM-L2 and XP-G2 and XP-E2. Original XM-L seems to have a significantly slower rise time.
Sorry for all the math, it was a good question and I wanted to figure it out in public.