I am trying to control a large bank of high power LED's using PWM. My setup is as follows. When this bank is at 100% brightness it consumes 18V @ 3A. I am powering the bank of LED's with a MOSFET connected to a 150w 24V power supply. Since the power supply is a higher voltage than is required by the LED's I never let the duty cycle of the PWM wave exceed a certain percentage. At point 'A' I have a current sensing board so the Arduino never lets the current exceed 3A. I figured this would be a good way to control the current flow.
That said I have assembled the circuit. It works however, due to the large on and off current draw the power supply humms pretty loudly I placed a large capacitor over the power supply and it supressed it's loudness by about half. However I am wondering is there a better way to do this? I can only assume that the square wave high current draw is NOT good for the power supply.