Nowadays, electric vehicles (EVs) using additional energy sources frequently deliver a safe ride without concern about the distance. The energy sources including a battery, an ultra-capacitor (UC), and a photovoltaic (PV) are considered in this research for driving the EV. Vehicles that only use battery-oriented technologies experience problems with charging and quick battery discharge. EVs are used with an ultracapacitor to decrease the quick discharge effects and increase the lifetime of the battery. Furthermore, bidirectional DC-DC converters are a type of power electronics device used to verify the smooth transfer of generated power from energy sources to the motor throughout various stages of the driving cycle. Therefore, this study proposes a perturb and observe (P&O) energy management control technique based on tuna swarm optimization (TSO). The suggested TSO-P&O completely uses UC while regulating the battery because it lowers dynamic battery charging and discharging currents. Due to the aforementioned aspect, the suggested TSO-P&O increases battery life and demonstrates a very dependable, long range power source for an electric car. The TSO-P&O technique achieves the EVs by obtaining the maximum speed of 91.93 km/hr. with a quicker settling time of 4,930 ms when compared with the existing zero-fuel zero-emission (ZFZE) method.