CN105679294A - Piano playing motion detection apparatus with adaptive installation characteristic - Google Patents
Piano playing motion detection apparatus with adaptive installation characteristic Download PDFInfo
- Publication number
- CN105679294A CN105679294A CN201610119426.8A CN201610119426A CN105679294A CN 105679294 A CN105679294 A CN 105679294A CN 201610119426 A CN201610119426 A CN 201610119426A CN 105679294 A CN105679294 A CN 105679294A
- Authority
- CN
- China
- Prior art keywords
- key
- circuit
- action
- piano
- infrared electro
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10G—REPRESENTATION OF MUSIC; RECORDING MUSIC IN NOTATION FORM; ACCESSORIES FOR MUSIC OR MUSICAL INSTRUMENTS NOT OTHERWISE PROVIDED FOR, e.g. SUPPORTS
- G10G3/00—Recording music in notation form, e.g. recording the mechanical operation of a musical instrument
- G10G3/04—Recording music in notation form, e.g. recording the mechanical operation of a musical instrument using electrical means
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Selective Calling Equipment (AREA)
- Optical Communication System (AREA)
Abstract
The invention discloses a piano playing motion detection apparatus with an adaptive installation characteristic. The detection apparatus comprises detection signal collection devices fixed with a piano frame and keys relatively. The signal collection devices are opposite type and reflection type infrared photovoltaic devices. White keys employs the reflection type infrared photovoltaic devices and black keys employ opposite type infrared photovoltaic devices. When while keys are pressed, distances between the white keys and the photovoltaic devices change and thus intensities of infrared photovoltaic signals received by the photovoltaic devices change, and changed analog electric signals are transmitted to an onboard CPU for follow-up processing. When black keys are pressed, opposite type infrared photovoltaic signals change and changed analog signals are transmitted to the onboard CPU for follow-up processing. And key state information after processing by the onboard CPU is transmitted to an upper computer in a wireless bluetooth mode for further processing. According to the invention, the provided detection apparatus has advantages of flexible reflection, precise result, convenient digitalization, low cost, convenient large-scale popularization, reliable communication, and low circuit power consumption.
Description
Technical field
The present invention relates to music teaching equipment technical field, particularly relate to a kind of detection of fingerboard actionDevice.
Background technology
That use in the world at present is the signal Bian that is positioned over the correlation Photoelectric infrared switch form below keyAcquisition means. The shade that signal acquisition device is light emitting devices, light receiving element, be connected with key.Between described photoemissive device and light receiving element, settle the shade that can be synchronized with the movement with key. WhenWhen playing piano, light emitting devices, light receiving element will produce because of the relative qin frame motion of keyboard with shadeBreak-make, the photosignal that result light emitting devices sends or received or be blocked by photoelectric receiving device, will playThe various keyboard action parameter such as state, duration Zhuan Change is corresponding pulse digital signal, so that subsequent conditioning circuit and meterThe processing of calculation machine software, and testing result is exported.
Inventor is carrying out discovery time of the present invention, and the device of prior art exists following shortcoming: the one, install multipleAssorted, very high to installation accuracy requirement, need professional person to spend a lot of time installation and debugging, be unfavorable for promoting; The 2nd,Destroy piano integrity, because will be arranged on below fingerboard, need on piano, punch cabling and screw are solidFixed etc.
Summary of the invention
(1) technical problem that will solve
The technical problem to be solved in the present invention is to provide the piano performance action detection device that self adaptation is installed, withOvercome prior art complicated, to destroy piano integrity defect is installed.
(2) technical scheme
In order to solve the problems of the technologies described above, the invention provides a kind of checkout gear of fingerboard action, described inDevice comprises detection signal sampler, photosignal data processing circuit, key action data treatment circuitWith Wireless Data Transmission circuit; Described detection signal sampler, photosignal data processing circuit, keyAction data treatment circuit and Wireless Data Transmission circuit are electrically connected successively;
Described detection signal sampler is relative with key with qin frame fixing, for gathering the status information of key,And the status information of described key is exported by infrared electro signal;
Described photosignal data processing circuit is used for receiving corresponding infrared electro signal, and by described infraredPhotosignal carries out generating key actuating signal after digitlization;
Described key action data treatment circuit is used for receiving described key actuating signal and carries out respective handling;
Described Wireless Data Transmission circuit is used for after described key action data treatment circuit respective handlingData be sent to host computer.
Wherein, described detection signal sampler comprises the correlation infrared light electrical equipment matching with black keyPart and the reflective infrared electro device matching with white key, described correlation infrared electro device redOuter light source and infrared light receiver are fixedly installed on respectively on the opto-electronic sensor support of black key both sides, described inReflective infrared electro device is fixedly installed on the opto-electronic sensor support of white key top; Described correlationFormula infrared electro device and reflective infrared electro device do not move with the action of key.
Wherein, described correlation infrared electro device is 35 groups, two every group, and respectively with one group of the large word of piano35 black keys to four groups of small characters are corresponding one by one; Described reflective infrared electro device is 49,49 white keys to four groups of small characters are corresponding one by one with one group of the large word of piano respectively.
Wherein, described photosignal data processing circuit and key action data treatment circuit adopt STM8 monolithicMachine.
Wherein, the infrared electro signal of described detection signal sampler output directly accesses described STM8 monolithicMachine.
Wherein, described device also comprises indicating circuit, and described indicating circuit is for referring to the action of buttonShow.
Wherein, described indicating circuit adopts monochromatic LED, and described LED is drawn by the IO of described STM8 single-chip microcomputerPin is directly controlled.
Wherein, described Wireless Data Transmission circuit adopts High Speed Bluetooth to carry out Wireless Data Transmission, described wirelessThe bluetooth module core of data transmission circuit is CC2540 chip, adopts bluetooth serial ports transparent transmission mode, associationView adopts bluetooth 4.0 agreements; Described bluetooth module interface is TTL serial ports, adopts the double diode of BAW56 realThe communication bus of existing TLL serial ports.
(3) beneficial effect
The checkout gear of fingerboard action of the present invention possesses the base of the real time automatic detection of piano key actionThis function, has solved piano study device the problems such as inconvenient has been installed, and reduces hardware cost, and easy to operate.Device of the present invention can convenient, fast and accurately be realized the motion detection of piano key, and in real time with indigo plantThread form formula is wireless is uploaded to host computer. That the present invention reflects is sensitive, result accurately, be convenient to digitlization, cost is low,Be convenient to promote on a large scale; And device reliable communications of the present invention, circuit power consumption is little.
Brief description of the drawings
Fig. 1 is the structural representation of the checkout gear of a kind of fingerboard action of the embodiment of the present invention;
Fig. 2 is the circuit diagram that correlation infrared electro device detects black key that passes through of the embodiment of the present invention;
Fig. 3 is the circuit diagram that reflective infrared electro device dialogue key detects that passes through of the embodiment of the present invention;
Fig. 4 is the peripheral circuit diagram of the STM8 single-chip microcomputer of the embodiment of the present invention;
Fig. 5 is the circuit diagram of the indicating circuit of the embodiment of the present invention;
Fig. 6 is the circuit diagram of the bluetooth module of Wireless Data Transmission circuit in the embodiment of the present invention;
Fig. 7 is the circuit diagram of the bluetooth module interface of Wireless Data Transmission circuit in the embodiment of the present invention;
Fig. 8 is the circuit diagram of the communication serial port compatible circuit of Wireless Data Transmission circuit in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail. WithLower embodiment is used for illustrating the present invention, but is not used for limiting the scope of the invention.
The structure of the checkout gear of a kind of fingerboard action of the embodiment of the present invention as shown in Figure 1, described dressPut comprise detection signal sampler, photosignal data processing circuit, key action data treatment circuit andWireless Data Transmission circuit; Described detection signal sampler, photosignal data processing circuit, key moveBe for data processing circuit and Wireless Data Transmission circuit is electrically connected successively.
Described detection signal sampler is relative with key with qin frame fixing, for gathering the status information of key,And the status information of described key is exported by infrared electro signal. Described detection signal sampler comprisesThe correlation infrared electro device matching with black key and the reflective infrared light matching with white keyElectrical part, infrared light supply and the infrared light receiver of described correlation infrared electro device are fixedly installed on respectivelyOn the opto-electronic sensor support of black key both sides, described reflective infrared electro device is fixedly installed on white qinOn the opto-electronic sensor support of key top; Described correlation infrared electro device and reflective infrared electro deviceDo not move with the action of key, but photosignal changes the change in location with corresponding key. Described rightPenetrating formula infrared electro device is 35 groups, two every group, respectively with one group of the large word of piano to 35 in four groups of small charactersIndividual black key is corresponding one by one; Described reflective infrared electro device is 49, respectively with one group of the large word of piano49 white keys to four groups of small characters are corresponding one by one. Rhythm of action, the action of this corresponding relation reflection keyThe information such as speed and action dynamics. In the present embodiment, by correlation infrared electro device, black key is examinedAs shown in Figure 2, the circuit detecting by reflective infrared electro device dialogue key is as Fig. 3 for the circuit of surveyingShown in. In the present embodiment, black key testing circuit and white key detection circuit do not adopt operational amplifier chipLM324, has simplified circuit, has reduced power consumption.
Described photosignal data processing circuit is used for receiving corresponding infrared electro signal, and by described infraredPhotosignal is undertaken generating key actuating signal after digitlization by analog-to-digital conversion; Described key action data placeReason circuit is used for receiving described key actuating signal and carries out respective handling, the action of the each key of real-time judgeMode, and produce in real time accordingly corresponding key action data stream. Described photosignal data processing circuit andKey action data treatment circuit adopts the STM8 single-chip microcomputer based on high performance-price ratio, realizes infrared photoelectric digital letterNumber obtain, generation and the wireless data output of processing, key action data, described STM8 single-chip microcomputerPeripheral circuit as shown in Figure 4. The infrared electro signal of described detection signal sampler output directly accesses instituteState STM8 single-chip microcomputer.
Described device also comprises indicating circuit, and described indicating circuit is for indicating the action of button. ThisIndicating circuit described in embodiment adopts monochromatic LED, and described LED is by the IO pin of described STM8 single-chip microcomputerDirectly control, its circuit as shown in Figure 5. Prior art indicating circuit part adopts 2 indicator lamps, redGreen couple of LED, and adopt TM1620 chip to drive; The circuit of the present embodiment adopts 1 indicator lamp,Be monochromatic red LED, type of drive has been cancelled TM1620 chip, has reduced volume, has reduced power consumption.
The key of described Wireless Data Transmission circuit for described key action data treatment circuit is producedAction data flow data is sent to host computer. Described Wireless Data Transmission circuit adopts High Speed Bluetooth to carry out wirelessTransfer of data, the bluetooth module core of described Wireless Data Transmission circuit is CC2540 chip, its circuit is as Fig. 6Shown in; Described Wireless Data Transmission circuit adopts bluetooth serial ports transparent transmission mode, and agreement adopts bluetooth 4.0 to assistView; Described bluetooth module interface is TTL serial ports, and its circuit as shown in Figure 7; For the external serial ports of compatibility and indigo plantThe TXD of tooth serial ports, described Wireless Data Transmission circuit adopts the double diode of BAW56 to realize TLL serial portsCommunication bus, have lower forward voltage drop (0.2V) than the 1N4148 of prior art, and what ensured communication canLean on property, its circuit as shown in Figure 8.
Implementation procedure of the present invention is that key moves via infrared sensor outputting analog signal, according to this signalChange processor judge the action of key, and be encoded into the byte of 8, sent with serial portsTo host computer. In the present embodiment, in the time of piano, when white key is pressed, due to white key withThe distance of photoelectric device changes, and the infrared electro signal power that photoelectric device is received changes, by thisThe analog electrical signal changing sends plate to and carries CPU and carry out subsequent treatment. In the time that black key is pressed, correlationFormula infrared electro signal changes, and the analog signal of variation is sent to plate and carries CPU and carry out subsequent treatment.Carrying CPU key status number after treatment information exchange through plate crosses wireless blue tooth and sends host computer to and enter oneStep is processed. Detailed process is as follows:
Be illustrated in figure 25 pairs of correlation infrared tubes, for detection of the action situation of black key. When black key is pressedTime, the receiving terminal output low level of correlation infrared tube, on the contrary when lifting, exports on black key high level, according toThe situation of change of level just can be judged the action situation of this black key. In the time that this black key detection is pressed, institute is rightThe indicator lamp of answering is driven and lights by MCU, the key of this key number, action is encoded into a byte simultaneously, and logicalCross serial ports and be sent to host computer; If this black key detects corresponding indicator lamp while lifting and is controlled and extinguish by MCU,The key of this key number, action are encoded into a byte, and are sent to host computer by serial ports simultaneously.
Be illustrated in figure 37 pairs of reflective infrared tubes, for detection of the action situation of white key. When white key is pressedTime, the voltage of the receiving terminal output of reflective infrared tube can raise, on the contrary when white key lifts, voltage can reduce,Just can judge the action situation of this white key according to the situation of change of voltage. In the time that this white key detection is pressed,Corresponding indicator lamp is driven and lights by MCU, the key of this key number, action is encoded into a byte simultaneously,And be sent to host computer by serial ports; If this white key detects corresponding indicator lamp while lifting and is controlled by MCUExtinguish, the key of this key number, action are encoded into a byte, and are sent to host computer by serial ports simultaneously.
The checkout gear of fingerboard action of the present invention possesses the base of the real time automatic detection of piano key actionThis function, has solved piano study device the problems such as inconvenient has been installed, and reduces hardware cost, and easy to operate.Device of the present invention can convenient, fast and accurately be realized the motion detection of piano key, and in real time with indigo plantThread form formula is wireless is uploaded to host computer. That the present invention reflects is sensitive, result accurately, be convenient to digitlization, cost is low,Be convenient to promote on a large scale; And device reliable communications of the present invention, circuit power consumption is little.
The above is only the preferred embodiment of the present invention, it should be pointed out that common for the artTechnical staff, not departing under the prerequisite of the technology of the present invention principle, can also make some improvement and replaceChange, these improvement and replacement also should be considered as protection scope of the present invention.
Claims (8)
1. the piano performance action detection device that self adaptation is installed, is characterized in that, described device comprisesDetection signal sampler, photosignal data processing circuit, key action data treatment circuit and wireless numberAccording to transmission circuit; Described detection signal sampler, photosignal data processing circuit, key action dataTreatment circuit and Wireless Data Transmission circuit are electrically connected successively;
Described detection signal sampler is relative with key with qin frame fixing, for gathering the status information of key,And the status information of described key is exported by infrared electro signal;
Described photosignal data processing circuit is used for receiving corresponding infrared electro signal, and by described infraredPhotosignal carries out generating key actuating signal after digitlization;
Described key action data treatment circuit is used for receiving described key actuating signal and carries out respective handling;
Described Wireless Data Transmission circuit is used for after described key action data treatment circuit respective handlingData be sent to host computer.
2. the piano performance action detection device that self adaptation according to claim 1 is installed, its feature existsIn, described detection signal sampler comprise the correlation infrared electro device that matches with black key and withThe reflective infrared electro device that white key matches, the infrared light supply of described correlation infrared electro deviceBe fixedly installed on respectively on the opto-electronic sensor support of black key both sides with infrared light receiver, described reflectiveInfrared electro device is fixedly installed on the opto-electronic sensor support of white key top; Described correlation is infraredPhotoelectric device and reflective infrared electro device do not move with the action of key.
3. the piano performance action detection device that self adaptation according to claim 2 is installed, its feature existsIn, described correlation infrared electro device is 35 groups, two every group, respectively with one group of the large word of piano to small character35 black keys in four groups are corresponding one by one; Described reflective infrared electro device is 49, respectively withOne group of 49 white key to four groups of small characters of the large word of piano are corresponding one by one.
4. the piano performance action detection device that self adaptation according to claim 1 is installed, its feature existsIn, described photosignal data processing circuit and key action data treatment circuit adopt STM8 single-chip microcomputer.
5. the piano performance action detection device that self adaptation according to claim 4 is installed, its feature existsIn, the infrared electro signal of described detection signal sampler output directly accesses described STM8 single-chip microcomputer.
6. the piano performance action detection device that self adaptation according to claim 4 is installed, its feature existsIn, described device also comprises indicating circuit, described indicating circuit is for indicating the action of button.
7. the piano performance action detection device that self adaptation according to claim 6 is installed, its feature existsIn, described indicating circuit adopts monochromatic LED, and described LED is direct by the IO pin of described STM8 single-chip microcomputerControl.
8. the piano performance action detection device of installing according to the self adaptation described in claim 1 to 7 any one,It is characterized in that, described Wireless Data Transmission circuit adopts High Speed Bluetooth to carry out Wireless Data Transmission, described nothingThe bluetooth module core of line data transmission circuit is CC2540 chip, adopts bluetooth serial ports transparent transmission mode,Agreement adopts bluetooth 4.0 agreements; Described bluetooth module interface is TTL serial ports, adopts two two utmost points of BAW56Pipe is realized the communication bus of TLL serial ports.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610119426.8A CN105679294A (en) | 2016-03-02 | 2016-03-02 | Piano playing motion detection apparatus with adaptive installation characteristic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610119426.8A CN105679294A (en) | 2016-03-02 | 2016-03-02 | Piano playing motion detection apparatus with adaptive installation characteristic |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105679294A true CN105679294A (en) | 2016-06-15 |
Family
ID=56306941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610119426.8A Withdrawn CN105679294A (en) | 2016-03-02 | 2016-03-02 | Piano playing motion detection apparatus with adaptive installation characteristic |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105679294A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106328106A (en) * | 2016-11-09 | 2017-01-11 | 佛山市高明区子昊钢琴有限公司 | Multimediapiano and automatic playing method and system thereof |
CN106530899A (en) * | 2016-12-02 | 2017-03-22 | 大连佳音科技有限公司 | Intelligent detection device for piano |
CN106781842A (en) * | 2016-11-29 | 2017-05-31 | 大连佳音科技有限公司 | A kind of piano key acts self-adapting recognition system and method |
-
2016
- 2016-03-02 CN CN201610119426.8A patent/CN105679294A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106328106A (en) * | 2016-11-09 | 2017-01-11 | 佛山市高明区子昊钢琴有限公司 | Multimediapiano and automatic playing method and system thereof |
CN106781842A (en) * | 2016-11-29 | 2017-05-31 | 大连佳音科技有限公司 | A kind of piano key acts self-adapting recognition system and method |
CN106530899A (en) * | 2016-12-02 | 2017-03-22 | 大连佳音科技有限公司 | Intelligent detection device for piano |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104157276B (en) | The photoelectric detection system and its detection method of a kind of fingerboard action | |
CN105679294A (en) | Piano playing motion detection apparatus with adaptive installation characteristic | |
CN105679142A (en) | Piano playing motion detection apparatus with adaptive installation characteristic | |
CN205246547U (en) | Urine analysis detecting system based on color sensor | |
WO2018107682A1 (en) | Light source brightness control system, light source system and projection equipment | |
CN205353659U (en) | Curtain control system | |
CN109831858A (en) | A kind of intelligent illuminating system | |
CN203101257U (en) | Quantitative analyzer for colloidal gold detecting card | |
CN205582465U (en) | Piano performance action detection device of self -adaptation installation | |
CN109712559A (en) | It is a kind of to show interactive device and method without sensing LED dot matrix screen | |
CN205920631U (en) | Piano performance action detection circuitry of self -adaptation installation | |
CN109118916A (en) | A kind of single chip computer experiment actual training device | |
CN209824080U (en) | LED illumination energy-saving lamp based on gesture voice induction | |
CN204045198U (en) | A kind of photoelectric detection system of fingerboard action | |
CN207678047U (en) | The LED light of light can be controlled in high precision | |
CN207218659U (en) | A kind of optical fiber for lighting switching system | |
CN204031515U (en) | A kind of wall lamp control system based on power carrier | |
CN105188196A (en) | LED track lamp with intelligent light sensing and light modulation functions | |
CN104423608A (en) | Light based projection keyboard | |
CN111089237A (en) | Full-angle light-sensing filament lamp | |
CN203719765U (en) | Light intensity measurement apparatus | |
CN213818292U (en) | Light intensity self-adjusting device based on electronic paper | |
CN105450301A (en) | Short-distance LED (Light-Emitting Diode) visible light transmission device | |
CN215182986U (en) | LED drive circuit applied to head-up display of agricultural machinery travelling crane | |
CN214751257U (en) | Color correction detection device and color correction system of external flash lamp |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160615 |
|
WW01 | Invention patent application withdrawn after publication |