CN203232601U - A DSP-Based Piano Electronic Teaching Device - Google Patents
A DSP-Based Piano Electronic Teaching Device Download PDFInfo
- Publication number
- CN203232601U CN203232601U CN 201320262962 CN201320262962U CN203232601U CN 203232601 U CN203232601 U CN 203232601U CN 201320262962 CN201320262962 CN 201320262962 CN 201320262962 U CN201320262962 U CN 201320262962U CN 203232601 U CN203232601 U CN 203232601U
- Authority
- CN
- China
- Prior art keywords
- pin
- dsp
- piano
- capacitor
- module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 230000003993 interaction Effects 0.000 claims abstract description 18
- 238000001514 detection method Methods 0.000 claims abstract description 15
- 230000005540 biological transmission Effects 0.000 claims abstract description 14
- 239000003990 capacitor Substances 0.000 claims description 54
- 238000004891 communication Methods 0.000 claims description 22
- 238000000034 method Methods 0.000 claims description 21
- 239000000203 mixture Substances 0.000 claims description 17
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 230000002093 peripheral effect Effects 0.000 claims description 4
- 101100489713 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) GND1 gene Proteins 0.000 claims description 3
- 101100489717 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) GND2 gene Proteins 0.000 claims description 3
- 239000013078 crystal Substances 0.000 claims description 3
- 239000010453 quartz Substances 0.000 claims description 3
- VYPSYNLAJGMNEJ-UHFFFAOYSA-N silicon dioxide Inorganic materials O=[Si]=O VYPSYNLAJGMNEJ-UHFFFAOYSA-N 0.000 claims description 3
- 230000015572 biosynthetic process Effects 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000008676 import Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
Description
技术领域technical field
本实用新型的技术方案涉及音乐教具,具体地说是一种基于DSP的钢琴电子教学装置。The technical scheme of the utility model relates to music teaching aids, in particular to a DSP-based piano electronic teaching device.
背景技术Background technique
钢琴因为其音域宽广、表现力丰富和具有极佳的独奏效果,而被称为乐器之王,在近现代音乐教育与音乐创作过程中,发挥着不可替代的作用。The piano is known as the king of musical instruments because of its wide range, rich expressiveness and excellent solo effect. It plays an irreplaceable role in modern music education and music creation.
然而对于钢琴的教学而言,国内外目前大都还是采用一对一面授教学方式,但这种教学方式不仅成本高,而且往往会带给钢琴学习者很多不便。CN101145288A公开了一种电子钢琴教学系统,是一种远程教学系统,给钢琴学习者能带来一定的方便,但其技术复杂,成本过高;CN1218294C披露了一种钢琴的自动演奏系统,但是不具备钢琴电子教学的功能。However, as far as piano teaching is concerned, one-to-one face-to-face teaching is still mostly used at home and abroad, but this teaching method is not only costly, but also often brings a lot of inconvenience to piano learners. CN101145288A discloses a kind of electronic piano teaching system, is a kind of distance teaching system, can bring certain convenience to the piano learner, but its technology is complicated, and cost is too high; CN1218294C discloses a kind of piano automatic performance system, but not It has the function of piano electronic teaching.
实用新型内容Utility model content
本实用新型所要解决的技术问题是:提供一种基于DSP的钢琴电子教学装置,是在传统钢琴的基础上引入微机控制系统,具有授课模式和自主练习模式两种工作模式,在授课模式下,钢琴学习者能根据触摸屏上的提示练习钢琴弹奏,从而快速和准确地掌握钢琴弹奏技能,克服了现有钢琴教学的一对一面授教学和远程教学的方式所存在的成本高,而且往往会带给钢琴学习者很多不便的缺点。The technical problem to be solved by this utility model is: provide a kind of piano electronic teaching device based on DSP, be to introduce microcomputer control system on the basis of traditional piano, have teaching mode and independent practice mode two kinds of work modes, in teaching mode, Piano learners can practice piano playing according to the prompts on the touch screen, so as to quickly and accurately master the piano playing skills, which overcomes the high cost of the existing one-to-one face-to-face teaching and distance teaching methods of piano teaching, and often Can bring the shortcoming of a lot of inconveniences to the piano learner.
本实用新型解决该技术问题所采用的技术方案是:一种基于DSP的钢琴电子教学装置,包括钢琴本体和微机控制系统;其中,钢琴本体除具有普通钢琴的构成之外,其外壳的钢琴挡板上还设置有DSP控制盒、触摸屏、USB2.0接口、串口母头、模式切换开关;微机控制系统包括DSP控制模块、电源控制模块、音乐传输模块、检测报警模块和触摸屏人机交互模块;其中所述DSP控制模块包括DSP控制芯片及其外围电路,音乐传输模块包括USB2.0通讯电路和蓝牙收发电路,并采用USB通讯方式和蓝牙通讯方式,检测报警模块由传感器反馈电路和报警电路组成,触摸屏人机交互模块为触摸屏的工作界面,该界面上包括开始按钮、文件管理按钮、音乐信息显示区、暂停按钮、实际力度显示光柱、播放状态显示区、标准力度显示光柱、错误提示区和虚拟琴键区;上述模块的连接方式是:由电源控制模块向DSP控制模块、音乐传输模块和触摸屏人机交互模块提供不同大小的直流电压,音乐传输模块和检测报警模块均过DSP上的引脚与DSP控制模块相连,触摸屏人机交互模块与DSP控制模块通过串口通讯电路通讯;上述微机控制系统的各个模块均被集成在DSP控制盒内。The technical scheme adopted by the utility model to solve the technical problem is: a piano electronic teaching device based on DSP, including a piano body and a microcomputer control system; The board is also equipped with DSP control box, touch screen, USB2.0 interface, serial port female, mode switching switch; the microcomputer control system includes DSP control module, power control module, music transmission module, detection alarm module and touch screen human-computer interaction module; Wherein said DSP control module includes DSP control chip and its peripheral circuit, music transmission module includes USB2. , the touch screen human-computer interaction module is the working interface of the touch screen, which includes the start button, the file management button, the music information display area, the pause button, the actual force display bar, the playback status display area, the standard force display bar, the error prompt area and Virtual keyboard area; the connection method of the above modules is: the power control module provides DC voltages of different sizes to the DSP control module, the music transmission module and the touch screen human-computer interaction module, and the music transmission module and the detection and alarm module pass through the pins on the DSP. It is connected with the DSP control module, and the touch screen human-computer interaction module communicates with the DSP control module through a serial port communication circuit; each module of the above-mentioned microcomputer control system is integrated in the DSP control box.
上述一种基于DSP的钢琴电子教学装置,所述其外壳的钢琴挡板上设置的DSP控制盒、触摸屏、USB2.0接口、串口母头、模式切换开关的布置方式是,触摸屏镶嵌并固定在钢琴挡板的正中央,DSP控制装盒固定在钢琴挡板的右下方,USB2.0接口和串口母头均位于DSP控制盒的右侧面,模式切换开关位于DSP控制盒的盒面的左上角位置。Above-mentioned a kind of piano electronic teaching device based on DSP, the layout mode of the DSP control box, touch screen, USB2.0 interface, serial port female head, mode switching switch that is set on the piano baffle of its shell is that the touch screen is inlaid and fixed on In the center of the piano baffle, the DSP control box is fixed on the lower right side of the piano baffle, the USB2.0 interface and the serial port female head are located on the right side of the DSP control box, and the mode switching switch is located on the upper left of the DSP control box. corner position.
上述一种基于DSP的钢琴电子教学装置,所述DSP控制芯片选用TMS320F2808DSP芯片。In the aforementioned DSP-based piano electronic teaching device, the DSP control chip is a TMS320F2808DSP chip.
上述一种基于DSP的钢琴电子教学装置,所述USB2.0通讯电路的构成是:其核心部分是专用的USB2.0驱动芯片PHILIPS公司的PDIUSBDI2芯片,电路的连接方式是,引脚VCC接到+5V电源后经过100nF的电容C6接地,引脚RST经100nF的电容C10接到+5V电源,引脚V3经电容100nF的电容C9后与GND并联接地,X0和X1端并联石英晶体振荡器Y1并通过22pF的电容C7和22pF的电容C8接地,引脚D0~引脚D7则与DSP的引脚GPIO6~引脚GPIO13相连对应相连,引脚INT、引脚WR、引脚RD和引脚A0引脚分别接到DSP的引脚GPIO15、引脚GPIO16、引脚GPIO17和引脚GPIO18,USB为USB2.0接口,其连接方式为,引脚1通过电阻R15接到+5V电源,并通过100nF的电容C5接地,引脚2和引脚3分别接到U7的引脚VD+和引脚VD-,引脚4接地。上述引脚均是PDIUSBDI2芯片的引脚。Above-mentioned a kind of piano electronic teaching device based on DSP, the composition of described USB2.0 communication circuit is: its core part is the PDIUSBDI2 chip of special-purpose USB2.0 drive chip PHILIPS company, and the connection mode of circuit is, pin VCC receives After the +5V power supply is grounded through the 100nF capacitor C6, the pin RST is connected to the +5V power supply through the 100nF capacitor C10, and the pin V3 is connected to GND in parallel with the ground through the 100nF capacitor C9, and the X0 and X1 terminals are connected in parallel to the quartz crystal oscillator Y1 And through the 22pF capacitor C7 and the 22pF capacitor C8 to ground, the pin D0~pin D7 is connected with the DSP pin GPIO6~pin GPIO13 correspondingly connected, the pin INT, the pin WR, the pin RD and the pin A0 The pins are respectively connected to the pin GPIO15, pin GPIO16, pin GPIO17 and pin GPIO18 of the DSP. The USB is a USB2.0 interface. The capacitor C5 of the capacitor is grounded,
上述一种基于DSP的钢琴电子教学装置,所述蓝牙收发电路的构成是:其核心部分是专用的蓝牙收发芯片RF2968,电路的连接方式是,引脚RESET通过100nF的电容C22接到+3.3V电源,引脚ANI外接蓝牙收发器,引脚VCC、引脚ON和引脚VCCIO并联接到+3.3V电源并通过100nF的电容C20和100nF的电容C21接地,引脚GND1、引脚GND2、引脚GND3、引脚GND4和引脚GND5并联接地,引脚TXD、引脚RXD、引脚RTS和引脚CTS分别接到DSP的引脚GPIO20、引脚GPIO21、引脚GPIO22和引脚GPIO23。上述引脚均是蓝牙收发芯片RF2968的引脚。Above-mentioned a kind of piano electronic teaching device based on DSP, the composition of described bluetooth transceiver circuit is: its core part is special-purpose bluetooth transceiver chip RF2968, and the connection mode of circuit is, pin RESET receives +3.3V by the electric capacity C22 of 100nF Power supply, pin ANI is connected to an external Bluetooth transceiver, pin VCC, pin ON and pin VCCIO are connected to +3.3V power supply in parallel and grounded through 100nF capacitor C20 and 100nF capacitor C21, pin GND1, pin GND2, pin Pin GND3, pin GND4 and pin GND5 are connected to ground in parallel, and pin TXD, pin RXD, pin RTS and pin CTS are respectively connected to DSP pin GPIO20, pin GPIO21, pin GPIO22 and pin GPIO23. The above pins are the pins of the Bluetooth transceiver chip RF2968.
上述一种基于DSP的钢琴电子教学装置,所述USB通讯方式采用专用的USB2.0驱动芯片PDIUSBDI2实现;所述蓝牙通讯方式则以蓝牙收发芯片RF2968为核心来实现。In the above-mentioned DSP-based piano electronic teaching device, the USB communication method is realized by using a dedicated USB2.0 driver chip PDIUSBDI2; the Bluetooth communication method is realized by using the Bluetooth transceiver chip RF2968 as the core.
上述一种基于DSP的钢琴电子教学装置,所述检测报警模块的传感器反馈电路的构成是:其核心部分是两路放大器集成芯片LM358,电路的连接方式是,声音传感器L1和1μF的电容C23并联后的一端接地,声音传感器L1的另一端接到引脚INB-,引脚INB+与GND并联接地,引脚OUTB则接到DSP的引脚ADCIN0,引脚VCC通过10nF的电容C24接地,并与+5V电源相连。上述引脚除特别指明的之外,均是两路放大器集成芯片LM358的引脚。Above-mentioned a kind of piano electronic teaching device based on DSP, the composition of the sensor feedback circuit of described detection alarm module is: its core part is two-way amplifier integrated chip LM358, and the connection mode of circuit is, the capacitance C23 of sound sensor L1 and 1 μ F is connected in parallel The other end of the sound sensor L1 is connected to the pin INB-, the pin INB+ is connected to the ground in parallel with GND, the pin OUTB is connected to the DSP pin ADCIN0, the pin VCC is grounded through a 10nF capacitor C24, and connected to the ground +5V power supply connected. Unless otherwise specified, the above pins are the pins of the two-way amplifier integrated chip LM358.
上述一种基于DSP的钢琴电子教学装置,所述检测报警模块的报警电路的构成是:蜂鸣器LS1的一端接+5V电压,另一端接到三极管Q1的集电极,三极管Q1的发射级接地,三极管Q1的基极通过电阻R10接到DSP的引脚GPIO24上。Above-mentioned a kind of piano electronic teaching device based on DSP, the composition of the alarm circuit of described detection alarm module is: one end of buzzer LS1 is connected to +5V voltage, the other end is connected to the collector of triode Q1, and the emitter level of triode Q1 is grounded , the base of the transistor Q1 is connected to the pin GPIO24 of the DSP through the resistor R10.
上述一种基于DSP的钢琴电子教学装置,所述串口通讯电路的构成是:其核心部分是专用的TTL转RS232的电平转换芯片SP3232EBEN,电路的连接方式是,引脚C1+和引脚C1-通过100nF的电容C15相连,引脚C2+和引脚C2-通过100nF的电容C16相连,引脚V1+通过100nF的电容C17接到+3.3V电源,引脚V-接地;引脚Vcc通过并联100nF的电容C18和100nF的电容C19与引脚GND相连接地,引脚T1out和引脚R1in分别通过100pF的电容C14和100pF的C13电容接地,并同时分别接到9针串口DB9的引脚2和引脚3,引脚R1out和引脚T1in分别接到DSP的SCI串行通讯复用引脚GPIO28和引脚GPIO29上,引脚T2in与引脚R2out并联接地。上述引脚除特别指明的之外,均是电平转换芯片SP3232EBEN的引脚。Above-mentioned a kind of piano electronic teaching device based on DSP, the composition of described serial port communication circuit is: its core part is the level conversion chip SP3232EBEN of special-purpose TTL to RS232, and the connection mode of circuit is, pin C1+ and pin C1- Connected through 100nF capacitor C15, pin C2+ and pin C2- are connected through 100nF capacitor C16, pin V1+ is connected to +3.3V power supply through 100nF capacitor C17, pin V- is grounded; pin Vcc is connected in parallel with 100nF Capacitor C18 and 100nF capacitor C19 are connected to pin GND, and pin T1out and pin R1in are grounded through 100pF capacitor C14 and 100pF capacitor C13 respectively, and connected to
上述一种基于DSP的钢琴电子教学装置,通过模式切换开关来选择该钢琴电子教学装置是处于授课模式或自主练习模式。In the aforementioned DSP-based piano electronic teaching device, the mode switching switch is used to select whether the piano electronic teaching device is in the teaching mode or the independent practice mode.
上述一种基于DSP的钢琴电子教学装置,其中所涉及的元器件均是通过商购获得的,所述DSP控制芯片的外围电路是本技术领域的技术人员所熟知的,所有电路中元件的连接方法是本技术领域的技术人员所掌握的。Above-mentioned a kind of piano electronic teaching device based on DSP, wherein the components and parts involved are all obtained by commercial purchase, and the peripheral circuit of described DSP control chip is well known to those skilled in the art, and the connection of components in all circuits Methods are within the grasp of those skilled in the art.
DSP是数字信号处理的英文缩写,是本技术领域国际通用的技术术语。DSP is the English abbreviation of digital signal processing, and it is an internationally common technical term in this technical field.
本实用新型的有益效果是:本实用新型钢琴电子教学装置克服了现有钢琴教学的一对一面授教学和远程教学的方式所存在的成本高而且往往会带给钢琴学习者很多不便的缺点,还具有下述的优点:The beneficial effects of the utility model are: the utility model electronic piano teaching device overcomes the shortcomings of the existing one-to-one face-to-face teaching and distance teaching methods of piano teaching, which are high in cost and often bring a lot of inconvenience to piano learners, It also has the following advantages:
(1)本实用新型一种基于DSP的钢琴电子教学装置,开启了一种全新的钢琴学习方式,便于钢琴学习者经济、快速和方便地掌握钢琴弹奏技巧,并且能方便地在授课模式和自主练习模式之间切换,适合不同级别学习者的需要。(1) This utility model is a DSP-based piano electronic teaching device, which opens up a brand-new piano learning method, which is convenient for piano learners to master piano playing skills economically, quickly and conveniently, and can be conveniently used in teaching mode and Switch between independent practice modes, suitable for the needs of learners of different levels.
(2)本实用新型一种基于DSP的钢琴电子教学装置,采用触摸屏技术,操作简单,既能为学习者提供丰富的触键方式,又能方便学习者对音乐文件的管理。(2) The utility model is a DSP-based piano electronic teaching device, which adopts touch screen technology and is easy to operate. It can not only provide learners with rich touch methods, but also facilitate learners to manage music files.
(3)本实用新型一种基于DSP的钢琴电子教学装置具有声音反馈环节和自调节能力,该装置的自调节能力可依据不同乐曲的播放效果,设置不同的高低音等级,并作为DSP音调信息的标准,有利于学习者形象的把握钢琴的触键力度,从而演奏出完美的音质。(3) A DSP-based piano electronic teaching device of the utility model has sound feedback link and self-adjustment ability. The self-adjustment ability of the device can set different high and low pitch levels according to the playback effect of different music, and serve as DSP tone information The standard is conducive to learners to grasp the touch strength of the piano, so as to play a perfect sound quality.
附图说明Description of drawings
下面结合附图和实施例对本实用新型进一步说明。Below in conjunction with accompanying drawing and embodiment the utility model is further described.
图1为本实用新型一种基于DSP的钢琴电子教学装置整体外观示意图。Fig. 1 is a schematic diagram of the overall appearance of a DSP-based electronic piano teaching device of the present invention.
图2为本实用新型一种基于DSP的钢琴电子教学装置微机控制系统构成示意框图。Fig. 2 is a schematic block diagram of the microcomputer control system of a DSP-based piano electronic teaching device of the present invention.
图3为本实用新型一种基于DSP的钢琴电子教学装置所用TMS320F2808DSP芯片外接接口示意图。Fig. 3 is a schematic diagram of an external connection interface of a TMS320F2808DSP chip used in a DSP-based piano electronic teaching device of the present invention.
图4为本实用新型一种基于DSP的钢琴电子教学装置的USB2.0通讯电路图。Fig. 4 is a USB2.0 communication circuit diagram of a DSP-based electronic piano teaching device of the present invention.
图5为本实用新型一种基于DSP的钢琴电子教学装置的蓝牙收发电路图。Fig. 5 is a bluetooth transceiver circuit diagram of a DSP-based piano electronic teaching device of the present invention.
图6为本实用新型一种基于DSP的钢琴电子教学装置的触摸屏人机交互模块与DSP控制模块通讯的串口通讯电路图。Fig. 6 is a circuit diagram of the serial port communication between the touch screen human-computer interaction module and the DSP control module of a DSP-based piano electronic teaching device of the present invention.
图7为本实用新型一种基于DSP的钢琴电子教学装置的检测报警模块电路图。7 is a circuit diagram of a detection and alarm module of a DSP-based electronic piano teaching device of the present invention.
图8为本实用新型一种基于DSP的钢琴电子教学装置的触摸屏工作界面构成示意图。Fig. 8 is a schematic diagram of the composition of the touch screen working interface of a DSP-based electronic piano teaching device of the present invention.
图中,1.钢琴挡板,2.触摸屏,3.DSP控制盒,4.USB2.0接口,5.串口母头,6.模式切换开关,7.开始按钮,8.文件管理按钮,9.音乐信息显示区,10.暂停按钮,11.实际力度显示光柱,12.播放状态显示区,13.标准力度显示光柱,14.错误提示区,15.虚拟琴键区。In the figure, 1. Piano bezel, 2. Touch screen, 3. DSP control box, 4. USB2.0 interface, 5. Serial port female, 6. Mode switching switch, 7. Start button, 8. File management button, 9 .Music information display area, 10. Pause button, 11. Actual strength display light bar, 12. Playing status display area, 13. Standard strength display light bar, 14. Error prompt area, 15. Virtual keyboard area.
具体实施方式Detailed ways
图1所示实施例表明,从本实用新型一种基于DSP的钢琴电子教学装置整体外观可见,钢琴本体除具有普通钢琴的构成之外,其外壳的钢琴挡板(1)上还设置有DSP控制盒(3)、触摸屏(2)、USB2.0接口(4)、串口母头(5)和模式切换开关6。触摸屏(2)镶嵌并固定在钢琴挡板(1)的正中央,DSP控制盒(3)固定在钢琴挡板(1)的右下方,USB2.0接口(4)和串口母头(5)均位于DSP控制盒(3)的右侧面。学习者可通过USB2.0接口(4)导入自己需要的音乐文件,串口母头(5)则用于触摸屏(2)与DSP控制盒(3)的通讯;模式切换开关6位于DSP控制盒(3)的盒面的左上角位置,便于学习者选择钢琴的工作模式。The embodiment shown in Figure 1 shows that from the overall appearance of a DSP-based piano electronic teaching device of the present invention, the piano body has the composition of an ordinary piano, and the piano baffle (1) of its shell is also provided with a DSP Control box (3), touch screen (2), USB2.0 interface (4), serial port female (5) and
图2所示实施例表明,本实用新型一种基于DSP的钢琴电子教学装置的微机控制系统包括DSP控制模块、电源控制模块、音乐传输模块、检测报警模块和触摸屏人机交互模块;上述模块的连接方式是:由电源控制模块向DSP控制模块、音乐传输模块和触摸屏人机交互模块提供不同大小的直流电压,音乐传输模块和检测报警模块均过DSP上的引脚与DSP控制模块相连,触摸屏人机交互模块与DSP控制模块通过串口通讯电路通讯;其中DSP控制模块是整个微机控制系统的核心,是程序软件运行的载体,对整个装置起控制、协调作用;音乐传输模块提供给学习者导入自己需要的音乐文件;监测报警模块用于检测学习者的触键力度是否正确,并当检测到错误时,触动蜂鸣器报警以提示学习者调整触键力度;触摸屏人机交互模块便于学习者直接管理和控制音乐文件及其播放状态,并时刻提示学习者具体的触键及力度;电源控制模块用于提供不同的电压给其他各个模块供电。The embodiment shown in Fig. 2 shows that the microcomputer control system of a kind of DSP-based piano electronic teaching device of the present utility model comprises a DSP control module, a power supply control module, a music transmission module, a detection alarm module and a touch screen human-computer interaction module; The connection method is: the power supply control module provides DC voltages of different sizes to the DSP control module, the music transmission module and the touch screen human-computer interaction module. The music transmission module and the detection alarm module are connected to the DSP control module through the pins on the DSP. The human-computer interaction module communicates with the DSP control module through the serial port communication circuit; the DSP control module is the core of the entire microcomputer control system and the carrier of the program software, which controls and coordinates the entire device; the music transmission module is provided for learners to import The music files you need; the monitoring and alarm module is used to detect whether the learner's key touch strength is correct, and when an error is detected, the buzzer will alarm to remind the learner to adjust the key touch strength; the touch screen human-computer interaction module is convenient for learners Directly manage and control music files and their playing status, and remind learners of specific key touches and strengths at all times; the power control module is used to provide different voltages to power other modules.
图3所示实施例显示本实用新型一种基于DSP的钢琴电子教学装置所用TMS320F2808DSP芯片与其他各个功能模块的外接接口的状况,DSP芯片引脚上的网络标号表明该引脚接到其他各个功能模块的核心芯片的相同的引脚上。其余控制引脚及相关的外围电路为本领域技术人员的常规选择。The embodiment shown in Fig. 3 shows the situation of the external connection interface of the used TMS320F2808DSP chip of a kind of DSP-based piano electronic teaching device of the present invention and other each function module, the network label on the DSP chip pin shows that this pin is connected to other each function on the same pins of the core chip of the module. The rest of the control pins and related peripheral circuits are conventional choices of those skilled in the art.
图4所示实施例表明,本实用新型一种基于DSP的钢琴电子教学装置的USB2.0通讯电路构成是,其中U7为核心部分,是专用的USB2.0驱动芯片PHILIPS公司的PDIUSBDI2芯片,电路的连接方式是,引脚VCC接到+5V电源后经过100nF的电容C6接地,引脚RST经100nF的电容C10接到+5V电源,引脚V3经电容100nF的电容C9后与GND并联接地,X0和X1端并联石英晶体振荡器Y1并通过22pF的电容C7和22pF的电容C8接地,引脚D0~引脚D7则与DSP的引脚GPIO6~引脚GPIO13相连对应相连,引脚INT、引脚WR、引脚RD和引脚A0引脚分别接到DSP的引脚GPIO15、引脚GPIO16、引脚GPIO17和引脚GPIO18,USB为USB2.0接口,其连接方式为,引脚1通过电阻R15接到+5V电源,并通过100nF的电容C5接地,引脚2和引脚3分别接到U7的引脚VD+和引脚VD-,引脚4接地,上述引脚均是PDIUSBDI2芯片的引脚。The embodiment shown in Fig. 4 shows that the USB2.0 communication circuit of a kind of DSP-based piano electronic teaching device of the present invention constitutes, wherein U7 is the core part, which is the PDIUSBDI2 chip of the dedicated USB2.0 driver chip PHILIPS company, and the circuit The connection method is that the pin VCC is connected to the +5V power supply and grounded through the 100nF capacitor C6, the pin RST is connected to the +5V power supply through the 100nF capacitor C10, and the pin V3 is connected to the ground in parallel with the GND through the 100nF capacitor C9. The X0 and X1 terminals are connected in parallel with the quartz crystal oscillator Y1 and grounded through the 22pF capacitor C7 and the 22pF capacitor C8, and the pins D0~D7 are connected to the DSP pin GPIO6~pin GPIO13 correspondingly, and the pins INT, pin Pin WR, pin RD and pin A0 are respectively connected to DSP pin GPIO15, pin GPIO16, pin GPIO17 and pin GPIO18. R15 is connected to +5V power supply and grounded through 100nF capacitor C5.
图5所示实施例表明,本实用新型一种基于DSP的钢琴电子教学装置的蓝牙收发电路的构成是:其中U9为核心部分,是专用的蓝牙收发芯片RF2968,电路的连接方式是,引脚RESET通过100nF的电容C22接到+3.3V电源,引脚ANI外接蓝牙收发器,引脚VCC、引脚ON和引脚VCCIO并联接到+3.3V电源并通过100nF的电容C20和100nF的电容C21接地,引脚GND1、引脚GND2、引脚GND3、引脚GND4和引脚GND5并联接地,引脚TXD、引脚RXD、引脚RTS和引脚CTS分别接到DSP的引脚GPIO20、引脚GPIO21、引脚GPIO22和引脚GPIO23,上述引脚均是蓝牙收发芯片RF2968的引脚。The embodiment shown in Figure 5 shows that the composition of the bluetooth transceiver circuit of a kind of DSP-based piano electronic teaching device of the present utility model is: wherein U9 is the core part, which is a special-purpose bluetooth transceiver chip RF2968, and the connection mode of the circuit is, the pin RESET is connected to +3.3V power supply through 100nF capacitor C22, pin ANI is connected to external Bluetooth transceiver, pin VCC, pin ON and pin VCCIO are connected to +3.3V power supply in parallel through 100nF capacitor C20 and 100nF capacitor C21 Ground, pin GND1, pin GND2, pin GND3, pin GND4 and pin GND5 are connected to ground in parallel, pin TXD, pin RXD, pin RTS and pin CTS are respectively connected to DSP pin GPIO20, pin GPIO21, pin GPIO22 and pin GPIO23, the above-mentioned pins are the pins of the Bluetooth transceiver chip RF2968.
图6所示实施例表明,本实用新型一种基于DSP的钢琴电子教学装置的触摸屏人机交互模块与DSP控制模块通讯的串口通讯电路的构成是:其中U2为核心部分,是专用的TTL转RS232的电平转换芯片SP3232EBEN,电路的连接方式是,引脚C1+和引脚C1-通过100nF的电容C15相连,引脚C2+和引脚C2-通过100nF的电容C16相连,引脚V1+通过100nF的电容C17接到+3.3V电源,引脚V-接地;引脚Vcc通过并联100nF的电容C18和100nF的电容C19与引脚GND相连接地,引脚T1out和引脚R1in分别通过100pF的电容C14和100pF的C13电容接地,并同时分别接到9针串口DB9的引脚2和引脚3,引脚R1out和引脚T1in分别接到DSP的SCI串行通讯复用引脚GPIO28和引脚GPIO29上,引脚T2in与引脚R2out并联接地。上述引脚除特别指明的之外,均是电平转换芯片SP3232EBEN的引脚。The embodiment shown in Figure 6 shows that the composition of the serial port communication circuit between the touch screen human-computer interaction module of the DSP-based piano electronic teaching device of the utility model and the serial port communication circuit of the DSP control module is: wherein U2 is the core part, which is a dedicated TTL converter RS232 level conversion chip SP3232EBEN, the circuit connection method is that pin C1+ and pin C1- are connected through 100nF capacitor C15, pin C2+ and pin C2- are connected through 100nF capacitor C16, and pin V1+ is connected through 100nF capacitor C16. Capacitor C17 is connected to +3.3V power supply, pin V- is grounded; pin Vcc is connected to pin GND through parallel connection of 100nF capacitor C18 and 100nF capacitor C19, pin T1out and pin R1in are respectively connected to 100pF capacitor C14 and The 100pF C13 capacitor is grounded and connected to pin 2 and
图7所示实施例表明,本实用新型一种基于DSP的钢琴电子教学装置的检测报警模块电路包括传感器反馈电路和报警电路的构成,其中左边的是传感器反馈电路,右边的是报警电路。The embodiment shown in Fig. 7 shows that the detection alarm module circuit of a kind of DSP-based piano electronic teaching device of the present invention comprises the formation of sensor feedback circuit and alarm circuit, wherein the sensor feedback circuit is on the left, and the alarm circuit is on the right.
上述传感器反馈电路的构成是:其中U10为核心部分,是两路放大器集成芯片LM358,电路的连接方式是,声音传感器L1和1μF的电容C23并联后的一端接地,声音传感器L1的另一端接到引脚INB-,引脚INB+与GND并联接地,引脚OUTB则接到DSP的引脚ADCIN0,引脚VCC通过10nF的电容C24接地,并与+5V电源相连,上述引脚除特别指明的之外,均是两路放大器集成芯片LM358的引脚。The composition of the above-mentioned sensor feedback circuit is: where U10 is the core part, which is a two-way amplifier integrated chip LM358. The connection mode of the circuit is that one end of the parallel connection between the sound sensor L1 and the 1μF capacitor C23 is grounded, and the other end of the sound sensor L1 is connected to Pin INB-, pin INB+ are connected to GND in parallel, pin OUTB is connected to DSP pin ADCIN0, pin VCC is grounded through 10nF capacitor C24, and connected to +5V power supply, the above pins are not specified otherwise In addition, they are the pins of the two-way amplifier integrated chip LM358.
上述报警电路的构成是:蜂鸣器LS1的一端接+5V电压,另一端接到三极管Q1的集电极,三极管Q1的发射级接地,三极管Q1的基极通过电阻R10接到DSP的引脚GPIO24上。The composition of the above alarm circuit is: one end of the buzzer LS1 is connected to +5V voltage, the other end is connected to the collector of the transistor Q1, the emitter of the transistor Q1 is grounded, and the base of the transistor Q1 is connected to the DSP pin GPIO24 through the resistor R10 superior.
图8所示实施例表明,本实用新型一种基于DSP的钢琴电子教学装置的触摸屏工作界面构成是:该界面上包括开始按钮7、文件管理按钮8、音乐信息显示区9、暂停按钮10、实际力度显示光柱11、播放状态显示区12、标准力度显示光柱13、错误提示区14和虚拟琴键区15。其中各按钮的功能均有标注;音乐信息显示区9用于显示所播放的音乐的名称和作者等信息;播放状态显示区12用于显示音乐的播放进度;错误提示区14用于当学习者按键错误时指示其错误类型;虚拟琴键区15由与按键一一对应的虚拟琴键构成,虚拟琴键亮,则表示要按下对应的钢琴琴键,实际力度显示光柱11的高度则表示按键的力度,提示学习者按键力度大小,标准力度显示光柱13的高度为供学习者参考的标准力度,若装置出现报警声,学习者可根据它调整自己的按键力度。The embodiment shown in Fig. 8 shows that a kind of touch screen work interface composition of the piano electronic teaching device based on DSP of the present utility model is: comprise start
实施例1Example 1
按照上述图1~图9所示实施例装置构成和调制成功本实施例的一种基于DSP的钢琴电子教学装置,其中,DSP控制模块是整个控制部分的核心,也是程序算法的运行载体,其选型要保证控制部分的实时性和准确性;音乐传输模块用于接收所要弹奏的乐曲,再送入DSP控制模块中,并将所接收到的乐曲解码为一系列包含音符信息的数据,其中的音符信息包含音符、音量、节拍;检测报警模块的音量反馈装置和报警装置用于采集钢琴发出的音量大小,并反馈给DSP,并与本装置给定的标准音量等级进行比较,从而判断学习者触键的力度是否适度,若不适度,则对应的报警装置发出报警声,提示学习者调整触键力度;触摸屏人机交互模块采用触摸屏控制技术,一方面设置了相关的显示、控制按钮,用于管理音乐文件及显示播放状态,另一方面设置了与钢琴琴键一一对应的虚拟琴键以及两条光柱,其中虚拟琴键用来提示学习者需要按下的琴键、光柱用来表示触键的力度,其中一条光柱代表本装置给定的标准音量,另一条光柱代表学习者因触键力度的不同而发出的实际音量,DSP通过对解码后的音符信息进行分析,实时计算需要按下的琴键和触键的力度,并驱动对应的虚拟琴键发光,同时使上述标准力度显示光柱达到相应的高度;触摸屏人机界面程序则是为人机交互界面编写的,旨在实现学习者与装置之间的信息互馈,从而指导学习者完成钢琴弹奏练习。According to the device configuration and modulation of the embodiments shown in the above-mentioned Figures 1 to 9, a DSP-based piano electronic teaching device in this embodiment, wherein the DSP control module is the core of the entire control part, and is also the operating carrier of the program algorithm. The selection should ensure the real-time and accuracy of the control part; the music transmission module is used to receive the music to be played, and then send it to the DSP control module, and decode the received music into a series of data containing note information, among which The note information includes note, volume, and beat; the volume feedback device and alarm device of the detection alarm module are used to collect the volume emitted by the piano, and feed back to the DSP, and compare it with the standard volume level given by this device, so as to judge learning If the intensity of the touch keys is appropriate, the corresponding alarm device will send out an alarm sound to remind the learners to adjust the intensity of the keys; the touch screen human-computer interaction module adopts touch screen control technology. On the one hand, relevant display and control buttons are set. It is used to manage music files and display the playback status. On the other hand, virtual keys corresponding to the piano keys and two light beams are set up. The virtual keys are used to remind learners of the keys to be pressed, and the light beams are used to indicate the touch of the keys. One of the light beams represents the standard volume given by the device, and the other light beam represents the actual volume produced by the learner due to the different strength of the key. DSP analyzes the decoded note information and calculates the key to be pressed in real time. and the strength of the touch key, and drive the corresponding virtual key to emit light, and at the same time make the above-mentioned standard strength display light column reach the corresponding height; the touch screen human-machine interface program is written for the human-computer interaction interface, aiming to realize the interaction between the learner and the device. The information is fed back to each other to guide the learners to complete the piano playing exercises.
应用本实施例的一种基于DSP的钢琴电子教学装置进行钢琴学习教学的具体工作流程如下:The specific workflow of applying the DSP-based piano electronic teaching device of this embodiment to carry out piano learning and teaching is as follows:
(1)启动本实用新型一种基于DSP的钢琴电子教学装置,学习者将自己所要练习的音乐文件的标准演奏曲在钢琴附近完整放一遍。此过程中,DSP控制模块实时读取和存储声音传感器所检测到的音量信息,从中提取出最低音量和最高音量,并根据二者的分贝数将其所构建的音量区间划分为十个不同的等级,然后逐一确定该音乐中每个音符所对应的等级,并将这种等级以标准力度显示光柱的高度表示,等级较高者表示音量较高,等级较低者表示音量较低,以此作为学习者按压琴键力度的参考标准,因此本装置在设置触键等级方面有自学习能力,从而对于不同的乐曲设置其特有的音量等级。(1) Start a DSP-based piano electronic teaching device of the present invention, and learners play the standard performance of the music file they want to practice near the piano. During this process, the DSP control module reads and stores the volume information detected by the sound sensor in real time, extracts the lowest volume and the highest volume from it, and divides the volume interval it constructs into ten different volume intervals according to the decibel numbers of the two. Level, and then determine the level corresponding to each note in the music one by one, and express this level with the height of the standard strength display light beam. The higher level indicates higher volume, and the lower level indicates lower volume. As a reference standard for learners to press the keys, the device has self-learning ability in setting the key touch level, so as to set its unique volume level for different melodies.
(2)学习者根据需要选择一种导入音乐文件的方式,并通过开关选择装置的工作模式,若选择自主练习模式,即开关切除了微机控制部分,装置工作在普通钢琴的模式;若选择授课模式,则配合触摸屏上的文件管理按钮选择音乐文件,送给DSP控制模块处理。(2) Learners choose a way to import music files according to their needs, and select the working mode of the device through the switch. If they choose the independent practice mode, that is, the switch cuts off the microcomputer control part, and the device works in the normal piano mode; if they choose to teach mode, then cooperate with the file management button on the touch screen to select music files and send them to the DSP control module for processing.
(3)学习者按下触摸屏(2)上的开始按钮7,启动学习过程,按照触摸屏(2)上的琴键提示和音量提示进行练习。(3) The learner presses the
(4)学习者在整个学习过程中,声音传感器不断检测钢琴琴键的实际发声,并送到DSP控制模块中与对应的标准音量等级比较,从而判断学习者的触键力度是否适度,若不适度则报警器报警,此时学习者可由触摸屏上的暂停按钮10,暂时停止播放过程,而调整该触键力度。(4) During the whole learning process of the learner, the sound sensor continuously detects the actual sound of the piano keys, and sends it to the DSP control module to compare with the corresponding standard volume level, so as to judge whether the learner's key touch is moderate, if not Then the alarm device reports to the police, and now the learner can temporarily stop the playing process by the
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201320262962 CN203232601U (en) | 2013-05-15 | 2013-05-15 | A DSP-Based Piano Electronic Teaching Device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201320262962 CN203232601U (en) | 2013-05-15 | 2013-05-15 | A DSP-Based Piano Electronic Teaching Device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN203232601U true CN203232601U (en) | 2013-10-09 |
Family
ID=49288709
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 201320262962 Expired - Lifetime CN203232601U (en) | 2013-05-15 | 2013-05-15 | A DSP-Based Piano Electronic Teaching Device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN203232601U (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103247200A (en) * | 2013-05-15 | 2013-08-14 | 河北工业大学 | Piano electronic teaching device based on DSP (digital signal processor) |
| CN104091488A (en) * | 2014-07-03 | 2014-10-08 | 青岛职业技术学院 | Piano used for teaching |
| CN104835379A (en) * | 2014-02-11 | 2015-08-12 | 陈丰 | Playing qin having function of music intelligent prompt |
| CN106297481A (en) * | 2016-11-08 | 2017-01-04 | 北京塞宾科技有限公司 | A kind of music remote online teaching system |
| CN107146599A (en) * | 2017-03-29 | 2017-09-08 | 华东交通大学 | A kind of piano intelligently plays training system |
-
2013
- 2013-05-15 CN CN 201320262962 patent/CN203232601U/en not_active Expired - Lifetime
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103247200A (en) * | 2013-05-15 | 2013-08-14 | 河北工业大学 | Piano electronic teaching device based on DSP (digital signal processor) |
| CN104835379A (en) * | 2014-02-11 | 2015-08-12 | 陈丰 | Playing qin having function of music intelligent prompt |
| CN104091488A (en) * | 2014-07-03 | 2014-10-08 | 青岛职业技术学院 | Piano used for teaching |
| CN104091488B (en) * | 2014-07-03 | 2017-01-11 | 青岛职业技术学院 | Piano used for teaching |
| CN106297481A (en) * | 2016-11-08 | 2017-01-04 | 北京塞宾科技有限公司 | A kind of music remote online teaching system |
| CN107146599A (en) * | 2017-03-29 | 2017-09-08 | 华东交通大学 | A kind of piano intelligently plays training system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN203232601U (en) | A DSP-Based Piano Electronic Teaching Device | |
| CN103247200B (en) | Piano electronic teaching device based on DSP (digital signal processor) | |
| CN103903602A (en) | Intelligent piano | |
| CN203325261U (en) | Electronic music score | |
| CN203102847U (en) | Intelligent piano | |
| CN201994051U (en) | Keyboard-instrument auxiliary device | |
| CN101393697B (en) | Virtual electronic music teaching apparatus and operation information inputting method thereof | |
| CN105096690A (en) | Method and device for playing piano songs | |
| CN201886745U (en) | Piano with luminous keyboard | |
| CN100538560C (en) | Electronic beat tuner and control method thereof | |
| CN105741821A (en) | Piano automatic playing and teaching system | |
| CN202871136U (en) | Intelligent electronic keyboard | |
| CN103903603A (en) | Converter plate used for intelligent piano | |
| CN203102846U (en) | Conversion plate for intelligent piano | |
| CN205751482U (en) | Intelligent tutoring piano | |
| CN107507607A (en) | A kind of Simple Electronic Organ with intelligent training function | |
| CN108777135A (en) | A kind of Chinese zither with performance hint function | |
| CN211555185U (en) | Piano playing correction device | |
| CN204204402U (en) | A kind of electronic guitar | |
| CN201441378U (en) | Psychological test and regulation device | |
| CN206400483U (en) | A musical keyboard with the function of prompting the playing position | |
| CN107316537A (en) | A kind of music practice ground spectral apparatus and its control method | |
| CN207165025U (en) | An early childhood education machine | |
| CN205334950U (en) | Wearable MIDI electronic music synthesizer | |
| CN205354631U (en) | Interactive piano |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| AV01 | Patent right actively abandoned |
Granted publication date: 20131009 Effective date of abandoning: 20141210 |
|
| RGAV | Abandon patent right to avoid regrant |