In industrial settings, x-ray imaging is a common technique used for in-line inspection and is typically carried out with x-ray tube sources. Depending on the sample at hand and the purpose of the imaging, the resolution and energy range of the x-ray beam must be adjusted. It is therefore of interest to enable quick alteration of the source settings during operation. This project aims to expedite this process by replacing a complex source focusing algorithm in a nano-scale x-ray tube with an operating system based on Look-Up-Tables. It is found that although this system is quick in theory, its time-efficiency is limited by thermal effects in the source and its success rate at attaining the correct spot size is limited by magnetic hysteresis effects in the source. However, it is discovered that accuracy can always be achieved by adjustment of the focus current of a magnetic lens present in the source and the system is made viable across the entire resolution range of the source by the addition of a focus searching routine in the system implementation. The time-consumption of this final implementation is dominated by the thermal effects causing temporary non-equilibrium in the source, however, these delays are much shorter than the average run-time of the original focusing algorithm and the implemented system is thereby successful in accelerating the focusing process.
I industriella miljöer är avbildning med röntgen en vanlig teknik som används för inspektion och utförs vanligtvis med röntgenrör. Beroende på det aktuella materialet och syftet med avbildningen måste röntgenstrålens upplösning och energiomfång justeras. Det är därför av intresse att möjliggöra snabb ändring av källans inställningar under drift. Detta projekt syftar till att påskynda denna process genom att ersätta en komplex fokuseringsalgoritm i ett röntgenrör med ett operativsystem baserat på Look-Up-Tables. Det visar sig att även om detta system är snabbt i teorin, begränsas dess tidseffektivitet av termiska effekter i källan och hur tillförlitligt systemet kan uppnå efterfrågad upplösning begränsas av magnetisk hysteres i källan. Korrekt upplösning kan dock alltid uppnås genom justering av fokusströmmen för en magnetisk lins i källan och systemet görs hållbart för alla källans upplösningar genom tillägget av en fokussökningsrutin i system-implementeringen. Tidsåtgången för denna slutliga implementering domineras av de termiska effekterna som orsakar tillfällig ojämvikt i källan, men dessa fördröjningar är väsentligt kortare än den genomsnittliga tiden för den ursprungliga fokuseringsalgoritmen och det implementerade systemet är därmed framgångsrikt i att accelerera fokuseringsprocessen.