How to control high power leds (500mA) via pmw accurately?

a more convenient solution