AndrewHsu
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Vector Field Following for Quadrotors using Differential Flatness ###### tags: `Paper` [TOC] ## Introduction ### Scenario <div style="text-align: justify">In tasks like navigation, obstacle avoidance, collision avoidance, swarming and flocking, controllers often provide a vector field for the robots to follow. </div> ### Problem <div style="text-align: justify">This potential vector field provides spatial information as inputs for an open-loop controller which is effective with pseudo-static regime where dynamics doesn't play a major role, like slow moving robot or ground vehicles. In a complex regime where inertial take place, like an agile flight of UAV, open-loop controller with vector alone is not sufficient. Thus, how to effectively compensate the dynamics of an UAV so that it can follow the vector field becomes a problem.</div> ### Solution <div style="text-align: justify">Exploiting the differential flatness property of UAV to obtain the 12D states of quatrotor from a desired position and yaw angle, which are from the vector field, and their time derivatives. The obtain states are then be used to produce a closed-loop feedback controller instead of a open-loop controller commonly seen in trajectory tracking.</div> ### Main Contribution <div style="text-align: justify">Derivation of the instantaneous velocity, acceleration, jerk, and snap required in the quadrotors endogenous transformation analytically from a given vector field. Then, using these derived flat outputs to reproduce the ideal states and control inputs at a specified location as reference signal. </div> 把vector field作微分算出理想的無人機state做feedback來達到更穩定的路徑追蹤? ## Related Work ## Methodology ### Differential Flatness * Concept: Property of differential flatness allows a system to have length N vector of states and inputs be mapped to a length M vector of 'Flat Outputs', where M < N. In trajectory planning, the flat outputs and their time derivatives can be used to reproduce the trajectory for the UAV to follow. * Definition: A nonlinear control system $$ \dot{\xi} = f(\xi, \mu), where \ \xi\ is\ state\ and\ \mu\ is\ control\ input $$ is differentially flat if there exists an invertible function $$ \sigma = \alpha(\xi, \mu, \dot{\mu}...,\mu^{(p)}),\ where\ p\ is\ finite\ and\ \sigma\ is\ the\ flat\ output $$ ### Quadrotors Dynamics * Coordinate frame in NED world frame ![uav coord](https://i.imgur.com/sqwdk3E.png) * Dynamics ![](https://i.imgur.com/1sOcnwz.png =200x125) ![](https://i.imgur.com/C7F8g0J.png =300x70) $$ \upsilon = [\upsilon_x, \upsilon_y, \upsilon_z]^{T}\ in\ world\ frame.\\ g:\ acceleration\ due\ to\ gravity,\quad m:\ mass,\quad f_z:\ the\ total\ thrust,\quad e_3 = [0,0,1]^{T}\\ \omega_b = [p,q,r]^{T}:\ angular\ velocity\ in\ F_b,\quad \Omega = \hat{\omega_b} = \begin{bmatrix} 0 & -r & q \\ r & 0 & -p \\ -q & p & 0 \end{bmatrix}\\ \tau = [\tau_x,\tau_y,\tau_z]^{T}:\ torque\ in\ F_b,\quad J:\ inertia\ matrix,\quad h = [x,y,z]^{T}:\ position\ in\ F_w $$ * Control Inputs and States $$ \mu = [f_z, \tau_x, \tau_y, \tau_z]^{T}\\ \xi = [x,y,z,\upsilon_x,\upsilon_y,\upsilon_z,\psi,\theta,\phi,p,q,r]^{T} $$ ### Endogenous Transformation * Definition The inverse of &alpha; function in differential flatness gives the trajectory &xi; and &mu; as functions of the flat outputs &sigma; and its q time derivatives. $$ \xi = \beta(\sigma, \dot{\sigma}, ..., \sigma^{(q)})\\ \mu = \gamma(\sigma, \dot{\sigma}, ..., \sigma^{(q)})\\ (\beta,\gamma)\ is\ called\ endogenous\ transformation $$ * Flat outputs to Quadrotor's state and control input :::success The detailed derivation is from [Minimum Snap Trajectory Generation and Control for Quadrotors](https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=5980409&casa_token=4ATiWNNMysQAAAAA:pkJs-0faajbNDGTlEtBfGj56aw62yX9Q5v0jXCaoxdXBa4Pnw40QhRr1rRbdPZdHW9y19Wb1&tag=1) ::: $$ \sigma = [\sigma_1,\sigma_2,\sigma_3,\sigma_4]^{T} := [x,y,z,\psi]^{T}\\ s.t\\ $$ $$ \xi = \beta(\sigma_1,\sigma_2,\sigma_3,\sigma_4),\\ with\ \begin{cases} [x,y,z,\upsilon_x,\upsilon_y,\upsilon_z,\psi]^{T}=\beta_{1:7}(\sigma,\dot{\sigma})=[\sigma_1,\sigma_2,\sigma_3,\dot{\sigma_1},\dot{\sigma_2},\dot{\sigma_3},\sigma_4]^{T}\\ \theta=\beta_8(\sigma,\dot{\sigma},\ddot{\sigma})=atan2(\beta_a,\beta_b)\\ \phi=\beta_9(\sigma,\dot{\sigma},\ddot{\sigma})=atan2(\beta_c,\sqrt{\beta_a^{2}+\beta_b^{2}})\\ [p,q,r]^{T}=\beta_{10:12}(\sigma,\dot{\sigma},\ddot{\sigma}, \dddot{\sigma})=(R^{T}\dot{R})^{V}\\ \end{cases} \\ where\ \begin{cases} \beta_a = -cos\sigma_4\ddot{\sigma_1}-sin\sigma_4\ddot{\sigma_2}\\ \beta_b=-\ddot{\sigma_3}+g\\ \beta_c=-sin\sigma_4\ddot{\sigma_1}+cos\sigma_4\ddot{\sigma_2} \end{cases} \\ $$ $$ \mu = \gamma(\dot{\sigma},\ddot{\sigma},\dddot{\sigma},\ddddot{\sigma}),\\ with\ \begin{cases} f_z = \gamma_1(\sigma, \dot{\sigma}, \ddot{\sigma}) = -m||\ddot{\sigma_{1:3}}-ge_3||\\ [\tau_x, \tau_y, \tau_z]^{T}=\gamma_{2:4}(\dot{\sigma},\ddot{\sigma},\dddot{\sigma},\ddddot{\sigma})=J(\dot{R}^{T}\dot{R}+R^{T}\ddot{R})^{V}+R^{T}\dot{R}J(R^{T}\dot{R})^{V} \end{cases} \\ $$ ### Vector Field Following (Main Contribution) Suppose $$ \sigma_4 = 0 $$ At any given point in vector field x, ![](https://i.imgur.com/V6eDhfe.png =250x) J(f(x),x) denotes the Jacobian matrix of the function f(x) ### Controller (SE(3) controller) ![](https://i.imgur.com/qsqmkKs.png) &xi; is composed of [x, &upsilon;, R, &Omega;], and the reference &xi; can be derived from the vector field. ## Simulation and Experiments ### Experiment Setup ![](https://i.imgur.com/PSvqs4S.png =400x) ### Limit Cycle * Simulation ![](https://i.imgur.com/ZTpf9E5.png =400x) ![](https://i.imgur.com/1U0y3oA.png =400x) * Experiment ![](https://i.imgur.com/Od50RGp.png =400x) [video](https://www.youtube.com/watch?v=eOT7Rli_P-c) ### Logarithmic Spiral * Simulation ![](https://i.imgur.com/386Go3H.png =400x) ![](https://i.imgur.com/yoamoxU.png =400x) * Experiment ![](https://i.imgur.com/20hDN03.png =400x) [video](https://www.youtube.com/watch?v=z8TK1dNHSDk) ### Obstacle Avoidance * Simulation ![](https://i.imgur.com/oQ0yfnQ.png =400x) ![](https://i.imgur.com/B24Zpl2.png =400x) ![](https://i.imgur.com/nSvrK57.png =400x) * Experiment ![](https://i.imgur.com/g5d7zV1.png =400x) [video1](https://www.youtube.com/watch?v=fhVwrt4QDQk) [video2](https://www.youtube.com/watch?v=omgquupTz3A) ## Thoughts and Questions 1. This paper provides a method to utilize vector field for controlling an agile quadrotors without computing an explicit trajectory to follow. 2. Where is the "closed-loop"? The computed state from flat output can act as a reference signal for compensation. 3. No detailed controller design diagram is provided. Only mentioned a closed-loop controller with an inner-loop is implemented. 4. The actual contribution is combining vector field directly with the SE(3) controller with the ability of compensating the nonlinear dynamics, without having to do explicit trajectory planning again to obtain control signal. ??? 5. Experiment doesn't show the result without their 'inner-loop', which is directly utilize the vector field on an aggressive quadrotor. 6. Normally we need to calculate an explicit trajectory from methods like QP then use differential flatness property to obtain the control inputs and states to control the quadrotor. In this paper, QP for trajectory planning is neglected. Instead, calculation of states and inputs is directly from the provided vector field.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully