Subscribe to rss feed

IPhone 4 as OHKLA flight computer? | Other subsystems | Forum

 
You must be logged in to post user permissions login Login register Register


Register? | Lost Your Password?

Search Forums:


searchicon 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

topic

IPhone 4 as OHKLA flight computer?

print
small tagNo Tags
UserPost

5:10 pm
June 23, 2010


Rocket-To-The-Moon

Altus, Oklahoma, USA

Member

posts 685

offline
link
print
1
0
ratedowngrey
rateupgrey

Post edited 6:22 pm – June 23, 2010 by Rocket-To-The-Moon


http://en.wikipedia.org/wiki/I…..elerometer

I was just reading through some details about the new 4th gen IPhone from Apple. This thing has built in GPS along with what essentially amounts to a full fledged Inertial Navigation System. With proper software, it may be possible for the phone, as is, to serve as the heart of the guidance, navigation, and control system of the rocket.

Despite my lack of programming knowledge (although I am making an effort to learn), this is the type of stuff that excites me. That would make headlines for sure.

Heck, the thing even has a built in 720p video camera. Talk about an all in one device.

With a suitably strong ground antenna it might even be possible to downlink telemetry data in realtime via 802.11.

If this is workable it would be much (much) simpler than developing our own hardware.

Thoughts?

Main Workgroups: Propulsion & Spacecraft Engineering

9:42 pm
June 23, 2010


Luke Maurits

Adelaide, Australia

Admin

posts 1483

offline
link
print
2
0
ratedowngrey
rateupgrey

Hmm.  Interesting.

On the one hand, I feel like this approach is in some degree of conflict with some aspects of our Social Contract, namely:

  • When selecting off-the-shelf hardware for use in construction of
    rockets and spacecraft, in situations where other practical concerns
    (cost, mass, reliability) are equal, CSTART shall exercise a preference
    for hardware which makes minimal use of patented designs, proprietary
    firmware, etc.
  • All computers onboard CSTART rockets and spacecraft which run operating
    systems will run operating systems whose kernel and basic userland
    utilities satisfy the Free Software Foundation's Free Software Definition.

But then, the Social Contract and Design Philosophy are kind of a balancing act between conflicting ideals and so I feel like we shouldn't reject the idea immediately due to the above, and should consider the technical merits of the idea as well.

Some things that occur to me are:

  • How accurate are the inertial measurement units in an iPhone?  I suppose their intended purpose is for fairly basic stuff – like user interfaces where you can control the device by shaking it, etc?  In this case they might be pretty poor with regards to long-term stability.  It's probably possible to find specs on this to double check.
  • How possible is it going to be to add extra input devices?  Most high altitude rocket avionics stacks seem to include a barometer and sometimes also magnetometer in addition to GPS and IMUs.  Does the iPhone have USB ports or something we could use to incorporate this kind of stuff?
  • How possible is it going to be to get the iPhone to control things.  I'm thinking here mainly about separating the nose from the body to deploy the parachutes.  Ideally this decision is going to be made by software which responds to input from the kind of data we've discovered above, so we need the iPhone to (i) be able to run arbitrary software (and isn't this difficult?  Don't you need to get your stuff approved by Apple or something?) and (ii) send an output signal to some electromechanical construct of ours for performing the separation.  Again, a USB port could support this, but if the iPhone has those at all I'm not sure it will have as many as we may end up needing.  I guess we could use a USB hub or something, I don't really know how those work.

If these issues are easy enough to overcome then the idea might have some merit.  It would also aid with recovery if we did the launch in an area where there was cell phone coverage.

Main CLLARE workgroups: Mission Planning, Navigation and Guidance. I do maths, physics, C, Python and Java.

5:45 am
June 24, 2010


Rocket-To-The-Moon

Altus, Oklahoma, USA

Member

posts 685

offline
link
print
3
0
ratedowngrey
rateupgrey

Idon't really know the answers to these questions since I don't have any firsthand experience. With the exception of the social contract conflict, I think that it could work assuming that there is the ability to have a hardwired output to a multli-controller.

As far as getting apps approved. I'm almost certain that this is only if they will be put online for others to buy/download.

 

I wonder what Von Braun would have to say about even the consideration of making a telephone the center of a GNC system?

Main Workgroups: Propulsion & Spacecraft Engineering

7:36 am
June 24, 2010


Luke Maurits

Adelaide, Australia

Admin

posts 1483

offline
link
print
4
0
ratedowngrey
rateupgrey

Rocket-To-The-Moon said:

I wonder what Von Braun would have to say about even the consideration of making a telephone the center of a GNC system?


 

Good question!  I wonder what he'd have to say about the amount of progress manned spaceflight has had since his passing? sf frown

Main CLLARE workgroups: Mission Planning, Navigation and Guidance. I do maths, physics, C, Python and Java.

12:21 am
June 27, 2010


brmj

Rochester, New York, United States

Member

posts 402

offline
link
print
5
0
ratedowngrey
rateupgrey

I am against this, both because it isn't open enough and because doing interesting stuff on the iPhone with external hardware is supposed to be very difficult. It lacks usb ports or other standard plugs, and the OS is a bit fascist about sandboxing everything to keep it away from the hardware.That's a neat, out of the box idea, though. There are Android phones with the features you mentioned that might work, and would certainly be more open and easier to develop for. The Motorola Droid, for example, has a three axis accelerometer, GPS, an A8 processor at 550 mHz, as nice a camera as the iPhone and, unlike the iPhone, usb host capability for adding external devices. That might be worth investigating.

Main work groups: Propulsion (booster), Spacecraft Engineering, Computer Systems, Navigation and Guidance (software)

12:29 am
June 27, 2010


Luke Maurits

Adelaide, Australia

Admin

posts 1483

offline
link
print
6
0
ratedowngrey
rateupgrey

Very interesting – nice "save", brmj!  I do feel like using a smartphone as a flight computer does kind of embody a lot of the original spirit of the Design Philosophy.

The biggest questions over this in my mind are:

  • How good are the accelerometers, and
  • If there's no phone signal at our launch/landing sites, how hard is it going to be to communicate GPS data from the phone to an external radio device?  I suppose not too hard, really the phone has just replaced the microprocessor we'd have otherwise used.
  • What does it cost to buy one of these phones outright (i.e. not on some kind of contract that we'll have no use for), and how does that cost compare to rolling our own device using an Arduino or the like?

Main CLLARE workgroups: Mission Planning, Navigation and Guidance. I do maths, physics, C, Python and Java.

2:50 am
June 27, 2010


rpulkrabek

Member

posts 348

offline
link
print
7
0
ratedowngrey
rateupgrey

I am very against the iPhone as well. I would suggest the more "hackable" Nokia n900, which is now about $370 unlocked. It runs on Linux. If I remember correctly, it's written in Python. And again, if I remember correctly, it has top notch hardware for a phone.

In general, I think we are a bit away from utilizing a phone to control a rocket, but it may be good to keep in mind for future use.

3:01 am
June 27, 2010


Luke Maurits

Adelaide, Australia

Admin

posts 1483

offline
link
print
8
0
ratedowngrey
rateupgrey

rpulkrabek said:

 

In general, I think we are a bit away from utilizing a phone to control a rocket, but it may be good to keep in mind for future use.


 

There's really almost nothing happening in the way of "control" on OHKLA.  The only control thing involved is separating the nose cone from the body, and that's presumably just a matter of sending a single bit signal to some device once we register an appropriate combination of acceleration and barometry values.

Main CLLARE workgroups: Mission Planning, Navigation and Guidance. I do maths, physics, C, Python and Java.

6:44 pm
June 27, 2010


Rocket-To-The-Moon

Altus, Oklahoma, USA

Member

posts 685

offline
link
print
9
0
ratedowngrey
rateupgrey

Good discussion. The biggest advantage that I saw was a single integrate package with a high speed processor. Brmj's points are very valid. I didn't know that the iPhone had no connections to the external world. I definitely know that it is possible to install different operating systems on certain phones which gives you the ability to use the hardware as you please.

There is something to be said about designing it from scratch though.

 

BTW, I'll be offline through at least Thursday.

Main Workgroups: Propulsion & Spacecraft Engineering

8:13 pm
June 27, 2010


antinode

Member

posts 64

offline
link
print
10
0
ratedowngrey
rateupgrey

Consumer GPS receivers have a legally set limit of 6000 ft (~18KM) and 1000 mph. Neither GSM nor WiFi would be usable at any significant height. The only usable hardware would be for raw processing and there a much better options for that. Something like an Arduino would be a much better starting point as the schematics are open and able to be customized.

11:34 pm
June 27, 2010


rpulkrabek

Member

posts 348

offline
link
print
11
0
ratedowngrey
rateupgrey

I think we would only need GPS to find the rocket after landing. I think what we are more interested in is the cheap accelerometer or gyroscope.

If the only thing that needs control is for the separation of nose cone from the body, does that mean we don't control attitude, specifically pitch or yaw? Do we just point this rocket straight up into the air and hope for the best?

11:40 pm
June 27, 2010


rpulkrabek

Member

posts 348

offline
link
print
12
0
ratedowngrey
rateupgrey

I made a separate thread about this a while back, but it's a bit relevant here. I said:

"http://fora.tv/2010/05/23/Matt…..id_Rockets

 

I watched this video the other day. There are some interesting things they speak about, such as using smart phones to control small satellites. Another thing of interest was that there is an open source program on Github, called MaxKernel to control a rover."

11:43 pm
June 27, 2010


Luke Maurits

Adelaide, Australia

Admin

posts 1483

offline
link
print
13
0
ratedowngrey
rateupgrey

rpulkrabek said:

If the only thing that needs control is for the separation of nose cone from the body, does that mean we don't control attitude, specifically pitch or yaw? Do we just point this rocket straight up into the air and hope for the best?


 

Well, it's not exactly a matter of blind hope.  For one thing, we would certainly want to launch from a time/place with absolute minimum wind.  The shape and size of the rocket's fins will be chosen to maximise stability.  We may also end up canting the fins slightly to induce a rolling motion about the axis of the rocket body.  This will give us some angular momentum and hence resistence to pitch or yaw induced by wind etc.  I think this sort of passive stability control is absolutely normal for non-orbital rockets.  I am pretty sure that CSXT's suborbital fight used nothing more than canted fins for stability.

Main CLLARE workgroups: Mission Planning, Navigation and Guidance. I do maths, physics, C, Python and Java.

small tagNo Tags

About the CSTART – Collaborative Space Travel and Research Team Forum

Forum Timezone: UTC -6

Most Users Ever Online: 59

Currently Online:
9 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 4
Forums: 36
Topics: 512
Posts: 3809

Membership:

There are 1133 Members

There are 2 Admins

Top Posters:

Rocket-To-The-Moon – 685
brmj – 402
rpulkrabek – 348
DenisG – 69
antinode – 64
J. Simmons – 46

Recent New Members: jmwright, uhwuggawuh, seikialice88, bishvabis, alijayadv, harris

Administrators: Luke Maurits (1483 Posts), Rizwan (170 Posts)



 
share save 120 16