# Relation pwm generated with different min/max controller setting

**URL:** <https://forum.lightburnsoftware.com/t/relation-pwm-generated-with-different-min-max-controller-setting/111441>\
**Category:** Ruida controllers\
**Tags:** ruida\
**Created:** [September 24, 2023, 7:33pm UTC](https://forum.lightburnsoftware.com/t/relation-pwm-generated-with-different-min-max-controller-setting/111441 "2023-09-24T19:33:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkwilborn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jkwilborn/32/63089_2.png) [@jkwilborn](https://forum.lightburnsoftware.com/u/jkwilborn)\
**Post date:** [September 24, 2023, 7:33pm UTC](https://forum.lightburnsoftware.com/t/relation-pwm-generated-with-different-min-max-controller-setting/111441/1 "2023-09-24T19:33:41Z")

</div>

This is a continuation of the discussion, mostly with @NicholasL

> [@Ruida Min and Max Power% rescales actual power output?](https://forum.lightburnsoftware.com/t/ruida-min-and-max-power-rescales-actual-power-output/107903):
>
> Not on my 6442g Ruida… they are limits I set min/max to 20%/80% [image] 60% spread, so 50% would be an ~80% duty cycle to the lps… I run a line at 50% pwm and the Ruida puts out 50% pwm… I ran a line with both min/max set to 90%, start speed is 5mm/s not that it matters… 90% power in the layer, reads 80% from the controller, the set limit… A line with 10% power for max/min it runs a 20% pwm out of the controller… as was the 20% value set within the controller. At…

Ended up trying to clarify the different results we seem to get and expect…

* * *

I made two runs with three rectangular boxes, power levels at 25%, 50%, 100%. The second with 50%, 60% and 70% power levels.

For these, within the laser controller, Max is 80 and Min is 40.

| Layer % Power | Measured PWM Duty Cycle |
| --- | --- |
| 25 | 40 |
| 75 | 76 |
| 100 | 80 |
| – | – |
| 50 | 52 |
| 60 | 60 |
| 70 | 72 |

Mine seems to indicate that it is not percentage between the max/min values.

Hope Nick and I can put our heads together and figure out what’s happening with the pwm values, his updated firmware seems to operate differently.

* * *

I got the scope out for two reasons, the above and currently a [discussion](https://forum.lightburnsoftware.com/t/show-me-your-dual-source-setups/111257/7) with @berainlb about how to configure the Ruida so it will drive a regular dpssl (diode) module without some kind of interface circuit.

I switched the tube to an RF type within the controller, as per @berainlb suggestion…

Measured and watched the duty cycle for a slow 50mm/s and a move with no lase. It was pretty clear the duty cycle output of the Ruida when in RF tube (no pre-ignition) appears that it could drive a regular dpssl (diode) module properly.

The other part of this story was what happens to L-On when in this mode. I watched it on a multimeter and saw that L-On remains low… I actually expect a high state as this would allow the tube to lase if you mistakenly had it set to rf…

Maybe a good debug tip?

😸

---

<div class="post-metadata">

**Author:** ![MikeyH](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/m/43a26b/32.png) [@MikeyH](https://forum.lightburnsoftware.com/u/MikeyH)\
**Post date:** [September 24, 2023, 10:22pm UTC](https://forum.lightburnsoftware.com/t/relation-pwm-generated-with-different-min-max-controller-setting/111441/2 "2023-09-24T22:22:35Z")

</div>

Life was simpler when I thought 50% power meant half of my laser output capability. 🙄

---

<div class="post-metadata">

**Author:** ![jkwilborn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jkwilborn/32/63089_2.png) [@jkwilborn](https://forum.lightburnsoftware.com/u/jkwilborn)\
**Post date:** [September 24, 2023, 11:19pm UTC](https://forum.lightburnsoftware.com/t/relation-pwm-generated-with-different-min-max-controller-setting/111441/3 "2023-09-24T23:19:06Z")

</div>

_ **Ignorance is bliss** _… 😵‍💫

* * *

My camera has a PHD… the button on the top says _ **Push Here Dummy** _…

😸

---

<div class="post-metadata">

**Author:** ![system](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/system/32/64335_2.png) [@system](https://forum.lightburnsoftware.com/u/system)\
**Post date:** [October 24, 2023, 11:19pm UTC](https://forum.lightburnsoftware.com/t/relation-pwm-generated-with-different-min-max-controller-setting/111441/4 "2023-10-24T23:19:24Z")

</div>

Closed on October 24, 2023, 11:19pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [December 11, 2023, 9:45pm UTC](https://forum.lightburnsoftware.com/t/relation-pwm-generated-with-different-min-max-controller-setting/111441/5 "2023-12-11T21:45:51Z")

</div>

> [@jkwilborn](#):
>
> For these, within the laser controller, Max is 80 and Min is 40.

You may want to rerun these tests with Max and Min set to the same value.

---

<div class="post-metadata">

**Author:** ![jkwilborn](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/jkwilborn/32/63089_2.png) [@jkwilborn](https://forum.lightburnsoftware.com/u/jkwilborn)\
**Post date:** [December 11, 2023, 10:43pm UTC](https://forum.lightburnsoftware.com/t/relation-pwm-generated-with-different-min-max-controller-setting/111441/6 "2023-12-11T22:43:36Z")

</div>

> [@berainlb](#):
>
> Max and Min set to the same value

The values in the Ruida for the laser power…

😸

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [December 11, 2023, 10:56pm UTC](https://forum.lightburnsoftware.com/t/relation-pwm-generated-with-different-min-max-controller-setting/111441/7 "2023-12-11T22:56:19Z")

</div>

In that case the measured values seem to correlate to be what you’d expect.

I’m reading the linked Topic and I see the discrepancy now. Basically the question of whether or not min and max are threshold values or book ends…

I’ve always understood these to be as you describe. But that would be interesting if they worked differently.
