This paper discusses the enhancement of power quality using Dynamic Voltage Restorers (DVRs) to protect sensitive loads from voltage sags. It presents a novel detection technique for voltage sags and demonstrates the DVR's effectiveness through simulations in MATLAB Simulink, showing its ability to maintain load voltage stability during disturbances. The study concludes that DVRs provide rapid compensation for voltage sags and swells, ensuring better power quality for sensitive electronic devices.