CN207663781U - It is a kind of based on active infra-red obstacle detection without string electronic organ - Google Patents

It is a kind of based on active infra-red obstacle detection without string electronic organ Download PDF

Info

Publication number
CN207663781U
CN207663781U CN201820026902.6U CN201820026902U CN207663781U CN 207663781 U CN207663781 U CN 207663781U CN 201820026902 U CN201820026902 U CN 201820026902U CN 207663781 U CN207663781 U CN 207663781U
Authority
CN
China
Prior art keywords
string
module
infrared
obstacle detection
electronic organ
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 - Fee Related
Application number
CN201820026902.6U
Other languages
Chinese (zh)
Inventor
杨奕
林健辉
孙钰伶
刘强
刘志强
谢磊
王长庚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University of Technology
Original Assignee
Chongqing University of Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chongqing University of Technology filed Critical Chongqing University of Technology
Priority to CN201820026902.6U priority Critical patent/CN207663781U/en
Application granted granted Critical
Publication of CN207663781U publication Critical patent/CN207663781U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The utility model discloses a kind of based on active infra-red obstacle detection without string electronic organ, including qin body and the electronic control unit that is arranged in the qin body;The electronic control unit includes microprocessor, power module for power supply, memory module for stored audio file, D/A converter module for carrying out digital and analogue signals conversion and loud speaker, the power module, memory module and D/A converter module are electrically connected to the microprocessor, and the loud speaker is electrically connected to the output end of the D/A converter module;Further include it is multiple for trigger electronic organ key sound without string key module, the no string key module includes the infrared transmitter and infrared remote receiver of a pair of spaced and face setting, and the infrared transmitter and infrared remote receiver are electrically connected to the microprocessor.The advantages that the utility model has smart structural design, operates with simply, and introduction is easy, and is easy to excitation and plays interest, safe to use, and power consumption is smaller at low cost.

Description

It is a kind of based on active infra-red obstacle detection without string electronic organ
Technical field
The utility model is related to electronic organ technical fields, in particular to a kind of nothing based on active infra-red obstacle detection String electronic organ.
Background technology
Electronic organ is the developing product of electronic science and technology.With the rapid development of electronic technology, electronic organ is not yet It updates disconnectedly.The high development of especially digital technology, large scale integrated circuit and computer technology makes electronic organ not only Beyond traditional musical sound such as piano, organ, violin on range, and the tone color of various traditional instruments can also be simulated, moreover it is possible to produce The unique even nature of non-hibernating eggs kind no sound equipment at all.In addition, electronic organ type is various, and it is small, play carrying side Just, price is comparatively cheaper.So deep liked by the music public.However, existing electronic organ is adopted mostly It with the structure of similar piano, is triggered using mechanical key, for infant, the children either handicapped people of hand comes It says, since hand strength is weaker or hand impediments, can not undergo musical performance.
Utility model content
In view of the above shortcomings of the prior art, technical problem to be solved in the utility model is:How a kind of knot is provided Structure is ingenious in design, operates with simply, and introduction is easy, and is easy to excitation and plays interest, safe to use, the smaller base at low cost of power consumption In active infra-red obstacle detection without string electronic organ.
In order to solve the above-mentioned technical problem, the utility model uses the following technical solution:
It is a kind of based on active infra-red obstacle detection without string electronic organ, including qin body and be arranged in the qin body Electronic control unit;The electronic control unit includes microprocessor, for the power module of power supply, is used for stored audio file Memory module, the D/A converter module for carrying out digital and analogue signals conversion and loud speaker, the power module, memory module And D/A converter module is electrically connected to the microprocessor, the loud speaker is electrically connected to the defeated of the D/A converter module Outlet;It is characterized in that, further include it is multiple for trigger electronic organ key sound without string key module, the no string key module packet The infrared transmitter and infrared remote receiver of a pair of spaced and face setting are included, the infrared transmitter and infrared remote receiver are equal It is electrically connected to the microprocessor.
Using above-mentioned apparatus, so that it may in advance by the monophonic audio file storage of each key sound on electronic organ to memory module In, infrared transmitter each without string key module is then controlled by microprocessor and sends out infrared signal, it is corresponding infrared to connect Infrared signal can be received and feed back to microprocessor by receiving device, once some infrared transmitter without string key module and red Exist between outer receiver and block, the infrared signal which receives will change, micro- Processor can determine whether that this is currently to play without string key module, and transfer from memory module corresponding without string key module Audio file carries out sounding after the digital-to-analogue conversion of D/A converter module by loud speaker.Player need to only use hand or other objects Product are blocked in desired performance without between the infrared transmitter and infrared remote receiver in string key module, so that it may to trigger this without string The sound of key module, operation is very easy, is not limited by finger strength.For infant or children, because being without button It can pronounce, it can be excited to play interest significantly.In addition, infrared transmitter and infrared remote receiver cost are relatively low, power consumption is smaller, to regarding Nethike embrane fanout free region, is suitable for infant or children use.
Further, the infrared transmitter and infrared remote receiver are impulse type.
Traditional infrared obstacle detection determines whether that barrier blocks according to light intensity variation, needs to continuously send out infrared light, The infrared light light intensity sent out is bigger, and the distance that can be detected is longer, but with the increase of luminous power, it will increase system work( Consumption.The infrared obstacle of impulse type monitors, and only can send out extremely short infrared light of a branch of time in the moment of monitoring, since the time is short, System average power consumption is low.It is blocked when existing between infrared transmitter and infrared remote receiver, the infrared pulse signal received will be sent out Changing, microprocessor monitor infrared pulse signal in real time, when signal variation be more than threshold value, then be determined as there is barrier screening Gear.
Further, the sample frequency of the infrared remote receiver is at least 2 times of the tranmitting frequency of the infrared transmitter.
According to Nyquist's theorem, in the transfer process for carrying out analog/digital signal, when sample frequency is more than in signal At 2 times of highest frequency, the digital signal after sampling completely remains the information in original signal.
Further, further include the indicator light being correspondingly arranged with the no string key module, the indicator light is electrically connected to The microprocessor.
Using the above structure, corresponding instruction can be controlled without string key module according to currently triggering by microprocessor Lamp is lighted, and visual feedback is provided for player;Microprocessor can also be utilized to control indicator light point according to built-in teaching program Bright, guiding beginner triggers corresponding no string key module according to the indicator light currently lighted, and completes the performance of song.
Further, the indicator light is color LED indicator light.
In this way, microprocessor can be utilized to adjust the corresponding LED indication of different no string key modules according to built-in program The color of lamp, ornamental value when enhancing is played.
Further, rising tune key module for adjusting qin sound rising tune is also associated on the microprocessor and for adjusting The falling tone key module of qin sound falling tone;Each no string key module is correspondingly arranged that there are three be respectively used to instruction rising tune, flat The indicator light of tune and falling tone state.
Further, the rising tune key module and falling tone key module include the infrared of a pair of spaced and face setting Transmitter and infrared remote receiver.
Further, the display screen for being provided with and can be used in showing song information is also connected on the microprocessor.
Further, multiple no string key modules are arc-shaped arrangement, and each no string key module is red Radially face is arranged for external transmitter and infrared remote receiver.
Further, the infrared transmitter of each no string key module is located in corresponding infrared remote receiver.
In conclusion the utility model has smart structural design, operate with simply, introduction is easy, and is easy to excitation and is drilled Interest is played, safe to use, the advantages that power consumption is smaller at low cost.
Description of the drawings
Fig. 1 is the circuit principle structure schematic diagram of the utility model.
Fig. 2 is the outline structural diagram of the utility model qin body.
Fig. 3 is the emitter circuit diagram of the utility model embodiment.
Fig. 4 is the receiving terminal circuit figure of the utility model embodiment.
Fig. 5 is the LED indicating circuit figure of the utility model embodiment.
Fig. 6 is the audio output circuit figure of the utility model embodiment.
Fig. 7 is the control flow chart of indicator light under free schema.
Fig. 8 is the control flow chart of electronic organ under free schema.
Fig. 9 is the control flow chart of indicator light under exercise mode.
Figure 10 is the control flow chart of electronic organ under exercise mode.
Specific implementation mode
With reference to embodiment, the utility model is described in further detail.
When specific implementation:As depicted in figs. 1 and 2, it is a kind of based on active infra-red obstacle detection without string electronic organ, be used for The power module 3 of power supply is used for the memory module 4 of stored audio file, the digital-to-analogue conversion mould for carrying out digital and analogue signals conversion Block 5 and loud speaker 6, the power module 3, memory module 4 and D/A converter module 5 are electrically connected to the microprocessor 2, the loud speaker 6 is electrically connected to the output end of the D/A converter module 5;It is characterized in that, further including multiple for triggering The infrared hair of electronic organ key sound being arranged including a pair of spaced and face without string key module 7, the no string key module 7 Emitter and infrared remote receiver, the infrared transmitter and infrared remote receiver are electrically connected to the microprocessor 2, the infrared hair Emitter and infrared remote receiver are impulse type.It is also connected with to be provided on the microprocessor 2 and can be used in showing song information Display screen 11.Multiple no string key modules 7 are arc-shaped arrangement, and the infrared emission of each no string key module 7 Radially face is arranged for device and infrared remote receiver.
Using above-mentioned apparatus, so that it may in advance by the monophonic audio file storage of each key sound on electronic organ to memory module In, infrared transmitter each without string key module is then controlled by microprocessor and sends out infrared signal, it is corresponding infrared to connect Infrared signal can be received and feed back to microprocessor by receiving device, once some infrared transmitter without string key module and red Exist between outer receiver and block, the infrared signal which receives will change, micro- Processor can determine whether that this is currently to play without string key module, and transfer from memory module corresponding without string key module Audio file carries out sounding after the digital-to-analogue conversion of D/A converter module by loud speaker.Player need to only use hand or other objects Product are blocked in desired performance without between the infrared transmitter and infrared remote receiver in string key module, so that it may to trigger this without string The sound of key module, operation is very easy, is not limited by finger strength.For infant or children, because being without button It can pronounce, it can be excited to play interest significantly.In addition, infrared transmitter and infrared remote receiver cost are relatively low, power consumption is smaller, to regarding Nethike embrane fanout free region, is suitable for infant or children use.
Traditional infrared obstacle detection determines whether that barrier blocks according to light intensity variation, needs to continuously send out infrared light, The infrared light light intensity sent out is bigger, and the distance that can be detected is longer, but with the increase of luminous power, it will increase system work( Consumption.The infrared obstacle of impulse type monitors, and only can send out extremely short infrared light of a branch of time in the moment of monitoring, since the time is short, System average power consumption is low.It is blocked when existing between infrared transmitter and infrared remote receiver, the infrared pulse signal received will be sent out Changing, microprocessor monitor infrared pulse signal in real time, when signal variation be more than threshold value, then be determined as there is barrier screening Gear.
Further include the indicator light 8 being correspondingly arranged with the no string key module 7, the indicator light 8 is electrically connected to described micro- Processor 2.
Using the above structure, corresponding instruction can be controlled without string key module according to currently triggering by microprocessor Lamp is lighted, and visual feedback is provided for player;Microprocessor can also be utilized to control indicator light point according to built-in teaching program Bright, guiding beginner triggers corresponding no string key module according to the indicator light currently lighted, and completes the performance of song.
The rising tune key module 9 for adjusting qin sound rising tune is also associated on the microprocessor 2 and for adjusting qin sound drop The falling tone key module 10 of tune;Each no string key module 7 be correspondingly arranged there are three be respectively used to instruction rising tune, Heibei provincial opera with And the indicator light 8 of falling tone state.The rising tune key module 9 and falling tone key module 10 include a pair of spaced and face The infrared transmitter and infrared remote receiver of setting.
Embodiment
The present embodiment is using STM32F407 as main control chip, and STM32F407 series is towards needs in as low as 10x 10mm Encapsulation in realize high integration, high-performance, the medical treatment of in-line memory and peripheral hardware, industry and consumer application. STM32F407 provides the Cortex that working frequency is 168MHzTMThe performance of-M4 kernels (with floating point unit).In 168MHz Under frequency, when being executed from flash storage, STM32F407/417 is capable of providing 210DMIPS/566CoreMark performances, and FLASH zero wait states are realized using the ART accelerators of STMicw Electronics.DSP is instructed and floating point unit expands product Application range.
The emitter circuit diagram of the present embodiment is as shown in figure 3, the Digital Signals high frequency power pipe driving modulated Infrared light pipe shines, and resistance is smaller after is connected due to infrared tube, increases the mesh that current-limiting resistance reaches current limliting in circuit High frequency power pipes switch time determine device can by maximum frequency, the communication bandwidth of direct determination device compares Integrated amplifier, circuit is simpler, and driveability is more preferable, drive efficiency higher, cost are lower.
The receiving terminal circuit of the present embodiment is as shown in figure 4, receiving circuit is had quite using cascode grade amplifying circuit, circuit High β value, driving tube use HF switch pipe, the precision higher of device, and power consumption is lower.It is red by taking first group of reception device as an example The signal that outer light pipe receives is capacitively coupled to the base stage of Q5, while capacitance also makes circuit have better anti-interference ability D.C. regulated power supply provides forward bias by resistance R34 to Q5 emitter junctions, and generates base stage DC current while being collector junction Reverse biased is provided, triode operation is made to pass through regulation resistance R35 in magnifying state, changes Q5 collector output voltages.
The LED indicating circuit of the present embodiment as shown in figure 5, audio output circuit as shown in fig. 6, for so that microcontroller output Audio can be identified that exports audio signal is carried out blocking by the design by c15, c17 by sound equipment.
When it is implemented, generating the pulse signal of 5kHz using microcontroller, infrared diode is driven, pulsed infrared is sent out Light.
After receiving terminal receives infrared signal, restored by signal processing circuit and amplifying circuit.
It obtains that one identical as original signal frequency but the pulse signal of Duty Cycle Distortion after processing, receives infrared light When, it is high level.It is low level when can not receive infrared light.
It will be signally attached to single-chip I/O mouth, signal will be sampled using microcontroller.Microcontroller uses the speed of 25kHz Directly I/O port level state is sampled.According to Nyquist's theorem, in the transfer process for carrying out analog/digital signal, (the fs.max when sample frequency is more than 2 times of highest frequency in signal>2fmax), the digital signal after sampling completely is protected It has stayed the information in original signal, this system to be sampled using 5 times of rates of original signal, has retained the letter in original signal enough Breath.
Comparator built in single-chip I/O mouth, for the signal sampled with high level for 1, the form that low level is 0 is stored in list In piece machine
Sampling the data obtained is counted at regular intervals, accounting for for signal is calculated according to high level quantity in signal Empty ratio.
If storage assembly initial data quantity is n
When duty ratio is less than given threshold value, judgement signal is blocked.
The state of one group of I/O port, 16 pins in microcontroller is previously stored in 16 bit registers, 16 roads Ke Dui letter Number sample simultaneously, sample only needs the data of two bytes every time, and data utilization ratio is high.Using DMA, (memory is direct Access) technology, intervene without CPU, memory directly is written into register data, greatlys improve data transmission bauds so that is more The high-speed sampling of road signal is achieved.Which consumption resource is few, and expansion is at low cost, and slightly change can realize 32 tunnels, 64 the tunnels even acquisition of 128 tunnel infrared signals.
Have benefited from high sampling rate, in 5kHz pulse signals, 25kHz sampling rates, the application that 16 road signals acquire simultaneously In, the obstacle detection time is less than 0.1ms.
As shown in Figure 7, Figure 8, under free schema indicator light and electronic organ control flow chart.As shown in Figure 9 and Figure 10, practice The control flow chart of indicator light and electronic organ under habit pattern.
The above is only the preferred embodiment of the utility model only, is not limitation with the utility model, all at this All any modification, equivalent and improvement etc., should be included in the utility model made by within the spirit and principle of utility model Protection domain within.

Claims (10)

1. it is a kind of based on active infra-red obstacle detection without string electronic organ, including qin body (1) and be arranged in the qin body (1) Interior electronic control unit;The electronic control unit includes microprocessor (2), for the power module (3) of power supply, for storing up The memory module (4) for depositing audio file, the D/A converter module (5) for carrying out digital and analogue signals conversion and loud speaker (6), institute It states power module (3), memory module (4) and D/A converter module (5) and is electrically connected to the microprocessor (2), it is described to raise Sound device (6) is electrically connected to the output end of the D/A converter module (5);It is characterized in that, further including multiple for triggering electronics Key sound without string key module (7), the no string key module (7) includes the infrared hair of a pair of spaced and face setting Emitter and infrared remote receiver, the infrared transmitter and infrared remote receiver are electrically connected to the microprocessor (2).
2. as described in claim 1 based on active infra-red obstacle detection without string electronic organ, which is characterized in that described infrared Transmitter and infrared remote receiver are impulse type.
3. as claimed in claim 2 based on active infra-red obstacle detection without string electronic organ, which is characterized in that described infrared The sample frequency of receiver is at least 2 times of the tranmitting frequency of the infrared transmitter.
4. as described in claim 1 based on active infra-red obstacle detection without string electronic organ, which is characterized in that further include with The indicator light (8) that the no string key module (7) is correspondingly arranged, the indicator light (8) are electrically connected to the microprocessor (2).
5. as claimed in claim 4 based on active infra-red obstacle detection without string electronic organ, which is characterized in that the instruction Lamp (8) is color LED indicator light.
6. as claimed in claim 4 based on active infra-red obstacle detection without string electronic organ, which is characterized in that micro- place It is also associated with the rising tune key module (9) for adjusting qin sound rising tune and the falling tone key mould for adjusting qin sound falling tone on reason device (2) Block (10);Each no string key module (7) is respectively used to instruction rising tune, Heibei provincial opera and falling tone shape there are three being correspondingly arranged The indicator light (8) of state.
7. as claimed in claim 6 based on active infra-red obstacle detection without string electronic organ, which is characterized in that the rising tune Key module (9) and falling tone key module (10) include the infrared transmitter and infrared receiver of a pair of spaced and face setting Device.
8. as described in claim 1 based on active infra-red obstacle detection without string electronic organ, which is characterized in that micro- place The display screen (11) for being provided with and can be used in showing song information is also connected on reason device (2).
9. as described in claim 1 based on active infra-red obstacle detection without string electronic organ, which is characterized in that multiple described No string key module (7) is arc-shaped arrangement, and the infrared transmitter and infrared remote receiver of each no string key module (7) Radially face is arranged.
10. as claimed in claim 9 based on active infra-red obstacle detection without string electronic organ, which is characterized in that Mei Gesuo The infrared transmitter for stating no string key module (7) is located in corresponding infrared remote receiver.
CN201820026902.6U 2018-01-08 2018-01-08 It is a kind of based on active infra-red obstacle detection without string electronic organ Expired - Fee Related CN207663781U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201820026902.6U CN207663781U (en) 2018-01-08 2018-01-08 It is a kind of based on active infra-red obstacle detection without string electronic organ

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201820026902.6U CN207663781U (en) 2018-01-08 2018-01-08 It is a kind of based on active infra-red obstacle detection without string electronic organ

Publications (1)

Publication Number Publication Date
CN207663781U true CN207663781U (en) 2018-07-27

Family

ID=62943385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201820026902.6U Expired - Fee Related CN207663781U (en) 2018-01-08 2018-01-08 It is a kind of based on active infra-red obstacle detection without string electronic organ

Country Status (1)

Country Link
CN (1) CN207663781U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087621A (en) * 2018-08-24 2018-12-25 北京晨语筝业教育科技有限公司 The signal detecting method and device of intelligent Chinese zither
CN109584847A (en) * 2019-01-25 2019-04-05 张洋 Building blocks electronic organ
CN115359770A (en) * 2022-08-23 2022-11-18 深圳市戴乐体感科技有限公司 Intelligent guitar and tone-changing control method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109087621A (en) * 2018-08-24 2018-12-25 北京晨语筝业教育科技有限公司 The signal detecting method and device of intelligent Chinese zither
CN109584847A (en) * 2019-01-25 2019-04-05 张洋 Building blocks electronic organ
CN109584847B (en) * 2019-01-25 2024-05-31 张洋 Building block electronic organ
CN115359770A (en) * 2022-08-23 2022-11-18 深圳市戴乐体感科技有限公司 Intelligent guitar and tone-changing control method thereof

Similar Documents

Publication Publication Date Title
CN207663781U (en) It is a kind of based on active infra-red obstacle detection without string electronic organ
CN201859646U (en) Characteristic electronic organ
CN203825998U (en) Electronic organ based on USB computer keyboard input
CN208654580U (en) Collect the toy control circuit of a variety of game modes
CN208093147U (en) A kind of laser frame drum
CN205508378U (en) Electronic tuning ware
CN203746412U (en) Suspended electronic organ
Dempsey et al. The Purdue Pitch Meter—A Direct-Reading Fundamental Frequency Analyzer
CN2164795Y (en) Game computer capable of metering height and weight of person
CN207137234U (en) A kind of length-adjustable sounding rope skipping
CN202632031U (en) Foldable multifunctional voice sounder for walker
CN202930018U (en) Electronic organ based on single chip microcomputer control
CN207356454U (en) A kind of novel sounding rope skipping
Zhang et al. Design of simple electronic organ based on single chip microcomputer
CN202887696U (en) One-key chord system
CN105702242A (en) Non-contact type intelligent electronic musical instrument for serving special populations
CN210057395U (en) Teaching toy of photoelectric organ
CN203026112U (en) Wireless electronic piano system
CN105023556A (en) Music box design based on AT 89S52
CN2307289Y (en) Sound corrector for pocket computer
CN205268956U (en) Electrified sub - pronunciation score and intelligent racket who surveys wind speed
CN203644384U (en) Single chip microcomputer-based laser harp device
CN218076358U (en) Music learning toy based on inductor is as keyboard
CN207137233U (en) A kind of length-adjustable luminous, sounding rope skipping
CN211676285U (en) Voice control toy car system

Legal Events

Date Code Title Description
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180727

Termination date: 20190108

CF01 Termination of patent right due to non-payment of annual fee