Engineering-Oriented Design of Drift-Resilient MTJ Random Number Generator via Hybrid Control Strategies
Ran Zhang, Caihua Wan, Yingqian Xu, Xiaohan Li, Raik Hoffmann, Meike Hindenberg, Shiqiang Liu, Dehao Kong, Shilong Xiong, Shikun He, Alptekin Vardar, Qiang Dai, Junlu Gong, Yihui Sun, Zejie Zheng, Thomas Kämpfe, Guoqiang Yu, Xiufeng Han · 2025
Read Engineering-Oriented Design of Drift-Resilient MTJ Random Number Generator via Hybrid Control Strategies by Ran Zhang, Caihua Wan, Yingqian Xu, Xiaohan Li, Raik Hoffmann, Meike Hindenberg, Shiqiang Liu, Dehao Kong, Shilong Xiong, Shikun He, Alptekin Vardar, Qiang Dai, Junlu Gong, Yihui Sun, Zejie Zheng, Thomas Kämpfe, Guoqiang Yu, Xiufeng Han (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2501-15206.txt.
Introduction
A magnetic tunnel junction flips at random, which makes it a natural coin for true random number hardware. The trouble is drift: heat, aging, and surroundings slowly bias the coin. Ran Zhang and co-authors design a generator that resists that drift in this 2025 paper, mixing feedback with pulse timing control.
Their scheme recalibrates every two steps using only whole-number timing tweaks, so no bits are thrown away and no lab calibration is needed first. Lab measurements and simulations show steady randomness even while the temperature wanders. Because the control logic stays simple and digital, the authors pitch the design for secure chips, embedded systems, and edge devices.
Catalog record
| CREATOR | Ran Zhang, Caihua Wan, Yingqian Xu, Xiaohan Li, Raik Hoffmann, Meike Hindenberg, Shiqiang Liu, Dehao Kong, Shilong Xiong, Shikun He, Alptekin Vardar, Qiang Dai, Junlu Gong, Yihui Sun, Zejie Zheng, Thomas Kämpfe, Guoqiang Yu, Xiufeng Han |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 60 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2501-15206
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Engineering-Oriented Design of Drift-Resilient MTJ Random Number Generator via Hybrid Control Strategies Ran Zhang, Caihua Wan, Yingqian Xu, Xiaohan Li, Raik Hoffmann, Meike Hindenberg, Shiqiang Liu, Dehao Kong, Shilong Xiong, Shikun He, Alptekin Vardar, Qiang Dai, Junlu Gong, Yihui Sun, Zejie Zheng, Thomas Kämpfe, Guoqiang Yu, Xiufeng Han Abstract Magnetic Tunnel Junctions (MTJs) have shown great promise as hardware sources for true random number generation (TRNG) due to their intrinsic stochastic switching behavior. However, practical deployment remains challenged by drift in switching probability caused by thermal fluctuations, device aging, and environmental instability. This work presents an engineering-oriented, drift-resilient MTJ-based TRNG architecture, enabled by a hybrid control strategy that combines self-stabilizing feedback with pulse width modulation. A key component is the Downcalibration-2 scheme, which updates the control parameter every two steps using only integer-resolution timing, ensuring excellent statistical quality without requiring bit discarding, pre-characterization, or external calibration. Extensive experimental measurements and numerical simulations demonstrate that this approach maintains stable randomness under dynamic temperature drift, using only simple digital logic. The proposed architecture offers high throughput, robustness, and scalability, making it well-suited for secure hardware applications, embedded systems, and edge computing environments. † † footnotetext: * Corresponding authors: [email protected], [email protected], [email protected] I Introduction In the digital age, the quest for secure and reliable random number generation has become a cornerstone of modern technology. As our world becomes increasingly interconnected, the demand for robust cryptographic systems [ 1 ] , secure communications [ 2 ] , and sophisticated simulations [ 3 ] has surged. At the heart of these systems lies the need for true randomness—a quality that ensures unpredictability and security in digital processes. Random numbers are the bedrock of encryption algorithms, safeguarding sensitive information from unauthorized access and ensuring the integrity of data transmission. They are also crucial in simulations, where they enable the modeling of complex systems and phenomena with high fidelity. The importance of random number generation extends beyond traditional computing applications. In fields such as finance [ 4 ] , healthcare [ 5 ] , and artificial intelligence [ 6 , 7 ] , the ability to generate truly random numbers is essential for risk assessment [ 8 ] , decision-making [ 9 , 10 ] , and the development of intelligent systems [ 11 , 12 , 13 , 14 ] . As these domains continue to evolve, the demand for high-quality random numbers grows, driving the need for innovative solutions that can meet the stringent requirements of modern applications [ 15 , 16 ] . Historically, random number generation has relied on deterministic algorithms, known as pseudo-random number generators (PRNGs) [ 17 , 18 ] , which, while efficient, lack the true randomness required for high-security applications. The limitations of PRNGs have spurred the exploration of alternative technologies capable of producing genuine randomness. Among these, True Random Number Generators (TRNGs) have emerged as a promising solution, leveraging physical processes to generate random numbers that are inherently unpredictable. In the pursuit of effective TRNGs, researchers have explored a variety of physical phenomena, from thermal noise and quantum effects to chaotic systems. Each approach offers unique advantages and challenges, with the ultimate goal of achieving a balance between randomness quality, speed, and integration capability. It is within this context of innovation and exploration that Magnetic Tunnel Junctions (MTJs) have gained attention as a viable technology for TRNGs [ 19 , 20 , 21 , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 , 33 , 34 , 35 , 36 ] . Their potential to harness the stochastic nature of magnetization switching presents a novel avenue for generating true random numbers, offering a promising alternative to traditional methods [ 37 , 38 ] . MTJs, particularly those utilizing spin-transfer torque (STT) mechanisms [ 39 , 40 , 41 , 42 , 43 , 44 , 45 , 46 ] , offer a novel approach to random number generation by exploiting the stochastic nature of magnetization switching. The fundamental operation of an MTJ-based TRNG relies on the ability to toggle between distinct resistance states—parallel (P) and antiparallel (AP)—which correspond to binary values [ 47 , 48 ] . This switching is driven by voltage pulses, and the inherent randomness in the switching process is harnessed to produce random bits [ 49 , 50 , 51 , 52 ] . The high tunneling magnetoresistance (TMR) ratio of MTJs, often exceeding 200%, provides a clear distinction between the resistance states, facilitating reliable detection and interpretation of the generated bits [ 53 , 45 , 54 ] . The TMR ratio is defined as \text{TMR}=\frac{R_{\text{AP}}-R_{\text{P}}}{R_{\text{P}}}\times 100\% , where R_{\text{AP}} and R_{\text{P}} represent the resistance in the AP and P states, respectively. However, the practical implementation of MTJ-based TRNGs is not without challenges. A significant issue is the drift in switching probability over time, which can compromise the randomness and bias the output. This drift is influenced by several factors, including the training effect [ 55 ] and the heating effect [ 56 ] of magnetic materials induced by current flow during switching events. These phenomena can alter the magnetic properties of the MTJ, leading to a gradual shift in the switching probability and, consequently, the randomness of the generated numbers [ 33 ] . Moreover, the temperature dependence of the switching probability adds another layer of complexity, as fluctuations in ambient temperature can significantly impact the voltage required to achieve a specific switching probability [ 57 ] . Addressing these challenges requires innovative control strategies that can stabilize the switching probability and mitigate the effects of drift. In this context, we propose a hybrid control strategy that combines self-stabilization techniques with pulse width modulation to enhance the performance of MTJ-based TRNGs. The self-stabilization strategy dynamically adjusts the driving voltage based on real-time feedback from the MTJ’s resistance state, ensuring that the switching probability remains close to the target value. This approach leverages the continuous and monotonic relationship between voltage and switching probability, allowing for precise control without the need for resource-intensive probability measurements. Furthermore, we explore the potential of pulse width modulation as an alternative method for tuning the switching probability. By analyzing the dependence of switching probability on both voltage amplitude and pulse width, we demonstrate that pulse width offers a practical and efficient means of control, particularly in systems where fine voltage adjustments are challenging. The insights gained from this analysis inform the design of a pulse-width-based tunable TRNG, which utilizes an 8-bit control word to achieve precise pulse width adjustments and produce a well-defined probability distribution. This paper presents a comprehensive study of the engineering-oriented design of drift-resilient MTJ-based TRNGs, highlighting the effectiveness of hybrid control strategies in overcoming the limitations of traditional approaches. Through detailed experimental and simulation results, we demonstrate the improved stability, uniformity, and quality of the random numbers generated by our proposed system. The findings underscore the potential of MTJ-based TRNGs as a reliable solution for applications requiring high-quality randomness, offering flexibility and adaptability for diverse use cases in cryptography, secure communications, and beyond. II Methods Figure 1: Drift issue in MTJ-based true random number generators. (a) Schematic representation of the device