At present, the installed capacity of photovoltaic-battery energy storage systems (PV-BESs) is rapidly increasing. In the traditional control method, the PV-BES needs to switch the control mode between off-grid and grid-connected states. Thus, the traditional control mode reduces the reliability of the system. In addition, if the system is accidentally disconnected from the grid or the energy storage battery fails to work normally, the DC voltage of the inverter increases or decreases rapidly. To address these two problems, in this paper, a united control strategy is proposed. In the case of grid connection, based on the voltage-frequency controlled VSG strategy, the strategy adjusts the output power of the VSG by changing the position of the primary frequency modulation curve. This method can ensure that, after the system is connected to the grid, excess PV power can be sent to the grid, or power can be absorbed from the grid to charge energy storage. In the off-grid state, the strategy uses FPPT technology and superimposes a voltage component onto the voltage loop to quickly balance the DC power and AC power of the inverter. This strategy can improve the reliability of the system’s power supply if the energy storage fails to work normally. Finally, a PV-BES model was built using MATLAB-Simulink, and the simulation results proved the effectiveness of the proposed strategy.