To better address and improve the issues related to DC power quality, this paper proposes an identification method tailored for DC power quality disturbances. First, it explores the underlying mechanisms and waveform characteristics of common DC power disturbances. By integrating the results of time–frequency analysis obtained through the S-transform, five distinct features are designed and extracted to serve as classification indicators. The SABO algorithm is subsequently employed to optimize the BP neural network, assisting in determining the optimal input weights and hidden layer thresholds. This optimization technique helps prevent the network from becoming stuck in local minima, thereby enhancing its robustness and generalization capabilities. This paper presents a simulation system for AC/DC power systems to conduct experimental verification. The system simulates various DC power quality issues and monitors abnormal waveforms. According to the designated classification index, the features of simulated disturbance signals are extracted. The SABO-BP classification prediction model is then used to automatically classify and identify the samples. The experimental results demonstrate high accuracy in classification and identification using the proposed method. In comparison to the BP neural network method, the SABO-BP method demonstrates an 8.207% improvement in accurately identifying disturbance signals. It is capable of accurately identifying direct current power quality signals, thereby assisting in the evaluation and control of power quality issues.