CN102540946A - Singlechip-based prerecording anti-jamming sound controller - Google Patents
Singlechip-based prerecording anti-jamming sound controller Download PDFInfo
- Publication number
- CN102540946A CN102540946A CN2012100332046A CN201210033204A CN102540946A CN 102540946 A CN102540946 A CN 102540946A CN 2012100332046 A CN2012100332046 A CN 2012100332046A CN 201210033204 A CN201210033204 A CN 201210033204A CN 102540946 A CN102540946 A CN 102540946A
- Authority
- CN
- China
- Prior art keywords
- acoustic control
- chip microcomputer
- reservoir
- singlechip
- sound
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a singlechip-based prerecording anti-jamming sound controller, comprising a microphone, a storage device, a singlechip, a sound control amplification circuit and an indication lamp, wherein the singlechip is respectively connected with the sound control amplification circuit, the storage device, the indication lamp and an electric apparatus to be controlled, and the sound control amplification circuit is connected with the microphone. The singlechip-based prerecording anti-jamming sound controller disclosed by the invention has the advantages of capability of prerecording an instruction, strong anti-jamming capability, simple structure, convenience for operation and capability of transmitting various instructions for further control after a user is identified, and in particular is suitable for simple control of household electric appliances. When the singlechip-based prerecording anti-jamming sound controller is respectively taken as the sound controller of multiple electric appliances in the same space, the different sound controllers are not influenced due to different recorded instructions. The price of a system is lower than that of the sound controller with a sound module.
Description
Technical field
The present invention relates to a kind of anti-interference acoustic control device, particularly is a kind of SCM Based anti-interference acoustic control device of pre-recording of identification signal with the acoustic impluse.
Background technology
Existing acoustic control device based on microcontroller is many to be identification signal with voice, adopts the higher voice recognition chip of price, is applicable to that the voice recognition chip of non-user-specific is then expensive more.
And be the acoustic control device of identification signal with the acoustic impluse, like disclosed " the anti-interference audio-switch device " of patent No. ZL201020173581.6, need in the pick-up time, send specific times sound continuously.Though this device has improved accuracy and reliability, if in the same space, use a plurality of switchgears, user's once command just can be opened a plurality of switches.Disclosed " the multi-function sound-controlled device " of patent No. ZL93233096.7 and for example, this device has strict requirement with number of times at interval to applause, operate difficult, equally can not preset instructions, can not after opening switch, do further control to electrical equipment.
Summary of the invention
The object of the present invention is to provide a kind of SCM Based anti-interference acoustic control device of pre-recording, microphone links to each other with single-chip microcomputer through signal amplification circuit, can gather acoustic impluse; Storage module can be stored the prerecording instruction; Pilot lamp helps indicating operating status.The SCM Based anti-interference acoustic control device of pre-recording can continue to wait for user instruction after receiving signal and the signal comparison of pre-recording, being identified, and electrical equipment is done further various control.
The technical scheme that the present invention adopts is:
Acoustic control device provided by the invention comprises: microphone, reservoir, single-chip microcomputer, acoustic control amplifying circuit and pilot lamp; Single-chip microcomputer is connected with acoustic control amplifying circuit, reservoir, pilot lamp and Be Controlled electrical equipment respectively, and the acoustic control amplifying circuit is connected with microphone again.
Described single-chip microcomputer is the ATmega16L-8PI single-chip microcomputer, and reservoir is the AT24C02 reservoir, is a 2K bit serial CMOS E2PROM, and 256 octets are contained in inside, and this reservoir is operated through the iic bus interface; The acoustic control amplifying circuit is the circuit that has MSMAS42Z type silicon microphone and lm358 amplifier chip; The PB3/AI1/OC0 pin of said single-chip microcomputer is connected with said acoustic control amplification circuit output end mouth, and the SDA/PC1 of said single-chip microcomputer links to each other with SDA, the SCL pin of reservoir with the SCL/PC0 pin.
The present invention and prior art contrast, the beneficial effect that has is:
The present invention can pre-record that instruction, antijamming capability are extremely strong, simple in structure, easy to operate, the user can provide multiple instruction after being identified and do further control.During respectively as the acoustic control device of a plurality of electrical equipment in the same space,, can not influence each other between the different acoustic control devices because enter instruction is different.System price is lower than the acoustic control device that uses voice module.The present invention can pre-record, antijamming capability is extremely strong, simple in structure, easy to operate, user can provide multiple instruction after being identified and do further control, is particularly suited for the simple control of household appliances.
Description of drawings
Fig. 1 is an acoustic control electric fan module map.
Fig. 2 is microphone and signal amplification circuit figure.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is further specified.
With the acoustic control electric fan is example:
As shown in Figure 1, comprise microphone, reservoir, single-chip microcomputer, acoustic control amplifying circuit and pilot lamp; Single-chip microcomputer is connected with acoustic control amplifying circuit, reservoir, pilot lamp and Be Controlled electrical equipment (like the acoustic control electric fan) respectively, and the acoustic control amplifying circuit is connected with microphone again.
As shown in Figure 2, described single-chip microcomputer is the ATmega16L-8PI single-chip microcomputer, and reservoir is the AT24C02 reservoir, is a 2K bit serial CMOS E2PROM, and 256 octets are contained in inside, and this reservoir is operated through the iic bus interface; The acoustic control amplifying circuit is the circuit that has MSMAS42Z type silicon microphone and lm358 amplifier chip; The PB3/AI1/OC0 pin of said single-chip microcomputer is connected with said acoustic control amplification circuit output end mouth, and the SDA/PC1 of said single-chip microcomputer links to each other with SDA, the SCL pin of reservoir with the SCL/PC0 pin.The acoustic control electric fan links to each other with the PD5/OC1A interface of single-chip microcomputer.
Microphone links to each other with single-chip microcomputer through the acoustic control amplifying circuit, can gather acoustic impluse; Storage module can be stored the prerecording instruction; Pilot lamp helps indicating operating status.The SCM Based anti-interference acoustic control device of pre-recording can continue to wait for user instruction after receiving voice signal and the anti-interference signal comparison of pre-recording, being identified, and fan is done further various control.
The acoustic impluse signal of microphone collection inserts relatively input end of single-chip microcomputer with the acoustic impluse signal that has amplified after the acoustic control amplifying circuit is amplified to suitable multiple.When the applied signal voltage value was higher than predefined benchmark comparative voltage, single-chip microcomputer was judged and is captured this acoustic impluse signal.
The user can prerecord open command and deposit storage module in.When the acoustic control device is in when prerecording pattern, user arbitrarily three of typings is no more than 1500 milliseconds acoustic impluse apart from one another by the time.Single-chip microcomputer extracts respectively between first and second acoustic impluse, the time interval (resolution is 10 milliseconds) between second and the 3rd acoustic impluse, deposits it in AT24C02 reservoir.Afterwards, pilot lamp lights the prompting completion to pre-recording into the sampling and the storage of instruction.During power down, the information in the AT24C02 reservoir can not lost.After the single chip circuit energising, read pre-recording in the AT24C02 reservoir, get into holding state and prepare the identification user instruction into instruction.
When the acoustic control device is in recognition mode, will after receiving first acoustic impluse signal, pick up counting, wait for second acoustic impluse signal.If receive second acoustic impluse signal and between first time interval do not wait into the interval of instruction with pre-recording, perhaps the stand-by period surpasses 1500 milliseconds, then single-chip microcomputer is judged as and receives undesired signal, returns the initial conditions of recognition mode.If receive second acoustic impluse signal with first between the time interval equate with the interval of pre-recording into instruction, then wait for the 3rd acoustic impluse signal.
In like manner, all when pre-recording into sound pulsion phase etc., the instruction that the user sends could be passed through identification two time intervals that and if only if between three acoustic impluses.Pilot lamp lights afterwards, prompting user acoustic control device identification user success.After recognizing the acoustic impluse instruction, then read the acoustic impluse number of times in 4 seconds subsequently." 0 time " then makes electric fan begin to rotate; " 1 time " makes fan begin to rotate and be automatically made first grade of rotating speed; " 2 times " make electric fan begin to rotate and be automatically made second grade of rotating speed.
If electric fan is in running status, the acoustic control device recognizes acoustic impluse, then reads the acoustic impluse number of times in 4 seconds subsequently." 0 time " stops operating fan, transfers holding state to; " 1 time " is automatically converted to first grade of rotating speed; " 2 times " are automatically converted to second grade of rotating speed.
Discern successfully, after warning light lights, the acoustic control device can be counted the acoustic impluse number that reads in 4 seconds next.The user can clap the hands in 4 seconds for several times thus, accomplishes sending the further steering order of electrical equipment.The different audio pulse number is (as 0 time, 1 time, 2 times ...), corresponding Different control instruction.After steering order was sent, the acoustic control device transferred the initial conditions of recognition mode to, waited for identification next time.
It is pointed out that the said acoustic impluse that receives at interval with pre-record when comparing into the sound recurrent interval because that the recurrent interval is difficult to is equal fully, the people feels also inaccurate to time rhythm.For reducing the User Recognition difficulty, pre-record into time interval number respectively add and deduct an error time, become between cog region.The time interval that receives is effectively in dropping between this cog region.Experiment shows, if the time interval less than 500 milliseconds, then error is desirable 60 milliseconds; If interval greater than 500 milliseconds, then error is desirable 100 milliseconds.Can guarantee accurate identification this moment, can not use the user again and cause difficulty.
Claims (2)
1. the SCM Based anti-interference acoustic control device of pre-recording is characterized in that: comprise microphone, reservoir, single-chip microcomputer, acoustic control amplifying circuit and pilot lamp; Single-chip microcomputer is connected with acoustic control amplifying circuit, reservoir, pilot lamp and Be Controlled electrical equipment respectively, and the acoustic control amplifying circuit is connected with microphone again.
2. a kind of SCM Based anti-interference acoustic control device of pre-recording according to claim 1; It is characterized in that: described single-chip microcomputer is the ATmega16L-8PI single-chip microcomputer; Reservoir is the AT24C02 reservoir; Be a 2K bit serial CMOS E2PROM, 256 octets are contained in inside, and this reservoir is operated through the iic bus interface; The acoustic control amplifying circuit is the circuit that has MSMAS42Z type silicon microphone and lm358 amplifier chip; The PB3/AI1/OC0 pin of said single-chip microcomputer is connected with said acoustic control amplification circuit output end mouth, and the SDA/PC1 of said single-chip microcomputer links to each other with SDA, the SCL pin of reservoir with the SCL/PC0 pin.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100332046A CN102540946A (en) | 2012-02-15 | 2012-02-15 | Singlechip-based prerecording anti-jamming sound controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100332046A CN102540946A (en) | 2012-02-15 | 2012-02-15 | Singlechip-based prerecording anti-jamming sound controller |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102540946A true CN102540946A (en) | 2012-07-04 |
Family
ID=46348041
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100332046A Pending CN102540946A (en) | 2012-02-15 | 2012-02-15 | Singlechip-based prerecording anti-jamming sound controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102540946A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103851505A (en) * | 2014-01-20 | 2014-06-11 | 南通苏禾车灯配件有限公司 | Voice-control vehicular reading lamp |
CN103957635A (en) * | 2014-04-28 | 2014-07-30 | 梁涛 | On-off device and control realization method thereof |
CN110838654A (en) * | 2019-11-20 | 2020-02-25 | 石门依云电子商务有限公司 | Intelligent socket based on power line carrier |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2171710Y (en) * | 1993-07-04 | 1994-07-13 | 侯振勇 | Sound controller for electric fan |
US20010000534A1 (en) * | 1998-01-02 | 2001-04-26 | Richard Matulich | Voice activated switch method and apparatus |
CN2548056Y (en) * | 2001-06-17 | 2003-04-30 | 海尔集团公司 | Sound-control air-conditioner remote controller |
CN1889035A (en) * | 2005-06-30 | 2007-01-03 | 乐金电子(天津)电器有限公司 | Sound control air conditioner with sound identifying function |
TW200830172A (en) * | 2007-01-12 | 2008-07-16 | Delta Electronics Inc | Voice control system with automatically sound receiving |
CN102183075A (en) * | 2011-05-30 | 2011-09-14 | 广东美的制冷设备有限公司 | Sound controller of air conditioner having custom acoustic control function |
CN202433724U (en) * | 2012-02-15 | 2012-09-12 | 浙江大学 | Prerecording anti-interference sound-operated controller based on single chip microcomputer |
-
2012
- 2012-02-15 CN CN2012100332046A patent/CN102540946A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2171710Y (en) * | 1993-07-04 | 1994-07-13 | 侯振勇 | Sound controller for electric fan |
US20010000534A1 (en) * | 1998-01-02 | 2001-04-26 | Richard Matulich | Voice activated switch method and apparatus |
CN2548056Y (en) * | 2001-06-17 | 2003-04-30 | 海尔集团公司 | Sound-control air-conditioner remote controller |
CN1889035A (en) * | 2005-06-30 | 2007-01-03 | 乐金电子(天津)电器有限公司 | Sound control air conditioner with sound identifying function |
TW200830172A (en) * | 2007-01-12 | 2008-07-16 | Delta Electronics Inc | Voice control system with automatically sound receiving |
CN102183075A (en) * | 2011-05-30 | 2011-09-14 | 广东美的制冷设备有限公司 | Sound controller of air conditioner having custom acoustic control function |
CN202433724U (en) * | 2012-02-15 | 2012-09-12 | 浙江大学 | Prerecording anti-interference sound-operated controller based on single chip microcomputer |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103851505A (en) * | 2014-01-20 | 2014-06-11 | 南通苏禾车灯配件有限公司 | Voice-control vehicular reading lamp |
CN103957635A (en) * | 2014-04-28 | 2014-07-30 | 梁涛 | On-off device and control realization method thereof |
CN110838654A (en) * | 2019-11-20 | 2020-02-25 | 石门依云电子商务有限公司 | Intelligent socket based on power line carrier |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101452290B (en) | Intelligent appliance control system based on speech recognition and wireless sensing net | |
CN203157896U (en) | Car voice control system and passenger car adopting same | |
CN102540946A (en) | Singlechip-based prerecording anti-jamming sound controller | |
CN203250359U (en) | External force destroy proofing monitoring system based on power transmission line | |
CN202523212U (en) | Remote controller employing motion sensing control | |
CN202433724U (en) | Prerecording anti-interference sound-operated controller based on single chip microcomputer | |
CN104977528A (en) | Magnetic latching relay actuation time and reset time detection device | |
CN203076103U (en) | Running state remote monitoring system for centrifugal machine | |
CN202788588U (en) | Electric retractable door capable of automatically identifying license plate number | |
CN203012413U (en) | Dual-power low-power consumption self-programming data acquisition and transmission module | |
CN106653421A (en) | Circuit breaker switching-on and switching-off control method | |
CN106783363A (en) | A kind of high breaking ammeter external breaker control system | |
CN203422818U (en) | Ultraviolet flame detector | |
CN213400154U (en) | STC single chip microcomputer-based glove for translating language for language-handicapped person | |
CN202798143U (en) | Intelligent voice measurement and control device of switch cabinet | |
CN101881966B (en) | Stereo garage controller extension unit | |
CN203386389U (en) | Sensor experiment box | |
CN203812396U (en) | Learning type control switch of computer power supply | |
CN103824558A (en) | Electrical appliance switch voice control system | |
CN207630945U (en) | A kind of detection of novel on-vehicle battery case and automatic fire extinguishing system controller | |
CN203323296U (en) | Automatic humidifier | |
CN101719609A (en) | Intelligent power supply socket device and control method thereof | |
CN205486718U (en) | Management prediction unit that low capacity battery power is wireless | |
CN216902247U (en) | Intelligent electric terminal with voice recognition function | |
CN114578725B (en) | Data acquisition system and acquisition method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120704 |