Simplex optimization methods for instrumentation tuning
View Patent ↗In some embodiments, a method of optimizing operating parameters of an analytical instrument (e.g. lens voltages of a mass spectrometer) includes steps taken to minimize the method duration in the presence of substantial instrument noise and/or drift. Some methods include selecting a best point between a default instrument parameter set (vector) and a most-recent optimum parameter set; building a starting simplex at the selected best point location in parameter-space; and advancing the simplex to find an optimal parameter vector. The best simplex points are periodically re-measured, and the resulting readings are used to replace and/or average previous readings. The algorithm convergence speed may be adjusted by reducing simplex contractions gradually. The method may operate using all-integer parameter values, recognize parameter values that are out of an instrument range, and operate under the control of the instrument itself rather than an associated control computer.
1. A mass spectrometry method comprising:
performing mass-spectrometry measurements to evaluate a default mass spectrometer configuration parameter vector and a most-recent optimal mass spectrometer configuration parameter vector;
selecting one of the default mass spectrometer configuration parameter vector and the most-recent optimal mass spectrometer configuration parameter vector as a starting parameter vector according to a result of the mass-spectrometry measurements;
constructing a starting simplex proximal in parameter-space to the starting parameter vector; and
performing a simplex optimization using the starting simplex to generate an updated optimal mass spectrometer configuration parameter vector.
2. The method of claim 1 , further comprising performing a mass spectrometry measurement on a sample using the updated optimal mass spectrometer configuration parameter vector.
3. The method of claim 1 , wherein the optimal mass spectrometer configuration parameter vector comprises a plurality of mass spectrometer lens voltages.
4. The method of claim 1 , wherein the optimal mass spectrometer configuration parameter vector comprises a plurality of mass analyzer waveform parameters.
5. The method of claim 1 , wherein performing the simplex optimization comprises periodically re-measuring a best-point subset of an advancing simplex.
6. The method of claim 5 , wherein performing the simplex optimization comprises averaging a result of an original measuring of the best-point subset with a result of said re-measuring the best point subset.
7. The method of claim 5 , wherein performing the simplex optimization comprises replacing a result of an original measuring of the best point subset with a result of said re-measuring the best point subset.
8. The method of claim 5 , wherein the best-point subset consists of a simplex best point.
9. The method of claim 1 , wherein performing the simplex optimization comprises adjusting a convergence speed of the simplex optimization by reducing a contraction fraction with a size of a simplex used in the simplex optimization.
10. A mass spectrometry method comprising:
advancing a simplex comprising a set of mass spectrometer configuration parameter vectors; and
periodically re-measuring a best-point subset of the simplex.
11. The method of claim 10 , wherein advancing the simplex comprises averaging a result of an original measuring of the best-point subset with a result of said re-measuring the best point subset.
12. The method of claim 10 , wherein advancing the simplex comprises replacing a result of an original measuring of the best point subset with a result of said re-measuring the best point subset.
13. The method of claim 10 , wherein the best-point subset consists of a simplex best point.
14. The method of claim 10 , further comprising performing a mass spectrometry measurement on a sample using an optimal mass spectrometer configuration parameter vector generated by advancing the simplex.
15. The method of claim 10 , wherein advancing the simplex comprises adjusting a convergence speed by reducing a simplex contraction fraction with a size of the simplex.
16. The method of claim 10 , wherein each of the mass spectrometer configuration parameter vectors comprises a plurality of mass spectrometer lens voltages.
17. The method of claim 10 , wherein each of the mass spectrometer configuration parameter vectors comprises a plurality of mass analyzer waveform parameters.
18. A mass spectrometry method comprising:
constructing a sampling distribution in an N-dimensional parameter space, N>1, wherein the sampling distribution comprises a center and a plurality of external points disposed around the center, wherein for each of N parameter axes, the plurality of external points includes at least two points having axis coordinates on opposite sides of the center;
constructing a starting simplex by selecting a substantially non-degenerate subset of N+1 points from the center and at least a subset of the plurality of external points; and
advancing the starting simplex to generate an optimal mass spectrometer configuration parameter vector.
19. The method of claim 18 , wherein constructing the starting simplex comprises selecting the substantially non-degenerate subset of N+1 points from the center, a best external point, and a set of neighbors of the best external point.
20. The method of claim 19 , wherein:
the sampling distribution comprises an N-dimensional cuboid; and
the set of neighbors of the best external point comprises a set of neighboring corners of a best corner.