The potential of renewable energy sources is massive as they can in principle meet many times the world's energy demand. In this paper, Solar PV parameter extraction is performed using Artificial Immune System (AIS). A novel objective function based on derivative of maximum power with respect to voltage for solar PV double diode model is proposed. For validation and performance evaluation, the results obtained using the proposed approach employing AIS, are compared with Genetic algorithm (GA) and particle swarm optimization (PSO). As compared to GA and PSO, AIS using the proposed approach has the least error. The results also showcase that the proposed approach with AIS outclasses GA and PSO in terms of absolute error for all the three PV models under various irradiation conditions.