Jump to content
Sign in to follow this  
VisSim Forum Archives

F28069 Piccolo differentiator

Recommended Posts

Submitted by Anders89 on Tue, 01/31/2012 - 03:16.

A couple points Ben:

  1. The 28069 is a floating point part, so you don't need to do fixed point.
  2. The transfer function block has an S->Z bilinear transform button so you can convert from S domain to Z domain easily.
  3. The transfer function block also has a use scaled fixed-point option so you can do fixed point sim and codegen if you want.
  4. The simplest derivative is simply (u(k) - u(k-1))/dT which you can do with our 1/Z blocks, but due to standard ADC sampling noise, this method would tend amplify the noise and obscure your derivative. You can filter this by inserting a low or high pass filter before the derivative stage, or you can use a single pole filter that will give derivatives of low frequency components: s / (Tc s + 1) where Tc is the time constant of the signal you want a derivative of.
    How you go depends a lot on the frequency and s/n ratio of your signal and what use you want to make of the derivative.


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...