This paper presents a novel fully controlled, flexible and self-adjusting LED lighting PV-Battery powered scheme using a pulse-width modulation (PWM) switching. This scheme is controlled a dual-loop error driven, time descaled, weighted modified proportional-integral-derivative (WM-PID) control scheme for the photovoltaic (PV)-battery interfaced to the light emitting diode (LED) lighting load. It enhances damping of transient voltage and reduces inrush current for a stabilized common DC bus to the LED load. The novel proposed flexible controller utilizes a regulated dual-loop error-driven, error-time descaled controller for the PWM switching circuit along with MOSFET/IGBT switch components. The dual-action regulator uses error driven WM-PID controller with fast acting error squared loops to ensure efficient control action. In addition, common DC-bus stabilization under severe load excursions, temporary DC side faults, and inrush current conditions are performed.