The document discusses the development of a fast-acting dc-link voltage controller for a three-phase distribution static compensator (D-STATCOM) that compensates for both AC and DC loads using fuzzy logic. It highlights the limitations of traditional proportional-integral (PI) controllers, particularly their slow response to changes in load, and proposes an energy-based controller to improve transient response. Detailed simulations and experimental studies validate the effectiveness of the proposed controller in maintaining the dc-link voltage within prescribed limits under rapidly varying load conditions.