Home › Forums › snickerdoodle Baseboards › • Community Built › UAV/Drone Baseboard

Viewing 11 reply threads
  • Author
    Posts
    • “Dr. K”
      Participant
      Post count: 6
      I'm in the process of creating a UAV/Drone baseboard for the Snickerdoodle.  My prelim reqs are below:
      – IMU
      – 4 channel output stage
        – [15 Amp, 15 V per channel]
        – phase voltage and current measurements for back EMF and current based control topologies
      – barometer
      – camera interface, 2X

      Please let me know if you would like any other features as I plan on laying out the board in the next couple of weeks.  Thanks, Dr. K

    • dominique%quidams.net
      Participant
      Post count: 10

      If you intention is to fly a camera, you could take some inspiration from Black Magic camera expansion port:

      https://www.blackmagicdesign.com/products/blackmagicmicrocinemacamera/expansion

    • “Dr. K”
      Participant
      Post count: 6
      Thanks for the tip.  Ideally this baseboard would allow for visual inertial odometry via dual cameras.  The most difficult decisions right now are if we should include GPS on the system[price driver], what types of motor connectors to use, and what type of integrated cameras or camera ports we should use. 

      Another question that I need to investigate is how capable the 7020 is for doing real time video processing.  Doesn't make sense to include hooks for high def cameras if the FPGA fabric can't handle the image size at the desired sample rate.  Thoughts?

      On Saturday, November 12, 2016 at 9:33:35 AM UTC-5, dominique%…@gtempaccount.com wrote:

      If you intention is to fly a camera, you could take some inspiration from Black Magic camera expansion port:

      https://www.blackmagicdesign.com/products/blackmagicmicrocinemacamera/expansion

    • Ryan Cousins
      Keymaster
      Post count: 343
      Back when we first launched the snickerdoodle campaign, we actually had an autopilot baseboard listed as an 'accessory.' It turned out to be a bit too much for (most) people to swallow and we eventually took it down due to a lack of interest, but through our discussions with the DIY drone community, we did get quite a bit of solid feedback. 
      As a quick overview, here's what we "started" with (we still have a mockup of this in our office):
      • TMS570LS0714 dual-core-lockstep Cortex-R4F automotive-grade safety microcontroller
      • MachXO2-7000 PLD providing triple MIPI CSI-2 camera sensor bridging
      • EVA-M8M dual-frequency concurrent global satellite navigation receiver
      • triple-redundant MPU-9250 nine-axis gyroscope, accelerometer and magnetometer
      • double-redundant MS5611091BA03 barometric altimeter
      • triple-redundant auto-failover power supply switch
      • RGB status LED
      • 8-Channel 200ksps 16-bit ADC exposed on two 8-pin CLIK-Mate receptacles
      • 22-Channel PPM/PWM/S.BUS transceiver exposed on 3×22 pin male 0.1” pitch header
      • four TTL UART telemetry ports exposed on 6-Pin CLIK-Mate receptacles
      • one USB 2.0 hi-speed OTG micro-AB receptacle
      • one micro HDMI Type D receptacle supporting 1080p60 camera video input
      • fail-safe dual 1Mbps CAN transceiver with two 4-pin CLIK-Mate receptacles
      • three Samtec 30-pin TEM locking MIPI CSI-2 camera connectors
      • I2C exposed on a 4-pin CLIK-Mate receptacle
      • SPI exposed on a 7-pin CLIK-Mate receptacle
      • arm switch input on a 3-pin CLIK-Mate receptacle
      • on-Board piezoelectric sounder
      • I2C Identification and configuration EEPROM
      • one male 30-pin TFM mating header for snickerdoodle
      • six male 40-pin TFM mating headers for snickerdoodle

      A few comments on the above: 

      • perhaps unsurprisingly, the dual-core lockstep uC definitely scared a lot of people away; we built a lot of redundancy into the baseboard itself in an effort to make the entire system more robust and safe, but in the end that didn't seem to matter much to most people (and you can arguably address a lot of those issues with snickerdoodle's 2x ARM cores and FPGA)
      • by and large, most people seemed to be OK with keeping the GPS separate from the autopilot itself; while we included a u.FL jack for connecting an external antenna, this generally seemed to be viewed as a problem that was 'already solved' and that people preferred being able to hook up their own via SPI, UART, etc.
      • the IMU and barometer seemed acceptable, but everyone seemed satisfied with having only one of each installed
      • there were mixed feelings about including a piezo speaker onboard due to possible interferences with the IMU, etc.
      • Click Mates were borrowed from the Pixhawk 2 (which 3DR chose because everyone universally despised the original Pixhawk connectors); although to maximize compatibility with the rest of the snickerdoodle ecosystem (e.g. if/when we have a snickerdoodle camera module), bringing any "extra" I/O out to a 40-pin Samtec header will probably make the most sense…
      • the Lattice PLD provided an 'easy' way to connect CSI cameras (of which there are many good, cheap options) as it avoided needing to develop/buy any Xilinx IP to accomplish the same feat; this can alternatively be overcome by using a camera/s with a parallel/LVDS interface…
      • speaking of cameras, our scheme was to be able to accommodate 3x CSI cameras + 1x (micro) HDMI camera – the former for forward-looking stereo + flow, the latter for image capture (high res photos, videos, etc.); the 7020 can certainly handle high res video streams, the real question is "what are you doing with them?"…for stereo vision, a lot of apps don't require full 1080P and VGA can suffice
      • a minor point: we used the surface mount Samtec TFM headers, which saved a ton of board space as we were able to mount components on the opposite side of the board and avoided having to route around the header legs
      Hope that helps a bit. We'd still certainly like to see a snickerdoodle 'autopilot' of *some* sort and we're happy to help however we can!
      -Ryan

      On Saturday, November 12, 2016 at 7:52:44 AM UTC-8, Dr. K wrote:

      Thanks for the tip.  Ideally this baseboard would allow for visual inertial odometry via dual cameras.  The most difficult decisions right now are if we should include GPS on the system[price driver], what types of motor connectors to use, and what type of integrated cameras or camera ports we should use. 

      Another question that I need to investigate is how capable the 7020 is for doing real time video processing.  Doesn't make sense to include hooks for high def cameras if the FPGA fabric can't handle the image size at the desired sample rate.  Thoughts?

      On Saturday, November 12, 2016 at 9:33:35 AM UTC-5, dominique%…@gtempaccount.com wrote:

      If you intention is to fly a camera, you could take some inspiration from Black Magic camera expansion port:

      https://www.blackmagicdesign.com/products/blackmagicmicrocinemacamera/expansion

    • “Dr. K”
      Participant
      Post count: 6
      Thanks for the great info Ryan.  Initially my vision for the board was to integrate 4 power stages so that users can not only perform their own commutation logic, but they will also have individual motor speed for their control loops.  I would be providing all the necessary VHDL commutation logic.  The thought is that this snickerdoodle/baseboard combo could be used to control drones or rovers simply by connecting up the motors and cameras.  I am finding that board space is at a premium as I am trying to keep the same profile as the snickerdoodle.  I'm wondering what most users will absolutely need integrated onto the board vs what I can 'outsource' by placing various connectors that feed into the FPGA.  I think I need to collect some user use cases as my specific ones do not need GPS [visual inertial odometry] although I am sure many people might like it.  Presently i'm in the process of selecting various candidate parts in order to determine which features I can include based upon part size and price.  Ultimately I would love to include all features you mentioned below however cost and size are two very powerful drivers.  I will post my feature list as soon as I can… and as always please post to this thread to let me know what your use case is and if you like the idea of integrating the power control [ESCs] into the board. 
        ,Dr. K

      On Saturday, November 12, 2016 at 7:25:27 PM UTC-5, Cousins wrote:

      Back when we first launched the snickerdoodle campaign, we actually had an autopilot baseboard listed as an 'accessory.' It turned out to be a bit too much for (most) people to swallow and we eventually took it down due to a lack of interest, but through our discussions with the DIY drone community, we did get quite a bit of solid feedback. 
      As a quick overview, here's what we "started" with (we still have a mockup of this in our office):
      • TMS570LS0714 dual-core-lockstep Cortex-R4F automotive-grade safety microcontroller
      • MachXO2-7000 PLD providing triple MIPI CSI-2 camera sensor bridging
      • EVA-M8M dual-frequency concurrent global satellite navigation receiver
      • triple-redundant MPU-9250 nine-axis gyroscope, accelerometer and magnetometer
      • double-redundant MS5611091BA03 barometric altimeter
      • triple-redundant auto-failover power supply switch
      • RGB status LED
      • 8-Channel 200ksps 16-bit ADC exposed on two 8-pin CLIK-Mate receptacles
      • 22-Channel PPM/PWM/S.BUS transceiver exposed on 3×22 pin male 0.1” pitch header
      • four TTL UART telemetry ports exposed on 6-Pin CLIK-Mate receptacles
      • one USB 2.0 hi-speed OTG micro-AB receptacle
      • one micro HDMI Type D receptacle supporting 1080p60 camera video input
      • fail-safe dual 1Mbps CAN transceiver with two 4-pin CLIK-Mate receptacles
      • three Samtec 30-pin TEM locking MIPI CSI-2 camera connectors
      • I2C exposed on a 4-pin CLIK-Mate receptacle
      • SPI exposed on a 7-pin CLIK-Mate receptacle
      • arm switch input on a 3-pin CLIK-Mate receptacle
      • on-Board piezoelectric sounder
      • I2C Identification and configuration EEPROM
      • one male 30-pin TFM mating header for snickerdoodle
      • six male 40-pin TFM mating headers for snickerdoodle

      A few comments on the above: 

      • perhaps unsurprisingly, the dual-core lockstep uC definitely scared a lot of people away; we built a lot of redundancy into the baseboard itself in an effort to make the entire system more robust and safe, but in the end that didn't seem to matter much to most people (and you can arguably address a lot of those issues with snickerdoodle's 2x ARM cores and FPGA)
      • by and large, most people seemed to be OK with keeping the GPS separate from the autopilot itself; while we included a u.FL jack for connecting an external antenna, this generally seemed to be viewed as a problem that was 'already solved' and that people preferred being able to hook up their own via SPI, UART, etc.
      • the IMU and barometer seemed acceptable, but everyone seemed satisfied with having only one of each installed
      • there were mixed feelings about including a piezo speaker onboard due to possible interferences with the IMU, etc.
      • Click Mates were borrowed from the Pixhawk 2 (which 3DR chose because everyone universally despised the original Pixhawk connectors); although to maximize compatibility with the rest of the snickerdoodle ecosystem (e.g. if/when we have a snickerdoodle camera module), bringing any "extra" I/O out to a 40-pin Samtec header will probably make the most sense…
      • the Lattice PLD provided an 'easy' way to connect CSI cameras (of which there are many good, cheap options) as it avoided needing to develop/buy any Xilinx IP to accomplish the same feat; this can alternatively be overcome by using a camera/s with a parallel/LVDS interface…
      • speaking of cameras, our scheme was to be able to accommodate 3x CSI cameras + 1x (micro) HDMI camera – the former for forward-looking stereo + flow, the latter for image capture (high res photos, videos, etc.); the 7020 can certainly handle high res video streams, the real question is "what are you doing with them?"…for stereo vision, a lot of apps don't require full 1080P and VGA can suffice
      • a minor point: we used the surface mount Samtec TFM headers, which saved a ton of board space as we were able to mount components on the opposite side of the board and avoided having to route around the header legs
      Hope that helps a bit. We'd still certainly like to see a snickerdoodle 'autopilot' of *some* sort and we're happy to help however we can!
      -Ryan

      On Saturday, November 12, 2016 at 7:52:44 AM UTC-8, Dr. K wrote:

      Thanks for the tip.  Ideally this baseboard would allow for visual inertial odometry via dual cameras.  The most difficult decisions right now are if we should include GPS on the system[price driver], what types of motor connectors to use, and what type of integrated cameras or camera ports we should use. 

      Another question that I need to investigate is how capable the 7020 is for doing real time video processing.  Doesn't make sense to include hooks for high def cameras if the FPGA fabric can't handle the image size at the desired sample rate.  Thoughts?

      On Saturday, November 12, 2016 at 9:33:35 AM UTC-5, dominique%…@gtempaccount.com wrote:

      If you intention is to fly a camera, you could take some inspiration from Black Magic camera expansion port:

      https://www.blackmagicdesign.com/products/blackmagicmicrocinemacamera/expansion

    • miguel.pereira.rodrigues.ist
      Participant
      Post count: 3
      Hello there,

      I can certainly give you my use case. We build UAVs and we want to start doing image processing on-board (what we are currently doing is take the images onboard and then process them offline). At the very least, we need the following:

       – 1x camera,
       – 1x GPS,
       – 1x IMU.

      The camera should be connected to the FPGA portion of Zynq to allow user implementation of custom IP. I do believe that it will be easier to do this with CPI rather than CSI as the frequency requirements are a lot different. I also believe that the camera module should be easily replaced by the user. Flying at night requires different cameras than flying during day.

      If you do have a webpage or something describing your project, please share as I am interested.

    • “Dr. K”
      Participant
      Post count: 6
      Thanks for the great input.  With regard to the GPS, I saw this module that has an integrated antenna.
      http://www.digikey.com/product-detail/en/u-blox-america-inc/PAM-7Q-0/672-1015-ND/6150678
      I'm thinking as long as it can truly get a fix, the integrated antenna is far superior to having to have an external antenna dangling around on a UAV.  Let me know if you think this chip might do the job? 

      On Monday, November 14, 2016 at 3:39:14 AM UTC-5, miguel.pereira…@gmail.com wrote:

      Hello there,

      I can certainly give you my use case. We build UAVs and we want to start doing image processing on-board (what we are currently doing is take the images onboard and then process them offline). At the very least, we need the following:

       – 1x camera,
       – 1x GPS,
       – 1x IMU.

      The camera should be connected to the FPGA portion of Zynq to allow user implementation of custom IP. I do believe that it will be easier to do this with CPI rather than CSI as the frequency requirements are a lot different. I also believe that the camera module should be easily replaced by the user. Flying at night requires different cameras than flying during day.

      If you do have a webpage or something describing your project, please share as I am interested.

    • miguel.pereira.rodrigues.ist
      Participant
      Post count: 3
      I do not know much about GPS actually. From what I gather from the team, a good GPS would be a RTK one. How would that work is something that I do not know, and would leave that to you.

      As a client, I will value GPS accuracy of course :)

      On Wednesday, November 16, 2016 at 4:31:18 AM UTC, Dr. K wrote:

      Thanks for the great input.  With regard to the GPS, I saw this module that has an integrated antenna.
      http://www.digikey.com/product-detail/en/u-blox-america-inc/PAM-7Q-0/672-1015-ND/6150678
      I'm thinking as long as it can truly get a fix, the integrated antenna is far superior to having to have an external antenna dangling around on a UAV.  Let me know if you think this chip might do the job? 

      On Monday, November 14, 2016 at 3:39:14 AM UTC-5, miguel.pereira…@gmail.com wrote:

      Hello there,

      I can certainly give you my use case. We build UAVs and we want to start doing image processing on-board (what we are currently doing is take the images onboard and then process them offline). At the very least, we need the following:

       – 1x camera,
       – 1x GPS,
       – 1x IMU.

      The camera should be connected to the FPGA portion of Zynq to allow user implementation of custom IP. I do believe that it will be easier to do this with CPI rather than CSI as the frequency requirements are a lot different. I also believe that the camera module should be easily replaced by the user. Flying at night requires different cameras than flying during day.

      If you do have a webpage or something describing your project, please share as I am interested.

    • “Dr. K”
      Participant
      Post count: 6
      Hi Guys,

         I came across this pretty nifty camera module from Omnivision.  http://www.ovt.com/technologies/technology.php?TID=1 It is a chip camera/lens combo with direct board mount for only $10. [VGA at 30 FPS direct into FPGA].  Was thinking about throwing one or two of them on my board.  Thoughts?
         Dr. K

      On Wednesday, November 16, 2016 at 5:27:25 AM UTC-5, miguel.pereira…@gmail.com wrote:

      I do not know much about GPS actually. From what I gather from the team, a good GPS would be a RTK one. How would that work is something that I do not know, and would leave that to you.

      As a client, I will value GPS accuracy of course :)

      On Wednesday, November 16, 2016 at 4:31:18 AM UTC, Dr. K wrote:

      Thanks for the great input.  With regard to the GPS, I saw this module that has an integrated antenna.
      http://www.digikey.com/product-detail/en/u-blox-america-inc/PAM-7Q-0/672-1015-ND/6150678
      I'm thinking as long as it can truly get a fix, the integrated antenna is far superior to having to have an external antenna dangling around on a UAV.  Let me know if you think this chip might do the job? 

      On Monday, November 14, 2016 at 3:39:14 AM UTC-5, miguel.pereira…@gmail.com wrote:

      Hello there,

      I can certainly give you my use case. We build UAVs and we want to start doing image processing on-board (what we are currently doing is take the images onboard and then process them offline). At the very least, we need the following:

       – 1x camera,
       – 1x GPS,
       – 1x IMU.

      The camera should be connected to the FPGA portion of Zynq to allow user implementation of custom IP. I do believe that it will be easier to do this with CPI rather than CSI as the frequency requirements are a lot different. I also believe that the camera module should be easily replaced by the user. Flying at night requires different cameras than flying during day.

      If you do have a webpage or something describing your project, please share as I am interested.

    • _
      Participant
      Post count: 3

      On Friday, November 11, 2016 at 12:36:40 PM UTC-6, Dr. K wrote:

      I'm in the process of creating a UAV/Drone baseboard for the Snickerdoodle.  My prelim reqs are below:
      – IMU
      – 4 channel output stage
        – [15 Amp, 15 V per channel]
        – phase voltage and current measurements for back EMF and current based control topologies
      – barometer
      – camera interface, 2X

      Please let me know if you would like any other features as I plan on laying out the board in the next couple of weeks.  Thanks, Dr. K

    • _
      Participant
      Post count: 3
      That's a great price, and having two would allow stereo vision.  However, that omnivision camera has a rolling shutter.  Ideally you'd want a global shutter that could be synchronized across multiple cameras.

      Here's a dimension diagram of one setup:
      You'll notice the camera spacing is 30 mm.
      If you go with an M8 or M12 mount for your sensor then users could choose between wide angle field of view for closer objects or a more narrow field of view for calculating the distance to more distant objects.
      Examples can be seen here:

      On Thursday, December 8, 2016 at 9:50:48 AM UTC-6, Dr. K wrote:

      Hi Guys,

         I came across this pretty nifty camera module from Omnivision.  http://www.ovt.com/technologies/technology.php?TID=1 It is a chip camera/lens combo with direct board mount for only $10. [VGA at 30 FPS direct into FPGA].  Was thinking about throwing one or two of them on my board.  Thoughts?
         Dr. K

      On Wednesday, November 16, 2016 at 5:27:25 AM UTC-5, miguel.pereira…@gmail.com wrote:

      I do not know much about GPS actually. From what I gather from the team, a good GPS would be a RTK one. How would that work is something that I do not know, and would leave that to you.

      As a client, I will value GPS accuracy of course :)

      On Wednesday, November 16, 2016 at 4:31:18 AM UTC, Dr. K wrote:

      Thanks for the great input.  With regard to the GPS, I saw this module that has an integrated antenna.
      http://www.digikey.com/product-detail/en/u-blox-america-inc/PAM-7Q-0/672-1015-ND/6150678
      I'm thinking as long as it can truly get a fix, the integrated antenna is far superior to having to have an external antenna dangling around on a UAV.  Let me know if you think this chip might do the job? 

      On Monday, November 14, 2016 at 3:39:14 AM UTC-5, miguel.pereira…@gmail.com wrote:

      Hello there,

      I can certainly give you my use case. We build UAVs and we want to start doing image processing on-board (what we are currently doing is take the images onboard and then process them offline). At the very least, we need the following:

       – 1x camera,
       – 1x GPS,
       – 1x IMU.

      The camera should be connected to the FPGA portion of Zynq to allow user implementation of custom IP. I do believe that it will be easier to do this with CPI rather than CSI as the frequency requirements are a lot different. I also believe that the camera module should be easily replaced by the user. Flying at night requires different cameras than flying during day.

      If you do have a webpage or something describing your project, please share as I am interested.

    • “Dr. K”
      Participant
      Post count: 6
      Miguel,
         Thanks for the great links.  I think I might move to a camera system like that for rev 2 of my board.  The below board should be in on Monday and I will start to populate it.  Specs include:
      – 6 ov5640 camera ports [http://www.friendlyarm.com/index.php?route=product/product&product_id=70]
      – IMU [http://www.mouser.com/ProductDetail/STMicroelectronics/LSM9DS0TR/?qs=sGAEpiMZZMvh0aGzCjJ9ptkdDXD009q2]
      – barometer [http://www.mouser.com/ProductDetail/Measurement-Specialties/MS561101BA03-50/?qs=sGAEpiMZZMulHKv6iWKM9H6daI319Uoe]
      – jtag
      – RGB LED strip driver
      – Raspberry PI 40 pin interface [almost exactly pin compatible with existing PIs]
      – 12 FPGA GPIO
      – 12 5V GPIO from FPGA that can be used for ESCs or receivers
      – blue status LED tied to FPGA pin for first 'blink led' program

      So let me know what you guys think and if you would like to try one out.  Also feel free to put in requests for rev 2 of the board as there are many things that I will be touching up in the next couple weeks.

      On Monday, February 20, 2017 at 3:35:35 PM UTC-5, _ wrote:

      That's a great price, and having two would allow stereo vision.  However, that omnivision camera has a rolling shutter.  Ideally you'd want a global shutter that could be synchronized across multiple cameras.

      Here's a dimension diagram of one setup:
      You'll notice the camera spacing is 30 mm.
      If you go with an M8 or M12 mount for your sensor then users could choose between wide angle field of view for closer objects or a more narrow field of view for calculating the distance to more distant objects.
      Examples can be seen here:

      On Thursday, December 8, 2016 at 9:50:48 AM UTC-6, Dr. K wrote:

      Hi Guys,

         I came across this pretty nifty camera module from Omnivision.  http://www.ovt.com/technologies/technology.php?TID=1 It is a chip camera/lens combo with direct board mount for only $10. [VGA at 30 FPS direct into FPGA].  Was thinking about throwing one or two of them on my board.  Thoughts?
         Dr. K

      On Wednesday, November 16, 2016 at 5:27:25 AM UTC-5, miguel.pereira…@gmail.com wrote:

      I do not know much about GPS actually. From what I gather from the team, a good GPS would be a RTK one. How would that work is something that I do not know, and would leave that to you.

      As a client, I will value GPS accuracy of course :)

      On Wednesday, November 16, 2016 at 4:31:18 AM UTC, Dr. K wrote:

      Thanks for the great input.  With regard to the GPS, I saw this module that has an integrated antenna.
      http://www.digikey.com/product-detail/en/u-blox-america-inc/PAM-7Q-0/672-1015-ND/6150678
      I'm thinking as long as it can truly get a fix, the integrated antenna is far superior to having to have an external antenna dangling around on a UAV.  Let me know if you think this chip might do the job? 

      On Monday, November 14, 2016 at 3:39:14 AM UTC-5, miguel.pereira…@gmail.com wrote:

      Hello there,

      I can certainly give you my use case. We build UAVs and we want to start doing image processing on-board (what we are currently doing is take the images onboard and then process them offline). At the very least, we need the following:

       – 1x camera,
       – 1x GPS,
       – 1x IMU.

      The camera should be connected to the FPGA portion of Zynq to allow user implementation of custom IP. I do believe that it will be easier to do this with CPI rather than CSI as the frequency requirements are a lot different. I also believe that the camera module should be easily replaced by the user. Flying at night requires different cameras than flying during day.

      If you do have a webpage or something describing your project, please share as I am interested.

      Attached Files:

      Auto Generated Inline Image 1.png

Viewing 11 reply threads
  • You must be logged in to reply to this topic.