Quad encoder problems


Closed Thread
Results 1 to 40 of 52

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Posts
    22


    Did you find this post helpful? Yes | No

    Default

    Hi Darrel,
    Thanks for your input! Please forgive me for not explaining everything. I understand inertia and centripetal force and I totally agree with you. However, the plane this unit is going into is slow and very stable. Yes it can do loops and rolls but I do not plan on doing any (or at least I don’t expect the reading to mean anything if I do). I plan on just slow gentle flying and gliding. For this, I believe my setup should work just fine. Please correct me if I am wrong.

    Smitty

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    I still think you'll have problems with the weight swinging back and forth, and wild readings in general just do to the different G forces.

    If you're just looking for a way of finding which way is down during level flight. Perhaps as an aid to setting the trim. I think it'll be a lot easier to use an accelerometer. It's not going to give an artificial horizon, but it can find which way is Up. It can also give other interesting info like the G force of a turn or the amount of turbulence.

    There's a nice one at Parallax for pretty cheap. And it works with PULSIN, so no interrupts or quadrature encoders to deal with.

    Memsic 2125 Dual-axis Accelerometer
    http://www.parallax.com/detail.asp?product_id=28017

    Understanding the Basics of an Accelerometer
    http://www.parallax.com/html_pages/r...s/cat_acce.asp

    HTH,
    DT

  3. #3
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Default

    Having a little experiance with this from the operator end, Darrel is right, at any flight speed. It is inconcievable that you will only be flying in straight, unaccelerated flight, and this is the only time your concept would be accurate. Even at slight bank angles and accelerations, your "gravity" based system would not give you useful or accurate infomation.

    Doing a little searching, found an adequate explaination of why this the the case.

    Steve
    Last edited by SteveB; - 3rd October 2006 at 15:34.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Darn 40 posts per page.

    Smitty, if you missed it, go back to post #40, page 1.
    Steve and I both hit it at the same minute
    <br>
    DT

  5. #5
    Join Date
    Sep 2006
    Posts
    22


    Did you find this post helpful? Yes | No

    Default

    Crud! You guys are convincing me that this will not work. I didnt think the forces would be that bad. I guess it is like walking and carrying a glass of water, and we all know how it sloshes around.

    Ok so a Parallax dual accelerometer shows where down is? Is it effected by inertia?

    What about a pair of Mem's inclinometers from Digital ADIS16203?

    I need to do some more reading I guess.

    Smitty

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Is it effected by inertia?
    Yes it is. That's why it can't give an artificial horizon.

    What about a pair of Mem's inclinometers from Digital ADIS16203?
    At $48 a piece for a single axis, It's makes the dual axis for $29.95 look a lot better.
    <br>
    DT

  7. #7
    Join Date
    Sep 2006
    Posts
    22


    Did you find this post helpful? Yes | No

    Default

    I am a little confused. Will inertia effect the ADIS16203 digital inclinometer as well? Dosnt it work off the earths magnetic field?

    Is there any way I can make this artificial horizon work without a PHD in astrophysics?

    Smitty

  8. #8
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by smitty505000
    ....

    Is there any way I can make this artificial horizon work without a PHD in astrophysics?
    ..
    I was about the say that this issue is getting too complicated for me to follow.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  9. #9
    Join Date
    May 2006
    Location
    Del Rio, TX, USA
    Posts
    343


    Did you find this post helpful? Yes | No

    Default

    Here is a quote from the datasheet of the ADIS16203:

    The ADIS16203 is a calibrated digital inclinometer that provides a full 360° of measurement range in any rotational plane that is parallel to the earth’s gravity. A dual-axis accelerometer provides the base-sensing function, which resolves the earth’s gravity into two orthogonal vectors, as displayed in Figure 23. A power-efficient approach to a common trigonometric identity converts these orthogonal vectors into an incline-angle measurement.
    It is an accelerometer. Thus, in flight, will only be accurate when the plane is in wings level, unaccelerated flight. In other conditions, it will be giving you the resulting sum of all accelerations on the plane, which will certianly not be the same as the acceleration of the earth's gravity.

    Steve

Similar Threads

  1. Quadrature encoder and ASM Interrupts. questions..
    By godfodder in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 17th March 2013, 14:45
  2. Instant Int and encoder (Elect. Gearing)
    By boroko in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 29th November 2009, 02:29
  3. encoder HEDL 5540
    By kutsi in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 11th June 2007, 14:00
  4. quad encoders
    By cpayne in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 13th March 2007, 17:49
  5. encoder wowes
    By wallaby in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 6th December 2005, 21:56

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts