T3

UAV DevBoard is back in stock

UAV_v28.JPG

The UAV Devboard is back in stock at SparkFun, with a new design.The reason for the design change is that Analog Devices no longer makes the gyro that we were using on the previous board, so we have switched the design to the LISY300AL. Paul Bizard and I have thoroughly tested the new board on fixed-wing aircraft, the LISY300ALs work just great with DCM.We have modified all of our existing firmware to be able to run on either board, and will make sure that all future firmware will also work on either board. If you have written firmware for the UAV dev board, you will only have to make a few minor changes to run it on the new one. The two board designs are nearly identical. The only differences are:1. The new board uses LISY300AL gyros instead of the ADXRS401, and the 6g range instead of the 1.5g range for the accelerometers. This will allow you to provide aerobatic control without saturating the sensors.2. The gyros, the accelerometers, and the A/D reference voltage are all tied to the 3.3 volt regulated supply. This will totally eliminate drift of gyros and accelerometers due to supply voltage changes.Each firmware project now has both a "green" version for the previous board and a "red" version for the new board.
E-mail me when people leave their comments –

You need to be a member of diydrones to add comments!

Join diydrones

Comments

  • T3
    @Tom

    First, I agree with you, Tom, about the vibration issue with the LISY300. I stipulate that the LISY300 is vulnerable to vibration at 4 kHz. As you say, enough vibration at that frequency will rattle the LISY300 hard enough so that there is nothing you can do. So, I do not recommend that anyone use my new board in high-vibration applications, at least not without testing it first. You are right, the new Analog Devices gyros with a 15 kHz resonant frequency should be less vulnerable to the vibration that a helicopter generates. If I ever get around to designing a board for helicopters, I will probably use the Analog Devices gyros.

    That said, I think there are things that you can do to mitigate the vibration issue for the LISY300. I mount my board in my planes with velcro. In addition to making it easier to install and remove, it does provide quite a bit of isolation from shock and vibration. Though velcro might not be strong enough for helicopter applications, it could work for fixed-wing aircraft with internal combustion engines. It works perfectly well in fixed-wing electrics.

    Also, at first I definitely did see a shock issue with the LISY300s on my prototype board. Whenever I flicked the board, the DCM algorithm jumped. However, that problem completely went away when I raised the sampling rate. So it is not entirely clear to me that any problem anyone has ever had with the LISY300 is a vibration issue. They may simply have not used a high enough sampling rate. I think that with vibration, it is a question of degree. I think that if there is moderate vibration problem, you can improve the situation with a higher sampling rate to prevent aliasing of the response to vibration. If there is a large problem, there is nothing that you can do.

    @Brian

    Regarding the Invensens gyros, it is my understanding that Paul Bizard had some problems with those. Paul bought the 5 DoF IMU from SparkFun with the IDG-300 X-Y gyros. I convinced him he needed a third gyro for our DCM algorithm, so he bought a LISY300 later on. He built a copy of my UAV DevBoard. He never got it working to his complete satisfaction. There appeared to be a huge amount of drift from the IDG-300. He was able to do a direct comparison between the LISY300 and the IDG-300, the LISY300 was drift-free by comparison.

    I have not ever tried the IDG-300, so I do not know. As I am sure you know, as you move up to higher range gyros, the issue of drift becomes aggravated.

    I assume that you have tested the Invensens for drift, in which case I am sure that everyone would be interested in what you found.

    Finally, I like your idea for providing some shock and vibration isolation in the mounting of your board.

    Best regards,
    Bill Premerlani
  • T3
    Tom P,
    I would sure be interested in that gyro comparison document if you ever re-discover it.

    I ended up going with the Invensense IDG-500 gyros for several reasons. The primary reason was I wanted to avoid having daughter boards mounted at 90 Deg to the main board. Invensense offers a dual X-Y gyro and a single Z-gyro so I can mount all the devices directly to the main board. Unfortunately the Z-Gyro wont be available until third quarter so I am substituting with the ST LISY300 on the prototype and will switch over when the invensense Z-Gyro is available.
    Another reason for picking the Invensense family is they have several devices in the same footprint covering 67 Deg/sec to 2000 Deg/sec. If the need arises, they could easily be swapped for one of the other versions.
    The IDG500 has a resonant frequency above 20Khz. The hope is vibration will be substantially reduce at that frequency. In addition my board has a mounting strip down each side that is meant to be used with a rubber or foam isolator should the need arise. I'm hoping this will eliminate any vibration or impulse issues.
    I definitely want my board to be usable on a helicopter and am hoping I have my bases covered. I guess testing is the only way to know for sure.

    Thanks,
    Brian
  • @Bill,

    I made a design with the LISY in it myself, but decided not to make a prototype because of these warnings I read. Personally, I can not think of a reason why the higher sample rate would make any difference, mainly because the vibrating mass is still vibrating at a frequency in the same range as some of our engines. The German experts even tried it with complex analog filtering, but it did not help.
    The standard answer from ST is:
    ---
    There's no way to avoid this issue.
    4kHz is the resonant frequency of the internal masses. If you excite them, the internal MEMS will get crazy and the output will no longer be reliable.
    With other devices (other manufacturers' gyros) resonant frequencies may be very different (from few kHz to several kHz) and hence, you may have not seen the device becoming crazy.
    ---

    The best choice seems to be the AD ones (300 degrees/s), and the melexis ones being a close 2nd best (you still seem to get what you pay for...).
    So I would really advise you to do some serious testing in different aircraft/engine setups, to get a better view on this problem.
    Unfortunately, I was not able the find the "gyro comparison" document I once encountered.

    Best regards,

    Tom
  • T3
    @David

    Basically, what Rob said is right. There are plenty of 3 axis accelerometers, we are using one of those, but I have not seen a suitable 3 axis gyro just yet that can compete with three LISY300s for price and performance.

    An IMU needs both accelerometers and gyros.

    I have been doing some more testing on the prototype board that SparkFun made for me with the LISY300 gyros. They are performing great. With the new board, you will be able to turn your plane at 300 degrees per second without saturating the gyros, and pull 6 gs without saturating the accelerometers. I am getting closer to one of my goals of pulling a high acceleration, continous, constant altitude, highly banked turn under IMU control.
  • @David
    Those links are not for gyros. I've seen that they now have 2 axis gyros integrated on one chip, but have yet to see a 3 axis one. It will be nice when they do finally come out with a high quality 3 axis gyro IC, at the right price.
  • T3
    @Hugo,

    I want to do more testing before I give you a definite yes or no about using the LISY300 for helicopters. Tom's information raises a concern, but my recent tests are encouraging that it may simply be a matter of aliasing.

    I have a helicopter. I will put using it to do vibration testing of the LISY300 on my list of things to do, though I am not sure when I will get to it. There is a lot on my plate just now. In the meantime, I suggest that you consider whatever gyros that Tom recommends.

    Bill
  • T3
    @Tom and @Hugo,

    First of all, I want to thank Tom for alerting me to a possible issue with the LISY300 gyros that I was able to fix in firmware.

    I took a closer look at the prototype board that I have with the LISY300 gyros in it. I noticed that if I tapped the gyros, DCM would "jump". Not good. Not a good sign at all. It would seem that there might be a problem with vibration....

    I then took a look at my older board, with the ADXRS401. I tapped the gyros on it, everything was fine. So, at first glance, it would appear that the LISY300 is sensitive to vibration....

    But then I thought about it some more...

    It finally occurred to me that maybe the LISY300 simply had a higher frequency response than the ADXRS401, either because of the way that it is built, or because of the way the analog filters are designed.

    If that is the case, all you have to do is raise the sampling rate high enough, and integrate!!

    So I did. I raised the sampling rate from 500 Hz to 5000 Hz per channel. No problem for the dsPIC30F4011.

    Now I can bang away at the gyros as hard as I can, everything is fine. I will still have to do vibration testing, but the fact that I could make the "glitching" go away by raising the sampling frequency is very encouraging.

    It appears that at the lower sampling rate I was getting aliasing, because the frequency response of the gyro is higher than 500 Hz. When I tapped the gyro, it must have produced ringing at some frequencies that were multiples of 500 Hz. Raising the sampling rate to 5000 Hz and integrating solved the problem. My roll-pitch-yaw demo works great on the new board now.

    Tom, by any chance do you know what sampling rates they used in the German forums? I think it would make a big difference. Gyro manufacturers usually have specific recommendations for their particular gyros to avoid aliasing with the vibration frequency that they use.

    In any case, I want to thank Tom very much for alerting me to the issue so that I could fix it before I released the new board and firmware.

    Thank you.

    Bill Premerlani
    http://encouraging.It/
  • T3
    @Hugo,

    Based on Tom's note, I am not encouraged about using the LISY300 gyros in a situation where there is a lot of vibration, but I am not so sure they could not be used until I do some testing myself, for a couple of reasons:

    1. Some algorithms are better than others at rejecting errors caused by vibration. DCM is basically a pure integrator, and will greatly attenuate errors in the lower kHz region. Also, the drift compensation portion of the algorithm will attenutate the error caused by aliasing when the vibrations of the motor match the vibrations of the gyro. Unless the gyro is resonating to saturation, DCM might be able to work with the LISY300 in this situation.

    2. You might be able to mount the board to attenuate the vibrations.

    Though it is a long shot. If I were you, I would be cautious about using the LISY300 if there is a lot of vibration.
  • T3
    @Tom
    What gyro do you recommend?
    Bill
  • The LISY300 is not fit for quadrocopters. On the German UAV forums they have been comparing every gyro on the market, and the LISY300 was considered the poorest performer, mainly due to its vibrating mass being in the lower kHz region, similar to the vibrations caused by the motor.

    Tom
This reply was deleted.