As a result of severe environmental pressure and stringent government regulations, refined energy management for vehicles has become inevitable. To improve vehicle fuel economy, this paper presents a bus-based energy management system for the electrical system of internal combustion engine vehicles. Both the model of an intelligent alternator and the model of a lead-acid battery are discussed. According to these models, the energy management for a vehicular electrical system is formulated as a global optimal control problem which aims to minimize fuel consumption. Pontryagin's minimum principle is applied to solve the optimal control problem to realize a real-time control strategy for electrical energy management in vehicles. The control strategy can change the output of the intelligent alternator and the battery with the changes of electrical load and driving conditions in real-time. Experimental results demonstrate that, compared to the traditional open-loop control strategy, the proposed control strategy for vehicle energy management can effectively reduce fuel consumption and the fuel consumption per 100 km is decreased by approximately 1.7%.