It has been shown that silicon photonic crystal nanocavities excited by spectrally narrow light can be used to detect ionized air. Here, to increase the range of possible applications of nanocavity-based sensing, the use of broadband light is considered. We find that the use of a superluminescent diode (SLD) as an excitation source enables a more reproducible detection of ionized air. When our photonic-crystal nanocavity is exposed to ionized air, carriers are transferred to the cavity and the light emission from the cavity decreases due to free carrier absorption. Owing to the broadband light source, the resonance wavelength shifts caused by the carriers in this system (for example, due to temperature fluctuations) do not influence the emission intensity. SLD-excited cavities could be useful to determine the density of ions in air quantitatively.