GithubHelp home page GithubHelp logo

Comments (9)

cnpcshangbo avatar cnpcshangbo commented on August 25, 2024

image
So we can input the sampling period.

from simscapefopd.

cnpcshangbo avatar cnpcshangbo commented on August 25, 2024

We still need to change the transfer function to discrete transfer function.
image

from simscapefopd.

cnpcshangbo avatar cnpcshangbo commented on August 25, 2024

Two rate transitions need to be added.
image

from simscapefopd.

cnpcshangbo avatar cnpcshangbo commented on August 25, 2024

Then we got some error.

Simulation 1 Clear
01:11 PM Elapsed: 27 sec
Model Reference
Elapsed: 0.12 sec
An error occurred while running the simulation and the simulation was terminated
Caused by:
['Quadrotor_Controller/Actuation/Solver Configuration']: Error evaluating equations at time 6.9925000000000006. Stopping simulation. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
['Quadrotor_Controller/External Force/6-DOF Joint']: 'Quadrotor_Controller/External Force/6-DOF Joint' has a degenerate mass distribution on its follower side.
Component:Simulink | Category:Block error

from simscapefopd.

cnpcshangbo avatar cnpcshangbo commented on August 25, 2024

Then I reduced the sampling period to 0.05 sec. It has the oscillation like this:
image

from simscapefopd.

cnpcshangbo avatar cnpcshangbo commented on August 25, 2024

Then I tried to reduce the loop gain by half.
image
image

from simscapefopd.

cnpcshangbo avatar cnpcshangbo commented on August 25, 2024

Then I tried to multiply 0.05 instead of 0.5 for the FOPD controller gain.
image

from simscapefopd.

cnpcshangbo avatar cnpcshangbo commented on August 25, 2024

image
It still has similar behavior. Then I need to try getting the sampling period larger.

from simscapefopd.

cnpcshangbo avatar cnpcshangbo commented on August 25, 2024

image
The behavior is similar. I guess I also need to discrete the integer order part?
I'll try to see what will happen when I comment out the Fractional DD.

from simscapefopd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.