In this paper, a new two-stage global maximum power point tracking (GMPPT) algorithm based on artificial neural network (ANN) is proposed. The novel ANN architecture is presented first, which requires fewer sampling points than other ANN-based GMPPT approaches, thereby reducing both the tracking time and power loss involved in the tracking. In addition, it does not require costly illuminance or temperature sensors and can be realized using a low-cost digital signal controller. According to the simulation results, the proposed method has the best performance among all methods in terms of tracking speed, tracking accuracy, and tracking loss for all the three tested shading patterns (SPs). The simulated results of 252 SPs show that the performance indexes (PIs) of the proposed method are the best among all the compared methods, which are: the average tracking time 0.18 seconds, average power loss 0.01 W. In addition, the proposed method can correctly predict the GMPP positions of all 252 SPs. Furthermore, the PIs of the proposed method are also the best among all the compared methods according to the experimental results, which are: the tracking speed 0.21 seconds, tracking accuracy 99.66%, and tracking loss 12.58 W, all the above are average values.