I would suggest using the CAT4101 constant current sink PWM LED driver. It can handle up to 1A at up to 25V and deals with the constant current regulation for you - just provide at least the 24V you need and enough current capacity and connect the correctly calculated current setting resistor and the CAT4101 will do the rest for you.
Jan 04, 2011 · Pulse width modulation (PWM) is a technique of controlling the amount of power delivered to an electronic load using an on-off digital signal. The fraction of the period for which the signal is on is known as the duty cycle. The average DC value of the signal can be varied by varying the duty cycle. Adafruit Industries, Unique & fun DIY electronics and kits Adafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface [PCA9685] ID: 815 - You want to make a cool robot, maybe a hexapod walker, or maybe just a piece of art with a lot of moving parts.
Provides 2 channels of ballast control including 0–10 V, 1–10 V, DSI® and PWM 2 high inrush relays, rated at 20 A per channel for switching load circuits An exchangeable module for fitting into the Imagine Rack System
DALI LED-driver (CC) with 3 independent channels. Each channel has its own DALI address. As alternative to the DT6 control the device also supports the operating modes Colour&Dim (suitable for RGB luminaires) and SwitchDim2 (control via 2 switch inputs without DALI). Page 4: Pulse-Width Modulation (PWM) allows for electronic control over DC motor speed or LED brightness. This articles features schematics and photos of circuits for making PWM without a microcontroller, but instead uses a 74AC14 logic inverter chip, diodes, a capacitor, and potentiometer. I managed to get it down at least to 2 wires, 1 PWM and 1 ground. If you follow the datasheet, the Meanwell dimmer circuit is separate from the high voltage out. the dimmer circuit looks to use a constant current 100uA signal and then measure the resulting voltage, where 10V will put the dimmer at 100% and 1V or less will be 10% or off.