# US 2026/0188436 A1 · Computer-implemented method for mineral quantification by x-ray diffraction and computer-readable non-transient storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0188436 A1
- Document ID: US20260188436A1
- Status: Published application
- Kind: A1
- Application number: 19/428,463
- Filed: 2025-12-22
- Published: 2026-07-02
- Earliest claimed: 2024-12-30
- Assignees: Petroleo Brasileiro S.A. - Petrobras; Optimatech Ltda
- Applicants: PetróLeo Brasileiro S.A. - Petrobras; Optimatech Ltda
- Inventors: THIAGO DE SÁ FEITAL; MAURÍCIO MELO CÂMARA; JULIÁN ANDRÉS GARCÍA CÁRDENAS; CAMILA WENSE RAMNANI; GABRIEL SALVADOR CARDOSO; PEDRO HENRIQUE DE LIMA RIPPER MOREIRA; JOSÉ CARLOS COSTA DA SILVA PINTO; GABRIEL DO NASCIMENTO FREITAS; MURILO SILVEIRA GOMES; FABIANO GALDINO LEAL; RENATA ALVES MOTA
- Web page: https://patentgrep.com/patent/US20260188436A1

## CPC

- G16C 20/20: Identification of molecular entities, parts thereof or of chemical compositions
- G01N 23/2055: Analysing diffraction patterns
- G16C 20/70: Machine learning, data mining or chemometrics
- G16C: COMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
- G01N: INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES (measuring or testing apparatus or processes other than immunoassay, involving enzymes or microorganisms C12M, C12Q)

## Abstract

The present invention solves the technical and operational challenges faced by the X-ray diffractometry analysis process in the oil and gas industry through calculations that replace the manual visual steps performed by laboratory analysts. The computer-implemented method unifies all manual steps of the XRD analysis process in a single environment, also eliminating the need for multiple software programs and repetitive activities. Furthermore, the computer-implemented method uses computational search algorithms and physical constraints of the diffractometer to robustly identify minerals, significantly reducing analysis time per sample and increasing the standardization of results. This innovative and effective approach offers a complete solution to the challenges faced by the XRD analysis process in the oil and gas industry, ensuring faster, more accurate, and more efficient sample analysis.

## Claims

### Claim 1

A computer-implemented method comprising:
(a) receiving an uncompressed and unprocessed experimental diffractogram data file obtained by one or more X-ray diffractometers;
(b) reading the data file;
(c) converting the file from a .raw format to a .xy format to obtain a data matrix;
(d) calculating baseline and peaks;
(e) finding alignments in 2θ following Equation 1:
Ak
=
{
(
dj
,
dkm
)
}
:

dj
-
dkm

≤
tol
,
∀
j
,
k
,
m
(
1
)
wherein d is diameter, k is the phase token, j is sample peak, m is token peak and tol is the specified tolerance;
(f) calculating metric and order phases according to Equation 2:
p
⁢
k
=
n
⁡
(
Ak
)
⁢
n
⁡
(
j
)
⁢
n
⁡
(
m
)
⁢
k
,
∀
j
,
k
,
m
(
2
)
wherein pk is the percentage of alignments between a diffractogram and a phase k, n(Ak) is the number of elements in the set Ak, n(j) is the number of peaks in the sample and n(m)k is the number of peaks in the k-sheet;
(g) defining parameters for estimation according to Equation 3:
ϵ
0
=
1
*
10
6
q
=
1
r
=
{
k
}
:
k
:=
{
(
p
k
)
q
}
(
3
)
wherein ε0 is the initial value of the error, q is the counter that indicates the ordinal in the set of probabilities and r is the set of phases identified in the sample;
(h) estimating scaling factors according to Equation 4:
ϵ
=
min
x
⁢
ϵ
⁢
ℝ
#
⁢
r
∑
j
=
1
#
⁢
j
⁢
(
I
j
-
M
⁢
x
)
2
,
M
∈
ℝ
#
⁢
j
×
#
⁢
r
:=
{
(
I
r
1
⁢
m
)
,
(
I
r
2
⁢
m
)
,
…
,
(
I
r
#
⁢
r
⁢
m
)
}
(
4
)
wherein I is the vector of sample intensities, x∈n(r) is the vector of scale factors, M∈n(j)×n(r)={(l(r)1m,(l(r)2m), . . . , (l(r)n(r)m)} is the matrix with the intensities of the phases of the set r, columns correspond to the intensities of each phase and each row corresponds to the intensity aligned in the respective 2θ;
(i) adding or rejecting phase (based on the comparison of the deviation metric obtained in step (h) with the reference value obtained in step (g) combined with the total number of peaks, according to Equation 5.1, and rejecting phases with negative scale factors, according to Equation 5.2:
ϵ
≥
ϵ
⁢
0
⇒
r
←
r
-
{
k
}
(
5.1
)
xi
≤
0
⇒
r
←
r
-
{
(
r
)
⁢
i
}
,
∀
i
;
(
5.2
)
(j) evaluating criterion according to Equation 6:
n(r)≤40 (6)
(k) responsive to the criterion not being met:
adding the current phase to the set r and returning to step (h) to evaluate the next phase in the ordered list of phases following Equation 7:
q
←
q
+
1
;
r
←
r
⋃
k
,
k
:=
{
(
p
k
)
q
}
(
7
)
wherein K is the final set of phases for quantification, and
(l) responsive to the criterion being met:
ordering scaling factors of the selected phases;
(m) selecting phases comprising selecting the 15 phases with the largest scaling factors through successive estimations, according to Equation 9, and evaluating the alignment in I, according to Equation 10:
x
⁢
1
→
x
⁢
1
,
x
⁢
2
→
x
⁢
1
,
x
⁢
2
,
x
⁢
3
→
…
(
9
)
e
⁢
1
=
(
I
-
I
⁢
1
×
1
)
→
e
⁢
2
=
(
I
-
I
⁢
1
×
1
-
I
⁢
2
×
2
)
→
…
(
10
)
wherein the acceptance criteria are x1>0, and ek−ek−1<0, given a number n of iterations;
(n) configuring for refinement with phase in the sheets corresponding to the identified phases; and
(o) performing refinement by executing the Rietveld method for the identified chips to obtain a calculated diffractogram and comparing it with the experimental diffractogram in a weighted least squares function.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising presenting results obtained in the form of graphs and tables.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein instructions, when read by a computer, cause the computer to execute the steps of the method.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein instructions, when read by a computer, cause the computer to execute the steps of the method.
