Recent content by zoom1

  1. Z

    Flow rate of a syringe

    Given ##\dot{V}_{\mathrm{b}} = \frac{\pi}{4}d_{\mathrm{b}}^2\dot{x}## Then ##\dot{x}_{\mathrm{n}} = \frac{4\dot{V}_{\mathrm{b}}}{\pi d_{\mathrm{n}}^2}## where subscript ##n## stands for needle. Asking just to make it sure. Thanks for the help, this is quite straightforward compared to...
  2. Z

    Flow rate of a syringe

    So, what you are suggesting is considering the height of the liquid in the barrel and the radius of the plunger along with the length of the needle with its radius. I am ignoring the hub, since its the intermediate part. Volumebarrel = Volumeneedle + Volumeoutput rbarrel2 * dhbarrel/dt =...
  3. Z

    Flow rate of a syringe

    I am trying to come up with a mathematical model so that, when the displacement of the plunger of a syringe is know, I can calculate the amount of a specific liquid in the barrel. Or the relationship between the speed of the plunger and flow rate at the tip of the needle (Again assuming that the...
  4. Z

    Adaptive PID controller implementation

    All the files related to simulation were already attached my first post but anyways here's the screenshot of the model Here's the function that runs inside the interpreted matlab function block And those are the initializations;
  5. Z

    Adaptive PID controller implementation

    Hello, What I mean is, given reference signal is not tracked as expected. Here is the reference signal. Just a square wave. And the output of the plant as the response (I just limited it to 1 second, it goes with the same fashion up to 10 seconds) So the tracking is way out of the...
  6. Z

    Adaptive PID controller implementation

    Hello, I am trying to implement a simple adaptive PID controller paper. However, I am having some problems which I could not find out due to what.. Paper is the following; http://www.aedie.org/9CHLIE-paper-send/337_CHAINHO.pdf Quite simple. Using the Tagaki-Sugeno fuzzy system, in accordance...
  7. Z

    Inverted pendulum system order

    I am considering a simple inverted pendulum system given in the following page; http://ctms.engin.umich.edu/CTMS/index.php?example=InvertedPendulum&section=SystemModeling System has two degree of freedom but the control input can be only applied as force to the chart. I am not sure about the...
  8. Z

    Difference equation solution

    Actually that's the point confusing me. u(k+2) is there in the equation. However, When I start plugging values for k, starting from 0, I will always get 1. So, I would treat u(k+2) as step function and take its inverse z transform as z/(z-1)
  9. Z

    Difference equation solution

    If u is equal to 1 for every k values, it is a step function and then z/(z-1) should be the z-transform. Am I correct ?
  10. Z

    Difference equation solution

    Yes, it is. My mistake sorry. I think it should be z2 [z/(z-1)] but I'm not sure
  11. Z

    Difference equation solution

    Homework Statement Given the following difference equation; x(k+2)-x(k+1)+0.25x(k)=u(k+2) where x(0)=1; x(1)=2; u(k)= 1 for k=1,2,3,… Homework Equations Z- transformation The Attempt at a Solution To be able to solve this difference equation, I think I need to transform it into z domain...
  12. Z

    Lead compensator for double integrator

    Thank you so much. I was sure that I was missing something.
  13. Z

    Lead compensator for double integrator

    I'm trying to design a lead compensator for a double integrator plant, which is plant = tf([1],[1 0 0]) I started with the angle condition. So, poles contribute (+) angle and zeros contribute (-) angle and that sums to 180 Desired pole location is 4.4 +- 4.4j So, 45 + 45 = 90 degrees comes...
  14. Z

    Linear Quadratic Regulator

    I have pantograph simulation on simulink. The dynamic model of the system is given as a C code. So the input is torque and output is motor angles and velocities. I need to build a QLR controller and to do so I need to come up with state space model of the system, right ? I have the following...
Top