Home
Proposal for a Musical Carpet
Contents
1. 10 3 5 1 GENERAL REQUIRMINTS 2 rho ennt rn era ren 10 3 5 2 SAFETY REQUIREMENTS ro rente ena eiae sume daa 10 3 6 SPEAKER MICROPHONE REQUIREMENTS 11 3 6 1 GENERAL REQUIRMINLTS ui caves 11 4 USER DOCUMENTALTIO ka eua Pate case 11 5 SYSTEM TEST PLAN wifes irte t eroe treno E 12 5 1 SENSORS canc 12 5 2 MAIN CONTROL UNIT TESTING eerte totu khen nna 12 5 3 AUDIO PROCESSING UNIT 6 12 5 4 INTEGRATED SYSTEM nnne 13 6 SOURCES AND REFERENCES noun tin tore eru un e Pen etra eh hn Dea dp E dao en a Dua 15 Copyright 2010 MusEd Technologies Inc Page iv PROPOSAL FOR A MUSICAL CARPET 33 2 02 Tzc noLoecdzs INC List of Figures Figure 2 1 High Level Design Block 2 Figure 2 2 Operational Block Diagram ccccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 2 Figure 2 3 System Schematic diagram cccecccceceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 3 Glossary ADC Analog to Digital Converter DAC Digital to Analog Converter DIP
2. Control module Speaker Ins1 Ins2 N InsN Singing frequency detector Microphone 7 Figure 2 3 System Schematic diagram The above diagram shows the main features of the product The twenty four sensors and corresponding twenty four LEDs represent the two octaves of notes white Do Re Mi Fa So La Ti and black keys on the piano The control module is a set of pushbuttons located on the control board and used for selection of the instrument sound desired by the user The microphone when enabled is used to sense the user s voice which is compared to the note played and the result is the output from the singing frequency detection module Power to the system is supplied through a regular AC outlet to avoid battery changing recharging Copyright 2010 MusEd Technologies Inc Page 3 czo Imc PROPOSAL FOR A MUSICAL CARPET 3 SYSTEM REQUIREMENTS 3 1 OVERALL SYSTEM REQUIREMENTS 3 1 1 GENERAL REQUIREMENTS R1 II The musical carpet should be able to generate tones from different musical instruments R2 II retail price of the musical carpet must be under 100 Canadian dollars R3 II The musical carpet must be both educational and entertaining Users can sing the note that was played and the musical carpet will indicate whether the pitch is too high or too l
3. key nodes should be easily accessible for measurement 3 1 4 MECHANICAL REQUIREMENTS R17 II PCB must have 5mm clearance from the case to avoid electrostatic discharge ESD 3 1 5 ENVIROMENTAL REQUIREMENTS 18 musical carpet is intended for indoor use only R19 I musical carpet must function properly under typical room temperatures 10 40 degrees Celsius 20 musical carpet should not generate any other noises beside the intended sounds through the speakers Copyright 2010 MusEd Technologies Inc Page 5 2 PROPOSAL FOR A MUSICAL CARPET 3 110 AEA 3 1 6 RELIABILITY AND DURABILITY R21 III 822 11 823 11 A button for resetting the software to factory defaults should be provided along with a software resetting algorithm in case of any software failure The exterior of the case should not be electrically conductive The musical carpet must not be break by reasonable amounts of vibration or by falling from less than a two metre height 24 The case containing the control unit and display module should be waterproof R25 III R26 III Over voltage circuitry should be introduced at the input from adaptor in case the wrong adaptor is plugged into our device To avoid ESD damage to the printed circuit board PCB decoupling capacitors should be installed near power rails and MCU inputs 3 1 7 SAFETY REQUIREMENTS 827 11 828
4. 3 3 2 MEMORY REQUIRMENTS R57 II APU must be capable of storing sound samples with a combined length of 10 minutes at an 8KHz sampling rate and an 8 bit depth Most microcontrollers do not have that much internal memory therefore an external SD card can be used for this propose 58 APU s microcontroller must have at least 1KB EEPROM for storing the user recorded music 59 1 APU s microcontroller should have at least 2KB static random access memory SRAM for buffering 3 4 USER INTERFACE REQUIREMENTS The user interface consists of a set of buttons for changing musical instruments and adjusting gain It also includes LEDs as display elements The output should be driven by the main control unit or the audio processing unit 3 4 1 GENERAL REQUIREMENTS R60 Il user interface should be available at all times R61 II Response to user input should be through an LED output 62 1 user interface should notify the user when their voice is out of tune 63 1 user interface should allow the user to select different musical instruments Copyright 2010 MusEd Technologies Inc Page 9 1 PROPOSAL FOR A MUSICAL CARPET T CHANOLOGGES INC p 64 1 user interface should allow the user to select different modes of operations 3 4 2 USABILITY REQUIREMENTS 65 1 user interface must be simple to use 3 5 SENSOR REQ
5. 11 829 11 830 111 The AC adaptor should have over current protection circuit so it won t easily be burnt All the electronic components should be lead free ROHS compliant All the electronic components should be properly installed to prevent electrical shocks Each separate part in our device should not be large enough to avoid choking hazards 3 1 8 STANDARDS R31 III R32 III The musical carpet should pass all the requirements for Toy Safety listed by Health Canada 6 The product must pass the Electromagnetic Compatibility EMC test and meet the Federal Communication Commission FCC requirements before it is released to the market 7 Copyright 2010 MusEd Technologies Inc Page 6 c MUSED inc PROPOSAL FOR A MUSICAL CARPET 3 2 MAIN CONTROL UNIT REQUIREMENTS The main control unit s primary responsibility is to sample sensors and microphone input and deliver control signals to the audio processing unit so that it plays the corresponding sound The audio operations will be discussed in Section 3 3 This controlling unit consists primarily of a microcontroller MCU with internal analog to digital convertors ADC 3 2 1 GENERAL REQUIREMENTS R33 I MCU must have enough inputs and outputs 1 0 for sensors and LEDs 34 11 The MCU should be as simple as possible while supporting all required features 35 1 MCU must have at least one ADC for t
6. of the input signal Then it will analyze the signal to provide user feedback 5 3 AUDIO PROCESSING UNIT TESTING The audio processing unit is the most challenging part of our system The audio processing unit should be able to generate multiple sounds at the same time instead of simply playing one sound Comprehensive combinations of sensor activations will be tested to ensure proper playback Having accomplished this successfully we will then need to process the voice of a singer and compare it with our sample within a pre determined threshold The result will be compared and shown using the user interface Copyright 2010 MusEd Technologies Inc Page 12 PROPOSAL FOR A MUSICAL CARPET T CHANOLOGES INC 5 4 INTEGRATED SYSTEM TESTING Once everything is put together it is time to test the final product First we will test the integrated product within our team Then the final test would be done in public We will let people come and play with our instrument so that we can spot any device malfunctions that we could not discover thus far CopyrightO2010 MusEd Technologies Inc Page 13 Ci T E Imc PROPOSAL FOR A MUSICAL CARPET 5 2 18 6 CONCLUSION The functional specifications listed in this document provide a set of comprehensive requirements for the musical carpet Development of the proof of concept has begun and is planned in accordance with the requirements liste
7. 4 MUS Df School of Engineering Science Burnaby BC V5A 156 T CANOCOGIES INC aaa75 sfu ca February 8 2010 Dr Andrew Rawicz School of Engineering Science Simon Fraser University Burnaby British Columbia V5A 156 Re ENSC 440 Functional Specification for a Musical Carpet Dear Dr Rawicz The enclose document Functional Specification for a Musical Carpet describes the functional requirements for the educational device we are developing The musical carpet will replicate two octaves of a piano embedded into a carpet and will contain additional features that will act as educational aids This device allows the user to grasp the fundamentals of music in an entertaining fashion This functional specification is used to simplify the design process by creating a comprehensive set of requirements which can be followed throughout the design process This also contains high level user test plans that not only help in understanding what we wish to achieve but will save us time late in the development cycle when we are integrating and testing our device MusEd Technologies is a team of four driven and skilled individuals Anthony Tsang Anton Ayzikovsky Danny Jiang and Payam Norouzi If you would like to contact us with questions or comments please contact Anton Ayzikovsky via e mail at aaa75 sfu ca Sincerely y Jaang Anthony Tsang MusEd Technologies Inc Enclosure Functional Specification for a Musical Carpet Copyri
8. Dual In Line Package EEPROM Electrically Erasable Programmable Read Only Memory EMC Electromagnetic Compatibility EMI Electromagnetic Interference ESD Electrostatic Discharge FCC Federal Communication Commission 2 Inter Integrated Circuit LED Light Emitting Diode MCU Micro Controller Unit PCB Printed Circuit Board SRAM Static Random Access Memory SPI Serial Peripheral Interface TWI Two Wire Interface USART Universal Asynchronous Receiver Transmitter CopyrightO2010 MusEd Technologies Inc Page v PROPOSAL FOR A MUSICAL CARPET 233030722782 0 T CHANOLOGGES INC 1 INTRODUCTION The musical carpet is an educational device aimed at younger children The goal is to create a product that can both teach and entertain The device consists of two octaves of piano keys that can be played intuitively though the device will also be able to synthesize other instruments This product also includes a play and sing mode which will indicate whether the singer s voice is in tune with the note played 1 SCOPE The scope of this document covers both the proof of concept and production versions of the musical carpet that MusEd Technologies Inc is intending to produce The requirements laid out in the document must be met for the final product to be a success and can be used as a basis for further improvements made to the product 1 2 INTENDED AUDIENCE The functional specification document is intended for inte
9. ELIABILITY AND DURABILITY eerte 6 3 1 7 SAFETY REQUIREMENTS csssscssessssecssecssscsssecssscsssecssscasucsssecssscsssesssecaseceseceasecs 6 3518 STANDARDS UE EU i Eu IN 6 3 2 MAIN CONTROL UNIT REQUIREMENTS cssssesssessssssssecssecsssssssecassccssccasecasecesseeasecs 7 3 2 1 GENERAL REQUIREMENTS ccsscssssesssecssscsssecsssesssecssscasscsssecssscsssscsseeaseeeseeessecs 7 3 2 2 ELECTRICAL REQUIREMENTS cssscssssecsscsssecssecssscsssecssecsssccssecasecssscesseeasecsseces 7 3 2 3 PHYSICAL REQUIREMENTS esee 7 3 2 4 COMMUNICATION INTERFACES csssesssessssecssecssscsssecssecsssccssecasecssscesseeaseeesecen 8 3 2 5 USABILITY REQUIREMENTS nnne 8 3 3 AUDIO PROCESSING UNIT REQUIREMENTS j cssccssessssecsseessscsssecassesssecsseessecesseestecs 8 3 3 1 GENERAL REQUIRMENTS eset entere 8 Copyright 2010 MusEd Technologies Inc Page iii PROPOSAL FOR A MUSICAL CARPET T CHANOLOGGES INC 3 3 2 MEMORY REQUIRMENTS 4 00440400000 hh nenne enne 9 3 4 USER INTERFACE REOUIREMIENTS aiia c t p nn t ri t run ta t 9 3 4 T GENERAL REQUIREMENTUS iita n ento n Pe exe hn raa ae eno exe yu neu oan 9 3 4 2 USABILITY REQUIREMENTS rn to rdi eren dna 10 3 5 SENSOR REQUIREMENTS aae tu ean eue aea P ERO rera eh
10. EM TEST PLAN To ensure the musical carpet is fully functional we will thoroughly test each component as well as the whole system with all the parts integrated The component testing consists mainly of testing for the sensors the main control unit and the audio processing unit 5 1 SENSORS TESTING The output of the sensors should simply be an on or off signal We will first test the sensor under normal usage conditions That is the sensor will generate high low signals when it is under a normal or compressed condition Next we will ensure the sensor is able to withstand the substantial force of a heavy adult without malfunctioning After we run the same test for every sensor we will combine all the sensors and perform similar tests as well as measure the power dissipation of the sensors 5 2 MAIN CONTROL UNIT TESTING The main control unit is to sample sensors inputs and deliver signals to the audio processing unit The control unit acts as the interface module between the sensor module and the audio processing unit Before the main control unit is connected to the sensor module or the audio processing unit we will simulate sensor inputs using several pushbuttons and the control signals sent to the audio processing unit will be monitored using LEDs For the microphone input we will be feeding in a sinusoidal signal from the function generator The microcontroller should be able to covert the signal to digital samples based on the magnitudes
11. The musical carpet has two modes of operation the basic mode and the voice training mode These modes are described in Figure 2 2 Produce Sound Output Played Vocal Training Sense Carpet Key and Enable m gt System EN Pressed EN Singing Frequency Note und visual Feedback Detection Operation Mode Selection Basic Sense Carpet Key Output Played Music Carpet Pressed Produce sound Note s Figure 2 2 Operational Block Diagram Copyright 2010 MusEd Technologies Inc Page 2 P Imc PROPOSAL FOR A MUSICAL CARPET The system consists of a set of step operated pushbuttons embedded into a carpet which are connected to the main control unit The processor sends pre recorded sound samples of the corresponding frequency out to the speaker system Consequently the voice recognition system is enabled The system filters out the sound of the device itself and compares the user s voice frequency with the frequency of the note being played The LED indicator shows if the user sings too low too high or in perfect pitch providing a perfect voice training assistant The system design is shown in Figure 2 3 Sensor module Processor Note visualisation 1 LED1 mux demux 82 2 24 LED2 Lis J S24 LED24
12. UIREMENTS Carpet embedded sensors are a crucial part of our system The sensors are responsible for detecting user inputs in the form of a footstep and transmitting the information to the main controller unit A capacitive sensor method is used in our design employing metal sheets and a soft compressible material as the dielectric 3 5 1 GENERAL REQUIRMENTS 66 1 sensor surface area should be at a comfortable size for both adults and children to operate 67 1 The tactile force required to engage the sensor should be low enough for a toddler to make the contact but should avoid false positives 68 1 sensor should be able to withstand substantial force like that of a heavy adult without malfunctioning R69 II sensor should be able to pass a cycle test of at least 100 000 cycles R70 II sensor s active area should be evenly distributed over the entire piano key surface Meaning that pressing the middle of the key or the edge should produce the same effect 71 11 The sensor s response time should be less than 100 ms 3 5 2 SAFETY REQUIREMENTS 72 1 The parts of the sensor that carry current should not be exposed under normal operation Copyright 2010 MusEd Technologies Inc Page 10 PROPOSAL FOR A MUSICAL CARPET 23 119 2 M00 73 1 sensor s contacts should be within a safe voltage and current so that it does not cause bo
13. d with or Il The proof of concept is expected to be complete and available for evaluation by April 3 2010 CopyrightO2010 MusEd Technologies Inc Page 14 PROPOSAL FOR A MUSICAL CARPET T CHANOLOGES INC 6 SOURCES AND REFERENCES 1 MicroController Pros Corporation Accessed on Jan 13 2010 www microcontrollershop com 2 Digi Key Corporation Accessed on Jan 15 2010 http www digikey com 3 IKEA Accessed on Jan 18 2010 http www ikea com ca en 4 Ali Express Accessed on Jan 18 2010 http www aliexpress com product gs 237703985 Piano shape handmade carpet 120 85cm wholesalers html 5 Instructables Accessed on Jan 18 2010 http www instructables com id Ghoul Grabber step1 The step sensor 6 Health Canada Accessed on Feb 3 2010 http www hc sc gc ca cps spc pubs cons toy_safe jouet_secur eng php 7 AGILE TEST GROUP Accessed on Feb 3 2010 http www agiletestgroup com site Copyright 2010 MusEd Technologies Inc Page 15
14. ded detailed requirements that can be used to streamline development This can also be use the promote uniformity between separate modules and will be critical to streamlining integration The document also contains our system test plans whose function is two fold Firstly the test plans can be implemented for testing when development is well underway or nearing completion Secondly the system test plan helps paint a picture of desired functionality which complements the requirements listed in this document Copyright 2010 MusEd Technologies Inc Page ii P MUSED 1 Imc PROPOSAL FOR A MUSICAL CARPET Table of Content EXECUTIVE SUMMARY cci EIE ii D poo NN 1 EDU de 1 1 2 INTENDED AUD ENOE isisisi crenata 1 13 CLASSIFICATION renina aA OTR EE a EEEE 1 2 SYSTEM OVERVIEW dne siae o derat re aen 2 3 SYSTEM 5 4 3 1 OVERALL SYSTEM REQUIREMENTS tenerent nentes 4 3 1 1 GENERAL REQUIREMENTS j sssccssessssecssscsssecssscsssccssecssscassccssecasecssscesseeasecesecen 4 3 1 2 PHYSICAL REQUIREMENTS eese entente 4 3 1 3 ELECTRICAL REQUIREMENTS ssccsscssssecssecsssecssscsssccssecasscsssccssecasecsssceasecssecesecen 5 3 1 4 MECHANICAL REQUIREMENTS 5 3 1 5 ENVIROMENTAL REQUIREMENTS cssccssessssecssscsssecssscssssessecssscsssccssecasecesseeasecs 5 3 1 6 R
15. dily harm to humans or pets even if exposed 3 6 SPEAKER MICROPHONE REQUIREMENTS The microphone and speaker are one of the main user device interaction modules However requirements are flexible for these two units since any basic speaker and microphone combination with standard audio plugs can be used 3 6 1 GENERAL REQUIRMENTS 74 1 speakers should be able to output 15 Watts at the frequency range of 100 Hz 10 KHz R75 speakers should be able to interface with the control units a standard 3 5 mm stereo jack R76 I microphone s frequency response should be in the range of 100 Hz 10 kHz R77 microphone should be able to interface with the control units via standard 3 5 mm stereo jack 4 USER DOCUMENTATION 78 11 The user documentation should consist of a user manual as well as a setup guide R79 II user documentation should be written for consumers with minimal technical expertise R80 III non technical writer should edit the user documentation prior to finalization to ensure an appropriate reading level 81 11 The user documentation should be written in English French and Spanish for the North American market The document can be translated for other languages if sales are expanded to an international market Copyright 2010 MusEd Technologies Inc Page 11 M MUSEDA Imc PROPOSAL FOR A MUSICAL CARPET 907975 5 SYST
16. ght 2010 MusEd Technologies Inc GI S Ic FUNCTIONAL SPECIFICATION FORA MUSICAL CARPET Project Team Contact Person Submitted to Issued date Revision CopyrightO2010 MusEd Technologies Inc Anthony Tsang Anton Ayzikovsky Danny Jiang Payam Norouzi Anton Ayzikovsky aaa75 sfu ca Dr Andrew Rawicz ENSC 440 Steve Whitmore ENSC 305 School of Engineering Science Simon Fraser University February 8 2010 1 0 Page i P cnm 90 Imc PROPOSAL FOR A MUSICAL CARPET EXECUTIVE SUMMARY Many studies have been performed linking the healthy development of children and music There has been some controversy over the legitimacy of these studies But even if those studies are in question anecdotal evidence suggests that music is beneficial regardless of whether it can make your child smarter or not Music is often a highly influential factor in people s lives and we hope to be able to continue this in future generations Development has been divided into two teams One team will program the microcontroller on a development board The second team will work on the controls and system outputs testing their functionality separately As soon as the parts allow for integration we will begin integrating the separate components so that testing can be performed Within each team different features have been prioritized as core features less core features and additional features We have provi
17. he microphone and the resolution of the ADC must be at least eight bits R36 III The MCU should have a sleep mode feature for saving power 37 1 MCU should have at least two pins reserved for external hardware interrupts 38 The MCU must have at least 2KB electrically erasable programmable read only memory EEPROM for storing recorded music 3 2 2 ELECTRICAL REQUIREMENTS 39 1 MCU should operate near 5 40 power consumption for the MCU should be less than 100mW 3 2 3 PHYSICAL REQUIREMENTS 41 In the prototype the MCU should be in a dual in line package DIP Therefore it can easily be mounted on a breadboard RA2 I MCU must be small A reasonable size would be 5cm length and a 1cm width Copyright 2010 MusEd Technologies Inc Page 7 cn MUS Ges Inc PROPOSAL FOR A MUSICAL CARPET R43 I MCU should have a rectangular shape 3 2 4 COMMUNICATION INTERFACES 44 MCU should have a Serial Peripheral Interface SPI for communicating with devices such as EEPROM or a digital potentiometer R45 I Communication protocols should consist of two wire interface TWI also known as inter integrated circuit I C R46 I The MCU must include a programmable serial universal asynchronous receiver transmitter UART for communicating with a computer We will also create a graphical user interface GUI and the user will be able to con
18. ow The display unit should be constructed in the form of an art installation R4 II The musical carpet should have recording and playback features Users are able to record the music patterns and play it back later 3 1 2 PHYSICAL REQUIREMENTS R5 II The carpet should not be too big or too small A reasonable size would be 1 5m R6 II entire system should not weigh more than 600g R7 II The carpet should be easily folded or rolled without damaging the sensors and other components 8 1 Analog circuit MCU speaker microphone and audio processing unit should be assembled on a single circuit board 9 11 The electronic components should be organized a logical way easy circuit debugging R10 II user interface should be able to disconnect from the carpet for easy storage and transportation Copyright 2010 MusEd Technologies Inc Page 4 PROPOSAL FOR A MUSICAL CARPET INC 3 1 3 ELECTRICAL REQUIREMENTS 11 The musical carpet can be powered by either four 1 5V batteries or an AC adaptor 12 AC adaptor should accept both 120V and 240V input at 60Hz 13 The power supplies must be regulated 14 1 A single power adaptor would provide all the components in the musical carpet R15 IIl The power cord should not be too long or too short A reasonable length would be one metre R16 1
19. rnal use within MusEd Technologies Inc as well as for external reviewers The project manager will use this document to set milestones and ensure that development is progressing as planned The design engineers will refer to this document to guarantee product compliance while the test engineers will use the test plans to conduct unit tests throughout the development process 1 3 CLASSIFICATION Functional requirements are denoted by the following method Rx y The functional requirement is listed here The R denotes a requirement and is present for every entry The x is a variable that denotes the requirement number not in order of priority Finally the y is a variable replaced with one of the following three roman numerals l The requirement applies to the proof of concept system only ll The requirement applies to both the proof of concept system and the final production system ll The requirement applies the final production system only Copyright 2010 MusEd Technologies Inc Page 1 2 PROPOSAL FOR MUSICAL CARPET 233220722778 06 T CHANOLOGES rnc 2 SYSTEM OVERVIEW Figure 2 1 describes the high level block diagram for the musical carpet It includes a sensor module main control unit audio processing unit display module speaker and microphone Sensors Module Main Audio Control Unit DIGCE SIDE Unit Microphone 4 Figure 2 1 High Level Design Block Diagram
20. trol the musical carpet through the GUI 3 2 5 USABILITY REQUIREMENTS 47 MCU should support C compliers 48 MCU should have a Joint Test Action Group JTAG interface for easy debugging 3 3 AUDIO PROCESSING UNIT REQUIREMENTS The main function of the Audio Processing Unit APU is to receive the signals provided by the main control unit and to play the corresponding sound The Audio Processing Unit will primarily consist of a microcontroller with an external digital to analog convertor DAC external SD card current voltage amplifier and digital potentiometer 3 3 1 GENERAL REQUIRMENTS R49 I 8 bit DAC will convert sound samples into an analog signal and has to be fast enough to output samples at 22KHz R50 I APU should be able to produce multiple sounds at the time 51 1 APU gain should be user adjustable R52 I APU should have a digital potentiometer for controlling the output gain Copyright 2010 MusEd Technologies Inc Page 8 4 cr Imc PROPOSAL FOR A MUSICAL CARPET 53 APU should have two tactile buttons or a volume knob for controlling the gain R54 II APU should have a basic current voltage operational amplifier R55 I microcontroller for the APU should be capable of running at a 1MHz clock speed 56 APU s microcontroller should have a timer with a separate pre scaler
Download Pdf Manuals
Related Search
Related Contents
DEWALT DCS387D1 Use and Care Manual The OD600DiluPhotometer™ User Manual Sony MSAC-US2 User's Manual PINTURA PLÁSTICA COCINAS Y BAÑOS CMS200 User Manual VERSION 2.4.0.0 (Build 100831 User's Guide for Polycom HDX Room Systems, Version 3.0 Home Decorators Collection 0559200210 Instructions / Assembly Downloaded from www.vandenborre.be USER'S MANUAL for TPAC1006 series Copyright © All rights reserved.
Failed to retrieve file