This study develops a control-oriented air-fraction model which can accurately predict the air-fraction dynamics for a Diesel engine and the coupled aftertreatment system (mainly Diesel oxidation catalyst (DOC)) during active DPF regenerations. NOx and particulate matter (PM) emissions are the two main concerns for modern Diesel engine development. Diesel particulate filters (DPFs) have become a standard device for reducing the PM emissions from Diesel engine powertrains. To maintain high filtration efficiencies and avoid high back pressures, active DPF regenerations have to be implemented periodically by significantly elevating the exhaust gas temperatures. However, during active DPF regenerations, the selective catalytic reduction (SCR) deNOx performance may be significantly decreased, while the high temperature durability and total hydrocarbon (THC) poisoning of SCRs may be potential issues. To simultaneously meet the NOx emission standard, high-pressure loop EGR needs to be applied. Since in-cylinder NOx reduction relies heavily on the in-cylinder oxygen content, an accurate air-fraction model is necessary, and the effects of recycled THC and CO emissions should be considered. The developed air-fraction model has been experimentally validated to show its capability of capturing the actual air fraction dynamics accurately. Such a model can be instrumental in simultaneous NOx and PM emission control during active DPF regenerations and in advanced combustion mode control.