New app uses your cellphone to detect earthquakes – Los Angeles Times

11 months ago Comments Off on New app uses your cellphone to detect earthquakes – Los Angeles Times

When the earth shakes in California, the first place you are likely to hear about it is on social media.

“Earthquake!” “Did you feel that?” “How big?” are common messages on Twitter and Facebook as Californians try to share information on their mobile phones in real time.

Now, UC Berkeley scientists are hoping to capture that sharing impulse in a massive science experiment: Using cellphones to detect earthquakes as soon as they start. They hope that by turning mobile phones into vast data collection points, they can quickly glean information about the quakes and warn those farther away from the epicenter that shaking is on the way.

See more of our top stories on Facebook >>

On Friday, scientists unveiled an app that will test this idea with anyone around the world who wants to participate. Named MyShake, the free app, available on Google Android phones and at, uses smartphone sensors to detect movement caused by an earthquake.

Users who download the app will be sending data to scientists when an earthquake as small as a magnitude 5 hits.

By harvesting information from hundreds of phones closest to the earthquake, scientists will be able to test a computer system that could, in the future, dispatch early warnings that shaking is seconds or minutes away to people farther away from the earthquake’s origin. For instance, if a quake started in San Bernardino, cell phones there could register the quake and quickly help send warnings to smartphone users in Los Angeles.

“This is a citizens’ science project,” said Richard Allen, director of the Seismological Laboratory at UC Berkeley. “This is an app that provides information, education, motivation — to the people who’ve downloaded it — to get ready for earthquakes. Those same people are contributing to our further understanding of earthquakes, because they’re collecting data that will help us better understand the earthquake process.”

The app uses a common sensor found in smartphones, called accelerometers, that detect which way the phone is oriented. This sensor helps determine if the phone is being used vertically or horizontally, for instance, or makes the phone capable of being a steering wheel in a racing game. Fitness trackers, such as pedometer apps, also use these sensors.

The app’s algorithm is designed to ignore ordinary shaking, like a phone jiggling in a purse, and detect unique vibrations felt during earthquakes. If the phone detects what it thinks is an earthquake — usually something at a magnitude 5 or greater — it sends a message to a central server.

If there are at least 300 phones sending warnings in the same 60-mile-by-60-mile zone, simulation tests show that’s good enough to tell the system that the shaking was an earthquake, Allen said.

Allen is also part of a larger team of scientists building a $38-million system along the West Coast that will provide early warnings before the worst shaking from an earthquake arrives. The U.S. Geological Survey’s ShakeAlert prototype has had successful tests — one gave researchers in San Francisco eight seconds of warning before the shaking from a magnitude 6.0 earthquake from Napa arrived.

The warnings will eventually give trains time to slow down, decreasing a risk of derailment before shaking arrives, sound an alert in hospitals to warn surgeons to halt surgery, and have elevators open their doors at the nearest floor, preventing people from becoming trapped.

A full rollout of the early warning system to the public has been stymied by a lack of full funding. Only about half of the annual $16-million operating cost has been paid for by the federal government. So far, West Coast states have yet to pledge contributions for the system’s operating costs, but several lawmakers in Sacramento proposed this week that California help fund completion of the system.

The cellphone MyShake app would not replace the USGS’ early warning system, Allen said. Smartphones will never be as effective as hundreds of sophisticated earthquake sensor stations installed underground to detect the first subtle signs that an earthquake has begun.

Still, a successful smartphone app, woven into the USGS system, could make the overall warning network even faster in California, Oregon and Washington state, he said. And it would enable the technology to be used in other areas of the world with few or no earthquake sensors.

“Nepal has almost no seismic stations. But they have 6 million smartphones. There are 600,000 smartphones in Kathmandu alone,” Allen said. “So if we can get MyShake working, then we could potentially be providing early warning in Kathmandu.”

The app was released by the Berkeley Seismological Laboratory and developers with Deutsche Telekom Silicon Valley Innovation Laboratories of Mountain View, Calif. Allen said the team will consider creating an iPhone version of the app if many people download the Android version.

The announcement of the app’s release was made in the journal Science Advances, and is being presented at the annual meeting of the American Assn. for the Advancement of Science in Washington.

Scientists not involved with the app say it is a welcome development for early warnings in the United States, and represents a great use of “crowdsourcing” — using information gathered by the public — for science.

There are already indications that the approach is valuable to scientists. Twitter, for instance, is so fast that people tweeting about an earthquake can outpace the official seismic detection network in parts of the world with very few sensor stations, said USGS research geophysicist Sarah Minson.

Minson has been using similar smartphone technology to bring a less cost-prohibitive early warning system to Chile. She is working with a team to install about 200 smartphones — programmed with a GPS sensor-based quake-detection app — in boxes and placing them on roofs to act as seismic sensor stations. 

“Smartphones are fantastic. And they’re cheap, and they’re ubiquitous,” Minson said. The cellphone sensors can “get us so much more data than we can get just from scientific instruments. Scientific instruments are obviously much higher quality, but we are limited in terms of numbers by their expense.”

New app uses your cellphone to detect earthquakes – Los Angeles Times