Analog Conversion

67 views
Skip to first unread message

Daniel Feist

unread,
Oct 5, 2023, 4:57:54 AM10/5/23
to Loxone English
Hi,

Does anyone have any idea how to convert the analogue output on the left to the analogue output on the right to work around a bug in Loxone DALI DT8 support which doesn't respect the minimum dim level configured?

Thanks,


image.png
image.png

Jonathan Dixon

unread,
Oct 5, 2023, 5:14:23 AM10/5/23
to Daniel Feist, Loxone English
(I assume you mean convert the signal in Loxone Config, not build an analogue circuit from discrete electrical components to do it)

A formula block should do it, with camping for input less than 1, e.g.
IF(I1<1;0;IF(I1>100;254; 87+ (254-87)*(I1-1)/(99)))



--
You received this message because you are subscribed to the Google Groups "Loxone English" group.
To unsubscribe from this group and stop receiving emails from it, send an email to loxone-englis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/loxone-english/CADJQLmi8OFVvgBEQwomcXFMKGFmyzufR0rKKOCTgL3eq1GJj7A%40mail.gmail.com.

Daniel Feist

unread,
Oct 5, 2023, 5:59:58 AM10/5/23
to Jonathan Dixon, Loxone English
Yes, I'm waiting on Loxone to fix the bug in their DT8 support.  I also ideally need this with outputs to my ATX LED DALI board anyway.  Let me have a go with the formula block You can't use "correction" in the virtual input, else fitting never turns off :-)

Ideally, it should be parameterizable, but to do this requires a reverse look-up using DALI dimming curve data or the use of a log function, so I think I'll stick to two hardcoded versions.  All my fittings are either 0.1%, 1% or 5% minimum.
Min 1% -> 87
Min 5% -> 145 

On a side note, my 0.1% minimum fittings are fantastic and support very low levels of light plus the ability to dim from/to zero is really cool.  It also means that if you have multiple DALI groups that get triggered sequentially to create a mood, you can't notice the delay.  On the other hand, my 5% minimum fittings (track lights) really annoy me now I got used to 0.1/1% everywhere else in the house. 5% is actually 57% on the linear perception scale!

The other issue is that I can't really use groups as I hoped with min 5% (with one group being a subset of another)  as you see fittings the turning off sequentially. That said, this is probably slightly worse than it would be if I were using the Loxone DALI extension due to additional HTTP hop.

Thanks,

Jonathan Dixon

unread,
Oct 5, 2023, 6:12:50 AM10/5/23
to Daniel Feist, Loxone English
Yeah I have a parameterized version of this formula that I use many places by loading constants onto the I2-I4 inputs to set the  input domain and minimum switch on level.

0.1% switch on is incredible. (Is that actually 0.4%? i.e. 1/255). I have a lot of mains dim stuff that only comes on at 30% which is very janky when used with a fade.

>  You can't use "correction" in the virtual input, else fitting never turns off :-)
Yeah indeed. It's a shame the Loxone Lighting Controller doesn't just let you set a minimum switch-on level per circuit. (And ideally, and strike/warm up level as Shelly dimmers now have) - to insert a formula like this means using "Standard" rather than Smart device types (on DMX outputs) which in turn loses  fade-time support.

(I've also found some window openers need this correction formula - at least one I use doesn't actually open until it's 15% open according to the Loxone interpolated idea of where it should be, the initial 5-10s runtime is just spent undoing the cams)


Daniel Feist

unread,
Oct 5, 2023, 6:54:52 AM10/5/23
to Jonathan Dixon, Loxone English
> 0.1% switch on is incredible. (Is that actually 0.4%? i.e. 1/255). I have a lot of mains dim stuff that only comes on at 30% which is very janky when used with a fade.
These are the Orluna fittings which use EldoLED drivers.  1/255 is 0.1% on the DALI dimming curve. 0.4% is ARC Level 52/255.

All my LEDs (also using EldoLED) are supposed to be 0.1% too, but there is some weird issues with the waveform produced by the drivers and the current-regulating IC on the LED strip which means that anything below 0.5% (43% on the perceived scale) produces a patchy output :-(.  Of course, neither EldoLED nor the tape manufacturers say it's their issue and given it's only 0.1->0.5% range impacted, while annoying, it's not something worth investing too much time in pursuing a solution for.

> Yeah indeed. It's a shame the Loxone Lighting Controller doesn't just let you set a minimum switch-on level per circuit.
Yeah, although you could argue that if you are sticking to the Loxone extensions/devices, these values can already be configured per fitting/group.


Reply all
Reply to author
Forward
0 new messages