With a great potential yet to be explored in Brazil, the grid-connected photovoltaic system, besides supplying the active power, can also contribute to improve the voltage level grid providing reactive power. Therefore, this work proposes to use a Grid-Connected Photovoltaic System (GCPVS) equipped with a control that uses the automatic voltage regulator (AVR) to balance the injection of the active and reactive powers, thus softening the short-duration voltage variation, more specifically the momentary voltage dip. For this purpose, the GCPVS was connected in part of a real distribution grid that attend the block 1106 South of Palmas city, state of Tocantins, northern region of Brazil. It is shown that the active and reactive power delivered to the grid can be controlled to help the power quality of the main grid during a disturbance. During a short-circuit situation, the active power is reduced, freeing up space from the inverter capacity for maximum supply of reactive power, in this way, helping the main grid to return to an adequate voltage level. The simulation results show that such voltage profile improvement is possible. Therefore, they confirm that photovoltaic systems, even though considered small, can also provide ancillary services to the low voltage distribution grid during abnormal conditions, adding to the actions normally performed by conventional power plants