It shouldn’t be very complicated. The key is to solve the voltage problem. Make the power supply circuit a 12v booster 24v adjustable power supply circuit. You can use a current such as 34063. The current can be 2- through current expansion. About 3A can meet your requirements. Just adjust the voltage parameters according to different circuits!