Top Banner
Lesson 2 BGMN & Profex Nicola Döbelin RMS Foundation, Bettlach, Switzerland March 3, 2015, Lyon, France
41

Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Jul 29, 2018

Download

Documents

dinhkhue
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2

BGMN & Profex

Nicola DöbelinRMS Foundation, Bettlach, Switzerland

March 3, 2015, Lyon, France

Page 2: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

2

Rietveld Refinement Software BGMN

BGMN:

- Fundamental Parameters Approach

- Free for academic use

- Device independent

- Very robust automatic refinement strategy

- Slightly less steep learning curve

- Powerful scripting language

- Multi-Platform

- Multi-threaded

Visit: http://www.bgmn.de for tutorials and documentation

Page 3: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

BGMN Website

3

http://www.bgmn.de/program.html

Page 4: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

BGMN Control File (*.sav)

4

device.geq

sample.xy

sample.savstructure-A.str

structure-B.str

structure-C.str

Interpolated peak profile

Refinement control fileMeasured scan

Model structures

sample.lst

Files referenced in the

refinement control file

sample.parsample.out

sample.dia

RUN REFINEMENT

«BGMN.EXE sample.sav»

Results

Peak list

Refined diffraction pattern

Additional global parameters

Wavelength

Polarization

2θ range

Sample displacement

Page 5: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

5

Profex

Graphical User Interface (GUI) for BGMN

Developer: Nicola Döbelin (private)

License: GPL (open source)

Platforms: Windows XP / Vista / 7 / 8LinuxMac OS X 10.6.8-10.9.5 (64bit)

Rietveld Backends: BGMN, Fullprof.2k

Website: http://profex.doebelin.org

Current stable version: 3.4.0

Page 6: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

History

6

2003: Start of development as an alternative GUI for Fullprof.2k

For personal use only (PhD thesis)

Linux only

2006: Major rewrite

Support for Windows

2012: Support for BGMN Rietveld backend added

2014: Support for Mac OS X

Page 7: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

First Use

7

Profex

Page 8: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 1

8

Page 9: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 1

9

Cubix-ads-10mm.geq

Select:

betaTCP.strHydroxylapatite.str

Page 10: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 1

10

BGMN control filewas created

Page 11: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

BGMN Control File (*.sav)

11

What Profex does in the background:

- Generate a control file

- Adjust file names in control file

- Copy all selected structure files

from local DB to location of scan file

- Copy instrument configuration

files from local DB to location

of the scan file

Page 12: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Profex

12

With Profex:

1. Load scan file

2. Use «Add phase» dialog to select phases, instrument,and generate control file

3. Run refinement

No need to:

- Copy structure / device files

- Change any file names

- Convert scan files

Page 13: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 1

13

Context Help:

Place Cursor on a key word

Press «F1»

Page 14: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 1

14

Run the refinement

Page 15: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 1

15

Page 16: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 2

16

1. Open Graph File: «Examples\Lesson 6\Example 2\lesson6-ex2.file1.xrdml»

2. Click «Add a phase» (+)

a) Select instrument: «pw1800-fds»

b) Select Phases:«AL2O3-Corundum»«Fluorite»

3. Run the refinement

Page 17: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 2

17

Page 18: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 2

18

Corundum: good

Fluorite: bad

What is wrong? Suggestions?

Page 19: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

27 28 29

-800

-600

-400

-200

0

200

400

600

800

1000

1200

Inte

nsity [cts

]

Lesson 2: Example 2

19

Peak position: correct

Integrated intensity: correct (?)

Peak-broadening: wrong

Specific for Fluorite phase.

Can be fixed in file «fluorite.str»

Page 20: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

BGMN Structure Files (*.str)

20

«Open all project STR files»

Page 21: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

BGMN Structure Files (*.str)

21

PHASE=Fluorite // 04-002-2191

SpacegroupNo=225 HermannMauguin=F4/m-32/m //

PARAM=A=0.5463_0.54^0.55 //

RP=4 k1=0 k2=0 PARAM=B1=0_0^0.003 PARAM=GEWICHT=0.1_0 //

d=10 //

GOAL=GrainSize(1,1,1) //

GOAL=my //

GOAL=d //

GOAL:fluorite=GEWICHT*ifthenelse(ifdef(d),exp(my*d*3/4),1)

E=CA+2 Wyckoff=a TDS=0.0041

E=F-1 Wyckoff=c TDS=0.0062

Phase name // Database reference

Space group number & H-M symbol

Unit Cell: a axis (nm)

Peak profile parameters

Mean particle size (µm), optional

Goals (optional, these values arereported in the results file)

List of atomic positions

Full notation:

E=CA+2(1) Wyckoff=a x=0.0 y=0.0 z=0.0 TDS=0.0041

Element

Site occupancy

Wyckoff sequence

Fractional coordinates

Thermal displacement parameter(Biso [nm2])

Page 22: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

BGMN Structure Files (*.str)

22

PHASE=Fluorite // 04-002-2191

SpacegroupNo=225 HermannMauguin=F4/m-32/m //

PARAM=A=0.5463_0.54^0.55 //

RP=4 k1=0 k2=0 PARAM=B1=0_0^0.003 PARAM=GEWICHT=0.1_0 //

d=10 //

GOAL=GrainSize(1,1,1) //

GOAL=my //

GOAL=d //

GOAL:fluorite=GEWICHT*ifthenelse(ifdef(d),exp(my*d*3/4),1)

E=CA+2 Wyckoff=a TDS=0.0041

E=F-1 Wyckoff=c TDS=0.0062

A=0.5463

Fix parameter:

Name Value

PARAM=A=0.5463

Refined parameter:

Name Starting valueRelease forrefinement

PARAM=A=0.5463_0.54^0.55

Refined parameter with limits:

Name Startingvalue

Release forrefinement

Lowerlimit

Upperlimit

Right mouse buttonon a parameter:

Page 23: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 2

23

PHASE=Fluorite // 04-002-2191

SpacegroupNo=225 HermannMauguin=F4/m-32/m //

PARAM=A=0.5463_0.54^0.55 //

RP=4 k1=0 k2=0 PARAM=B1=0_0^0.003 PARAM=GEWICHT=0.1_0 //

d=10 //

GOAL=GrainSize(1,1,1) //

GOAL=my //

GOAL=d //

GOAL:fluorite=GEWICHT*ifthenelse(ifdef(d),exp(my*d*3/4),1)

E=CA+2 Wyckoff=a TDS=0.0041

E=F-1 Wyckoff=c TDS=0.0062

In Lesson 6, Example 2, peak broadening was not

fitted correctly

Peak shape iscontrolled here

See http://www.bgmn.de/variables.html#real for RP=4 and k1=0

B1: peak broadening caused by crystallite size

k2: peak broadening caused by micro-strain

Page 24: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 2

24

PHASE=Fluorite // 04-002-2191

SpacegroupNo=225 HermannMauguin=F4/m-32/m //

PARAM=A=0.5463_0.54^0.55 //

RP=4 k1=0 k2=0 PARAM=B1=0_0^0.003 PARAM=GEWICHT=0.1_0 //

d=10 //

GOAL=GrainSize(1,1,1) //

GOAL=my //

GOAL=d //

GOAL:fluorite=GEWICHT*ifthenelse(ifdef(d),exp(my*d*3/4),1)

E=CA+2 Wyckoff=a TDS=0.0041

E=F-1 Wyckoff=c TDS=0.0062

B1: refined, but limited to the range 0.000 – 0.003 (upper limit may be too strict)

k2: micro strain effect, not refined (necessary?)

Page 25: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 2

25

RP=4 k1=0 k2=0 PARAM=B1=0_0^0.003 PARAM=GEWICHT=0.1_0 //

Change:

To:

RP=4 k1=0 k2=0 PARAM=B1=0_0^0.03 PARAM=GEWICHT=0.1_0 //

Repeat Refinement

Better, but notperfect.

Is there microstrain?

Page 26: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 2

26

RP=4 k1=0 k2=0 PARAM=B1=0_0^0.03 PARAM=GEWICHT=0.1_0 //

Change:

To:

RP=4 k1=0 PARAM=k2=0_0 PARAM=B1=0_0^0.03 PARAM=GEWICHT=0.1_0 //

Repeat Refinement

Better, but stillnot perfect.

Page 27: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 2

27

RP=4 k1=0 PARAM=k2=0_0 PARAM=B1=0_0^0.03 PARAM=GEWICHT=0.1_0 //

Changes:

To:

RP=4 k1=0 PARAM=k2=0_0 PARAM=B1=0_0^0.03 GEWICHT=SPHAR4 //

Repeat Refinement

Preferred Orientation / Texture:

- Refine «GEWICHT» anisotropically:

- Right mouse button on GEWICHT

- «Refine anisotropically»

Page 28: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 2

28

Our refinement strategy:

1. Unit cell dimensions

2. Weight fractions

3. Crystallite sizes

4. Micro-strain of Fluorite

5. Texture of Fluorite

Released manually

Page 29: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 2

29

Results in *.LST file

Summary table

Page 30: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Summary: Structure Files (*.str)

30

- Structure file database (*.str) is stored in

…\Profex-BGMN-Bundle-3.3.1\Profex\Structures

- Copied by Profex to the location of the scan file

- They contain:

- Space group information

- Unit cell dimensions

- Profile parameters

- Scaling (weight fraction)

- List of atoms (element, SOF, Wyckoff sequence, fract. coordinates, TDS)

- Optional «Goals»: Results / values printed to the results file (*.lst)

- Release parameters for refinement:

- «PARAM=»

- Optionally (recommended!): «_lowerLimit» and «^upperLimit»

Page 31: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Summary: Structure Files (*.str)

31

Refinements are «fine tuned» by editing Structure Files:

Commonly:

- Set reasonable upper and lower limits

- Control peak broadening

- Control texture / preferred orientation

Rarely:

- Control structural parameters:

- atomic coordinates

- site occupancies

- thermal displacement parameters

Page 32: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Structure Databases

32

STR files included in Profex bundle(created manually by Nicola Doebelin)

http://www.bgmn.de/download-structures.html

More on Structure Files:

Lesson 4: Creating Structure Files

Page 33: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 3 - Batch Refinement

33

Page 34: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 3 - Batch Refinement

34

Create control file for first scanInstrument: cubix-ads-10mm

Phase 1: betaTCPPhase 2: hydroxylapatite

Page 35: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 3 - Batch Refinement

35

Sav file created for first scan

But not for the other scans

Page 36: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 3 - Batch Refinement

36

«Copy Control File»

Page 37: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 3 - Batch Refinement

37

• Copies the control file toall projects

• Adjusts all input/outputfile names

Page 38: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 3 - Batch Refinement

38

Start Batch Refinement

Page 39: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 3 - Batch Refinement

39

Export Summary of all Projectsto Spread Sheet (*.csv)

Page 40: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

Lesson 2: Example 3 - Batch Refinement

40

Page 41: Lesson 2: BGMN and Profexprofex.doebelin.org/.../Lesson-2-BGMN-and-Profex.pdf · E=F-1 Wyckoff=c TDS=0.0062 In Lesson 6, Example 2, peak broadening was not ... Lesson 2: BGMN and

User Manual

41