Simplified, Physically-Informed Models of Distortion and Overdrive Guitar Effects Pedals

Total Page:16

File Type:pdf, Size:1020Kb

Simplified, Physically-Informed Models of Distortion and Overdrive Guitar Effects Pedals Proc. of the 10th Int. Conference on Digital Audio Effects (DAFx-07), Bordeaux, France, September 10-15, 2007 SIMPLIFIED, PHYSICALLY-INFORMED MODELS OF DISTORTION AND OVERDRIVE GUITAR EFFECTS PEDALS David T. Yeh, Jonathan S. Abel and Julius O. Smith Center for Computer Research in Music and Acoustics (CCRMA) Stanford University, Stanford, CA [dtyeh|abel|jos]@ccrma.stanford.edu ABSTRACT retained, however, because intermodulation due to mixing of sub- sonic components with audio frequency components is noticeable This paper explores a computationally efficient, physically in- in the audio band. formed approach to design algorithms for emulating guitar distor- tion circuits. Two iconic effects pedals are studied: the “Distor- Stages are partitioned at points in the circuit where an active tion” pedal and the “Tube Screamer” or “Overdrive” pedal. The element with low source impedance drives a high impedance load. primary distortion mechanism in both pedals is a diode clipper This approximation is also made with less accuracy where passive with an embedded low-pass filter, and is shown to follow a non- components feed into loads with higher impedance. Neglecting linear ordinary differential equation whose solution is computa- the interaction between the stages introduces magnitude error by a tionally expensive for real-time use. In the proposed method, a scalar factor and neglects higher order terms in the transfer func- simplified model, comprising the cascade of a conditioning filter, tion that are usually small in the audio band. memoryless nonlinearity and equalization filter, is chosen for its The nonlinearity may be evaluated as a nonlinear ordinary dif- computationally efficient, numerically robust properties. Often, ferential equation (ODE) using numerical techniques [7, 8]. How- the design of distortion algorithms involves tuning the parameters ever, the solution of nonlinear ODEs is computationally intensive, of this filter-distortion-filter model by ear to match the sound of and the differences are subtle. Therefore in this work, the nonlin- a prototype circuit. Here, the filter transfer functions and memo- earity is approximated by a static nonlinearity and tabulated. This ryless nonlinearities are derived by analysis of the prototype cir- can be justified on perceptual grounds. cuit. Comparisons of the resulting algorithms to actual pedals It is well known that nonlinearities cause an expansion of band- show good agreement and demonstrate that the efficient algorithms width that may lead to aliasing if the sampling rate is insufficiently presented reproduce the general character of the modeled pedals. high [3]. Consequently typical digital implementations of distor- tion upsample by a factor of eight or ten, process the nonlineari- 1. INTRODUCTION ties, and downsample back to typical audio rates[3, 9]. Frequency content tends to roll off with increasing frequency, and remaining Guitarists tend to feel that digital implementations of distortion aliases at oversampling factors of eight or above tend to be masked effects sound inferior to the original analog gear. This work at- by the dense spectrum of guitar distortion. tempts to provide a more accurate simulation of guitar distortion Because the filters in this work are derived from analog pro- and a physics based method for designing the algorithm according totypes, upsampling also increases the audio band accuracy of to the virtual analog approach[1, 2]. the discretization by bilinear transform. An alternate approach Often guitar effects are digitized from a high level understand- would be to design low order filters so that the response at Nyquist ing of the function of the effect [3, 4]. This work describes the matches the continuous time transfer function [10, 11]. results of a more detailed, physical approach to model guitar dis- The following is an analysis of the stages in two typical dis- tortion. This approach has been adopted previously in the context tortion pedals. of generating tube-like guitar distortion [5], not to model a specific effect as done here. This approach starts with the equations that de- scribe the physics of the circuit and is an alternative to obtaining the static transfer curves of a nonlinear system by measurement 2. FUNDAMENTAL TOOLS [6]. Many digital distortion pedals feature pre- and post-distortion filters surrounding a saturating nonlinearity. The filters are com- 2.1. SPICE simulation monly multiband (three or four bands) parametric filters that are tuned to taste. For circuits that are difficult to analyze, SPICE simulation pro- An analysis of the circuits shows that analog solid-state cir- vides detailed numerical analysis. DC analysis in SPICE performs cuits tend to use low-order filters. To keep costs down, circuits static sweeps of voltage or current sources to measure memory- are designed with minimal component count, which limits filter less transfer curves. AC analysis finds the frequency response of order. For the purpose of distortion effect modeling, the frequency a circuit linearized about an operating point. These responses can range of interest is from just above DC to 20 kHz. Features in the be imported into Matlab and converted to digital filters as in [1]. frequency domain above 20 kHz can be ignored, also contribut- SPICE also serves as a reference solver for numerical solutions of ing to low-order filters. Frequency features below 20 Hz must be the time domain response for nonlinear ODEs. DAFX-1 Proc. of the 10th Int. Conference on Digital Audio Effects (DAFx-07), Bordeaux, France, September 10-15, 2007 bjt buf Gain + filter Vi + Vo in out − 9V 4.5V bjt buf Saturating nonlin Tone filter "Distortion" effect Zf pwr supply Vo Zs+Zf Zs Figure 2: Block diagram of Distortion pedal. Vi= Zs it in the form shown in (1) allows the poles and zeros to be seen more easily: Figure 1: Non-inverting op amp gain Zf Zs Av(s)= + 1 (1) Zs Zf 2.2. Continuous time pole-zero analysis 2.4. Bilinear Transform of low order transfer functions Linear circuits are described by rational transfer functions. For Once a continuous time transfer function is obtained either by anal- most low-cost audio circuits such as guitar effects, the transfer ysis or by inspection of the magnitude response, the bilinear trans- functions are typically low order. The poles and zeros can be iden- form can be used to digitize this filter. First- and second-order tified on a log-frequency plot of magnitude in dB. In dB, it can continuous time systems are common, so their mappings are given be seen that the magnitude contributions of poles subtract and the below. magnitude contributions of zeros add. For the low pass filter, at The continuous time system, the pole frequency, the magnitude is 3 dB lower than at its low frequency asymptote. For the high pass filter, the magnitude at n bns + ... + b1s + b0 the pole frequency is 3 dB lower that at its high frequency asymp- H(s)= , (2) a sn + ... + a1s + a0 tote. Therefore, well separated pole and zero frequencies can be n identified from the decibel magnitude response by looking for the results in 3-dB points. These frequencies can then be used to reconstruct the −1 −n B0 + B1z + ... + B z rational expression for the transfer function. n (3) H(z)= −1 −n , A0 + A1z + ... + Anz 2.3. Analysis of operational amplifier circuits where for a second order system, coefficients of H(z) are 2 Transfer functions can be easily found analytically for circuits with B0 = b0 + b1c + b2c , (4) operational amplifiers (op amps). 2 B1 = 2b0 − 2b2c , (5) 2 B2 = b0 − b1c + b2c , (6) 2.3.1. Ideal op amp approximation 2 A0 = a0 + a1c + a2c , (7) The ideal op amp approximation states that if negative feedback is 2 present, A1 = 2a0 − 2a2c , (8) 2 A2 = a0 − a1c + a2c , (9) 1. V+ = V−, 2. I+ = I− = 0 and for a first-order system, coefficients of H(z) are − where V+ is the voltage at the + terminal of the op amp and V , B0 = b0 + b1c, (10) the voltage at the − terminal. I+ and I− are the currents flowing B1 = b0 − b1c, (11) into the two terminals. These conditions do not hold if negative feedback is not present, for example, if Vo is not connected to V− A0 = a0 + a1c, (12) or if the op amp output is close to the supply voltages, causing it A1 = a0 − a1c. (13) to clip. (14) 2.3.2. Non-inverting configuration Here c = 2/T is chosen as typical for the bilinear transform. An example of this analysis is done for the non-inverting op amp 3. CIRCUIT ANALYSIS OF DISTORTION PEDAL configuration shown in Fig. 1. The ideal op amp rule gives V− = Vi, so the current through Zs is Is = Vi/Zs. Because I− = 0, The block diagram of the Boss DS-1 Distortion pedal [12] is shown all the current flows across Zf , so V0 = Vi + IsZf = Vi + in Fig. 2. It is basically gain with a saturating nonlinearity sand- Vi/Zs. After algebraic manipulation, the transfer function is found wiched between filters. However, distortion from the bipolar tran- + to be Vo = Zs Zf . This results in a continuous time transfer Vi Zs sistor (BJT) emitter follower buffers and first gain stage are not function if complex impedances are used for Zf and Zs. Writing negligible. DAFX-2 Proc. of the 10th Int. Conference on Digital Audio Effects (DAFx-07), Bordeaux, France, September 10-15, 2007 Frequency response at opamp input 9V 40 4.5V 30 R2 4.5V 4.5V 470k R4 R5 20 R1 C1 Q1 100k 1M C2 C3 10 1k 0.047u 0 0.47u 0.047u R3 10k −10 Q1: 2SC732TM −20 Magnitude response (dB) −30 Figure 3: Input buffer: Emitter follower circuit. −40 0 2 4 6 10 10 10 10 9V Frequency (Hz) 10k Figure 5: Frequency response of BJT stage 250p The bilinear transform applied to with a sampling rate 470k gainout H(s) fs = 44.1 kHz gives a second order digital filter whose coeffi- 0.047u gainin Q2 cients can be found using (9).
Recommended publications
  • Lecture 3: Transfer Function and Dynamic Response Analysis
    Transfer function approach Dynamic response Summary Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis Paweł Malczyk Division of Theory of Machines and Robots Institute of Aeronautics and Applied Mechanics Faculty of Power and Aeronautical Engineering Warsaw University of Technology October 17, 2019 © Paweł Malczyk. Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis 1 / 31 Transfer function approach Dynamic response Summary Outline 1 Transfer function approach 2 Dynamic response 3 Summary © Paweł Malczyk. Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis 2 / 31 Transfer function approach Dynamic response Summary Transfer function approach 1 Transfer function approach SISO system Definition Poles and zeros Transfer function for multivariable system Properties 2 Dynamic response 3 Summary © Paweł Malczyk. Basics of Automation and Control I Lecture 3: Transfer function and dynamic response analysis 3 / 31 Transfer function approach Dynamic response Summary SISO system Fig. 1: Block diagram of a single input single output (SISO) system Consider the continuous, linear time-invariant (LTI) system defined by linear constant coefficient ordinary differential equation (LCCODE): dny dn−1y + − + ··· + _ + = an n an 1 n−1 a1y a0y dt dt (1) dmu dm−1u = b + b − + ··· + b u_ + b u m dtm m 1 dtm−1 1 0 initial conditions y(0), y_(0),..., y(n−1)(0), and u(0),..., u(m−1)(0) given, u(t) – input signal, y(t) – output signal, ai – real constants for i = 1, ··· , n, and bj – real constants for j = 1, ··· , m. How do I find the LCCODE (1)? .
    [Show full text]
  • Control Theory
    Control theory S. Simrock DESY, Hamburg, Germany Abstract In engineering and mathematics, control theory deals with the behaviour of dynamical systems. The desired output of a system is called the reference. When one or more output variables of a system need to follow a certain ref- erence over time, a controller manipulates the inputs to a system to obtain the desired effect on the output of the system. Rapid advances in digital system technology have radically altered the control design options. It has become routinely practicable to design very complicated digital controllers and to carry out the extensive calculations required for their design. These advances in im- plementation and design capability can be obtained at low cost because of the widespread availability of inexpensive and powerful digital processing plat- forms and high-speed analog IO devices. 1 Introduction The emphasis of this tutorial on control theory is on the design of digital controls to achieve good dy- namic response and small errors while using signals that are sampled in time and quantized in amplitude. Both transform (classical control) and state-space (modern control) methods are described and applied to illustrative examples. The transform methods emphasized are the root-locus method of Evans and fre- quency response. The state-space methods developed are the technique of pole assignment augmented by an estimator (observer) and optimal quadratic-loss control. The optimal control problems use the steady-state constant gain solution. Other topics covered are system identification and non-linear control. System identification is a general term to describe mathematical tools and algorithms that build dynamical models from measured data.
    [Show full text]
  • Step Response of Series RLC Circuit ‐ Output Taken Across Capacitor
    ESE 271 / Spring 2013 / Lecture 23 Step response of series RLC circuit ‐ output taken across capacitor. What happens during transient period from initial steady state to final steady state? 1 ESE 271 / Spring 2013 / Lecture 23 Transfer function of series RLC ‐ output taken across capacitor. Poles: Case 1: ‐‐two differen t real poles Case 2: ‐ two identical real poles ‐ complex conjugate poles Case 3: 2 ESE 271 / Spring 2013 / Lecture 23 Case 1: two different real poles. Step response of series RLC ‐ output taken across capacitor. Overdamped case –the circuit demonstrates relatively slow transient response. 3 ESE 271 / Spring 2013 / Lecture 23 Case 1: two different real poles. Freqqyuency response of series RLC ‐ output taken across capacitor. Uncorrected Bode Gain Plot Overdamped case –the circuit demonstrates relatively limited bandwidth 4 ESE 271 / Spring 2013 / Lecture 23 Case 2: two identical real poles. Step response of series RLC ‐ output taken across capacitor. Critically damped case –the circuit demonstrates the shortest possible rise time without overshoot. 5 ESE 271 / Spring 2013 / Lecture 23 Case 2: two identical real poles. Freqqyuency response of series RLC ‐ output taken across capacitor. Critically damped case –the circuit demonstrates the widest bandwidth without apparent resonance. Uncorrected Bode Gain Plot 6 ESE 271 / Spring 2013 / Lecture 23 Case 3: two complex poles. Step response of series RLC ‐ output taken across capacitor. Underdamped case – the circuit oscillates. 7 ESE 271 / Spring 2013 / Lecture 23 Case 3: two complex poles. Freqqyuency response of series RLC ‐ output taken across capacitor. Corrected Bode GiGain Plot Underdamped case –the circuit can demonstrate apparent resonant behavior.
    [Show full text]
  • Frequency Response and Bode Plots
    1 Frequency Response and Bode Plots 1.1 Preliminaries The steady-state sinusoidal frequency-response of a circuit is described by the phasor transfer function Hj( ) . A Bode plot is a graph of the magnitude (in dB) or phase of the transfer function versus frequency. Of course we can easily program the transfer function into a computer to make such plots, and for very complicated transfer functions this may be our only recourse. But in many cases the key features of the plot can be quickly sketched by hand using some simple rules that identify the impact of the poles and zeroes in shaping the frequency response. The advantage of this approach is the insight it provides on how the circuit elements influence the frequency response. This is especially important in the design of frequency-selective circuits. We will first consider how to generate Bode plots for simple poles, and then discuss how to handle the general second-order response. Before doing this, however, it may be helpful to review some properties of transfer functions, the decibel scale, and properties of the log function. Poles, Zeroes, and Stability The s-domain transfer function is always a rational polynomial function of the form Ns() smm as12 a s m asa Hs() K K mm12 10 (1.1) nn12 n Ds() s bsnn12 b s bsb 10 As we have seen already, the polynomials in the numerator and denominator are factored to find the poles and zeroes; these are the values of s that make the numerator or denominator zero. If we write the zeroes as zz123,, zetc., and similarly write the poles as pp123,, p , then Hs( ) can be written in factored form as ()()()s zsz sz Hs() K 12 m (1.2) ()()()s psp12 sp n 1 © Bob York 2009 2 Frequency Response and Bode Plots The pole and zero locations can be real or complex.
    [Show full text]
  • Linear Time Invariant Systems
    UNIT III LINEAR TIME INVARIANT CONTINUOUS TIME SYSTEMS CT systems – Linear Time invariant Systems – Basic properties of continuous time systems – Linearity, Causality, Time invariance, Stability – Frequency response of LTI systems – Analysis and characterization of LTI systems using Laplace transform – Computation of impulse response and transfer function using Laplace transform – Differential equation – Impulse response – Convolution integral and Frequency response. System A system may be defined as a set of elements or functional blocks which are connected together and produces an output in response to an input signal. The response or output of the system depends upon transfer function of the system. Mathematically, the functional relationship between input and output may be written as y(t)=f[x(t)] Types of system Like signals, systems may also be of two types as under: 1. Continuous-time system 2. Discrete time system Continuous time System Continuous time system may be defined as those systems in which the associated signals are also continuous. This means that input and output of continuous – time system are both continuous time signals. For example: Audio, video amplifiers, power supplies etc., are continuous time systems. Discrete time systems Discrete time system may be defined as a system in which the associated signals are also discrete time signals. This means that in a discrete time system, the input and output are both discrete time signals. For example, microprocessors, semiconductor memories, shift registers etc., are discrete time signals. LTI system:- Systems are broadly classified as continuous time systems and discrete time systems. Continuous time systems deal with continuous time signals and discrete time systems deal with discrete time system.
    [Show full text]
  • Control System Design Methods
    Christiansen-Sec.19.qxd 06:08:2004 6:43 PM Page 19.1 The Electronics Engineers' Handbook, 5th Edition McGraw-Hill, Section 19, pp. 19.1-19.30, 2005. SECTION 19 CONTROL SYSTEMS Control is used to modify the behavior of a system so it behaves in a specific desirable way over time. For example, we may want the speed of a car on the highway to remain as close as possible to 60 miles per hour in spite of possible hills or adverse wind; or we may want an aircraft to follow a desired altitude, heading, and velocity profile independent of wind gusts; or we may want the temperature and pressure in a reactor vessel in a chemical process plant to be maintained at desired levels. All these are being accomplished today by control methods and the above are examples of what automatic control systems are designed to do, without human intervention. Control is used whenever quantities such as speed, altitude, temperature, or voltage must be made to behave in some desirable way over time. This section provides an introduction to control system design methods. P.A., Z.G. In This Section: CHAPTER 19.1 CONTROL SYSTEM DESIGN 19.3 INTRODUCTION 19.3 Proportional-Integral-Derivative Control 19.3 The Role of Control Theory 19.4 MATHEMATICAL DESCRIPTIONS 19.4 Linear Differential Equations 19.4 State Variable Descriptions 19.5 Transfer Functions 19.7 Frequency Response 19.9 ANALYSIS OF DYNAMICAL BEHAVIOR 19.10 System Response, Modes and Stability 19.10 Response of First and Second Order Systems 19.11 Transient Response Performance Specifications for a Second Order
    [Show full text]
  • Mathematical Modeling of Control Systems
    OGATA-CH02-013-062hr 7/14/09 1:51 PM Page 13 2 Mathematical Modeling of Control Systems 2–1 INTRODUCTION In studying control systems the reader must be able to model dynamic systems in math- ematical terms and analyze their dynamic characteristics.A mathematical model of a dy- namic system is defined as a set of equations that represents the dynamics of the system accurately, or at least fairly well. Note that a mathematical model is not unique to a given system.A system may be represented in many different ways and, therefore, may have many mathematical models, depending on one’s perspective. The dynamics of many systems, whether they are mechanical, electrical, thermal, economic, biological, and so on, may be described in terms of differential equations. Such differential equations may be obtained by using physical laws governing a partic- ular system—for example, Newton’s laws for mechanical systems and Kirchhoff’s laws for electrical systems. We must always keep in mind that deriving reasonable mathe- matical models is the most important part of the entire analysis of control systems. Throughout this book we assume that the principle of causality applies to the systems considered.This means that the current output of the system (the output at time t=0) depends on the past input (the input for t<0) but does not depend on the future input (the input for t>0). Mathematical Models. Mathematical models may assume many different forms. Depending on the particular system and the particular circumstances, one mathemati- cal model may be better suited than other models.
    [Show full text]
  • 12: Resonance
    12: Resonance • QuadraticFactors + • Damping Factor and Q • Parallel RLC • Behaviour at Resonance • Away from resonance • Bandwidth and Q • Power and Energy at Resonance + • Low Pass Filter • Resonance Peak for LP filter • Summary 12: Resonance E1.1 Analysis of Circuits (2017-10213) Resonance: 12 – 1 / 11 Quadratic Factors + 12: Resonance 2 • QuadraticFactors + A quadratic factor in a transfer function is: F (jω) = a (jω) + b (jω) + c. • Damping Factor and Q • Parallel RLC • Behaviour at Resonance • Away from resonance • Bandwidth and Q • Power and Energy at Resonance + • Low Pass Filter • Resonance Peak for LP filter • Summary E1.1 Analysis of Circuits (2017-10213) Resonance: 12 – 2 / 11 Quadratic Factors + 12: Resonance 2 • QuadraticFactors + A quadratic factor in a transfer function is: F (jω) = a (jω) + b (jω) + c. • Damping Factor and Q • Parallel RLC 2 • Behaviour at Resonance Case 1: If b 4ac then we can factorize it: • Away from resonance ≥ • Bandwidth and Q F (jω) = a(jω p1)(jω p2) • Power and Energy at − − Resonance + • Low Pass Filter • Resonance Peak for LP filter • Summary E1.1 Analysis of Circuits (2017-10213) Resonance: 12 – 2 / 11 Quadratic Factors + 12: Resonance 2 • QuadraticFactors + A quadratic factor in a transfer function is: F (jω) = a (jω) + b (jω) + c. • Damping Factor and Q • Parallel RLC 2 • Behaviour at Resonance Case 1: If b 4ac then we can factorize it: • Away from resonance ≥ • Bandwidth and Q F (jω) = a(jω p1)(jω p2) • Power and Energy at − − Resonance + b √b2 4ac • Low Pass Filter where p = − ± − . • Resonance Peak for LP i 2a filter • Summary E1.1 Analysis of Circuits (2017-10213) Resonance: 12 – 2 / 11 Quadratic Factors ++ 12: Resonance 2 • QuadraticFactors + A quadratic factor in a transfer function is: F (jω) = a (jω) + b (jω) + c.
    [Show full text]
  • Discussion 3B
    EECS 16B Designing Information Devices and Systems II Spring 2018 J. Roychowdhury and M. Maharbiz Discussion 3B 1 Transfer Functions When we analyzed circuits in the phasor domain, we always told you what the input voltage, or the input sinusoid to the circuit was. However, sometimes we have many input sinusoids, and we want to look at how a circuit (or system) generically responds to a sinusoid input of frequency w. We want to see how an input sinusoid “transfers” into an output sinusoid. How do we do this? Let’s start with a simple RC circuit. R i(t) + + vin C vout − − Figure 1: First Order RC Low Pass Filter 1 In the phasor domain, the impedance of the capacitor is ZC = jwC and the impedance of the resistor is ZR = R. Because we treat impedances the same as resistances, this circuit looks like a voltage divider in the phasor domain. Remember we must also represent vin as a phasor V˜in; transfer functions are in the phasor domain only, not the time domain. 1 Z 1 V˜ = C V˜ = jwC V˜ = V˜ out Z + Z in 1 in jwRC + 1 in R C R + jwC We define the frequency response as V˜ 1 H(w) = out = V˜in jwRC + 1 Now, given an arbitrary input sinusoid, if we multiply it by the frequency response, we can get the output sinusoid. What this allows us to do is to model any arbitrary circuit as a 4-port (two input, two output) black box. The transfer function completely defines how our circuit works.
    [Show full text]
  • Resonance of Fractional Transfer Functions of the Second Kind Rachid Malti, Xavier Moreau, Firas Khemane
    Resonance of fractional transfer functions of the second kind Rachid Malti, Xavier Moreau, Firas Khemane To cite this version: Rachid Malti, Xavier Moreau, Firas Khemane. Resonance of fractional transfer functions of the second kind. The 3th IFAC Workshop on Fractional Differentiation and its Applications, FDA08, Nov 2008, Ankara, Turkey. pp.1-6. hal-00326418 HAL Id: hal-00326418 https://hal.archives-ouvertes.fr/hal-00326418 Submitted on 26 Jan 2009 HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Resonance of fractional transfer functions of the second kind Rachid MALTI, Xavier MOREAU, and Firas KHEMANE ∗ Bordeaux University – IMS, 351, cours de la Lib´eration, 33405 Talence Cedex, France. firstname.lastname @ims-bordeaux.fr { } Abstract: Canonical fractional transfer function of the second kind is studied in this paper. Stability and resonance conditions are determined in terms of pseudo-damping factor and commensurable order. Keywords: Resonance, fractional system, second order transfer function, canonical form. 1. INTRODUCTION F (s) + + 1 1 Σ K1 ν Σ K2 Commensurable fractional systems can be represented in s sν a transfer function form as: mB − − b sνj ν j T (s ) j=0 H (s)= = , (1) ν PmA R(s ) νi 1+ ais Fig.
    [Show full text]
  • The Z-Transform
    CHAPTER 33 The z-Transform Just as analog filters are designed using the Laplace transform, recursive digital filters are developed with a parallel technique called the z-transform. The overall strategy of these two transforms is the same: probe the impulse response with sinusoids and exponentials to find the system's poles and zeros. The Laplace transform deals with differential equations, the s-domain, and the s-plane. Correspondingly, the z-transform deals with difference equations, the z-domain, and the z-plane. However, the two techniques are not a mirror image of each other; the s-plane is arranged in a rectangular coordinate system, while the z-plane uses a polar format. Recursive digital filters are often designed by starting with one of the classic analog filters, such as the Butterworth, Chebyshev, or elliptic. A series of mathematical conversions are then used to obtain the desired digital filter. The z-transform provides the framework for this mathematics. The Chebyshev filter design program presented in Chapter 20 uses this approach, and is discussed in detail in this chapter. The Nature of the z-Domain To reinforce that the Laplace and z-transforms are parallel techniques, we will start with the Laplace transform and show how it can be changed into the z- transform. From the last chapter, the Laplace transform is defined by the relationship between the time domain and s-domain signals: 4 X(s) ' x(t) e &st dt m t '&4 where x(t) and X(s) are the time domain and s-domain representation of the signal, respectively.
    [Show full text]
  • Operational Amplifier Circuits
    Operational Amplifier Circuits Review: Ideal Op-amp in an open loop configuration Ip Vp + + + Ro Vo Vi Ri _ AVi Vn _ In An ideal op-amp is characterized with infinite open–loop gain A →∞ The other relevant conditions for an ideal op-amp are: 1. Ip =In =0 2. Ri =∞ 3. Ro = 0 Ideal op-amp in a negative feedback configuration When an op-amp is arranged with a negative feedback the ideal rules are: 1. Ip =In =0 : input current constraint 2. Vn = Vp : input voltage constraint These rules are related to the requirement/assumption for large open-loop gain A →∞, and they form the basis for op-amp circuit analysis. The voltage Vn tracks the voltage Vp and the “control” of Vn is accomplished via the feedback network. Chaniotakis and Cory. 6.071 Spring 2006 Page 1 Operational Amplifier Circuits as Computational Devices So far we have explored the use of op amps to multiply a signal by a constant. For the R2 inverting amplifier the multiplication constant is the gain − R1 and for the non inverting R2 amplifier the multiplication constant is the gain 1+ R1 . Op amps may also perform other mathematical operations ranging from addition and subtraction to integration, differentiation and exponentiation.1 We will next explore these fundamental “operational” circuits. Summing Amplifier A basic summing amplifier circuit with three input signals is shown on Figure 1. I I R1 1 F RF Vin1 I R2 2 N V 1 in2 Vout R3 I3 Vin3 Figure 1. Summing amplifier Current conservation at node N1 gives I12+ II+=3IF (1.1) By relating the currents I1, I2 and I3 to their corresponding voltage and resistance by Ohm’s law and noting that the voltage at node N1 is zero (ideal op-amp rule) Equation (1.1) becomes VVV V in12++in in3=−out (1.2) R12RR3RF 1 The term operational amplifier was first used by John Ragazzini et.
    [Show full text]