Click here to learn
about this Sponsor:
Home  |  News  |  Articles  |  Polls  |  Forum

Keywords: Match:
Juggling with light -- using real-time Linux in molecular physiology
by Victor Yodaiken (Jun. 7, 2005)

Foreword -- This article describes how researchers at the University of Vermont used a real-time Linux operating system from FSMLabs to build a "laser trap" that manipulates individual molecules with a computer-controlled laser beam. The project illustrates how RTLinux separates time-critical and non-time-critical tasks, according to FSMLabs CEO Victor Yodaiken. Enjoy . . . !



Juggling with Light -- An application of FSMLabs RTLinux in Molecular Physiology

by Victor Yodaiken

FSMLabs RTLinux is widely used in scientific research. In this project, University of Vermont researchers Dave Warshaw and Joe Patlak make use of one of the most basic features of RTCore -- an interrupt-driven data acquisition routine that performs feedback control, takes commands from applications running on Linux, and passes data back to the non-real-time programs in user space. What is remarkable about Warshaw and Patlak's experiments, though, is that they use RTLinux to make laser light manipulate individual molecules.


"Juggling with Light," an illustration of a laser trap by Dr. Neil Kad
(Click to enlarge)

Partitioning the application

The original insight that inspired RTLinux was that most code in "real-time" applications has nothing to do with real-time response, and that such "applications code" would execute more efficiently in a non-real-time environment. The laser control application illustrates this principle beautifully.

Graphical user interfaces, mouse driven operator interfaces, and data storage are all "vanilla" Linux applications. The laser control program, by contrast, is a relatively straightforward piece of code that collects positioning data and adjusts the laser. The simplicity of the design is a direct result of "divide and conquer" -- instead of a complex real-time application juggling priorities among critical and non-critical threads, the real-time tasks are addressed by real-time components concerned only with control, and non-real-time components don't have to worry about timing at all.

More about the Experiment

A laser trap is a device that can catch a microscopic glass ball, and hold it suspended at the focus of the laser beam. Although these glass balls are only about a micron (one millionth of a meter) across, and the laser beam is focused with a microscope, such laser traps can still be quite useful.

The University of Vermont team is studying the mechanics of single myosin molecules -- the proteins that cause movement and generate force in our muscles. They study them as single molecules to understand better their internal workings. The researchers span a gossamer of actin filament between two beads, then use this to attach to a myosin molecule. Each bead is held in its own laser trap, and the researchers create two or more traps from the same laser by rapidly moving the beam back and forth between the desired locations (timesharing, like one does to juggle two balls with one hand).

RTLinuxPro is used to control the laser beam positions, as well as to sample the output of measuring devices. At the core of the software is a kernel-side module that interrupts every 50 microsecond, samples new data, and timeshares the laser beam position. "If the computer failed to respond, for even a millisecond, then we would 'drop' the balls," explained Warshaw, "but RTLinuxPro is rock solid."

In some experiments all the rig needs to do is set the laser positions, and then record bead movement. In other experiments, researchers use the laser beam to apply minute forces to the beads and to the connected myosin molecule. For these latter "constant-force" experiments, they use their kernel module to produce an active feedback between bead position and laser beam position. All such feedback calculations are performed in real-time threads running with RTLinux.

In the user-space environment, the University of Vermont team also maintains the GUI infrastructure for the experiments. The data are displayed, and researchers can use the mouse or the keyboard to control laser beam, microscope stage, and experimental protocols.

"These experiments are helping us understand the internal dynamics of the myosin molecule, and how these dynamics can change when the molecule is affected by mutations," commented Patlak. "Ultimately, we hope to apply these results to build an understanding of how altered myosin can lead to several forms of heart failure."



About the author -- Victor Yodaiken, CEO and Co-Founder of FSMLabs, came up with the basic RTLinux technology. Yodaiken began his career in 1983 as one of the chief developers of Auragen's distributed fault-tolerant UNIX, and he had an active consulting business before starting FSMLabs. He has also worked in academia, as a professor and department chair at New Mexico Tech, and as a research professor and port-doctoral fellow at the University of Massachussetts in Amherst. Currently he is an adjunct faculty member at the University of New Mexico. Yodaiken is a technical advisor to EMBLIX Japan, and is on the board of the Embedded Linux Consortium.



Related Stories:

(Click here for further information)


FUEL Database on MontaVista Linux
Whether building a mobile handset, a car navigation system, a package tracking device, or a home entertainment console, developers need capable software systems, including an operating system, development tools, and supporting libraries, to gain maximum benefit from their hardware platform and to meet aggressive time-to-market goals.

Breaking New Ground: The Evolution of Linux Clustering
With a platform comprising a complete Linux distribution, enhanced for clustering, and tailored for HPC, Penguin Computing¿s Scyld Software provides the building blocks for organizations from enterprises to workgroups to deploy, manage, and maintain Linux clusters, regardless of their size.

Data Monitoring with NightStar LX
Unlike ordinary debuggers, NightStar LX doesn¿t leave you stranded in the dark. It¿s more than just a debugger, it¿s a whole suite of integrated diagnostic tools designed for time-critical Linux applications to reduce test time, increase productivity and lower costs. You can debug, monitor, analyze and tune with minimal intrusion, so you see real execution behavior. And that¿s positively illuminating.

Virtualizing Service Provider Networks with Vyatta
This paper highlights Vyatta's unique ability to virtualize networking functions using Vyatta's secure routing software in service provider environments.

High Availability Messaging Solution Using AXIGEN, Heartbeat and DRBD
This white paper discusses a high-availability messaging solution relying on the AXIGEN Mail Server, Heartbeat and DRBD. Solution architecture and implementation, as well as benefits of using AXIGEN for this setup are all presented in detail.

Understanding the Financial Benefits of Open Source
Will open source pay off? Open source is becoming standard within enterprises, often because of cost savings. Find out how much of a financial impact it can have on your organization. Get this methodology and calculator now, compliments of JBoss.

Embedded Hardware and OS Technology Empower PC-Based Platforms
The modern embedded computer is the jack of all trades appearing in many forms.

Data Management for Real-Time Distributed Systems
This paper provides an overview of the network-centric computing model, data distribution services, and distributed data management. It then describes how the SkyBoard integration and synchronization service, coupled with an implementation of the OMG¿s Data Distribution Service (DDS) standard, can be used to create an efficient data distribution, storage, and retrieval system.

7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.

 


Got a HOT tip?   please tell us!
Free weekly newsletter
Enter your email...
Click here for a profile of each sponsor:
PLATINUM SPONSORS
GOLD SPONSORS
(Become a sponsor)

ADVERTISEMENT
(Advertise here)

Check out the latest Linux powered...

mobile phones!

other cool
gadgets



BREAKING NEWS

• First ALP Linux smartphone?
• First Atom-based nano-ITX board?
• New kernel boosts embedded
• First dual-monitor LTSP 5 set-up?
• Understanding Unix spells and curses
• Tools vendor touts low-cost Linux BSPs
• Debugger supports multi-core MIP64 chips
• Webinars tackle VxWorks-to-Linux ports
• Twin POS systems for Linux
• Mobile Firefox ready for download
• Miguel de Icaza on Mono 2.0
• Embedded Linux declining?
• Mobile WiMAX service launches in U.S.
• Euro Linux device conference announces speakers
• POS stack targets Linux netbooks


Most popular stories -- past 90 days:
• Open source phone goes mass-market
• Tinest Linux system, yet?
• Garmin Nav devices run Gnome Linux
• ARM9 board boots Debian in 0.69 seconds
• Low-cost laptop runs Linpus Linux
• Linux-friendly Beagle fetches $150
• Mini Linux PC breaks $100 barrier
• Open source camera records geotagged video to SATA HDD
• Open set-top box ships
• First $100 laptop runs Linux


DesktopLinux headlines:
• Mandriva 2009 debuts with KDE 4 desktop
• Debian Sid-based distro reviewed
• Miguel de Icaza on Mono 2.0
• RIP LinuxWorld
• Testers sought for Blackberry-Linux sync software
• Google updates photo editor for Linux
• Major Mono rev ships
• Intrepid Ibex beta-tests
• Linux netbook returns higher?
• Open-source image editing project launches


Also visit our sister site:


Sign up for LinuxDevices.com's...

news feed

Home  |  News  |  Articles  |  Polls  |  Forum  |  About  |  Contact
 

Ziff Davis Enterprise Home | Contact Us | Advertise | Link to Us | Reprints | Magazine Subscriptions | Newsletters
Tech RSS Feeds | White Papers | ROI Calculators | Tech Podcasts | Tech Video | VARs | Channel News

Baseline | Careers | Channel Insider | CIO Insight | DesktopLinux | DeviceForge | DevSource | eSeminars |
eWEEK | Enterprise Network Security | LinuxDevices | Linux Watch | Microsoft Watch | Mid-market | Networking | PDF Zone |
Publish | Security IT Hub | Strategic Partner | Web Buyer's Guide | Windows for Devices

Developer Shed | Dev Shed | ASP Free | Dev Articles | Dev Hardware | SEO Chat | Tutorialized | Scripts |
Code Walkers | Web Hosters | Dev Mechanic | Dev Archives | igrep

Use of this site is governed by our Terms of Service and Privacy Policy. Except where otherwise specified, the contents of this site are copyright © 1999-2008 Ziff Davis Enterprise Holdings Inc. All Rights Reserved. Reproduction in whole or in part in any form or medium without express written permission of Ziff Davis Enterprise is prohibited. Linux is a registered trademark of Linus Torvalds. All other marks are the property of their respective owners.