ababcdfghiejkl
play

ABabcdfghiejkl Network for supporting the REALSIMPLE project - PowerPoint PPT Presentation

Collocated proportional-integral-derivative (PID) control of acoustic musical instruments Edgar Berdahl and Julius O. Smith III Department of Electrical Engineering Center for Computer Research in Music and Acoustics (CCRMA) Stanford University


  1. Collocated proportional-integral-derivative (PID) control of acoustic musical instruments Edgar Berdahl and Julius O. Smith III Department of Electrical Engineering Center for Computer Research in Music and Acoustics (CCRMA) Stanford University Stanford, CA, 94305 Education in Acoustics: Tools for Teaching Acoustics Thursday Morning at 10:20AM, June 7th, 2007 — Special thanks to the Wallenberg Global Learning ABabcdfghiejkl Network for supporting the REALSIMPLE project

  2. Outline Overview Theory Laboratory Exercise In Pure Data ABabcdfghiejkl

  3. The RealSimPLE Project ◮ RealSimPLE is a web-based teacher’s resource for student laboratory sessions in musical acoustics. ABabcdfghiejkl

  4. The RealSimPLE Project ◮ RealSimPLE is a web-based teacher’s resource for student laboratory sessions in musical acoustics. ◮ Music is a good way to interest young people in math, science, and engineering. ABabcdfghiejkl

  5. The RealSimPLE Project ◮ RealSimPLE is a web-based teacher’s resource for student laboratory sessions in musical acoustics. ◮ Music is a good way to interest young people in math, science, and engineering. ◮ Physical experiments and pedagogical computer-based simulations of the same systems run in parallel and interconnected. ABabcdfghiejkl

  6. The RealSimPLE Project ◮ RealSimPLE is a web-based teacher’s resource for student laboratory sessions in musical acoustics. ◮ Music is a good way to interest young people in math, science, and engineering. ◮ Physical experiments and pedagogical computer-based simulations of the same systems run in parallel and interconnected. ◮ The traditional lab bench is enhanced rather than replaced. ABabcdfghiejkl

  7. The RealSimPLE Project ◮ RealSimPLE is a web-based teacher’s resource for student laboratory sessions in musical acoustics. ◮ Music is a good way to interest young people in math, science, and engineering. ◮ Physical experiments and pedagogical computer-based simulations of the same systems run in parallel and interconnected. ◮ The traditional lab bench is enhanced rather than replaced. ◮ Only standard computers and some inexpensive, ABabcdfghiejkl easy-to-build hardware are required.

  8. The RealSimPLE Project ◮ RealSimPLE is a web-based teacher’s resource for student laboratory sessions in musical acoustics. ◮ Music is a good way to interest young people in math, science, and engineering. ◮ Physical experiments and pedagogical computer-based simulations of the same systems run in parallel and interconnected. ◮ The traditional lab bench is enhanced rather than replaced. ◮ Only standard computers and some inexpensive, ABabcdfghiejkl easy-to-build hardware are required. ◮ The RealSimPLE Project is a collaboration between Stanford University and KTH in Sweden.

  9. RealSimPLE Laboratory Assignment Dependencies START Monochord Soundcard Assembly Setup Monochord Weighted Experiments Monochord Activity Harmonic Content Introduction to STK of a Plucked String and Reverberation Musical Traveling Waves In Time−Varying Illusions Lab A Vibrating String Virtual Acoustic Delay Effects Tube Lab Psychoacoustics Plucked String Digital Virtual Electric Lab Waveguide Model Flute Lab Guitar Model Auditory Filter PID Transfer Function Acoustic Guitar Bank Lab Control Measurement Toolbox and Piano Models

  10. Summary Of PID Control Lab Objectives ◮ Explain the basic idea behind feedback control . ABabcdfghiejkl

  11. Summary Of PID Control Lab Objectives ◮ Explain the basic idea behind feedback control . ◮ Describe how this discipline may be applied to a vibrating string . ABabcdfghiejkl

  12. Summary Of PID Control Lab Objectives ◮ Explain the basic idea behind feedback control . ◮ Describe how this discipline may be applied to a vibrating string . ◮ Describe how modifying the control parameters affects the harmonic content . ABabcdfghiejkl

  13. Summary Of PID Control Lab Objectives ◮ Explain the basic idea behind feedback control . ◮ Describe how this discipline may be applied to a vibrating string . ◮ Describe how modifying the control parameters affects the harmonic content . ◮ Explain what instability is and how it may arise. ABabcdfghiejkl

  14. Summary Of PID Control Lab Objectives ◮ Explain the basic idea behind feedback control . ◮ Describe how this discipline may be applied to a vibrating string . ◮ Describe how modifying the control parameters affects the harmonic content . ◮ Explain what instability is and how it may arise. ◮ Experiment with a virtual controlled string using the Pure Data software. ABabcdfghiejkl

  15. Summary Of PID Control Lab Objectives ◮ Explain the basic idea behind feedback control . ◮ Describe how this discipline may be applied to a vibrating string . ◮ Describe how modifying the control parameters affects the harmonic content . ◮ Explain what instability is and how it may arise. ◮ Experiment with a virtual controlled string using the Pure Data software. ◮ Gain experience using Pure Data. ABabcdfghiejkl

  16. Feedback control Feedback control is the discipline in which system dynamics are studied and altered by creating feedback loops. r u x + System Controller Figure: Typical block diagram for a control application ABabcdfghiejkl

  17. Feedback control Feedback control is the discipline in which system dynamics are studied and altered by creating feedback loops. r u x + System Controller Figure: Typical block diagram for a control application ◮ Application to cruise control ABabcdfghiejkl

  18. Feedback control Feedback control is the discipline in which system dynamics are studied and altered by creating feedback loops. r u x + System Controller Figure: Typical block diagram for a control application ◮ Application to cruise control ABabcdfghiejkl ◮ Application to a vibrating string

  19. Outline Overview Theory Laboratory Exercise In Pure Data ABabcdfghiejkl

  20. System Model ◮ If we collocate the sensor and actuator, then we can use the following model of the lowest resonance: Figure: Lightly-damped harmonic oscillator ( R is small) ABabcdfghiejkl

  21. System Model ◮ If we collocate the sensor and actuator, then we can use the following model of the lowest resonance: Figure: Lightly-damped harmonic oscillator ( R is small) ◮ Equivalent mass m , spring with constant K , and damping parameter R ABabcdfghiejkl

  22. System Model ◮ If we collocate the sensor and actuator, then we can use the following model of the lowest resonance: Figure: Lightly-damped harmonic oscillator ( R is small) ◮ Equivalent mass m , spring with constant K , and damping parameter R ◮ m ¨ x + R ˙ x + Kx = 0 ABabcdfghiejkl

  23. System Model ◮ If we collocate the sensor and actuator, then we can use the following model of the lowest resonance: Figure: Lightly-damped harmonic oscillator ( R is small) ◮ Equivalent mass m , spring with constant K , and damping parameter R ◮ m ¨ x + R ˙ x + Kx = 0 ABabcdfghiejkl � ◮ Pitch f 0 ≈ K m , and the decay time constant τ = 2 m 1 R 2 π

  24. Proportional-Derivative (PD) Control ◮ If we implement the feedback law F = P D ˙ x + P P x , then we arrive at the following differential equation m ¨ x + R ˙ x + Kx = P D ˙ x + P P x ABabcdfghiejkl

  25. Proportional-Derivative (PD) Control ◮ If we implement the feedback law F = P D ˙ x + P P x , then we arrive at the following differential equation m ¨ x + R ˙ x + Kx = P D ˙ x + P P x ◮ The controlled dynamics are m ¨ x + ( R − P D ) ˙ x + ( K − P P ) x = 0 ABabcdfghiejkl

  26. Proportional-Derivative (PD) Control ◮ If we implement the feedback law F = P D ˙ x + P P x , then we arrive at the following differential equation m ¨ x + R ˙ x + Kx = P D ˙ x + P P x ◮ The controlled dynamics are m ¨ x + ( R − P D ) ˙ x + ( K − P P ) x = 0 � K − P P f 0 ≈ 2 m ◮ ˆ 1 and decay time ˆ τ = m R − P D 2 π ABabcdfghiejkl

  27. Integral Control ◮ Similarly the feedback law F = P I x dt � ABabcdfghiejkl

  28. Integral Control ◮ Similarly the feedback law F = P I x dt � ◮ The controlled dynamics are third order m ¨ x + R ˙ x + Kx = P I x dt � ABabcdfghiejkl

  29. Integral Control ◮ Similarly the feedback law F = P I x dt � ◮ The controlled dynamics are third order m ¨ x + R ˙ x + Kx = P I x dt � ◮ The analysis is more complicated, but for small | P I | , 2 m ˆ τ ≈ PI R + 4 π 2 f 2 0 ABabcdfghiejkl

  30. Integral Control ◮ Similarly the feedback law F = P I x dt � ◮ The controlled dynamics are third order m ¨ x + R ˙ x + Kx = P I x dt � ◮ The analysis is more complicated, but for small | P I | , 2 m ˆ τ ≈ PI R + 4 π 2 f 2 0 ◮ PID Control: ◮ Can control the damping with P D and P I ABabcdfghiejkl

  31. Integral Control ◮ Similarly the feedback law F = P I x dt � ◮ The controlled dynamics are third order m ¨ x + R ˙ x + Kx = P I x dt � ◮ The analysis is more complicated, but for small | P I | , 2 m ˆ τ ≈ PI R + 4 π 2 f 2 0 ◮ PID Control: ◮ Can control the damping with P D and P I ABabcdfghiejkl ◮ Can control the pitch (some) with P P

  32. Outline Overview Theory Laboratory Exercise In Pure Data ABabcdfghiejkl

  33. Pure Data ABabcdfghiejkl

  34. Instability ◮ Students can choose the control parameters P P , P I , and P D over a reasonable range. ABabcdfghiejkl

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend