Tom Yochum
Tom Yochum
  • Male
  • Kirkland, WA
  • United States
Share Twitter

Tom Yochum's Friends

  • Seth
  • tejeshwi
  • Ritchie
  • amarnath eedpuganti
  • Tom Hastie
  • Michael Primm
  • viky
  • Abhishek Jain
  • Brian Hudson
  • Brian Mills
  • Phil Argent
  • Scott Lencl
  • wayne garris
  • Gary Mortimer

Tom Yochum's Discussions

 

Tom Yochum's Page

Latest Activity

Profile Icon
Tom Yochum replied to Just Robotics's discussion 'Kalman Filter vs DCM'
The term "DCM" used around here is in reference to an algorithm that using the direct-cosine matrix to compute the attitude of the craft (an AHRS) while compensating for the gyro drift.   A Kalman can be used to do the same thing;…
Nov 22, 2011
Profile Icon
Tom Yochum replied to Jan Kaas's discussion 'Inertial navigation in Arducopter'
Hi Jan, The arduino does not have enough processing power to run an inertial navigator in addition to the autopilot code. Try checking out Open Pilot.   Tom
Nov 22, 2011
Profile Icon
Tom Yochum replied to Alex Roup's discussion 'Why is there no track-keeping integrator?'
Alex, I agree with pretty much everything you said. However, the devil is in the details. I find that the biggest issue with an integrator is preventing wind-up and other problems. You can design a fantastic integrator gain on paper that causes all…
Nov 16, 2011
Profile Icon
Tom Yochum replied to Alex Roup's discussion 'Why is there no track-keeping integrator?'
The current proportional-derivative (PD) will compensate for wind, it just won't do it perfectly. You only use an integrator to get that last 1%. Is 99% good enough? Maybe not for landing, but probably everywhere else.
Nov 15, 2011
Profile Icon
Tom Yochum replied to Sarunas's discussion 'Ultimate IMU'
IMU's do not output position. An IMU outputs angular rates and lateral accelerations. You need software to turn that information into something useful, such as orientation, position, and velocity. An AHRS uses an IMU to output orientation. If…
Nov 3, 2011
Profile Icon
Tom Yochum replied to Caleb Chamberlain's discussion 'New multi-rotor autopilot'
Nice Caleb!   I have a few questions I am hoping you can answer: Did you use the same accels and gyros from your IMU board? Why the two processors? Is one running the GPS/IMU code and the other autopilot code? Cost? Are you going to be selling…
Sep 16, 2011
Profile Icon
Tom Yochum commented on Jesse's blog post 'A simple INS - the beginnings'
So how is what you are making an INS? It sounds like you are making an AHRS (attitude heading reference system).   An INS computes position and velocity using the inertial sensors. An AHRS provides attitude only, which is what this sounds…
Jun 17, 2011
Profile Icon
Tom Yochum replied to Recmaster's discussion '3D ultrasonic anemometer - plane airspeed = true wind speed?'
Airspeed is typically the speed the aircraft is moving relative to the air it is in. (The speed of air moving over the body of the aircraft.) Wind speed it the speed the air is moving relative to the ground. Therefore, the speed the aircraft is…
Jun 3, 2011
Profile Icon
Tom Yochum replied to Kim Skatun's discussion 'GPS formulas'
I find this site full of useful info.
May 26, 2011
Profile Icon
Tom Yochum replied to Caleb Chamberlain's discussion 'Putting the Rotorcraft/Accelerometer Question to Rest'
Great stuff Caleb! Thanks for sharing.
May 23, 2011
Profile Icon
Tom Yochum replied to Mike Metcalf's discussion 'New Low-Cost Wind Tunnel'
Your brocure does not mention any force or moment measuring capability. Can you? I get the impression that you are not interested in publishing your rates. Why? Can I ask if your rates are less than $300 an hour?
May 18, 2011
Profile Icon
Tom Yochum replied to Mick James's discussion 'Variable Sweep Wing'
Use a bigger motor. :) Sweeping the wings back should actually increase the drag since you would be reducing the aspect ratio, so induced drag would increase.  
May 11, 2011
Profile Icon
Tom Yochum replied to Mick James's discussion 'Variable Sweep Wing'
Variable-geometry wings are used to reduce the onset of transonic drag rise above Mach 0.8 or so. I will be extremely impressed if you are planning on flying that fast!   At low speeds (below 0.75 Mach), sweeping the wings back only makes…
May 9, 2011
Profile Icon
Tom Yochum replied to alex sasha's discussion 'kalman filter & 3 gyro & 3 accelerometers'
Alex,   Are you looking for help or someone to do it for you? I don't mean to be rude, but what you are asking for is usually graduate-level work. If you have specific questions about Kalman filters I would love to help. If you have…
Apr 27, 2011
Profile Icon
Tom Yochum commented on William Premerlani's blog post 'A simple dead-reckoning algorithm'
Bill,   Thanks for the advice. I haven't thought too much about how to quantify the accuracy of the system. The Kalman currently says the 95% error bound is about 1.5 meters, but I have no way to verify I am actually getting that kind of…
Apr 20, 2011
Profile Icon
Tom Yochum commented on William Premerlani's blog post 'A simple dead-reckoning algorithm'
Bill, The devil certainly is in the details! I haven't posted any results here because I realize the real test is something working in the real world. One of the biggest challenges I can see us needing to overcome is GPS latency. Obviously you…
Apr 19, 2011

Profile Information

About Me:
I am a systems engineer for Universal Avionics. I am working on a project with my neighbor, Brian Hudson, to create our own autonomous UAV.

Tom Yochum's Blog

Tom Yochum

Using ArduPilot as an aerial minesweeper?

Posted on December 11, 2009 at 3:03pm 62 Comments

I read in Aviation Week (Nov 16th issue) about the International Astronautical Federation and the Minseeker Foundation teaming up to study landmine detection from space. Landmines are a terrible leftover from war in many developing countries. There are an estimated 100 million landmines in the world, and they kill or maim 15,000 to 20,000 people each year. Many international organizations are working on ways to efficiently remove these landmines.



This got me thinking about the… Continue
Tom Yochum

Almost off the ground...

Posted on September 29, 2009 at 9:07am 8 Comments

Brian and I are almost ready to get our autopilot project "off the ground".



We received a free airplane from a friend of mine who now lives in Japan. (A lot cheaper to buy a new one than ship the old one.) The plane came with a glow engine but we converted it to electric. (Sorry for the crummy iPhone pictures!)

Before:

After:…

Continue
Tom Yochum

Modeling the brushless motor

Posted on May 22, 2009 at 7:52am 4 Comments

I am trying to put together a Simulink 6-DOF model of a complete UAV. I have the aerodynamic data for the Rascal UAV from this paper. The only thing left to model is the electric motor. I need to create a model that takes in the throttle setting and outputs the current draw, rotation speed, and motor torque. I found some papers on the math of an AC motor, but I couldn't make heads or tails of it. Does anyone know of a good paper that outlines… Continue
Tom Yochum

IMU alignment code progress

Posted on April 13, 2009 at 9:43am 3 Comments

We received our IMU!



Brian is busy making it talk to the Arduino board. Meanwhile, I have been working on the alignment code. The alignment proccess uses the IMU's sensors to determine its orientation (roll, pitch, and heading) while stationary. I spent the last few days writing code based upon this document.… Continue
Tom Yochum

Things are moving forward!

Posted on April 9, 2009 at 9:08am 1 Comment

Brian and I are moving forward at a good pace. As he wrote in his blog, we have our processor board in hand and the IMU is on its way. Yeah!



I have been busy with a few tasks:



1. Aircraft selection.

I am pretty set on buying the AXN Floater Jet. It is inexpensive, durable (foam construction with pusher prop), and comes with aileron control. I will probably put in the order this weekend unless… Continue

Comment Wall (14 comments)

At 10:03am on June 5, 2009, Abhishek JainAbhishek Jain said…
hey Tom,

Thanks for replying so quick. Cannot wait to hear from Brian. Am banging my head on this for the past month. Am waiting for his reply. Pls keep me posted on your progress with the "Dreaming of wings" project

Abhishek
At 9:53pm on June 6, 2009, Abhishek JainAbhishek Jain said…
Hi Tom,

I got the IMU working thanks to Brian. Now I would like your help on the Kalman filter to implement on it. Just could u give me the basics of what to do with the raw readings of the IMU. I can do the coding myself.

Thanks in advance
Abhishek
At 4:11pm on August 17, 2009, Michael PrimmMichael Primm said…
Tom,

I would like to collaborate, but I think you are farther along than I am. Also, I am not sure we are going down the same path, are you programming an autopilot in JBSim? I plan to use Flight Gear/JBSim as an air vehicle simulator only. I will use the input and output interfaces to FG for the control/response of the aircraft. However, one of my biggest hurdles could turn out to be an accurate JBSim FDM for my RC aircraft, as the extent of my aerodynamics knowledge goes about as far as what you pick up reading the AIM while in ground school. I will tell you where I am at and where I am going (I least a few weeks into the future) and anything you think may be of use to you I can share.

First off, let me say that I have not gotten any of my models for JBSim to work yet, although I haven't spent more than a night or two working on them. Right now I am working on writing an application that takes FlightGear output (via a socket), parses it, adds in sensor noise; etc., and "digitizes" it into a form that an ADC on a micro-processor would output. After that my goal is to write my IMU and control algorithms into the sim and see what they output. Next I would feed that data back into FlightGear to see how well the algorithms and simulated sensors control the "aircraft". For me, HITL is a long way off. Below is a brief roadmap (i've been meaning to do one of these anyway):

FG Interface:
1. Create protocol for socket communication (in XML for FG) – in progress
2. Create application interface that reads and “samples” FG output
3. Create realistic FDM for JBSim

Application:
1. Convert FG output into usable body frame data – in progress
2. Limit data to sensor spec – done for gyro sensor
3. Add in sensor noise and bias - done for gyro sensor
4. Filter to sensor cutoff freq (need to dig up old FIR filter Parks-McClellan code) – in progress
5. “Digitize” to ADC spec. - done

IMU Sim:
1. Write IMU algorithms (quaternion based)
2. Write (or use MatrixNav) DCM base IMU alg.
3. Compare

Flight Control Sim:
1. ...

Let me know if any of this fits into anything you are working on and I will share what I have. My plan is to open source everything when it is in some usable form anyway.
At 10:41am on August 18, 2009, Michael PrimmMichael Primm said…
Tom,

Mike works...

Well what I know about electric motors is (and the accuracy of this I cannot guarantee):

1. The (theoretical) torque output is constant from 0-max rpm. I suppose this means that the power output is also constant.
2. I believe this means that JSBSim would only need the power output (in watts) and the max RPM (or maybe not, see below) to model the electric motor.
3. The prop should behave like any other prop.

Below is what I came up with for the electric motor. Of course FG rejects my entire FDM but I think that is b/c of errors in the aircraft definition.


-
-
6.5


The reason there is no rpm definitions is b/c I cannot find in the JSBSim code where it loads any other value form the propulsion file other than power for an electric engine. There are two reasons I can think of for that:
1. I am not reading the code correctly. Without actually compiling and running a debugger (not out of the question, but I have more pressing issues) on the code it is hard to know FOR SURE how an electric engine is created.
2. The prop will spin at a certain RPM based on the load (calculated from the aerodynamic model I would assume) and the power input. i.e RPM is based on a function of prop load and power output from the engine. This means that theoretically the prop would spin at infinite RPM under no load. I guess that makes sense since only in a vacuum would a prop experience no-load.

As for your autopilot sim, are you looking to run this in realtime? I am sorry to hear that your IMU is closed-source, is there any particular reason for that? I am interested to see if your rascal FDM works in FG. I don’t know if FG HAS to have the graphical properties of a model to work properly. Do you have an input scripts to JSBSim that you use? I have not tried to run JSBSim standalone yet. Is there any way you could run your model in JSBSim, capture XYZ-accel and roll-pitch-yaw rates, and send me the data, this would help me with testing.

Mike
At 10:51am on August 18, 2009, Michael PrimmMichael Primm said…
electric.xmlTom,

The web site stripped out the xml from my post. So I have tried to attach it as a file.

Mike
At 6:25pm on August 18, 2009, Michael PrimmMichael Primm said…
If you don't mind me asking what is your target audiance? I never even thought about selling anything. In my world all I see is the big names quickly locking up the UAV markets, and certainly the IMU/INS/EGI markets. Also, how is that atomic board working out for you, particularly the LISY300s? I was thinking about picking one of those up, but I might just piece together a prototype first so I can see if the sensors are up to snuff. Any chance you guys have collected any data from that board? It would be nice to have to match my sensor model outputs to. Gonna take a look at you rascal model and see if I can't get it to run for me. As far as the electric motor model, what exactly are you looking for? Current draw, votages, battery drian, etc? I don't think that sort of stuff has been put into JSBSim yet. I'll let you know what I come up with.
At 8:12am on August 19, 2009, Michael PrimmMichael Primm said…
I don't have the file here at work, but it was very basic. Essentially just a propulsion file with one parameter: power (in watts). I am going to try to compile JSBSim today and see if I cannot get your rascal to work with an electric motor. Between real work and working on my masters it is hard to find playtime.
At 9:38am on August 19, 2009, Michael PrimmMichael Primm said…
Tom,

Had I mildly successful lunch. Got JSBSim compiled and running. It craps out reading the rascal model though. This is the error: "FGPropertyManager::GetNode() No node found for aero/function/CLwbh
The property aero/function/CLwbh is undefined."

I think it is caused by something around line 295 in the rascal.xml file. Have you had this problem?

Mike
At 5:39pm on August 19, 2009, Michael PrimmMichael Primm said…
Ohhhh, I was confused, I thought you had actually ran this file. I will give the new one a whirl and see what happens. I should let you know that there is a big difference between getting JSBSim to read in a model and actually getting that model to fly. Kind of like anybody can go and build something that looks like an airplane, but building an airplane that can fly is a whole nother story!
At 6:15am on August 20, 2009, Michael PrimmMichael Primm said…
Tom,

Ran the new file this morning and I think it still has the same issue. It will probably be easier for you to trouble shoot if you can run it yourself. I have attached a .zip file that has the JSBSim executable in it. You should unzip it and run it this way:

jsbsim --root="c:/code/JSBSim-1.0/" --aircraft=Rascal --initfile=reset00

for you "c:/code/JSBSim-1.0/" would be the full path where the exe is located. Your Rascal.xml file goes into the "/aircraft/Rascal" folder. reset00 is just an initial position file that for now dont worry about, you need to get your model running before you worry about that. Run it from a command prompt window and a whole bunch of information will be spit out to the screen including the errors. Let me know if you cant get it going.

Mike
JSBSim-1.0.zip

You need to be a member of DIY Drones to add comments!

Join DIY Drones

 
 
 

Groups

© 2012   Created by Chris Anderson.

Badges  |  Report an Issue  |  Terms of Service