February 13, 2023

A day in the life of an experiment controls engineer

By tinkering and troubleshooting, Aalayah Spencer helps turn researchers’ ideas into state-of-the-art science experiments.

By Isabel Swafford

When a scientist at the Linac Coherent Light Source (LCLS) has an idea for a new experiment, Aalayah Spencer helps make their dreams a reality. 

Spencer is a science and engineering associate in Experiment Control Systems at the Department of Energy’s SLAC National Accelerator Laboratory, and along with her fellow engineers, she designs, tests, implements, codes, and troubleshoots a wide variety of technologies scientists deploy at LCLS. And when a new idea comes along, Spencer and her fellow engineers meet with scientists to hash out the specifics and then get to tinkering.

“We make magic,” Spencer says. “We make things work. That goes for anything from high voltage systems to Python scripts, cameras, motion stages, syringe pumps, and interactive screens.”

Aalayah Spencer inside the Linac Coherent Light Source at the Department of Energy’s SLAC National Accelerator Laboratory. Spencer is a science and engineering associate in Experiment Control Systems at LCLS.
By tinkering and troubleshooting, Aalayah Spencer helps turn researchers’ ideas into state-of-the-art science experiments.

A bathroom chemist

For Spencer, the magic began early on.

“Math and science have always been in my brain,” she says.

Spencer was an inquisitive child, and her mom thought she might become a chemist because she was always in the bathroom concocting cocktails out of oil, soap or baby powder.

“As I got older, I fell in love with the universe and seeing how everything worked,” she says. She even dreamed of becoming an astronaut.

Although she didn’t have many role models around her, Spencer always felt like she belonged in a career in science. Her mom would buy her math and science books and support her work in her high school robotics club. 

“I was fortunate enough to have parents that helped me to grow my skills and allowed me to find my love of math and science. I was never hindered in what I wanted to know,” she says. 

That support helped lead her to Michigan State University, where Spencer got her bachelor’s degree in astrophysics. She was fascinated by the nuclear fusion that fuels stars and worked on nuclear astrophysics projects at the National Superconducting Cyclotron Laboratory in Michigan and high-temperature materials science at the National Centre for Scientific Research in France. 

Spencer also volunteered at science outreach events hosted by her lab to inspire future scientists and act as a role model for young students like herself. 

“At science days I helped kids with experiments and showed them that we smash particles together,” she says. “Volunteering allowed me to talk to a lot of different people about science, get to know my peers in the lab and bring positivity to work.”

From fiery hot stars to warmer climates

Meanwhile, she said, she also discovered a love for coding. Inspired by that passion and fond memories from her high school robotics club, Spencer applied to be a control systems engineer at SLAC after graduating from college. 

She got the job, and now Spencer gets to help scientists at all stages of an experiment. Since she started in January 2021, Spencer has worked on a variety of instruments at LCLS including the hard X-ray single-shot spectrometer, the X-ray pump-probe, the X-ray correlation spectroscopy instrument and the time-resolved atomic, molecular and optical science instrument, among others. 

As her work has progressed, Spencer has gotten to do more and more coding in addition to hardware jobs, adding new skills to her repertoire. 

“Software work has become one of my favorite parts of my job. I really like coding. It's cool to make things work through code and software,” she says. “My position allows me to learn different things and to grow my skills in what I want to know.”

Some of the best aspects of her job, Spencer says, are the opportunities to collaborate with scientists of various expertise areas and delve into all the different steps of the scientific process. 

“I am getting more comfortable with asking the scientists ‘why?’ Why am I doing this? It's important to know how everything could affect the experiment that's about to happen,” Spencer says.

Coworkers turned friends

At work, Spencer can usually be found listening to electronic dance music. “I have to listen to music when I work. It's what gets my mind focused. Especially when I'm coding," she says. 

Outside of work, Spencer enjoys watching movies, playing video games like Halo or Minecraft and spending time with her dog Abu, a tiny poodle mix. Spencer is also a fan of extreme road trips. She drove all the way from her home state of Michigan to California when she moved for her new job and is preparing to do it again when her mom moves here in the next few weeks. 

For weekend brunch, she and her coworkers like to hit up the Palo Alto spot Local Union 271 for waffles or an eggs benedict. 

“My coworkers have become my friends,” she says. Although she works from home occasionally, she comes on site to help with experimental setups and be with people she likes to talk to. “Being able to work around that positivity helps with my morale and my productivity.”

A graduate of the class of 2020, Spencer is still early in her career as an engineer, but she has advice for other early-career scientists and engineers: Keep learning. 

“You never know when you're going to come across something you'll need in the future. If you're constantly trying to learn different things, not just scientific concepts, like a reading new book or learning the style of a new author, it keeps you sharp.”

As for future career goals, Spencer says that her dream of being an astronaut isn’t out of the picture. “It's still in the works.”

For questions or comments, contact the SLAC Office of Communications at communications@slac.stanford.edu.


SLAC is a vibrant multiprogram laboratory that explores how the universe works at the biggest, smallest and fastest scales and invents powerful tools used by scientists around the globe. With research spanning particle physics, astrophysics and cosmology, materials, chemistry, bio- and energy sciences and scientific computing, we help solve real-world problems and advance the interests of the nation.

SLAC is operated by Stanford University for the U.S. Department of Energy’s Office of Science. The Office of Science is the single largest supporter of basic research in the physical sciences in the United States and is working to address some of the most pressing challenges of our time.

Related Topics

Dig Deeper

Related stories

News Brief

Scientists developed a groundbreaking technology that allows them to see sound waves and microscopic defects inside crystals, promising insights that connect ultrafast atomic motion...

CXI hutch
Press Release

With up to a million X-ray flashes per second, 8,000 times more than its predecessor, it transforms the ability of scientists to explore atomic-scale...

LCLS-II first light
News Feature

Sebek’s extraordinary career at SSRL includes helping build the facility’s original electron injector back in the 1980s and working on almost all of its...

This photograph shows 2023 Lytle award winner Jim Sebek at work on SSRL's electrical systems.
News Brief

Scientists developed a groundbreaking technology that allows them to see sound waves and microscopic defects inside crystals, promising insights that connect ultrafast atomic motion...

CXI hutch
Press Release

With up to a million X-ray flashes per second, 8,000 times more than its predecessor, it transforms the ability of scientists to explore atomic-scale...

LCLS-II first light
News Feature

Sebek’s extraordinary career at SSRL includes helping build the facility’s original electron injector back in the 1980s and working on almost all of its...

This photograph shows 2023 Lytle award winner Jim Sebek at work on SSRL's electrical systems.
News Feature

X-ray laser studies help researchers identify early steps in the freezing process to better understand how clouds make ice and their effect on climate.

supercooled water droplets
News Feature

Leora Dresselhaus-Marais, Claudio Emma,  Bernhard Mistlberger and Johanna Nelson Weker will pursue cutting-edge research into decarbonizing steel production, theoretical physics, generating more intense particle...

This photo shows all four recipients from SLAC and Stanford of the DOE's 2023 Early Career Award
News Feature

Bringing ultrafast physics to structural biology has revealed the coordinated dance of molecules in unprecedented clarity, which could aid in the design of new...

molecular control