SA Instrumentation & Control | Volume 40 | September 2024
welcome VOLUME 40 NO 9 SEPTEMBER 2024
Some random thoughts
EDITOR Kim Roberts MSc Chem kimroberts@technews.co.za
In the afterglow of the Olympics, my most enduring memory is the men’s 100-metre finals where the top four were separated by three hundredths of a second; and Noah Lyles beat Kishane Thompson by four thousandths of a second, while the entire field was separated by 12 hundredths of a second, and would have earned a medal in every previous Olympics. The implications for these incredible athletes with respect to recognition is huge. These random numbers are the difference between being ‘just’ a world-class sprinter and a superstar. This made me start thinking about numbers and their importance. For example, what are the random numbers that run our lives? The first thing that came to mind was gaming. One of the first (and few) programs I ever wrote was a program to play roulette. I was really proud of it and brought it out for a wine-filled student evening. It needed a random number generator, and my trusty 64K Apple had a command to do this. At the time I totally believed that this was truly random. Some further investigation has now taken me into the fascinating world of random numbers – gaming is only a tiny part of it – and randomness is not what I thought. It’s a critical component of things in our daily lives that we take for granted – like protecting our passwords, forecasting weather patterns, predicting trends in financial markets, modelling the spread of diseases (a bit close to home for most of us), improving the performance of large language models, optimisation of automation processes, and a whole lot more. So what exactly is a random number? It’s a value that is unpredictable and lacks any discernible pattern. In maths, random numbers must have no bias toward any value. Surprisingly true randomness is incredibly difficult to achieve in the digital world. Computers, by their nature, follow specific instructions. The problem is that they rely on internal mechanisms that are predictable, so the outputs of their algorithms eventually become predictable too. If computers can’t generate true randomness, what can? Researchers look for chaotic physical phenomena that can’t be predicted or manipulated, like the noise of an electrical storm or pictures of raindrops on glass. If you need some random numbers, the website random.org is one of the best-known places to look. It relies on high-quality atmospheric noise from nine large radio receivers worldwide. Another promising source for generating true random numbers to secure information is the unpredictable motion of the oily blobs in a lava lamp. Yet another is based on bubbles in
a fishtank; and another group of researchers found randomness in the unique genetic sequences in DNA molecules. The latest thinking is that the best random number generator (RNG) relies on quantum mechanics effects.
CIO & DIRECTOR Graeme Bell
NHD Elec. Eng., MBA gbell@technews.co.za
CONTRIBUTING EDITORS Michael Brown BSc (Eng) (Rand), CEng MIEE MSAIEE Gavin Halse BSc Chem Eng
ADVERTISING Sales manager Jane van der Spuy jane@technews.co.za Tel: +27 83 234 5412 Heidi Hargreaves
These are as random as it gets. For example, the behaviour of subatomic particles like the timing of the decay of a single radioactive atom is completely unpredictable. There’s even a project that uses a banana to generate random numbers, since bananas are known to be mildly radioactive. With the development of quantum technology, we can look forward to even more inventive RNGs in the future. RNGs operate behind the scenes in ways we don’t even realise. One essential application is in cryptography. Our online banking relies on them to create secure keys that protect data from unauthorised access. The strength of an encryption algorithm is directly related to the quality of its random number. They are also used to generate strong, unpredictable passwords that are difficult for attackers to guess or crack. Every time you choose a new password, a computer adds a random number to scramble it. The same applies when you visit a website that begins with https. The process automation world also increasingly relies on advanced algorithms based on randomness for modelling digital twins. Engineers can model variables such as equipment wear, environmental changes, or unexpected disruptions to get more accurate predictions on how they’re going to behave. By doing this they can assess risks, protect sensitive information, optimise their processes, and generally make better decisions. In hardware testing, RNGs can generate random signals to stress test components and systems. This is important in industries like aerospace or automotive, where systems must be highly reliable. By using RNGs to simulate a wide range of operating conditions, engineers can identify potential weaknesses before they become critical issues. Without random numbers, all these systems would be predictable, insecure or ineffective. Next time I do my banking, or check the weather, or look at my shares, or take a pill, or roll some dice, I’ll think again about what’s involved.
heidi@technews.co.za Tel: +27 83 504 0436 DESIGN AND LAYOUT Technews Production Department SUBSCRIPTION SERVICES For address changes, subscriptions, renewal status or missing issues, email: subs@technews.co.za or write to: Technews Publishing (Pty) Ltd , Box 385, Pinegowrie 2123
SUBSCRIBE ONLINE www.technews.co.za
PUBLISHERS Technews Publishing (Pty) Ltd Wild Fig Business Park, Block B, Unit 21, 1494 Cranberry Street, Honeydew
LETTERS TO THE EDITOR Letters to the editor should be addressed to Kim Roberts at kimroberts@technews.co.za. Sending material to this publication will be considered automatic permission to use in full or in part in our Letters column. Be sure to include your name, e-mail address, city and zip code. We reserve the right to edit all letters.
Disclaimer While every effort has been made to ensure the accuracy of the information contained herein, the publisher and its agents cannot be held responsible for any errors contained, or any loss incurred as a result. Articles published do not necessarily reflect the views of the publishers. The editor reserves the right to alter or cut copy. Articles submitted are deemed to have been cleared for publication. Advertisements, inserts and company contact details are printed as provided by the advertiser. Technews Publishing (Pty) Ltd cannot be held responsible for the accuracy or veracity of supplied material. All rights reserved. No part of this publication may be reproduced, adapted, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without the prior written permission of Technews Publishing (Pty) Ltd, Reg No. 2005/034598/07
2 September 2024 www.instrumentation.co.za
Made with FlippingBook Learn more on our blog