Mass Spectrometer Having Improved Quadrupole Robustness

20200328073 ยท 2020-10-15

    Inventors

    Cpc classification

    International classification

    Abstract

    A method of operating a mass spectrometer, comprising: generating ions from a sample; mass filtering the ions using a quadrupole mass filter having a set of selection parameters to transmit ions within at least one selected range of mass-to-charge ratios narrower than an initial range, wherein the quadrupole comprises four parallel elongate electrodes arranged in opposing pairs to which are applied RF and DC, wherein an attractive DC voltage is applied to one pair of opposing electrodes and a repulsive DC voltage is applied to the other pair; mass analysing or detecting the ions transmitted by the quadrupole mass filter; repeating the steps of generating ions, mass filtering and mass analysing or detecting multiple times; switching a configuration of the pairs of opposing electrodes to which the attractive DC voltage and the repulsive DC voltage are applied multiple times over the course of repeating the steps so that over long term operation the build-up of contamination on each pair of opposing electrodes is substantially equal; and determining mass filtering steps for which quantitative accuracy should be maintained between them and for the determined mass filtering steps maintaining the same configuration of the pairs of opposing electrodes to which the attractive DC voltage and the repulsive DC voltage are applied. The width of the selected mass range may change by not more than 10% when the ion transmission efficiency mass filter falls by 50% or more due to the build-up of contamination on the electrodes.

    Claims

    1. A method of operating a mass spectrometer, comprising: generating ions from a sample having an initial range of mass-to-charge ratios; mass filtering the ions using a quadrupole mass filter having a set of selection parameters to transmit ions through the quadrupole mass filter within at least one selected range of mass-to-charge ratios that is narrower than the initial range, while ions outside the selected range are not transmitted, wherein the quadrupole mass filter comprises four parallel elongate electrodes arranged in opposing pairs to which are applied RF and DC voltages, wherein an attractive DC voltage that is attractive to the ions is applied to one pair of opposing electrodes and a repulsive DC voltage that is repulsive to the ions is applied to the other pair of opposing electrodes; mass analysing or detecting the ions transmitted by the quadrupole mass filter; repeating the steps of generating ions, mass filtering and mass analysing or detecting multiple times; switching a configuration of the pairs of opposing electrodes to which the attractive DC voltage and the repulsive DC voltage are applied multiple times over the course of repeating the steps so that over long term operation the build-up of contamination on each pair of opposing electrodes is substantially equal; and determining mass filtering steps for which quantitative accuracy should be maintained between them and for the determined mass filtering steps maintaining the same configuration of the pairs of opposing electrodes to which the attractive DC voltage and the repulsive DC voltage are applied.

    2. A method according to claim 1, wherein over long term operation each pair of opposing electrodes spends substantially half the time with the attractive DC voltage applied to it and half the time with the repulsive DC voltage applied to it.

    3. A method according to claim 1, wherein the configuration is switched based on the selection parameters of the quadrupole mass filter and/or a use-based trigger.

    4. A method according to claim 1, wherein the steps of generating ions and mass filtering the ions are repeated multiple times using different sets of selection parameters of the quadrupole mass filter.

    5. A method according to claim 1, wherein the configuration of the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied are the same each time ions are selected using substantially the same selection parameters of the quadrupole mass filter and/or when samples used to generate the ions are related by similarities in their time of analysis or composition.

    6. A method according to claim 1, further comprising calculating a unique code for each set of selection parameters and, based on at least one rule, using the unique code to determine the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied.

    7. A method according to claim 6, wherein the unique code is calculated based on one or both of: (i) a centre mass and/or based on a first mass and a last mass of the selected range of mass-to-charge ratios, or (ii) a rounded down centre mass and/or based on a rounded down first mass and a rounded up last mass of the selected range of mass-to-charge ratios.

    8. A method according to claim 6, wherein the at least one rule comprises applying the attractive DC voltage to a first pair of opposing electrodes and the repulsive DC voltage to a second pair of opposing electrodes if the unique code is an even value and applying the attractive DC voltage to the second pair of opposing electrodes and the repulsive DC voltage to the first pair of opposing electrodes if the unique code is an odd value.

    9. A method according to claim 6, wherein the unique code is multiplied or divided by a factor to increase or decrease the frequency in the mass-to-charge ratio domain of switching the pairs of opposing electrodes to which the attractive DC and repulsive voltages are applied.

    10. A method according to claim 9, wherein the factor is such that the selected range of mass-to-charge ratios is sufficiently narrower than the average interval in the mass-to-charge ratio domain between switching the pairs of opposing electrodes such that transmitted ions in a range of mass-to-charge ratios, x0.5w to x+0.5w, where x is the centre mass and w is the width of the selected range, will most likely be selected using the same pairs of opposing electrodes to which the attractive DC and repulsive voltages are applied if they are selected in a subsequent mass filtering step.

    11. A method according to claim 1, wherein the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied are switched based on one or more use-dependent triggers.

    12. A method according to claim 11, wherein the one or more use-dependent triggers comprises one or more time-dependent or event-dependent triggers.

    13. A method according to claim 12, wherein the one or more time-dependent or event-dependent triggers comprises running a mass calibration procedure or elapse of a predetermined time period since the pair of opposing electrodes were last switched.

    14. A method according to claim 1, further comprising collecting and storing usage data representing the usage of each pair of opposing electrodes when each of the attractive DC voltage and the repulsive DC voltage is applied and, based on the usage data, switching the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied such that on average each pair of opposing electrodes spends substantially half the time with the attractive DC voltage applied to it and half the time with the repulsive DC voltage applied to it.

    15. A method according to claim 1, further comprising acquiring data representing the amount of contamination on each pair of opposing electrodes and, based on the data, switching the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied so as to balance the amount of contamination equally between each pair of opposing electrodes.

    16. A method according to claim 1, further comprising pre-filtering the ions before mass filtering the ions using the quadrupole mass filter, wherein pre-filtering the ions comprises transmitting to the quadrupole mass filter ions within a pre-selected range of mass-to-charge ratios that includes but is wider than the selected range of mass-to-charge ratios selected by the quadrupole mass filter.

    17. A method according to claim 1, further comprising increasing the energy of the ions as they enter the quadrupole mass filter when the ion transmission of the quadrupole mass filter falls due to the build-up of contamination on the electrodes.

    18. A mass spectrometer, comprising: an ion source for generating ions from a sample having an initial range of mass-to-charge ratios; a quadrupole mass filter having a set of selection parameters for mass filtering the ions so as to transmit ions through the quadrupole mass filter within at least one selected range of mass-to-charge ratios that is narrower than the initial range, while ions outside the selected range are not transmitted, wherein the quadrupole mass filter comprises four parallel elongate electrodes arranged in opposing pairs to which are applied RF and DC voltages, wherein an attractive DC voltage that is attractive to the ions is applied to one pair of opposing electrodes and a repulsive DC voltage that is repulsive to the ions is applied to the other pair of opposing electrodes; a mass analyser or detector to analyse or detect ions transmitted through the quadrupole mass filter; and a controller configured to control the quadrupole mass filter and switch a configuration of the pairs of opposing electrodes to which the attractive DC voltage and the repulsive DC voltage are applied multiple times over the course of repeating steps of generating ions and mass filtering the ions so that over long term operation of the mass spectrometer the build-up of contamination on each pair of opposing electrodes is substantially equal, the controller being further configured to determine mass filtering steps between which quantitative accuracy should be maintained and for the determined mass filtering steps maintain the same configuration of the pairs of opposing electrodes to which the attractive DC voltage and the repulsive DC voltage are applied.

    19. A mass spectrometer according to claim 18, wherein the controller is configured to switch the configuration of the pairs of opposing electrodes to which the attractive DC voltage and the repulsive DC voltage are applied so that over long term operation of the mass spectrometer each pair of opposing electrodes spends substantially half the time with the attractive DC voltage applied to it and half the time with the repulsive DC voltage applied to it.

    20. A mass spectrometer according to claim 18, wherein the controller is configured to switch the configuration based on the selection parameters of the quadrupole mass filter and/or a use-based trigger.

    21. A mass spectrometer according to claim 18, wherein the selected range of mass-to-charge ratios has a width 10 Th or less.

    22. A mass spectrometer according to claim 18, wherein the controller is configured such that the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied are the same each time ions are selected using substantially the same selection parameters of the quadrupole mass filter and/or when the samples used to generate the ions are related.

    23. A mass spectrometer according to claim 18, wherein the controller is configured to set selection parameters of the quadrupole mass filter to transmit the at least one selected range of mass-to-charge ratios and to calculate a unique code for each set of selection parameters and, based on at least one rule, use the unique code to determine the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied.

    24. A mass spectrometer according to claim 23, wherein the unique code is a code calculated using a hash function.

    25. A mass spectrometer according to claim 23, wherein the unique code is calculated based on a centre mass and/or based on a first mass and a last mass of the selected range of mass-to-charge ratios.

    26. A mass spectrometer according to claim 23, wherein the unique code is calculated based on a rounded down centre mass and/or based on a rounded down first mass and a rounded up last mass of the selected range of mass-to-charge ratios.

    27. A mass spectrometer according to claim 23, wherein the at least one rule comprises applying the attractive DC voltage to a first pair of opposing electrodes and the repulsive DC voltage to a second pair of opposing electrodes if the unique code is an even value and applying the attractive DC voltage to the second pair of opposing electrodes and the repulsive DC voltage to the first pair of opposing electrodes if the unique code is an odd value.

    28. A mass spectrometer according to claim 23, wherein the unique code is multiplied or divided by a factor to increase or decrease the frequency in the mass-to-charge ratio domain of switching the pairs of opposing electrodes to which the attractive DC and repulsive voltages are applied.

    29. A mass spectrometer according to claim 29, wherein the factor is such that the selected range of mass-to-charge ratios is sufficiently narrower than the average interval in the mass-to-charge ratio domain between switching the pairs of opposing electrodes such that transmitted ions in a range of mass-to-charge ratios x0.5w to x+0.5w, where x is the centre mass of the selected range and w is the width of the selected range, will most likely be selected using the same pairs of opposing electrodes to which the attractive DC and repulsive voltages are applied if they are selected in a subsequent mass filtering step.

    30. A mass spectrometer according to claim 18, wherein the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied are switched based on one or more use-dependent triggers.

    31. A mass spectrometer according to claim 30, wherein the one or more use-dependent triggers comprises one or more time-dependent or event-dependent triggers

    32. A mass spectrometer according to claim 31, wherein the one or more time-dependent or event-dependent triggers comprises running a mass calibration procedure or elapse of a predetermined time period since the pair of opposing electrodes were last switched.

    33. A mass spectrometer according to claim 18, wherein the controller is configured to collect and store usage data representing the usage of each pair of opposing electrodes when each of the attractive DC voltage and the repulsive DC voltage is applied and, based on the usage data, switch the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied such that on average each pair of opposing electrodes spends substantially half the time with the attractive DC voltage applied to it and half the time with the repulsive DC voltage applied to it.

    34. A mass spectrometer according to claim 18, wherein the controller is configured to switch the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied based on data representing an amount of contamination on each pair of opposing electrodes.

    35. A mass spectrometer according to claim 18, further comprising one or more mass pre-filters, located upstream of the quadrupole mass filter, for filtering the ions before the quadrupole mass filter, wherein the one or more mass pre-filters are controlled to transmit to the quadrupole mass filter ions within a pre-selected range of mass-to-charge ratios that includes but is wider than the selected range of mass-to-charge ratios selected by the quadrupole mass filter.

    36. A mass spectrometer according to claim 35, wherein the pre-selected range has a width greater than 10 Th, or greater than 50 Th, or greater than 100 Th.

    37. A mass spectrometer according to claim 35, wherein the one or more mass pre-filters comprise one or more quadrupole mass pre-filters, wherein a pair of opposing electrodes of the one or more quadrupole mass pre-filters to which an attractive DC voltage is applied and a pair of opposing electrodes to which a repulsive DC voltage is applied are switched at the same times as switching the configuration of the quadrupole mass filter.

    38. A mass spectrometer according to claim 35, wherein the controller is further configured to increase the energy of the ions as they enter the quadrupole mass filter when the ion transmission of the quadrupole mass filter falls due to a build-up of contamination on the electrodes.

    39. A mass spectrometer, comprising: an ion source for generating ions from a sample having an initial range of mass-to-charge ratios; a quadrupole mass filter having a set of selection parameters for mass filtering the ions so as to transmit ions through the quadrupole mass filter within at least one selected range of mass-to-charge ratios that is narrower than the initial range, while ions outside the selected range are not transmitted, wherein the quadrupole mass filter comprises four parallel elongate electrodes arranged in opposing pairs to which are applied RF and DC voltages, wherein an attractive DC voltage that is attractive to the ions is applied to one pair of opposing electrodes and a repulsive DC voltage that is repulsive to the ions is applied to the other pair of opposing electrodes, wherein a portion of the ions outside the selected range that are not transmitted collide with the electrodes and cause a build-up of contamination on the electrodes; a mass analyser or detector to analyse or detect ions transmitted through the quadrupole mass filter; and a controller configured to control the quadrupole mass filter and switch a configuration of the pairs of opposing electrodes to which the attractive DC voltage and the repulsive DC voltage are applied multiple times over the course of repeating steps of generating ions and mass filtering the ions, such that over long term operation of the mass spectrometer the build-up of contamination on each pair of opposing electrodes is substantially equal, whereby for a narrowest selected range of ions transmitted through the quadrupole mass filter, the width of the range at half-maximum ion transmission changes by not more than 10% when an ion transmission efficiency of the quadrupole mass filter falls by 50% or more due to the build-up of contamination on the electrodes.

    Description

    BRIEF DESCRIPTION OF THE DRAWINGS

    [0075] FIG. 1 shows schematically electrical and mechanical layout of a quadrupole mass filter.

    [0076] FIG. 2 shows schematically a mass spectrometer comprising a quadrupole mass filter in tandem with an orbital trap mass analyser.

    [0077] FIG. 3 shows two configurations, A and B, of the pairs of opposing electrodes to which the attractive DC voltage and the repulsive DC voltage are applied, and the usage of configurations A and B when applying the hashing algorithm based upon the rounded-down isolation centre mass and, in (a)-(e), the change in frequency of configuration switching in the isolation centre mass-domain by applying various factors from 0.25 to 4.0, whilst maintaining balanced usage of each configuration (as shown by the y-axis) label.

    [0078] FIG. 4 shows the usage of configurations A and B of the pairs of opposing electrodes when applying the hashing algorithm based upon the rounded down first mass and rounded up last mass of an isolation window for various isolation window widths in (a)-(d).

    [0079] FIG. 5 shows a simulation of the usage of configurations A and B from post-acquisition analysis of data from a top15 DDA experiment, taking MS and MS2 scans into account (upper plot), and taking only MS2 scans into account (lower plot). The hash code was calculated from the rounded-down isolation center mass divided by the factor 0.5.

    [0080] FIG. 6 shows an example of isolation profile drift (m/z 74 width 0.8) due to quadrupole contamination over more than 300 hours of analysis of a sample containing Ubiquitin with rod switching deactivated (plot A) and rod switching activated (plot B). Errors in isolation width and center mass are calculated relative to the theoretical (or set) values.

    DETAILED DESCRIPTION OF EMBODIMENTS

    [0081] In order to enable a more detailed understanding of the invention, various embodiments will now be described with reference to the drawings. It should be understood that the scope of the invention is not limited to such embodiments, which are examples only.

    [0082] Referring to FIG. 1, a quadrupole mass filter 2 shown schematically comprises four parallel elongate electrodes 4a-4d, which in the shown embodiment are rods, spaced apart in a square arrangement around a central axis. The electrode cross sectional shape is round but in other embodiments the electrode shape could be hyperbolic or rectangular (flat). Opposing electrodes are connected together electrically and a voltage is applied between one pair of rods and the other, which comprises a radio frequency (RF) voltage with a DC offset voltage. Ions travel through the quadrupole between the rod electrodes. For given values of RF and DC voltages, ions of a certain mass-to-charge ratio (m/z) will be transmitted through the quadrupole along the central axis between the rods as shown by arrow A, while other ions will have unstable trajectories and collide with the rod electrodes. An attractive DC voltage (e.g. negative voltage for positive ions) is applied to one pair of opposing rods (4a, 4b) and an equal magnitude repulsive DC voltage (e.g. positive voltage for positive ions) is applied to the other pair of opposing rods (4c, 4d). The attractive and repulsive DC voltages impose a mass cut-off to the range of ion m/z ratios that can pass through the quadrupole filter. Typically, ions with m/z ratios higher than the selected m/z ratio collide with the attractive rods, while ions with lower m/z ratios collide with the repulsive rods. With an appropriate calibration of the RF and DC voltages, the quadrupole mass filter can filter ions over a wide-range of m/z ratios and with variable mass selection window widths as known in the art.

    [0083] Typically, due to quadrupole manufacturing techniques, mechanical tolerances and/or electronics limitations, the attractive and repulsive DC voltages during instrument operation are always applied to the same opposing rod pairs. This means that as ions are filtered by the device, ions with unstable trajectories (especially having a mass-to-charge ratio greater than the isolated m/z) will preferentially deposit on one pair of opposing rods compared to the other pair. Over time, especially under high ion load and challenging sample conditions, the deposition of material in this way and subsequent charging of this material will lead to disturbances in the quadrupolar field and thus the performance of the mass filter will suffer, for example in the form of transmission loss and calibration obsolescence. The quadrupole mass filter then requires mechanical cleaning to regain the lost performance. The invention addresses this problem of robustness of quadrupole mass filters. As will be described, the invention can enhance the robustness without a substantial loss in mass filtering performance, including the quantitative accuracy.

    [0084] The invention is based on alternating the pair of opposing rods to which the attractive and repulsive DC voltages are applied, thereby distributing the deposited material approximately equally on all four rods over the long term use of the instruments (e.g. over a number of days, weeks or months). The process of alternating the rod pairs receiving the DC voltages is herein variously referred to as rod switching or switching rods. In addition to effectively doubling the surface area for material deposition, equal deposition of material on all four rods ensures that disturbances to the quadrupolar field are matched on each rod, thus minimizing their effect. This has been found to lead to a more than 2 increase in the time between required cleaning of the rods and lower contamination-related performance loss.

    [0085] An example of a mass spectrometer comprising a quadrupole mass filter is shown schematically in FIG. 2. The mass spectrometer 10 comprises an atmospheric pressure ion source 12, such as an ESI source. It will be appreciated that the ion source of the mass spectrometer can be interfaced to a separation device such as a chromatograph (not shown). Generated ions having an initially wide mass range pass through a transfer tube 14 and an RF electrodynamic ion funnel 16 in a first stage of vacuum of around 3 mbar in use. After passing through an ion funnel lens 18, the ions enter an injection flatapole 20. The injection flatapole 20 is a quadrupole comprising four elongate electrodes having rectangular cross section and flat surfaces facing the ions. An RF voltage is applied to the injection flatapole 20. In some embodiments, additional DC voltages can be applied to the opposing pairs of the electrodes of the injection flatapole 20 (voltages of equal magnitude but opposite polarity) to provide a coarse mass filtering of the ions, i.e. to filter ions outside of a narrower selected mass range transmitted by a downstream quadrupole mass filter 28. The injection flatapole 20 can therefore act as a mass pre-filter as described in more detail below. After exiting the injection flatapole, the ions pass through a lens 22, a bent flatapole ion guide 24 which can remove neutral species, and a further lens 26.

    [0086] Mass filtering of the ions can then be performed in a quadrupole mass filter 28 comprising four hyperbolic shape rod electrodes. The quadrupole mass filter 28 is constructed as a segmented quadrupole comprising a main quadrupole segment and end segments at each end. The quadrupole mass filter 28 is housed in a vacuum chamber at a pressure of about 310.sup.5 mbar in use. Operating parameters of the quadrupole mass filter 28 in the form of RF and DC voltages applied to the rods are set in accordance with required mass selection parameters so as to transmit ions through the quadrupole mass filter within at least one selected range of mass-to-charge ratios that is narrower than the initial mass range of the ions from the ion source, or narrower than a pre-filtered mass range if pre-filtered by the flatapole 20. A portion of the ions outside the selected range that are not transmitted by the quadrupole mass filter 28 collide with the rods and cause a build-up of contamination on the rods, which is addressed by the invention and described further below. Ions that have been mass filtered in this way are subsequently mass analysed or detected.

    [0087] The ions leaving the quadrupole mass filter 28 pass through split gate 30, 32 and a transfer multipole 34, before entering an RF curved linear ion trap 38 (C-trap) though an entrance lens 36. The split gate 30, 32 transmits ions during filling of the C-trap 38 and deflects them at other times. The ion trap 38 also has an exit lens system 40. Trapping DC voltages can be applied to the entrance and exit lenses of the ion trap 38 so as to trap and cool ions therein. Ions from one or more mass filtering steps, e.g. within one or more mass selection ranges, can be trapped together in the ion trap 38. The ions are then ejected radially from the ion trap 38 by switching off its RF and applying a DC ejection pulse to send the ions as a pulse via a Z-lens 40 into an electrostatic orbital trapping mass analyser 42 (an Orbitrap mass analyser), which is a type of Fourier transform mass analyser (FTMS analyser) and has a pressure inside of less than 10.sup.9 mbar. It will be appreciated that in other embodiments, another type of mass analyser could be used, such as time-of-flight, FT-ICR etc. In some embodiments, the ions mass filtered by the quadrupole mass filter 28 can instead be detected by a detector positioned downstream (for example in place of the ion trap 38 and the other downstream ion optics), i.e. without further mass analysis. Such a detector can be an electron multiplier type or Faraday cup. A mass spectrum can be obtained in that case by scanning the mass selection range of the quadrupole mass filter 28 and detecting the ions at each mass in the range.

    [0088] In some embodiments, the mass filtered ions can be processed by transmitting them through the ion trap 38 into a gas-filled collision cell 44 (in this embodiment a higher energy collision dissociation (HCD) cell) and setting a DC offset between the ion trap 38 and collision cell 44 to cause the ions to fragment in the collision cell 44. The fragment ions from the collision cell 44 are returned to the ion trap 38, for example by changing the DC offset of the collision cell, before ejection to the mass analyser 42. The mass analyser provides a mass spectrum of the ions analysed.

    [0089] The ion source 12, RF ion funnel 16, injection flatapole 20, quadrupole mass filter 28, ion trap 38 and mass analyser 42, as well as other components of the mass spectrometer, are each under the control of a system controller 50, which is thereby able to control the generation of the ions, mass filtering and mass analysis. The system controller 50 comprises a computer, which functions as a data processor for receiving data from the mass analyser representative of the quantity of mass analysed or detected ions and processing the data to provide a mass spectrum and/or quantitative analysis of the ions. The system controller 50 further comprises a display and interaction means, in particular a keyboard and/or a mouse, so that the user can view and enter information.

    [0090] The system controller 50 further comprises various voltage supplies and associated control electronics under the control of the computer, which is configured to perform the method of the invention. The system controller 50 is configured to transmit the at least one selected range of mass-to-charge ratios thorough the quadrupole mass filter 28 in accordance with set selection parameters. The system controller 50 furthermore controls the rod switching of the quadrupole mass filter 28, in order to switch the rods to which the attractive and repulsive DC voltages are applied in accordance with the invention.

    [0091] As mentioned, a portion of ions outside the selected range that are not transmitted by the quadrupole mass filter 28 collide with the rods and cause a build-up of contamination on the rods. The invention addresses this by switching the pair of opposing rods to which the attractive and repulsive DC voltages are applied multiple times, thereby distributing the deposited material approximately equally on all four rods (rod switching or switching rods).

    [0092] One simple way to ensure equal deposition of material on all four rods, is to switch rods for each load of ions passed through the quadrupole, i.e. for each mass filtering step. For a mass spectrometer of the type shown in FIG. 2 operating at a 40 Hz mass analysis rate, for example, the quadrupole rods would likewise switch at 40 Hz. However, this strategy, while simple, has major performance drawbacks. Since each rod pair is typically somewhat mechanically different to the other, differences in ion transmission through the quadrupole between each configuration of the pairs of opposing rods to which the attractive and repulsive DC voltages are applied will manifest as oscillating signal intensity when monitoring a single ion or range of ions. For selected ion monitoring (SIM) or selected (or parallel) reaction monitoring (SRM/PRM) approaches, such signal oscillations can reduce the accuracy of quantification using peak area. Additionally, when isolating a range of ions, for instance in a data independent acquisition (DIA) scheme, the transmission differences when rod switching for ions near the extremes of the mass selection window can be greater than the transmission differences for ions near the centre of the selection window due to differences in the calibrations for each rod pair. Likewise, this reduces the quantitative accuracy when comparing the intensity of multiple ions in a single selection window.

    [0093] In order to minimize these drawbacks, a preferred embodiment encodes the quadrupole mass selection parameters into a code and uses properties of the code, along with a set of rules to determine the pair of opposing rods to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied. In this way, the configuration of rods is switched based on the selection parameters of the quadrupole mass filter. This ensures quantitative accuracy over a wide-range of experiment types and between experiments. The system controller 50 is configured to calculate a unique code for each set of selection parameters and, based on at least one rule, use the unique code to determine the pair of opposing electrodes to which the attractive DC voltage is applied and the pair of opposing electrodes to which the repulsive DC voltage is applied

    [0094] A preferred method of encoding the selected range of mass-to-charge ratios comprises calculating a hash code. The hash code can be calculated via any suitable algorithm, for example CRC-32, MDS, SHA-1, or other known hash functions can be used. A preferred method of encoding the selected range of mass-to-charge ratios comprises calculating a hash code of the rounded-down centre mass of the selected range of mass-to-charge ratios. If the result of the calculation, i.e. the hashed code, is even, then one configuration of the pairs of opposing electrodes is selected; if it is odd, the other configuration of the pairs of opposing electrodes is selected.

    [0095] Optionally, the controller can multiply or divide the hashed value by a factor in order to increase or decrease the frequency of rod switching in the mass-to-charge ratio domain, e.g. across the centre mass-to-charge of the selected range. FIG. 3 shows how the two rod pair configurations, designated as A and B, of the pairs of opposing rods to which the attractive and repulsive DC voltages are applied change with the centre mass of the selected range for centre masses from 500-600 Th. A hash code was calculated from the rounded-down centre mass divided by factors 0.25, 0.5, 1.0, 2.0 and 4.0 (respectively plots (a), (b), (c), (d) and (e)), which modulate the switching frequency with centre mass. Next to the y-axis label is indicated the percentage of selection center masses assigned to rod pair A. It can be seen that approximately 50% of the centre masses are assigned to rod configuration A (and thus approximately 50% of the centre masses are assigned to rod configuration B). With this method, the rod assignment for a specific mass selection centre mass is independent of the selected range width used. In some embodiments, however, it may be preferred to select the abovementioned factor such that the anticipated selected mass range, usually known before data collection, is sufficiently smaller than the switching intervals in the mass-to-charge domain (the centre mass domain), for example by reference to the mean average of the switching intervals. This ensures that co-isolated ions with mass-to-charge ratios within [x0.5w, x+0.5w] in a selection of centre mass x using a window of width w will likely be selected with the same configuration of rod pairs if selected for subsequent mass filtering steps. FIG. 3 shows the effect of the aforementioned factors on rod switching intervals for a centre mass range of m/z 500-600: for factors (a) 0.25, (b) 0.5, (c) 1.0, (d) 2.0, and (e) 4.0, the rod switching intervals are 0.5-1.0 Th, 1.0-2.0 Th, 2.0-4.0 Th, 4.0-8.0 Th, and 8.0-16.0 Th, respectively. If, on the other hand, an experiment contains only a small set of known ions falling in a small mass-to-charge range, setting a factor that minimizes the rod switching interval (i.e. maximizes the number of rod switches) may be required to maintain equal usage of the rod pairs.

    [0096] Alternatively, the code can be calculated taking the width of the selected mass range into account. The hash code could be calculated, for example, from the result of concatenating the rounded-down first mass of the selected range to the rounded-up last mass of the range. Here, the configuration of the rod pairs assigned for a particular selected centre mass-to-charge does not necessarily stay the same if the width of the selected range changes. FIG. 4 shows how the two rod pair configurations, A and B, change with the centre mass of the selected range for centre masses from 500-600 Th when the hash code was calculated from the concatenation of the rounded-down first mass of the range and rounded-up last mass of the range at several selected range widths. The widths were 0.4 Th, 1.0 Th, 2.0 Th, and 10.0 Th (respectively plots (a), (b), (c), and (d) in FIG. 4). Next to the y-axis label is indicated the percentage of selection centre masses assigned to rod pair A. It can be seen that approximately 50% of the centre masses are assigned to rod configuration A (and thus approximately 50% of the centre masses are assigned to rod configuration B). In some preferred embodiments, the manner of creating the hash code is limited by a requirement that each time the same ionic species (in terms of mass-to-charge ratio) is analysed under conditions that are experimentally comparable, the same configuration of rod pairings of the quadrupole is selected. In this way, the quantitative accuracy of the assay is maintained within and between experiments.

    [0097] Table 1 shows an example of a code-based strategy for how the rod switching can be controlled for several mass spectrometry experiment types, which are common for example in proteomics: TopN data dependent acquisition (DDA); Targeted SIM with non-overlapping windows; Targeted SRM/PRM, Data independent acquisition (DIA) with equal windows; DIA with unequal windows; and DIA with overlapping windows. The hash code was calculated based on the centre mass of the selected range with a dividing factor of 0.5, i.e. according to scheme (b) in FIG. 3. In the table, the mass range or the centre mass (CM) of the mass selection is given along with the CM/Factor, the hash code value and the quadrupole rod configuration assignment (A or B).

    [0098] The same code based strategy shown in Table 1 was applied post-acquisition to data from a representative top15 DDA experiment of a typical proteomics sample with the results shown in FIG. 5. If all scans (MS and MS2) are taken into account, the quadrupole rod switching strategy results in, approximately, 63%/37% usage of the two configurations of rod pairs for mass selection. However, if the MS scans, which do not contribute significantly to rod contamination as most ions are passed through the device are not included in the usage calculation, the rod pair usage is roughly equal at 50%/50%.

    TABLE-US-00001 TABLE 1 Experiment Scan Type Q CM Q CM/Factor Hash Code Quad Rod TopN DDA Full Scan 300-3000 1650 3300 476632517 A MS2 645.365 w 1.0 645.365 1290 1717685296 B MS2 355.442 w 1.0 355.442 710 1054940441 A MS2 424.255 w 1.0 424.255 848 1175529043 A . . . Full Scan 300-3000 1650 3300 476632517 A MS2 2234.355 w 1.0 2234.355 4468 3698447437 A MS2 715.162 w 1.0 715.162 1430 2550355976 B MS2 1533.454 w 1.0 1533.454 3066 2702666031 A . . . Full Scan 300-3000 1650 3300 476632517 A MS2 644.883 w 1.0 644.883 1289 111560149 A MS2 355.333 w 1.0 355.333 710 1054940441 A MS2 423.415 w 1.0 423.415 846 2712210260 B Targeted SIM with SIM 524.265 w 5.0 524.265 1048 3734040097 A Non-Overlapping SIM 195.088 w 1.2 195.088 390 4046536653 A Windows SIM 1521.998 w 3 1521.998 3043 3813408546 B SIM 636.455 w 0.7 636.455 1272 384598162 B . . . SIM 524.265 w 5.0 524.265 1048 3734040097 A SIM 195.088 w 1.2 195.088 390 4046536653 A SIM 1521.998 w 3 1521.998 3043 3813408546 B . . . SIM 636.455 w 0.7 636.455 1272 384598162 B Targeted MS2 644.883 w 1.0 644.883 1289 111560149 A SRM/PRM MS2 355.333 w 1.0 355.333 710 1054940441 A MS2 423.415 w 1.0 423.415 846 2712210260 B MS2 1521.008 w 1.0 1521.008 3042 2488061876 B . . . MS2 644.883 w 1.0 644.883 1289 111560149 A MS2 355.333 w 1.0 355.333 710 1054940441 A MS2 423.415 w 1.0 423.415 846 2712210260 B MS2 1521.008 w 1.0 1521.008 3042 2488061876 B . . . DIA with MS2 300-350 325 650 1531949610 B Equal MS2 350-400 375 750 1519245341 A Windows MS2 400-450 425 850 1372692256 B MS2 450-500 475 950 1343485207 A MS2 500-550 525 1050 3377485650 B . . . DIA with MS2 300-310 305 610 1059288878 B Unequal MS2 310-400 355 710 1054940441 A Windows MS2 400-425 412.5 825 1861942632 B MS2 425-575 500 1000 3022496535 A MS2 575-680 627.5 1255 3133044659 A MS2 680-700 690 1380 2126026566 B MS2 700-1000 850 1700 2976429458 B . . . DIA with MS2 295-355 325 650 1531949610 B Overlapping MS2 345-405 375 750 1519245341 A Windows MS2 395-455 425 850 1372692256 B MS2 445-505 475 950 1343485207 A MS2 495-555 525 1050 3377485650 B . . .

    [0099] Alternatively to, or in addition to, the code-based switching approach, the rod pairs can be switched at specific points in time based on user interaction, i.e. a use-dependent trigger. The use-dependent or use-based trigger can comprise one or more time-dependent or event-dependent triggers. For example, the quadrupole rods may be switched every time the user runs a calibration procedure. As this is usually done on a regular basis and/or at regular intervals (daily, weekly etc.), the rod switching will likewise occur regularly at the same time. Since a user will usually analyse a set of related samples in one block of experiments without running intervening calibrations, comparisons between analyses of these samples will remain quantitatively accurate as they were all acquired using the same rod pair configuration.

    [0100] A downside of an approach based on user interaction is that the period between rod switches in some cases can be long compared to the scan rate of the mass spectrometer (days or weeks between rod switching events versus, e.g., 40 Hz scan rate), and, as it is based on user interaction, there is no guarantee of achieving an exact 50/50 balance of the contamination load on the quadrupole rod pairs. Thus, such an algorithm should preferably additionally track the usage (e.g. in time spent, number of scans or load) of each rod pair configuration in order to omit switch events based on a criteria (e.g., if a calibration is started multiple times in a row, or is started within a certain number of scans of the previous calibration) and thereby improve the contamination load balance on the rod pairs. This could comprise in simple cases tracking total events (x ion injections in A configuration, x ion injections in B configuration), in time units (total ion injection time for all injections using rod pair A and B), or in charge units (e.g. by taking the Orbitrap-measured ion current for each ion injection additionally into account (giving a total charge accumulated in A and B configurations or a total charge lost to the electrodes as described above (i.e. through a comparison of the ion current when substantially all ions are transmitted through the quadrupole filter (in a prior MS1 scan in a DDA experiment for instance) and the ion current remaining after the mass filtering event)).

    [0101] In some preferred embodiments, the mass spectrometer can track, e.g. as part of routine calibrations or evaluations, the rate of charge-up on each pair of opposing electrodes as a shift in the quadrupole main segment electrode DC stopping curve per unit charge impinged. This can be measured by scanning the transmission (ion current) versus ion energy through the quadrupole, typically by scanning the offset of the quadrupole main segment. Alternatively, the ion energy can be scanned by changing the voltage of upstream ion optics such as the bent flatapole 24 and all preceding optics. The ion current vs ion energy shows a characteristic S-curve with zero transmission when the ions start from a potential below that of quadrupole rods and full transmission when the energy is high. The centre of the S-curve (50% transmission) indicates the actual effective offset of the quadrupole rod. Alternatively, another approach to measure the rate of charge-up on each pair of opposing electrodes can be to set the spectrometer such that positive ions deposit only on one pair of opposing electrodes and negative ions deposit only on the other pair, intermittently measure (e.g. with positive ions) the ratio of the transmission of the quadrupole for both configurations of the pairs of opposing electrodes, and continue these steps of deposition and transmission measurement alternately over time. It is further possible to measure the rate of charge-up on each pair of opposing electrodes by measuring how much the transmission curves for each configuration of opposing electrodes have diverged from each other relative to the clean state. This rate of charge up correlates with the relative contamination levels of the two pairs of electrodes. The spectrometer controller can compare the two rates (the rates for each electrode pair) and feed this information into an active balancing system. In the balancing system, when an imbalance in the rod pair usage is detected by monitoring one or more of the aforementioned tracking measurements, the system actively biases the rod switching algorithm to bring the rod usage to a balanced state (equal time and/or contamination on each rod pair). This could be accomplished (depending on the application mode) by modifying the hashing algorithm, or if a time-based switching algorithm is used by using different times for each rod pair (e.g. instead of 5 s in configuration A and 5 s in configuration B, using 5 s in A and 4 s in configuration B), or if an event triggered mode is used by omitting one or more rod pair switch events.

    [0102] A combination of the code-based and the use-triggered rod switching approaches can be employed and may be preferable as the code-based approach can provide for a high switching rate and good balance of rod pair usage for MS2 scans, and the use-triggered approach can balance fixed window MS scans over the long term.

    [0103] To illustrate the benefits of rod switching according to the present invention, the results of a contamination robustness experiment are shown in FIG. 6. A highly concentrated sample of Ubiquitin was continuously analysed over several weeks (more than 300 hours). Over 8 hour periods, the top ten intensity charge states of Ubiquitin were mass selected cyclically by the quadrupole mass filter of the mass spectrometer shown in FIG. 2. Following this period, the mass spectrometer performed tests to assess the contamination of the quadrupole by measuring the drift in the mass isolation profiles over time (normalised intensity against isolation mass). An example for one isolation window, m/z 74 width 0.8 Th, is shown in FIG. 6. The width of the window is measured as the width at half-maximum intensity. When rod switching was deactivated (FIG. 6A), the isolation profile width error (relative to theoretical (set) width) deviated up to 35% and the centre mass error (relative to theoretical (set) centre mass) deviated up to 20% over the 300 hours of Ubiquitin analysis. When rod switching was activated (FIG. 6 B) in accordance with the invention, both isolation width error and centre mass error deviated by less than +/10% of the theoretical values. Some embodiments can thus provide that for the narrowest selected range of ions transmitted through the quadrupole mass filter, the width of the range at half-maximum ion transmission changes by not more than 10% when an ion transmission efficiency of the quadrupole mass filter falls by 50% or more due to the build-up of contamination on the electrodes.

    [0104] In some critical user applications, the user may select the intended application, for example by a setting in the software of the system controller 50 of the mass spectrometer (e.g. Small Molecule Quantification setting or Proteomics setting etc.). The controller of the mass spectrometer then decides, based on pre-determined (accuracy/robustness) requirements of that application, whether to use rod switching and which type of rod switching algorithm or function to apply during the analyses.

    [0105] The invention is preferably applied to a quadrupole mass filter having analytical resolution capability, preferably an analytical quadrupole mass filter, that is capable of, and typically used for, filtering a relatively narrow selected mass range, e.g. having a width that is 20 Th or less, 10 Th or less, 5 Th or less, 2 Th or less, or 1 Th or less, especially 2 Th or less, or 1 Th or less. The invention, however, can be implemented on such a quadrupole mass filter in combination with one or more additional quadrupole mass filters that have reduced analytical performance upstream of the analytical mass filter. Fidelity of mass isolation is determined by the number of RF cycles experienced by ions during their transit through a mass filter and is usually defined by the length of the filter. Thus, in some embodiments, for example, a first (and shortest) mass filter could isolate a mass window of more than 100 Th (e.g. 300 Th), an optional second (and longer than the first) mass filter could isolate a window of 10-50 Th (e.g. 20 Th), and a third, high resolution analytical filter could isolate a window of less than 1 Th (e.g. 0.4 Th). Assuming simplistically a uniform distribution of ions over a mass range of 1200 Th, the first filter would absorb 75% of all ions on its rods, the second filter 23.3% of all ions, and the third, analytical filter, 1.6% of all ions. As mentioned above, in the mass spectrometer shown in FIG. 2, the injection flatapole 20 could function as a first quadrupole mass filter upstream of the analytical mass filter 28. In such embodiments, the methods and means described above for rod switching with one quadrupole mass filter could likewise be applied to any number of mass filters in a series of quadrupole mass filters. The switching events could be the same for each mass filter. Ideally, one of the mass filters, for instance the final analytical filter, would determine the switching state of the rods for all of the filters in the series. In other words, a rod switch of the analytical mass filter would trigger the other mass filters to concurrently switch rods. To maintain quantitative accuracy, the rod switch states of the other filters are preferably always linked to a specific state of the analytical filter (e.g. switching between rod pair configurations B-A-B, and A-B-A, for a 3 filter series).

    [0106] The symmetrical nature of contamination deposition resulting from use of the invention ensures that the gradual charging of contaminated rods also occurs symmetrically. An increasing potential barrier along the path of ion travel formed by the gradually increasing charging of the deposition material progressively hinders the ions from passing through the mass filter. Thus, it can be preferable to increase the energy of the ions as they enter the quadrupole mass filter when the ion transmission of the quadrupole mass filter falls due to a build-up of contamination on the electrodes. Ion energy can be adjusted, for example by adjusting DC offsets between ion optical devices, lenses etc. In some embodiments, therefore, over the course of repeating the steps of generating and mass filtering ions multiple times, particularly over long term operation, the energy of the ions as they enter the quadrupole mass filter is progressively increased concomitantly with the build-up of contamination on the electrodes. In embodiments, having a series of two or more quadrupole mass filters, the ion energy in each filter can be adjusted or selected according to the different rates of build-up of contamination anticipated for each filter (e.g., the ion energy could be 20 eV in the first filter, 6 eV in the second filter, and 0.5 eV in the third filter) to ensure that the potential barrier from charging starts to affect ion transmission approximately at the same time in each filter. Thereafter, all of the mass filters could be cleaned during the same cleaning session, resulting in less down-time of the instrument. Thus, the relative energy of the ions as they enter each of the quadrupole mass filters can be adjusted dependent on the length and/or the average width of the mass selection range of the mass filter.

    [0107] It can be seen from the disclosure herein that the invention provides numerous advantages. The provision of rod switching can prolong the working time of a quadrupole mass filter before cleaning is needed, without significantly sacrificing quantitative and/or qualitative performance. The invention is especially beneficial for addressing contamination problems associated with proteomics experiments, i.e. analysis of multiply charged proteins and peptides, in both DDA and DIA modes. The mass filter contamination is converted from an asymmetric contamination process with respect to the pairs of opposing electrodes into a symmetric one, thus extending the robustness of the quadrupole in some cases by at least two times and increasing the time between each service of the filter (cleaning of electrodes). Embodiments of the invention ensure both contamination symmetry and maintenance of quantitative performance for many experiment types, for example using a mass selection window-dependent algorithm (such as the hashing technique to encode the mass selection parameters) and/or a user/mode-dependent trigger for selection and assignment of the repulsive and attractive DC rod pairs. The contamination effects can be further diminished by adjusting the energy of ions and/or using one or more pre-filters, with rod switching.

    [0108] Herein the term mass is generally used to refer to mass-to-charge ratio (m/z), in Thomsons (Th). It will be understood that, although some embodiments will determine the mass or mass-to-charge ratio of ions, this is not essential to the successful operation of the invention. Many different physical parameters such as (but not limited to) time-of-flight, frequency, voltage, magnetic field deflection etc. might be measured (dependent for example on the chosen method of ion detection), each of which is related to or allows for the derivation of the ion mass (m/z), i.e. is representative of the mass (m/z). However it is not necessary that the mass (m/z) itself is calculated in each case; it may be computationally more efficient not to convert measured parameters in a non-mass space into mass. Furthermore the quantity stored in the comparing database may itself not be held as a mass but instead a different quantity related to mass. The term mass spectrum herein thus means a spectrum in the m/z domain or spectrum in a domain directly related to or derivable from the m/z domain, such as the frequency domain for example. The term mass also refers generally to m/z, or frequency or any other quantity directly related to m/z and vice versa (e.g. the term frequency refers also to mass etc.). The terms mass and m/z are herein used interchangeably and accordingly a reference to one includes a reference to the other.

    [0109] The use of any and all examples, or exemplary language (for instance, such as, for example and like language) provided herein, is intended merely to better illustrate the invention and does not indicate a limitation on the scope of the invention unless otherwise claimed. No language in the specification should be construed as indicating any non-claimed element as essential to the practice of the invention.

    [0110] As used herein, including in the claims, unless the context indicates otherwise, singular forms of the terms herein are to be construed as including the plural form and vice versa. For instance, unless the context indicates otherwise, a singular reference herein including in the claims, such as a or an means one or more.

    [0111] Throughout the description and claims of this specification, the words comprise, including, having and contain and variations of the words, for example comprising and comprises etc, mean including but not limited to, and are not intended to (and do not) exclude other components.

    [0112] The present invention also covers the exact terms, features, values and ranges etc. in case these terms, features, values and ranges etc. are used in conjunction with terms such as about, around, generally, substantially, essentially, at least etc. (e.g., about 3 shall also cover exactly 3, or substantially constant shall also cover exactly constant).

    [0113] The term at least one should be understood as meaning one or more, and therefore includes both embodiments that include one or multiple components. Furthermore, dependent claims that refer to independent claims that describe features with at least one have the same meaning, both when the feature is referred to as the and the at least one.

    [0114] Any steps described in this specification may be performed in any order or simultaneously unless stated or the context requires otherwise.

    [0115] All of the features disclosed in this specification may be combined in any combination, except combinations where at least some of such features and/or steps are mutually exclusive. In particular, the preferred features of the invention are applicable to all aspects of the invention and may be used in any combination. Likewise, features described in non-essential combinations may be used separately (not in combination).

    [0116] It will be appreciated that variations to the foregoing embodiments of the invention can be made while still falling within the scope of the invention. Each feature disclosed in this specification, unless stated otherwise, may be replaced by alternative features serving the same, equivalent or similar purpose. Thus, unless stated otherwise, each feature disclosed is one example only of a generic series of equivalent or similar features.