RAMAN ANALYSIS OF PHARMACEUTICAL DOSAGE FORMS
20230304935 · 2023-09-28
Inventors
- Pavel Matousek (Oxfordshire, GB)
- Julia Griffen (Cheshire, GB)
- Andrew Owen (Cheshire, GB)
- Lee Dowden (Cheshire, GB)
Cpc classification
G01N33/15
PHYSICS
International classification
Abstract
Methods and apparatus (10) for Raman spectral analysis of a sample (12), such as a pharmaceutical dosage form, are disclosed. Delivery optics (16) are used to deliver probe light to a delivery region (13) on the sample, and collection optics (20) are used to collect, from a collection region (17) on the sample spaced from the delivery region, the probe light following scattering through the sample. Each of a plurality of target Raman spectral features are measured in the collected light, and a spectral distortion of the collected light arising during scattering through the sample is determined. A property of the sample is then quantified using the target Raman spectral features in combination with the determined spectral distortion, such that the quantified property is compensated for the spectral distortion.
Claims
1. A method of Raman spectral analysis of a sample, comprising: using delivery optics to deliver probe light to a delivery region on the sample; using collection optics to collect, from a collection region on the sample spaced from the delivery region, said probe light following scattering through the sample; measuring each of a plurality of target Raman spectral features in the collected light; determining a spectral distortion of the collected light arising during scattering through the sample; and quantifying a property of the sample using the target Raman spectral features in combination with the determined spectral distortion, such that the quantified property is compensated for the spectral distortion.
2. The method of claim 1 wherein the spectral distortion arises from at least one of wavelength dependent absorption, and wavelength dependent diffuse scattering, during scattering of the probe light through the sample.
3. The method of claim 1 wherein the collection region is on an opposite side of the sample from the delivery region.
4. The method of claim 1 wherein the delivery region and the collection region are spaced apart by between 2 mm and 20 mm.
5. The method of claim 1 wherein quantifying the property of the sample comprises applying the target Raman spectral features to a quantification model which then provides the property of the sample.
6. The method of claim 5 wherein quantifying the property of the sample comprises compensating the measured target Raman spectral features for the determined spectral distortion before applying the compensated target Raman spectral features to the quantification model.
7. The method of claim 1 further comprising measuring each of a plurality of reference spectral features in the collected light, wherein the spectral distortion of the collected light is determined using the plurality of reference spectral features.
8. The method of claim 1 wherein determining the spectral distortion comprises applying the plurality of measured reference spectral features to a distortion model which then provides the spectral distortion.
9. The method of claim 8 further comprising testing one or more calibration samples to measure a plurality of sets of calibration spectral features, and training the distortion model using the plurality of sets of measured calibration spectral features.
10. The method of claim 9 wherein the calibration spectral features comprise one or more of: spectral features arising from Raman scattering of calibration probe light within the one or more calibration samples; spectral features arising from fluorescence stimulated by calibration probe light within the one or more calibration samples; and spectral features arising from elastic scattering of broad band calibration probe light within the one or more calibration samples.
11. The method of claim 9 wherein each set of calibration spectral features is measured in calibration probe light following transmission of the calibration probe light through a different configuration of the one or more calibration samples.
12. The method of claim 11 wherein each different configuration of the one or more calibration samples provides a different average path length through the one or more calibration samples of the calibration probe light in which the calibration spectral features are measured.
13. The method of claim 11 wherein each different configuration provides a different thickness, through the one or more calibration samples, between a calibration entry region where the calibration probe light is delivered to the one or more calibration samples, and a calibration collection region from which the calibration probe light is collected for detection of the calibration spectral features.
14. The method of claim 9 wherein at least some of the different configurations of the one or more calibration samples are provided by rotating the one or more calibration samples between the different configurations.
15. The method of claim 9 wherein at least some of the different configurations of the one or more calibration samples are provided by translating the one or more calibration samples between the different configurations.
16. The method of claim 15 wherein the rotation and/or translation is relative to optics arranged to deliver the calibration probe light to the one or more calibration samples, and/or relative to optics arranged to collect the calibration probe light from the one or more calibration samples for detection of the calibration spectral features.
17. The method of claim 9 wherein at least one of the configurations of the one or more calibration samples comprises a stack of a number of said calibration samples, where the number of calibration samples in the stack is different to the number of calibration samples in another of the configurations.
18. The method of claim 1 wherein the sample is a diffusely scattering solid object, and optionally wherein the sample has a diffuse scattering transport length of less than 1 mm.
19. The method of claim 1 wherein the sample is a pharmaceutical dosage form.
20-21. (canceled)
22. Apparatus for Raman spectral analysis of a sample, comprising: a laser light source arranged to generate probe light; delivery optics arranged to deliver said probe light to a delivery region on the sample; collection optics arranged to collect, from a collection region on the sample spaced from the delivery region, said probe light following scattering through the sample; a detector arranged to measure a spectrum of the collected light; an analyser arranged to measure each of a plurality of target Raman spectral features in the spectrum of the collected light, to determine spectral distortion of the collected light arising during scattering through the sample, and to quantify a property of the sample using the target Raman spectral features in combination with the determined spectral distortion.
23-27. (canceled)
Description
BRIEF SUMMARY OF THE DRAWINGS
[0036] Embodiments of the invention will now be described, by way of example only, and with reference to the drawings of which:
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
[0046] Referring to
[0047] For example, the sample may be more generally described as a discrete solid object, as diffusely scattering, or as a diffusely scattering solid object, such that probe light directed into the sample scatters diffusely through the sample. Such a sample may for example have a diffuse scattering transport length of less than about 2 mm, or less than about 1 mm. In some embodiments, samples may comprise or include liquids, slurries, gels and other non-solid materials, encapsulated as necessary in other materials.
[0048] Typical application areas may be for monitoring chemical composition properties of dosage forms sampled from a production line or other manufacturing process. Pharmaceutical dosage form samples, and indeed other samples of interest, may typically have a diffuse scattering transport length of less than 1 mm, within a range of about 0.1 to 1.0 mm, or within a range of about 0.05 mm to 0.5 mm.
[0049] Determined properties of pharmaceutical dosage forms may include measurements of concentrations or quantities, of one or more active ingredients or other components, or more usually a relative concentration of such a component to one or more other components, as well as measurements of concentrations or relative concentrations or quantities of polymorph forms, hydrated forms, solvate forms, salt forms, and degrees of crystallinity of one or more such active ingredients or components. The presence or concentration of impurities may similarly be detected.
[0050] The apparatus 10 may be arranged and operated to provide improved consistency of Raman spectral analysis across a plurality of similar samples 12, for example across a batch of pharmaceutical dosage forms which are intended to be substantially identical. Dosage forms of such a batch may typically be superficially identical or very similar, for example in terms of shape, size and composition, but may still comprise defects and/or variations in parameters such as physical dimensions, internal chemical content and composition, water content, compaction, and so forth.
[0051] The inventors have found that such defects and variations can give rise to variations in the degree of infrared absorption of the probe light which is used in Raman spectral analysis of such samples. More particularly, the degree of infrared absorption seen is typically wavelength dependent, so that following a Raman scattering event, Raman scattered probe light passing on through the sample is absorbed differently depending on the wavelength of that scattered light. Variations in the degree of infrared absorption within the sample thereby give rise to variations which are wavelength dependent in the observed intensity of Raman scattered light features, making it more difficult to accurately deduce properties of the sample from the Raman spectral features such as intensities of Raman peaks seen in collected probe light. In a similar way, the strength or degree of diffuse scattering is typically also at least weakly wavelength dependent, so can also give rise to variations which are wavelength dependent in the observed intensity of Raman scattered light features, both as a direct effect on propagation of the Raman scattered light through the sample, and in affecting the propagation paths and therefore also the infrared absorption.
[0052] By way of example, the amount of a particular pharmaceutical compound within a pharmaceutical dosage could be quantified from the ratio of intensities of two target Raman spectral peaks, one of which arises from Raman scattering by the compound, and one of which arises from an excipient such as a filler or diluent. If the degree of infrared absorption and diffuse scattering within the dosage of Raman scattered light contributing to each of these peaks changes by the same amount then such a ratio of intensities may be unchanged. However, if the degree of absorption and diffuse scattering changes by different amounts then the ratio of intensities is affected by the infrared absorption and scattering, making it more difficult to quantify the target compound from the ratio.
[0053] In practice, a compound within a sample is more likely to be quantified from a larger number of different target Raman spectral features such as peaks, for example using a principle component analysis or other multivariate or more generally other statistical technique. However, even if target Raman spectral features arising from the compound and target Raman spectral features arising from one or more reference species such as excipients are well distributed and interleaved with each other across the detected Raman spectrum, unacceptable levels of bias in the quantification of the compound may still take place under changes in the degree of infrared absorption and effects of diffuse scattering, due to these effects being wavelength dependent.
[0054] The apparatus of
[0055] The apparatus illustrated in
[0056] Generally, in a transmission configuration, the second surface 18 may be spaced from the first surface 14 in such a manner that forward scattering brings Raman scattered elements of the probe light to the second surface to be collected and detected, so that the sample is analysed in a transmission or forward scattering geometry. Although different arrangements are possible, in
[0057] For some dosage forms and more commonly for tablet forms, each of the first and second surfaces may be substantially parallel, often circular, and spaced from each other by a sidewall, and such that the dosage form has a generally rectangular cross section as seen in the main part of
[0058] The shapes and sizes of the delivery and collection regions 13, 17 may be chosen according to need and design. Typically, in a transmission geometry arrangement such as that of
[0059] Although in
[0060] The apparatus of
[0061] Typically, the laser light source 22 may operate in the near infrared, for example around 700 nm to 1000 nm, either as a continuous wave or pulsed source laser. Suitable average optical output power delivered to the sample 12 may be around 50 to 5000 mW, and a suitable spot diameter of the probe light beam at the sample 12 may be in the region of around 1 to 10 mm. Particularly small spot sizes may be avoided due to risks of heating or optical damage to the sample under test.
[0062] When implementing Raman spectral techniques, the collection optics 20 are usually designed to incorporate very good suppression of the wavelength band (i.e. fundamental wavelength) of the probe light as emitted by the laser source 22. Raman scattering cross sections are very small, so without such suppression the fundamental wavelength is likely to adversely affect accurate detection of Raman and other spectral features, even though these may be spaced by tens of nanometers or more in wavelength from the laser wave band. This suppression may be achieved using one or more optical filters such as holographic or dielectric notch or low pass filters within the collection optics 20 to suppress the laser waveband light which has been elastically scattered off, through or around the sample to be tested, as discussed in more detail below.
[0063] During optical analysis, the sample 12 may be supported or held in various ways by a support 40. For example, support 40 may be provided by a frame within which the sample rests or is held, by jaws of a robot manipulator or in other ways. Suppression of the laser waveband light in the collection optics 20 when detecting Raman spectral features 33 reduces the need to avoid stray probe light reflecting or scattering around the sample 12 and into the collection optics, as would usually be necessary if using infrared absorption spectroscopy or some other spectroscopic techniques. As a result, in many implementations the sample 12 to be tested may be suspended by the support 40 without particular need for an optical seal around the sides of the sample between the delivery optics 26 and collection optics 30 to prevent such stray light.
[0064] One or more detected spectra S, illustrated by the small graph in
[0065] Properties P, and if required raw or processed details of detected spectra S such as compensated target spectral features T′ may also be passed to other entities such as a locally connected personal computer 36. Such entities may provide output of aspects of the determined properties to a person monitoring the apparatus 10, for example in the form of displays of deviations of determined properties from expected values, audible or visible alerts to bring the attention of such a person to sufficiently significant deviations, and so forth. Properties P may also or instead be passed over one or more data networks, or stored on a data carrier for future use, and/or could be used to control a process such as a manufacture process used to create the sample under test, and so forth.
[0066] Although in
[0067] The analyser 30 may be arranged to compensate for spectral distortion using a distortion model 38 in combination with the detected spectrum S, and to quantify one or more properties of the sample using a quantification model 40 in combination with the detected spectrum S. The distortion model 38 may be determined or trained at least in part by testing one or more of calibration samples 42, and this process is illustrated in
[0068] As discussed in more detail below, the train distortion model process or element 44 may involve presenting calibration samples 42 to the apparatus 10, or to a similar apparatus, in such a manner that different average path lengths through the sample are followed before light is collected, thereby testing for different amounts of wavelength dependent infrared absorption and/or diffuse scattering. The train quantification model process or element 46 may for example involve presenting to apparatus 10, or to a similar apparatus, a plurality of such calibration samples each of which has a different, known concentration or total amount, of a particular chemical species or property of interest. To this end, there may be no, some, or complete overlap between the calibration samples 42 used in the two processes of training a distortion model and training a quantification model.
[0069]
[0070] To this end, the analyser 30 comprises a distortion detector 50. The distortion detector 50 comprises a reference feature detector 52 which is arranged to measure a plurality of reference spectral features R in the detected spectrum S. The measured reference spectral features are used by the distortion detector 50 to determine spectral distortion D of the collected light due to infrared absorption and/or diffuse scattering within the sample 12 affecting differently the transmission through the sample of different wavelengths. In particular, the distortion detector 50 may apply the reference spectral features R to a distortion model 38 which then provides the spectral distortion D detected from those reference spectral features, for example by fitting the reference spectral features to the distortion model to thereby evaluate one or more parameters of that model which provide a best fit. The determined spectral distortion D may be output in various forms, but at least provides the information required to define the degree of spectral distortion which is expected to be present in each of the target Raman spectral features T.
[0071] By way of a basic example,
[0072] Such a mapping is depicted in the solid, upper curve of
[0073] Whereas the solid upper curve D1 in
[0074] Typically, the distortion model may be defined or trained using at least two sets of calibration spectral features C, measured using one or more calibration samples which may be similar or essentially identical to the samples 12 to be analysed using the apparatus 10. In embodiments described below, multiple sets of calibration spectral features may be used where each set is collected using a different average path length of calibration probe light through the one or more calibration samples, and is therefore subject to a different degree of wavelength dependent infrared absorption and diffuse scattering. By providing a plurality of sets of calibration spectral features C, each measured under conditions of different levels of infrared absorption and diffuse scattering, the distortion model can then be used to define a parameterised scalable distortion curve which fits each set of calibration spectral features but interpolates between these sets. This scalable distortion curve can be fitted to reference spectral features of a sample under test, and the fitted distortion curve can then be used to compensate measured target spectral features for the same degree of infrared absorption and diffuse scattering. In this way, the curves D1 to D3 in
[0075] Each set of calibration spectral features may typically be magnitudes of a set of chosen spectral peaks (such as Raman spectral peaks), or spectral signals at wavelengths otherwise selected (such as positions within a fluorescence spectrum or within the spectrum of a broad band lamp).
[0076] The reference spectral features R may comprise one or more Raman spectral features. In order to determine the spectral distortion D without bias due to potentially varying contributions from different components within the sample, all of the reference spectral features may be attributable to Raman scattering from the same reference chemical component within the sample. Moreover, that reference chemical component should preferably provide a good distribution of reference spectral features across the spectral range of interest so that a reasonably representative determination of the distortion can be made across the full spectral range. A suitable reference chemical component within a typical tablet or other oral pharmaceutical dosage form for this purpose may be cellulose, lactose, or the active pharmaceutical ingredient (API) itself. However, in order to improve training of the distortion model 38 and its use in correcting for spectral distortion due to infrared absorption and diffuse scattering, multiple reference chemical species may be used to train and then apply the distortion model, by keeping the use of these species suitably separated in the training and use of the model.
[0077] In this context, reference spectral features R may arise from Raman scattering due to chemical components within the sample which also give rise to target spectral features T, and indeed some of the reference spectral features R may also be used as target spectral features T, and vice versa, subject to suitable conditions.
[0078] Instead, or in addition to, using Raman spectral features as reference spectral features for training and using the distortion model, detected levels of fluorescence may be used, for example as detected at each of a range of one or more wavelengths or wavenumbers, or as a curve fitted across a range of wavelengths. Fluorescence generated within the sample 12 due to passage of the probe light undergoes wavelength dependent infrared absorption and diffuse scattering in the same way as Raman scattered light at corresponding wavelengths, so can also or instead be used for the purposes of reference spectral features R detected in the collected light, and/or for the process 44 of training the distortion model as indicated in
[0079] The analyser 30 also comprises a quantifier 56. The quantifier 56 also receives the detected spectrum S, and comprises a target feature detector 58 which is arranged to measure a plurality of target Raman spectral features T in the spectrum S which are to be used to quantify a property P of the sample. In the arrangement of
[0080] Typically, the quantification model 40 may take as input the magnitudes of between about two and twenty target Raman spectral features, typically spectral peaks, some of which result from Raman scattering from the chemical species of interest, and some of which result from Raman scattering from one or more other species, such as excipients if the sample is a pharmaceutical dosage form. The quantification model may then typically provide a principal component or multivariate or other statistical model which relates the magnitudes of the target Raman spectral features to the property P of interest. Such quantification techniques are discussed for example in “Comparison of multivariate methods for quantitative determination with transmission Raman spectroscopy in pharmaceutical formulations”, Journal of Chemometrics 2010, 24, pages 674-680, Magnus Fransson, Jonas Johansson, Anders Sparén and Olof Svensson.
[0081] A particular example will now be presented of how the distortion model 38 may be trained by the train distortion model process or element 44 of
[0082] The train distortion model process 44 receives at least two sets of calibration spectral features, or more generally calibration spectra, C1 and C2 from one or more calibration samples 42 using the arrangement of
[0083] The degree of infrared absorption along a path of length x can be approximated as:
where I.sub.0 is the intensity of light at the start of the path, I is the intensity at the end of the path, a is an absorption constant, and the approximation arises from the first term of a Taylor series expansion.
[0084] The spectrum C1 may be considered as measured using a baseline (or central calibration point) configuration which provides approximately the same amount or profile of infrared absorption as found when training the quantification model, discussed elsewhere. On this basis, assuming that C2 then arises from a longer average path length than C1, we can write:
where F is a spectral distortion profile due to infrared absorption and the term a factors in the average path length increase from the arrangement used to measure C1 to the arrangement used to measure C2, and having measured C1 and C2 we can then provide:
For reference spectral features R from a sample where the average path length increase relative to the calibration sample spectrum C1 is a represented by an unknown b:
[0085] This equation (4) then provides the distortion model 38 through the known calibration spectra C1 and C2 with a single parameter b / a. Since equation (4) is specific for the particular wavelengths of the reference spectral features, to apply the model to a different set of target Raman spectral features T, the function of equation (4) may be interpolated to the wavelengths of the target Raman spectral features T denoted here by F being interpolated to f. The transformation from C1 to R is then deemed to also apply to transforming T′ to T, so the target Raman spectral features compensated for the determined spectral deformation can be calculated from:
In this particular case therefore, the spectral distortion D may be written as (1 - (b / a) (f a)). This spectral distortion D may be used either to compensate target Raman spectral features T before use by the analyser with the quantification model 40 (for example using a distortion compensation element 60 as shown in
[0086] The mathematical treatment above is just one example of how a spectral distortion model 38 may be determined or trained from calibration spectra and used to determine a spectral distortion for application in quantification of one or more properties of a sample. Other techniques may employ photon diffusion calculations or Monte Carlo modelling, alone or in combination with calculations such as the above and /or various multivariate analysis methods.
[0087] A number of ways in which multiple sets of calibration features, or calibration spectra, such as C1 and C2 above can be provided will now be described, such that the average path length of probe light passing through the calibration sample(s) 42, and therefore the amount of infrared absorption and/or diffuse scattering affecting each set of calibration spectral features, is different. This permits a distortion model 38 to be determined or trained using these sets of calibration spectral features, and then used by analyser 30 as discussed above.
[0088] In each described arrangement or technique below, the same apparatus of
[0089] For example, if a particular apparatus as illustrated in
[0090] In the arrangement of
[0091] Collection optics 120 then collect calibration probe light, which has been scattered within the calibration sample 42, from a collection region 117 on a second surface 118 of the calibration sample 42. Although in
[0092] Once the calibration probe light scattered through the calibration sample 42 to the collection region 117 has been collected by the collection optics 120, it is passed to detector 126, which as described above in respect of detector 26 in
[0093] The detector 126 outputs a detected spectrum S′ of the collected calibration probe light, and the analyser 130 then measures, in that spectrum, one or more sets of calibration spectral features C1, C2 .... These sets of calibration spectral features can then be used as described above in determining and correcting for spectral distortion of light collected in the arrangement of
[0094] If the laser light source 122 of
[0095] However, some or all of the calibration spectral features may instead be magnitudes of fluorescence at particular wavelengths or wavenumbers, such fluorescence arising from interaction of the laser calibration probe light with the material of the calibration sample 42. Use of such fluorescence features in addition to or instead of Raman features may be beneficial in enabling an even distribution of such features.
[0096] Although fluorescence arises within the sample due to a different mechanism from the Raman scattered light in which we are interested for determining a property of the sample 12, the subsequent behaviour of the fluorescent light at a particular wavelength or wavenumber under infrared absorption and/or diffuse scattering is the same as that for Raman scattered light at that wavelength. For this reason, either or both of fluorescence and Raman scattered features may be selected for use within the sets of calibration spectral features.
[0097] Although in
[0098] Alternatively, the laser light source 122 may be used to excite fluorescence in a fluorescence element 124, such as a “green glass” element, to provide such broad band near infrared calibration probe light. If the apparatus of
[0099] If broad band calibration probe light is used, then absorption and diffuse scattering of the broad band calibration probe light as it passes through the calibration sample 42 then gives rise to effects on the calibration spectral features as determined by the analyser 130 which correspond to the effects of infrared absorption and diffuse scattering on either Raman scattered light or fluorescence in the apparatus of
[0100] In order to measure more than one set of calibration spectral features C1, C2 ..., each of which arises from a different average path length of the calibration probe light, the apparatus of
[0101] These different configurations of one or more calibration samples 42 can be achieved in a number of ways including by rotation or translation of the one or more calibration samples 42, and/or by changing a number of calibration samples probed by using a single or two or more such samples in a stack. Generally, these different configurations achieve different average path lengths of the probe light by providing a different thickness, through the one or more calibration samples, between a calibration entry region where the calibration probe light is delivered to the one or more calibration samples, and a calibration collection region from which the calibration probe light is collected for detection of the calibration spectral features.
[0102] In
[0103] Just two, or more than two, different rotational orientations may be used, to measure two, or more than two corresponding sets of calibration spectral features, and if desired these different orientations may be achieved by rotating the sample 42 between the delivery and collection optics, or rotating the delivery and collection optics around the sample, or controlling the delivery and collection optics to change the positions of the delivery and collection regions on the sample in an equivalent manner, or some combination of these. The range of angular rotation between the different orientations or configurations could be quite small, for example in the region of 10 to 20 degrees, or much larger for example around 90 degrees.
[0104] A greatest difference in average path length through the sample, or thickness between the delivery and collection regions may be achieved by using a first configuration in which the delivery and collection regions are spaced from each other along a shortest, or minor axis of the sample, and a second configuration in which the delivery and collection regions are spaced from each other along a longest, or major axis of the sample. If the sample is a pharmaceutical tablet with opposite and largely planar surfaces separated by an edge face joining the perimeters of these surfaces, then the first configuration might place the delivery and collection regions at opposing locations on the two surfaces, and the second configuration might place the delivery and collection regions at opposing locations on the edge face.
[0105] To implement the relative rotation of the calibration sample relative to the delivery and collection regions, the sample may conveniently be mounted in a holder 140, or grasped by a gripper, and the holder or gripper connected to a rotation mechanism 150 arranged to rotate the sample to the required orientations under the control of a controller 152. The controller 152 can then indicate to the analyser 130 as to when the sample is in the required position to obtain one of the sets of calibration spectral features, and the analyser 130 can then measure the required set of calibration spectral features for that configuration. In some embodiments the holder or gripper may keep the sample stationary, and instead the rotation mechanism acts to move or control the delivery and collection regions on the sample stationary, with the required rotation being achieved by moving or otherwise controlling the delivery and/or collection optics.
[0106] In
[0107] Similar to the arrangement noted in respect of
[0108] In some arrangements, translation and rotation may be combined, using a combined rotation/translation mechanism.
[0109] Another way in which multiple sets of calibration spectral features may be obtained for different average path lengths through the one or more calibration samples is to measure a first set of calibration spectral features through a first number of such calibration samples, and to measure a second set of calibration spectral features through a second number of such calibration samples. Typically, one of these configurations may use just one such calibration sample, and one or more other configurations may then use a stack of two or more calibration samples, thereby doubling, or further increasing according to the number of samples, the total path length.
[0110] One arrangement for achieving this is illustrated in
[0111] The provision of different configurations of calibration samples in this way may be most effective when each sample comprises opposing largely planar surfaces, so that two or more such samples can be stacked so as to closely abut across the planar surfaces where these are placed together, but the technique may also be effective if the opposing surfaces are convex or concave to some extent. The technique may therefore be generally effective where the calibration samples are pharmaceutical tablets comprising opposing surfaces joined along their perimeters by a side wall.
[0112] Other ways in which each configuration can provide a path for the calibration probe light through different numbers of calibration samples may include by manually or automatically loading a different number of such samples into a single station between measurements.
[0113]
[0114] In step 710 probe light, typically infrared probe light generated by a laser, is directed to a delivery region on a sample to be tested, and in step 720 a portion of the probe light is collected from a collection region on the sample, following scattering through the sample. The delivery and collection regions are spaced apart from each other, for example being on opposite sides or surfaces of the sample, so that the sample is probed using a transmission geometry.
[0115] At step 730, a plurality of target Raman spectral features are measured in the collected light, such that these features are characteristic of species within the sample giving rise to such scattering, and enable such species to be identified, quantified or otherwise characterised in various ways as described above. The target Raman spectral features may form part of a spectrum of the collected probe light which is measured using a spectrometer as described above, and these features may typically be the magnitudes of particular Raman spectral peaks, although other types of features may be used.
[0116] Following Raman scattering of the probe light, Raman spectral components of the probe light will typically be absorbed and diffusely scattered differently depending on wavelength or wavenumber. Quite small variations in geometry between one sample and another, including aspects such as sample thickness, shape, moisture content, compaction, as well as precise positions of the delivery and collection regions, can give rise to different amounts of infrared absorption and diffuse scattering of the probe light following Raman scattering, leading to errors in determination of properties of the sample from the target Raman spectral features.
[0117] Therefore, at step 740 a spectral distortion of the collected light is determined, wherein the distortion arises from infrared absorption and/or diffuse scattering within the sample. This distortion can be determined from the same collected light as is used to measure the target Raman spectral features, for example by measuring a plurality of reference spectral features in the collected light, and determining the spectral distortion from these reference spectral features. Of course, it is not necessary for exactly the same portion of the collected light to be used to detect the target and reference spectral features, since these could equally well be detected from different laser pulses of probe light, or a few seconds apart, subject to the spectral distortion effect being substantially the same for these measurements.
[0118] The spectral distortion may be determined at step 740 for example by applying the reference spectral features to a distortion model. How this distortion model can be generated or trained for a particular form, shape, or group of similar samples is described elsewhere in this document including below in respect of
[0119] At step 750, a property of the sample is quantified using the target Raman spectral features, with this quantification being compensated for the determined spectral distortion. Typically, the property may be quantified using a quantification model, for example based on a principle component analysis or similar of the target Raman spectral features. To effect the compensation, the target Raman spectral features may be compensated for the spectral distortion before applying the quantification model, or the quantification model may take as input both the target Raman spectral features and the spectral distortion.
[0120] The quantified property of the sample may then be output or used in some way (for example within a manufacturing process to trigger an alarm or control the process) at step 760.
[0121] The determined spectral distortion could be represented for example as an attenuation curve representing how a continuous range of particular wavelengths or wavenumbers which correspond to the target Raman spectral features are expected to have been affected by infrared absorption and/or diffuse scattering, or by one or more numerical parameters which in association with the distortion model can be used to derive absorption across a range of wavelengths of interest. Note that the determined spectral distortion does not need to represent an “absolute” distortion arising from infrared absorption and/or diffuse scattering within the sample, and in any case such an absolute measure may be difficult to determine. Rather, the determined distortion may more conveniently be relative to a level of distortion already accounted for or built into the quantification model. The determined spectral distortion can then be used to effectively modify the measured target Raman spectral features to have values which they would have had under the same infrared absorption and/or diffuse scattering as was present in data used to determine the quantification model.
[0122]
[0123] The one or more calibration samples are then tested in a manner similar to that described in respect of steps 710 and 720 of
[0124] In particular, at step 820 the one or more calibration samples may be positioned in a first geometric configuration, and a first set of calibration spectral features are then measured in that first geometric configuration at step 830. If more geometrical configurations are to be used, then a new geometrical configuration is selected at step 840 and steps 820 and 830 are repeated for the new geometric configuration.
[0125] Each geometric configuration typically provides a different thickness of the one or more calibration samples between the delivery and collection regions at which the calibration probe light is provided to and collected from the one or more calibration samples, thereby providing a different average path length for the calibration probe light through the one or more calibration samples, and therefore a different amount of infrared absorption and/or diffuse scattering. For example, as described above in connection with
[0126] The calibration probe light may be provided by the same or a very similar laser light source to the probe light used for testing the samples, for example a source of the same wavelength and preferably the same output power, and in this case calibration spectral features could be for example Raman spectral features and/or fluorescence features. If broad band calibration probe light is used then the effects of absorption and diffuse scattering may be measured more directly at particular wavelengths of the probe light which have been elastically scattered.
[0127] When a plurality of sets of calibration spectral features have been measured, these are then used at step 850 to generate or train a distortion model which can be used to determine a measure of spectral distortion in samples tested using the methods outlined in
[0128]
[0129] In step 910 a plurality of calibration samples 42 having a range of values of the property P are provided. The calibration samples are then subject to optical analysis in step 920 which corresponds as closely as possible to the analysis described in respect of
[0130] In step 920 therefore, target Raman spectral features T of each calibration sample are therefore measured. Since, for each calibration sample, both the property P and the target Raman spectral features T are known, in step 940 the quantification model may be trained to enable quantification of property P given a particular set of target Raman spectral features T. Actual quantification of property P in each calibration sample may be carried out, if now already known, using routine chemical analysis in step 930. Of course, this property P needs to be known for each calibration sample before step 940 is carried out.
[0131] Once trained, the quantification model can be used in the arrangements and methods discussed above for quantification of property P in a sample under test.
[0132] In order that the effects of infrared absorption and/or diffuse scattering acting on target Raman spectral features in the calibration samples used in the training of the quantification model is known, step 920 of
[0133] If the calibration spectral features C measured in one or more of the calibration samples deviate from a particular baseline level of spectral distortion, then those deviating samples could be discarded for the purposes of generating a quantification model, or the training of the quantification model could be adjusted for such deviations, for example by training both the quantification and distortion models at least partly using the same calibration samples and measured spectra.
[0134] Some aspects of the described apparatus and methods may be implemented using computer program code executing on one or more suitable computer systems. Such computer systems will typically comprise one or more microprocessors to execute such computer program code, memory to store such programs and related data, and suitable input and output facilities which may include for example wired or wireless data connections, non-volatile storage, as well as visual displays, and input device such as keyboards and mice if required.
[0135] The analyser 30 depicted in
[0136] The train distortion model process or element 44 and train quantification model process or element 46 may similarly be implemented using software within the analyser 30 of
[0137] Although various embodiments of the invention have been described, the skilled person will be aware that a number of different modifications and changes to those embodiments may be made without departing from the scope of the invention. For example, although the embodiments above have largely been described as using infrared or near infrared probe light delivered to the sample, the measurement of infrared or near infrared Raman spectral features in the collected light, and spectral distortion at least partly due to infrared absorption, the described methods and apparatus may equally be implemented using other areas of the light spectrum. For example, the probe light delivered to the sample may be visible light, and the measured Raman spectral features may then be partly or wholly in the visible spectrum, or partly in the visible and partly in the infrared spectrum.
[0138] Similarly, although spectral distortion of Raman scattered light propagating in the sample has been described as being due to one or both of infrared absorption and diffuse scattering, the absorption may be partly or wholly in the visible region, depending on the wavelength of the Raman features to be detected, and other physical and chemical effects may give rise to similar spectral distortion which can be compensated for in similar ways to those described above.