Digital control in SPICE

Home Forums General Electronics Digital control in SPICE

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16316
    Anonymous
    Guest

    In general, is it possible to model in the z-domain in SPICE. Can you model digital control?

    Thanks for your time!

    #16457
    Anonymous
    Guest

    Hello AmandaCurlett,

    you can simulate FIR, IIR filters and other digital signal processing application, passing from the continuous frequency domain of the Laplace transform to the discrete time domain of the Z transform. For example apply the Z-transform to the difference equation of a digital filter and find the transfer function H(z).
    In PSpice the quickest way to implement this simulation is with a Laplace part, where specify the numerator and denominator of H(z), replacing z with exp(s*T), and a PARAM part that defines the relationship between the sampling frequency and the sampling period. I’ve uploaded a IIR second order filter example.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.