Creating Inverse Transfer Functions with the QuickfilterPro Software

Similar documents
QF1Da512 Audio SavFIRe

Installing FTDI Device Drivers for the QF4A512-DK under Windows XP

P R E L I M I N A R Y. Programming the QF4A512 EEPROM

Programming Sequences for the QF1Da512

Programming Sequences for the QF1Da512

MSP-430 Host Software Example for the QF4A512

QF3DFX Profound Sound Audio Processor High performance, easy to use audio processing

Building AMD64 Applications with the Microsoft Platform SDK. Developer Application Note

AN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description

Ethernet1 Xplained Pro

Quickfilter-RealSoundLab Collaborative Methodology

Preliminary Information. AMD-8111 TM HyperTransport TM I/O Hub Revision Guide

This user guide describes how to run the Atmel ATWINC3400 Bluetooth Low Energy (BLE) Provisioning demo from out-of-box conditions.

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

USER GUIDE. Atmel QT6 Xplained Pro. Preface

APPLICATION NOTE. AT03324: Atmel REB212BSMA-EK Quick Start Guide. Atmel MCU Wireless. Introduction

AVR42789: Writing to Flash on the New tinyavr Platform Using Assembly

CDB5346. Evaluation Board for CS5346. Features. Description CS5346. Single-ended Analog Inputs. Single-ended Analog Outputs

LM48555 Evaluation Board

Evaluation Board for CS3308. Description CS Channel. Digitally Controlled Analog Volume Control. PC or External Serial Control Input

USER GUIDE. Atmel OLED1 Xplained Pro. Preface

CDB4350 Evaluation Board for CS4350

PAC5523EVK1. Power Application Controllers. PAC5523EVK1 User s Guide. Copyright 2017 Active-Semi, Inc.

Bluetooth USB User Guide. Revision A July 12, 2006 Part Number GC

No: SW1.12_4.0.2 V F

Getting Started Guide: TMS-FET470A256 IAR Kickstart Development Kit

EDBG. Description. Programmers and Debuggers USER GUIDE

SonicWall Secure Mobile Access SMA 500v Virtual Appliance 8.6. Getting Started Guide

HYDRA-X23/X23S. Power Application Controllers. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

Intel Desktop Board DH55TC

USER GUIDE. Atmel QT1 Xplained Pro. Preface

Intel Desktop Board D945GSEJT

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

GENERAL DESCRIPTION FEATURES

1-4 Figure 1-1 Am186ER Microcontroller Block Diagram. Arrow pointing from control register bus down to the 32-Kbyte RAM box.

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

User's Graphical User Interface(GUI) for LP555x Evaluation Board PowerWise Technology. Compliant Energy Management Unit AN Overview.

USER GUIDE. ATWINC1500 Xplained Pro. Preface

HYDRA-X10. Power Application Controllers TM. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

LED Manager for Intel NUC

HYDRA-X EH-PROTOx-1 Heads

IT900 STK4 (Starter Kit)

CDB5532U Evaluation Board and Software

APPLICATION NOTE. Atmel QT4 Xplained Pro User Guide ATAN0114. Preface

AMD APP SDK v3.0 Beta. Installation Notes. 1 Overview

CRD User Guide. Table of Contents. 1 Initial Configuration of the CRD The Control Console

USER GUIDE EDBG. Description

AN2240 Application note

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

AN2143 Application note

Z8 Encore! XP/Z8 Encore! Development Kits

Hardware Prerequisites Atmel Xplained Pro Evaluation Kit Atmel WINC1500 extension USB Micro Cable (TypeA / MicroB)

AVR1922: Xplain Board Controller Firmware 8-bit Microcontrollers Application Note Features 1 Introduction

Atmel QT600 Quick Start Guide Touch Solutions

Native route discovery algorithm

1 x 1.7 W CS35L01 Amplifier Reference Design Kit

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

Quick Start Guide. Figure 1 Voice Capture Board Plugged Directly into Raspberry Pi

AT03975: Getting Started with SAM L21. Descripton. Features. SMART ARM-Based Microcontroller APPLICATION NOTE

AN2474 Application note

Evaluation Board for CS4398

Family 15h Models 00h-0Fh AMD FX -Series Processor Product Data Sheet

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

Evaluation Board for CS5345

STM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features

PAC5232EVK1. Power Application Controllers. PAC5232EVK1 User s Guide. Copyright 2017 Active-Semi, Inc.

Evaluation Board for CS4245

ZCRMZNICE01ZEMG Crimzon In-Circuit Emulator

KX1400 Development Kit User s Guide

AT06467: Getting started with SAM D09/D10/D11. Features. Description. SMART ARM-based Microcontrollers APPLICATION NOTE

AN2667 Application note

Lab Tutorial for TWR-S08MM128-KIT TOWER SYSTEM LAB MC9S08MM128. Electrocardiogram (EKG) with Freescale USB stack

USER GUIDE. Atmel Segment LCD1 Xplained Pro. Preface

AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Features. Introduction. AVR 8-bit Microcontrollers APPLICATION NOTE

Family 15h Models 10h-1Fh AMD Athlon Processor Product Data Sheet

AN2430 Application note

USER GUIDE. ZigBit USB Stick User Guide. Introduction

Microphone Power Gating. Top. Back SPKR. Figure 1 Example Microphone Placement in a Mobile Phone

Apollo2 EVB Quick Start Guide

DataPort 350 & 525 USB 2.0 and FireWire Enclosure User s Guide (800)

Decompensated Operational Amplifiers

AN3001 Application note

AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro. Introduction. Features. AVR XMEGA Microcontrollers APPLICATION NOTE

APPLICATION NOTE. Atmel AT03304: SAM D20 I 2 C Slave Bootloader SAM D20. Description. Features

LMX9838 Cable Replacement

Product Brief. Intel NUC: Accelerated Now with Intel Optane Memory 4K60 DISPLAY CAPABILITY INTEL HD GRAPHICS 7.1 SURROUND SOUND

Intel Desktop Board DZ68DB

Model-Based Design Toolbox

AN3991 Application note

Device Firmware Update (DFU) for Windows

STM32-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

STM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

Evaluation Board for CS4351

Table 1. RS232 Serial Adapter DEBUG Connector Pin Descriptions

USB Debug Adapter. Power USB DEBUG ADAPTER. Silicon Laboratories. Stop. Run. Figure 1. Hardware Setup using a USB Debug Adapter

PCI Express Link/Transaction Test Methodology

Atmel ATtiny1634 MCU Atmel ATA SBC LIN transceiver with integrated voltage regulator Touch. Three Atmel QTouch buttons One Atmel QTouch slider

Quick Start Guide for TWR-S08MM128-KIT TOWER SYSTEM MC9S08MM128. The industry s most complete solution for portable medical applications

Transcription:

It is often useful to quickly be able to create an inverse transfer function to be used as a filter. Applications include audio equalizers whose main function is to flatten the speaker response and provide emphasis in certain frequency bands. The procedure outlined below will help the user design, implement and test this inverse transfer function utilizing Quickfilter s QuickfilterPro software, the Quickfilter QF1D512 development kit and the Quickfilter Audio-Mojo board. (For more information on the operation of the QF1D512 Development Kit and software please refer to the QF1D512-DK User Guide. For more information on the QF-Audio Mojo operation, please refer to the QF-Audio Mojo User Guide. Both of these documents can be found at www.quickfiltertech.com). STEP 1 Create the original transfer The user can create the initial transfer function using any method (including empirical measurements or MatLab simulations) with which he is comfortable. For audio applications, Quickfilter recommends running a sweep using an Audio Precision 2700. The resulting data needs to be in a 2 column text file with the first column being frequency and the second column being amplitude. Figure1A Original transfer function as a.txt file Rev A1, April 08 1 www.quickfiltertech.com

STEP 2 Import the original transfer function into QuickfilterPro If using the Audio-Mojo, open then select Dual Serial and select the Audio Mojo_DK ADC. If using only the development kit, you may leave the settings as they appear in the default. Figure 2A Using Audio-MoJo Rev A1, April 08 2 www.quickfiltertech.com

If using the Audio-Mojo, select Chip A and load the left template file (Audio-Mojo-Left.q1d2), then select Chip B and load the right template file (Audio-Mojo-Right.q1d2). These files can be found in the default directory you chose when installing. This is typically C:\Program Files\Quickfilter Technologies\QF1D512\Sample Files. Doing this assures the user that the appropriate pin settings are loaded for the Audio-Mojo codec. This step is not necessary if using just the development kit. You may also enter these setting manually by selecting Chip on the menu bar and then selecting Data Format Editor in the drop down. Similarly you select the Pin Settings in the drop down to enter that information. If doing this manually, you must do it for both A and B chips. The appropriate defaults for these settings for the Audio MoJo board are shown below. Figure 2B Setting the defaults on chip A if using Audio-Mojo Rev A1, April 08 3 www.quickfiltertech.com

Figure 2C Setting the defaults on chip B if using Audio-Mojo Rev A1, April 08 4 www.quickfiltertech.com

Figure 2D Selecting Data Format Editor and Pin Settings Editor Rev A1, April 08 5 www.quickfiltertech.com

Figure 2E Required Audio Mojo Data Format Editor Settings for Chip A Rev A1, April 08 6 www.quickfiltertech.com

Figure 2F Required Audio Mojo Data Format Editor Settings for Chip B Rev A1, April 08 7 www.quickfiltertech.com

Figure 2G Required Audio Mojo Pin Settings for Chip A Rev A1, April 08 8 www.quickfiltertech.com

Figure 2H Required Audio Mojo Pin Settings for Chip B If running only with the development kit, these settings are not required. Next, press the New Filter button to design a new filter. A new window opens up with a series of buttons for designing different types of filters. Select the Draw Freeform filter button. Rev A1, April 08 9 www.quickfiltertech.com

Figure 2I Design a new filter Rev A1, April 08 10 www.quickfiltertech.com

Figure 2J Choose Draw Freeform Filter Rev A1, April 08 11 www.quickfiltertech.com

Select the open file icon which will prompt you to locate the file you wish to import. Figure 2K Select open file Browse to the file and select it. Set the Sample Frequency to your desired sample rate (in this example 48000 Hz), then click Open. You will see a message if the total number of points exceeds 1024. In this case, Quickfilter uses a best fit method to import only 1024 points. Click OK on this message, and the original transfer function will appear in the filter window. Rev A1, April 08 12 www.quickfiltertech.com

Figure 2L Select file and set sampling frequency Figure 2M Click OK Rev A1, April 08 13 www.quickfiltertech.com

Figure 2N Original transfer function imported into QuickfilterPro Rev A1, April 08 14 www.quickfiltertech.com

STEP 3 Create the inverse transfer function in QuickfilterPro Click on the Invert or Gain Button (alternately, set the mouse pointer anywhere off of the chart but within the Filter Response window and double click) and an option window will appear. Figure 3A Invert or Gain Button and Option Window Rev A1, April 08 15 www.quickfiltertech.com

Click the box labeled Invert all Freeform points. At this point, you may also choose to apply gain. Click the Apply gain to Freeform Points box and enter a gain number. The purpose of this is to shift the inverted curve upward or downward. During this procedure, the user must not apply so much gain as to make the sum of the coefficients greater than 1. If the coefficients sum to a number greater than 1, then the resulting filter may clip and distort. The sum of the coefficients is displayed for the user s reference after the design filter button is pressed. The number entered at this step to move the curve down is a positive number. QuickfilterPro uses this number and the invert function to move the curve down. Also, if using the Audio-Mojo, change the number of samples from 511 to 501 (this can remain at 511 if using the development kit only). Rev A1, April 08 16 www.quickfiltertech.com

Figure 3B Result of inverting and gaining From this point, the user may click the Invert or Gain button (or double click anywhere off the chart to bring up the gain window) again. The user may continue to add gain keeping in mind that the sum of the coefficients must be less than 1. The number entered is a positive number to move the curve up or a negative number to move the curve down. Rev A1, April 08 17 www.quickfiltertech.com

Figure 3C Adding Gain Rev A1, April 08 18 www.quickfiltertech.com

Figure 3D Gained up Inverse Filter Press the design filter button and the resulting filter will be displayed. The coefficients will be adjusted to maintain unity gain through the filter. Rev A1, April 08 19 www.quickfiltertech.com

Figure 3E Designed Filter Save this resulting file for later use (Section 4 Editing the Inverse Transfer Function). Rev A1, April 08 20 www.quickfiltertech.com

Figure 3F Click Save As Rev A1, April 08 21 www.quickfiltertech.com

Figure 3G Name the file and click Save If no editing is to be performed on this filter, then pressing Done will load the filter into configuration A. Repeat this procedure for configuration B if using both channels. Rev A1, April 08 22 www.quickfiltertech.com

Figure 3H Done Rev A1, April 08 23 www.quickfiltertech.com

Figure 3I Filter loaded into configuration A Rev A1, April 08 24 www.quickfiltertech.com

Figure 3J Choose Configuration B and repeat entire procedure Rev A1, April 08 25 www.quickfiltertech.com

STEP 4 Editing the inverse transfer function Although QuickfilterPro gives an optimized fit for the inverse transfer function, sometimes a manual tweak can be used to achieve a slightly better curve fit. In order to manually edit the curve saved in step 3, click the Load Freeform data button to reload the file. A window will pop up which allows you to browse to the file you just saved. In the Load Action pull down on this window, select Load Data and Reference Points. This will clear the screen of any data points currently in the window and it will load two curves. One is a curve that can be edited and the other is the same curve which will stay on the screen unedited. Figure 4A Load Data and Reference Points Rev A1, April 08 26 www.quickfiltertech.com

Figure 4B Data and Reference Curves Loaded At this stage, the data and reference curves lay on top of each other, so they may not be distinguishable. Click the Design Filter button to design the filter. Rev A1, April 08 27 www.quickfiltertech.com

Area to edit Figure 4C Load Design Filter Choose an area of the filter that you would like to edit then click on the selection box and highlight all the points to the left. Then click the X button to delete the points. Note that the original reference points are still Rev A1, April 08 28 www.quickfiltertech.com

there for comparison. Alternately, you can choose one point and hold down the Shift Key. This will delete all points to the left of the original point selected. Area to edit Figure 4D Selecting the points to delete Rev A1, April 08 29 www.quickfiltertech.com

Figure 4E Deleted points and Original Reference Points Starting from the rightmost of the deleted points, place new points on the graph to try to influence the shape of the resulting filter. Press the Design Filter button to see the results of these new points. Repeat this for any Rev A1, April 08 30 www.quickfiltertech.com

other points you wish to change. If satisfactory results aren t achieved with about 6 points, then the original optimized curve is the best fit. Figure 4F Added points and resulting filter Rev A1, April 08 31 www.quickfiltertech.com

STEP 5 Viewing the results Pressing Done on the filter design screen will load the configuration in whichever channel was selected (A or B). If the user is designing only with the development kit and all the channels required by the user are programmed (unused channels should be bypassed by clicking the Bypass button) then the user is ready to view the results within the FFT window. Select each channel that has a filter loaded and save the configuration. Figure 5A Bypass box and FFT Window Rev A1, April 08 32 www.quickfiltertech.com

Figure 5A Save configuration for Channel A Rev A1, April 08 33 www.quickfiltertech.com

Figure 5B Save configuration for Channel B Connect a signal to the BNC connector on the development kit labeled ADC and the resulting output is viewed on the FFT window. If the user is designing with the Audio-Mojo, there are two options. While the Audio-MoJo is connected to the development kit, the audio path is routed to the development kit s 1Ds. The user then not only has the visual display of the FFT window, but he also has filtered audio coming out of the Audio-MoJo which can be routed to Rev A1, April 08 34 www.quickfiltertech.com

a powered speaker for audio testing. The second option is to program the Audio-Mojo and run it stand alone. One advantage to this is that the user can program two sets of filters into the Audio-Mojo and utilizing the onboard push button (SW1), can readily do an A/B comparison between the filters. One set of filters is generally flat (no correction) so that the A/B is a comparison between the original audio and the filtered audio. STEP 6 Programming the Audio-MoJo With the Audio-MoJo mounted on the development kit, attach the programming cable from J4 on the development kit to the programming header on the Audio-MoJo. In the QuickfilterPro Configuration window, load the previously saved configurations into channels A and B. uc Codec Ext Power Audio Inputs Audio Outputs Programming Header QF1D512s Signal Routing Codec Config Figure 6A Audio-MoJo board Rev A1, April 08 35 www.quickfiltertech.com

Figure 6B Open Configuration Rev A1, April 08 36 www.quickfiltertech.com

Figure 6C Load configuration into Channel A Rev A1, April 08 37 www.quickfiltertech.com

Figure 6D Load Configuration into Channel B Rev A1, April 08 38 www.quickfiltertech.com

Select Export to External Host and click the OK button on the Export to External Host dialog box. Load the Left Channel and Right Channel configurations into the Default Settings and click download. This will program the Audio-Mojo Flash with the first set of configuration files. Figure 6E Export to External Host Rev A1, April 08 39 www.quickfiltertech.com

Figure 6F Export to External Host Dialog Box Rev A1, April 08 40 www.quickfiltertech.com

Figure 6G Downloading Default Settings If you wish to have an alternate set of settings so as to be able to do A/B comparisons, go back to the QuickfilterPro Configuration window and load a new set of configurations into Channels A and B. Then select Export to External Host, click OK and load the alternate configurations into the Alternate Settings Box and click download. This will program the Audio-Mojo Flash with the alternate set of configuration files. Remove the USB cable from the development kit, then remove the programming cable, then remove the Audio Mojo Power, and finally remove the Audio-MoJo board from the development kit. Make sure jumpers 1-4 are in the 1-2 position and re-apply DC power through J7 or the DC jack. This can be 6-12VDC. Connect RCA cables to inputs and outputs, and the user can listen to A/B comparisons on an audio stream. Rev A1, April 08 41 www.quickfiltertech.com

Figure 6H Loading Alternate configurations uc Codec Ext Power Audio Inputs Audio Outputs Programming Header QF1D512s Signal Routing Codec Config Figure 6I Audio-MoJo Layout Rev A1, April 08 42 www.quickfiltertech.com

Contact Information: Quickfilter Technologies, Inc. 1024 S. Greenville Avenue, Suite 100 Allen, TX 75002-3324 General:info@quickfilter.net Applications:apps@quickfilter.net Sales:sales@quickfilter.net Phone:214-547-0460 Fax:214-547-0481 The contents of this document are provided in connection with Quickfilter Technologies, Inc. products. Quickfilter makes no representations or warranties with respect to the accuracy or completeness of the contents of this publication and reserves the right to make changes to specifications and product descriptions at any time without notice. No license, whether express, implied, arising by estoppel or otherwise, to any intellectual property rights is granted by this publication. Except as set forth in Quickfilter's Standard Terms and Conditions of Sale, Quickfilter assumes no liability whatsoever, and disclaims any express or implied warranty, relating to its products including, but not limited to, the implied warranty of merchantability, fitness for a particular purpose, or infringement of any intellectual property right. Quickfilter's products are not designed, intended, authorized or warranted for use as components in systems intended for surgical implant into the body, or in other applications intended to support or sustain life, or in any other application in which the failure of Quickfilter's product could create a situation where personal injury, death, or severe property or environmental damage may occur. Quickfilter reserves the right to discontinue or make changes to its products at any time without notice. 2007 Quickfilter Technologies, Inc. All rights reserved. Quickfilter, the Quickfilter logo and combinations thereof, are trademarks of Quickfilter Technologies, Inc. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies Rev A1, April 08 43 www.quickfiltertech.com