Research on the electron attachment of oxygen using a Frisch-grid ionization chamber