CN108777144A - A kind of sound wave instruction identification method, device, circuit and remote controler - Google Patents

A kind of sound wave instruction identification method, device, circuit and remote controler Download PDF

Info

Publication number
CN108777144A
CN108777144A CN201810547645.5A CN201810547645A CN108777144A CN 108777144 A CN108777144 A CN 108777144A CN 201810547645 A CN201810547645 A CN 201810547645A CN 108777144 A CN108777144 A CN 108777144A
Authority
CN
China
Prior art keywords
signal
sound wave
high level
level signal
low
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.)
Granted
Application number
CN201810547645.5A
Other languages
Chinese (zh)
Other versions
CN108777144B (en
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.)
Aux Air Conditioning Co Ltd
Original Assignee
Aux Air Conditioning Co Ltd
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 Aux Air Conditioning Co Ltd filed Critical Aux Air Conditioning Co Ltd
Priority to CN201810547645.5A priority Critical patent/CN108777144B/en
Publication of CN108777144A publication Critical patent/CN108777144A/en
Application granted granted Critical
Publication of CN108777144B publication Critical patent/CN108777144B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention provides a kind of sound wave instruction identification method, device, circuit and remote controlers, the remote controler detects the acoustic signals of user by sound detection circuit and exports voice signal to microcontroller according to acoustic signals, voice signal is converted to low and high level signal by microcontroller, go out corresponding sound wave instruction according to the low and high level signal identification and to sound wave instruction execution, when sound wave instruction is the instruction of finding remote controller, then controls cue circuit and send out prompt message to prompt the position of user remote controller by the prompt message.Remote control appliance of the present invention is for looking up function, when user needs finding remote controller, the acoustic signals of finding remote controller, which need to only be sent out, can control remote controler and send out prompt message, and user can know the position where remote controler according to the prompt message, and entire to find process simple, quick;Meanwhile complicated two-way communication or transceiving function need not be increased on remote controler, therefore cost is relatively low.

Description

A kind of sound wave instruction identification method, device, circuit and remote controler
Technical field
The present invention relates to sound wave identification technology field, more particularly to a kind of sound wave instruction identification method, device, circuit and distant Control device.
Background technology
In daily life, user often occurs needing but to look for when using because of the randomness for placing some electronic equipments Less than puzzlement.For example, people's use is than more frequently remote controler (TV remote controller, air-conditioning remote control etc.), because of volume itself It is smaller, it is easily blocked object and is blocked, in addition user's placement is more random, arrived with ransacking boxes and chests needing the when of using that can only be in Place is looked for, to bring trouble to the daily life of user, and if realizing complicated two-way communication or wireless on a remote control Electric transmission-receiving function can then increase cost.
Invention content
In view of this, the present invention is directed to propose a kind of sound wave instruction identification method, device and circuit, to realize voice signal Parsing, with obtain corresponding sound wave instruct and execute the sound wave instruction.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
In a first aspect, the present invention provides a kind of sound wave instruction identification method, the method includes:
Obtain voice signal;
The voice signal is converted into low and high level signal;
Go out corresponding sound wave instruction according to the low and high level signal identification;
Execute the sound wave instruction.
Further, described the step of going out corresponding sound wave instruction according to the low and high level signal identification, includes:
Detect the number of the high level signal in preset time in the low and high level signal;
Number according to the high level signal identifies corresponding sound wave instruction.
Further, the step of number of the high level signal in the detection preset time in the low and high level signal Including:
Detect the duration of each low level signal in preset time in the low and high level signal;
The number of the high level signal is determined according to the duration of each low level signal.
Further, described the step of going out corresponding sound wave instruction according to the low and high level signal identification, includes:
It is identified according to the number of the high level signal and the duration of each low level signal corresponding Sound wave instructs.
Further, the described the step of voice signal is converted to low and high level signal, includes:
Rectification processing is carried out to the voice signal, obtains rectified signal;
The rectified signal is filtered, filtering signal is obtained;
Stagnant ring processing is carried out to the filtering signal, obtains the low and high level signal.
Further, described the step of being filtered to the rectified signal, obtain filtering signal, includes:
First is carried out to the rectified signal to be filtered, and obtains the first filtering signal;
Second is carried out to the rectified signal to be filtered, and obtains the second filtering signal;
Mathematic interpolation is carried out to first filtering signal and second filtering signal, obtains the filtering signal.
Further, described first it is filtered that be filtered with described second be low-pass filtering, first filtering Processing is filtered from described second using different filtering parameters.
Further, the filtering parameter is filtering bandwidth, described first be filtered the filtering bandwidth of use with it is described Second filtering bandwidth for being filtered use differs at least 10 times.
Further, described first the filtering bandwidth used is filtered as 50Hz, described second is filtered use Filtering bandwidth is 500Hz.
Further, described the step of carrying out stagnant ring processing to the filtering signal, obtaining the low and high level signal, wraps It includes:
When the amplitude of the filtering signal meets preset condition, high level signal is exported, when the width of the filtering signal When value does not meet the preset condition, low level signal is exported.
Second aspect, the present invention also provides a kind of sound wave instruction identification device, described device includes:
Signal acquisition module, for obtaining voice signal;
Signal conversion module, for the voice signal to be converted to low and high level signal;
Instruction identification module, for going out corresponding sound wave instruction according to the low and high level signal identification;
Instruction execution module, for executing the sound wave instruction.
The third aspect, the present invention also provides a kind of sound wave instruction identification circuit, the sound wave instruction identification circuit includes Sound detection circuit and microcontroller, the sound detection circuit and the monolithic mechatronics;
The sound detection circuit is used to export voice signal to the microcontroller according to the acoustic signals detected;
The microcontroller is used to the voice signal being converted to low and high level signal, knows according to the low and high level signal Do not go out corresponding sound wave instruction, and executes the sound wave instruction.
Further, the sound detection circuit includes acoustic pick up unit and amplifying circuit, the acoustic pick up unit It is electrically connected with the amplifying circuit, the amplifying circuit and the monolithic mechatronics;
The acoustic pick up unit is used to the acoustic signals detected being converted to electric signal;
The amplifying circuit is used to the electric signal being amplified processing, obtains the voice signal.
Compared with the existing technology, sound wave instruction identification method of the present invention has the advantage that:
Sound wave instruction identification method of the present invention, by the way that the voice signal of acquisition is converted to low and high level signal, Go out corresponding sound wave instruction according to low and high level signal identification, and executes sound wave instruction.In this way, people in daily life only It need to be by sending out specific acoustic signals, which is resolved to corresponding sound wave instruction, is performed in sound wave instruction When, that is, sound wave controlled is realized, easy to operate, better user experience.
The sound wave instruction identification device and the sound wave instruction identification circuit are opposite with above-mentioned sound wave instruction identification method The advantage possessed by the prior art is identical, and details are not described herein.
Another object of the present invention is to propose a kind of remote controler, to solve the problems, such as that remote controler is not easy to find.
In order to achieve the above objectives, the technical proposal of the invention is realized in this way:
Fourth aspect, the present invention also provides a kind of remote controler, the remote controler includes cue circuit and above-mentioned third party The sound wave instruction identification circuit in face, the cue circuit and the monolithic mechatronics, the microcontroller are used in the sound wave When instruction is the instruction of finding remote controller, controls the cue circuit and send out prompt message, to be prompted by the prompt message The position of remote controler described in user.
Compared with the existing technology, remote controler of the present invention has the advantage that:
Remote controler of the present invention, by sound detection circuit detect user acoustic signals and according to acoustic signals to Microcontroller exports voice signal, and voice signal is converted to low and high level signal by microcontroller, according to the low and high level signal identification Go out corresponding sound wave instruction and prompt electricity is then controlled when sound wave instruction is the instruction of finding remote controller to sound wave instruction execution Road sends out prompt message to prompt the position of user remote controller by the prompt message.In other words, in this application, work as user When needing finding remote controller, need to only send out the acoustic signals of finding remote controller can control remote controler and send out prompt message, user It can be quickly found out remote controler by the prompt message, it is entire to find process simply, fast;Meanwhile it need not increase on remote controler Add complicated two-way communication or transceiving function, therefore cost is relatively low.
Description of the drawings
The attached drawing for constituting the part of the present invention is used to provide further understanding of the present invention, schematic reality of the invention Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the structure diagram of the sound wave instruction identification circuit described in the embodiment of the present invention;
Fig. 2 is the structure diagram of the remote controler described in the embodiment of the present invention;
Fig. 3 is the flow diagram of the sound wave instruction identification method described in the embodiment of the present invention;
Fig. 4 is the sub-step schematic diagram of step S102 in Fig. 3;
Fig. 5 is the schematic diagram of the voice signal obtained when the user described in the embodiment of the present invention claps the hands three times;
Fig. 6 is the schematic diagram for the rectified signal that the voice signal in Fig. 5 obtains after over commutation is handled;
Fig. 7 is the signal for the low and high level signal that the filtered processing of rectified signal shown in fig. 6 is handled with stagnant ring Figure;
Fig. 8 is the sub-step of step S103 when the first is determined by the way of sound wave instruction described in the embodiment of the present invention Schematic diagram.
Fig. 9 is the high-level schematic functional block diagram of the sound wave instruction identification device described in the embodiment of the present invention.
Figure 10 is the submodule schematic diagram of signal conversion module in Fig. 9.
Icon:1- sound wave instruction identification circuits;2- sound detection circuits;3- microcontrollers;4- acoustic pick up unit;5- amplifies Circuit;6- remote controlers;7- cue circuits;8- sound wave instruction identification devices;9- signal acquisition modules;10- signal conversion modules; 11- instruction identification modules;12- instruction execution modules;13- rectification modules;14- filter modules;The stagnant ring processing modules of 15-.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
Fig. 1 is please referred to, by the structure diagram for the sound wave instruction identification circuit 1 that the embodiment of the present invention provides.The sound wave refers to Enable identification circuit 1 that can apply in various electronic and electrical equipments, for example, remote control equipment, mobile phone, air-conditioning, lamps and lanterns etc., lead to It crosses and acoustic signals is obtained into corresponding sound wave instruction by parsing, and execute sound wave instruction, realize the control to electronic and electrical equipment System.Wherein, the sound wave instruction identification circuit 1 includes sound detection circuit 2 and microcontroller 3, the sound detection circuit 2 and institute State the electrical connection of microcontroller 3.
The sound detection circuit 2 is used to export voice signal to the microcontroller 3 according to the acoustic signals detected.
In the present embodiment, the sound detection circuit 2 includes acoustic pick up unit 4 and amplifying circuit 5, and the sound wave is adopted Collection unit 4 is electrically connected with the amplifying circuit 5, and the amplifying circuit 5 is electrically connected with the microcontroller 3.
The acoustic pick up unit 4 is used to the acoustic signals detected being converted to electric signal.
The amplifying circuit 5 is used to the electric signal being amplified processing, obtains the voice signal.
In the present embodiment, which can be generated by user, for example, clapping the hands.The acoustic pick up unit 4 can be adopted With Electret condenser microphone, acoustic signals can be acquired, acoustic signals can make vibrating membrane in microphone do corresponding vibration, to produce The electric signal changed by vibration, the electric signal obtain amplitude voice signal appropriate, amplification electricity after the amplification of amplifying circuit 5 Road 5 exports the voice signal to microcontroller 3.
The microcontroller 3 is used to the voice signal being converted to low and high level signal, according to the low and high level signal It identifies corresponding sound wave instruction, and executes the sound wave instruction.
In the present embodiment, microcontroller 3 turns the voice signal when receiving the voice signal of the output of amplifying circuit 5 It is changed to low and high level signal, and identifies the corresponding sound wave instruction of the low and high level signal, to the sound wave instruction execution.For example, The microcontroller 3 is applied on the electrical equipments such as air-conditioning, when the sound wave instruction that microcontroller 3 identifies is power-on instruction, monolithic Machine 3 can control air-conditioning booting operation.
Fig. 2 is please referred to, by the structure diagram for the remote controler 6 that the embodiment of the present invention provides.The remote controler 6, which has, finds work( Can, the position where user itself can be prompted when user sends out the instruction of searching.The remote controler 6 includes above-mentioned sound wave Instruction identification circuit 1 and cue circuit 7, the cue circuit 7 are electrically connected with the microcontroller 3, and the microcontroller 3 is used in institute When stating instruction of the sound wave instruction for finding remote controller 6, controls the cue circuit 7 and send out prompt message, to pass through the prompt The position of remote controler 6 described in information alert user, and then the position of remote controler 6 is searched out according to the prompt message convenient for user.
In the present embodiment, the prompt message includes, but are not limited to vibrate, send out certain specific sound, shine etc. each One or more combinations in kind form.
In the present embodiment, the instruction of finding remote controller 6 can be preset.For example, setting user needs to clap the hands three times Look for remote controler 6, the acoustic signals that user claps the hands three times are converted to electric signal by acoustic pick up unit 4, and amplifying circuit 5 is by electric signal Voice signal is obtained after being amplified and is exported to microcontroller 3, and microcontroller 3 is identified the voice signal to obtain corresponding sound Wave instruct, and judge the sound wave instruction for the instruction of finding remote controller 6 when, then control cue circuit 7 and send out prompt message, user The position of remote controler 6 can be known by the prompt message.
It should be noted that in the present embodiment, which may be used acousto-optic and circuit occurs, examined in microcontroller 3 When measuring the instruction of finding remote controller 6, then controls acousto-optic generation circuit and send out sound and light signal, user passes through the sound and light signal Remote controler 6 is found quickly.
Fig. 3 is please referred to, by the flow diagram for the sound wave instruction identification method that the embodiment of the present invention provides.It needs to illustrate , sound wave instruction identification method of the present invention is not limitation with Fig. 3 and particular order as described below.It should manage Solution, in other embodiments, the sequence of sound wave instruction identification method which part step of the present invention can be according to reality It needs to be exchanged with each other or part steps therein can also be omitted or be deleted.The sound wave instruction identification method can be applicable to In the microcontroller 3 stated, detailed process shown in Fig. 3 will be described in detail below.
Step S101 obtains voice signal.
In the present embodiment, the voice signal that microcontroller 3 obtains is believed by sound detection circuit 2 according to the sound wave detected It number is converted to electric signal and is amplified to obtain by electric signal, therefore, the voice signal in the present embodiment is electric signal.
The voice signal is converted to low and high level signal by step S102.
As shown in figure 4, in the present embodiment, step S102 includes following sub-step:
Sub-step S1021 carries out rectification processing to the voice signal, obtains rectified signal.
In the present embodiment, there is positive value in the voice signal obtained due to microcontroller 3, also have the electric signal of negative value cannot It is directly filtered, therefore needs voice signal progress rectification obtaining the rectified signal for being all positive value.For example, Fig. 5 is to use The schematic diagram of the voice signal obtained when family is clapped the hands three times, Fig. 6 obtain for the voice signal in Fig. 5 after over commutation is handled whole Flow the schematic diagram of signal.
Sub-step S1022 is filtered the rectified signal, obtains filtering signal.
In the present embodiment, sub-step S1022 includes:The rectified signal first be filtered, obtains the One filtering signal carries out second to the rectified signal and is filtered, the second filtering signal obtained, to first filtering signal Mathematic interpolation is carried out with second filtering signal, obtains the filtering signal.
In the present embodiment, the rectified signal needs to undergo two filter process, i.e., first is filtered and the Two are filtered, wherein first is filtered that be filtered with second be low-pass filtering, for filtering out the height in rectified signal Frequency part, described first is filtered and is filtered using different filtering parameters from described second.In the present embodiment, described Filtering parameter is filtering bandwidth, the filtering that the described first filtering bandwidth for being filtered use is filtered use with described second Bandwidth differs at least 10 times.
In the present embodiment, described first be filtered the filtering bandwidth used as 50Hz, rectified signal can be carried out compared with Deep filtering exports voice signal average value;Described second is filtered the filtering bandwidth used as 500Hz, can believe rectification Number shallower filtering is carried out, exports signal corresponding with voice signal amplitude.By taking user claps the hands as an example, it is filtered due to first The filtering bandwidth of process is smaller, therefore has filtered most of signal in voice signal, is not used in the first obtained filtering signal Voice signal when family is clapped the hands;And the filtering bandwidth of the second filter process is larger, the signal filtered is less, second obtained Include voice signal when user claps the hands in filtering signal, in this way, being carried out when to the first filtering signal and the second filtering signal After mathematic interpolation, voice signal when user claps the hands can be obtained.
Sub-step S1023 carries out stagnant ring processing to the filtering signal, obtains the low and high level signal.
In the present embodiment, error can be reduced by carrying out stagnant ring processing to filtering signal.Wherein, the sub-step S1023 includes:When the amplitude of the filtering signal meets preset condition, high level signal is exported, when the filtering signal When amplitude does not meet the preset condition, low level signal is exported.For example, Fig. 7 is the filtered place of rectified signal shown in fig. 6 The schematic diagram for the low and high level signal that reason and stagnant ring are handled.
Specifically, when the amplitude of the filtering signal, which is greater than or equal to, presets stagnant ring, then high level signal is exported, institute is worked as When the amplitude for stating filtering signal is less than the default stagnant ring, then high level signal is exported.For example, be arranged this preset stagnant ring be The amplitude of 0.1V, high level signal are 1V, and the amplitude of low level signal is 0V, when the output amplitude of filtering signal is greater than or equal to When 0.1V, then output amplitude is the high level signal of 1V, and when the output amplitude of filtering signal is less than 0.1V, then output amplitude is The low level signal of 0V.
Step S103 goes out corresponding sound wave instruction according to the low and high level signal identification.
In the present embodiment, sound wave instruction can determine that the first is according to high level signal by two ways Number, be for second the number of duration and high level signal according to low level signal.When using first way The correspondence of different sound waves instruction and the number of high level signal when determining, then can be pre-set, for example, continuous 3 The corresponding sound wave instruction of high level signal is power-on instruction.It when determining, then can be pre-set not when using the second way The correspondence with the number of high level signal and the duration of low level signal is instructed with sound wave, for example, continuous 2 height Interval time (namely duration of low level signal) between level signal and 2 high level signals is less than or equal to 1 Second corresponding sound wave instruction is the instruction of finding remote controller 6.
As shown in figure 8, in the embodiment of the first determination sound wave instruction, step S103 may include following sub-step Suddenly:
Sub-step S1031 detects the number of the high level signal in preset time in the low and high level signal.
In the present embodiment, sub-step S1031 is specifically included:It detects in preset time in the low and high level signal The duration of each low level signal, the high level signal is determined according to the duration of each low level signal Number.Specifically, microcontroller 3 can detect the duration t of each low level signal in preset timeL1,tL2, tL3, tL4... ..., by judging tL1,tL2, tL3, tL4... ..., it can determine with the magnitude relationship of a preset value high in the preset time The number of level signal.
For example, it is assumed that the preset time is 30 seconds, preset value is 5 seconds, and user continuously claps the hands 3 times in 30 seconds, generation Acoustic signals are converted to voice signal shown in fig. 5 by acoustic pick up unit 4 and are exported to microcontroller 3, and microcontroller 3 is to the sound Signal carries out above-mentioned rectification, filtering and the processing of stagnant ring respectively, finally obtains low and high level signal shown in Fig. 7, at this time monolithic Machine 3 can detect that there is t in the duration of the low level signal in 30 secondsL1,tL2, tL3, tL4, judge tL1,tL2, tL3, tL4With 5 The magnitude relationship of second, works as tL1>5, tL2<5, tL3<5, tL4>When 5, it may be determined that the number of high level signal is 3.
Sub-step S1032, the number according to the high level signal identify corresponding sound wave instruction.
For example, when the sound wave instruction identification method is using on remote controler 6 shown in Fig. 2 and the remote controler 6 is for controlling When the operation of air-conditioning or other electrical equipments, the corresponding sound wave instruction of 2 high level signals can be set in microcontroller 3 in advance For the instruction of finding remote controller 6, the corresponding sound wave of 3 high level signals instructs the instruction etc. of air-conditioning booting operation in order to control, only It detects the high level number in preset time, can determine corresponding sound wave instruction.
In the embodiment for determining sound wave instruction at second, the low and high level in detection preset time of microcontroller 3 The duration of each low level signal in signal, and the height is determined according to the duration of each low level signal After the number of level signal, be according to according to the high level signal number and each low level signal it is lasting when Between identify the instruction of corresponding sound wave.Specifically, microcontroller 3 can detect continuing for each low level signal in preset time Time tL1,tL2, tL3, tL4... ..., by judging tL1,tL2, tL3, tL4... ... it can determine with the magnitude relationship of a preset value The number of high level signal in the preset time.After determining the number of high level signal, microcontroller 3 can further judge tL1,tL2, tL3, tL4... ... residing time range, so that it is determined that going out corresponding sound wave instruction.
Below still by taking low and high level signal shown in Fig. 7 as an example, determine that the embodiment of sound wave instruction carries out to second Explanation.Assuming that the preset time is 30 seconds, preset value is 5 seconds, and preset time range has 0s~1s, 1s in microcontroller 3 ~2s, 2s~3s etc., user continuously clap the hands 3 times in 30 seconds, and the acoustic signals of generation are converted to Fig. 5 by acoustic pick up unit 4 Shown in voice signal and export to microcontroller 3, microcontroller 3 carries out the voice signal above-mentioned rectification, filtering and stagnant respectively Ring processing, finally obtains low and high level signal shown in Fig. 7, and microcontroller 3 is according to the low and high level signal detection in 30 seconds There is t in the duration of low level signalL1,tL2, tL3, tL4, judge tL1,tL2, tL3, tL4With 5 seconds magnitude relationships, work as tL1>5, tL2 <5, tL3<5, tL4>When 5, it may be determined that the number of high level signal is 3;After determining the number of high level signal, microcontroller 3 further judge time interval (the i.e. t between 3 high level signalsL2, tL3) residing for time range.For example, microcontroller 3 In preset when high level signal number be 3 and tL2And tL3When being in this time range of 0~1s, the height electricity The corresponding sound wave instruction of ordinary mail number is power-on instruction, when the number of high level signal is 3 and tL2And tL3Be in 1s~2s this When a time range, the corresponding sound wave instruction of the high level signal is the instruction of finding remote controller 6.It should be noted that this reality Applying the preset time in example, preset value and time range can set according to actual needs, and the application does not do this any Limitation;Meanwhile in practical applications, above two can be taken to determine the mode of sound wave instruction simultaneously, can also be selected wherein A kind of mode determines that sound wave instructs, and the application does not also do this any restrictions.
Step S104 executes the sound wave instruction.
For example, in remote controler 6, microcontroller 3 can execute sound wave instruction after corresponding sound wave instruction is determined. For example, when sound wave instruction is power-on instruction, then the booting operation of corresponding electrical equipment is can control, when sound wave instruction to seek When looking for the instruction of remote controler 6, then controls acousto-optic generation circuit and send out sound and light signal, user can quickly look for according to the sound and light signal To remote controler 6, solves the puzzlement that user often can not find remote controler 6 in daily life, user experience is higher.
Fig. 9 is please referred to, by the high-level schematic functional block diagram for the sound wave instruction identification device 8 that the embodiment of the present invention provides.It needs It is noted that the technique effect of the sound wave instruction identification device 8 described in the embodiment of the present invention, basic principle and generation is with before It is identical to state embodiment of the method, to briefly describe, part is not referred in the present embodiment, can refer to the corresponding interior of preceding method embodiment Hold.The sound wave instruction identification device 8 can be applied in above-mentioned microcontroller 3 comprising signal acquisition module 9, signal conversion Module 10, instruction identification module 11 and instruction execution module 12.
It is appreciated that above-mentioned signal acquisition module 9, signal conversion module 10, instruction identification module 11 and instruction execution Module 12 can be the software function module and computer program being stored in memory, and can be executed by microcontroller 3.
The signal acquisition module 9 is for obtaining voice signal.
It is appreciated that the signal acquisition module 9 can execute above-mentioned steps S101.
The signal conversion module 10 is used to the voice signal being converted to low and high level signal.
As shown in Figure 10, the signal conversion module 10 includes rectification module 13, filter module 14 and stagnant ring processing module 15。
The rectification module 13 is used to carry out rectification processing to the voice signal, obtains rectified signal.
It is appreciated that the rectification module 13 can execute above-mentioned steps S1021.
The filter module 14 obtains filtering signal for being filtered to the rectified signal.
Specifically, the filter module 14 is used to carry out first to the rectified signal to be filtered, and obtains the first filtering Signal to the rectified signal second be filtered, obtains the second filtering signal, to first filtering signal with it is described Second filtering signal carries out mathematic interpolation, obtains the filtering signal.
It is appreciated that the filter module 14 can execute above-mentioned steps S1022.
The stagnant ring processing module 15 is used to carry out stagnant ring processing to the filtering signal, obtains the low and high level letter Number.
Specifically, the stagnant ring processing module 15 is used for when the amplitude of the filtering signal meets preset condition, output High level signal exports low level signal when the amplitude of the filtering signal does not meet the preset condition.
It is appreciated that the stagnant ring processing module 15 can execute above-mentioned steps S1023.
Described instruction identification module 11 is used to go out corresponding sound wave instruction according to the low and high level signal identification.
In one embodiment, described instruction identification module 11 is for detecting the low and high level signal in preset time In high level signal number, the number according to the high level signal identifies the instruction of corresponding sound wave.Wherein, the finger It is the duration by detecting each low level signal in preset time in the low and high level signal to enable identification module 11, And the number of the high level signal is determined according to the duration of each low level signal.
In another embodiment, instruction identification module 11 is detecting in preset time in the low and high level signal The duration of each low level signal, and the high level signal is determined according to the duration of each low level signal Number after, be that correspondence is identified according to the number of the high level signal and the duration of each low level signal Sound wave instruction.
It is appreciated that the instruction identification module 11 can execute above-mentioned steps S103, step S1031 and step S1032.
Described instruction execution module 12 is for executing the sound wave instruction.
It is appreciated that described instruction execution module 12 can execute above-mentioned steps S104.
In conclusion sound wave instruction identification method, device, circuit and remote controler that the embodiment of the present invention is provided, pass through Sound detection circuit detects the acoustic signals of user and exports voice signal to microcontroller according to acoustic signals, and microcontroller is by sound Signal is converted to low and high level signal, goes out corresponding sound wave instruction according to the low and high level signal identification and is held to sound wave instruction Row, realizes sound wave controlled function.When sound wave instruction is the instruction of finding remote controller, microcontroller then controls cue circuit and sends out Prompt message is to prompt the position of user's remote controler by the prompt message, therefore, in this application, when user needs to find When remote controler, need to only send out the acoustic signals of finding remote controller can control remote controler and send out prompt message, and user is carried by this Show that information can be quickly found out remote controler, it is entire to find process simply, fast;Meanwhile complexity need not be increased on remote controler Two-way communication or transceiving function, therefore cost is relatively low.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention With within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention god.

Claims (14)

1. a kind of sound wave instruction identification method, which is characterized in that the method includes:
Obtain voice signal;
The voice signal is converted into low and high level signal;
Go out corresponding sound wave instruction according to the low and high level signal identification;
Execute the sound wave instruction.
2. sound wave instruction identification method according to claim 1, which is characterized in that described according to the low and high level signal Identify that the step of corresponding sound wave instructs includes:
Detect the number of the high level signal in preset time in the low and high level signal;
Number according to the high level signal identifies corresponding sound wave instruction.
3. sound wave instruction identification method according to claim 2, which is characterized in that the height in the detection preset time The step of number of high level signal in low level signal includes:
Detect the duration of each low level signal in preset time in the low and high level signal;
The number of the high level signal is determined according to the duration of each low level signal.
4. sound wave instruction identification method according to claim 3, which is characterized in that described according to the low and high level signal Identify that the step of corresponding sound wave instructs includes:
Corresponding sound wave is identified according to the number of the high level signal and the duration of each low level signal Instruction.
5. sound wave instruction identification method according to claim 1, which is characterized in that described to be converted to the voice signal The step of low and high level signal includes:
Rectification processing is carried out to the voice signal, obtains rectified signal;
The rectified signal is filtered, filtering signal is obtained;
Stagnant ring processing is carried out to the filtering signal, obtains the low and high level signal.
6. sound wave instruction identification method according to claim 5, which is characterized in that described to be filtered to the rectified signal Wave processing, the step of obtaining filtering signal include:
First is carried out to the rectified signal to be filtered, and obtains the first filtering signal;
Second is carried out to the rectified signal to be filtered, and obtains the second filtering signal;
Mathematic interpolation is carried out to first filtering signal and second filtering signal, obtains the filtering signal.
7. sound wave instruction identification method according to claim 6, which is characterized in that described first is filtered and described Two to be filtered be low-pass filtering, and described first is filtered and is filtered using different filtering parameters from described second.
8. sound wave instruction identification method according to claim 7, which is characterized in that the filtering parameter is filtering bandwidth, The filtering bandwidth that described first filtering bandwidth for being filtered use is filtered use with described second differs at least 10 times.
9. sound wave instruction identification method according to claim 8, which is characterized in that described first is filtered the filter of use Wavestrip width is 50Hz, and described second is filtered the filtering bandwidth used as 500Hz.
10. sound wave instruction identification method according to claim 5, which is characterized in that described to be carried out to the filtering signal The processing of stagnant ring, the step of obtaining the low and high level signal include:
When the amplitude of the filtering signal meets preset condition, export high level signal, when the filtering signal amplitude not When meeting the preset condition, low level signal is exported.
11. a kind of sound wave instruction identification device, which is characterized in that described device includes:
Signal acquisition module, for obtaining voice signal;
Signal conversion module, for the voice signal to be converted to low and high level signal;
Instruction identification module, for going out corresponding sound wave instruction according to the low and high level signal identification;
Instruction execution module, for executing the sound wave instruction.
12. a kind of sound wave instruction identification circuit, which is characterized in that the sound wave instruction identification circuit include sound detection circuit and Microcontroller, the sound detection circuit and the monolithic mechatronics;
The sound detection circuit is used to export voice signal to the microcontroller according to the acoustic signals detected;
The microcontroller is used to the voice signal being converted to low and high level signal, goes out according to the low and high level signal identification Corresponding sound wave instruction, and execute the sound wave instruction.
13. sound wave instruction identification circuit according to claim 12, which is characterized in that the sound detection circuit includes sound Wave collecting unit and amplifying circuit, the acoustic pick up unit are electrically connected with the amplifying circuit, the amplifying circuit with it is described Monolithic mechatronics;
The acoustic pick up unit is used to the acoustic signals detected being converted to electric signal;
The amplifying circuit is used to the electric signal being amplified processing, obtains the voice signal.
14. a kind of remote controler, which is characterized in that the remote controler includes the sound wave described in cue circuit and claim 12 or 13 Instruction identification circuit, the cue circuit and the monolithic mechatronics, the microcontroller are used in sound wave instruction be to seek It when looking for the instruction of remote controler, controls the cue circuit and sends out prompt message, to be prompted described in user by the prompt message The position of remote controler.
CN201810547645.5A 2018-05-31 2018-05-31 Sound wave instruction identification method, device, circuit and remote controller Active CN108777144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810547645.5A CN108777144B (en) 2018-05-31 2018-05-31 Sound wave instruction identification method, device, circuit and remote controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810547645.5A CN108777144B (en) 2018-05-31 2018-05-31 Sound wave instruction identification method, device, circuit and remote controller

Publications (2)

Publication Number Publication Date
CN108777144A true CN108777144A (en) 2018-11-09
CN108777144B CN108777144B (en) 2020-07-03

Family

ID=64028104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810547645.5A Active CN108777144B (en) 2018-05-31 2018-05-31 Sound wave instruction identification method, device, circuit and remote controller

Country Status (1)

Country Link
CN (1) CN108777144B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114694365A (en) * 2020-12-29 2022-07-01 光宝科技股份有限公司 Alarm detection device and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714811A (en) * 2013-12-29 2014-04-09 广州视声电子科技有限公司 Voice-control real-estate system method and device
CN103957635A (en) * 2014-04-28 2014-07-30 梁涛 On-off device and control realization method thereof
CN104038864A (en) * 2013-03-08 2014-09-10 亚德诺半导体股份有限公司 Microphone Circuit Assembly And System With Speech Recognition
US20170148465A1 (en) * 2015-02-06 2017-05-25 Knuedge, Inc. Harmonic feature processing for reducing noise
CN106817809A (en) * 2017-03-20 2017-06-09 西安科技大学 A kind of intelligent sound seven-colour lamp control system and control method
CN206864185U (en) * 2017-07-11 2018-01-09 广东万家乐燃气具有限公司 Range hood control system and range hood

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104038864A (en) * 2013-03-08 2014-09-10 亚德诺半导体股份有限公司 Microphone Circuit Assembly And System With Speech Recognition
CN103714811A (en) * 2013-12-29 2014-04-09 广州视声电子科技有限公司 Voice-control real-estate system method and device
CN103957635A (en) * 2014-04-28 2014-07-30 梁涛 On-off device and control realization method thereof
US20170148465A1 (en) * 2015-02-06 2017-05-25 Knuedge, Inc. Harmonic feature processing for reducing noise
CN106817809A (en) * 2017-03-20 2017-06-09 西安科技大学 A kind of intelligent sound seven-colour lamp control system and control method
CN206864185U (en) * 2017-07-11 2018-01-09 广东万家乐燃气具有限公司 Range hood control system and range hood

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114694365A (en) * 2020-12-29 2022-07-01 光宝科技股份有限公司 Alarm detection device and method
CN114694365B (en) * 2020-12-29 2023-12-01 光宝科技股份有限公司 Alarm detection device and method

Also Published As

Publication number Publication date
CN108777144B (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN106847298B (en) Pickup method and device based on diffuse type voice interaction
WO2017140276A1 (en) Network connection method and apparatus, and computer storage medium
EP3133474B1 (en) Gesture detector using ultrasound
CN108684029B (en) Bluetooth pairing connection method and system, Bluetooth device and terminal
US11605372B2 (en) Time-based frequency tuning of analog-to-information feature extraction
CN103929767A (en) Wireless network setting method based on sound wave or light wave communication
JPH08248973A (en) Device and method for detection of existence of sound
US10339798B2 (en) Infrared remote control apparatus and terminal
WO2018081939A1 (en) Method for determining target working frequency of stylus, touchscreen, and stylus
EP3065043A1 (en) Mobile device
CN206283621U (en) A kind of intelligent remote controller
CN105376418A (en) Incoming call information processing method, device and system
US10042428B2 (en) Non-touch control apparatus and control method thereof
CN103916511B (en) The method and electronic equipment of information processing
CN207491185U (en) Intelligent power output amplification component
CN108777144A (en) A kind of sound wave instruction identification method, device, circuit and remote controler
CN106155944B (en) Equipment configuration method, device and system
WO2016001879A1 (en) Systems and methods for acoustic communication in a mobile device
CN102608931B (en) System and method for controlling electronic equipment
CN106303616B (en) Play control method, device and terminal
CN104618845A (en) Method for monitoring surrounding sound and portable mobile device
CN113960384B (en) Phase failure detection method and device, storage medium and household equipment
CN104820579B (en) A kind of sensor-based system and method for sensing comprising mobile terminal and peripheral device
CN105635379B (en) Noise suppression method and device
CN111510075B (en) Voltage adjustment method and device of power amplifier and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant